/* ==========================================================================
   Última Prensa — Hoja de estilos editorial adaptativa (arquitectura
   responsiva de The Intercept + paleta carbón, papel prensa y acento coral)
   ========================================================================== */

:root {
  --bg-dark: #141312;
  --bg-dark-elev: #1e1c1a;
  --bg-paper: #f7f5ee;
  --bg-surface: #fbf8f0;
  --bg-concrete: #ece7da;
  --ink: #1a1816;
  --ink-soft: #4a453e;
  --muted: #6e685c;
  --border: #dfd9cc;
  --border-dark: rgba(255, 255, 255, 0.16);
  --border-heavy: #1a1816;
  --accent: #d65f48;
  --accent-strong: #d94e34;
  --accent-hover: #b83d26;
  --accent-tint: rgba(214, 95, 72, 0.12);

  /* Variables adaptativas por defecto (páginas interiores y lector claro) */
  --canvas-bg: var(--bg-paper);
  --canvas-surface: var(--bg-surface);
  --canvas-ink: var(--ink);
  --canvas-soft: var(--ink-soft);
  --canvas-muted: var(--muted);
  --canvas-rule: var(--border-heavy);
  --canvas-divider: var(--border);
  --canvas-accent: var(--accent-strong);

  --serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sans: "Plus Jakarta Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, SFMono-Regular, monospace;

  --max-w: 1240px;
  --header-h: 77px;
}

/* Portada réplica fiel de The Intercept: oscuro (<1200px) -> papel claro (>=1200px) */
body.page-variant--home {
  --canvas-bg: var(--bg-dark);
  --canvas-surface: var(--bg-dark-elev);
  --canvas-ink: #f7f5ee;
  --canvas-soft: #d5cfc2;
  --canvas-muted: #a1998b;
  --canvas-rule: #ffffff;
  --canvas-divider: #35322e;
  --canvas-accent: #e56c54;
}

@media (min-width: 1200px) {
  body.page-variant--home {
    --canvas-bg: var(--bg-paper);
    --canvas-surface: var(--bg-surface);
    --canvas-ink: var(--ink);
    --canvas-soft: var(--ink-soft);
    --canvas-muted: var(--muted);
    --canvas-rule: var(--border-heavy);
    --canvas-divider: var(--border);
    --canvas-accent: var(--accent-strong);
  }
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  background-color: var(--bg-paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}

body.page-variant--home {
  background-color: var(--canvas-bg);
  color: var(--canvas-ink);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

button {
  font: inherit;
  cursor: pointer;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  background: var(--accent-strong);
  color: #fff;
  padding: 10px 16px;
  font-family: var(--mono);
  font-size: 13px;
  z-index: 9999;
}

.skip-link:focus {
  left: 12px;
  top: 12px;
}

/* ==========================================================================
   Cabecera Adaptativa (Fija 77px en móvil / Flotante 110px en portada desktop)
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background-color: var(--bg-dark);
  color: #f8f7f5;
  border-bottom: 1px solid #2e2b27;
}

.site-header__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  height: var(--header-h);
  padding: 0 0 0 16px;
  display: flex;
  align-items: center;
  gap: 0;
}

.header-left {
  display: contents;
}

.brand-lockup {
  order: 1;
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
  padding-right: 8px;
}

.brand-lockup__badge {
  width: 34px;
  height: 34px;
  background: #faf7f0;
  border-radius: 3px;
  padding: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.brand-lockup__badge img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-lockup__text {
  display: flex;
  flex-direction: column;
  line-height: 1;
  min-width: 0;
}

.brand-lockup__title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #ffffff;
  white-space: nowrap;
}

.brand-lockup__sub {
  display: none;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-top: 4px;
  white-space: nowrap;
}

.header-nav {
  display: none;
  align-items: center;
  gap: 20px;
  overflow-x: auto;
  scrollbar-width: none;
}

.header-nav::-webkit-scrollbar {
  display: none;
}

.header-nav__link {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #ddd6c8;
  white-space: nowrap;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.header-nav__link:hover,
.header-nav__link.is-active {
  color: #ffffff;
  border-bottom-color: var(--accent-strong);
}

.header-actions {
  order: 2;
  display: flex;
  align-items: center;
  height: 100%;
  flex-shrink: 0;
}

.header-support-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
  height: 100%;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #e56c54;
  white-space: nowrap;
}

.header-support-link:hover {
  color: #ffffff;
}

.header-support-link.cta-support-btn {
  height: auto;
  padding: 8px 11px;
  margin-right: 8px;
  background-color: var(--accent-strong);
  color: #ffffff;
  border: 1px solid var(--accent-strong);
}

.search-toggle {
  width: 46px;
  height: 100%;
  background: transparent;
  border: none;
  border-left: 1px solid #2e2b27;
  color: #f8f7f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, background-color 0.15s ease;
}

.search-toggle:hover {
  color: var(--accent);
}

.menu-trigger {
  order: 3;
  width: 56px;
  height: 100%;
  background: transparent;
  border: none;
  border-left: 1px solid #2e2b27;
  color: #f8f7f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.menu-trigger:hover {
  color: var(--accent);
}

.cta-support-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background-color: var(--accent-strong);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 10px 16px;
  border: 1px solid var(--accent-strong);
  transition: background-color 0.15s ease;
  white-space: nowrap;
}

.cta-support-btn:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
}

@media (min-width: 500px) {
  .site-header__inner {
    padding-left: 24px;
  }
  .brand-lockup__sub {
    display: block;
  }
  .brand-lockup__title {
    font-size: 20px;
  }
}

/* Desfase bajo cabecera fija en móvil/tablet (<1200px) */
body.page-variant--article main#contenido-principal,
body.page-variant--page main#contenido-principal {
  padding-top: var(--header-h);
}

@media (min-width: 1200px) {
  .site-header {
    position: sticky;
  }
  body.page-variant--article main#contenido-principal,
  body.page-variant--page main#contenido-principal {
    padding-top: 0;
  }
  .site-header__inner {
    padding: 0 24px;
    gap: 18px;
  }
  .header-left {
    display: flex;
    align-items: center;
    gap: 16px;
    order: 1;
    margin-right: 0;
  }
  .menu-trigger {
    order: 0;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(255, 255, 255, 0.22);
  }
  .brand-lockup {
    order: 1;
    margin-right: 0;
  }
  .brand-lockup__badge {
    width: 40px;
    height: 40px;
  }
  .brand-lockup__title {
    font-size: 22px;
  }
  .header-nav {
    display: flex;
    order: 2;
    margin: 0 auto;
  }
  .header-actions {
    order: 3;
    height: auto;
    gap: 10px;
  }
  .search-toggle {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.22);
  }

  /* Cabecera flotante transparente sobre el Hero de portada (estilo The Intercept) */
  .site-header--home {
    position: absolute;
    background: transparent;
    border-bottom: none;
  }
  .site-header--home .site-header__inner {
    max-width: none;
    width: 100%;
    height: 110px;
    padding: 0 32px;
    justify-content: space-between;
  }
  .site-header--home .menu-trigger,
  .site-header--home .search-toggle {
    background: rgba(20, 19, 18, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.28);
    backdrop-filter: blur(4px);
  }
  .site-header--home .brand-lockup__badge {
    width: 44px;
    height: 44px;
  }
  .site-header--home .brand-lockup__title {
    font-size: 25px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
  }
  .site-header--home .header-support-link {
    display: none;
  }
}

