/* El yigüirro · Todo Fútbol Global — Single consolidated editorial stylesheet */

/* --- Self-hosted typography: the El Yigüirro brand kit fonts, same as the reels (4 OFL .woff2 files) --- */
/* Fraunces ships as SemiBold Italic only; it serves both styles so headings never get a fake slant. */
@font-face { font-family: "Fraunces"; src: url(/fonts/fraunces-600i.woff2) format("woff2"); font-style: italic; font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Fraunces"; src: url(/fonts/fraunces-600i.woff2) format("woff2"); font-style: normal; font-weight: 400 800; font-display: swap; }
@font-face { font-family: "Anton"; src: url(/fonts/anton-400.woff2) format("woff2"); font-weight: 400 900; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(/fonts/manrope-500.woff2) format("woff2"); font-weight: 300 550; font-display: swap; }
@font-face { font-family: "Manrope"; src: url(/fonts/manrope-700.woff2) format("woff2"); font-weight: 551 900; font-display: swap; }

/* --- Single-source-of-truth Design Tokens (Light + Dark) --- */
:root {
  color-scheme: light dark;
  --guinda: #672035;
  --guinda-deep: #4A1525;
  --maiz: #F9BC46;
  --maiz-bright: #FFC85C;
  --crema: #F6EACC;
  --tinta: #22171A;
  --bermellon: #E75536;

  --bg: #FAF5E8;
  --surface: #FFFDF7;
  --surface-warm: #F1E5CB;
  --surface-hover: #EBDCC0;
  --text: #22171A;
  --text-secondary: #433438;
  --muted: #5C4B4F;
  --accent: #672035;
  --accent-hover: #4A1525;
  --hl: #A6331F;
  --line: rgba(34, 23, 26, 0.14);
  --rule-strong: #2E1F23;
  --mast-top: var(--guinda);
  --link-line: rgba(103, 32, 53, 0.35);
  --table-head-bg: var(--guinda);
  --table-head-fg: var(--crema);
  --table-head-border: transparent;
  --stub-s2-bg: var(--guinda);
  --stub-s2-fg: var(--crema);
  --kit-btn-bg: var(--guinda);
  --kit-btn-fg: var(--crema);
  --kit-btn-hover: var(--guinda-deep);
  --shadow-editorial: 0 1px 2px rgba(34, 23, 26, 0.06), 0 14px 30px -14px rgba(34, 23, 26, 0.16);
  --shadow-drawer: 0 14px 28px -8px rgba(34, 23, 26, 0.18);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --display: "Anton", "Arial Narrow", Impact, sans-serif;
  --body: "Manrope", system-ui, -apple-system, sans-serif;
  --gutter: clamp(1.15rem, 3.8vw, 3.25rem);
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

:root[data-theme="light"] { color-scheme: light; }

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --bg: #161012;
    --surface: #21181B;
    --surface-warm: #2A1E22;
    --surface-hover: #35262B;
    --text: #F5ECD9;
    --text-secondary: #DDD0BA;
    --muted: #B8A796;
    --accent: #F9BC46;
    --accent-hover: #FFD06E;
    --hl: #F28B6B;
    --line: rgba(245, 236, 217, 0.14);
    --rule-strong: #8F7C73;
    --mast-top: var(--maiz);
    --link-line: rgba(249, 188, 70, 0.38);
    --table-head-bg: var(--surface-warm);
    --table-head-fg: var(--maiz);
    --table-head-border: var(--maiz);
    --stub-s2-bg: var(--crema);
    --stub-s2-fg: var(--tinta);
    --kit-btn-bg: var(--maiz);
    --kit-btn-fg: var(--tinta);
    --kit-btn-hover: var(--maiz-bright);
    --shadow-editorial: 0 1px 2px rgba(0, 0, 0, 0.3), 0 18px 34px -14px rgba(0, 0, 0, 0.52);
    --shadow-drawer: 0 18px 36px -8px rgba(0, 0, 0, 0.55);
  }
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --bg: #161012;
  --surface: #21181B;
  --surface-warm: #2A1E22;
  --surface-hover: #35262B;
  --text: #F5ECD9;
  --text-secondary: #DDD0BA;
  --muted: #B8A796;
  --accent: #F9BC46;
  --accent-hover: #FFD06E;
  --hl: #F28B6B;
  --line: rgba(245, 236, 217, 0.14);
  --rule-strong: #8F7C73;
  --mast-top: var(--maiz);
  --link-line: rgba(249, 188, 70, 0.38);
  --table-head-bg: var(--surface-warm);
  --table-head-fg: var(--maiz);
  --table-head-border: var(--maiz);
  --stub-s2-bg: var(--crema);
  --stub-s2-fg: var(--tinta);
  --kit-btn-bg: var(--maiz);
  --kit-btn-fg: var(--tinta);
  --kit-btn-hover: var(--maiz-bright);
  --shadow-editorial: 0 1px 2px rgba(0, 0, 0, 0.3), 0 18px 34px -14px rgba(0, 0, 0, 0.52);
  --shadow-drawer: 0 18px 36px -8px rgba(0, 0, 0, 0.55);
}

