:root{
  --emm-obsidiana:#070B0F;
  --emm-void:#05070A;
  --emm-grafito:#191D21;
  --emm-rojo:#FF2D55;
  --emm-rojo-deep:#E31837;
  --emm-rojo-glow:rgba(255,45,85,.75);
  --emm-plata:#C9CAC8;
  --emm-marfil:#F3F0E8;
  --emm-max:1200px;
  --emm-pad:clamp(1.25rem,4.5vw,4rem);
  --emm-font:"Inter",system-ui,sans-serif;
  --emm-display:"Roboto Condensed","Arial Narrow",sans-serif;
  --emm-serif:"Cormorant Garamond",Georgia,serif;
}
*,*::before,*::after{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;background:var(--emm-void);color:var(--emm-marfil);
  font-family:var(--emm-font);font-size:16px;line-height:1.55;
  -webkit-font-smoothing:antialiased;
}
img{max-width:100%;height:auto;display:block}
a{color:var(--emm-rojo);text-decoration:none}
a:hover{color:#ff5a78}
.screen-reader-text,.emm-skip{position:absolute;left:-9999px}
.emm-skip:focus{left:1rem;top:1rem;z-index:1000;background:var(--emm-rojo);color:#fff;padding:.5rem .75rem}

/* ===== HEADER Portada 5 ===== */
.emm-header{
  position:sticky;top:0;z-index:50;
  background:rgba(5,7,10,.96);
  border-bottom:1px solid rgba(243,240,232,.06);
  overflow:visible;
}
.emm-header-inner{
  max-width:var(--emm-max);margin:0 auto;
  padding:1.05rem var(--emm-pad);
  display:grid;
  grid-template-columns:minmax(140px,auto) minmax(0,1fr) auto;
  align-items:center;gap:1rem 1.5rem;
  overflow:visible;
}
.emm-brand{display:inline-flex;align-items:center;gap:.7rem;color:var(--emm-marfil)!important}
.emm-isotipo{width:38px;height:38px;object-fit:contain;flex:0 0 auto}
.emm-wordmark{display:flex;flex-direction:column;line-height:.95}
.emm-wordmark-top,.emm-wordmark-mid,.emm-wordmark-bottom{
  font-family:var(--emm-serif);
  font-weight:600;letter-spacing:.06em;text-transform:uppercase;color:var(--emm-marfil);
}
.emm-wordmark-top{font-size:9px;letter-spacing:.16em;opacity:.92}
.emm-wordmark-mid{font-size:9px;opacity:.8;letter-spacing:.16em}
.emm-wordmark-bottom{font-size:22px;letter-spacing:.18em;font-weight:700}
.emm-nav{justify-self:center;min-width:0;width:100%;display:block!important}
.emm-nav-list{
  display:flex;flex-wrap:wrap;justify-content:center;align-items:center;gap:.85rem 1.15rem;
  list-style:none;margin:0;padding:0;
}
.emm-nav-list a{
  position:relative;
  color:rgba(243,240,232,.62)!important;
  font-size:11px;font-weight:600;letter-spacing:.2em;text-transform:uppercase;
  padding-bottom:.4rem;
}
.emm-nav-list a:hover{color:var(--emm-marfil)!important}
.emm-nav-list .current-menu-item>a,
.emm-nav-list .current_page_item>a{
  color:var(--emm-marfil)!important;
}
.emm-nav-list .current-menu-item>a::after,
.emm-nav-list .current_page_item>a::after{
  content:"";position:absolute;left:0;right:0;bottom:0;height:2px;
  background:var(--emm-rojo);
  box-shadow:0 0 8px var(--emm-rojo-glow),0 0 18px rgba(255,45,85,.7),0 0 28px rgba(255,45,85,.35);
}
.emm-header-actions{display:flex;align-items:center;gap:.85rem;justify-self:end}
.emm-search-btn{color:var(--emm-marfil);display:inline-flex;opacity:.85}
.emm-search-btn:hover{opacity:1;color:var(--emm-marfil)}
/* Always-visible hamburger (Portada 5) */
.emm-nav-toggle{
  display:inline-flex;flex-direction:column;justify-content:center;align-items:center;
  background:transparent;border:0;cursor:pointer;padding:.25rem;gap:0;
  color:var(--emm-marfil);
}
.emm-nav-toggle span{
  display:block;width:20px;height:1.5px;background:currentColor;margin:4px 0;
  box-shadow:0 0 4px rgba(255,255,255,.15);
}

/* ===== FEATURE 2-COLUMN ===== */
.emm-feature{padding:2.75rem 0 1.75rem}
.emm-feature-inner{
  max-width:var(--emm-max);margin:0 auto;padding:0 var(--emm-pad);
  display:grid;grid-template-columns:minmax(0,.95fr) minmax(0,1.1fr);
  gap:clamp(1.5rem,4vw,3.5rem);align-items:center;
}
.emm-feature-label{
  margin:0 0 .45rem;color:var(--emm-rojo);
  font-size:11px;font-weight:700;letter-spacing:.22em;
  text-shadow:0 0 10px var(--emm-rojo-glow);
}
.emm-feature-id{
  margin:0 0 .9rem;color:rgba(201,202,200,.72);
  font-size:11px;letter-spacing:.14em;text-transform:uppercase;
}
.emm-feature-title{
  margin:0 0 1rem;
  font-family:var(--emm-serif);
  font-weight:600;
  font-size:clamp(2.9rem,6vw,5.2rem);
  line-height:.92;letter-spacing:.025em;
  text-transform:uppercase;color:#F3F0E8;
}
.emm-feature-title a{color:inherit!important}
.emm-feature-title a:hover{color:#F3F0E8!important}
.emm-feature-rule{
  width:148px;height:3px;margin:0 0 1.15rem;
  background:var(--emm-rojo);
  box-shadow:0 0 12px var(--emm-rojo-glow),0 0 28px rgba(255,45,85,.75),0 0 48px rgba(255,45,85,.35);
}
.emm-feature-deck{
  margin:0 0 .7rem;
  font-family:var(--emm-font);
  font-size:.92rem;font-weight:600;letter-spacing:.08em;
  text-transform:uppercase;color:rgba(243,240,232,.88);line-height:1.45;
}
.emm-feature-excerpt{
  margin:0 0 1.45rem;max-width:40ch;
  color:rgba(201,202,200,.78);font-size:.92rem;line-height:1.55;
}
.emm-feature-cta{
  display:inline-flex;align-items:center;gap:.55rem;
  color:var(--emm-rojo)!important;
  font-size:12px;font-weight:700;letter-spacing:.12em;text-transform:uppercase;
  border-bottom:1px solid var(--emm-rojo);padding-bottom:.25rem;
  text-shadow:0 0 8px rgba(255,45,85,.55),0 0 18px rgba(255,45,85,.35);
  box-shadow:0 1px 10px -2px rgba(255,45,85,.5);
}
.emm-feature-cta:hover{color:#ff5a78!important;border-color:#ff5a78}

.emm-feature-media{position:relative}
.emm-feature-media-link{
  display:block;position:relative;overflow:hidden;background:#0b1016;
  isolation:isolate;
}
.emm-feature-img,.emm-feature-placeholder{
  width:100%;aspect-ratio:5/4;object-fit:cover;
  filter:grayscale(1) contrast(1.28) brightness(.62);
}
.emm-feature-placeholder{background:linear-gradient(135deg,#12171e,#1b1013);min-height:360px}
.emm-feature-media-link::after{
  content:"";position:absolute;inset:0;z-index:1;
  background:
    linear-gradient(180deg,transparent 45%,rgba(5,7,10,.58) 100%),
    radial-gradient(circle at 72% 28%,transparent 38%,rgba(0,0,0,.38) 100%);
  pointer-events:none;
}

/* Scanlines + grain */
.emm-scanlines,.emm-grain{
  position:absolute;inset:0;z-index:2;pointer-events:none;
}
.emm-scanlines{
  background:repeating-linear-gradient(
    to bottom,
    rgba(0,0,0,0) 0,
    rgba(0,0,0,0) 2px,
    rgba(0,0,0,.18) 3px,
    rgba(0,0,0,.18) 4px
  );
  mix-blend-mode:multiply;opacity:.55;
}
.emm-grain{
  opacity:.18;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.55'/%3E%3C/svg%3E");
  background-size:180px 180px;mix-blend-mode:overlay;
}

/* Fake redacted bars (top-left) */
.emm-redact{
  position:absolute;left:6%;top:7%;z-index:3;
  display:flex;flex-direction:column;gap:7px;width:38%;max-width:220px;
  pointer-events:none;opacity:.85;
}
.emm-redact-line{display:flex;align-items:center;gap:5px;height:7px}
.emm-redact-line i{
  display:block;height:3px;border-radius:1px;
  background:rgba(201,202,200,.28);flex:1 1 auto;
}
.emm-redact-line b{
  display:block;height:7px;min-width:28px;flex:0 0 auto;
  background:#05070A;border:1px solid rgba(0,0,0,.9);
  box-shadow:0 0 0 1px rgba(255,255,255,.04);
}
.emm-redact-line:nth-child(1) i:nth-child(1){flex:1.55}
.emm-redact-line:nth-child(1) i:nth-child(2){flex:.55}
.emm-redact-line:nth-child(1) b{min-width:68px}
.emm-redact-line:nth-child(2) i:nth-child(1){flex:.7}
.emm-redact-line:nth-child(2) b:nth-child(2){min-width:28px}
.emm-redact-line:nth-child(2) b:nth-child(3){min-width:54px}
.emm-redact-line:nth-child(2) i:nth-child(4){flex:1.4}
.emm-redact-line:nth-child(3) b:nth-child(1){min-width:74px}
.emm-redact-line:nth-child(3) i:nth-child(2){flex:.45}
.emm-redact-line:nth-child(3) i:nth-child(3){flex:1.1}
.emm-redact-line:nth-child(3) b:nth-child(4){min-width:22px}
.emm-redact-line:nth-child(4) i:nth-child(1){flex:.9}
.emm-redact-line:nth-child(4) i:nth-child(2){flex:1.6}
.emm-redact-line:nth-child(4) b{min-width:40px}
.emm-redact-line:nth-child(5) i:nth-child(1){flex:1.3}
.emm-redact-line:nth-child(5) b{min-width:58px}
.emm-redact-line:nth-child(5) i:nth-child(3){flex:.4}

/* Circular TOP SECRET stamp */
.emm-stamp{
  position:absolute;top:7%;right:9%;z-index:4;
  width:118px;height:118px;
  color:rgba(255,45,85,.95);
  border-radius:50%;
  transform:rotate(-18deg);
  filter:drop-shadow(0 0 8px rgba(255,45,85,.55));
  pointer-events:none;
  overflow:visible;
}
.emm-stamp svg{display:block;width:100%;height:100%}

/* Faint circular seal */
.emm-seal{
  position:absolute;right:12%;bottom:10%;z-index:3;
  width:112px;height:112px;
  color:rgba(201,202,200,.28);
  pointer-events:none;
  opacity:.9;
}
.emm-seal svg{display:block;width:100%;height:100%}

/* Small red crosshair near seal */
.emm-crosshair{
  position:absolute;right:18px;top:58%;z-index:5;
  width:16px;height:16px;pointer-events:none;
  transform:translateY(-50%);
  background:
    radial-gradient(circle,transparent 52%,rgba(255,45,85,.95) 53%,rgba(255,45,85,.95) 64%,transparent 65%);
  box-shadow:0 0 10px rgba(255,45,85,.55);
}
.emm-crosshair::before,.emm-crosshair::after{
  content:"";position:absolute;background:rgba(255,45,85,.95);
  box-shadow:0 0 8px rgba(255,45,85,.7);
}
.emm-crosshair::before{left:50%;top:0;width:1.5px;height:100%;transform:translateX(-50%)}
.emm-crosshair::after{top:50%;left:0;height:1.5px;width:100%;transform:translateY(-50%)}

.emm-coords{
  position:absolute;right:10px;top:50%;z-index:4;
  writing-mode:vertical-rl;transform:translateY(-50%) rotate(180deg);
  font-size:10px;letter-spacing:.16em;color:rgba(201,202,200,.55);
  pointer-events:none;
}

/* ===== MÁS INVESTIGACIONES — 3 landscape cards ===== */
.emm-more{padding:.35rem 0 3.5rem}
.emm-section-inner{max-width:var(--emm-max);margin:0 auto;padding:0 var(--emm-pad)}
.emm-more-rule{
  width:100%;height:1px;margin:0 0 1rem;
  background:linear-gradient(90deg,var(--emm-rojo),rgba(255,45,85,.15) 55%,transparent);
  box-shadow:0 0 10px rgba(255,45,85,.35);
}
.emm-more-label{
  margin:0 0 1.25rem;color:var(--emm-rojo);
  font-size:11px;font-weight:700;letter-spacing:.28em;
  text-shadow:0 0 12px rgba(255,45,85,.55);
}
.emm-more-list{
  display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;
  align-items:stretch;
}
.emm-more-item{height:100%;position:relative;padding:0 1.15rem}
.emm-more-item:first-child{padding-left:0}
.emm-more-item:last-child{padding-right:0}
.emm-more-item:not(:first-child)::before{
  content:"";position:absolute;left:0;top:6%;bottom:6%;width:1.5px;
  background:linear-gradient(180deg,transparent 0%,var(--emm-rojo) 18%,var(--emm-rojo) 82%,transparent 100%);
  box-shadow:0 0 10px var(--emm-rojo-glow),0 0 22px rgba(255,45,85,.7),0 0 36px rgba(255,45,85,.35);
}
.emm-more-link{
  display:grid;grid-template-columns:160px minmax(0,1fr);gap:.9rem;align-items:stretch;
  color:inherit!important;height:100%;min-height:118px;
  position:relative;
}
.emm-more-thumb{
  width:160px;height:100px;overflow:hidden;background:#0b1016;flex:0 0 auto;
  align-self:start;
}
.emm-more-thumb img{
  width:100%;height:100%;object-fit:cover;
  filter:grayscale(.85) contrast(1.2) brightness(.68) saturate(.2);
}
.emm-card-placeholder{width:100%;height:100%;background:#151a21}
.emm-more-text{
  position:relative;display:flex;flex-direction:column;min-height:100px;padding-bottom:1.45rem;
}
.emm-more-cat{
  display:block;margin:0 0 .3rem;color:var(--emm-rojo);
  font-size:10px;font-weight:700;letter-spacing:.16em;
  text-shadow:0 0 8px rgba(255,45,85,.35);
}
.emm-more-title{
  margin:0 0 .35rem;
  font-family:var(--emm-serif);
  font-size:1.05rem;line-height:1.16;font-weight:600;
  text-transform:uppercase;color:#F3F0E8;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.emm-more-deck{
  margin:0;color:rgba(201,202,200,.68);font-size:.78rem;line-height:1.35;
  letter-spacing:.04em;text-transform:uppercase;
  display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;
}
.emm-more-chevron{
  position:absolute;right:0;bottom:2px;
  color:rgba(243,240,232,.7);font-size:15px;line-height:1;
  font-weight:500;
}

/* Inner pages */
body:not(.emm-home) .emm-main{padding-top:.5rem}
.emm-archive,.emm-page,.emm-article{padding:3rem 0 4.5rem}
.emm-article-title{
  font-family:var(--emm-serif);font-size:clamp(2rem,4.5vw,3.4rem);
  line-height:1.05;margin:.35rem 0 1rem;text-transform:uppercase;
}
.emm-article-meta{color:var(--emm-plata);font-size:.9rem;margin:0 0 1.5rem}
.emm-article-hero{max-width:var(--emm-max);margin:0 auto;padding:0 var(--emm-pad) 2rem}
.emm-article-hero img{
  width:100%;aspect-ratio:16/9;object-fit:cover;
  filter:grayscale(.5) contrast(1.12) brightness(.75) saturate(.35);
}
.emm-article-content{
  max-width:720px;margin-left:auto;margin-right:auto;
  padding-top:2rem;font-size:1.05rem;color:#e5e1d8;
}
.emm-article-content h2,.emm-article-content h3{
  font-family:var(--emm-serif);color:var(--emm-marfil);margin-top:2rem;text-transform:uppercase;
}
.emm-page-title{font-family:var(--emm-serif);font-size:clamp(2rem,4vw,3rem);text-transform:uppercase;margin:0 0 1.5rem}
.emm-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}
.emm-card{background:var(--emm-grafito);border-bottom:2px solid var(--emm-rojo)}
.emm-card-link{display:block;color:inherit!important}
.emm-card-media{aspect-ratio:16/10;overflow:hidden}
.emm-card-media img{width:100%;height:100%;object-fit:cover;filter:grayscale(.65) contrast(1.15) brightness(.7) saturate(.3)}
.emm-card-body{padding:.9rem 1rem 1.1rem}
.emm-card-cat{display:block;font-size:10px;letter-spacing:.16em;color:var(--emm-rojo);margin-bottom:.4rem;font-weight:700}
.emm-card-title{margin:0;font-family:var(--emm-serif);font-size:1.1rem;line-height:1.25;text-transform:uppercase}
.emm-pagination{margin-top:2.5rem}
.emm-pagination .nav-links{display:flex;gap:.75rem;flex-wrap:wrap}
.emm-pagination a,.emm-pagination span{color:var(--emm-plata);border:1px solid rgba(201,202,200,.2);padding:.4rem .7rem;font-size:13px}
.emm-pagination .current{border-color:var(--emm-rojo);color:var(--emm-marfil)}
.emm-empty{color:var(--emm-plata)}

.emm-footer{border-top:1px solid rgba(255,45,85,.22);padding:2.5rem 0 2rem;background:var(--emm-void)}
.emm-footer-inner{max-width:var(--emm-max);margin:0 auto;padding:0 var(--emm-pad)}
.emm-tagline{margin:0 0 1rem;color:var(--emm-plata)}
.emm-footer-nav{display:flex;flex-wrap:wrap;gap:1rem;list-style:none;margin:0 0 1.5rem;padding:0}
.emm-footer-nav a{color:var(--emm-plata)!important;font-size:12px;letter-spacing:.12em;text-transform:uppercase}
.emm-copy{margin:0;color:#7d8084;font-size:12px}

@media (max-width:980px){
  .emm-feature-inner{grid-template-columns:1fr}
  .emm-more-list{grid-template-columns:1fr}
  .emm-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .emm-nav{display:none!important}
  .emm-nav.is-open{
    display:block!important;position:absolute;left:0;right:0;top:100%;
    background:rgba(5,7,10,.98);border-bottom:1px solid rgba(255,45,85,.25);
    padding:1rem var(--emm-pad) 1.25rem;
  }
  .emm-nav-list{flex-direction:column;align-items:flex-start;gap:.85rem}
  .emm-header-inner{grid-template-columns:1fr auto;position:relative}
}
@media (max-width:560px){
  .emm-grid{grid-template-columns:1fr}
  .emm-more-item{padding:0}
  .emm-more-item:not(:first-child)::before{display:none}
  .emm-more-item+.emm-more-item{border-top:1px solid rgba(255,45,85,.25);padding-top:1rem;margin-top:.85rem}
  .emm-more-link{grid-template-columns:120px 1fr}
  .emm-more-thumb{width:120px;height:76px}
  .emm-stamp svg{width:88px;height:88px}
}