/* Buscador desplegable en cabecera */
.search-bar-panel {
  background: var(--bg-dark-elev);
  border-top: 1px solid var(--border-dark);
  padding: 14px 24px;
  display: none;
}

.search-bar-panel.is-open {
  display: block;
}

.search-bar-form {
  max-width: var(--max-w);
  margin: 0 auto;
  display: flex;
  gap: 10px;
}

.search-bar-input {
  flex: 1;
  background: #11100f;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 11px 14px;
  font-family: var(--sans);
  font-size: 15px;
  outline: none;
}

.search-bar-input:focus {
  border-color: var(--accent);
}

.search-bar-submit {
  background: var(--accent-strong);
  color: #ffffff;
  border: none;
  padding: 0 20px;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

/* Barra de progreso de lectura */
.reading-progress {
  position: fixed;
  top: var(--header-h);
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--accent-strong);
  z-index: 99;
  transition: width 0.08s linear;
}

/* ==========================================================================
   Drawer Off-Canvas oscuro
   ========================================================================== */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(12, 11, 10, 0.72);
  z-index: 200;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.drawer-panel {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: min(370px, 88vw);
  background: var(--bg-dark);
  color: #f8f7f5;
  z-index: 210;
  transform: translateX(-100%);
  transition: transform 0.24s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 22px 24px 32px;
  overflow-y: auto;
  border-right: 1px solid var(--border-dark);
}

.drawer-panel.is-open {
  transform: translateX(0);
}

.drawer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-dark);
}

.drawer-close {
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #f8f7f5;
  font-size: 20px;
  line-height: 1;
}

.drawer-section {
  padding: 18px 0;
  border-bottom: 1px solid var(--border-dark);
}

.drawer-section__label {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 12px;
}

.drawer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.drawer-links a {
  font-family: var(--sans);
  font-size: 18px;
  font-weight: 700;
  color: #f8f7f5;
  transition: color 0.15s ease;
}

.drawer-links a:hover {
  color: var(--accent);
}

.drawer-links--mono a {
  font-family: var(--mono);
  font-size: 13.5px;
  font-weight: 500;
  color: #cbc4b6;
}

/* ==========================================================================
   Bloque 0: Hero Cinematográfico Full-Bleed + Barra Temática (The Intercept)
   ========================================================================== */
.hero-band {
  background: var(--bg-dark);
  margin-top: var(--header-h);
}

.hero-article__wrapper {
  position: relative;
  background: #0d0c0b;
  overflow: hidden;
}

.hero-article__wrapper::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 150px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    rgba(20, 19, 18, 0.72) 0%,
    rgba(20, 19, 18, 0.28) 55%,
    transparent 100%
  );
}