/* --- Base & Typography --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 100%; -webkit-text-size-adjust: 100%; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; caret-color: var(--accent); }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body { font: 400 1rem/1.6 var(--body); color: var(--text); background: var(--bg); min-height: 100vh; display: flex; flex-direction: column; }
main { flex: 1 0 auto; padding-bottom: clamp(3rem, 6vw, 5rem); }
::selection { background: var(--maiz); color: var(--tinta); }
img, picture, video, svg { max-width: 100%; }
a[href], button:not(:disabled), summary, select, label[for] { cursor: pointer; }
button:disabled { cursor: not-allowed; opacity: 0.55; }
a { color: var(--accent); text-underline-position: from-font; text-decoration-thickness: from-font; text-underline-offset: 0.2em; }
a:hover { color: var(--accent-hover); }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; scroll-margin-top: 5.5rem; scroll-margin-bottom: 3rem; }
#contenido:focus { outline: none; }
.skip { position: absolute; left: -999px; top: 0.5rem; background: var(--maiz); color: var(--tinta); padding: 0.6rem 1.1rem; font: 700 0.9375rem/1.2 var(--body); text-decoration: none; z-index: 50; }
.skip:focus { left: 1rem; }
.wrap { max-width: 82rem; margin-inline: auto; padding-inline: var(--gutter); }

h1, h2 { font-family: var(--serif); font-style: normal; font-weight: 600; font-optical-sizing: auto; text-wrap: balance; }
h1 { font-size: clamp(2.35rem, 5.2vw, 4.1rem); line-height: 1.08; letter-spacing: 0.005em; }
h2 { font-size: clamp(1.6rem, 3vw, 2.35rem); line-height: 1.16; letter-spacing: 0.005em; margin-bottom: 0.75rem; }
h1 em, h2 em { font-style: italic; font-weight: 500; color: var(--hl); }
h3 { font: 700 1.125rem/1.3 var(--body); letter-spacing: -0.005em; text-wrap: balance; }
p, li, dd, figcaption { text-wrap: pretty; }
.lede { color: var(--text-secondary); font-size: clamp(1.0625rem, 1.45vw, 1.22rem); line-height: 1.55; max-width: 56ch; margin-top: 0.9rem; }
.muted { color: var(--muted); }
.nw { white-space: nowrap; }
.arrow { flex: 0 0 auto; display: inline-block; vertical-align: middle; }
a[href^="https://"] > .arrow { transform: rotate(-45deg); }
.num-prefix { font-family: var(--body); font-weight: 600; font-size: 0.72em; vertical-align: 0.08em; margin-inline-end: 0.06em; opacity: 0.85; }

.kicker { display: inline-flex; align-items: center; gap: 0.55rem; font: 700 0.9375rem/1.1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }
.kicker::before { content: ""; width: 1.25rem; height: 2px; background: currentColor; flex-shrink: 0; }

.byline { display: flex; flex-wrap: wrap; align-items: baseline; gap: 0.25rem 0.55rem; margin-top: 0.85rem; color: var(--muted); font-size: 0.875rem; font-variant-numeric: tabular-nums; }
.byline a { color: var(--text); font-weight: 600; text-decoration: none; }
.byline a:hover { color: var(--accent); text-decoration: underline; }
.byline span[aria-hidden="true"] { color: var(--accent); opacity: 0.75; }

/* --- Shared Buttons & Links --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 0.55rem; min-height: 44px; padding: 0.65rem 1.35rem; border: 1.5px solid var(--text); border-radius: 2px; background: transparent; color: var(--text); font: 700 0.9375rem/1.2 var(--body); text-decoration: none; white-space: nowrap; }
.btn:hover { background: var(--text); color: var(--bg); }
.btn.gold { background: var(--maiz); border-color: var(--maiz); color: var(--tinta); }
.btn.gold:hover { background: var(--maiz-bright); border-color: var(--maiz-bright); color: var(--tinta); }
.text-link { display: inline-flex; align-items: center; gap: 0.42rem; min-height: 44px; color: var(--accent); font: 700 0.9375rem/1.2 var(--body); text-decoration: underline; text-decoration-color: var(--link-line); text-decoration-thickness: 1.5px; text-underline-offset: 0.28em; }
.text-link:hover { color: var(--accent-hover); text-decoration-color: currentColor; }
.text-link .arrow { width: 15px; height: 15px; }
.social { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 1.25rem; }

@media (prefers-reduced-motion: no-preference) {
  .btn, .story-button, .mast-menu summary, .lang-switch, .theme-toggle, .text-link { transition: transform 160ms var(--ease-out), background-color 160ms ease, color 160ms ease, border-color 160ms ease, text-decoration-color 160ms ease; }
  .btn:active, .story-button:active, .mast-menu summary:active, .lang-switch:active, .theme-toggle:active { transform: scale(0.975); }
}

/* --- Masthead (Compact Broadsheet Header + Working Theme Toggle) --- */
.masthead { border-top: 4px solid var(--mast-top); border-bottom: 1px solid var(--rule-strong); box-shadow: 0 3px 0 0 var(--bg), 0 4px 0 0 var(--line); position: relative; z-index: 10; background: var(--bg); }
.mast-inner { display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.75rem); min-height: 72px; }
.mast-brand { display: inline-flex; align-items: center; margin-inline-end: auto; line-height: 0; flex-shrink: 0; }
.mast-brand img { display: block; width: clamp(9.5rem, 14.5vw, 12.25rem); height: auto; }
.mast-brand .logo-dark { display: none; }
:root[data-theme="dark"] .mast-brand .logo-light { display: none; }
:root[data-theme="dark"] .mast-brand .logo-dark { display: block; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .mast-brand .logo-light { display: none; }
  :root:not([data-theme="light"]) .mast-brand .logo-dark { display: block; }
}

.mast-nav { display: flex; align-items: center; gap: clamp(0.85rem, 2vw, 2.1rem); }
.mast-nav a, .mast-menu nav a { display: inline-flex; align-items: center; min-height: 44px; padding: 0; color: var(--text); font-size: 0.9375rem; font-weight: 600; text-decoration: none; position: relative; }
.mast-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0.55rem; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
@media (prefers-reduced-motion: no-preference) { .mast-nav a::after { transition: transform 200ms var(--ease-out); } }
.mast-nav a:hover, .mast-nav a[aria-current] { color: var(--accent); }
.mast-nav a:hover::after, .mast-nav a[aria-current]::after { transform: scaleX(1); }

.mast-actions { display: flex; align-items: center; gap: 0.45rem; flex-shrink: 0; }
.lang-switch { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; padding-inline: 0.75rem; border: 1px solid var(--line); border-radius: 2px; background: transparent; color: var(--text); font: 700 0.875rem/1 var(--body); text-decoration: none; white-space: nowrap; }
.lang-switch:hover { border-color: var(--accent); color: var(--accent); background: var(--surface-warm); }
.theme-toggle { display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 2px; background: transparent; color: var(--text); padding: 0; }
.theme-toggle:hover { border-color: var(--accent); color: var(--accent); background: var(--surface-warm); }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
:root[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-toggle .icon-sun { display: block; }
  :root:not([data-theme="light"]) .theme-toggle .icon-moon { display: none; }
}

.mast-menu { display: none; }
.mast-menu summary { display: inline-flex; align-items: center; gap: 0.6rem; border: 1px solid var(--rule-strong); border-radius: 2px; padding-inline: 0.9rem; min-height: 44px; color: var(--text); background: transparent; font: 700 0.875rem/1 var(--body); list-style: none; }
.mast-menu summary::-webkit-details-marker { display: none; }
.mast-menu summary:hover, .mast-menu[open] summary { background: var(--text); color: var(--bg); }

@media (max-width: 58rem) {
  .mast-inner { min-height: 64px; }
  .mast-nav { display: none; }
  .mast-menu { display: block; }
  .mast-menu nav { position: absolute; top: calc(100% + 1px); left: 0; right: 0; display: grid; padding: 0.5rem var(--gutter) 1rem; background: var(--surface); border-bottom: 2px solid var(--accent); box-shadow: var(--shadow-drawer); }
  .mast-menu nav a { padding-inline: 0.4rem; font-size: 1rem; }
  .mast-menu nav a + a { border-top: 1px solid var(--line); }
  .mast-menu nav a[aria-current] { color: var(--accent); font-weight: 700; }
  .mast-menu[open] nav { transition: opacity 180ms var(--ease-out), transform 180ms var(--ease-out); }
  @starting-style { .mast-menu[open] nav { opacity: 0; transform: translateY(-6px); } }
}
@media (max-width: 58rem) and (prefers-reduced-motion: reduce) {
  @starting-style { .mast-menu[open] nav { transform: none; } }
}
@media (max-width: 40rem) {
  .mast-inner { min-height: 60px; gap: 0.5rem; }
  .mast-brand img { width: clamp(7.2rem, 32vw, 9.1rem); }
  .lang-switch { padding-inline: 0.55rem; font-size: 0.8125rem; }
  .mast-menu summary { padding-inline: 0.65rem; gap: 0.4rem; }
}
@media (max-width: 22.5rem) {
  .mast-inner { padding-inline: 0.65rem; gap: 0.35rem; }
  .mast-brand img { width: clamp(5.8rem, 29vw, 7.2rem); }
  .mast-actions { gap: 0.25rem; }
  .lang-switch { padding-inline: 0.4rem; font-size: 0.75rem; }
  .mast-menu summary { padding-inline: 0.45rem; gap: 0.3rem; font-size: 0.78rem; }
}

