/* ═══════════════════════════════════════════════════════════════════════
   EXPRESO — styles.css  (hoja completa del index
   ───────────────────────────────────────────────────────────────────────
   Reconstruida a partir del markup del index, en la marca verde de Expreso.
   Incluye ya integrados: Más populares (estados dinámicos), Expreso Video
   (modal + badges), Redes Sociales (tarjetas de Instagram) y el orden
   móvil de bloques + header.
   Retoca la marca en :root; casi todo el color sale de ahí.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Tipografía de marca ─────────────────────────────────────────────── */
@font-face {
  font-family: 'CanvaSans';
  src: url('../fonts/CanvaSans-VF.ttf') format('truetype-variations'),
       url('../fonts/CanvaSans-VF.ttf') format('truetype');
  font-weight: 100 900;
  font-display: swap;
}

/* ── Tokens ──────────────────────────────────────────────────────────── */
:root {
  /* Verdes Expreso */
  --v-050: #e8f5ee;
  --v-100: #cfe9db;
  --v-400: #25a457;   /* acento */
  --v-500: #1a7c3e;
  --v-600: #12703a;
  --v-700: #0e5228;
  --v-900: #002e1e;   /* theme-color */

  /* Apoyo */
  --rojo:  #c0392b;
  --rojo-yt: #ff0000;
  --amar:  #e8a400;

  /* Neutros */
  --ink:   #141414;
  --g-700: #333;
  --g-500: #666;
  --g-400: #999;
  --g-300: #c8c8c8;
  --linea: #e4e4e4;
  --g-100: #f1f2f1;
  --g-050: #f7f8f7;
  --blanco:#fff;

  /* Tipos */
  --font: 'CanvaSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Radios y sombras */
  --r:   12px;
  --r-s: 7px;
  --s-1: 0 1px 3px rgba(0,0,0,.07);
  --s-2: 0 6px 22px rgba(0,0,0,.10);
  --s-3: 0 14px 44px rgba(0,0,0,.16);

  /* Medidas */
  --wrap: 1240px;
  --gap:  16px;

  /* Transiciones */
  --t: .2s cubic-bezier(.4,0,.2,1);
  --spring: .32s cubic-bezier(.34,1.56,.64,1);

  /* Alias para tus reglas de header/navbar (usan otros nombres de variable) */
  --line:       var(--linea);
  --black:      var(--ink);
  --green:      #009641;
  --green-mid:  var(--v-400);
  --green-pill: #1aa04a;
  --green-dark: var(--v-700);
  --card-alt:   var(--g-050);
  --gray-2:     var(--g-400);
  --ease:       cubic-bezier(.25,.46,.45,.94);
}

/* ── Reset ───────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.55;
  color: var(--g-700);
  background: var(--g-100);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4, h5 { line-height: 1.25; color: var(--ink); font-weight: 800; }

/* Contenedor centrado */
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