.hero-article__wrapper::after {
  content: "";
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 80%;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(14, 13, 12, 0.34) 36%,
    rgba(14, 13, 12, 0.78) 65%,
    rgba(14, 13, 12, 0.96) 88%,
    #141312 100%
  );
}

.hero-article__link {
  display: block;
  position: relative;
  color: #ffffff;
}

.hero-article__media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  min-height: 370px;
  overflow: hidden;
  background: #141312;
}

.hero-article__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.hero-article__media.is-portrait .hero-article__image {
  object-position: center 14%;
}

.hero-article__link:hover .hero-article__image {
  transform: scale(1.02);
}

.hero-article__overlay {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 4;
  padding: 20px 16px 24px;
}

.hero-article__container {
  max-width: var(--max-w);
  margin: 0 auto;
}

.hero-article__kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #f07d67;
  margin-bottom: 8px;
}

.hero-article__heading {
  font-family: var(--serif);
  font-size: 1.55rem;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
  color: #ffffff;
  margin-bottom: 10px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.45);
}

.hero-article__excerpt {
  display: none;
  font-family: var(--sans);
  font-size: 15.5px;
  line-height: 1.52;
  color: #e4ddd0;
  max-width: 68ch;
  margin-bottom: 12px;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.hero-article__byline {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: #f07d67;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

/* Barra temática debajo del Hero */
.home-subnav {
  background: var(--bg-dark);
  border-top: 1px solid #2e2b27;
  border-bottom: 1px solid #35322e;
}

.home-subnav__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.home-subnav__topics,
.home-subnav__actions {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 18px;
}

.home-subnav__topics {
  overflow-x: auto;
  scrollbar-width: none;
  padding-bottom: 2px;
  padding-right: 28px;
  -webkit-mask-image: linear-gradient(90deg, #000 88%, transparent 100%);
  mask-image: linear-gradient(90deg, #000 88%, transparent 100%);
}

.home-subnav__topics::-webkit-scrollbar {
  display: none;
}

.home-subnav__topics a,
.home-subnav__actions a {
  font-family: var(--sans);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  white-space: nowrap;
  color: #f7f5ee;
  transition: color 0.15s ease;
}

.home-subnav__topics a:hover,
.home-subnav__about:hover {
  color: #e56c54;
}

.home-subnav__actions {
  display: none;
}

.home-subnav__support {
  color: #e56c54 !important;
}

@media (min-width: 500px) {
  .hero-article__media {
    aspect-ratio: 16 / 10;
    min-height: 420px;
  }
  .hero-article__overlay {
    padding: 28px 32px 32px;
  }
  .hero-article__heading {
    font-size: clamp(1.95rem, 3.6vw, 2.7rem);
    line-height: 1.06;
  }
  .home-subnav__inner {
    padding: 14px 32px;
  }
}

@media (min-width: 800px) {
  .hero-article__media {
    aspect-ratio: 2 / 1;
    min-height: 450px;
  }
  .hero-article__excerpt {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
  }
}

@media (min-width: 1200px) {
  .hero-band {
    margin-top: 0;
    background: var(--bg-paper);
  }
  .hero-article__wrapper::after {
    height: 80%;
    background: linear-gradient(
      180deg,
      transparent 0%,
      rgba(14, 13, 12, 0.34) 34%,
      rgba(14, 13, 12, 0.78) 65%,
      rgba(14, 13, 12, 0.96) 90%,
      #0d0c0b 100%
    );
  }
  .hero-article__media {
    aspect-ratio: auto;
    height: 530px;
  }
  .hero-article__overlay {
    padding: 36px 24px 40px;
  }
  .hero-article__heading {
    width: 72%;
    font-size: clamp(2.3rem, 3.1vw, 3.25rem);
    line-height: 1.02;
    margin-bottom: 14px;
  }
  .home-subnav {
    background: var(--bg-paper);
    border-top: none;
    border-bottom: 1px solid var(--border);
  }
  .home-subnav__inner {
    height: 84px;
    padding: 0 24px;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
  }
  .home-subnav__topics {
    gap: 26px;
    overflow: visible;
    padding-right: 0;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .home-subnav__topics a,
  .home-subnav__about {
    color: var(--ink);
    font-size: 13.5px;
    font-weight: 800;
  }
  .home-subnav__topics a:hover,
  .home-subnav__about:hover {
    color: var(--accent-strong);
  }
  .home-subnav__actions {
    display: flex;
    gap: 22px;
  }
  .home-subnav__support {
    color: var(--accent-strong) !important;
    font-size: 13.5px;
    font-weight: 800;
  }
  .home-subnav__support:hover {
    color: var(--accent-hover) !important;
  }
}

/* ==========================================================================
   Contenedor Principal y Encabezados de Sección
   ========================================================================== */
.site-content--home {
  background-color: var(--canvas-bg);
  color: var(--canvas-ink);
}

.page-wrapper {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 24px 16px 56px;
}

.section-rule-head {
  border-top: 8px solid var(--canvas-rule);
  padding-top: 12px;
  margin-bottom: 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
}

.section-rule-head__title {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.025em;
  text-transform: uppercase;
  color: var(--canvas-ink);
}

.section-rule-head__title--xl {
  font-size: clamp(1.75rem, 3.6vw, 3.1rem);
  line-height: 0.96;
}

.section-rule-head__more {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--canvas-accent);
  white-space: nowrap;
}

.section-rule-head__more:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Bloque 1: Top Stories Asimétrico (3 grandes alternadas + riel apilado)
   ========================================================================== */
.top-stories-grid {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin-bottom: 48px;
}

.top-stories-main {
  display: flex;
  flex-direction: column;
  gap: 36px;
}

.content-card {
  display: block;
}

.content-card__link {
  display: block;
  color: inherit;
}

.content-card__image {
  position: relative;
  overflow: hidden;
  background: var(--bg-dark-elev);
  border: 1px solid var(--canvas-divider);
}

.content-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
  transition: transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.content-card__image.is-portrait img {
  object-position: center 14%;
}

.content-card__link:hover .content-card__image img {
  transform: scale(1.025);
}

.content-card__bar {
  display: none;
}

.content-card__kicker {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--canvas-accent);
  margin-bottom: 8px;
}

.content-card__title {
  font-family: var(--serif);
  font-weight: 700;
  color: var(--canvas-ink);
  transition: color 0.15s ease;
}

.content-card__link:hover .content-card__title {
  color: var(--canvas-accent);
}

.content-card__meta {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 500;
  color: var(--canvas-muted);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.content-card__author {
  color: var(--canvas-accent);
  font-weight: 600;
}

.content-card__excerpt {
  font-family: var(--sans);
  color: var(--canvas-soft);
  line-height: 1.56;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

/* Tarjetas grandes de Top Stories (móvil full-bleed -> >=500px 50/50 alternadas) */
.content-card--large .content-card__image {
  margin: 0 -16px -38px;
  aspect-ratio: 4 / 3;
  border-left: none;
  border-right: none;
}

.content-card--large .content-card__image::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 68px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to bottom, transparent, var(--canvas-bg));
}

.content-card--large .content-card__content {
  position: relative;
  z-index: 3;
}

.content-card--large .content-card__bar {
  display: inline-block;
  width: 72px;
  height: 9px;
  background: var(--canvas-ink);
  margin-bottom: 12px;
}

.content-card--large .content-card__title {
  font-size: clamp(1.32rem, 2.2vw, 1.92rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.content-card--large .content-card__excerpt {
  font-size: 14.5px;
  margin-top: 10px;
}

@media (min-width: 500px) {
  .page-wrapper {
    padding: 28px 32px 64px;
  }
  .content-card--large .content-card__link {
    display: flex;
    align-items: flex-start;
    gap: 28px;
  }
  .content-card--large .content-card__link.content-card__link--alternate {
    flex-direction: row-reverse;
    text-align: right;
  }
  .content-card--large .content-card__image {
    width: 50%;
    flex-shrink: 0;
    margin: 0;
    border: 1px solid var(--canvas-divider);
  }
  .content-card--large .content-card__image::after {
    display: none;
  }
  .content-card--large .content-card__content {
    width: 50%;
  }
  .content-card--large .content-card__link--alternate .content-card__meta {
    justify-content: flex-end;
  }
  .content-card--large .content-card__link--alternate .content-card__excerpt {
    text-align: justify;
    text-align-last: right;
  }
}

/* Riel derecho de Top Stories */
.top-rail {
  border-top: 8px solid var(--canvas-rule);
  padding-top: 12px;
}

.top-rail__heading {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--canvas-ink);
  margin-bottom: 16px;
}

.top-rail__list {
  display: flex;
  flex-direction: column;
}

.content-card--small-stacked {
  padding: 16px 0;
  border-top: 1px solid var(--canvas-divider);
}

.content-card--small-stacked:first-child {
  padding-top: 0;
  border-top: none;
}

.content-card--small-stacked .content-card__link {
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.content-card--small-stacked .content-card__image {
  width: 112px;
  aspect-ratio: 4 / 3;
}

.content-card--small-stacked .content-card__title {
  font-size: 16.5px;
  line-height: 1.24;
  margin-bottom: 6px;
}

.top-rail__footer {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--canvas-divider);
}

.top-rail__all-link {
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--canvas-accent);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

@media (min-width: 1200px) {
  .page-wrapper {
    padding: 40px 24px 72px;
  }
  .top-stories-grid {
    display: grid;
    grid-template-columns: minmax(0, 920px) minmax(0, 1fr);
    gap: 40px;
    align-items: start;
    margin-bottom: 64px;
  }
  .top-stories-main {
    gap: 52px;
  }
  .content-card--small-stacked {
    padding: 0 0 24px;
    border-top: none;
  }
  .content-card--small-stacked .content-card__link {
    display: flex;
    flex-direction: column;
    gap: 12px;
  }
  .content-card--small-stacked .content-card__bar {
    display: block;
    width: 68px;
    height: 9px;
    background: var(--canvas-ink);
    margin-bottom: 10px;
  }
  .content-card--small-stacked .content-card__image {
    width: 100%;
    aspect-ratio: 16 / 10;
  }
  .content-card--small-stacked .content-card__content {
    width: 100%;
  }
  .content-card--small-stacked .content-card__title {
    font-size: 17px;
    line-height: 1.22;
  }
}

/* ==========================================================================
   Bloque 2: Franja de 3 columnas (Columnas | Especiales | Newsletter/Flow)
   ========================================================================== */
.editorial-trio {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 36px;
  margin-bottom: 56px;
  align-items: start;
}

.trio-col {
  border-top: 8px solid var(--canvas-rule);
  padding-top: 14px;
}

.trio-col__title {
  font-family: var(--sans);
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  color: var(--canvas-ink);
}

.trio-col__title a:hover {
  color: var(--canvas-accent);
}

.trio-list {
  display: flex;
  flex-direction: column;
}

.content-card--small {
  padding: 14px 0;
  border-top: 1px solid var(--canvas-divider);
}

.content-card--small:first-child {
  padding-top: 0;
  border-top: none;
}

.content-card--small .content-card__link {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
}

.content-card--small .content-card__image {
  width: 96px;
  aspect-ratio: 4 / 3;
}

.content-card--small .content-card__title {
  font-size: 15.5px;
  line-height: 1.24;
  margin-bottom: 6px;
}

/* Tarjeta de dossier especial */
.dossier-item {
  display: block;
  padding: 14px 0;
  border-top: 1px solid var(--canvas-divider);
}

.dossier-item:first-child {
  padding-top: 0;
  border-top: none;
}

.dossier-item__kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--canvas-accent);
  margin-bottom: 4px;
}

.dossier-item__title {
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.22;
  color: var(--canvas-ink);
  margin-bottom: 4px;
  transition: color 0.15s ease;
}

.dossier-item:hover .dossier-item__title {
  color: var(--canvas-accent);
}

.dossier-item__desc {
  font-size: 13.5px;
  color: var(--canvas-soft);
  line-height: 1.48;
  margin-bottom: 6px;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.dossier-item__meta {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--canvas-muted);
}

/* Caja boletín / Flow — coral full-bleed móvil -> marco 10px coral en escritorio */
.newsletter-band-col {
  background: var(--accent-strong);
  margin: 0 -16px;
  padding: 28px 16px;
}

.newsletter-box {
  border: 10px solid #ffffff;
  background: transparent;
  color: #ffffff;
  max-width: 680px;
  margin: 0 auto;
  padding: 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.newsletter-box__kicker {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: #ffffff;
}

.newsletter-box__title {
  font-family: var(--sans);
  font-size: 27px;
  font-weight: 800;
  line-height: 1.08;
  letter-spacing: -0.025em;
  color: #ffffff;
}

.newsletter-box__copy {
  font-size: 14.5px;
  color: #fff3ef;
  line-height: 1.54;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.newsletter-box__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 4px;
}

.newsletter-band-col .btn-solid-accent {
  background: #141312;
  border-color: #141312;
}

.newsletter-band-col .btn-solid-accent:hover {
  background: #272422;
}

.newsletter-band-col .btn-solid-dark {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
}

.newsletter-box__foot {
  font-family: var(--mono);
  font-size: 11px;
  color: rgba(255, 255, 255, 0.88);
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 10px;
}

@media (min-width: 500px) {
  .newsletter-band-col {
    margin: 0 -32px;
    padding: 36px 32px;
  }
}

@media (min-width: 800px) {
  .editorial-trio {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 32px;
  }
  .newsletter-band-col {
    grid-column: 1 / -1;
  }
}

@media (min-width: 1200px) {
  .editorial-trio {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 36px;
    margin-bottom: 64px;
  }
  .newsletter-band-col {
    grid-column: auto;
    background: transparent;
    margin: 0;
    padding: 0;
  }
  .newsletter-box {
    border: 10px solid var(--accent-strong);
    background: var(--bg-surface);
    color: var(--ink);
    padding: 26px 24px;
  }
  .newsletter-box__kicker {
    color: var(--accent-strong);
  }
  .newsletter-box__title {
    color: var(--ink);
  }
  .newsletter-box__copy {
    color: var(--ink-soft);
  }
  .newsletter-band-col .btn-solid-accent {
    background: var(--accent-strong);
    border-color: var(--accent-strong);
  }
  .newsletter-band-col .btn-solid-accent:hover {
    background: var(--accent-hover);
    border-color: var(--accent-hover);
  }
  .newsletter-band-col .btn-solid-dark {
    background: var(--bg-dark);
    border-color: var(--bg-dark);
  }
  .newsletter-box__foot {
    color: var(--muted);
    border-top-color: var(--border);
  }
}

.btn-solid-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--bg-dark);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 13px 16px;
  border: 1px solid var(--bg-dark);
  transition: background-color 0.15s ease;
}

.btn-solid-dark:hover {
  background: #2b2825;
}

.btn-solid-accent {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: var(--accent-strong);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  padding: 13px 16px;
  border: 1px solid var(--accent-strong);
  transition: background-color 0.15s ease;
}

.btn-solid-accent:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
}