/* --- Footer / Colophon --- */
.colofon { background: #281119; color: var(--crema); border-top: 3px solid var(--maiz); padding-block: clamp(2.25rem, 4.5vw, 3.25rem) 1.4rem; }
.colofon-main { display: grid; grid-template-columns: minmax(0, 2fr) repeat(2, minmax(0, 1fr)); gap: 2rem; padding-bottom: 2.25rem; }
.logo-pie { display: inline-block; line-height: 0; }
.logo-pie img { display: block; width: 12.25rem; height: auto; }
.colofon-tagline { margin-top: 1rem; max-width: 26ch; font: italic 500 1.35rem/1.28 var(--serif); color: var(--crema); }
.colofon nav h2 { font: 700 0.9375rem/1.2 var(--display); letter-spacing: 0.09em; text-transform: uppercase; color: var(--maiz); margin-bottom: 0.75rem; }
.colofon nav a { display: flex; width: fit-content; align-items: center; min-height: 44px; padding: 0.15rem 0; color: var(--crema); font-size: 0.9375rem; text-decoration: none; background: transparent; }
.colofon nav a:hover, .colofon nav a[aria-current] { color: var(--maiz); text-decoration: underline; text-underline-offset: 0.25em; }
.colofon nav a[aria-current] { font-weight: 600; }
.colofon-legal { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem 1.5rem; border-top: 1px solid rgba(246, 234, 204, 0.18); padding-top: 1rem; font-size: 0.8125rem; color: #D7C5B4; }
.colofon-legal nav { display: flex; flex-wrap: wrap; gap: 0 1.25rem; }
.colofon-legal nav a { display: inline-flex; align-items: center; min-height: 44px; color: inherit; font-size: 0.8125rem; }
@media (hover: hover) and (pointer: fine) { .colofon nav a, .colofon-legal nav a { min-height: 32px; } .colofon-main { padding-bottom: 1.75rem; } }
.colofon a:focus-visible, .cover a:focus-visible, .feature:focus-visible, .hhero a:focus-visible, .sabias a:focus-visible, .archivo-final a:focus-visible, .archivo-rondas summary:focus-visible { outline-color: var(--maiz); }
@media (max-width: 44rem) { .colofon-main { grid-template-columns: 1fr 1fr; gap: 1.75rem 1.5rem; } .colofon-main > div { grid-column: 1 / -1; } }

/* --- Shared Image Fill Helpers --- */
.feature-img { position: relative; }
.feature-img picture, .cover-photo picture, .hhero > picture { position: absolute; inset: 0; }
.feature-img img, .cover-photo picture img, .hhero > picture img { display: block; width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   FRONT PAGE (/)
   ========================================================================== */
.portada .main-in { padding-top: clamp(1.15rem, 2.5vw, 1.85rem); }

.cover { display: grid; grid-template-columns: minmax(0, 44%) minmax(0, 56%); background: linear-gradient(155deg, #6E2239 0%, #58182C 56%, #411120 100%); color: var(--crema); box-shadow: var(--shadow-editorial); }
.cover-copy { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding: clamp(1.85rem, 3.6vw, 3.25rem); min-width: 0; }
.cover-kicker { display: inline-flex; align-items: center; gap: 0.6rem; font: 700 0.9375rem/1 var(--display); letter-spacing: 0.09em; text-transform: uppercase; color: var(--maiz); margin-bottom: 1rem; }
.cover-kicker::before { content: ""; width: 1.35rem; height: 2px; background: var(--maiz); flex-shrink: 0; }
.cover h1 { margin: 0; font: 400 1rem/1 var(--body); }
.cover h1 strong { display: block; max-width: 11ch; font: 800 clamp(3.3rem, 6vw, 5.4rem)/0.93 var(--display); letter-spacing: -0.01em; text-transform: uppercase; color: #FAF2E1; text-wrap: balance; }
.cover h1 em { display: block; max-width: 21ch; margin-top: 0.75rem; font: italic 500 clamp(1.55rem, 2.6vw, 2.35rem)/1.1 var(--serif); letter-spacing: 0.005em; color: var(--maiz); text-wrap: balance; }
.cover-summary { margin-top: 1.15rem; max-width: 39ch; font-size: clamp(0.975rem, 1.25vw, 1.0625rem); line-height: 1.56; color: #F2E5CF; }
.cover-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 0.45rem; margin-top: 1.05rem; font-size: 0.875rem; color: #E2D1BD; font-variant-numeric: tabular-nums; }
.cover-byline a { color: var(--crema); font-weight: 700; text-decoration: none; }
.cover-byline a:hover { color: var(--maiz); text-decoration: underline; }
.cover-byline span[aria-hidden="true"] { color: var(--maiz); }
.story-button { display: inline-flex; align-items: center; gap: 0.9rem; min-height: 46px; margin-top: 1.5rem; padding: 0.68rem 1.3rem; border-radius: 2px; background: var(--maiz); color: var(--tinta); font: 700 0.9375rem/1.2 var(--body); text-decoration: none; }
.story-button:hover { background: var(--maiz-bright); color: var(--tinta); }
@media (prefers-reduced-motion: no-preference) { .story-button .arrow { transition: transform 200ms var(--ease-out); } .story-button:focus-visible .arrow { transform: translateX(4px); } }
@media (prefers-reduced-motion: no-preference) and (hover: hover) and (pointer: fine) { .story-button:hover .arrow { transform: translateX(4px); } }

.cover-photo { position: relative; min-width: 0; min-height: 29rem; margin: 0; background: #2C121B; }
.cover-photo figcaption { position: absolute; inset: auto 0 0; display: flex; flex-direction: column; align-items: flex-start; gap: 0.12rem; padding: 3.25rem 1.25rem 0.9rem; margin: 0; color: #FAF4E8; background: linear-gradient(180deg, transparent 0%, rgba(20, 12, 15, 0.72) 55%, rgba(20, 12, 15, 0.9) 100%); font-size: 0.8125rem; line-height: 1.38; }
.cover-photo figcaption strong { font-weight: 700; font-size: 0.875rem; }
.cover-photo figcaption a { color: #E7D9C6; text-decoration-color: rgba(231, 217, 198, 0.5); }
.cover-photo figcaption a:hover { color: var(--maiz); }

.cover-route { display: grid; grid-template-columns: auto repeat(3, minmax(0, 1fr)); align-items: stretch; background: var(--surface); border-top: 3px solid var(--maiz); border-bottom: 1px solid var(--rule-strong); border-inline: 1px solid var(--line); }
.route-title { display: flex; align-items: center; padding: 0.9rem 1.65rem 0.9rem 1.3rem; background: var(--surface-warm); font: italic 600 1.15rem/1.15 var(--serif); color: var(--text); }
.cover-route a { position: relative; display: flex; align-items: center; gap: 0.7rem; min-height: 50px; padding: 0.8rem 1.2rem; min-width: 0; border-inline-start: 1px solid var(--line); color: var(--text); font-size: 0.9375rem; font-weight: 600; text-decoration: none; }
.cover-route a::before { content: ""; position: absolute; inset: 0 0 auto; height: 2px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
@media (prefers-reduced-motion: no-preference) { .cover-route a { transition: background-color 160ms ease, color 160ms ease; } .cover-route a::before { transition: transform 200ms var(--ease-out); } }
.route-year { color: var(--accent); font: 700 1.32rem/1 var(--display); font-variant-numeric: tabular-nums; flex-shrink: 0; }
.route-place { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cover-route a:hover { background: var(--surface-hover); color: var(--accent); }
.cover-route a:hover::before { transform: scaleX(1); }

.news-desk { display: grid; grid-template-columns: minmax(0, 1.48fr) minmax(0, 1fr); gap: clamp(2rem, 4vw, 3.5rem); margin-block: clamp(2.5rem, 4.5vw, 3.75rem); align-items: start; }
.news-desk > section { min-width: 0; }
.desk-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; border-top: 3px solid var(--rule-strong); padding-top: 0.9rem; }
.desk-heading h2 { margin: 0; font-size: clamp(1.8rem, 2.9vw, 2.45rem); line-height: 1.08; }
.desk-heading a { display: inline-flex; align-items: center; min-height: 44px; font: 700 0.875rem/1 var(--body); color: var(--accent); text-decoration: underline; text-decoration-color: var(--link-line); text-underline-offset: 0.25em; white-space: nowrap; }
.desk-heading a:hover { color: var(--accent-hover); text-decoration-color: currentColor; }
.week-date { margin-top: 0.45rem; color: var(--muted); font-size: 0.875rem; font-weight: 600; }
.score-sheet { list-style: none; margin-top: 1.15rem; border-top: 1px solid var(--line); }
.score-sheet li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 0.7rem 1.25rem; padding: 0.9rem 0; border-bottom: 1px solid var(--line); }
.score-sheet strong { display: block; font: 700 1.0625rem/1.28 var(--body); color: var(--text); }
.score-sheet small { display: block; margin-top: 0.16rem; color: var(--muted); font-size: 0.875rem; }
.score-result { text-align: right; font: 700 0.875rem/1.2 var(--body); font-variant-numeric: tabular-nums; color: var(--accent); background: var(--surface-warm); border: 1px solid var(--line); border-radius: 2px; padding: 0.28rem 0.62rem; white-space: nowrap; }
.score-result.sin-partido { background: transparent; border-color: transparent; color: var(--muted); font-weight: 600; padding-inline: 0; }
.weekly > .text-link { margin-top: 0.65rem; }

.fact-sheet { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: clamp(1.35rem, 2.4vw, 1.9rem); }
.fact-sheet .desk-heading { border-top: 0; padding-top: 0; }
.fact-value { display: flex; align-items: baseline; gap: 0.9rem; margin-top: 1.25rem; padding-bottom: 1.1rem; border-bottom: 1px solid var(--line); }
.fact-value strong { color: var(--accent); font: 800 clamp(4.5rem, 7vw, 6.25rem)/0.86 var(--display); font-variant-numeric: tabular-nums; }
.fact-value span { max-width: 13ch; font: italic 500 clamp(1.28rem, 1.9vw, 1.6rem)/1.15 var(--serif); color: var(--text); }
.fact-sheet p { max-width: 44ch; margin-block: 1rem 0.45rem; color: var(--text-secondary); line-height: 1.6; }

.archivo-portada { display: flex; align-items: center; justify-content: space-between; gap: 1.25rem 2.25rem; flex-wrap: wrap; margin-bottom: clamp(2rem, 3.8vw, 3rem); padding: clamp(1.35rem, 2.6vw, 1.95rem) clamp(1.35rem, 2.8vw, 2.15rem); background: var(--surface-warm); border-top: 3px double var(--rule-strong); border-bottom: 1px solid var(--rule-strong); }
.archivo-portada-copy { max-width: 56ch; }
.archivo-portada h2 { margin: 0.4rem 0 0.35rem; font-size: clamp(1.6rem, 2.5vw, 2.1rem); color: var(--text); }
.archivo-portada p { color: var(--text-secondary); line-height: 1.55; }

.home-bottom { display: grid; grid-template-columns: minmax(0, 1.65fr) minmax(0, 1fr); gap: clamp(1.5rem, 3.2vw, 2.75rem); align-items: stretch; }
.founder { display: flex; align-items: center; gap: clamp(1.2rem, 2.5vw, 2rem); }
.founder-frame { flex: 0 0 auto; width: clamp(7.5rem, 13.5vw, 10rem); padding: 6px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-editorial); }
.founder img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.home-bottom h2 { margin: 0; font-size: clamp(1.6rem, 2.3vw, 2.1rem); line-height: 1.14; }
.home-bottom p { margin: 0.7rem 0 0.3rem; color: var(--text-secondary); font-size: 0.96875rem; line-height: 1.58; max-width: 44ch; }
.debate { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: clamp(1.4rem, 2.8vw, 2rem); background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--maiz); }
.debate .kicker { margin-bottom: 0.5rem; }
.debate .text-link { margin-top: 0.3rem; }

@media (max-width: 58rem) {
  .cover-copy { padding: 1.75rem; }
  .cover-photo { min-height: 25rem; }
  .route-title { padding-inline: 1rem; }
  .cover-route a { padding-inline: 0.85rem; gap: 0.5rem; }
  .news-desk { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 2rem; }
}
@media (max-width: 46rem) {
  .cover { grid-template-columns: 1fr; }
  .cover-photo { grid-row: 1; min-height: auto; aspect-ratio: 16 / 10; }
  .cover-photo figcaption { padding: 2.25rem 0.9rem 0.65rem; font-size: 0.75rem; }
  .cover-photo figcaption strong { font-size: 0.8125rem; }
  .cover-copy { padding: 1.5rem 1.35rem 1.75rem; }
  .cover h1 strong { max-width: none; font-size: clamp(2.8rem, 10.5vw, 3.9rem); }
  .cover h1 em { max-width: 24ch; margin-top: 0.5rem; font-size: clamp(1.45rem, 5.2vw, 1.95rem); }
  .cover-summary { margin-top: 0.9rem; }
  .cover-byline { margin-top: 0.85rem; }
  .story-button { margin-top: 1.2rem; }
  .cover-route { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .route-title { grid-column: 1 / -1; padding: 0.65rem 0.95rem; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .cover-route a { flex-direction: column; align-items: flex-start; gap: 0.25rem; padding: 0.68rem 0.75rem; font-size: 0.8125rem; }
  .cover-route a:first-of-type { border-inline-start: 0; }
  .route-year { font-size: 1.15rem; }
  .route-place { white-space: normal; line-height: 1.25; }
  .news-desk, .home-bottom { grid-template-columns: 1fr; }
  .news-desk { gap: 2.25rem; margin-block: 2.25rem; }
  .score-sheet li { grid-template-columns: 1fr; gap: 0.45rem; }
  .score-result { justify-self: start; text-align: left; }
  .archivo-portada { padding: 1.25rem 1.15rem; }
  .founder { align-items: flex-start; }
}
@media (max-width: 30rem) { .founder { flex-direction: column; } .founder-frame { width: 9rem; } }

/* ==========================================================================
   INTERIOR PAGES
   ========================================================================== */
.interior .main-in { padding-top: clamp(2rem, 4.5vw, 3.5rem); }
.interior .main-in > h1, .interior .main-in > article > h1 { max-inline-size: 22ch; }
.page-head { margin-bottom: clamp(1.5rem, 3vw, 2.25rem); }
.page-head .kicker, .interior article > .kicker { margin-bottom: 0.7rem; }

/* Filters (shown only when >1 topic exists) */
.interior .filtros { display: flex; flex-wrap: wrap; gap: 0.25rem 1.5rem; margin-block: 1.75rem 0.75rem; border-bottom: 1px solid var(--line); }
.interior .filtros a { display: inline-flex; align-items: center; min-height: 44px; padding: 0.45rem 0.15rem; border-bottom: 3px solid transparent; margin-bottom: -1px; color: var(--muted); font-size: 0.9375rem; font-weight: 600; text-decoration: none; }
.interior .filtros a:hover { color: var(--text); }
.interior .filtros a[aria-current="page"] { color: var(--accent); font-weight: 700; border-bottom-color: var(--accent); }
.topic-back { margin-bottom: 0.5rem; }

/* Grids & Editorial Cards */
.interior .grid { display: grid; gap: clamp(1.4rem, 2.8vw, 2.1rem); grid-template-columns: repeat(auto-fit, minmax(min(100%, 19rem), 1fr)); margin-top: 2rem; }
.interior .grid.grid-single { grid-template-columns: minmax(0, 48rem); }
.interior .card { min-inline-size: 0; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: 1.5rem 1.5rem 1.25rem; display: flex; flex-direction: column; gap: 0.65rem; }
.interior .card h2 { max-inline-size: 30ch; font-size: clamp(1.375rem, 2.3vw, 1.75rem); line-height: 1.18; margin-bottom: 0.1rem; }
.interior .card .muted { max-inline-size: 56ch; line-height: 1.55; }
.interior .card .more { align-self: flex-start; display: inline-flex; align-items: center; gap: 0.4rem; min-height: 44px; margin-top: auto; font: 700 0.9375rem/1.2 var(--body); color: var(--accent); text-decoration: underline; text-decoration-color: var(--link-line); text-underline-offset: 0.25em; }
.interior .card .more:hover { color: var(--accent-hover); text-decoration-color: currentColor; }
.ticos-roster { display: flex; flex-wrap: wrap; gap: 0.4rem 0.55rem; list-style: none; margin-top: 0.35rem; }
.ticos-roster li { font-size: 0.875rem; font-weight: 600; color: var(--text); background: var(--surface-warm); border: 1px solid var(--line); border-radius: 2px; padding: 0.22rem 0.6rem; }

.big { font: 800 clamp(3.5rem, 8.5vw, 5.75rem)/0.9 var(--display); color: var(--accent); font-variant-numeric: tabular-nums; }
.big small { display: block; margin-top: 0.4rem; font: italic 500 1.15rem/1.25 var(--serif); color: var(--text); }
.interior .empty { margin-top: 2rem; padding: 1.4rem 0; border-top: 1px solid var(--line); color: var(--muted); }

/* Historias Index Feature */
.interior .feature { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr); margin-top: 1.75rem; background: linear-gradient(155deg, #6E2239 0%, #521629 100%); color: var(--crema); text-decoration: none; box-shadow: var(--shadow-editorial); }
.interior .feature-img { min-height: 21rem; background-color: #2C121B; }
.interior .feature .txt { display: flex; flex-direction: column; justify-content: center; gap: 0.8rem; padding: clamp(1.65rem, 3.4vw, 3rem); }
.interior .feature h2 { margin: 0; font-size: clamp(1.8rem, 3.2vw, 2.65rem); line-height: 1.08; color: #FAF2E1; }
.interior .feature h2 em { color: var(--maiz); }
.interior .feature .byline { margin: 0; color: #E2D1BD; }
.interior .feature .byline span[aria-hidden="true"] { color: var(--maiz); }
.interior .feature p { color: #F2E5CF; line-height: 1.56; }
.interior .feature .more { display: inline-flex; align-items: center; gap: 0.45rem; margin-top: 0.35rem; font-weight: 700; color: var(--maiz); }
.interior .feature:hover .more { text-decoration: underline; text-underline-offset: 0.25em; }
.interior .feature .cred { display: block; margin-top: 0.45rem; font-size: 0.8125rem; line-height: 1.35; color: #DFCBB9; }
@media (max-width: 48rem) { .interior .feature { grid-template-columns: 1fr; } .interior .feature-img { min-height: 14.5rem; } }

/* Story Article Hero, Sticky Route & Ticket Stubs */
.interior .hhero { position: relative; min-height: min(68svh, 39rem); display: flex; align-items: flex-end; background-color: #2B1019; color: var(--crema); border-bottom: 4px solid var(--maiz); }
.interior .hhero::before {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(95deg, rgba(36, 11, 20, 0.9) 0%, rgba(36, 11, 20, 0.62) 44%, rgba(36, 11, 20, 0.08) 76%),
    linear-gradient(180deg, rgba(28, 10, 17, 0.14) 0%, rgba(36, 11, 20, 0.18) 45%, rgba(42, 12, 22, 0.94) 100%);
}
.interior .hhero .wrap, .interior .hhero .cred { position: relative; z-index: 2; }
.interior .hhero .wrap { display: flex; flex-direction: column; align-items: flex-start; width: 100%; padding-block: 5rem clamp(2rem, 4vw, 3.1rem); }
.interior .hhero .kicker { color: var(--maiz); margin-bottom: 0.75rem; }
.interior .hhero h1 { max-width: 17ch; color: #FAF2E1; font-size: clamp(2.15rem, 4.4vw, 3.65rem); line-height: 1.05; }
.interior .hhero h1 em { color: var(--maiz); }
.interior .hhero .lede { max-width: 46ch; color: #F4E9D6; }
.interior .hhero .byline { margin-top: 1rem; color: #E2D1BD; }
.interior .hhero .byline a { color: var(--crema); }
.interior .hhero .byline span[aria-hidden="true"] { color: var(--maiz); }
.interior .hhero .cred { position: absolute; right: var(--gutter); bottom: 0.9rem; max-width: min(60%, 32rem); padding: 0.28rem 0.6rem; background: rgba(24, 14, 18, 0.84); color: var(--crema); font-size: 0.75rem; line-height: 1.35; }
.interior .hhero .cred a { color: inherit; text-decoration-color: rgba(246, 234, 204, 0.55); }
.interior .hhero + .main-in { padding-top: 0; }

.interior nav.ruta-nav { position: sticky; top: 0; z-index: 8; display: flex; gap: 0; overflow-x: auto; background: var(--bg); border-bottom: 1px solid var(--line); padding-top: 0.35rem; scrollbar-width: thin; scrollbar-color: var(--line) transparent; }
.interior .ruta-nav a { position: relative; flex: 1 0 auto; display: flex; flex-direction: column; justify-content: center; gap: 0.12rem; min-height: 50px; padding: 0.45rem 0.95rem 0.7rem; border-inline-start: 1px solid var(--line); color: var(--muted); font-size: 0.875rem; font-weight: 600; text-decoration: none; white-space: nowrap; }
.interior .ruta-nav a:first-child { border-inline-start: 0; padding-inline-start: 0.2rem; }
.interior .ruta-nav b { font: 700 1.2rem/1 var(--display); color: var(--accent); font-variant-numeric: tabular-nums; }
.interior .ruta-nav a::after { content: ""; position: absolute; left: 0.75rem; right: 0.75rem; bottom: -1px; height: 3px; background: var(--accent); transform: scaleX(0); transform-origin: left; }
.interior .ruta-nav a:first-child::after { left: 0.2rem; }
.interior .ruta-nav a:hover, .interior .ruta-nav a[aria-current] { color: var(--text); }
.interior .ruta-nav a[aria-current]::after { transform: scaleX(1); }
@media (prefers-reduced-motion: no-preference) { .interior .ruta-nav a { transition: color 160ms ease; } .interior .ruta-nav a::after { transition: transform 240ms var(--ease-out); } }

ol.ruta { list-style: none; }
.interior .parada { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(0, 1fr); gap: clamp(1.6rem, 4vw, 3.75rem); align-items: center; padding-block: clamp(2rem, 3.8vw, 3.15rem); border-top: 1px solid var(--line); scroll-margin-top: 4.5rem; }
.interior .parada:first-child { border-top: 0; }
.interior .parada:nth-child(even) figure { order: 2; }
.interior .parada figure { min-inline-size: 0; }
.interior .parada figure img { display: block; width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; background: var(--surface-warm); }
.interior .parada figure.print { max-width: 19rem; justify-self: center; background: #FAF2E1; padding: 0.7rem 0.7rem 0.95rem; border: 1px solid rgba(34, 23, 26, 0.14); transform: rotate(-1.5deg); box-shadow: var(--shadow-editorial); }
.interior .parada figure.print img { aspect-ratio: auto; }
.interior .parada figure.print figcaption { margin-top: 0.7rem; color: #4E3E42; }
.interior .parada figure.print figcaption a { color: var(--guinda); }
figcaption { font-size: 0.8125rem; line-height: 1.45; color: var(--muted); margin-top: 0.55rem; }

.stub {
  display: inline-flex; align-items: center; gap: 0.8rem; padding: 0.42rem 1.15rem;
  font: 700 1.32rem/1.1 var(--display); letter-spacing: 0.03em; text-transform: uppercase; font-variant-numeric: tabular-nums;
  background: var(--bermellon); color: var(--tinta);
  -webkit-mask-image: radial-gradient(circle 6px at 0 50%, transparent 98%, #000 100%), radial-gradient(circle 6px at 100% 50%, transparent 98%, #000 100%);
  -webkit-mask-composite: source-in;
  mask-image: radial-gradient(circle 6px at 0 50%, transparent 98%, #000 100%), radial-gradient(circle 6px at 100% 50%, transparent 98%, #000 100%);
  mask-composite: intersect;
}
.stub.s1 { background: var(--maiz); color: var(--tinta); }
.stub.s2 { background: var(--stub-s2-bg); color: var(--stub-s2-fg); }
.stub i { align-self: stretch; border-inline-start: 2px dashed currentColor; opacity: 0.55; }

.interior .parada h2 { margin: 0.9rem 0 0.75rem; max-width: 21ch; font-size: clamp(1.75rem, 3.1vw, 2.45rem); line-height: 1.1; }
.interior .parada .txt > p:not(.fuentes-mini) { margin-top: 0.75rem; max-width: 54ch; font-size: 1.0625rem; line-height: 1.68; color: var(--text-secondary); }
.interior .parada .fuentes-mini, .interior .fuentes { margin-top: 1.25rem; padding-top: 0.85rem; border-top: 1px solid var(--line); font-size: 0.875rem; line-height: 1.55; color: var(--muted); }
.interior .fuentes h2, .interior .compartir h2 { margin: 0 0 0.4rem; font: 700 0.9375rem/1.2 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text); }
.interior .dato .fuentes { margin-top: 1.75rem; padding: 1rem 1.15rem 1.1rem; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); font-size: 0.9375rem; color: var(--text-secondary); }
.interior .compartir { display: flex; flex-wrap: wrap; align-items: center; gap: 0.6rem; margin-top: 1.5rem; }
.interior .compartir h2 { margin: 0 0.4rem 0 0; color: var(--muted); }
.interior .compartir .btn { padding-inline: 1rem; border-width: 1px; font-size: 0.875rem; }
@media (max-width: 30rem) { .interior .compartir h2 { flex-basis: 100%; } }
.interior .fuentes ul { margin: 0.35rem 0 0 1.25rem; }
.interior .fuentes li + li { margin-top: 0.25rem; }
.interior .fuentes a, .interior .fuentes-mini a { overflow-wrap: anywhere; }
@media (max-width: 50rem) {
  .interior .parada { grid-template-columns: 1fr; gap: 1.4rem; padding-block: 2rem; }
  .interior .parada:nth-child(even) figure { order: 0; }
  .interior .ruta-nav { scroll-snap-type: x proximity; }
  .interior .ruta-nav a { scroll-snap-align: start; }
}
@media (max-width: 42rem) {
  .interior .hhero { min-height: min(72svh, 33rem); }
  .interior .hhero .wrap { padding-block: 4rem 3.25rem; }
  .interior .hhero .cred { right: var(--gutter); bottom: 0.6rem; max-width: calc(100% - 2 * var(--gutter)); }
}

/* Individual Dato Article */
.interior article.dato { max-inline-size: 46rem; }
.interior .dato-hero { display: flex; align-items: baseline; flex-wrap: wrap; gap: 0.4rem 1.1rem; padding-bottom: 1.1rem; border-bottom: 2px solid var(--rule-strong); }
.interior .dato-hero strong { font: 800 clamp(4.25rem, 8vw, 6.25rem)/0.86 var(--display); color: var(--accent); font-variant-numeric: tabular-nums; }
.interior .dato-hero span { font: italic 500 clamp(1.3rem, 2.2vw, 1.75rem)/1.2 var(--serif); color: var(--text); }
.interior .dato > h1 { margin-top: 1.25rem; max-inline-size: 24ch; font-size: clamp(1.95rem, 4vw, 2.95rem); line-height: 1.1; }
.interior .dato > p:not(.byline) { margin-top: 1.05rem; max-inline-size: 60ch; font-size: 1.0625rem; line-height: 1.7; color: var(--text-secondary); }

/* Share Box & Related Readings */
.interior .sabias { margin-top: 2.25rem; padding: clamp(1.4rem, 3vw, 2.15rem); background: linear-gradient(155deg, #6E2239 0%, #521629 100%); color: var(--crema); border-bottom: 3px solid var(--maiz); }
.interior .sabias h2 { color: var(--maiz); margin-bottom: 0.4rem; }
.interior .sabias p { color: #F2E5CF; margin-top: 0; max-width: 52ch; }
.interior .sabias .btn { border-color: var(--crema); color: var(--crema); }
.interior .sabias .btn:hover { background: var(--crema); color: var(--tinta); }
.interior .sabias .btn.gold { border-color: var(--maiz); color: var(--tinta); }

.interior .lecturas { margin-top: clamp(2.5rem, 5vw, 4rem); padding-top: 1.1rem; border-top: 3px solid var(--rule-strong); }
.interior .dato + .lecturas { max-width: 46rem; }
.interior .lecturas h2 { margin-bottom: 1.1rem; font-size: clamp(1.6rem, 2.5vw, 2.1rem); }
.interior .lecturas ul { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); gap: 1.15rem 2.25rem; }
.interior .lecturas li { min-inline-size: 0; border-bottom: 1px solid var(--line); }
.interior .lecturas a { display: flex; flex-direction: column; gap: 0.3rem; min-block-size: 44px; height: 100%; padding: 0.2rem 0 0.9rem; color: var(--text); font: 600 clamp(1.1rem, 1.55vw, 1.28rem)/1.28 var(--serif); text-decoration: none; }
.interior .lecturas a:hover { color: var(--accent); }
.interior .lecturas a:hover span { text-decoration: underline; text-underline-offset: 0.22em; }
.interior .lecturas small { font: 700 0.875rem/1.1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; color: var(--accent); }

/* Ticos Weekly Table */
.interior .tablewrap { margin-top: 2rem; overflow-x: auto; }
.interior .tablewrap table { width: 100%; border-collapse: collapse; font-size: 1rem; font-variant-numeric: tabular-nums; }
.interior .tablewrap th { text-align: left; padding: 0.85rem 1rem; background: var(--table-head-bg); color: var(--table-head-fg); border-bottom: 2px solid var(--table-head-border); font: 700 0.9375rem/1.1 var(--display); letter-spacing: 0.08em; text-transform: uppercase; }
.interior .tablewrap td { padding: 1rem; border-bottom: 1px solid var(--line); vertical-align: top; line-height: 1.52; }
.interior .tablewrap tbody tr:hover { background: var(--surface); }
.interior .tablewrap td:first-child { color: var(--accent); font-weight: 700; }
.interior .tablewrap td[data-l="Partido"] { font-weight: 600; white-space: nowrap; }
@media (max-width: 44rem) {
  .interior .tablewrap table, .interior .tablewrap tbody, .interior .tablewrap tr, .interior .tablewrap td { display: block; width: 100%; }
  .interior .tablewrap thead { position: absolute; left: -9999px; }
  .interior .tablewrap tr { background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--accent); padding: 1rem 1.15rem; margin-bottom: 1rem; }
  .interior .tablewrap td { border: 0; padding: 0.35rem 0; display: grid; grid-template-columns: 6rem minmax(0, 1fr); gap: 0.65rem; }
  .interior .tablewrap td[data-l="Partido"] { white-space: normal; }
  .interior .tablewrap td::before { content: attr(data-l); font: 700 0.875rem/1.2 var(--display); letter-spacing: 0.06em; text-transform: uppercase; color: var(--muted); padding-top: 0.1rem; }
  .interior .tablewrap td:first-child { display: block; font: 600 1.45rem/1.2 var(--serif); padding-bottom: 0.45rem; margin-bottom: 0.35rem; border-bottom: 1px solid var(--line); }
  .interior .tablewrap td:first-child::before { content: none; }
}

/* Archivo Histórico */
.archivo-apertura { display: grid; grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); align-items: center; gap: clamp(2rem, 5vw, 4.75rem); }
.archivo-intro .kicker { margin-bottom: 0.75rem; }
.archivo-intro h1 { font-size: clamp(2.75rem, 5.4vw, 4.5rem); line-height: 1.03; }
.archivo-intro h1 em { display: block; }
.archivo-intro .lede { max-width: 44ch; }
.archivo-intro .text-link { margin-top: 0.8rem; }
.archivo-final { padding: clamp(1.6rem, 3.2vw, 2.65rem); background: linear-gradient(155deg, #6E2239 0%, #4E1527 100%); color: var(--crema); border-bottom: 4px solid var(--maiz); box-shadow: var(--shadow-editorial); }
.archivo-final .kicker { color: var(--maiz); margin-bottom: 0.65rem; }
.archivo-final h2 { margin-bottom: 0.5rem; font-size: clamp(1.75rem, 2.7vw, 2.4rem); color: #FAF2E1; }
.archivo-final > p:not(.archivo-duelo) { max-width: 44ch; font-size: 0.96875rem; color: #F2E5CF; }
.archivo-duelo { display: flex; align-items: baseline; justify-content: center; flex-wrap: wrap; gap: 0.3rem 0.8rem; margin: 1.35rem 0 0.8rem; padding: 0.9rem 0; border-block: 1px solid rgba(246, 234, 204, 0.28); }
.archivo-duelo strong { color: #FAF2E1; font: 800 clamp(2.35rem, 4.2vw, 4.1rem)/1 var(--display); letter-spacing: 0.01em; text-transform: uppercase; }
.archivo-duelo em { font: italic 500 clamp(1.3rem, 2.1vw, 1.9rem)/1 var(--serif); color: var(--maiz); }
.archivo-final-ficha { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 0.3rem 1rem; font-size: 0.875rem; color: #E2D1BD; font-variant-numeric: tabular-nums; }
.archivo-final-ficha b, .archivo-final .text-link { color: var(--maiz); }
.archivo-final .text-link { margin-top: 0.6rem; text-decoration-color: rgba(249, 188, 70, 0.45); }
.archivo-final .text-link:hover { color: var(--maiz-bright); text-decoration-color: currentColor; }
.archivo-rondas { margin-top: 0.55rem; border-top: 1px solid rgba(246, 234, 204, 0.24); }
.archivo-rondas summary { display: inline-flex; align-items: center; gap: 0.55rem; min-height: 44px; color: var(--crema); font: 700 0.875rem/1.2 var(--body); list-style: none; }
.archivo-rondas summary::-webkit-details-marker { display: none; }
.archivo-rondas summary::before { content: "+"; display: inline-flex; align-items: center; justify-content: center; width: 1.2rem; height: 1.2rem; border: 1px solid rgba(249, 188, 70, 0.65); color: var(--maiz); font: 700 1rem/1 var(--display); }
.archivo-rondas[open] summary::before { content: "−"; }
.archivo-rondas ol { padding: 0.35rem 0 0.25rem 1.45rem; }
.archivo-rondas li::marker { color: var(--maiz); font-weight: 700; }
.archivo-rondas a { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 44px; color: var(--crema); font-size: 0.9375rem; }
.archivo-rondas .arrow { width: 14px; height: 14px; }

.archivo-ranking { margin-top: clamp(2.5rem, 5vw, 4.25rem); border-top: 3px solid var(--rule-strong); padding-top: 1.2rem; }
.archivo-ranking h2 { width: fit-content; margin-bottom: 0.6rem; font-size: clamp(1.9rem, 3.2vw, 2.75rem); scroll-margin: 1.5rem; }
.archivo-ranking > p { max-width: 68ch; color: var(--muted); }
.archivo-lista { list-style: none; margin: 1.5rem 0 0; }
.archivo-lista li { display: grid; grid-template-columns: minmax(2.25rem, 3.4rem) minmax(0, 1fr) auto; align-items: center; gap: 0.5rem clamp(0.85rem, 2.2vw, 1.75rem); padding: 0.95rem 0.5rem; border-top: 1px solid var(--line); }
.archivo-lista li:last-child { border-bottom: 1px solid var(--line); }
.archivo-lista li:hover { background: var(--surface); }
.archivo-puesto { color: var(--accent); font: 700 clamp(1.35rem, 2.1vw, 1.65rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.archivo-nota a, .archivo-nota strong { color: var(--text); font: 700 clamp(1rem, 1.45vw, 1.15rem)/1.35 var(--body); }
.archivo-nota a { display: inline-flex; align-items: center; gap: 0.35rem; min-height: 44px; text-decoration: none; }
.archivo-nota a:hover { color: var(--accent); text-decoration: underline; text-underline-offset: 0.2em; }
.archivo-nota .arrow { color: var(--accent); width: 14px; height: 14px; flex-shrink: 0; }
.archivo-traduccion { color: var(--text-secondary); font-size: 0.9375rem; font-style: italic; line-height: 1.4; margin-top: 0.12rem; }
.archivo-meta { color: var(--muted); font-size: 0.8125rem; margin-top: 0.15rem; }
.archivo-cuenta { text-align: end; white-space: nowrap; min-width: 5.5rem; }
.archivo-cuenta b { display: block; color: var(--accent); font: 700 clamp(1.45rem, 2.3vw, 1.95rem)/1 var(--display); font-variant-numeric: tabular-nums; }
.archivo-cuenta small { display: block; color: var(--muted); font-size: 0.75rem; margin-top: 0.16rem; }
.archivo-bar { display: block; height: 3px; width: 100%; margin-top: 0.38rem; background: var(--line); overflow: hidden; }
.archivo-bar i { display: block; height: 100%; width: var(--pct, 0%); margin-inline-start: auto; background: var(--accent); }
.archivo-actual { margin-top: 1.5rem; color: var(--text-secondary); }
@media (max-width: 50rem) { .archivo-apertura { grid-template-columns: 1fr; gap: 1.75rem; } .archivo-intro h1 em { display: inline; } .archivo-final { max-width: 38rem; } }
@media (max-width: 34rem) { .archivo-lista li { grid-template-columns: 1.75rem minmax(0, 1fr) auto; padding-inline: 0; } .archivo-cuenta { min-width: 4.5rem; } }

/* Nosotros */
.interior .quien.grande { display: grid; grid-template-columns: minmax(0, 18.5rem) minmax(0, 1fr); gap: clamp(2rem, 4.8vw, 4.25rem); align-items: center; margin-bottom: 2.5rem; }
.interior .quien-frame { padding: 8px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-editorial); }
.interior .quien.grande img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.interior .quien.grande .kicker { margin-bottom: 0.7rem; }
.interior .quien-extra { margin-top: 1.1rem; padding-top: 1rem; border-top: 1px solid var(--line); max-width: 56ch; color: var(--text-secondary); font-size: 0.98rem; line-height: 1.55; }
.interior .cifras { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 2.25rem; background: var(--surface); border: 1px solid var(--line); border-top: 3px solid var(--rule-strong); }
.interior .cifra { padding: 1.3rem 1.2rem; border-inline-end: 1px solid var(--line); }
.interior .cifra:last-child { border-inline-end: 0; }
.interior .cifra b { display: block; font: 800 clamp(2.2rem, 4.2vw, 3.15rem)/0.98 var(--display); color: var(--accent); font-variant-numeric: tabular-nums; }
.interior .cifra > span { display: block; font: 600 0.9375rem/1.3 var(--body); color: var(--text-secondary); margin-top: 0.42rem; }
.interior .cifras-nota { font-size: 0.8125rem; color: var(--muted); margin-top: 0.6rem; }
.interior .section-title { margin-top: clamp(2.5rem, 4.5vw, 3.5rem); }
.interior .reglas .num { display: block; font: 700 1.3rem/1 var(--display); color: var(--accent); font-variant-numeric: tabular-nums; }
.interior .banda { display: flex; flex-wrap: wrap; gap: 1.25rem 2rem; align-items: center; justify-content: space-between; margin-top: clamp(2.5rem, 4.5vw, 3.5rem); padding: clamp(1.4rem, 2.8vw, 2.1rem); background: var(--surface-warm); border: 1px solid var(--line); border-top: 3px solid var(--maiz); }
.interior .banda h2 { margin: 0 0 0.25rem; }
.interior .banda p { color: var(--text-secondary); }
@media (max-width: 50rem) {
  .interior .quien.grande { grid-template-columns: 1fr; }
  .interior .quien-frame { max-width: 17.5rem; }
  .interior .cifras { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .interior .cifra:nth-child(2) { border-inline-end: 0; }
  .interior .cifra:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
}

/* Trabajemos Juntos (Media Kit) */
.interior .propuesta { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: clamp(2rem, 4.8vw, 4.5rem); }
.propuesta-copy .kicker { margin-bottom: 0.75rem; }
.propuesta-copy h1 { max-width: 14ch; font-size: clamp(2.6rem, 5vw, 4.45rem); line-height: 1.04; }
.propuesta-copy h1 em { display: block; }
.propuesta-copy .lede { margin-top: 1.1rem; max-width: 46ch; }
.interior .kit-contact { display: flex; align-items: center; gap: 0.5rem 1.4rem; flex-wrap: wrap; margin-top: 1.4rem; }
.contact-handle { color: var(--muted); font-size: 0.875rem; margin-top: 0.6rem; }
.contact-handle a { color: inherit; }
.muestra { justify-self: end; width: min(100%, 19rem); margin: 0; }
.muestra video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: #1B0E12; border-bottom: 4px solid var(--maiz); box-shadow: var(--shadow-editorial); }
.muestra video:focus-visible { outline: 3px solid var(--maiz); outline-offset: 3px; }
.muestra figcaption { margin-top: 0.75rem; color: var(--muted); font-size: 0.875rem; line-height: 1.5; }
.muestra figcaption strong { color: var(--text); }
.muestra-notas { margin-top: 0.6rem; color: var(--muted); }
.muestra-notas summary { display: flex; width: fit-content; max-width: 100%; align-items: center; gap: 0.5rem; margin-inline-start: auto; min-height: 44px; color: var(--accent); font: 700 0.875rem/1.2 var(--body); list-style: none; }
.muestra-notas summary::-webkit-details-marker { display: none; }
.muestra-notas summary::before { content: "+"; display: inline-flex; align-items: center; justify-content: center; width: 1.2rem; height: 1.2rem; border: 1px solid var(--accent); font: 700 1rem/1 var(--display); }
.muestra-notas[open] summary::before { content: "−"; }
.muestra-notas summary:hover { text-decoration: underline; text-underline-offset: 0.25em; }
.muestra-notas > div { display: grid; grid-template-columns: 1fr 1fr; gap: 2.25rem; border-top: 1px solid var(--line); padding: 1.4rem 0 0.5rem; }
.muestra-notas h2 { font-size: 1.45rem; color: var(--text); }
.muestra-notas p, .muestra-notas li { font-size: 0.9375rem; line-height: 1.65; color: var(--text-secondary); }
.muestra-notas p + p, .muestra-notas ul { margin-top: 0.65rem; }
.muestra-notas ul { padding-left: 1.2rem; }

.kit-datos { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(2rem, 4.8vw, 4.5rem); margin-top: 3rem; }
.kit-datos > section { padding-top: 0.95rem; border-top: 3px solid var(--rule-strong); }
.kit-datos .kit-audiencia { border-color: var(--accent); }
.kit-datos h2 { font-size: clamp(1.8rem, 2.8vw, 2.45rem); }
.kit-detalle dl > div { padding: 0.95rem 0; border-bottom: 1px solid var(--line); }
.kit-detalle dt { font-size: 1.0625rem; font-weight: 700; color: var(--text); }
.kit-detalle dd { margin-top: 0.3rem; max-width: 56ch; color: var(--text-secondary); line-height: 1.6; }
.kit-detalle .acuerdo { margin-top: 1rem; font-size: 0.875rem; }
.kit-seguidores { list-style: none; font-variant-numeric: tabular-nums; }
.kit-seguidores li { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: baseline; column-gap: 0.75rem; border-bottom: 1px solid var(--line); padding-block: 0.7rem; }
.kit-seguidores > li > span { grid-row: span 2; align-self: center; font-weight: 700; color: var(--text); }
.kit-seguidores strong { color: var(--accent); font: 800 2.1rem/0.95 var(--display); text-align: right; }
.kit-seguidores small { text-align: right; color: var(--muted); font-size: 0.8125rem; }
.kit-fecha { margin-top: 0.65rem; color: var(--muted); font-size: 0.8125rem; }
.kit-audiencia h3 { margin-top: 1.75rem; margin-bottom: 0.35rem; }
.interior .barra { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 0.35rem 0.75rem; padding: 0.6rem 0; border-bottom: 4px solid var(--line); font-weight: 600; }
.interior .barra b { position: static; grid-column: 2; text-align: right; color: var(--text); font: 700 1.15rem/1 var(--display); font-variant-numeric: tabular-nums; }
.interior .barra b::before { content: ""; position: absolute; left: 0; bottom: -4px; width: var(--w); height: 4px; background: var(--accent); }
.kit-cierre { margin-top: 3rem; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1.25rem; padding: clamp(1.4rem, 2.8vw, 2.25rem); background: var(--surface-warm); border: 1px solid var(--line); border-top: 3px solid var(--maiz); }
.kit-cierre h2 { margin-bottom: 0.25rem; }
.kit-cierre p { color: var(--text-secondary); }
.kit-cierre .btn { background: var(--kit-btn-bg); border-color: var(--kit-btn-bg); color: var(--kit-btn-fg); }
.kit-cierre .btn:hover { background: var(--kit-btn-hover); border-color: var(--kit-btn-hover); color: var(--kit-btn-fg); }
@media (max-width: 54rem) {
  .interior .propuesta { grid-template-columns: minmax(0, 1.12fr) minmax(0, 0.88fr); gap: 1.75rem; }
}
@media (max-width: 42rem) {
  .interior .propuesta, .kit-datos, .muestra-notas > div { grid-template-columns: 1fr; }
  .propuesta-copy h1 { font-size: clamp(2.4rem, 10vw, 3.5rem); }
  .muestra { justify-self: start; width: min(100%, 15rem); }
  .muestra-notas summary { margin-inline-start: 0; }
  .kit-datos { margin-top: 2rem; }
}

/* Reader Info Pages & 404 */
.interior .info-lectores { max-width: 62ch; }
.interior .info-lectores h1 { font-size: clamp(2.2rem, 4.2vw, 3.25rem); margin-bottom: 1.15rem; }
.interior .info-lectores h2 { margin: 2rem 0 0.55rem; font-size: clamp(1.4rem, 2.3vw, 1.8rem); }
.interior .info-lectores p { margin-block: 0.7rem; font-size: 1.0625rem; line-height: 1.7; color: var(--text-secondary); }
.not-found-actions { margin-top: 1.5rem; }