/* Placeholders de imagen (src vacío + data-ph) */
img[data-ph], img[data-ph-hero] {
  background: linear-gradient(110deg, #e6e8e6 25%, #eef0ee 50%, #e6e8e6 75%);
  background-size: 400px 100%;
  animation: ph-shimmer 1.5s infinite linear;
  color: transparent;
  font-size: 0;
  min-height: 40px;
}
@keyframes ph-shimmer { 0% { background-position: -400px 0; } 100% { background-position: 400px 0; } }

/* Foco visible accesible */
:focus-visible { outline: 3px solid var(--v-400); outline-offset: 2px; border-radius: 3px; }
:focus:not(:focus-visible) { outline: none; }

/* ═══════════════════════════════════════════════════════════════════════
   1 · UTILITY BAR
   ═══════════════════════════════════════════════════════════════════════ */
.utility { background: var(--v-900); color: rgba(255,255,255,.75); }
.utility .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 34px; }
.utility-links { display: flex; gap: 4px; overflow-x: auto; scrollbar-width: none; }
.utility-links::-webkit-scrollbar { display: none; }
.utility-links a {
  font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase;
  color: rgba(255,255,255,.7); padding: 8px 10px; white-space: nowrap; transition: color var(--t);
}
.utility-links a:hover { color: var(--v-400); }
.utility-social { display: flex; gap: 4px; flex-shrink: 0; }
.utility-social a {
  width: 24px; height: 24px; display: flex; align-items: center; justify-content: center;
  border-radius: 5px; background: rgba(255,255,255,.08); color: rgba(255,255,255,.8);
  font-size: 12px; transition: background var(--spring), transform var(--spring), color var(--t);
}
.utility-social a:hover { background: var(--v-500); color: #fff; transform: translateY(-2px) scale(1.1); }

/* ═══════════════════════════════════════════════════════════════════════
   2 · HEADER (tu diseño: logos + buscador + botones)
   ═══════════════════════════════════════════════════════════════════════ */
.header { background: #fff; border-bottom: 1px solid var(--line); }
.header .wrap { display: flex; align-items: center; gap: 24px; height: 180px; }

img.exp {width:300px}
img.aniv{width:200px}

.logo { flex-shrink: 0; line-height: 1; }
/* (logo-mark/logo-tag por si usas logo de texto; el markup actual usa <img>) */
.header .logo-mark { font-size: 38px; font-weight: 900; letter-spacing: -1px; color: var(--black); }
.header .logo-mark .e { color: var(--green); }
.header .logo-tag { font-size: 15px; font-weight: 800; color: var(--black); margin-top: -2px; letter-spacing: .2px; }
.header .logo-tag .hash { color: var(--green); }

.search { flex: 1; max-width: 640px; display: flex; align-items: center; gap: 14px; }
.search-icon { font-size: 22px; color: var(--black); flex-shrink: 0; }
.search-box { flex: 1; display: flex; align-items: center; background: var(--card-alt); border: 1px solid var(--line); border-radius: 26px; padding: 0 20px; height: 52px; transition: border-color .2s, box-shadow .2s; }
.search-box:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(0,150,65,.12); }
.search-box input { flex: 1; border: none; background: none; outline: none; font-family: inherit; font-size: 15px; color: var(--ink); }
.search-box input::placeholder { color: var(--gray-2); }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; margin-left: auto; }
.btn { font-family: inherit; font-weight: 700; font-size: 14px; border-radius: 22px; padding: 11px 22px; transition: all .2s var(--ease); white-space: nowrap; }
.btn-ghost { background: #fff; border: 1.5px solid var(--line); color: var(--black); }
.btn-ghost:hover { border-color: var(--black); }
.btn-primary { background: var(--green); color: #fff; }
.btn-primary:hover { background: #007a35; }

/* ═══════════════════════════════════════════════════════════════════════
   3 · NAVBAR (nav primaria + pills secundarias)
   ═══════════════════════════════════════════════════════════════════════ */
.navbar { background: #fff; border-bottom: 1px solid var(--line); }
.navbar .wrap { display: flex; align-items: stretch; gap: 0; height: 44px; }
.nav-primary { display: flex; align-items: stretch; }
.nav-primary a { display: flex; align-items: center; padding: 0 20px; font-size: 14px; font-weight: 700; color: var(--black); position: relative; transition: color .15s; }
.nav-primary a:first-child { background: var(--black); color: #fff; border-bottom: 2px solid var(--green-mid); }
.nav-primary a:not(:first-child):hover { color: var(--green); }
.nav-secondary { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.nav-secondary a {
  display: flex; align-items: center;
  padding: 8px 22px; border-radius: 20px;
  font-size: 14px; font-weight: 700; color: #fff;
  background: linear-gradient(180deg, var(--green-pill), var(--green-dark));
  transition: transform .2s var(--ease), box-shadow .2s;
}
.nav-secondary a:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,150,65,.3); }

/* ═══════════════════════════════════════════════════════════════════════
   4 · TICKER
   ═══════════════════════════════════════════════════════════════════════ */
.ticker { background: var(--ink); height: 36px; display: flex; align-items: stretch; overflow: hidden; }
.ticker-tag { background: var(--rojo); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase;
  display: flex; align-items: center; gap: 7px; padding: 0 14px; flex-shrink: 0; }
.ticker-tag .dot { width: 6px; height: 6px; border-radius: 50%; background: #fff; animation: blink 1s infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: .25; } }
.ticker-track { flex: 1; overflow: hidden; display: flex; align-items: center; position: relative; }
.ticker-items { display: flex; align-items: center; gap: 0; white-space: nowrap; animation: ticker 42s linear infinite; }
.ticker-items:hover { animation-play-state: paused; }
.ticker-items a { color: rgba(255,255,255,.85); font-size: 13px; padding: 0 14px; transition: color var(--t); }
.ticker-items a:hover { color: var(--v-400); }
.ticker-items .sep { color: rgba(255,255,255,.25); }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ═══════════════════════════════════════════════════════════════════════
   5 · LAYOUT PRINCIPAL — grid de 3 columnas
   ═══════════════════════════════════════════════════════════════════════ */
.main { padding: 18px 0 8px; }
.grid3 { display: grid; grid-template-columns: 300px minmax(0, 1fr) 320px; gap: var(--gap); align-items: start; }
.col-left, .col-center, .col-right { display: flex; flex-direction: column; gap: var(--gap); min-width: 0; }

/* ── Tarjeta base ── */
.card { background: var(--blanco); border-radius: var(--r); box-shadow: var(--s-1); border-top: 2px solid transparent; overflow: hidden; transition: box-shadow var(--t), border-color var(--t); }
.card:hover { box-shadow: var(--s-2); border-top-color: var(--v-500); }
.card-pad { padding: 16px; }
.card-h { font-size: 16px; font-weight: 800; color: var(--ink); margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.card-h::before { content: ''; width: 4px; height: 15px; border-radius: 2px; background: linear-gradient(180deg, var(--v-500), var(--v-400)); flex-shrink: 0; }
.card-more { display: block; text-align: center; font-size: 12px; font-weight: 700; color: var(--v-700); padding: 10px; border-top: 1px solid var(--linea); transition: background var(--t), letter-spacing var(--t); }
.card-more:hover { background: var(--g-050); letter-spacing: .03em; }

/* ═══════════════════════════════════════════════════════════════════════
   6 · MÁS POPULARES  (base + estados dinámicos del JS)
   ═══════════════════════════════════════════════════════════════════════ */
.pop { display: flex; flex-direction: column; }
.pop-item { display: flex; align-items: flex-start; gap: 11px; padding: 10px 4px; border-bottom: 1px solid var(--linea);
  border-left: 3px solid transparent; cursor: pointer; border-radius: var(--r-s);
  transition: background var(--t), padding-left var(--t), border-color var(--t); }
.pop-item:last-child { border-bottom: none; }
.pop-item:hover { background: var(--g-050); padding-left: 9px; border-left-color: var(--v-500); }
.pop-num { font-size: 27px; font-weight: 900; color: var(--v-500); line-height: 1; min-width: 26px; flex-shrink: 0; font-variant-numeric: tabular-nums; }
.pop-num.muted { color: var(--g-300); }
.pop-thumb { width: 56px; height: 56px; border-radius: var(--r-s); object-fit: cover; flex-shrink: 0; }
.pop-body { flex: 1; min-width: 0; }
.pop-title { font-size: 13px; font-weight: 600; line-height: 1.32; color: var(--ink); transition: color var(--t); }
.pop-item:hover .pop-title { color: var(--v-700); }
.pop-meta { font-size: 11px; color: var(--g-500); margin-top: 3px; display: flex; align-items: center; gap: 5px; flex-wrap: wrap; }

/* Indicador "Act. HH:MM" en el encabezado */
.card-h .pop-status { margin-left: auto; font-size: 10px; font-weight: 400; color: var(--g-400); display: inline-flex; align-items: center; }
.pop-pulse { display: inline-block; width: 6px; height: 6px; background: var(--v-500); border-radius: 50%; margin-right: 4px; animation: mpBlink .8s infinite; }

/* Badges de cambio de posición (▲ / ▼ / Nuevo) */
.rank-badge { display: inline-flex; align-items: center; font-size: 9px; font-weight: 700; padding: 1px 5px; border-radius: 10px; letter-spacing: .02em; line-height: 1.6; white-space: nowrap; }
.rank-up-b { background: rgba(26,138,60,.1);  color: #1a8a3c; border: 1px solid rgba(26,138,60,.2); }
.rank-dn-b { background: rgba(192,57,43,.08); color: var(--rojo); border: 1px solid rgba(192,57,43,.18); }
.rank-new  { background: rgba(232,164,0,.12); color: #b07d00; border: 1px solid rgba(232,164,0,.3); animation: mpFadeIn .4s ease both; }

/* Flash del contador de lecturas */
.pv-up   { color: #1a8a3c !important; font-weight: 700 !important; transition: color .4s; }
.pv-down { color: var(--rojo) !important; font-weight: 700 !important; transition: color .4s; }

@keyframes mpBlink  { 0%,100% { opacity: 1; transform: scale(1); } 50% { opacity: .25; transform: scale(.65); } }
@keyframes mpFadeIn { from { opacity: 0; } to { opacity: 1; } }

/* ═══════════════════════════════════════════════════════════════════════
   7 · NEWSLETTER
   ═══════════════════════════════════════════════════════════════════════ */
.newsletter { background: var(--v-900); border-radius: var(--r); padding: 18px; text-align: center; color: #fff; position: relative; overflow: hidden; border-top: 2px solid var(--v-500); }
.newsletter::before { content: ''; position: absolute; top: -40px; right: -40px; width: 130px; height: 130px; background: radial-gradient(circle, rgba(37,164,87,.35), transparent 70%); }
.newsletter h4 { color: #fff; font-size: 16px; margin-bottom: 6px; position: relative; }
.newsletter p { font-size: 12.5px; color: rgba(255,255,255,.65); line-height: 1.5; margin-bottom: 12px; position: relative; }
.newsletter input { width: 100%; padding: 10px 12px; border-radius: var(--r-s); border: none; font-size: 13px; font-family: inherit; outline: none; margin-bottom: 8px; position: relative; }
.newsletter input:focus { box-shadow: 0 0 0 3px rgba(37,164,87,.35); }
.newsletter button { width: 100%; padding: 10px; border-radius: var(--r-s); background: var(--v-400); color: #fff; font-weight: 700; font-size: 13px; text-transform: uppercase; letter-spacing: .04em; position: relative; box-shadow: 0 2px 10px rgba(37,164,87,.3); transition: background var(--t), transform var(--spring); }
.newsletter button:hover { background: var(--v-500); transform: translateY(-1px); }
.newsletter button:active { transform: scale(.96); }

/* ═══════════════════════════════════════════════════════════════════════
   8 · ORIGINALES
   ═══════════════════════════════════════════════════════════════════════ */
.orig-item { display: flex; align-items: flex-start; gap: 11px; padding: 10px 4px; border-bottom: 1px solid var(--linea); cursor: pointer; border-radius: var(--r-s); transition: background var(--t), padding-left var(--t); }
.orig-item:last-child { border-bottom: none; }
.orig-item:hover { background: var(--g-050); padding-left: 8px; }
.orig-avatar { width: 54px; height: 54px; border-radius: 50%; object-fit: cover; border: 2px solid var(--v-400); flex-shrink: 0; transition: transform var(--spring); }
.orig-item:hover .orig-avatar { transform: scale(1.08); }
.orig-badge { display: inline-block; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .05em; color: #fff; background: var(--v-500); padding: 1px 6px; border-radius: 3px; margin-bottom: 4px; }
.orig-title { font-size: 13px; font-weight: 600; line-height: 1.3; color: var(--ink); transition: color var(--t); }
.orig-item:hover .orig-title { color: var(--v-700); }

/* ═══════════════════════════════════════════════════════════════════════
   9 · EXPRESIÓN (columnas de opinión)
   ═══════════════════════════════════════════════════════════════════════ */
.col-item { display: flex; align-items: center; gap: 11px; padding: 10px 4px; border-bottom: 1px solid var(--linea); cursor: pointer; border-radius: var(--r-s); transition: background var(--t), padding-left var(--t); }
.col-item:last-child { border-bottom: none; }
.col-item:hover { background: var(--g-050); padding-left: 8px; }
.col-avatar { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; border: 2px solid var(--v-400); flex-shrink: 0; transition: transform var(--spring); }
.col-item:hover .col-avatar { transform: scale(1.08); }
.col-name { font-size: 11px; font-weight: 700; color: var(--v-700); }
.col-title { font-size: 12.5px; font-weight: 600; line-height: 1.3; color: var(--ink); }
.col-item:hover .col-title { color: var(--v-700); }

/* ═══════════════════════════════════════════════════════════════════════
   10 · PREGUNTA DEL DÍA (poll)
   ═══════════════════════════════════════════════════════════════════════ */
.poll-q { font-size: 14px; font-weight: 700; color: var(--ink); margin-bottom: 12px; }
.poll-opts { display: flex; flex-direction: column; gap: 8px; margin-bottom: 4px; }
.poll-opt { display: flex; align-items: center; gap: 10px; width: 100%; padding: 11px 13px; border: 1.5px solid var(--linea); border-radius: var(--r-s); background: var(--blanco); text-align: left; transition: border-color var(--t), background var(--t); }
.poll-opt:hover { border-color: var(--v-400); background: var(--v-050); }
.poll-radio { width: 18px; height: 18px; border: 2px solid var(--g-300); border-radius: 50%; flex-shrink: 0; transition: border-color var(--t); position: relative; }
.poll-opt:hover .poll-radio { border-color: var(--v-500); }
.poll-opt.selected .poll-radio { border-color: var(--v-500); }
.poll-opt.selected .poll-radio::after { content: ''; position: absolute; inset: 3px; border-radius: 50%; background: var(--v-500); }
.poll-lbl { font-size: 14px; font-weight: 600; color: var(--ink); }
.poll-result { margin-top: 12px; display: none; }
.poll-result.show { display: block; }
.poll-bar-row { display: flex; align-items: center; gap: 8px; margin-bottom: 8px; font-size: 12px; }
.poll-bar-lbl { min-width: 24px; font-weight: 700; color: var(--g-500); }
.poll-bar { flex: 1; height: 8px; background: var(--g-100); border-radius: 5px; overflow: hidden; }
.poll-bar-fill { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--v-500), var(--v-400)); border-radius: 5px; transition: width .6s ease; }
.poll-bar-pct { min-width: 34px; text-align: right; font-weight: 700; color: var(--ink); }
.poll-total { font-size: 11px; color: var(--g-400); margin-top: 6px; }

/* ═══════════════════════════════════════════════════════════════════════
   11 · HERO slider
   ═══════════════════════════════════════════════════════════════════════ */
.hero { position: relative; border-radius: var(--r); overflow: hidden; background: var(--ink); box-shadow: var(--s-2); }
.hero-slide { display: none; position: relative; }
.hero-slide.on { display: block; animation: heroIn .55s ease both; }
@keyframes heroIn { from { opacity: 0; transform: scale(1.03); } to { opacity: 1; transform: none; } }
.hero-slide img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block; }
.hero-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 20px 18px; background: linear-gradient(transparent, rgba(0,0,0,.9)); }
.hero-src { display: flex; align-items: center; gap: 8px; font-size: 12px; color: rgba(255,255,255,.75); margin-bottom: 6px; }
.hero-badge { background: var(--v-500); color: #fff; font-size: 9px; font-weight: 800; padding: 2px 6px; border-radius: 3px; }
.hero-title { font-size: 22px; font-weight: 800; color: #fff; }
.hero-title:hover { color: var(--v-400); }
.hero-count { position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,.55); color: #fff; font-size: 11px; font-weight: 700; padding: 3px 9px; border-radius: 10px; }
.hero-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,.45); color: #fff; font-size: 20px; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity var(--t), background var(--t), transform var(--spring); z-index: 3; }
.hero:hover .hero-arrow { opacity: 1; }
.hero-arrow:hover { background: rgba(0,0,0,.8); transform: translateY(-50%) scale(1.1); }
.hero-prev { left: 12px; } .hero-next { right: 12px; }
.hero-dots { position: absolute; bottom: 14px; left: 50%; transform: translateX(-50%); display: flex; gap: 6px; z-index: 3; }
.hero-dot { width: 7px; height: 7px; border-radius: 50%; background: rgba(255,255,255,.4); border: 1.5px solid rgba(255,255,255,.55); transition: width var(--t), background var(--t); }
.hero-dot.on { width: 20px; border-radius: 4px; background: #fff; }

/* ═══════════════════════════════════════════════════════════════════════
   12 · SUB-HERO (3 tarjetas)
   ═══════════════════════════════════════════════════════════════════════ */
.subhero { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.sh-card { background: var(--blanco); border-radius: var(--r); overflow: hidden; box-shadow: var(--s-1); cursor: pointer; transition: transform var(--spring), box-shadow var(--t); }
.sh-card:hover { transform: translateY(-4px); box-shadow: 0 12px 30px rgba(26,124,62,.16); }
.sh-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.sh-body { padding: 11px 12px 13px; }
.sh-meta { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--g-500); margin-bottom: 5px; }
.sh-badge { background: var(--v-500); color: #fff; font-size: 8px; font-weight: 800; padding: 2px 5px; border-radius: 3px; }
.sh-cm { margin-left: auto; }
.sh-title { font-size: 13.5px; font-weight: 700; line-height: 1.3; color: var(--ink); }
.sh-card:hover .sh-title { color: var(--v-700); }

/* ═══════════════════════════════════════════════════════════════════════
   13 · FEED "Para ti"
   ═══════════════════════════════════════════════════════════════════════ */
.feed-head { display: flex; align-items: center; gap: 10px; background: var(--blanco); border-radius: var(--r) var(--r) 0 0; padding: 14px 16px 0; box-shadow: var(--s-1); border-bottom: 1px solid var(--linea); }
.feed-title { font-size: 17px; font-weight: 800; color: var(--ink); padding-bottom: 12px; border-bottom: 2px solid var(--v-500); margin-bottom: -1px; }
.feed-toggle { margin-left: auto; display: flex; gap: 3px; padding-bottom: 10px; }
.feed-toggle button { width: 32px; height: 28px; border: 1px solid var(--linea); border-radius: var(--r-s); color: var(--g-500); font-size: 14px; transition: background var(--t), color var(--t); }
.feed-toggle button.on { background: var(--ink); color: #fff; border-color: var(--ink); }
.feed-toggle button:hover:not(.on) { background: var(--g-050); }

.feed-body { background: var(--blanco); border-radius: 0 0 var(--r) var(--r); box-shadow: var(--s-1); }
.feed-item { display: flex; gap: 14px; padding: 14px 16px; border-bottom: 1px solid var(--linea); border-left: 3px solid transparent; cursor: pointer; transition: background var(--t), padding-left var(--t), border-color var(--t); }
.feed-item:last-child { border-bottom: none; }
.feed-item:hover { background: var(--g-050); padding-left: 19px; border-left-color: var(--v-500); }
.feed-thumb { width: 130px; height: 88px; object-fit: cover; border-radius: var(--r-s); flex-shrink: 0; }
.feed-content { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: center; }
.feed-cat { font-size: 11px; font-weight: 700; letter-spacing: .03em; color: var(--v-700); margin-bottom: 4px; display: flex; align-items: center; gap: 6px; }
.badge-att { background: rgba(26,124,62,.1); color: var(--v-700); border-radius: 10px; padding: 2px 8px; font-size: 10px; }
.badge-ad { border: 1px solid var(--g-300); color: var(--g-400); font-size: 9px; font-weight: 700; padding: 1px 5px; border-radius: 3px; }
.feed-h { font-size: 15px; font-weight: 700; line-height: 1.3; color: var(--ink); margin-bottom: 5px; }
.feed-item:hover .feed-h { color: var(--v-700); }
.feed-m { font-size: 11px; color: var(--g-500); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.feed-si { display: inline-flex; align-items: center; justify-content: center; width: 15px; height: 15px; border-radius: 50%; background: var(--v-500); color: #fff; font-size: 7px; font-weight: 800; }
.feed-sep { color: var(--g-300); }
.feed-item.ad { background: #fffdf5; }
.feed-item.ad:hover { background: #fff9e8; }

/* Vista tarjetas (si el toggle agrega .cards al feed-body) */
.feed-body.cards .feed-item { flex-direction: column; padding-left: 16px; }
.feed-body.cards .feed-item:hover { padding-left: 16px; }
.feed-body.cards .feed-thumb { width: 100%; height: 200px; }

/* ═══════════════════════════════════════════════════════════════════════
   14 · CLIMA
   ═══════════════════════════════════════════════════════════════════════ */
.weather { background: var(--blanco); border-radius: var(--r); overflow: hidden; box-shadow: var(--s-1); }
.weather-hd { background: linear-gradient(135deg, var(--v-700), var(--v-500) 60%, var(--v-400)); padding: 16px; color: #fff; position: relative; overflow: hidden; }
.weather-hd::before { content: ''; position: absolute; top: -20%; right: -10%; width: 60%; height: 140%; background: radial-gradient(circle, rgba(255,255,255,.1), transparent 60%); }
.weather-city { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: rgba(255,255,255,.85); margin-bottom: 8px; position: relative; }
.weather-main { display: flex; align-items: flex-end; gap: 10px; position: relative; }
.weather-temp { font-size: 52px; font-weight: 900; line-height: 1; }
.weather-desc { font-size: 13px; font-weight: 700; }
.weather-feel { font-size: 11px; opacity: .8; }
.weather-days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; border-top: 1px solid rgba(255,255,255,.2); margin-top: 12px; padding-top: 10px; position: relative; }
.weather-day { text-align: center; color: rgba(255,255,255,.9); }
.weather-day .d { font-size: 10px; text-transform: uppercase; opacity: .75; }
.weather-day .ic { font-size: 20px; margin: 3px 0; transition: transform var(--spring); display: inline-block; }
.weather-day:hover .ic { transform: scale(1.3) translateY(-2px); }
.weather-day .t { font-size: 11.5px; font-weight: 700; }
.weather-cta { display: block; text-align: center; font-size: 12px; font-weight: 700; color: var(--v-700); padding: 11px; transition: background var(--t), letter-spacing var(--t); }
.weather-cta:hover { background: var(--g-050); letter-spacing: .03em; }

/* ═══════════════════════════════════════════════════════════════════════
   15 · PUBLICIDAD
   ═══════════════════════════════════════════════════════════════════════ */
.ad-box { background: #f0f1f0; border: 1px dashed #cdd0cd; border-radius: var(--r); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; color: #b6bab6; font-size: 11px; text-align: center; padding: 16px; transition: border-color var(--t), background var(--t); }
.ad-box:hover { border-color: #b6bab6; background: #eceeec; }
.ad-box .ico { font-size: 20px; color: #cdd0cd; }
.ad-300-250 { height: 250px; }
.ad-banner { min-height: 110px; margin: 8px 0 0; }
.ad-mobile { display: none; min-height: 120px; }

/* ═══════════════════════════════════════════════════════════════════════
   16 · MERCADO
   ═══════════════════════════════════════════════════════════════════════ */
.market { display: flex; flex-direction: column; }
.market li { display: flex; align-items: center; gap: 8px; padding: 9px 4px; border-bottom: 1px solid var(--linea); font-size: 13px; }
.market li:last-child { border-bottom: none; }
.market .sym { font-weight: 700; color: var(--ink); }
.market .val { margin-left: auto; color: var(--g-700); font-variant-numeric: tabular-nums; }
.market .chg { font-size: 11px; font-weight: 700; min-width: 58px; text-align: right; font-variant-numeric: tabular-nums; }
.market .chg.up { color: #1a8a3c; }
.market .chg.down { color: var(--rojo); }

/* ═══════════════════════════════════════════════════════════════════════
   17 · EDICIÓN IMPRESA
   ═══════════════════════════════════════════════════════════════════════ */
.edimp-cover { display: block; position: relative; border-radius: var(--r-s); overflow: hidden; }
.edimp-cover img { width: 100%; aspect-ratio: 3 / 4; object-fit: contain; }
.edimp-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 12px 12px; background: linear-gradient(transparent, rgba(0,0,0,.85)); color: #fff; font-size: 12.5px; font-weight: 600; line-height: 1.35; }

/* ═══════════════════════════════════════════════════════════════════════
   18 · GALERÍA
   ═══════════════════════════════════════════════════════════════════════ */
.gallery-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3px; }
.gallery-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; cursor: pointer; transition: filter var(--t), transform var(--t); }
.gallery-grid img:hover { filter: brightness(1.06); transform: scale(1.03); z-index: 1; }

/* ═══════════════════════════════════════════════════════════════════════
   19 · REDES SOCIALES  (base + tarjetas de Instagram)
   ═══════════════════════════════════════════════════════════════════════ */
.social { background: var(--g-050); border-top: 1px solid var(--linea); padding: 32px 0; }
.social-h { font-size: 20px; font-weight: 800; color: var(--ink); margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.social-h::before { content: ''; width: 4px; height: 20px; border-radius: 2px; background: linear-gradient(180deg, var(--v-500), var(--v-400)); }
.social-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.social-card { background: var(--blanco); border-radius: var(--r); box-shadow: var(--s-1); min-height: 260px; display: flex; align-items: center; justify-content: center; overflow: hidden; transition: transform var(--spring), box-shadow var(--t); }
.social-card:hover { transform: translateY(-4px); box-shadow: var(--s-2); }
.social-card .ph { color: var(--g-400); font-size: 13px; }

/* Tarjetas de post de Instagram (las genera el JS) */
.ig-post { display: flex; flex-direction: column; overflow: hidden; padding: 0; min-height: 0; text-decoration: none; color: inherit; align-items: stretch; justify-content: flex-start; }
.ig-thumb { position: relative; display: block; }
.ig-img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; transition: filter .25s ease, transform .4s ease; }
.ig-post:hover .ig-img { filter: brightness(.95); transform: scale(1.02); }
.ig-badge { position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%; background: rgba(0,0,0,.55); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 10px; }
.ig-body { padding: 10px 12px 12px; display: block; width: 100%; }
.ig-head { display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; color: var(--ink); margin-bottom: 5px; }
.ig-ico { width: 15px; height: 15px; border-radius: 5px; background: linear-gradient(45deg, #f09433, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888); flex-shrink: 0; }
.ig-caption { display: block; font-size: 12px; line-height: 1.4; color: var(--g-700); margin-bottom: 6px; }
.ig-meta { display: block; font-size: 11px; color: var(--g-400); }

/* ═══════════════════════════════════════════════════════════════════════
   20 · EXPRESO VIDEO
   ═══════════════════════════════════════════════════════════════════════ */
.video-sec { background: var(--ink); padding: 32px 0 40px; }
.video-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding-bottom: 14px; margin-bottom: 20px; border-bottom: 1px solid rgba(255,255,255,.09); }
.video-brand { display: flex; align-items: center; gap: 12px; }
.video-logo { width: 42px; height: 42px; background: var(--rojo-yt); border-radius: 9px; display: flex; align-items: center; justify-content: center; box-shadow: 0 4px 14px rgba(255,0,0,.35); flex-shrink: 0; }
.video-logo svg { width: 20px; height: 14px; }
.video-name { font-size: 19px; font-weight: 800; color: #fff; line-height: 1; }
.video-name .red { color: #ff4444; }
.video-sub { font-size: 11px; color: rgba(255,255,255,.45); margin-top: 3px; }
.video-head-r { display: flex; align-items: center; gap: 10px; }
.live-ind { display: flex; align-items: center; gap: 5px; background: rgba(255,0,0,.12); border: 1px solid rgba(255,68,68,.3); color: #ff6b6b; font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; padding: 4px 10px; border-radius: 20px; }
.live-ind .dot { width: 6px; height: 6px; border-radius: 50%; background: #ff4444; animation: blink 1.1s infinite; }
.video-canal { font-size: 11px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: rgba(255,255,255,.65); border: 1.5px solid rgba(255,255,255,.18); padding: 6px 14px; border-radius: 20px; transition: border-color var(--t), color var(--t), background var(--t); }
.video-canal:hover { border-color: #ff4444; color: #fff; background: rgba(255,68,68,.15); }

.video-layout { display: grid; grid-template-columns: 1fr 300px; gap: 14px; margin-bottom: 14px; }
.video-main { position: relative; border-radius: 12px; overflow: hidden; cursor: pointer; background: #0a0a0a; aspect-ratio: 16 / 9; box-shadow: 0 8px 40px rgba(0,0,0,.6); }
.video-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease, filter .6s ease; }
.video-main:hover img { transform: scale(1.03); filter: brightness(.88); }
.video-main .overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.05) 0%, transparent 40%, rgba(0,0,0,.9) 100%); pointer-events: none; }
.video-play { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 66px; height: 66px; background: rgba(255,0,0,.88); border-radius: 50%; display: flex; align-items: center; justify-content: center; box-shadow: 0 6px 24px rgba(0,0,0,.5); transition: transform var(--spring), background var(--t); animation: ytpulse 2.5s ease-in-out infinite; }
.video-play svg { width: 26px; height: 26px; }
@keyframes ytpulse { 0%,100% { box-shadow: 0 0 0 0 rgba(255,0,0,.35), 0 6px 24px rgba(0,0,0,.5); } 50% { box-shadow: 0 0 0 14px rgba(255,0,0,0), 0 6px 24px rgba(0,0,0,.5); } }
.video-main:hover .video-play { transform: translate(-50%, -50%) scale(1.1); background: #f00; animation: none; }
.video-caption { position: absolute; left: 0; right: 0; bottom: 0; padding: 20px 18px 16px; z-index: 2; }
.video-caption h3 { font-size: 17px; font-weight: 800; color: #fff; line-height: 1.28; margin-bottom: 6px; text-shadow: 0 1px 4px rgba(0,0,0,.4); }
.video-caption .meta { font-size: 11px; color: rgba(255,255,255,.65); }
.video-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: rgba(255,255,255,.15); z-index: 3; }
.video-progress .bar { height: 100%; width: 0; background: #ff4444; transition: width .8s ease; }

.video-playlist { display: flex; flex-direction: column; background: rgba(255,255,255,.03); border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.08); }
.pl-item { display: flex; cursor: pointer; border-bottom: 1px solid rgba(255,255,255,.06); border-left: 3px solid transparent; transition: background var(--t); }
.pl-item:last-child { border-bottom: none; }
.pl-item:hover { background: rgba(255,255,255,.07); }
.pl-item.active { background: rgba(255,68,68,.12); border-left-color: #ff4444; }
.pl-thumb { width: 120px; min-width: 120px; aspect-ratio: 16 / 9; object-fit: cover; background: #111; }
.pl-info { flex: 1; min-width: 0; padding: 9px 11px; display: flex; flex-direction: column; justify-content: center; }
.pl-num { font-size: 16px; font-weight: 900; color: rgba(255,255,255,.15); line-height: 1; margin-bottom: 3px; }
.pl-item.active .pl-num { color: rgba(255,68,68,.5); }
.pl-title { font-size: 12px; font-weight: 600; color: rgba(255,255,255,.82); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pl-item:hover .pl-title, .pl-item.active .pl-title { color: #fff; }
.pl-meta { font-size: 10px; color: rgba(255,255,255,.4); margin-top: 5px; }

.video-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.strip-card { border-radius: 9px; overflow: hidden; cursor: pointer; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08); transition: transform var(--spring), box-shadow var(--t), border-color var(--t); }
.strip-card:hover { transform: translateY(-5px); box-shadow: 0 14px 38px rgba(0,0,0,.5); border-color: rgba(255,255,255,.2); }
.strip-thumb { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #111; transition: transform .5s ease, filter .5s ease; }
.strip-card:hover .strip-thumb { transform: scale(1.06); filter: brightness(.78); }
.strip-body { padding: 11px 13px 13px; }
.strip-title { font-size: 13px; font-weight: 600; color: rgba(255,255,255,.88); line-height: 1.32; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-bottom: 6px; }
.strip-meta { font-size: 10.5px; color: rgba(255,255,255,.42); margin-bottom: 7px; }
.strip-bar { height: 2px; background: rgba(255,255,255,.08); border-radius: 1px; }
.strip-bar .fill { height: 100%; border-radius: 1px; background: linear-gradient(90deg, var(--rojo-yt), #ff6b6b); }

/* Badge "Nuevo" y modal (de los añadidos) */
.video-new { display: inline-block; background: var(--rojo-yt); color: #fff; font-size: 8px; font-weight: 700; padding: 1px 5px; border-radius: 2px; letter-spacing: .04em; text-transform: uppercase; vertical-align: middle; }
.vid-modal { position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 9000; display: none; align-items: center; justify-content: center; padding: 16px; }
.vid-modal.open { display: flex; }
.vid-modal-dialog { background: #0a0a0a; border-radius: 14px; width: min(820px, 100%); overflow: hidden; position: relative; box-shadow: 0 32px 80px rgba(0,0,0,.7); }
.vid-modal-frame { position: relative; aspect-ratio: 16 / 9; background: #000; }
.vid-modal-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-modal-bar { height: 3px; background: rgba(255,255,255,.06); }
.vid-modal-bar > div { height: 100%; width: 0; background: linear-gradient(90deg, var(--rojo-yt), #ff6b6b); transition: width 1.5s ease; }
.vid-modal-body { padding: 14px 20px 18px; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.vid-modal-cat { font-size: 10px; font-weight: 700; letter-spacing: .07em; text-transform: uppercase; color: var(--v-400); margin-bottom: 5px; }
.vid-modal-title { font-size: 17px; font-weight: 700; line-height: 1.3; color: #fff; }
.vid-modal-close { width: 34px; height: 34px; min-width: 34px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 50%; cursor: pointer; font-size: 14px; color: rgba(255,255,255,.7); transition: background var(--t), color var(--t); }
.vid-modal-close:hover { background: rgba(255,255,255,.18); color: #fff; }

/* ═══════════════════════════════════════════════════════════════════════
   21 · FOOTER
   ═══════════════════════════════════════════════════════════════════════ */
.footer { background: var(--v-900); color: rgba(255,255,255,.7); }
.footer-top { padding: 34px 0 24px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-grid { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr 1fr; gap: 28px; }
.logo-mark { font-size: 26px; font-weight: 900; color: #fff; margin-bottom: 8px; }
.footer-about { font-size: 12.5px; color: rgba(255,255,255,.5); line-height: 1.6; margin-bottom: 12px; }
.footer-contact { font-size: 11px; color: rgba(255,255,255,.4); line-height: 1.7; }
.footer-social { display: flex; gap: 6px; margin-top: 12px; }
.footer-social a { width: 30px; height: 30px; border-radius: 6px; background: rgba(255,255,255,.1); color: rgba(255,255,255,.7); display: flex; align-items: center; justify-content: center; font-size: 13px; transition: background var(--spring), transform var(--spring), color var(--t); }
.footer-social a:hover { background: var(--v-500); color: #fff; transform: translateY(-3px) scale(1.1); }
.footer-col h5 { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--v-400); margin-bottom: 11px; padding-bottom: 7px; border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-col li { margin-bottom: 6px; }
.footer-col li a { font-size: 12.5px; color: rgba(255,255,255,.55); transition: color var(--t), padding-left var(--t); }
.footer-col li a:hover { color: var(--v-400); padding-left: 4px; }
.footer-bottom .wrap { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px; padding-top: 12px; padding-bottom: 12px; }
.footer-bottom p { font-size: 11px; color: rgba(255,255,255,.35); }
.footer-legal { display: flex; gap: 14px; }
.footer-legal a { font-size: 11px; color: rgba(255,255,255,.35); transition: color var(--t); }
.footer-legal a:hover { color: var(--v-400); }

/* ═══════════════════════════════════════════════════════════════════════
   22 · BOTÓN "volver arriba"
   ═══════════════════════════════════════════════════════════════════════ */
.btop { position: fixed; right: 22px; bottom: 22px; width: 44px; height: 44px; border-radius: 50%; background: var(--blanco); color: var(--v-700); border: 1.5px solid var(--linea); font-size: 18px; font-weight: 700; box-shadow: var(--s-2); display: flex; align-items: center; justify-content: center; opacity: 0; transform: translateY(14px) scale(.85); pointer-events: none; transition: opacity var(--t), transform var(--spring), background var(--t), color var(--t); z-index: 300; }
.btop.show { opacity: 1; transform: none; pointer-events: auto; }
.btop:hover { background: var(--v-500); color: #fff; border-color: var(--v-500); transform: translateY(-3px) scale(1.08); }

/* ═══════════════════════════════════════════════════════════════════════
   23 · RESPONSIVE
   ═══════════════════════════════════════════════════════════════════════ */

/* Ajuste intermedio: columnas laterales un poco más angostas */
@media (max-width: 1100px) {
  .grid3 { grid-template-columns: 260px minmax(0, 1fr) 280px; }
}

/* ── MÓVIL / TABLET ANGOSTA (≤ 980px): un solo flujo + orden pedido ──
   Cambia 980 por el ancho donde quieras que colapse a una columna. */
@media (max-width: 980px) {

  /* Disolvemos las 3 columnas para que TODOS los bloques queden en un
     mismo flujo vertical y se puedan reordenar con 'order'. */
  .main > .wrap { display: flex; flex-direction: column; gap: var(--gap); }
  .main > .wrap > .grid3,
  .grid3 > .col-left,
  .grid3 > .col-center,
  .grid3 > .col-right { display: contents; }

  /* Orden de aparición pedido */
  #hero           { order: 1; }
  .subhero        { order: 2; }
  #cardPopulares  { order: 3; }
  #adMobile1      { order: 4; }
  .feed-head      { order: 5; }
  #feedBody       { order: 6; }
  #cardEdimp      { order: 7; }
  #adMobile2      { order: 8; }
  #cardExpresion  { order: 9; }
  #pollCard       { order: 10; }
  #adMobile3      { order: 11; }
  #cardOriginales { order: 12; }
  #cardGaleria    { order: 13; }

  /* No pedidos: al final del bloque principal (antes de Redes Sociales).
     Si quieres ocultarlos u otro orden, cámbialo aquí. */
  .weather        { order: 20; }
  #cardMercado    { order: 21; }
  .newsletter     { order: 22; }

  /* En móvil usamos los slots .ad-mobile; ocultamos los de escritorio. */
  .ad-mobile { display: flex; }
  .ad-300-250, .ad-banner { display: none; }

  /* Redes Sociales, Video y Footer van después de <main> en el DOM,
     así que quedan en ese orden automáticamente. */

  .subhero { grid-template-columns: repeat(3, 1fr); }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; row-gap: 22px; }
}

/* ── FEED / VIDEO en pantallas medianas ── */

@media (max-width: 1100px) and (min-width: 761px) {
  body.home-page .social-grid.social-grid--instagram {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }

  body.home-page .social-card.social-card--instagram iframe {
    height: 820px !important;
    min-height: 820px !important;
  }
}

@media (max-width: 760px) {
  .video-layout { grid-template-columns: 1fr; }
  .video-playlist { display: none; }
  .video-strip { grid-template-columns: 1fr 1fr; }
}

/* ── HEADER móvil: acomodo de logos y buscador ── */
@media (max-width: 600px) {
   /* Header móvil: logos en los extremos → buscador → botones */
   a.logo {width: auto; }
   .header > .wrap { flex-wrap: wrap; height: auto; align-items: center; row-gap: 16px; padding-top: 14px; padding-bottom: 14px; }
   .header .logo { flex: 0 0 auto; margin: 0; }
   .header img { max-width: none; }
   .header .logo:nth-of-type(2) { margin-left: auto; } /* 2º logo al extremo derecho */
   .header .logo img { height: 95px; width: auto; }
   .search { order: 3; flex: 1 1 100%; max-width: none; }
   .header-actions { order: 4; flex: 1 1 100%; margin-left: 0; gap: 10px; }
   .btn-ghost { display: inline-flex; } /* volvemos a mostrar Ed. Impresa */
   .header-actions .btn { flex: 1; text-align: center; }
   .subhero { grid-template-columns: 1fr; }
   .social-grid { grid-template-columns: 1fr; }
   .video-strip { grid-template-columns: 1fr; }
   .hero-title { font-size: 17px; }
   .feed-thumb { width: 104px; height: 74px; }
   .feed-h { font-size: 14px; }
   .footer-grid { grid-template-columns: 1fr; }
   .footer-bottom .wrap { flex-direction: column; align-items: flex-start; }
 }

/* ═══════════════════════════════════════════════════════════════════════
   24 · PREFERENCIAS / IMPRESIÓN
   ═══════════════════════════════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  img[data-ph], img[data-ph-hero] { animation: none; }
}

@media print {
  .utility, .navbar, .ticker, .btop, .newsletter, .ad-box, .search, .header-actions, .video-sec, .social { display: none !important; }
  body { background: #fff; color: #000; }
}

/* ═══════════════════════════════════════════════════════════════════════
   25 · CORE WEB VITALS — render diferido de secciones fuera de pantalla
   ───────────────────────────────────────────────────────────────────────
   content-visibility:auto hace que el navegador NO renderice estas
   secciones hasta que estén por entrar al viewport (mejor LCP/INP).
   contain-intrinsic-size reserva su altura estimada para no causar
   saltos de layout (CLS). Ajusta las alturas si difieren mucho.
   ═══════════════════════════════════════════════════════════════════════ */
.social    { content-visibility: auto; contain-intrinsic-size: 0 420px; }
.video-sec { content-visibility: auto; contain-intrinsic-size: 0 700px; }
.footer    { content-visibility: auto; contain-intrinsic-size: 0 460px; }

/* ═══════════════════════════════════════════════════════════════════════
   26 · VISTA DE NOTICIA (nota.html)
   ───────────────────────────────────────────────────────────────────────
   Pega este bloque AL FINAL de tu css/styles.css.
   Usa los tokens que ya existen en :root (--v-500, --ink, --linea, etc.).
   El utility bar, header, navbar, ticker y footer NO necesitan estilos
   nuevos: reutilizan los del index.
   ═══════════════════════════════════════════════════════════════════════ */

/* Skip links accesibles */
.skip-link { position: absolute; left: -999px; top: 0; z-index: 999; background: var(--v-700); color: #fff; padding: 8px 14px; border-radius: 0 0 var(--r-s) 0; font-size: 13px; font-weight: 700; }
.skip-link:focus { left: 0; }

/* Barra de progreso de lectura */
#pbar { position: fixed; top: 0; left: 0; height: 3px; width: 0; background: linear-gradient(90deg, var(--v-500), var(--v-400)); z-index: 400; transition: width .1s linear; }

/* Reveal al hacer scroll */
.rv { opacity: 0; transform: translateY(14px); transition: opacity .5s ease, transform .5s ease; }
.rv.on { opacity: 1; transform: none; }

/* Breadcrumb */
.bc { max-width: var(--wrap); margin: 0 auto; padding: 14px 16px 0; font-size: 12px; color: var(--g-500); }
.bc a { color: var(--g-500); transition: color var(--t); }
.bc a:hover { color: var(--v-700); }
.bc span { margin: 0 6px; color: var(--g-300); }

/* Layout artículo + sidebar */
.art-wrap { max-width: var(--wrap); margin: 0 auto; padding: 14px 16px; display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 28px; align-items: start; }

/* Cabecera del artículo */
.art-cat { display: inline-flex; align-items: center; gap: 6px; font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: #fff; background: var(--v-500); padding: 4px 11px; border-radius: 3px; margin-bottom: 14px; }
.art-h1 { font-size: 34px; font-weight: 900; line-height: 1.18; color: var(--ink); margin-bottom: 12px; letter-spacing: -.3px; }
.art-deck { font-size: 17px; line-height: 1.5; color: var(--g-700); margin-bottom: 18px; }
.art-byline { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 14px 0; border-top: 1px solid var(--linea); border-bottom: 1px solid var(--linea); margin-bottom: 20px; }
.art-av { width: 38px; height: 38px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.art-by-n { font-size: 13px; font-weight: 700; color: var(--ink); }
.art-by-m { font-size: 11.5px; color: var(--g-500); }
.art-share { margin-left: auto; display: flex; gap: 6px; }
.art-share a { width: 32px; height: 32px; border-radius: 50%; background: var(--g-050); border: 1px solid var(--linea); display: flex; align-items: center; justify-content: center; font-size: 13px; color: var(--g-700); transition: background var(--spring), transform var(--spring), color var(--t); }
.art-share a:hover { background: var(--v-500); color: #fff; border-color: var(--v-500); transform: translateY(-2px) scale(1.08); }

/* Imagen hero del artículo */
.art-hero { border-radius: var(--r); overflow: hidden; margin-bottom: 8px; box-shadow: var(--s-2); }
.art-hero img { width: 100%; aspect-ratio: 1280 / 460; object-fit: cover; display: block; }
.art-cap { font-size: 12px; color: var(--g-500); padding: 8px 2px 22px; line-height: 1.4; }

/* Cuerpo del artículo */
.art-body { font-size: 17px; line-height: 1.75; color: #232323; }
.art-body p { margin-bottom: 20px; }
.art-body > p:first-of-type::first-letter { font-size: 58px; font-weight: 900; float: left; line-height: .82; padding: 6px 8px 0 0; color: var(--v-700); }
.art-body h2 { font-size: 22px; font-weight: 800; color: var(--ink); margin: 28px 0 14px; }
.art-body blockquote { font-size: 22px; font-weight: 700; color: var(--v-700); border-left: 4px solid var(--v-500); padding: 6px 0 6px 20px; margin: 26px 0; line-height: 1.4; }
.art-body a { color: var(--v-700); text-decoration: underline; text-underline-offset: 2px; }
.art-inline-img { border-radius: var(--r-s); width: 100%; aspect-ratio: 900 / 500; object-fit: cover; margin: 22px 0 8px; }
.art-inline-cap { font-size: 12px; color: var(--g-500); margin-bottom: 22px; }

/* Ad nativo dentro del cuerpo */
.art-ad { background: #f0f1f0; border: 1px dashed #cdd0cd; border-radius: var(--r); min-height: 120px; display: flex; align-items: center; justify-content: center; color: #b6bab6; font-size: 12px; margin: 26px 0; text-align: center; }

/* Tags de cierre */
.art-tags { display: flex; flex-wrap: wrap; gap: 8px; margin: 8px 0 26px; }
.art-tags .tag { font-size: 12px; font-weight: 600; color: var(--v-700); background: var(--v-050); border: 1px solid var(--v-100); padding: 5px 12px; border-radius: 16px; transition: background var(--t), color var(--t); }
.art-tags .tag:hover { background: var(--v-500); color: #fff; border-color: var(--v-500); }

/* Caja de autor */
.art-author-box { display: flex; gap: 14px; background: var(--g-050); border-radius: var(--r); padding: 16px; margin-bottom: 28px; }
.art-author-box img { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.art-author-box h5 { font-size: 14px; font-weight: 800; color: var(--ink); margin-bottom: 4px; }
.art-author-box p { font-size: 12.5px; color: var(--g-500); line-height: 1.5; }

/* Relacionadas (reutilizan .sh-card del index; solo el encabezado y la grid) */
.art-rel-h { font-size: 16px; font-weight: 800; color: var(--ink); padding-bottom: 11px; border-bottom: 2px solid var(--v-500); margin-bottom: 16px; }
.art-rel-g { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 30px; }
.sh-cm { margin-left: auto; }

/* Comentarios */
.art-comments { background: var(--blanco); border-radius: var(--r); box-shadow: var(--s-1); padding: 18px; }
.art-comments textarea { width: 100%; min-height: 80px; border: 1.5px solid var(--linea); border-radius: var(--r-s); padding: 10px 12px; font-family: inherit; font-size: 14px; resize: vertical; outline: none; transition: border-color var(--t); }
.art-comments textarea:focus { border-color: var(--v-500); }
.art-comments button { margin-top: 10px; background: var(--v-500); color: #fff; padding: 9px 20px; border-radius: 18px; font-size: 13px; font-weight: 700; transition: background var(--t); }
.art-comments button:hover { background: var(--v-700); }

/* Responsive */
@media (max-width: 980px) {
  .art-wrap { grid-template-columns: 1fr; }
  .art-rel-g { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .art-h1 { font-size: 24px; }
  .art-deck { font-size: 15px; }
  .art-body { font-size: 15.5px; }
  .art-rel-g { grid-template-columns: 1fr; }
  .art-body > p:first-of-type::first-letter { font-size: 46px; }
}

@media (prefers-reduced-motion: reduce) {
  .rv { opacity: 1; transform: none; transition: none; }
}

/* ── Utilidad para lectores de pantalla (la usan las <label> ocultas) ── */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ── Corrección: en el home, los anuncios de escritorio se ocultan en móvil
   porque ahí se usan los slots .ad-mobile. La vista de noticia NO tiene esos
   slots, así que aquí sí debe verse el 300×250 del sidebar. ── */
@media (max-width: 980px) {
  .art-wrap .ad-300-250 { display: flex; }
}
/* ═══════════════════════════════════════════════════════════════════════
   27 · NAVBAR EN MÓVIL — scroll horizontal (solo móvil; no altera escritorio)
   ───────────────────────────────────────────────────────────────────────
   El navbar de escritorio es una fila de altura fija con 8 secciones + 4
   pills. En pantallas chicas no cabe y se desborda. Aquí lo dejamos como
   una tira que se desliza horizontalmente, con "Inicio" como pill negra.
   ═══════════════════════════════════════════════════════════════════════ */
   @media (max-width: 980px) {
      .navbar .wrap {
        height: auto;
        align-items: center;
        gap: 4px;
        padding-top: 6px;
        padding-bottom: 6px;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
      }
      .navbar .wrap::-webkit-scrollbar { display: none; }
     
      .nav-primary { flex-shrink: 0; }
      .nav-primary a { flex-shrink: 0; white-space: nowrap; padding: 9px 13px; }
      .nav-primary a:first-child { border-radius: var(--r-s); border-bottom: none; }
     
      .nav-secondary { margin-left: 6px; gap: 8px; flex-shrink: 0; }
      .nav-secondary a { flex-shrink: 0; white-space: nowrap; padding: 7px 15px; }
   }

      /* ═══════════════════════════════════════════════════════════════════════
   28 · VISTA DE GALERÍA (galeria.php)  +  NAVBAR ACTIVO DINÁMICO
   Pega este bloque AL FINAL de tu css/styles.css.
   ═══════════════════════════════════════════════════════════════════════ */

/* ── Rejilla de la galería ── */
.gal-page { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 8px 0 30px; }
.gal-item { position: relative; display: block; border-radius: var(--r-s); overflow: hidden; aspect-ratio: 4 / 3; box-shadow: var(--s-1); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .5s ease; }
.gal-item:hover img { transform: scale(1.06); }
.gal-item.wide { grid-column: span 2; aspect-ratio: 16 / 9; }
.gal-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 12px 10px; background: linear-gradient(transparent, rgba(0,0,0,.82)); color: #fff; font-size: 12px; line-height: 1.35; opacity: 0; transition: opacity .25s ease; }
.gal-item:hover .gal-cap { opacity: 1; }

@media (max-width: 700px) {
  .gal-page { grid-template-columns: 1fr 1fr; }
  .gal-cap { opacity: 1; } /* en táctil se muestra siempre */
}
@media (max-width: 460px) {
  .gal-page { grid-template-columns: 1fr; }
  .gal-item, .gal-item.wide { grid-column: span 1; aspect-ratio: 4 / 3; }
}

/* ── Navbar activo dinámico ──────────────────────────────────────────────
   OPCIONAL pero recomendado con los partials PHP: hace que la pestaña
   resaltada dependa de la sección (variable $active del navbar), no de
   que sea siempre la primera. Para activarlo, en tu regla del navbar
   CAMBIA el selector:
       .nav-primary a:first-child  →  .nav-primary a.active
   (o simplemente agrega la regla de abajo, que cubre ambos casos). */
.nav-primary a.active {
  background: var(--black);
  color: #fff;
  border-bottom: 2px solid var(--green-mid);
}
.nav-secondary a.active { box-shadow: 0 4px 12px rgba(0,150,65,.3); }

/* ═══════════════════════════════════════════════════════════════════════
   29 · VISTAS INTERNAS — SELECTORES AISLADOS DEL INDEX
   Las reglas siguientes solo complementan nota, galería, multimedia y en vivo.
   No modifican el header, grid principal ni componentes del home.
   ═══════════════════════════════════════════════════════════════════════ */

/* Contenedor editorial */
.art-main { min-width: 0; background: var(--blanco); border-radius: var(--r); box-shadow: var(--s-1); padding: clamp(20px, 3vw, 38px); }
.art-side { display: flex; flex-direction: column; gap: var(--gap); min-width: 0; }
.art-side .weather, .art-side .card, .art-side .newsletter, .art-side .ad-box { width: 100%; }
.art-header.center { text-align: center; }
.art-header.center .art-cat { margin-left: auto; margin-right: auto; }
.art-header.center .art-byline { justify-content: center; }
.art-kicker { font-size: 14px; font-weight: 800; color: var(--v-700); margin: -2px 0 18px; }
.art-figure { margin: 22px 0; }
.art-figure img { width: 100%; border-radius: var(--r-s); box-shadow: var(--s-1); }
.art-figure figcaption { margin-top: 7px; font-size: 12px; color: var(--g-500); }
.art-list { margin: 0 0 22px 22px; }
.art-list li { margin-bottom: 8px; padding-left: 5px; }
.art-list li::marker { color: var(--v-500); font-weight: 900; }
.art-highlight { padding: 16px 18px; margin: 18px 0 22px; border-left: 4px solid var(--v-500); background: var(--v-050); color: var(--ink); border-radius: 0 var(--r-s) var(--r-s) 0; font-size: 17px; font-weight: 700; line-height: 1.5; }
.art-social-embed { margin: 24px auto; max-width: 560px; }
.art-social-embed img { width: 100%; border-radius: var(--r); box-shadow: var(--s-2); }
.quote-credit { margin-top: -16px !important; font-size: 13px; color: var(--g-500); }

/* Tarjetas relacionadas y listados internos */
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin: 18px 0 28px; }
.related-card { display: grid; grid-template-columns: 120px 1fr; gap: 12px; align-items: center; padding: 10px; border: 1px solid var(--linea); border-radius: var(--r-s); background: var(--blanco); transition: transform var(--spring), box-shadow var(--t); }
.related-card:hover { transform: translateY(-2px); box-shadow: var(--s-2); }
.related-card img { width: 120px; height: 82px; object-fit: cover; border-radius: 6px; }
.related-card span { font-size: 13px; font-weight: 700; line-height: 1.35; color: var(--ink); }
.more-news-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-bottom: 28px; }
.more-news-grid article { display: flex; gap: 11px; align-items: center; padding-bottom: 11px; border-bottom: 1px solid var(--linea); }
.more-news-grid img { width: 82px; height: 60px; object-fit: cover; border-radius: 6px; }
.more-news-grid b { display: inline-block; margin-right: 5px; color: var(--v-500); font-size: 10px; text-transform: uppercase; }
.more-news-grid span { font-size: 12.5px; font-weight: 700; line-height: 1.3; color: var(--ink); }

/* Sidebar editorial reutilizable */
.side-list { display: flex; flex-direction: column; }
.side-list a { display: grid; grid-template-columns: 70px 1fr; gap: 10px; align-items: center; padding: 10px 0; border-bottom: 1px solid var(--linea); }
.side-list a:last-child { border-bottom: 0; }
.side-list img { width: 70px; height: 54px; object-fit: cover; border-radius: 6px; }
.side-list b { display: block; font-size: 12.5px; line-height: 1.28; color: var(--ink); }
.side-list small { display: block; margin-top: 3px; font-size: 10.5px; color: var(--g-500); }
.print-local img { width: 100%; max-height: 390px; object-fit: cover; object-position: top; border-radius: var(--r-s); }

/* Galería editorial */
.gallery-intro { text-align: center; max-width: 720px; margin: 0 auto 24px; }
.gal-page button { font: inherit; text-align: left; }
.gal-item { border: 0; padding: 0; cursor: zoom-in; background: var(--g-100); }
.gal-count { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 14px; color: var(--g-500); font-size: 12px; font-weight: 700; }

/* Lightbox de fotografías */
.content-lightbox[hidden] { display: none; }
.content-lightbox { position: fixed; inset: 0; z-index: 1000; display: grid; place-items: center; background: rgba(0,0,0,.94); padding: 58px 72px 38px; }
.content-lightbox img { max-width: min(1180px, 100%); max-height: calc(100vh - 110px); object-fit: contain; border-radius: 6px; box-shadow: var(--s-3); }
.content-lightbox button { position: absolute; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24); display: grid; place-items: center; transition: background var(--t), transform var(--spring); }
.content-lightbox button:hover { background: var(--v-500); transform: scale(1.06); }
.content-lightbox .lb-close { top: 16px; right: 18px; width: 42px; height: 42px; border-radius: 50%; font-size: 25px; }
.content-lightbox .lb-prev, .content-lightbox .lb-next { top: 50%; width: 46px; height: 58px; border-radius: var(--r-s); font-size: 34px; transform: translateY(-50%); }
.content-lightbox .lb-prev:hover, .content-lightbox .lb-next:hover { transform: translateY(-50%) scale(1.06); }
.content-lightbox .lb-prev { left: 16px; }
.content-lightbox .lb-next { right: 16px; }
.content-lightbox .lb-caption { position: absolute; left: 70px; right: 70px; bottom: 12px; color: rgba(255,255,255,.82); text-align: center; font-size: 12px; }

/* Portada Multimedia */
.media-shell { padding: 28px 0 42px; }
.media-head { display: flex; align-items: end; justify-content: space-between; gap: 18px; margin-bottom: 18px; }
.media-head h1 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -1.5px; }
.media-head p { color: var(--g-500); max-width: 640px; }
.media-tabs { display: flex; gap: 8px; flex-wrap: wrap; }
.media-tabs a { padding: 8px 16px; border-radius: 18px; border: 1px solid var(--linea); background: #fff; font-size: 12px; font-weight: 800; }
.media-tabs a.active, .media-tabs a:hover { background: var(--v-500); color: #fff; border-color: var(--v-500); }
.media-feature { position: relative; min-height: 480px; border-radius: var(--r); overflow: hidden; box-shadow: var(--s-3); margin-bottom: 22px; background: #111; }
.media-feature img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.media-feature::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,.88) 0%, rgba(0,0,0,.48) 52%, rgba(0,0,0,.1) 100%); }
.media-feature-content { position: relative; z-index: 2; min-height: 480px; width: min(610px, 80%); display: flex; flex-direction: column; justify-content: end; padding: clamp(24px, 5vw, 54px); color: #fff; }
.media-feature-content h2 { color: #fff; font-size: clamp(26px, 4vw, 44px); margin: 10px 0; }
.media-feature-content p { color: rgba(255,255,255,.76); font-size: 16px; }
.media-feature-content small { color: rgba(255,255,255,.7); }
.media-play-button { width: 62px; height: 62px; margin-top: 22px; border-radius: 50%; display: grid; place-items: center; background: var(--rojo-yt); color: #fff; font-size: 23px; box-shadow: 0 10px 28px rgba(0,0,0,.3); }
.media-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.media-card { background: #fff; border-radius: var(--r); overflow: hidden; box-shadow: var(--s-1); transition: transform var(--spring), box-shadow var(--t); }
.media-card:hover { transform: translateY(-4px); box-shadow: var(--s-2); }
.media-card[hidden] { display: none; }
.media-card-thumb { position: relative; border: 0; width: 100%; padding: 0; background: #111; display: block; }
.media-card-thumb img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.media-card-thumb::after { content: '▶'; position: absolute; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: rgba(0,0,0,.68); color: #fff; font-size: 16px; }
.media-card-body { padding: 15px; }
.media-card-body span { color: var(--v-500); font-size: 10px; font-weight: 900; text-transform: uppercase; letter-spacing: .05em; }
.media-card-body h3 { margin: 6px 0; font-size: 17px; }
.media-card-body p { color: var(--g-500); font-size: 13px; }
.media-more { display: block; margin: 24px auto 0; padding: 11px 26px; border-radius: 22px; background: var(--ink); color: #fff; font-size: 13px; font-weight: 800; }
.media-more:hover { background: var(--v-500); }

/* Nota de video / transmisión */
.live-page { background: #101412; }
.live-page .main-live { padding: 30px 0 44px; }
.live-page .live-main-card { overflow: hidden; border-radius: var(--r); box-shadow: 0 20px 70px rgba(0,0,0,.32); background: #fff; }
.live-page .live-header { padding: clamp(25px, 4vw, 48px); text-align: center; background: #111613; }
.live-page .live-header .art-cat { background: var(--rojo); }
.live-page .live-header h1 { max-width: 940px; margin: 0 auto 16px; color: #fff; font-size: clamp(30px, 5vw, 56px); line-height: 1.08; }
.live-page .live-header h1 em { color: #ff4d42; font-style: normal; }
.live-page .live-header p { color: rgba(255,255,255,.66); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.live-video { position: relative; display: block; width: 100%; border: 0; padding: 0; overflow: hidden; background: #000; cursor: pointer; }
.live-video img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.live-video::after { content: ''; position: absolute; inset: 0; background: linear-gradient(transparent 52%, rgba(0,0,0,.58)); }
.live-video .live-play { position: absolute; z-index: 2; left: 50%; top: 50%; transform: translate(-50%,-50%); width: 82px; height: 82px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,0,0,.92); color: #fff; font-size: 31px; box-shadow: 0 16px 38px rgba(0,0,0,.4); }
.live-video .live-badge { position: absolute; z-index: 2; left: 18px; bottom: 18px; display: inline-flex; align-items: center; gap: 7px; border-radius: 16px; background: var(--rojo); color: #fff; padding: 6px 12px; font-size: 11px; font-weight: 900; text-transform: uppercase; letter-spacing: .08em; }
.live-video .live-badge::before { content: ''; width: 7px; height: 7px; background: #fff; border-radius: 50%; animation: blink 1s infinite; }
.live-copy { padding: clamp(24px, 4vw, 44px); }

/* Modal independiente para videos de las vistas internas */
.content-video-modal[hidden] { display: none; }
.content-video-modal { position: fixed; inset: 0; z-index: 1100; display: grid; place-items: center; padding: 70px 24px 28px; background: rgba(0,0,0,.95); }
.content-video-dialog { width: min(1080px, 100%); }
.content-video-frame { position: relative; width: 100%; aspect-ratio: 16/9; background: #000; border-radius: var(--r); overflow: hidden; box-shadow: var(--s-3); }
.content-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.content-video-title { margin-top: 12px; color: rgba(255,255,255,.84); font-size: 14px; text-align: center; }
.content-video-close { position: absolute; top: 16px; right: 18px; width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.24); color: #fff; font-size: 26px; }
.content-video-close:hover { background: var(--rojo); }

@media (max-width: 980px) {
  .logo-wordmark { min-width: 190px; }
  .logo-wordmark .logo-mark { font-size: 38px; }
  .anniversary-mark { width: 92px; min-height: 66px; padding-left: 14px; }
  .anniversary-mark strong { font-size: 30px; }
  .art-main { padding: 22px; }
  .media-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 700px) {
  .art-main { padding: 18px 15px; }
  .related-grid, .more-news-grid { grid-template-columns: 1fr; }
  .media-head { align-items: flex-start; flex-direction: column; }
  .media-feature, .media-feature-content { min-height: 390px; }
  .media-feature-content { width: 100%; }
  .media-grid { grid-template-columns: 1fr; }
  .content-lightbox { padding: 58px 12px 50px; }
  .content-lightbox .lb-prev { left: 7px; }
  .content-lightbox .lb-next { right: 7px; }
  .content-lightbox .lb-caption { left: 18px; right: 18px; }
  .live-video .live-play { width: 62px; height: 62px; font-size: 24px; }
}
/* ═══════════════════════════════════════════════════════════════
   VISTA MULTIMEDIA V2 — módulo integrado en styles.css
   ═══════════════════════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════════════════════════════
   30 · MULTIMEDIA — COMPOSICIÓN BASADA EN LA MESA DE TRABAJO ORIGINAL
   Prefijo mx- para no interferir con los componentes del index.
   ═══════════════════════════════════════════════════════════════════════ */
.multimedia-page { background: #eef1ef; }
.mx-shell { padding: 28px 0 46px; }
.mx-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 26px;
  align-items: start;
}
.mx-content { min-width: 0; }
.mx-sidebar {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding-left: 20px;
  border-left: 1px solid rgba(0,0,0,.08);
  box-shadow: -10px 0 20px rgba(0,0,0,.025);
}

.mx-heading {
  min-height: 150px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 6px 16px 22px 0;
}
.mx-heading-title { display: flex; align-items: center; gap: 18px; min-width: 0; }
.mx-heading-rule {
  width: 8px;
  height: 150px;
  border-radius: 8px;
  flex: 0 0 auto;
  background: linear-gradient(180deg, #1ba052, #11733a);
}
.mx-heading h1 {
  margin: 0;
  font-size: clamp(46px, 6.2vw, 82px);
  line-height: .86;
  letter-spacing: -3.5px;
  color: #0c0c0c;
  white-space: nowrap;
}
.mx-heading h1 strong {
  display: block;
  margin-left: 150px;
  color: var(--v-500);
  font-weight: 900;
}
.mx-gallery-link {
  align-self: flex-end;
  margin-bottom: 13px;
  flex: 0 0 auto;
  padding: 7px 16px;
  border: 1px solid #aaa;
  border-radius: 18px;
  background: rgba(255,255,255,.58);
  color: #444;
  font-size: 14px;
  box-shadow: 0 3px 10px rgba(0,0,0,.08);
  transition: background var(--t), color var(--t), border-color var(--t);
}
.mx-gallery-link:hover { background: var(--v-500); color: #fff; border-color: var(--v-500); }

.mx-stage { position: relative; margin-bottom: 20px; }
.mx-teaser-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  padding-bottom: 132px;
}
.mx-teaser {
  min-width: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--s-1);
}
.mx-teaser button { display: block; width: 100%; padding: 0; border: 0; background: #111; }
.mx-teaser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }

.mx-live-card {
  position: relative;
  z-index: 4;
  width: min(92%, 760px);
  margin: -252px auto 0;
  padding: 30px 28px 28px;
  border-radius: 28px;
  background: #002e1e;
  color: #fff;
  box-shadow: 0 22px 50px rgba(0,0,0,.28);
}
.mx-live-copy { text-align: center; }
.mx-live-copy h2 {
  max-width: 690px;
  margin: 0 auto 8px;
  color: #fff;
  font-size: clamp(25px, 3.5vw, 39px);
  line-height: 1.12;
  font-weight: 800;
}
.mx-live-copy h2 span { color: #34ad60; }
.mx-live-meta {
  margin-bottom: 18px;
  color: rgba(255,255,255,.78);
  font-size: 12px;
  font-style: italic;
  letter-spacing: .02em;
}
.mx-live-player {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  overflow: hidden;
  border: 10px solid #020806;
  border-radius: 2px;
  background: #000;
  box-shadow: 0 10px 24px rgba(0,0,0,.28);
}
.mx-live-player img { width: 100%; aspect-ratio: 16/9; object-fit: cover; }
.mx-live-player::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(transparent 70%, rgba(0,0,0,.18));
  pointer-events: none;
}
.mx-play {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  width: 68px;
  height: 68px;
  display: grid;
  place-items: center;
  transform: translate(-50%,-50%);
  border-radius: 50%;
  background: rgba(255,0,0,.93);
  color: #fff;
  font-size: 24px;
  padding-left: 4px;
  opacity: 0;
  transition: opacity var(--t), transform var(--spring);
}
.mx-live-player:hover .mx-play,
.mx-live-player:focus-visible .mx-play { opacity: 1; transform: translate(-50%,-50%) scale(1.06); }
.mx-live-summary {
  margin: 18px 8px 0;
  color: #25a457;
  font-size: 15px;
  font-weight: 700;
  font-style: italic;
  line-height: 1.45;
}

.mx-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap: 16px;
  margin-top: 18px;
}
.mx-story {
  min-width: 0;
  overflow: hidden;
  border-radius: 12px;
  background: #fff;
  box-shadow: var(--s-1);
  transition: transform var(--spring), box-shadow var(--t);
}
.mx-story:hover { transform: translateY(-4px); box-shadow: var(--s-2); }
.mx-story > button { display: block; width: 100%; padding: 0; background: #111; }
.mx-story > button img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.mx-story-body { padding: 12px 13px 15px; }
.mx-story-meta { color: var(--g-500); font-size: 10px; }
.mx-story-meta span {
  display: inline-grid;
  place-items: center;
  width: 22px;
  height: 18px;
  margin-right: 5px;
  border-radius: 3px;
  background: var(--v-500);
  color: #fff;
  font-size: 9px;
  font-weight: 900;
}
.mx-story h3 { margin: 7px 0 5px; font-size: 16px; line-height: 1.2; }
.mx-story p { min-height: 38px; color: var(--g-500); font-size: 11.5px; line-height: 1.35; }
.mx-story small { display: block; margin-top: 7px; color: var(--g-400); font-size: 9.5px; }
.mx-more-wrap { text-align: center; margin: 26px 0 46px; }
.mx-more {
  display: inline-block;
  min-width: 120px;
  padding: 9px 23px;
  border-radius: 20px;
  background: linear-gradient(180deg, var(--v-400), var(--v-600));
  color: #fff;
  font-size: 15px;
  box-shadow: 0 4px 12px rgba(18,112,58,.22);
}
.mx-more:hover { transform: translateY(-1px); box-shadow: 0 7px 18px rgba(18,112,58,.28); }

.mx-related { margin: 0 32px 38px; }
.mx-related > h2 {
  margin: 0 0 12px;
  padding: 5px 14px;
  border-bottom: 3px solid var(--v-700);
  background: linear-gradient(90deg, #111 0%, #111 30%, var(--v-700) 100%);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-transform: capitalize;
}
.mx-related-item {
  display: grid;
  grid-template-columns: 150px minmax(0,1fr);
  gap: 18px;
  align-items: center;
  max-width: 690px;
  margin: 0 auto;
  padding: 15px 0;
  border-bottom: 1px solid #cfd2d0;
}
.mx-related-item img { width: 150px; height: 92px; object-fit: cover; border-radius: 4px; }
.mx-related-item span { color: #111; font-size: 20px; font-weight: 800; line-height: 1.18; }
.mx-related-item:hover span { color: var(--v-700); }
.mx-bottom-ad { max-width: 790px; margin: 0 auto; }

.mx-sidebar .card { border-radius: 8px; }
.mx-sidebar .ad-box { min-height: 142px; }
.mx-weather { border-radius: 8px; }
.mx-weather .weather-hd { padding: 16px 16px 12px; }
.mx-weather .weather-temp { font-size: 50px; }
.mx-print img {
  width: 100%;
  max-height: 510px;
  object-fit: contain;
  object-position: top;
  filter: drop-shadow(0 6px 5px rgba(0,0,0,.14));
}
.mx-most-viewed ol { display: flex; flex-direction: column; }
.mx-most-viewed li {
  display: grid;
  grid-template-columns: 26px 55px minmax(0,1fr);
  gap: 8px;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px solid var(--linea);
}
.mx-most-viewed li:last-child { border-bottom: 0; }
.mx-most-viewed li > span { color: var(--v-500); font-size: 24px; font-weight: 900; line-height: 1; }
.mx-most-viewed img { width: 55px; height: 44px; object-fit: cover; border-radius: 4px; }
.mx-most-viewed a { color: #222; font-size: 11px; line-height: 1.24; font-weight: 600; }
.mx-most-viewed a:hover { color: var(--v-700); }

@media (max-width: 1100px) {
  .mx-layout { grid-template-columns: minmax(0,1fr) 290px; gap: 18px; }
  .mx-sidebar { padding-left: 14px; }
  .mx-heading h1 { font-size: clamp(42px, 6vw, 68px); }
  .mx-heading h1 strong { margin-left: 100px; }
  .mx-live-card { width: 94%; }
}

@media (max-width: 980px) {
  .mx-layout { grid-template-columns: 1fr; }
  .mx-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    padding-left: 0;
    border-left: 0;
    box-shadow: none;
  }
  .mx-sidebar .newsletter { align-self: start; }
  .mx-heading { min-height: 130px; }
  .mx-heading-rule { height: 125px; }
  .mx-heading h1 { font-size: clamp(46px, 9vw, 72px); }
  .mx-heading h1 strong { margin-left: 120px; }
}

@media (max-width: 720px) {
  .mx-shell { padding-top: 18px; }
  .mx-heading { align-items: flex-start; flex-direction: column; padding: 0 0 18px; }
  .mx-heading-title { width: 100%; }
  .mx-heading-rule { width: 6px; height: 105px; }
  .mx-heading h1 { white-space: normal; font-size: clamp(42px, 13vw, 66px); letter-spacing: -2.5px; }
  .mx-heading h1 strong { margin-left: 0; }
  .mx-gallery-link { align-self: flex-end; margin: -8px 0 0; }
  .mx-teaser-grid { gap: 10px; padding-bottom: 92px; }
  .mx-live-card { width: 96%; margin-top: -178px; padding: 22px 16px 20px; border-radius: 20px; }
  .mx-live-copy h2 { font-size: clamp(23px, 7vw, 32px); }
  .mx-live-player { border-width: 6px; }
  .mx-live-summary { margin: 14px 3px 0; font-size: 13px; }
  .mx-card-grid { grid-template-columns: 1fr; }
  .mx-story { display: grid; grid-template-columns: 42% minmax(0,1fr); }
  .mx-story > button img { height: 100%; min-height: 185px; aspect-ratio: auto; }
  .mx-related { margin-left: 0; margin-right: 0; }
  .mx-related-item { grid-template-columns: 110px minmax(0,1fr); gap: 12px; }
  .mx-related-item img { width: 110px; height: 78px; }
  .mx-related-item span { font-size: 16px; }
  .mx-sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .mx-teaser-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; padding-bottom: 70px; }
  .mx-teaser img { aspect-ratio: 1/1; }
  .mx-live-card { width: 100%; margin-top: -132px; border-radius: 16px; }
  .mx-live-meta { font-size: 10px; }
  .mx-story { grid-template-columns: 1fr; }
  .mx-story > button img { min-height: 0; aspect-ratio: 16/9; }
  .mx-related-item { grid-template-columns: 92px minmax(0,1fr); }
  .mx-related-item img { width: 92px; height: 68px; }
  .mx-related-item span { font-size: 14px; }
}


/* Reproductor modal propio de esta vista */
.content-video-modal[hidden] { display: none !important; }
.content-video-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: grid;
  place-items: center;
  padding: 70px 24px 28px;
  background: rgba(0,0,0,.95);
}
.content-video-dialog { width: min(1080px, 100%); }
.content-video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  overflow: hidden;
  border-radius: 12px;
  background: #000;
  box-shadow: 0 18px 60px rgba(0,0,0,.45);
}
.content-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.content-video-title { margin-top: 12px; color: rgba(255,255,255,.84); font-size: 14px; text-align: center; }
.content-video-close {
  position: absolute;
  top: 16px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.12);
  color: #fff;
  font-size: 26px;
}
.content-video-close:hover { background: #c0392b; }

@media (max-width: 980px) {
  .mx-sidebar > * { order: initial !important; }
}


/* Contexto de navegación y logotipos únicamente en vistas internas */
body:is(:has(> :where(main#contenido).article-page),.gallery-page,.multimedia-page,.live-page) .navbar.nav-context .nav-primary a:first-child {
  background: transparent; color: var(--black); border-bottom: 0;
}
body:is(:has(> :where(main#contenido).article-page),.gallery-page,.multimedia-page,.live-page) .navbar.nav-context .nav-primary a:first-child:hover { color: var(--green); }
body:is(:has(> :where(main#contenido).article-page),.gallery-page,.multimedia-page,.live-page) .navbar.nav-context .nav-primary a.active {
  background: var(--black); color: #fff; border-bottom: 2px solid var(--green-mid);
}
body:is(:has(> :where(main#contenido).article-page),.gallery-page,.multimedia-page,.live-page) .header .logo img.exp,
body:is(:has(> :where(main#contenido).article-page),.gallery-page,.multimedia-page,.live-page) .header .logo img.aniv {
  display: block; max-width: 100%; height: auto; object-fit: contain;
}
main.article-page .art-main, body.gallery-page .art-main { min-width: 0; }
main.article-page .art-body img, body.gallery-page .art-body img, body.live-page .live-copy img { max-width: 100%; height: auto; }
@media (max-width: 600px) {
  body:is(:has(> :where(main#contenido).article-page),.gallery-page,.multimedia-page,.live-page) .header .logo img.exp { height: auto; width: min(58vw, 230px); }
  body:is(:has(> :where(main#contenido).article-page),.gallery-page,.multimedia-page,.live-page) .header .logo img.aniv { height: auto; width: min(29vw, 115px); }
  main.article-page .art-wrap, body.gallery-page .art-wrap { width: 100%; }
  body.gallery-page .gal-item img { max-width: 100%; }
}

/* ═══════════════════════════════════════════════════════════════════════
   E MEDIA · MENÚ FLOTANTE RADIAL (PORTADA)
   Versión estilizada: arco estrecho, botones compactos y posición dinámica
   inmediatamente debajo de la marquesina de Tendencias.
   ═══════════════════════════════════════════════════════════════════════ */
body.home-page .emedia-dock {
  --emedia-dock-top: 12px;
  position: fixed;
  z-index: 1250;
  top: var(--emedia-dock-top);
  right: 0;
  width: 220px;
  height: 428px;
  pointer-events: none;
  isolation: isolate;
  transform-origin: top right;
}

body.home-page .emedia-dock__toggle {
  position: absolute;
  z-index: 3;
  top: 43px;
  right: 0;
  width: 76px;
  height: 342px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  pointer-events: auto;
  filter: drop-shadow(-5px 7px 8px rgba(0, 0, 0, .20));
  transition: filter .2s ease, transform .25s ease;
}

body.home-page .emedia-dock__toggle:hover,
body.home-page .emedia-dock__toggle:focus-visible {
  filter: drop-shadow(-6px 9px 10px rgba(0, 0, 0, .27));
  outline: 0;
}

body.home-page .emedia-dock__toggle:focus-visible {
  box-shadow: 0 0 0 3px rgba(37, 164, 87, .22);
  border-radius: 50% 0 0 50%;
}

body.home-page .emedia-dock__toggle:active {
  transform: translateX(2px) scale(.985);
}

body.home-page .emedia-dock__tab {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
}

body.home-page .emedia-dock__logo {
  position: absolute;
  top: 50%;
  right: 5px;
  width: 58px;
  height: 58px;
  object-fit: contain;
  transform: translateY(-50%);
  pointer-events: none;
}

body.home-page .emedia-dock__items {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

body.home-page .emedia-dock__item {
  --dock-delay: 0ms;
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  padding: 7px;
  border: 1px solid rgba(0, 0, 0, .035);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 7px 20px rgba(0, 0, 0, .15);
  opacity: 0;
  transform: translateX(52px) scale(.38) rotate(10deg);
  transform-origin: right center;
  pointer-events: none;
  visibility: hidden;
  transition:
    opacity .20s ease var(--dock-delay),
    transform .34s cubic-bezier(.22, 1, .36, 1) var(--dock-delay),
    box-shadow .2s ease,
    visibility 0s linear .36s;
}

body.home-page .emedia-dock__item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .2s ease, filter .2s ease;
}

body.home-page .emedia-dock__item:hover,
body.home-page .emedia-dock__item:focus-visible {
  box-shadow: 0 9px 24px rgba(0, 0, 0, .20), 0 0 0 2px rgba(37, 164, 87, .15);
  outline: 0;
}

body.home-page .emedia-dock__item:hover img,
body.home-page .emedia-dock__item:focus-visible img {
  transform: scale(1.06);
  filter: brightness(1.03);
}

/* El diseño original no muestra etiquetas laterales. */
body.home-page .emedia-dock__item::after {
  display: none;
}

/* Arco estrecho, similar al flotante original de Expreso. */
body.home-page .emedia-dock__item:nth-child(1) { top: 0;   right: 5px;  --dock-delay: 25ms; }
body.home-page .emedia-dock__item:nth-child(2) { top: 72px;  right: 40px; --dock-delay: 55ms; }
body.home-page .emedia-dock__item:nth-child(3) { top: 144px; right: 64px; --dock-delay: 85ms; }
body.home-page .emedia-dock__item:nth-child(4) { top: 216px; right: 68px; --dock-delay: 115ms; }
body.home-page .emedia-dock__item:nth-child(5) { top: 288px; right: 47px; --dock-delay: 145ms; }
body.home-page .emedia-dock__item:nth-child(6) { top: 360px; right: 8px;  --dock-delay: 175ms; }

body.home-page .emedia-dock.is-open .emedia-dock__item {
  opacity: 1;
  transform: translateX(0) scale(1) rotate(0);
  pointer-events: auto;
  visibility: visible;
  transition:
    opacity .20s ease var(--dock-delay),
    transform .34s cubic-bezier(.22, 1, .36, 1) var(--dock-delay),
    box-shadow .2s ease,
    visibility 0s linear 0s;
}

body.home-page .emedia-dock:not(.is-open) .emedia-dock__toggle {
  animation: emediaDockHint 4.8s ease-in-out 1.2s infinite;
}

@keyframes emediaDockHint {
  0%, 82%, 100% { transform: translateX(0); }
  88% { transform: translateX(-4px); }
  94% { transform: translateX(0); }
}

/* Escritorios medianos y pantallas de 1080 px: más compacto, sin deformar el arco. */
@media (min-width: 768px) and (max-width: 1366px) {
  body.home-page .emedia-dock {
    width: 184px;
    height: 374px;
  }

  body.home-page .emedia-dock__toggle {
    top: 37px;
    width: 64px;
    height: 300px;
  }

  body.home-page .emedia-dock__logo {
    right: 4px;
    width: 49px;
    height: 49px;
  }

  body.home-page .emedia-dock__item {
    width: 60px;
    height: 60px;
    padding: 6px;
  }

  body.home-page .emedia-dock__item:nth-child(1) { top: 0;   right: 4px; }
  body.home-page .emedia-dock__item:nth-child(2) { top: 63px;  right: 33px; }
  body.home-page .emedia-dock__item:nth-child(3) { top: 126px; right: 52px; }
  body.home-page .emedia-dock__item:nth-child(4) { top: 189px; right: 55px; }
  body.home-page .emedia-dock__item:nth-child(5) { top: 252px; right: 38px; }
  body.home-page .emedia-dock__item:nth-child(6) { top: 315px; right: 5px; }
}

/* Móvil: mantiene el mismo arco, pero con una huella mínima. */
@media (max-width: 767px) {
  body.home-page .emedia-dock {
    width: 158px;
    height: 326px;
  }

  body.home-page .emedia-dock__toggle {
    top: 33px;
    width: 55px;
    height: 260px;
  }

  body.home-page .emedia-dock__logo {
    right: 3px;
    width: 42px;
    height: 42px;
  }

  body.home-page .emedia-dock__item {
    width: 52px;
    height: 52px;
    padding: 5px;
  }

  body.home-page .emedia-dock__item:nth-child(1) { top: 0;   right: 3px; }
  body.home-page .emedia-dock__item:nth-child(2) { top: 54px;  right: 28px; }
  body.home-page .emedia-dock__item:nth-child(3) { top: 108px; right: 45px; }
  body.home-page .emedia-dock__item:nth-child(4) { top: 162px; right: 48px; }
  body.home-page .emedia-dock__item:nth-child(5) { top: 216px; right: 33px; }
  body.home-page .emedia-dock__item:nth-child(6) { top: 270px; right: 4px; }
}

/* Pantallas bajas: una reducción adicional sin cambiar posiciones internas. */
@media (max-height: 700px) {
  body.home-page .emedia-dock {
    transform: scale(.88);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home-page .emedia-dock__toggle,
  body.home-page .emedia-dock__item,
  body.home-page .emedia-dock__item img {
    animation: none !important;
    transition: none !important;
  }
}


/* ═══════════════════════════════════════════════════════════════════════
   VISTAS DE SECCIÓN
   Todos los selectores están limitados a .section-page para no modificar
   la portada ni las vistas editoriales existentes.
   ═══════════════════════════════════════════════════════════════════════ */
body.section-page {
  --section-accent: var(--v-500);
}
body.section-page .navbar.nav-context .nav-primary a:first-child {
  background: transparent;
  color: var(--black);
  border-bottom: 0;
}
body.section-page .navbar.nav-context .nav-primary a:first-child:hover { color: var(--green); }
body.section-page .navbar.nav-context .nav-primary a.active {
  background: var(--black);
  color: #fff;
  border-bottom: 2px solid var(--green-mid);
}
body.section-page .navbar.nav-context .nav-secondary a.active {
  background: var(--black);
  box-shadow: 0 4px 12px rgba(0,0,0,.18);
}
body.section-page .header .logo img.exp,
body.section-page .header .logo img.aniv {
  display: block;
  max-width: 100%;
  height: auto;
  object-fit: contain;
}
.section-main { padding: 24px 0 44px; }
.section-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 20px;
  padding: 22px 24px;
  background: #fff;
  border-radius: var(--r);
  border-left: 7px solid var(--section-accent);
  box-shadow: var(--s-1);
}
.section-kicker {
  display: block;
  margin-bottom: 4px;
  color: var(--section-accent);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.section-heading h1 {
  font-size: clamp(32px, 4vw, 52px);
  letter-spacing: -.04em;
  color: var(--ink);
}
.section-heading p {
  max-width: 720px;
  margin-top: 7px;
  color: var(--g-500);
  font-size: 15px;
}
.section-subnav {
  display: flex;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: wrap;
  max-width: 470px;
}
.section-subnav a {
  padding: 7px 12px;
  border: 1px solid var(--linea);
  border-radius: 999px;
  background: var(--g-050);
  color: var(--g-700);
  font-size: 12px;
  font-weight: 700;
  transition: border-color var(--t), color var(--t), background var(--t);
}
.section-subnav a:hover {
  border-color: var(--section-accent);
  color: var(--section-accent);
  background: #fff;
}
.section-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 20px;
  align-items: start;
}
.section-content,
.section-sidebar { min-width: 0; }
.section-sidebar {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.section-lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(250px, .75fr);
  gap: 14px;
  margin-bottom: 18px;
}
.section-lead-main,
.section-stack-card {
  overflow: hidden;
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--s-1);
}
.section-lead-main a {
  display: block;
  position: relative;
  height: 100%;
  min-height: 490px;
}
.section-lead-main img {
  width: 100%;
  height: 100%;
  min-height: 490px;
  object-fit: cover;
  transition: transform .55s ease;
}
.section-lead-main:hover img { transform: scale(1.025); }
.section-lead-overlay {
  position: absolute;
  inset: auto 0 0;
  padding: 90px 26px 24px;
  background: linear-gradient(transparent, rgba(0,0,0,.92));
  color: #fff;
}
.section-lead-overlay > span,
.section-row-cat,
.opinion-card span,
.opinion-feature span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--section-accent);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .09em;
  text-transform: uppercase;
}
.section-lead-overlay > span {
  padding: 3px 7px;
  border-radius: 4px;
  background: var(--section-accent);
  color: #fff;
}
.section-lead-overlay h2 {
  margin-top: 8px;
  color: #fff;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.06;
  letter-spacing: -.025em;
}
.section-lead-overlay p {
  max-width: 690px;
  margin-top: 10px;
  color: rgba(255,255,255,.82);
  font-size: 14px;
}
.section-lead-overlay small {
  display: block;
  margin-top: 12px;
  color: rgba(255,255,255,.66);
}
.section-lead-stack {
  display: grid;
  grid-template-rows: repeat(2, minmax(0,1fr));
  gap: 14px;
}
.section-stack-card a { display: grid; grid-template-rows: 1fr auto; height: 100%; }
.section-stack-card img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  transition: transform .4s ease;
}
.section-stack-card:hover img { transform: scale(1.035); }
.section-stack-card div { padding: 14px 15px 16px; }
.section-stack-card div > span {
  color: var(--section-accent);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}
.section-stack-card h2 {
  margin-top: 4px;
  font-size: 17px;
  line-height: 1.18;
}
.section-stack-card small { display: block; margin-top: 8px; color: var(--g-400); font-size: 10.5px; }
.section-mid-ad { margin: 0 0 18px; }
.section-latest {
  overflow: hidden;
  padding: 0 20px 20px;
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--s-1);
}
.section-block-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 4px;
  padding: 18px 0 13px;
  border-bottom: 2px solid var(--section-accent);
}
.section-block-head h2 { font-size: 22px; }
.section-block-head a { color: var(--section-accent); font-size: 12px; font-weight: 800; }
.section-row { border-bottom: 1px solid var(--linea); }
.section-row:last-of-type { border-bottom: 0; }
.section-row > a {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 17px;
  padding: 16px 0;
}
.section-row img {
  width: 220px;
  height: 132px;
  border-radius: var(--r-s);
  object-fit: cover;
}
.section-row-body { min-width: 0; }
.section-row-body h3 {
  margin: 4px 0 6px;
  font-size: 20px;
  line-height: 1.15;
  transition: color var(--t);
}
.section-row:hover h3 { color: var(--section-accent); }
.section-row-body p { color: var(--g-500); font-size: 13px; }
.section-row-body small { display: block; margin-top: 9px; color: var(--g-400); font-size: 11px; }
.section-more {
  display: block;
  min-width: 190px;
  margin: 20px auto 0;
  padding: 11px 20px;
  border-radius: 999px;
  background: var(--section-accent);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  transition: transform var(--spring), filter var(--t);
}
.section-more:hover { transform: translateY(-2px); filter: brightness(.92); }
.section-most ol { counter-reset: section-most; }
.section-most li {
  display: grid;
  grid-template-columns: 30px 1fr;
  gap: 9px;
  align-items: start;
  padding: 10px 0;
  border-bottom: 1px solid var(--linea);
}
.section-most li:last-child { border-bottom: 0; }
.section-most li > span {
  color: var(--section-accent);
  font-size: 23px;
  font-weight: 900;
  line-height: 1;
}
.section-most li a { color: var(--ink); font-size: 12.5px; font-weight: 700; line-height: 1.25; }
.section-most li a:hover { color: var(--section-accent); }
.section-print a { display: block; }
.section-print img { width: 100%; border-radius: var(--r-s); }
.section-print a span {
  display: block;
  padding-top: 9px;
  color: var(--section-accent);
  text-align: center;
  font-size: 12px;
  font-weight: 800;
}

/* Expresión */
.opinion-feature {
  margin-bottom: 18px;
  border-radius: var(--r);
  background: linear-gradient(135deg, #002e1e, #174c36);
  box-shadow: var(--s-2);
  overflow: hidden;
}
.opinion-feature a {
  display: grid;
  grid-template-columns: 260px minmax(0,1fr);
  align-items: center;
  min-height: 280px;
}
.opinion-feature img { width: 100%; height: 100%; min-height: 280px; object-fit: cover; }
.opinion-feature div { padding: 28px; }
.opinion-feature span { color: #69d89a; }
.opinion-feature h2 { margin: 7px 0 10px; color: #fff; font-size: 32px; line-height: 1.08; }
.opinion-feature p { color: rgba(255,255,255,.72); }
.opinion-feature strong { display: block; margin-top: 16px; color: #fff; font-size: 12px; }
.opinion-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 14px;
  margin-bottom: 18px;
}
.opinion-card {
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--s-1);
  overflow: hidden;
}
.opinion-card a { display: grid; grid-template-columns: 112px minmax(0,1fr); min-height: 150px; }
.opinion-card img { width: 112px; height: 100%; object-fit: cover; }
.opinion-card div { padding: 14px; }
.opinion-card h2 { margin-top: 4px; font-size: 17px; line-height: 1.15; }
.opinion-card p { margin-top: 8px; color: var(--section-accent); font-size: 12px; font-weight: 800; }
.opinion-card small { color: var(--g-400); font-size: 10px; }

/* ═══════════════════════════════════════════════════════════════════════
   MULTIMEDIA - GALERÍAS
   Vista inferida del enlace presente en la mesa Multimedia - Videos.
   ═══════════════════════════════════════════════════════════════════════ */
.gallery-index-main { padding: 24px 0 44px; }
.gallery-index-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
  padding: 18px 22px;
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--s-1);
}
.gallery-index-title { display: flex; align-items: center; gap: 10px; min-width: 0; }
.gallery-index-title > img:first-child { width: 18px; height: 96px; object-fit: fill; }
.gallery-index-wordmark { width: min(390px, 60vw); height: 96px; object-fit: contain; object-position: left center; }
.gallery-index-switch {
  display: block;
  width: 210px;
  padding: 6px 12px;
  border: 1px solid var(--linea);
  border-radius: 999px;
  background: var(--g-050);
}
.gallery-index-switch img { width: 100%; height: 42px; object-fit: contain; }
.gallery-index-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) 320px;
  gap: 20px;
  align-items: start;
}
.gallery-index-content { min-width: 0; }
.gallery-index-feature {
  margin-bottom: 17px;
  border-radius: var(--r);
  overflow: hidden;
  background: #111;
  box-shadow: var(--s-2);
}
.gallery-index-feature a { display: block; position: relative; min-height: 470px; }
.gallery-index-feature img { width: 100%; height: 470px; object-fit: cover; opacity: .88; }
.gallery-index-feature div {
  position: absolute;
  inset: auto 0 0;
  padding: 90px 26px 24px;
  background: linear-gradient(transparent,rgba(0,0,0,.92));
}
.gallery-index-feature span { color: #7be3a5; font-size: 11px; font-weight: 800; text-transform: uppercase; }
.gallery-index-feature h1 { margin-top: 7px; color: #fff; font-size: 36px; }
.gallery-index-feature p { max-width: 700px; margin-top: 8px; color: rgba(255,255,255,.76); }
.gallery-filter {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 14px;
  padding: 12px;
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--s-1);
}
.gallery-filter button {
  padding: 7px 13px;
  border: 1px solid var(--linea);
  border-radius: 999px;
  color: var(--g-700);
  font-size: 12px;
  font-weight: 800;
}
.gallery-filter button.active,
.gallery-filter button:hover { border-color: var(--v-500); background: var(--v-500); color: #fff; }
.gallery-index-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 14px; }
.gallery-index-card {
  overflow: hidden;
  border-radius: var(--r);
  background: #fff;
  box-shadow: var(--s-1);
  transition: transform var(--spring), box-shadow var(--t);
}
.gallery-index-card:hover { transform: translateY(-4px); box-shadow: var(--s-2); }
.gallery-index-image { position: relative; overflow: hidden; }
.gallery-index-image img { width: 100%; height: 190px; object-fit: cover; transition: transform .45s ease; }
.gallery-index-card:hover .gallery-index-image img { transform: scale(1.045); }
.gallery-index-image span {
  position: absolute;
  right: 9px;
  bottom: 9px;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(0,0,0,.72);
  color: #fff;
  font-size: 10px;
  font-weight: 800;
}
.gallery-index-copy { padding: 13px 14px 15px; }
.gallery-index-copy small { color: var(--v-500); font-weight: 800; text-transform: uppercase; }
.gallery-index-copy h2 { margin-top: 5px; font-size: 17px; line-height: 1.16; }
.gallery-index-copy p { margin-top: 8px; color: var(--g-400); font-size: 10.5px; }

@media (max-width: 1080px) {
  .section-layout,
  .gallery-index-layout { grid-template-columns: minmax(0,1fr) 290px; }
  .section-lead-grid { grid-template-columns: minmax(0,1fr) 260px; }
  .gallery-index-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 900px) {
  .section-heading { align-items: flex-start; flex-direction: column; }
  .section-subnav { justify-content: flex-start; max-width: none; }
  .section-layout,
  .gallery-index-layout { grid-template-columns: 1fr; }
  .section-sidebar { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); }
  .section-sidebar .weather,
  .section-sidebar .newsletter { grid-column: 1 / -1; }
}
@media (max-width: 720px) {
  body.section-page .header .logo img.exp { width: min(58vw,230px); }
  body.section-page .header .logo img.aniv { width: min(29vw,115px); }
  .section-main,
  .gallery-index-main { padding-top: 14px; }
  .section-heading { padding: 18px; }
  .section-heading h1 { font-size: 34px; }
  .section-lead-grid { grid-template-columns: 1fr; }
  .section-lead-main a,
  .section-lead-main img { min-height: 390px; }
  .section-lead-stack { grid-template-columns: repeat(2,minmax(0,1fr)); grid-template-rows: auto; }
  .section-row > a { grid-template-columns: 145px minmax(0,1fr); gap: 12px; }
  .section-row img { width: 145px; height: 105px; }
  .section-row-body h3 { font-size: 16px; }
  .section-row-body p { display: none; }
  .opinion-grid { grid-template-columns: 1fr; }
  .opinion-feature a { grid-template-columns: 145px minmax(0,1fr); }
  .opinion-feature h2 { font-size: 23px; }
  .gallery-index-heading { align-items: flex-start; flex-direction: column; }
  .gallery-index-switch { width: 180px; }
  .gallery-index-feature a,
  .gallery-index-feature img { min-height: 390px; height: 390px; }
}
@media (max-width: 520px) {
  .section-sidebar { display: flex; }
  .section-lead-stack { grid-template-columns: 1fr; }
  .section-stack-card a { grid-template-columns: 120px minmax(0,1fr); grid-template-rows: auto; }
  .section-stack-card img { width: 120px; height: 100%; min-height: 130px; }
  .section-lead-overlay { padding: 70px 18px 18px; }
  .section-lead-overlay h2 { font-size: 25px; }
  .section-lead-overlay p { display: none; }
  .section-latest { padding: 0 14px 16px; }
  .section-row > a { grid-template-columns: 112px minmax(0,1fr); }
  .section-row img { width: 112px; height: 90px; }
  .section-row-body h3 { font-size: 14px; }
  .section-row-body small { margin-top: 5px; }
  .opinion-feature a { grid-template-columns: 1fr; }
  .opinion-feature img { height: 230px; min-height: 0; }
  .opinion-card a { grid-template-columns: 95px minmax(0,1fr); }
  .opinion-card img { width: 95px; }
  .gallery-index-wordmark { width: min(330px,75vw); height: 76px; }
  .gallery-index-title > img:first-child { height: 76px; }
  .gallery-index-grid { grid-template-columns: 1fr; }
  .gallery-index-image img { height: 220px; }
  .gallery-index-feature h1 { font-size: 29px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   COLUMNA.HTML · Variante editorial de nota.html
   Todos los selectores están limitados a main.column-page para no alterar
   index.html, las portadas de sección ni las notas informativas.
   ═══════════════════════════════════════════════════════════════════════ */
main.column-page { --column-accent: #174c36; --column-soft: #edf5f0; }
body:has(> :where(main#contenido).column-page) .navbar .nav-secondary a.active {
  box-shadow: inset 0 -3px 0 rgba(255,255,255,.75), 0 4px 12px rgba(0,150,65,.24);
}
main.column-page .column-article { overflow: hidden; }
main.column-page .column-header {
  position: relative;
  margin: calc(clamp(20px,3vw,38px) * -1) calc(clamp(20px,3vw,38px) * -1) 30px;
  padding: clamp(26px,4.4vw,52px);
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 8%, rgba(105,216,154,.26), transparent 29%),
    linear-gradient(135deg,#002e1e 0%,#123f2d 58%,#1b5b3f 100%);
  color: #fff;
}
main.column-page .column-header::after {
  content: '“';
  position: absolute;
  right: 28px;
  bottom: -74px;
  color: rgba(255,255,255,.055);
  font-family: Georgia,serif;
  font-size: 280px;
  line-height: 1;
  pointer-events: none;
}
main.column-page .column-brand {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  padding: 7px 12px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  backdrop-filter: blur(8px);
}
main.column-page .column-brand span {
  color: #74dfa1;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
main.column-page .column-brand strong { color: #fff; font-size: 12px; }
main.column-page .column-author-lockup {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
main.column-page .column-author-lockup img {
  width: 54px;
  height: 54px;
  border: 3px solid rgba(255,255,255,.82);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
main.column-page .column-author-lockup div { display: grid; }
main.column-page .column-author-lockup span {
  color: #74dfa1;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
main.column-page .column-author-lockup strong { color: #fff; font-size: 15px; }
main.column-page .column-author-lockup small { color: rgba(255,255,255,.64); font-size: 11px; }
main.column-page .column-header .art-h1 {
  position: relative;
  z-index: 1;
  max-width: 820px;
  color: #fff;
  font-size: clamp(34px,5.2vw,62px);
  line-height: 1.02;
  letter-spacing: -1.7px;
}
main.column-page .column-header .art-deck {
  position: relative;
  z-index: 1;
  max-width: 750px;
  margin: 16px 0 24px;
  color: rgba(255,255,255,.76);
  font-size: clamp(16px,2vw,20px);
}
main.column-page .column-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-top: 17px;
  border-top: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.66);
  font-size: 11.5px;
}
main.column-page .column-meta b { color: #fff; }
main.column-page .column-meta > div:first-child span { margin: 0 5px; }
main.column-page .column-meta .art-share { margin-left: 0; }
main.column-page .column-meta .art-share a,
main.column-page .column-meta .art-share button {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  color: #fff;
}
main.column-page .column-meta .art-share a:hover,
main.column-page .column-meta .art-share button:hover {
  border-color: #74dfa1;
  background: #74dfa1;
  color: #002e1e;
  transform: translateY(-2px);
}
main.column-page .column-reading-grid {
  display: grid;
  grid-template-columns: 170px minmax(0,1fr);
  gap: clamp(22px,3vw,38px);
  align-items: start;
}
main.column-page .column-signature {
  position: sticky;
  top: 18px;
  padding: 18px;
  border: 1px solid var(--v-100);
  border-radius: var(--r);
  background: var(--column-soft);
  text-align: center;
}
main.column-page .column-signature img {
  width: 86px;
  height: 86px;
  margin: 0 auto 12px;
  border: 4px solid #fff;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--s-2);
}
main.column-page .column-signature > span {
  color: var(--v-600);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}
main.column-page .column-signature h2 { margin: 3px 0 8px; font-size: 16px; }
main.column-page .column-signature p { color: var(--g-500); font-size: 11.5px; line-height: 1.45; }
main.column-page .column-signature a {
  display: inline-block;
  margin-top: 12px;
  color: var(--v-700);
  font-size: 11px;
  font-weight: 900;
}
main.column-page .column-copy { max-width: 720px; }
main.column-page .column-copy p:first-of-type::first-letter {
  color: var(--column-accent);
  font-family: Georgia,serif;
}
main.column-page .column-copy blockquote {
  position: relative;
  padding: 20px 24px 20px 28px;
  border: 0;
  border-radius: 0 var(--r) var(--r) 0;
  background: var(--column-soft);
  color: var(--column-accent);
  font-family: Georgia,serif;
  font-size: clamp(21px,2.4vw,28px);
  font-style: italic;
  font-weight: 700;
}
main.column-page .column-copy blockquote::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: linear-gradient(var(--v-400),var(--v-700));
}
main.column-page .column-emphasis {
  margin: 28px 0;
  padding: 20px 22px;
  border: 1px solid var(--v-100);
  border-radius: var(--r);
  background: linear-gradient(135deg,#f8fbf9,var(--column-soft));
}
main.column-page .column-emphasis span {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--v-600);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
main.column-page .column-emphasis p { margin: 0; color: var(--ink); font-size: 18px; font-weight: 750; line-height: 1.5; }
main.column-page .column-disclaimer {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 30px 0 20px;
  padding: 14px 16px;
  border-top: 1px solid var(--linea);
  border-bottom: 1px solid var(--linea);
  color: var(--g-500);
  font-size: 11.5px;
}
main.column-page .column-disclaimer i { margin-top: 2px; color: var(--v-500); }
main.column-page .column-author-card {
  display: grid;
  grid-template-columns: 92px minmax(0,1fr);
  gap: 18px;
  align-items: center;
  margin: 28px 0;
  padding: 20px;
  border-radius: var(--r);
  background: linear-gradient(135deg,#002e1e,#174c36);
  color: #fff;
}
main.column-page .column-author-card > img { width: 92px; height: 92px; border-radius: 50%; object-fit: cover; border: 4px solid rgba(255,255,255,.78); }
main.column-page .column-author-card span { color: #74dfa1; font-size: 9px; font-weight: 900; letter-spacing: .1em; text-transform: uppercase; }
main.column-page .column-author-card h2 { margin: 2px 0 5px; color: #fff; font-size: 20px; }
main.column-page .column-author-card p { color: rgba(255,255,255,.68); font-size: 12.5px; }
main.column-page .column-author-card div div { display: flex; gap: 6px; margin-top: 10px; }
main.column-page .column-author-card div div a { width: 29px; height: 29px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: rgba(255,255,255,.1); color: #fff; }
main.column-page .column-related-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--v-500); }
main.column-page .column-related-head h2 { font-size: 18px; }
main.column-page .column-related-head a { color: var(--v-700); font-size: 11px; font-weight: 900; }
main.column-page .column-related-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 14px; margin-bottom: 30px; }
main.column-page .column-related-grid > a {
  display: grid;
  grid-template-columns: 105px minmax(0,1fr);
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--linea);
  border-radius: var(--r-s);
  background: #fff;
  transition: transform var(--spring),box-shadow var(--t),border-color var(--t);
}
main.column-page .column-related-grid > a:hover { transform: translateY(-3px); border-color: var(--v-100); box-shadow: var(--s-2); }
main.column-page .column-related-grid img { width: 105px; height: 85px; border-radius: 6px; object-fit: cover; }
main.column-page .column-related-grid span { display: grid; gap: 4px; }
main.column-page .column-related-grid small { color: var(--v-600); font-size: 9px; font-weight: 900; text-transform: uppercase; }
main.column-page .column-related-grid strong { color: var(--ink); font-size: 14px; line-height: 1.2; }
main.column-page .column-related-grid em { color: var(--g-400); font-size: 10px; font-style: normal; }
main.column-page .column-latest-list { display: flex; flex-direction: column; }
main.column-page .column-latest-list a { display: grid; gap: 3px; padding: 11px 2px; border-bottom: 1px solid var(--linea); }
main.column-page .column-latest-list a:last-child { border-bottom: 0; }
main.column-page .column-latest-list span { color: var(--v-600); font-size: 9px; font-weight: 900; text-transform: uppercase; }
main.column-page .column-latest-list b { color: var(--ink); font-size: 12.5px; line-height: 1.25; }
main.column-page .column-latest-list small { color: var(--g-400); font-size: 10px; }
main.column-page .columnists-card > a { display: grid; grid-template-columns: 48px minmax(0,1fr); gap: 10px; align-items: center; padding: 9px 0; border-bottom: 1px solid var(--linea); }
main.column-page .columnists-card > a:last-child { border-bottom: 0; }
main.column-page .columnists-card img { width: 48px; height: 48px; border: 2px solid var(--v-100); border-radius: 50%; object-fit: cover; }
main.column-page .columnists-card span { display: grid; }
main.column-page .columnists-card b { color: var(--ink); font-size: 12.5px; }
main.column-page .columnists-card small { color: var(--g-400); font-size: 10px; }

@media (max-width: 920px) {
  main.column-page .column-reading-grid { grid-template-columns: 1fr; }
  main.column-page .column-signature { position: static; display: grid; grid-template-columns: 72px minmax(0,1fr); column-gap: 14px; align-items: center; text-align: left; }
  main.column-page .column-signature img { grid-row: 1 / 5; width: 72px; height: 72px; margin: 0; }
  main.column-page .column-signature a { margin-top: 5px; }
  main.column-page .column-copy { max-width: none; }
}
@media (max-width: 640px) {
  main.column-page .column-header { margin-left: -20px; margin-right: -20px; padding: 26px 20px 30px; }
  main.column-page .column-header .art-h1 { font-size: 36px; letter-spacing: -.8px; }
  main.column-page .column-meta { align-items: flex-start; flex-direction: column; }
  main.column-page .column-related-grid { grid-template-columns: 1fr; }
  main.column-page .column-author-card { grid-template-columns: 68px minmax(0,1fr); gap: 13px; }
  main.column-page .column-author-card > img { width: 68px; height: 68px; }
}
@media (max-width: 420px) {
  main.column-page .column-author-lockup img { width: 46px; height: 46px; }
  main.column-page .column-header .art-h1 { font-size: 32px; }
  main.column-page .column-signature { grid-template-columns: 58px minmax(0,1fr); padding: 14px; }
  main.column-page .column-signature img { width: 58px; height: 58px; }
  main.column-page .column-related-grid > a { grid-template-columns: 90px minmax(0,1fr); }
  main.column-page .column-related-grid img { width: 90px; height: 78px; }
}


/* ═══════════════════════════════════════════════════════════════════════
   NOTA — elementos editoriales tomados de la nota vigente de EXPRESO
   Alcance: únicamente main.article-page
   ═══════════════════════════════════════════════════════════════════════ */
main.article-page .article-kickers { display:flex; align-items:center; gap:8px; flex-wrap:wrap; }
main.article-page .article-format { display:inline-flex; align-items:center; padding:4px 10px; border-radius:999px; background:#eef1ef; color:var(--g-700); font-size:10px; font-weight:800; letter-spacing:.06em; text-transform:uppercase; margin-bottom:14px; }
main.article-page .article-meta-line { display:flex; flex-wrap:wrap; gap:8px 18px; color:var(--g-500); font-size:12px; margin:0 0 14px; }
main.article-page .article-meta-line span { display:inline-flex; align-items:center; gap:6px; }
main.article-page .art-share button { width:32px; height:32px; border-radius:50%; background:var(--g-050); border:1px solid var(--linea); display:flex; align-items:center; justify-content:center; color:var(--g-700); transition:background var(--spring),transform var(--spring),color var(--t); }
main.article-page .art-share button:hover { background:var(--v-500); color:#fff; border-color:var(--v-500); transform:translateY(-2px) scale(1.08); }
main.article-page .article-layout { position:relative; display:grid; grid-template-columns:44px minmax(0,1fr); gap:16px; }
main.article-page .article-layout__content { min-width:0; }
main.article-page .article-share-rail { position:sticky; top:18px; align-self:start; display:flex; flex-direction:column; gap:8px; padding-top:4px; z-index:3; }
main.article-page .article-share-rail a,
main.article-page .article-share-rail button { width:38px; height:38px; border-radius:50%; border:1px solid var(--linea); background:#fff; color:var(--g-700); display:flex; align-items:center; justify-content:center; box-shadow:var(--s-1); transition:transform var(--spring),background var(--t),color var(--t); }
main.article-page .article-share-rail a:hover,
main.article-page .article-share-rail button:hover { transform:translateY(-2px); background:var(--v-500); color:#fff; border-color:var(--v-500); }
main.article-page .article-quick-actions { display:flex; gap:8px; flex-wrap:wrap; padding:0 0 18px; margin-bottom:18px; border-bottom:1px solid var(--linea); }
main.article-page .article-action { display:inline-flex; align-items:center; gap:7px; padding:8px 12px; border:1px solid var(--linea); border-radius:999px; background:#fff; color:var(--g-700); font-size:12px; font-weight:700; transition:background var(--t),color var(--t),border-color var(--t); }
main.article-page .article-action:hover { background:var(--v-050); border-color:var(--v-400); color:var(--v-700); }
main.article-page .article-service-box { margin:24px 0; border:1px solid var(--v-100); border-radius:var(--r); overflow:hidden; background:linear-gradient(145deg,#f7fbf8,#fff); box-shadow:var(--s-1); }
main.article-page .article-service-box__head { display:flex; align-items:center; gap:12px; padding:16px 18px; border-bottom:1px solid var(--v-100); }
main.article-page .article-service-box__icon { width:38px; height:38px; border-radius:50%; background:var(--v-500); color:#fff; display:flex; align-items:center; justify-content:center; flex:0 0 auto; }
main.article-page .article-service-box__eyebrow { display:block; color:var(--v-700); font-size:10px; font-weight:800; letter-spacing:.08em; text-transform:uppercase; }
main.article-page .article-service-box h2 { margin:2px 0 0; font-size:19px; }
main.article-page .article-facts { display:grid; grid-template-columns:1fr 1fr; margin:0; }
main.article-page .article-facts div { padding:14px 18px; border-bottom:1px solid var(--linea); }
main.article-page .article-facts div:nth-child(odd) { border-right:1px solid var(--linea); }
main.article-page .article-facts div:nth-last-child(-n+2) { border-bottom:0; }
main.article-page .article-facts dt { color:var(--g-500); font-size:11px; font-weight:700; text-transform:uppercase; letter-spacing:.04em; }
main.article-page .article-facts dd { margin:4px 0 0; color:var(--ink); font-size:14px; font-weight:800; line-height:1.35; }
main.article-page .article-related-inline { margin:24px 0; padding:15px 17px; border-left:4px solid var(--v-500); background:var(--g-050); border-radius:0 var(--r-s) var(--r-s) 0; }
main.article-page .article-related-inline > span { display:block; color:var(--v-700); font-size:10px; font-weight:900; letter-spacing:.08em; text-transform:uppercase; margin-bottom:5px; }
main.article-page .article-related-inline a { display:flex; justify-content:space-between; gap:12px; align-items:center; color:var(--ink); font-weight:800; text-decoration:none; line-height:1.35; }
main.article-page .article-related-inline a:hover { color:var(--v-700); }
main.article-page .article-checklist { list-style:none; margin-left:0; }
main.article-page .article-checklist li { position:relative; padding-left:28px; }
main.article-page .article-checklist li::before { content:'✓'; position:absolute; left:0; top:1px; width:19px; height:19px; border-radius:50%; background:var(--v-050); color:var(--v-700); font-size:12px; font-weight:900; display:flex; align-items:center; justify-content:center; }
main.article-page .article-steps { list-style:none; display:grid; gap:10px; margin:0 0 24px; }
main.article-page .article-steps li { display:flex; gap:12px; align-items:flex-start; padding:13px 15px; background:var(--g-050); border-radius:var(--r-s); border:1px solid var(--linea); }
main.article-page .article-steps li > span { width:28px; height:28px; flex:0 0 auto; border-radius:50%; background:var(--v-500); color:#fff; display:flex; align-items:center; justify-content:center; font-weight:900; font-size:13px; }
main.article-page .article-steps b { display:block; color:var(--ink); font-size:14px; }
main.article-page .article-steps p { margin:2px 0 0; color:var(--g-500); font-size:13px; line-height:1.4; }
main.article-page .article-steps p::first-letter { float:none; padding:0; color:inherit; font-size:inherit; font-weight:inherit; line-height:inherit; }
main.article-page .article-source-note { padding:13px 15px; background:#fff8e6; border:1px solid #f0ddb0; border-radius:var(--r-s); color:#6f5b2e; font-size:12px; line-height:1.5; }
main.article-page .article-topics { margin:26px 0; padding-top:18px; border-top:1px solid var(--linea); }
main.article-page .article-topics h2 { font-size:15px; margin-bottom:10px; }
main.article-page .article-topics .art-tags { margin-bottom:0; }
main.article-page .article-author-label { color:var(--v-700); font-size:10px; font-weight:900; letter-spacing:.07em; text-transform:uppercase; }
main.article-page .art-author-box a { display:inline-block; margin-top:6px; color:var(--v-700); font-size:12px; font-weight:800; }
main.article-page .article-recommended-card { overflow:hidden; border:1px solid var(--linea); border-radius:var(--r-s); background:#fff; box-shadow:var(--s-1); transition:transform var(--spring),box-shadow var(--t); }
main.article-page .article-recommended-card:hover { transform:translateY(-3px); box-shadow:var(--s-2); }
main.article-page .article-recommended-card img { width:100%; aspect-ratio:16/9; object-fit:cover; }
main.article-page .article-recommended-card span { display:block; padding:10px 11px 13px; color:var(--ink); font-size:13px; font-weight:800; line-height:1.35; }
main.article-page .article-comments-intro { color:var(--g-500); font-size:12.5px; margin:-5px 0 12px; }
main.article-page [data-copy-url].is-copied { background:var(--v-500)!important; color:#fff!important; border-color:var(--v-500)!important; }
main.article-page .copy-toast { position:fixed; left:50%; bottom:24px; transform:translate(-50%,12px); z-index:9999; padding:10px 16px; border-radius:999px; background:var(--ink); color:#fff; box-shadow:var(--s-3); font-size:12px; font-weight:800; opacity:0; pointer-events:none; transition:opacity .2s ease,transform .2s ease; }
main.article-page .copy-toast.show { opacity:1; transform:translate(-50%,0); }
@media (max-width:760px) {
  main.article-page .article-layout { display:block; }
  main.article-page .article-share-rail { display:none; }
  main.article-page .article-facts { grid-template-columns:1fr; }
  main.article-page .article-facts div,
  main.article-page .article-facts div:nth-child(odd),
  main.article-page .article-facts div:nth-last-child(-n+2) { border-right:0; border-bottom:1px solid var(--linea); }
  main.article-page .article-facts div:last-child { border-bottom:0; }
  main.article-page .article-meta-line { flex-direction:column; gap:5px; }
  main.article-page .article-quick-actions { overflow-x:auto; flex-wrap:nowrap; padding-bottom:14px; scrollbar-width:none; }
  main.article-page .article-quick-actions::-webkit-scrollbar { display:none; }
  main.article-page .article-action { white-space:nowrap; }
}


/* ═══════════════════════════════════════════════════════════════════════
   AJUSTES DE NAVEGACIÓN Y LECTURA · 2026-08-03 / integración 3
   1) Navbar adherente en todas las vistas.
   2) Sidebar desplazable y adherente únicamente en nota.html.
   3) Enlace contenedor para las cinco diapositivas del hero.
   ═══════════════════════════════════════════════════════════════════════ */
:root { --sticky-navbar-h: 44px; }

.navbar {
  position: sticky;
  top: 0;
  z-index: 1200;
  box-shadow: 0 5px 16px rgba(0, 46, 30, .10);
}

html { scroll-padding-top: calc(var(--sticky-navbar-h) + 12px); }

.hero-link {
  display: block;
  color: inherit;
}

@media (min-width: 981px) {
  main.article-page .art-side {
    position: sticky;
    top: calc(var(--sticky-navbar-h) + 16px);
    max-height: calc(100vh - var(--sticky-navbar-h) - 32px);
    overflow-y: auto;
    overflow-x: hidden;
    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: var(--g-300) transparent;
    padding-right: 4px;
  }

  main.article-page .art-side::-webkit-scrollbar { width: 7px; }
  main.article-page .art-side::-webkit-scrollbar-track { background: transparent; }
  main.article-page .art-side::-webkit-scrollbar-thumb {
    background: var(--g-300);
    border-radius: 999px;
  }
}

@media (max-width: 980px) {
  main.article-page .art-side {
    position: static;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
}


/* ═══════════════════════════════════════════════════════════════════════
   AJUSTE DE GALERÍA EN PORTADA · 2026-08-03 / integración 4
   Mantiene el lightbox por encima del navbar sticky y del menú eMedia.
   ═══════════════════════════════════════════════════════════════════════ */
.content-lightbox { z-index: 1600; }
#cardGaleria .gal-item { width: 100%; }

/* ═══════════════════════════════════════════════════════════════════════
   HEADER MÓVIL UNIFICADO · 2026-08-03 / integración 5
   Iguala nota, columna, secciones, multimedia, galería y en vivo con las
   dimensiones y el acomodo que utiliza la portada index.html.
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  body .header > .wrap {
    flex-wrap: wrap;
    height: auto;
    align-items: center;
    row-gap: 16px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  body .header .logo {
    flex: 0 0 auto;
    width: auto;
    margin: 0;
  }

  body .header .logo:nth-of-type(2) {
    margin-left: auto;
  }

  body .header .logo img.exp,
  body .header .logo img.aniv {
    display: block;
    width: auto !important;
    height: 95px !important;
    max-width: none !important;
    object-fit: contain;
  }

  body .header .search {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
  }

  body .header .header-actions {
    order: 4;
    flex: 1 1 100%;
    margin-left: 0;
    gap: 10px;
  }
}

/* Portada: logo del aniversario trasladado al footer */
body.home-page .header .logo:has(.aniv) { display: none; }
body.home-page .footer-top { background: #003b2b; }
body.home-page .footer-anniversary {
  display: block;
  width: 128px;
  height: auto;
  margin: 0 0 18px;
  object-fit: contain;
}
@media (max-width: 600px) {
  body.home-page .footer-anniversary { width: 110px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   PORTADA · LOGO EXPRESO CENTRADO EN MÓVIL
   Versión: 2026-08-04 / integración 7
   Alcance: únicamente index.html mediante body.home-page.
   ═══════════════════════════════════════════════════════════════════════ */
@media (max-width: 600px) {
  body.home-page .header .logo:has(img.exp) {
    order: 1;
    display: flex;
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    margin: 0;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  body.home-page .header .logo:has(img.exp) img.exp {
    display: block;
    margin-inline: auto;
  }
}


/* ═══════════════════════════════════════════════════════════════════════
   HEADER Y FOOTER UNIFICADOS EN TODAS LAS VISTAS
   Versión: 2026-08-04 / integración 10
   - Un solo logo de Expreso en el encabezado.
   - Logo del 21 aniversario integrado en el pie de página.
   - Centrado del logo principal en dispositivos móviles.
   ═══════════════════════════════════════════════════════════════════════ */

/* Protección ante copias antiguas del marcado. */
.header img.aniv { display: none !important; }

.footer,
.footer-top,
.footer-bottom {
  background: #003b2b;
}

.footer-anniversary {
  display: block;
  width: 128px;
  height: auto;
  max-height: none;
  margin: 0 0 18px;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: contain;
}

@media (max-width: 600px) {
  body .header .logo {
    order: 1;
    display: flex;
    flex: 1 1 100%;
    width: 100%;
    max-width: 100%;
    margin: 0 !important;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  body .header .logo img.exp {
    display: block;
    width: auto !important;
    height: 95px !important;
    max-width: min(90vw, 280px) !important;
    margin-inline: auto;
    object-fit: contain;
  }

  body .header .search {
    order: 3;
    flex: 1 1 100%;
    max-width: none;
  }

  body .header .header-actions {
    order: 4;
    flex: 1 1 100%;
    margin-left: 0;
  }

  .footer-anniversary { width: 110px; }
}

/* ═══════════════════════════════════════════════════════════════════════
   FOOTER EDITORIAL BLANCO Y NEGRO · TODAS LAS VISTAS
   Versión: 2026-08-04 / integración 11
   - Fondo blanco en el cuerpo principal del pie.
   - Tipografía, divisores y controles en negro.
   - Franja legal inferior negra.
   - Sin referencias históricas no verificadas.
   ═══════════════════════════════════════════════════════════════════════ */
body .footer {
  background: #fff;
  color: #111;
  border-top: 4px solid #111;
}

body .footer-top {
  background: #fff;
  padding: 42px 0 30px;
  border-bottom: 1px solid #111;
}

body .footer-grid {
  align-items: start;
  gap: 34px;
}

body .footer .logo-mark {
  color: #111;
}

body .footer-about {
  max-width: 330px;
  color: #242424;
  font-size: 13px;
  line-height: 1.65;
}

body .footer-contact {
  color: #4b4b4b;
  font-size: 11.5px;
}

body .footer-social {
  gap: 8px;
  margin-top: 16px;
}

body .footer-social a {
  width: 32px;
  height: 32px;
  border: 1px solid #111;
  border-radius: 0;
  background: #111;
  color: #fff;
  font-weight: 700;
  box-shadow: none;
}

body .footer-social a:hover,
body .footer-social a:focus-visible {
  background: #fff;
  color: #111;
  transform: translateY(-2px);
  outline: 2px solid #111;
  outline-offset: 2px;
}

body .footer-col h5 {
  color: #111;
  margin-bottom: 14px;
  padding-bottom: 9px;
  border-bottom: 2px solid #111;
  font-size: 12px;
  letter-spacing: .08em;
}

body .footer-col li {
  margin-bottom: 8px;
}

body .footer-col li a {
  color: #242424;
  font-size: 12.5px;
  line-height: 1.35;
}

body .footer-col li a:hover,
body .footer-col li a:focus-visible {
  color: #000;
  padding-left: 4px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

body .footer-anniversary {
  width: 126px;
  margin: 0 0 18px;
  padding: 0;
  background: transparent;
  filter: none;
}

body .footer-bottom {
  background: #111;
  color: #fff;
  border: 0;
}

body .footer-bottom .wrap {
  padding-top: 15px;
  padding-bottom: 15px;
}

body .footer-bottom p,
body .footer-legal a {
  color: rgba(255,255,255,.78);
}

body .footer-legal a:hover,
body .footer-legal a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 980px) {
  body .footer-grid {
    grid-template-columns: 1.35fr 1fr 1fr;
  }

  body .footer-brand {
    grid-column: 1 / -1;
    padding-bottom: 22px;
    border-bottom: 1px solid #cfcfcf;
  }
}

@media (max-width: 700px) {
  body .footer-top {
    padding: 32px 0 22px;
  }

  body .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px 20px;
  }

  body .footer-brand {
    grid-column: 1 / -1;
  }

  body .footer-anniversary {
    width: 110px;
  }

  body .footer-bottom .wrap {
    align-items: flex-start;
  }
}

@media (max-width: 480px) {
  body .footer-grid {
    grid-template-columns: 1fr;
  }

  body .footer-brand {
    grid-column: auto;
  }

  body .footer-col {
    padding-bottom: 12px;
    border-bottom: 1px solid #d7d7d7;
  }

  body .footer-legal {
    flex-wrap: wrap;
    gap: 8px 14px;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   CORRECCIÓN FINAL DEL FOOTER BLANCO · TODAS LAS VISTAS
   Versión: 2026-08-04 / integración 12
   - Neutraliza reglas verdes anteriores, incluida body.home-page.
   - Conserva la franja legal inferior en negro.
   - Elimina visualmente cualquier logo textual heredado.
   ═══════════════════════════════════════════════════════════════════════ */
body .footer,
body.home-page .footer {
  background: #fff !important;
  color: #111 !important;
  border-top: 4px solid #111;
}

body .footer-top,
body.home-page .footer-top {
  background: #fff !important;
  color: #111 !important;
  border-bottom: 1px solid #111;
}

body .footer-bottom,
body.home-page .footer-bottom {
  background: #111 !important;
  color: #fff !important;
}

body .footer .logo-mark,
body.home-page .footer .logo-mark {
  display: none !important;
}

body .footer-anniversary,
body.home-page .footer-anniversary {
  display: block;
  width: 126px;
  height: auto;
  margin: 0 0 20px;
  padding: 0;
  background: transparent !important;
  border: 0;
  box-shadow: none;
  filter: none;
  object-fit: contain;
}

body .footer-about,
body.home-page .footer-about,
body .footer-col h5,
body.home-page .footer-col h5,
body .footer-col li a,
body.home-page .footer-col li a {
  color: #111 !important;
}

body .footer-contact,
body.home-page .footer-contact {
  color: #4b4b4b !important;
}

body .footer-bottom p,
body.home-page .footer-bottom p,
body .footer-legal a,
body.home-page .footer-legal a {
  color: rgba(255,255,255,.82) !important;
}

@media (max-width: 700px) {
  body .footer-anniversary,
  body.home-page .footer-anniversary {
    width: 110px;
  }
}


/* ═══════════════════════════════════════════════════════════════════════
   FOOTER · AJUSTE DE ESPACIO PARA LOGO DE ANIVERSARIO
   Mantiene el logo grande, pero reorganiza la primera columna para
   aprovechar mejor el espacio sin desalinear las demás columnas.
   Alcance: todas las vistas.
   ═══════════════════════════════════════════════════════════════════════ */
body .footer-grid,
body.home-page .footer-grid {
  grid-template-columns: minmax(460px, 1.55fr) repeat(4, minmax(140px, 1fr)) !important;
  gap: 30px 28px !important;
  align-items: start !important;
}

body .footer-brand,
body.home-page .footer-brand {
  display: grid !important;
  grid-template-columns: minmax(210px, 260px) minmax(180px, 1fr);
  grid-template-areas:
    "anniv about"
    "anniv contact"
    "anniv social";
  column-gap: 24px;
  row-gap: 12px;
  align-items: start;
}

body .footer-anniversary,
body.home-page .footer-anniversary {
  grid-area: anniv;
  width: clamp(220px, 22vw, 280px) !important;
  max-width: 280px !important;
  margin: 0 !important;
  justify-self: start;
  align-self: start;
}

body .footer-about,
body.home-page .footer-about {
  grid-area: about;
  margin: 8px 0 0 !important;
}

body .footer-contact,
body.home-page .footer-contact {
  grid-area: contact;
  margin: 0 !important;
}

body .footer-social,
body.home-page .footer-social {
  grid-area: social;
  margin-top: 2px !important;
  flex-wrap: wrap;
}

@media (max-width: 1240px) {
  body .footer-grid,
  body.home-page .footer-grid {
    grid-template-columns: repeat(3, minmax(180px, 1fr)) !important;
  }

  body .footer-brand,
  body.home-page .footer-brand {
    grid-column: 1 / -1;
    grid-template-columns: minmax(210px, 260px) 1fr;
  }
}

@media (max-width: 900px) {
  body .footer-grid,
  body.home-page .footer-grid {
    grid-template-columns: repeat(2, minmax(180px, 1fr)) !important;
  }

  body .footer-brand,
  body.home-page .footer-brand {
    grid-column: 1 / -1;
    grid-template-columns: minmax(190px, 240px) 1fr;
  }
}

@media (max-width: 640px) {
  body .footer-grid,
  body.home-page .footer-grid {
    grid-template-columns: 1fr !important;
  }

  body .footer-brand,
  body.home-page .footer-brand {
    grid-template-columns: 1fr;
    grid-template-areas:
      "anniv"
      "about"
      "contact"
      "social";
    row-gap: 14px;
    justify-items: center;
    text-align: center;
  }

  body .footer-anniversary,
  body.home-page .footer-anniversary {
    width: min(78vw, 260px) !important;
    justify-self: center;
  }

  body .footer-about,
  body.home-page .footer-about,
  body .footer-contact,
  body.home-page .footer-contact {
    text-align: center;
  }

  body .footer-social,
  body.home-page .footer-social {
    justify-content: center;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   PORTADA · .menuf SIN ALTERAR LOS CENTROS DEL ABANICO
   El enlace conserva las medidas y coordenadas radiales aprobadas.
   .menuf crece al 160% dentro de un soporte centrado al 62.5%; el diámetro
   visual final coincide con el botón original y no desplaza el arco.
   ═══════════════════════════════════════════════════════════════════════ */
body.home-page .emedia-dock__item {
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

body.home-page .emedia-dock__item .menuf-anchor {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 62.5%;
  height: 62.5%;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

body.home-page .emedia-dock__item .menuf {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 160%;
  height: 160%;
  border-radius: 50%;
  background-color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: -12px 12px 35px #0000004d;
  justify-content: start;
  padding-left: .1rem;
  box-sizing: border-box;
  overflow: hidden;
  transform: translate(-50%, -50%);
  transition: box-shadow .2s ease, transform .2s ease;
  pointer-events: none;
}

body.home-page .emedia-dock__item .menuf img {
  display: block;
  width: 76%;
  height: 76%;
  margin-inline: auto;
  object-fit: contain;
  transform: none;
  filter: none;
}

body.home-page .emedia-dock__item:hover,
body.home-page .emedia-dock__item:focus-visible {
  box-shadow: none;
  outline: 0;
}

body.home-page .emedia-dock__item:hover .menuf,
body.home-page .emedia-dock__item:focus-visible .menuf {
  box-shadow: -14px 14px 38px rgba(0,0,0,.32),
              0 0 0 2px rgba(37,164,87,.12);
  transform: translate(-50%, -50%) scale(1.025);
}

body.home-page .emedia-dock__item:hover .menuf img,
body.home-page .emedia-dock__item:focus-visible .menuf img {
  transform: none;
  filter: brightness(1.02);
}

@media (max-width: 767px) {
  body.home-page .emedia-dock__item .menuf {
    box-shadow: -8px 9px 24px rgba(0,0,0,.25);
  }
}

@media (prefers-reduced-motion: reduce) {
  body.home-page .emedia-dock__item .menuf {
    transition: none !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   eMEDIA · RÉPLICA GEOMÉTRICA DE LA REFERENCIA APROBADA
   Base visual: 199 × 459 px. No modifica la lógica del componente.
   ═══════════════════════════════════════════════════════════════════════ */
html body.home-page .emedia-dock {
  width: 199px !important;
  height: 459px !important;
  transform: scale(1) !important;
  transform-origin: top right !important;
}

html body.home-page .emedia-dock__toggle {
  top: 59px !important;
  right: 0 !important;
  width: 100px !important;
  height: 340px !important;
}

html body.home-page .emedia-dock__logo {
  top: 50% !important;
  right: 10px !important;
  width: 64px !important;
  height: 64px !important;
}

html body.home-page .emedia-dock__item {
  width: 68px !important;
  height: 68px !important;
}

html body.home-page .emedia-dock__item:nth-child(1) { top: 9px !important;   right: 21px !important; }
html body.home-page .emedia-dock__item:nth-child(2) { top: 81px !important;  right: 57px !important; }
html body.home-page .emedia-dock__item:nth-child(3) { top: 153px !important; right: 81px !important; }
html body.home-page .emedia-dock__item:nth-child(4) { top: 225px !important; right: 85px !important; }
html body.home-page .emedia-dock__item:nth-child(5) { top: 297px !important; right: 64px !important; }
html body.home-page .emedia-dock__item:nth-child(6) { top: 369px !important; right: 25px !important; }

html body.home-page .emedia-dock__item .menuf-anchor {
  width: 62.5% !important;
  height: 62.5% !important;
}

html body.home-page .emedia-dock__item .menuf {
  width: 160% !important;
  height: 160% !important;
  box-shadow: -12px 12px 35px #0000004d !important;
}

/* La misma silueta se escala completa para no deformar el arco. */
@media (max-width: 1366px), (max-height: 900px) {
  html body.home-page .emedia-dock {
    transform: scale(.88) !important;
  }
}

@media (max-width: 900px) {
  html body.home-page .emedia-dock {
    transform: scale(.80) !important;
  }
}

@media (max-width: 600px) {
  html body.home-page .emedia-dock {
    transform: scale(.72) !important;
  }
}

@media (max-width: 390px) {
  html body.home-page .emedia-dock {
    transform: scale(.66) !important;
  }
}


/* ═══════════════════════════════════════════════════════════════════════
   eMEDIA · LOGOTIPOS MÁS GRANDES DENTRO DE LOS CÍRCULOS
   No modifica diámetro, geometría, posición ni animación del abanico.
   ═══════════════════════════════════════════════════════════════════════ */
html body.home-page .emedia-dock__item .menuf img {
  width: 91% !important;
  height: 91% !important;
  max-width: none !important;
  max-height: none !important;
  object-fit: contain !important;
}

html body.home-page .emedia-dock__item:nth-child(1) .menuf img { width: 93% !important; height: 93% !important; }
html body.home-page .emedia-dock__item:nth-child(2) .menuf img { width: 90% !important; height: 90% !important; }
html body.home-page .emedia-dock__item:nth-child(3) .menuf img { width: 96% !important; height: 96% !important; }
html body.home-page .emedia-dock__item:nth-child(4) .menuf img { width: 92% !important; height: 92% !important; }
html body.home-page .emedia-dock__item:nth-child(5) .menuf img { width: 96% !important; height: 96% !important; }
html body.home-page .emedia-dock__item:nth-child(6) .menuf img { width: 95% !important; height: 95% !important; }

/* ═══════════════════════════════════════════════════════════════════════
   DIRECTORIO · VISTA INSTITUCIONAL
   ═══════════════════════════════════════════════════════════════════════ */
.directory-main {
  background: #f5f6f5;
  padding: clamp(34px, 5vw, 72px) 0 clamp(54px, 7vw, 96px);
}

.directory-hero {
  max-width: 850px;
  margin-bottom: clamp(30px, 4vw, 52px);
}

.directory-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--v-600, #087c45);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.directory-kicker::before {
  content: '';
  width: 28px;
  height: 3px;
  border-radius: 10px;
  background: currentColor;
}

.directory-hero h1 {
  margin: 0 0 12px;
  color: #111;
  font-size: clamp(40px, 6vw, 72px);
  line-height: .98;
  letter-spacing: -.04em;
}

.directory-hero p {
  max-width: 680px;
  margin: 0;
  color: #555;
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.55;
}

.directory-section {
  margin-top: clamp(34px, 5vw, 64px);
}

.directory-section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 24px;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid #111;
}

.directory-section-head h2 {
  margin: 0;
  color: #111;
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1.1;
}

.directory-section-head p {
  max-width: 480px;
  margin: 0;
  color: #666;
  font-size: 14px;
  line-height: 1.5;
  text-align: right;
}

.directory-people {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.directory-person,
.directory-contact-card,
.directory-office {
  background: #fff;
  border: 1px solid #dedede;
  border-radius: 14px;
  box-shadow: 0 8px 24px rgba(0,0,0,.045);
}

.directory-person {
  position: relative;
  min-height: 190px;
  padding: 26px;
  overflow: hidden;
}

.directory-person::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--v-500, #0a9b50);
}

.directory-person h3,
.directory-contact-card h3,
.directory-office h3 {
  margin: 0;
  color: #111;
}

.directory-person h3 {
  max-width: 500px;
  font-size: clamp(20px, 2.2vw, 27px);
  line-height: 1.16;
}

.directory-role {
  min-height: 42px;
  margin: 10px 0 20px;
  color: #555;
  font-size: 14px;
  font-weight: 650;
  line-height: 1.45;
}

.directory-email,
.directory-contact-card a,
.directory-phone {
  color: #087c45;
  font-weight: 750;
  overflow-wrap: anywhere;
  text-decoration: none;
}

.directory-email {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px solid #e5e5e5;
}

.directory-email:hover,
.directory-contact-card a:hover,
.directory-phone:hover {
  color: #111;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.directory-contact-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.directory-contact-card {
  display: flex;
  gap: 16px;
  min-height: 150px;
  padding: 22px;
}

.directory-contact-card--featured {
  color: #fff;
  background: #111;
  border-color: #111;
}

.directory-contact-card--featured h3,
.directory-contact-card--featured a {
  color: #fff;
}

.directory-icon {
  display: grid;
  place-items: center;
  flex: 0 0 44px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #e7f4eb;
  color: #087c45;
  font-size: 18px;
}

.directory-contact-card--featured .directory-icon {
  background: #fff;
}

.directory-contact-card h3 {
  margin-bottom: 9px;
  font-size: 19px;
}

.directory-contact-card p {
  margin: 4px 0;
}

.directory-offices {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.directory-office {
  padding: 24px;
}

.directory-office--main {
  grid-column: span 3;
  display: grid;
  grid-template-columns: minmax(220px, .75fr) minmax(320px, 1.4fr) auto;
  gap: 20px 32px;
  align-items: center;
  background: #111;
  border-color: #111;
}

.directory-office--main h3,
.directory-office--main address,
.directory-office--main .directory-phone {
  color: #fff;
}

.directory-office-label {
  display: block;
  margin-bottom: 8px;
  color: #087c45;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.directory-office--main .directory-office-label {
  grid-column: 1;
  margin-bottom: -12px;
  color: #6fe096;
}

.directory-office h3 {
  margin-bottom: 12px;
  font-size: 21px;
  line-height: 1.2;
}

.directory-office--main h3 {
  grid-column: 1;
}

.directory-office address {
  margin: 0 0 18px;
  color: #555;
  font-size: 14px;
  font-style: normal;
  line-height: 1.65;
}

.directory-office--main address {
  grid-column: 2;
  grid-row: 1 / span 2;
  margin: 0;
}

.directory-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.directory-office--main .directory-phone {
  grid-column: 3;
  grid-row: 1 / span 2;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.35);
  border-radius: 999px;
  white-space: nowrap;
}

@media (max-width: 980px) {
  .directory-contact-grid,
  .directory-offices {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .directory-office--main {
    grid-column: span 2;
    grid-template-columns: 1fr 1.35fr;
  }

  .directory-office--main .directory-phone {
    grid-column: 1 / -1;
    grid-row: auto;
    justify-self: start;
  }
}

@media (max-width: 700px) {
  .directory-main {
    padding-top: 32px;
  }

  .directory-section-head {
    display: block;
  }

  .directory-section-head p {
    margin-top: 8px;
    text-align: left;
  }

  .directory-people,
  .directory-contact-grid,
  .directory-offices {
    grid-template-columns: 1fr;
  }

  .directory-office--main {
    grid-column: auto;
    display: block;
  }

  .directory-office--main .directory-office-label {
    margin-bottom: 8px;
  }

  .directory-office--main address {
    margin: 0 0 18px;
  }

  .directory-person {
    min-height: auto;
  }
}


/* ═══════════════════════════════════════════════════════════════════════
   PORTADA · AJUSTES 2026-08-11 / integración 2
   - Footer: cinco redes en una sola línea.
   - Instagram real: 4 columnas en escritorio, 2 en tablet y 1 en móvil, sin recorte.
   ═══════════════════════════════════════════════════════════════════════ */

body .footer-social,
body.home-page .footer-social {
  display: flex !important;
  flex-flow: row nowrap !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  width: max-content;
  max-width: 100%;
  gap: 7px !important;
}

body .footer-social a,
body.home-page .footer-social a {
  flex: 0 0 30px !important;
  width: 30px !important;
  height: 30px !important;
}

body.home-page .social--instagram .social-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
}

body.home-page .social--instagram .social-h {
  margin-bottom: 0;
}

body.home-page .social-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid var(--linea);
  border-radius: 999px;
  background: var(--blanco);
  color: var(--v-700);
  font-size: 12px;
  font-weight: 800;
  box-shadow: var(--s-1);
  transition: transform var(--spring), border-color var(--t), color var(--t), box-shadow var(--t);
}

body.home-page .social-profile-link:hover {
  transform: translateY(-2px);
  border-color: var(--v-500);
  color: var(--v-500);
  box-shadow: var(--s-2);
}

body.home-page .social-grid.social-grid--instagram {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  align-items: start !important;
  gap: 18px !important;
}

body.home-page .social-card.social-card--instagram {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: auto !important;
  padding: 0 !important;
  overflow: visible !important;
  border: 1px solid var(--linea) !important;
  border-radius: 12px !important;
  background: #fff !important;
  box-shadow: var(--s-1) !important;
}

body.home-page .social-card.social-card--instagram::before,
body.home-page .social-card.social-card--instagram::after {
  content: none !important;
  display: none !important;
}

body.home-page .social-card.social-card--instagram iframe {
  display: block !important;
  width: 100% !important;
  height: 690px !important;
  min-height: 690px !important;
  max-height: none !important;
  border: 0 !important;
  border-radius: 12px !important;
  background: #fff !important;
}

@media (max-width: 760px) {
  body.home-page .social--instagram .social-head {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  body.home-page .social-grid.social-grid--instagram {
    grid-template-columns: 1fr !important;
  }

  body.home-page .social-card.social-card--instagram iframe {
    height: 920px !important;
    min-height: 920px !important;
  }
}

@media (max-width: 420px) {
  body.home-page .social-card.social-card--instagram iframe {
    height: 900px !important;
    min-height: 900px !important;
  }

  body .footer-social,
  body.home-page .footer-social {
    gap: 5px !important;
  }

  body .footer-social a,
  body.home-page .footer-social a {
    flex-basis: 28px !important;
    width: 28px !important;
    height: 28px !important;
  }
}

/* Cuatro publicaciones alineadas con la misma altura visual en desktop */
@media (min-width: 1101px) {
  body.home-page .social-grid.social-grid--instagram {
    gap: 14px !important;
  }

  body.home-page .social-card.social-card--instagram {
    height: 690px !important;
    overflow: hidden !important;
  }

  body.home-page .social-card.social-card--instagram iframe {
    height: 690px !important;
    min-height: 690px !important;
  }
}

/* ═══════════════════════════════════════════════════════════════════════
   EXPRESO · PUBLICIDAD SIMULADA · 2026-08-12
   SOLO VISUAL: sin GAM, sin GPT y sin JavaScript adicional.
   ═══════════════════════════════════════════════════════════════════════ */
.mock-ad {
  width:100%;
  display:block;
  margin:18px auto;
  text-align:center;
  line-height:0;
  min-width:0;
}
.mock-ad picture { display:block; width:100%; }
.mock-ad img {
  display:block;
  width:100%;
  height:auto;
  margin:0 auto;
  border-radius:10px;
  box-shadow:0 7px 22px rgba(0,46,30,.08);
}
.mock-ad--billboard { width:min(970px, calc(100% - 32px)); margin-top:18px; margin-bottom:22px; }
.mock-ad--leaderboard,
.mock-ad--bottom { width:min(970px, calc(100% - 32px)); margin-top:26px; margin-bottom:26px; }
.mock-ad--rectangle { width:min(300px,100%); margin:0 auto var(--gap,16px); }
.mock-ad--halfpage { width:min(300px,100%); margin:0 auto var(--gap,16px); }
.mock-ad--incontent { width:min(728px,100%); margin:30px auto; }
.mock-ad--mobile { display:none; width:min(320px,calc(100% - 20px)); }

/* El banner dentro del cuerpo conserva la clase rv de la nota, pero no altera texto ni jerarquía editorial. */
main.article-page .art-body > .mock-ad--incontent { margin-top:28px; margin-bottom:28px; }
main.article-page .art-side .mock-ad--rectangle,
body.section-page .section-sidebar .mock-ad--rectangle,
body.home-page .col-right .mock-ad--rectangle { flex:0 0 auto; }

@media (max-width:900px) {
  .mock-ad--billboard, .mock-ad--leaderboard, .mock-ad--bottom { width:min(760px,calc(100% - 24px)); }
}
@media (max-width:700px) {
  .mock-ad { margin-top:14px; margin-bottom:14px; }
  .mock-ad--billboard, .mock-ad--leaderboard, .mock-ad--bottom, .mock-ad--incontent { width:calc(100% - 20px); }
  .mock-ad--mobile { display:block; }
  body.home-page .col-right .mock-ad--rectangle,
  body.section-page .section-sidebar .mock-ad--rectangle,
  main.article-page .art-side .mock-ad--rectangle,
  body.home-page .col-right .mock-ad--halfpage,
  body.section-page .section-sidebar .mock-ad--halfpage,
  main.article-page .art-side .mock-ad--halfpage { display:none; }
  .mock-ad img { border-radius:8px; }
}
@media print { .mock-ad { display:none !important; } }


/* ═══════════════════════════════════════════════════════════════════════
   EXPRESO · REDES SOCIALES · MOSAICO EDITORIAL ESTÁTICO
   2026-08-12
   Sin embeds, sin UI de Instagram y sin integración automática.
   ═══════════════════════════════════════════════════════════════════════ */
body.home-page .social--media-grid {
  background: var(--g-100);
}

body.home-page .social--media-grid .wrap {
  padding-top: 28px;
  padding-bottom: 30px;
}

body.home-page .social-head--clean {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

body.home-page .social-media-grid {
  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 12px !important;
  width: 100%;
}

body.home-page .social-media-item {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 4 / 5;
  min-width: 0;
  overflow: hidden;
  border-radius: 10px;
  background: #ddd;
  box-shadow: none;
  line-height: 0;
  isolation: isolate;
}

body.home-page .social-media-item::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background var(--t, .2s ease);
  pointer-events: none;
}

body.home-page .social-media-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.001);
  transition: transform .32s cubic-bezier(.2,.7,.2,1);
}

@media (hover: hover) {
  body.home-page .social-media-item:hover img {
    transform: scale(1.045);
  }
  body.home-page .social-media-item:hover::after {
    background: rgba(0, 0, 0, .08);
  }
}

body.home-page .social-media-item:focus-visible {
  outline: 3px solid var(--green, #009641);
  outline-offset: 3px;
}

/* En tablet y móvil se comporta como el mosaico compacto de una red social. */
@media (max-width: 760px) {
  body.home-page .social--media-grid .wrap {
    padding-top: 22px;
    padding-bottom: 24px;
  }
  body.home-page .social-head--clean {
    margin-bottom: 10px;
  }
  body.home-page .social-media-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 6px !important;
  }
  body.home-page .social-media-item {
    border-radius: 3px;
  }
}


/* Banner flotante inferior */
.floating-ad {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1200;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  pointer-events: none;
  padding: 0 12px 10px;
}
.floating-ad__inner {
  position: relative;
  width: min(970px, calc(100% - 24px));
  pointer-events: auto;
}
.floating-ad__inner img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 -8px 24px rgba(0,0,0,.18);
}
.floating-ad__close {
  position: absolute;
  right: -10px;
  top: -10px;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 50%;
  background: rgba(255,255,255,.96);
  color: #8a8a8a;
  font-size: 26px;
  line-height: 1;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,.16);
}
@media (max-width: 700px) {
  .floating-ad { padding: 0 8px 8px; }
  .floating-ad__inner { width: calc(100% - 16px); }
  .floating-ad__inner img { border-radius: 8px 8px 0 0; }
  .floating-ad__close {
    right: -4px;
    top: -8px;
    width: 30px;
    height: 30px;
    font-size: 22px;
  }
}
@media print {
  .floating-ad { display:none !important; }
}


/* ═══════════════════════════════════════════════════════════════════════
   EXPRESO · REDES SOCIALES DESTACADAS · 2026-08-13
   Carrusel editorial horizontal, tarjetas 4:5, sin interfaz de Instagram.
   ═══════════════════════════════════════════════════════════════════════ */
body.home-page .social-featured {
  background:#fff;
  border-top:1px solid var(--linea);
  border-bottom:1px solid var(--linea);
  padding:30px 0 36px;
}
body.home-page .social-featured__head {
  display:flex; align-items:center; justify-content:space-between; gap:18px;
  padding-top:20px; margin-bottom:22px; border-top:2px solid #d6d6d6;
}
body.home-page .social-featured__head h2 {
  margin:0; color:var(--ink); font-size:clamp(25px,2vw,32px); line-height:1;
  font-weight:850; letter-spacing:-.035em; text-transform:uppercase;
}
body.home-page .social-featured__nav { display:flex; gap:10px; flex:0 0 auto; }
body.home-page .social-featured__nav a {
  width:40px; height:40px; display:grid; place-items:center; border:1px solid #d9d9d9;
  border-radius:50%; background:#fff; color:#777; text-decoration:none; font-size:31px;
  line-height:1; transition:border-color var(--t),color var(--t),transform var(--t);
}
body.home-page .social-featured__nav a:hover { color:var(--green); border-color:var(--green); transform:translateY(-1px); }
body.home-page .social-featured__track {
  display:flex; gap:16px; width:100%; overflow-x:auto; overflow-y:hidden;
  scroll-snap-type:x mandatory; scroll-behavior:smooth; overscroll-behavior-inline:contain;
  scrollbar-width:none; padding:0 2px 7px;
}
body.home-page .social-featured__track::-webkit-scrollbar { display:none; }
body.home-page .social-featured__card {
  flex:0 0 clamp(220px,18.6vw,236px); min-width:0; scroll-snap-align:start;
  overflow:hidden; border:1px solid #d8d8d8; border-radius:10px; background:#fff;
  color:inherit; text-decoration:none; transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
body.home-page .social-featured__card:hover {
  transform:translateY(-3px); border-color:rgba(0,150,65,.55); box-shadow:0 10px 26px rgba(0,0,0,.09);
}
body.home-page .social-featured__media {
  position:relative; width:100%; aspect-ratio:4/5; overflow:hidden; margin:0; background:#111;
}
body.home-page .social-featured__media::after {
  content:""; position:absolute; inset:30% 0 0;
  background:linear-gradient(to bottom,rgba(0,0,0,0),rgba(0,0,0,.80)); pointer-events:none;
}
body.home-page .social-featured__media img {
  width:100%; height:100%; display:block; object-fit:cover; object-position:center;
  transition:transform .42s cubic-bezier(.2,.7,.2,1);
}
body.home-page .social-featured__card:hover .social-featured__media img { transform:scale(1.035); }
body.home-page .social-featured__brand {
  position:absolute; z-index:2; top:12px; right:12px; color:#fff; font-size:10px;
  font-weight:850; letter-spacing:.09em; text-shadow:0 1px 4px rgba(0,0,0,.75);
}
body.home-page .social-featured__media figcaption {
  position:absolute; z-index:2; left:14px; right:14px; bottom:16px; color:#fff;
  font-size:clamp(17px,1.3vw,20px); line-height:1.17; font-weight:850; letter-spacing:-.015em;
  text-transform:uppercase; text-shadow:0 2px 7px rgba(0,0,0,.65);
}
body.home-page .social-featured__body { min-height:126px; padding:12px 13px 14px; }
body.home-page .social-featured__body > span { display:block; color:var(--g-500); font-size:12px; margin-bottom:7px; }
body.home-page .social-featured__body h3 {
  margin:0; color:var(--ink); font-size:16px; line-height:1.28; font-weight:800; letter-spacing:-.015em;
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:3; overflow:hidden;
}
body.home-page .social-featured__body small { display:block; margin-top:9px; color:var(--g-400); font-size:11px; }

/* Dos anuncios móviles 320x100 exactamente antes del slider del hero. */
.mobile-prehero-ads { display:none; }
@media (max-width:700px) {
  body.home-page .mock-ad--desktop-top { display:none !important; }
  body.home-page .mobile-prehero-ads {
    display:grid; grid-template-columns:1fr; gap:10px; width:100%; margin:0 0 14px;
  }
  body.home-page .mock-ad--mobile-prehero {
    display:block; width:min(320px,100%); margin:0 auto; line-height:0;
  }
  body.home-page .mock-ad--mobile-prehero img {
    display:block; width:100%; height:auto; aspect-ratio:320/100; object-fit:cover; border-radius:8px;
  }
  body.home-page .social-featured { padding:22px 0 28px; }
  body.home-page .social-featured__head { padding-top:16px; margin-bottom:16px; }
  body.home-page .social-featured__head h2 { font-size:24px; }
  body.home-page .social-featured__nav a { width:34px; height:34px; font-size:27px; }
  body.home-page .social-featured__track { gap:12px; padding-right:21vw; }
  body.home-page .social-featured__card { flex-basis:min(72vw,270px); }
}

/* Banner flotante inferior 728x90: solo desktop/tablet. Cierre 100% CSS. */
.floating-ad728 {
  position:fixed; left:50%; bottom:0; z-index:1600; width:728px; max-width:calc(100vw - 28px);
  transform:translateX(-50%); margin:0; padding:0; pointer-events:none;
}
.floating-ad728__toggle { position:absolute; opacity:0; pointer-events:none; }
.floating-ad728__panel { position:relative; width:100%; pointer-events:auto; filter:drop-shadow(0 -7px 16px rgba(0,0,0,.20)); }
.floating-ad728__panel img { display:block; width:100%; height:auto; aspect-ratio:728/90; object-fit:cover; border-radius:8px 8px 0 0; }
.floating-ad728__close {
  position:absolute; right:-12px; top:-15px; z-index:2; width:32px; height:32px; display:grid; place-items:center;
  border:1px solid #d8d8d8; border-radius:50%; background:#fff; color:#9a9a9a; font-size:24px;
  font-family:Arial,sans-serif; line-height:1; font-weight:700; cursor:pointer; box-shadow:0 3px 10px rgba(0,0,0,.14);
}
.floating-ad728__toggle:checked + .floating-ad728__panel { display:none; }
@media (max-width:700px) { .floating-ad728 { display:none !important; } }
@media print { .floating-ad728,.mobile-prehero-ads { display:none !important; } }

/* ═══════════════════════════════════════════════════════════════════════
   NOTA · COLUMNA DERECHA = INDEX + EMBEDS NATIVOS · 2026-08-13
   ═══════════════════════════════════════════════════════════════════════ */

/* La columna de nota reutiliza exactamente las clases del index. */
main.article-page .art-side.col-right {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
  min-width: 0;
  width: 100%;
}
main.article-page .art-side.col-right > * { width: 100%; }
main.article-page .art-side.col-right .card,
main.article-page .art-side.col-right .weather {
  border-radius: var(--r);
}
main.article-page .art-side.col-right #cardMercado,
main.article-page .art-side.col-right #pollCard,
main.article-page .art-side.col-right #cardEdimp,
main.article-page .art-side.col-right #cardGaleria {
  display: block;
}
main.article-page .art-side.col-right .mock-ad--halfpage {
  width: min(300px, 100%);
  align-self: center;
}
main.article-page .art-side.col-right .gallery-grid {
  grid-template-columns: 1fr 1fr;
  gap: 3px;
}
main.article-page .art-side.col-right .gal-item {
  width: 100%;
  border: 0;
  padding: 0;
  background: transparent;
}

/* Post social: el usuario ve una tarjeta editorial, no el iframe. */
main.article-page .article-native-social {
  width: min(660px, 100%);
  margin: 30px auto;
  overflow: hidden;
  border: 1px solid #e2e6e3;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 38px rgba(0,46,30,.08);
}
main.article-page details.article-native-social > summary,
main.article-page details.article-native-video > summary {
  list-style: none;
  cursor: pointer;
}
main.article-page details.article-native-social > summary::-webkit-details-marker,
main.article-page details.article-native-video > summary::-webkit-details-marker { display: none; }
main.article-page .article-native-social__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 16px 11px;
}
main.article-page .article-native-social__publisher {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}
main.article-page .article-native-social__avatar {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  flex: 0 0 36px;
  border-radius: 50%;
  background: linear-gradient(135deg,var(--v-700),var(--v-400));
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: -.03em;
}
main.article-page .article-native-social__publisher strong {
  display: block;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.2;
}
main.article-page .article-native-social__publisher small {
  display: block;
  margin-top: 2px;
  color: var(--g-400);
  font-size: 10px;
}
main.article-page .article-native-social__network {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  flex: 0 0 auto;
  padding: 6px 9px;
  border-radius: 999px;
  background: #eef4ff;
  color: #1877f2;
  font-size: 10px;
  font-weight: 800;
}
main.article-page .article-native-social__network--ig {
  background: #fff1f6;
  color: #c13584;
}
main.article-page .article-native-social__text {
  margin: 0 !important;
  padding: 0 16px 13px;
  color: var(--g-700);
  font-size: 14px !important;
  line-height: 1.45 !important;
}
main.article-page .article-native-social__media {
  position: relative;
  margin: 0;
  overflow: hidden;
  background: var(--g-100);
  border-top: 1px solid #eef0ef;
  border-bottom: 1px solid #eef0ef;
}
main.article-page .article-native-social__media img {
  width: 100%;
  max-height: 680px;
  display: block;
  object-fit: contain;
  background: #f4f5f4;
}
main.article-page .article-native-social__media--portrait {
  aspect-ratio: 4 / 5;
  background: #101713;
}
main.article-page .article-native-social__media--portrait img {
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  filter: brightness(.92);
}
main.article-page .article-native-social__media--portrait::after {
  content: '';
  position: absolute;
  inset: 50% 0 0;
  background: linear-gradient(to bottom,transparent,rgba(0,0,0,.44));
  pointer-events: none;
}
main.article-page .article-native-social__open {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 9px 13px;
  border: 1px solid rgba(255,255,255,.42);
  border-radius: 999px;
  background: rgba(0,0,0,.52);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
main.article-page .article-native-social__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 11px 15px 13px;
  color: var(--g-500);
  font-size: 11px;
}
main.article-page .article-native-social__footer a {
  color: var(--v-700);
  font-weight: 800;
}
main.article-page .article-native-social__embed {
  padding: 16px;
  background: #f3f5f3;
  border-top: 1px solid #e5e8e5;
}
main.article-page .article-native-social__embed iframe {
  width: 100% !important;
  max-width: 540px !important;
  min-height: 660px;
  display: block;
  margin: 0 auto;
  border: 0 !important;
  border-radius: 12px;
  background: #fff;
}
/* Al abrirse se elimina la portada nativa y queda solo el contenido solicitado. */
main.article-page details.article-native-social[open] > summary { display: none; }

/* YouTube / Dailymotion: fachada editorial EXPRESO hasta que el lector pulsa play. */
main.article-page .article-native-video {
  width: min(820px,100%);
  margin: 34px auto;
  overflow: hidden;
  border-radius: 20px;
  background: #07110c;
  box-shadow: 0 22px 54px rgba(0,24,12,.22);
}
main.article-page .article-native-video__cover {
  position: relative;
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #07110c;
}
main.article-page .article-native-video__cover > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .45s cubic-bezier(.2,.7,.2,1);
}
main.article-page .article-native-video__cover:hover > img { transform: scale(1.025); }
main.article-page .article-native-video__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg,rgba(0,0,0,.18),rgba(0,0,0,.05) 42%,rgba(0,0,0,.78));
}
main.article-page .article-native-video__top {
  position: absolute;
  z-index: 2;
  top: 15px;
  left: 16px;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #fff;
}
main.article-page .article-native-video__top b {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .08em;
}
main.article-page .article-native-video__top em { color: #65d686; font-style: normal; }
main.article-page .article-native-video__top small {
  padding-left: 9px;
  border-left: 1px solid rgba(255,255,255,.35);
  color: rgba(255,255,255,.76);
  font-size: 10px;
}
main.article-page .article-native-video__play {
  position: absolute;
  z-index: 3;
  left: 50%;
  top: 50%;
  width: 72px;
  height: 72px;
  transform: translate(-50%,-50%);
  display: grid;
  place-items: center;
  padding-left: 4px;
  border: 1px solid rgba(255,255,255,.46);
  border-radius: 50%;
  background: rgba(0,46,30,.82);
  backdrop-filter: blur(10px);
  color: #fff;
  font-size: 24px;
  box-shadow: 0 12px 34px rgba(0,0,0,.30);
  transition: transform .2s ease,background .2s ease;
}
main.article-page .article-native-video__cover:hover .article-native-video__play {
  transform: translate(-50%,-50%) scale(1.06);
  background: var(--v-500);
}
main.article-page .article-native-video__caption {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 16px;
  color: #fff;
}
main.article-page .article-native-video__caption small {
  display: block;
  margin-bottom: 4px;
  color: #77df99;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .1em;
}
main.article-page .article-native-video__caption strong {
  display: block;
  max-width: 660px;
  font-size: clamp(17px,2vw,24px);
  line-height: 1.16;
}
main.article-page .article-native-video__caption em {
  display: block;
  margin-top: 5px;
  color: rgba(255,255,255,.72);
  font-size: 10px;
  font-style: normal;
}
main.article-page .article-native-video__player {
  aspect-ratio: 16 / 9;
  background: #000;
}
main.article-page .article-native-video__player iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: 0;
}
main.article-page details.article-native-video[open] > summary { display: none; }

/* Wrapper reutilizable si el CMS entrega un iframe de YouTube/Dailymotion. */
main.article-page .art-body .native-video-embed {
  width: min(820px,100%);
  margin: 34px auto;
  padding: 8px;
  overflow: hidden;
  border-radius: 20px;
  background: #07110c;
  box-shadow: 0 22px 54px rgba(0,24,12,.22);
}
main.article-page .art-body .native-video-embed iframe {
  width: 100% !important;
  aspect-ratio: 16 / 9;
  display: block;
  border: 0 !important;
  border-radius: 13px;
}

@media (max-width: 980px) {
  main.article-page .art-side.col-right {
    position: static;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
}
@media (max-width: 700px) {
  main.article-page .article-native-social,
  main.article-page .article-native-video {
    width: calc(100% + 8px);
    margin-left: -4px;
    border-radius: 14px;
  }
  main.article-page .article-native-social__bar { padding: 12px; }
  main.article-page .article-native-social__text { padding: 0 12px 11px; }
  main.article-page .article-native-social__network { font-size: 0; width: 31px; height: 31px; justify-content: center; padding: 0; }
  main.article-page .article-native-social__network i { font-size: 14px; }
  main.article-page .article-native-social__embed { padding: 8px; }
  main.article-page .article-native-social__embed iframe { min-height: 600px; }
  main.article-page .article-native-video__play { width: 58px; height: 58px; font-size: 20px; }
  main.article-page .article-native-video__caption strong { font-size: 17px; }
  main.article-page .article-native-video__top small { display:none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   NOTA V3 · AJUSTES FINALES · 2026-08-13
   ═══════════════════════════════════════════════════════════════════════ */

/* Edición impresa: mostrar la portada completa, sin recorte. */
main.article-page #cardEdimp .edimp-cover {
  background: #f5f6f5;
  padding: 10px;
  text-align: center;
}
main.article-page #cardEdimp .edimp-cover img {
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  aspect-ratio: auto !important;
  object-fit: contain !important;
  object-position: center !important;
  background: #fff;
  border-radius: 6px;
}
main.article-page #cardEdimp .edimp-cap {
  position: static;
  display: block;
  padding: 9px 4px 2px;
  color: var(--g-700);
  background: transparent;
  font-size: 11px;
  line-height: 1.35;
  text-align: left;
}

/* Facebook: la imagen corresponde al post completo y nunca se recorta. */
main.article-page .article-native-social--facebook-full {
  width: min(610px, 100%);
}
main.article-page .article-native-social__bar--minimal {
  border-bottom: 1px solid #eef0ef;
}
main.article-page .article-native-social__media--fullpost {
  padding: 0;
  overflow: visible;
  background: #fff;
  border: 0;
}
main.article-page .article-native-social__media--fullpost img {
  display: block;
  width: 100% !important;
  height: auto !important;
  max-height: none !important;
  object-fit: contain !important;
  object-position: center top !important;
  background: #fff;
}

/* Más separación editorial entre multimedia y texto. */
main.article-page .article-native-social,
main.article-page .article-native-video {
  margin-top: 42px;
  margin-bottom: 42px;
}
main.article-page .art-body > .article-native-social + h2,
main.article-page .art-body > .article-native-video + h2,
main.article-page .art-body > .article-native-social + p,
main.article-page .art-body > .article-native-video + p {
  margin-top: 34px;
}

/* YouTube: mismo tratamiento nativo, con acento propio solo en el play. */
main.article-page .article-native-video--youtube .article-native-video__play--youtube {
  background: #ff0000;
  color: #fff;
}
main.article-page .article-native-video--youtube .article-native-video__top em {
  color: #ff6b6b;
}

/* Banner flotante: siempre presente. Desktop 728x90, móvil 320x100. */
.floating-ad728 {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 1400;
  width: min(728px, calc(100% - 28px));
  transform: translateX(-50%);
  pointer-events: none;
}
.floating-ad728__toggle {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}
.floating-ad728__panel {
  position: relative;
  width: 100%;
  pointer-events: auto;
  filter: drop-shadow(0 -8px 20px rgba(0,0,0,.22));
}
.floating-ad728__panel picture {
  display: block;
  width: 100%;
  line-height: 0;
}
.floating-ad728__panel img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 8px 8px 0 0;
}
.floating-ad728__close {
  position: absolute;
  right: -9px;
  top: -13px;
  z-index: 2;
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 1px solid #ddd;
  border-radius: 50%;
  background: rgba(255,255,255,.97);
  color: #777;
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 3px 12px rgba(0,0,0,.16);
}
.floating-ad728__toggle:checked + .floating-ad728__panel {
  display: none;
}

@media (max-width:700px) {
  .floating-ad728 {
    display: block !important;
    width: min(320px, calc(100% - 18px));
  }
  .floating-ad728__panel img {
    border-radius: 7px 7px 0 0;
  }
  .floating-ad728__close {
    right: -6px;
    top: -11px;
    width: 28px;
    height: 28px;
    font-size: 20px;
  }

  main.article-page .article-native-social,
  main.article-page .article-native-video {
    margin-top: 34px;
    margin-bottom: 34px;
  }
}

/* El bloque de comentarios fue retirado del HTML. */
main.article-page .art-comments {
  display: none !important;
}

/* ========================================================================== */
/* CWV — SECCIÓN MUNDO (agregado el 26-08-2026)                               */
/* Evita descargar una fuente adicional en Mundo y conserva los iconos        */
/* sociales sin depender de una hoja de estilos externa.                      */
/* ========================================================================== */
body.section-mundo {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

body.section-mundo .fa-facebook-f::before { content: "f"; }
body.section-mundo .fa-instagram::before { content: "◎"; }
body.section-mundo .fa-youtube::before { content: "▶"; }
body.section-mundo .fa-x-twitter::before { content: "X"; }
body.section-mundo .fa-tiktok::before { content: "♪"; }
/* FIN CWV — SECCIÓN MUNDO */