/* ==========================================================================
   Franja oscura intermedia de denuncias / filtraciones
   ========================================================================== */
.source-banner {
  background: var(--bg-dark-elev);
  color: #f8f7f5;
  border-top: 6px solid var(--accent-strong);
  border-bottom: 1px solid var(--border-dark);
  padding: 28px 24px;
  margin-bottom: 52px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 20px;
  align-items: center;
}

.source-banner__kicker {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #f07d67;
  margin-bottom: 8px;
}

.source-banner__title {
  font-family: var(--serif);
  font-size: clamp(1.45rem, 2.5vw, 2.05rem);
  font-weight: 600;
  line-height: 1.15;
  margin-bottom: 8px;
}

.source-banner__copy {
  font-size: 15px;
  color: #d5cfc2;
  max-width: 68ch;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

@media (min-width: 800px) {
  .source-banner {
    grid-template-columns: minmax(0, 1fr) auto;
    padding: 36px 32px;
    gap: 28px;
  }
}

@media (min-width: 1200px) {
  .source-banner {
    background: var(--bg-dark);
  }
}

/* ==========================================================================
   Bloque 3: Vitrinas Temáticas (63.33% destacada / 36.67% lista en escritorio)
   ========================================================================== */
.category-showcase {
  border-top: 8px solid var(--canvas-rule);
  padding-top: 14px;
  margin-bottom: 56px;
}

.category-showcase__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 24px;
}

.category-showcase__title {
  font-family: var(--sans);
  font-size: clamp(1.75rem, 2.8vw, 2.55rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--canvas-ink);
}

.category-showcase__title a:hover {
  color: var(--canvas-accent);
}

.category-showcase__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
  align-items: start;
}

.content-card--standard .content-card__image {
  aspect-ratio: 16 / 10;
  margin-bottom: 16px;
}

.content-card--standard .content-card__title {
  font-size: clamp(1.35rem, 2.1vw, 1.88rem);
  line-height: 1.14;
  letter-spacing: -0.02em;
  margin-bottom: 10px;
}

.content-card--standard .content-card__excerpt {
  font-size: 14.8px;
  margin-top: 10px;
}

.category-showcase__side {
  display: flex;
  flex-direction: column;
}

.category-showcase__side .content-card--small .content-card__link {
  grid-template-columns: 108px minmax(0, 1fr);
}

.category-showcase__side .content-card--small .content-card__image {
  width: 108px;
  aspect-ratio: 4 / 3;
}

.category-showcase__side .content-card--small .content-card__title {
  font-size: 16.5px;
  line-height: 1.24;
}

@media (min-width: 1200px) {
  .category-showcase__grid {
    grid-template-columns: minmax(0, 63.33%) minmax(0, 1fr);
    gap: 36px;
  }
  .category-showcase__lead {
    padding-right: 4px;
  }
  .category-showcase__side .content-card--small .content-card__link {
    grid-template-columns: 120px minmax(0, 1fr);
    gap: 18px;
  }
  .category-showcase__side .content-card--small .content-card__image {
    width: 120px;
    aspect-ratio: 4 / 3;
  }
  .category-showcase__side .content-card--small .content-card__title {
    font-size: 17.5px;
  }
}

/* ==========================================================================
   Lector de Artículos (/p/:slug) — Header oscuro móvil -> Papel 720px desktop
   ========================================================================== */
.article-shell {
  padding-bottom: 64px;
  background: var(--bg-paper);
  color: var(--ink);
  overflow-x: clip;
}

.article-header-band {
  background: var(--bg-dark);
  color: #f8f7f5;
  padding: 26px 16px 28px;
}

.article-header {
  max-width: 720px;
  margin: 0 auto;
}

.article-kicker {
  display: inline-block;
  font-family: var(--mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #f07d67;
  margin-bottom: 12px;
}

.article-kicker:hover {
  text-decoration: underline;
}

.article-title {
  font-family: var(--serif);
  font-size: clamp(1.85rem, 3.8vw, 3rem);
  font-weight: 700;
  line-height: 1.09;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-bottom: 16px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article-subtitle {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  line-height: 1.5;
  color: #dcd5c7;
  margin-bottom: 22px;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article-byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-family: var(--mono);
  font-size: 12.5px;
}

.article-byline__left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.article-byline__avatar {
  width: 36px;
  height: 36px;
  background: #faf7f0;
  border: 1px solid var(--border);
  border-radius: 3px;
  padding: 4px;
  flex-shrink: 0;
}

.article-byline__author {
  color: #f07d67;
  font-weight: 700;
  display: block;
}

.article-byline__date {
  color: #c2b9aa;
  font-size: 11.5px;
}

.article-share-wrap {
  position: relative;
  display: flex;
  align-items: center;
  gap: 8px;
}

.share-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  padding: 7px 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.share-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.share-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 6px);
  min-width: 210px;
  background: var(--bg-dark);
  color: #f8f7f5;
  border: 1px solid var(--border-dark);
  padding: 6px;
  display: none;
  flex-direction: column;
  z-index: 50;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.share-menu.is-open {
  display: flex;
}

.share-menu a,
.share-menu button {
  text-align: left;
  background: transparent;
  border: none;
  color: #f8f7f5;
  font-family: var(--mono);
  font-size: 12px;
  padding: 9px 10px;
}

.share-menu a:hover,
.share-menu button:hover {
  background: rgba(214, 95, 72, 0.2);
  color: #ffffff;
}

.article-hero-figure {
  max-width: 920px;
  margin: 0 auto 28px;
  padding: 0;
}

.article-hero-figure img {
  width: 100%;
  height: auto;
  max-height: 680px;
  object-fit: cover;
  object-position: center 20%;
  border-bottom: 1px solid var(--border);
}

.article-hero-figure.is-portrait img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 720px;
  margin: 0 auto;
  object-fit: contain;
  background: var(--bg-concrete);
}

.article-hero-figure figcaption {
  max-width: 720px;
  margin: 0 auto;
  font-family: var(--mono);
  font-size: 12.5px;
  line-height: 1.5;
  color: var(--muted);
  padding: 10px 16px 0;
  text-align: justify;
}

.article-reading-col {
  max-width: 720px;
  width: 100%;
  min-width: 0;
  margin: 0 auto;
  padding: 0 16px;
}

@media (min-width: 500px) {
  .article-header-band {
    padding: 32px 32px 32px;
  }
  .article-reading-col {
    padding: 0 28px;
  }
  .article-hero-figure figcaption {
    padding: 10px 28px 0;
  }
}

@media (min-width: 1200px) {
  .article-header-band {
    background: transparent;
    color: var(--ink);
    padding: 40px 20px 0;
  }
  .article-kicker {
    color: var(--accent-strong);
  }
  .article-title {
    color: var(--ink);
    text-decoration: underline;
    text-decoration-color: var(--border);
    text-decoration-thickness: 1px;
    text-underline-offset: 6px;
  }
  .article-subtitle {
    color: var(--ink-soft);
  }
  .article-byline {
    border-top-color: var(--border);
    border-bottom: 1px solid var(--border);
    padding: 14px 0;
  }
  .article-byline__author {
    color: var(--accent-strong);
  }
  .article-byline__date {
    color: var(--muted);
  }
  .share-btn {
    background: var(--bg-surface);
    border-color: var(--border);
    color: var(--ink);
  }
  .share-btn:hover {
    border-color: var(--accent-strong);
    color: var(--accent-strong);
  }
  .article-hero-figure {
    margin: 28px auto 34px;
    padding: 0 20px;
  }
  .article-hero-figure img {
    border: 1px solid var(--border);
  }
  .article-hero-figure figcaption {
    padding: 10px 0 0;
  }
  .article-reading-col {
    border-left: 1px solid var(--border);
    padding: 0 24px 0 36px;
  }
}

.article-body {
  font-family: var(--serif);
  font-size: 18.5px;
  line-height: 1.72;
  color: var(--ink);
  min-width: 0;
  max-width: 100%;
  overflow-wrap: anywhere;
}

@media (min-width: 760px) {
  .article-body {
    font-size: 19.5px;
  }
}

.article-body p {
  margin-bottom: 1.32em;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article-body h2 {
  font-family: var(--sans);
  font-size: 1.52rem;
  font-weight: 800;
  line-height: 1.22;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 2em 0 0.7em;
  padding-top: 0.8em;
  border-top: 2px solid var(--border-heavy);
}

.article-body h3 {
  font-family: var(--sans);
  font-size: 1.22rem;
  font-weight: 700;
  line-height: 1.3;
  color: var(--ink);
  margin: 1.6em 0 0.55em;
}

.article-body a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article-body a:hover {
  color: var(--accent-hover);
}

.article-body blockquote {
  margin: 1.6em 0;
  padding: 14px 20px;
  border-left: 4px solid var(--accent-strong);
  background: var(--bg-surface);
  font-style: italic;
  color: var(--ink-soft);
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article-body blockquote p:last-child {
  margin-bottom: 0;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.4em 1.4em;
  max-width: calc(100% - 1.4em);
}

.article-body li {
  margin-bottom: 0.55em;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article-body table,
.article-body pre {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

.article-body iframe {
  max-width: 100%;
}

.article-body hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 2.2em 0;
}

/* Corrección definitiva de las 207 imágenes internas de Substack: 0 estiramientos */
.article-body .captioned-image-container,
.article-body figure,
.article-body picture {
  display: block;
  max-width: 100%;
}

.article-body .captioned-image-container,
.article-body figure {
  margin: 1.9em 0;
}

.article-body img,
.article-body picture img,
.article-body figure img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto !important;
  contain: none;
  contain-intrinsic-size: none;
  object-fit: contain;
  border: 1px solid var(--border);
  background: #ffffff;
}

.article-body figcaption {
  font-family: var(--mono);
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
  padding: 8px 4px 0;
  text-align: justify;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.article-end-box {
  margin: 42px 0 0;
}

.article-support-card {
  background: var(--bg-dark);
  color: #f8f7f5;
  border-left: 6px solid var(--accent-strong);
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.article-support-card h3 {
  font-family: var(--serif);
  font-size: 24px;
  font-weight: 600;
}

.article-support-card p {
  font-size: 14.5px;
  color: #cbc4b6;
  line-height: 1.56;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.article-support-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.article-lower-grid {
  max-width: var(--max-w);
  margin: 56px auto 0;
  padding: 24px 20px 0;
  border-top: 8px solid var(--border-heavy);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 40px;
}

@media (min-width: 1000px) {
  .article-lower-grid {
    padding: 24px 24px 0;
    grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
    gap: 44px;
  }
}

.most-recent-list {
  list-style: none;
  display: flex;
  flex-direction: column;
}

.most-recent-item {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  padding: 13px 0;
  border-top: 1px solid var(--border);
  align-items: start;
}

.most-recent-item:first-child {
  border-top: none;
  padding-top: 0;
}

.most-recent-num {
  font-family: var(--mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-strong);
  line-height: 1.1;
}

.most-recent-title {
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.26;
}

.most-recent-title:hover {
  color: var(--accent-strong);
}

/* ==========================================================================
   Vistas de Archivo, Categoría, Búsqueda y Páginas Institucionales
   ========================================================================== */
.archive-header {
  border-top: 8px solid var(--border-heavy);
  border-bottom: 1px solid var(--border);
  padding: 20px 0 24px;
  margin-bottom: 32px;
}

.archive-header__kicker {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--accent-strong);
  margin-bottom: 8px;
}

.archive-header__title {
  font-family: var(--sans);
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.06;
  margin-bottom: 10px;
}

.archive-header__desc {
  font-size: 16px;
  color: var(--ink-soft);
  max-width: 72ch;
  line-height: 1.56;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.filter-pill {
  font-family: var(--mono);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 7px 12px;
  border: 1px solid var(--border);
  background: var(--bg-surface);
  color: var(--ink-soft);
}

.filter-pill.is-active,
.filter-pill:hover {
  background: var(--bg-dark);
  color: #ffffff;
  border-color: var(--bg-dark);
}

.archive-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px 28px;
}

@media (min-width: 680px) {
  .archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .archive-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.archive-card .content-card__image {
  aspect-ratio: 16 / 10;
  margin-bottom: 14px;
}

.archive-card .content-card__title {
  font-size: 19.5px;
  line-height: 1.2;
  margin-bottom: 8px;
}

.archive-card .content-card__excerpt {
  font-size: 13.8px;
  margin-top: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Páginas institucionales */
.prose-page {
  max-width: 760px;
  margin: 0 auto;
}

.prose-page p {
  font-family: var(--serif);
  font-size: 18.5px;
  line-height: 1.72;
  color: var(--ink);
  margin-bottom: 1.2em;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.prose-page h2 {
  font-family: var(--sans);
  font-size: 22px;
  font-weight: 800;
  margin: 1.8em 0 0.6em;
  padding-top: 0.7em;
  border-top: 2px solid var(--border-heavy);
}

.prose-page ul {
  margin: 0 0 1.4em 1.4em;
  font-family: var(--serif);
  font-size: 18px;
  line-height: 1.65;
}

.prose-page li {
  margin-bottom: 0.55em;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.callout-panel {
  border: 7px solid var(--accent-strong);
  background: var(--bg-surface);
  padding: 26px 24px;
  margin: 28px 0;
}

/* ==========================================================================
   Footer Institucional estilo The Intercept
   ========================================================================== */
.site-footer {
  background: var(--bg-concrete);
  border-top: 4px solid var(--border-heavy);
  padding: 44px 20px 36px;
  font-family: var(--mono);
  font-size: 12.5px;
  color: var(--ink-soft);
}

.site-footer__inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 28px;
}

@media (min-width: 680px) {
  .site-footer {
    padding: 44px 24px 36px;
  }
  .site-footer__inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1050px) {
  .site-footer__inner {
    grid-template-columns: 1.4fr 1fr 1fr 1fr;
    gap: 32px;
  }
}

.site-footer__about {
  line-height: 1.6;
  max-width: 36ch;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
}

.site-footer__col-title {
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.11em;
  color: var(--ink);
  margin-bottom: 12px;
  font-size: 11.5px;
}

.site-footer__list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer__list a:hover {
  color: var(--accent-strong);
  text-decoration: underline;
}

.site-footer__bottom {
  max-width: var(--max-w);
  margin: 30px auto 0;
  padding-top: 18px;
  border-top: 1px solid #cfc7b5;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 11.5px;
  color: var(--muted);
}

/* Lightbox para gráficos 2x Retina y fotografías */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(14, 13, 12, 0.92);
  z-index: 300;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox.is-open {
  display: flex;
}

.lightbox img {
  max-width: min(1200px, 94vw);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  background: #ffffff;
}

.lightbox img:not([src]) {
  display: none;
}

.lightbox__close {
  position: fixed;
  top: 18px;
  right: 22px;
  width: 42px;
  height: 42px;
  background: var(--bg-dark);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 22px;
}

.toast {
  position: fixed;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%) translateY(90px);
  background: var(--bg-dark);
  color: #ffffff;
  font-family: var(--mono);
  font-size: 12px;
  padding: 10px 18px;
  border: 1px solid var(--accent-strong);
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.22s ease;
  z-index: 400;
}

.toast.is-open {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
