@font-face {
  font-family: Bricolage;
  src: url('./fonts/bricolage.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}
@font-face {
  font-family: Manrope;
  src: url('./fonts/manrope.woff2') format('woff2');
  font-weight: 400 800;
  font-display: swap;
}

:root {
  --paper: #f6f7ee;
  --white: #fff;
  --pine: #173c31;
  --forest: #112c25;
  --ink: #172a23;
  --muted: #4a6056;
  --line: #d7ddce;
  --lime: #def2a9;
  --wash: #edf2e4;
  --heading: Bricolage, system-ui, sans-serif;
  --body: Manrope, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 500 1rem/1.65 var(--body); }
[hidden] { display: none !important; }
:focus-visible { outline: 3px solid #38805d; outline-offset: 4px; }
a { color: inherit; text-underline-offset: .24em; }
button, select, input { font: inherit; }
button { cursor: pointer; }
svg { width: 1.25rem; height: 1.25rem; flex: none; }
img { display: block; max-width: 100%; }
p, h1, h2, h3, figure { margin: 0; }
h1, h2, h3 { font-family: var(--heading); line-height: 1.06; letter-spacing: -.04em; font-weight: 800; }
h2 { font-size: clamp(2.15rem, 5vw, 3.9rem); }
section[id] { scroll-margin-block-start: 1.2rem; }
.frame { width: min(100% - clamp(2rem, 7vw, 7rem), 76rem); margin-inline: auto; }
.skip, .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.skip:focus { z-index: 4; width: auto; height: auto; clip-path: none; padding: .8rem 1rem; background: var(--lime); }

.top { border-bottom: 1px solid var(--line); }
.bar { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 1rem; min-height: 4.65rem; }
.brand { display: inline-block; width: clamp(9.5rem, 15vw, 11.5rem); max-width: 100%; vertical-align: middle; }
.brand-art { display: block; width: 100%; height: auto; }
.navigation, .nav-overview, .nav-guides { display: flex; align-items: center; gap: clamp(.5rem, 1.15vw, 1.05rem); }
.nav-overview { padding-right: .9rem; border-right: 1px solid var(--line); }
.navigation a { display: inline-flex; align-items: center; min-height: 2.15rem; font-size: .83rem; font-weight: 800; text-decoration: none; white-space: nowrap; }
.navigation a[aria-current='page'] { padding-inline: .5rem; border-radius: .3rem; background: var(--lime); color: var(--pine); }
.navigation a:hover, .footer nav a:hover { text-decoration: underline; }
.header-tools { display: flex; gap: .4rem; justify-content: flex-end; }
.search-open, .menu-open, .icon-button { min-height: 2.55rem; display: inline-flex; align-items: center; justify-content: center; gap: .35rem; padding: .4rem .8rem; color: var(--pine); background: transparent; border: 1px solid var(--line); border-radius: 2rem; font-size: .84rem; font-weight: 800; }
.search-open:hover, .menu-open:hover, .icon-button:hover { background: var(--wash); }
.menu-open { display: none; }

.hero { display: grid; grid-template-columns: minmax(0, .94fr) minmax(0, 1.06fr); gap: clamp(1.5rem, 4vw, 3.4rem); padding-top: clamp(2rem, 5vw, 4.5rem); align-items: center; }
.hero-copy { min-width: 0; }
.eyebrow { display: flex; align-items: center; gap: .58rem; color: var(--pine); font-size: .69rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow > span { width: 1.25rem; height: .45rem; flex: none; border: 1px solid #6b874f; background: var(--lime); border-radius: 1rem; }
.hero h1 { margin-top: .72rem; color: var(--pine); font-size: clamp(3rem, 5.85vw, 5.55rem); line-height: .96; letter-spacing: -.065em; }
.hero h1 span { display: block; margin-top: .52rem; color: var(--muted); font-size: .55em; line-height: 1.04; letter-spacing: -.045em; }
.hero-lede { max-width: 43ch; margin-top: 1.18rem; color: var(--muted); font-size: clamp(.95rem, 1.4vw, 1.08rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: .6rem; margin-top: 1.5rem; }
.cta { display: inline-flex; align-items: center; gap: .48rem; min-height: 2.9rem; padding: .58rem 1rem; border: 1px solid var(--pine); border-radius: .55rem; color: var(--white); background: var(--pine); font-size: .86rem; font-weight: 800; text-decoration: none; }
.cta:hover { background: var(--forest); }
.cta.secondary { color: var(--pine); background: transparent; border-color: #9bab9e; }
.cta.secondary:hover { background: var(--wash); }
.hero-photo { position: relative; isolation: isolate; overflow: hidden; border-radius: .9rem; background: var(--pine); min-height: 20rem; }
.hero-photo img { width: 100%; height: 100%; min-height: 20rem; aspect-ratio: 1.58; object-fit: cover; object-position: center; }
.photo-badge { position: absolute; right: 1rem; bottom: 1rem; display: flex; align-items: center; gap: .65rem; padding: .55rem .8rem; border-radius: .5rem; background: var(--lime); color: var(--forest); line-height: 1.2; }
.photo-badge strong, .photo-badge time { display: block; }
.photo-badge strong { font-size: .84rem; font-weight: 800; }
.photo-badge time { margin-top: .18rem; font-size: .72rem; font-weight: 700; }
.sport-rail { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); margin-bottom: clamp(1.6rem, 4vw, 3.1rem); border-block: 1px solid var(--line); }
.sport-rail a { display: flex; align-items: center; justify-content: center; gap: .6rem; min-height: 3.45rem; padding: .45rem; color: var(--pine); text-align: center; text-decoration: none; font-weight: 800; font-size: .9rem; }
.sport-rail a + a { border-left: 1px solid var(--line); }
.sport-rail a:hover { background: var(--wash); }

.agenda { background: var(--forest); color: var(--white); }
.agenda-inner { display: grid; grid-template-columns: minmax(13rem, .63fr) minmax(0, 1.55fr); gap: clamp(1rem, 5vw, 5rem); padding-block: clamp(2.2rem, 5vw, 4.25rem); align-items: start; }
.agenda-side { padding-top: .45rem; }
.agenda-side .eyebrow { color: var(--lime); }
.agenda-side h2 { margin: .55rem 0 1rem; font-size: clamp(2.7rem, 5.4vw, 4.8rem); }
.agenda-side > p:last-child { color: #d6e5db; max-width: 29ch; }
.agenda-board { min-width: 0; padding: clamp(.85rem, 2.25vw, 1.5rem); border-radius: .85rem; background: var(--white); color: var(--ink); }
.agenda-toolbar-top, .agenda-fields { display: flex; flex-wrap: wrap; gap: .55rem .8rem; align-items: center; justify-content: space-between; }
.agenda-fields { flex-wrap: nowrap; margin-top: .75rem; }
.segment { display: flex; flex-wrap: wrap; width: fit-content; max-width: 100%; gap: .22rem; padding: .23rem; background: var(--wash); border-radius: .48rem; }
.segment button { min-height: 2.2rem; padding: .25rem .7rem; border: 0; border-radius: .3rem; background: transparent; color: var(--pine); font-size: .82rem; font-weight: 800; }
.segment button[aria-pressed='true'] { background: var(--pine); color: var(--white); }
.segment button:not([aria-pressed='true']):hover { background: #e0ead3; }
.timezone { background: transparent; color: var(--pine); border: 0; padding: .45rem .2rem; font-weight: 800; font-size: .79rem; text-decoration: underline; text-underline-offset: .28rem; }
.field { display: flex; flex: 1; align-items: center; min-width: 0; gap: .55rem; padding: .48rem .6rem; border: 1px solid #b5c3b9; border-radius: .4rem; color: var(--muted); }
.field:focus-within { outline: 2px solid #38805d; outline-offset: 1px; }
.field input { width: 100%; min-width: 0; padding: 0; border: 0; outline: 0; color: var(--ink); background: transparent; }
.sport-field { flex: 0 1 auto; min-width: 0; }
.sport-field select { display: block; max-width: 100%; min-height: 2.65rem; padding: .38rem .42rem; border: 1px solid #b5c3b9; border-radius: .4rem; color: var(--pine); background: var(--white); font-size: .85rem; font-weight: 800; }
.agenda-status { margin-top: .75rem; color: var(--muted); font-size: .84rem; }
.event-list, .source-column ul, .search-list { list-style: none; margin: .38rem 0 0; padding: 0; }
.event-row { display: grid; grid-template-columns: 4.2rem minmax(0, 1fr) auto; gap: .65rem; align-items: center; padding: .65rem 0; border-top: 1px solid var(--line); }
.event-row small, .event-row time span { display: block; color: var(--muted); font-size: .72rem; font-weight: 700; }
.event-row time { color: var(--pine); font-weight: 800; font-variant-numeric: tabular-nums; }
.event-row a { color: var(--pine); font-size: .77rem; font-weight: 800; }
.event-row strong { display: block; color: var(--ink); font-size: .91rem; line-height: 1.28; }
.agenda-foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: .25rem .75rem; margin-top: .65rem; padding-top: .65rem; border-top: 1px solid var(--line); color: var(--muted); font-size: .75rem; }
.agenda-foot a { color: var(--pine); font-weight: 800; }

.block { margin-block: clamp(2.8rem, 6vw, 5.3rem); }
.block-heading { display: flex; justify-content: space-between; gap: 1rem 2rem; align-items: end; margin-bottom: 1.35rem; }
.block-heading p:last-child:not(.eyebrow) { color: var(--muted); max-width: 30ch; }
.block-heading h2 { margin-top: .37rem; }
.source-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; }
.source-grid[data-enhanced] { grid-template-columns: minmax(0, 1fr); margin-top: .75rem; }
.source-column { padding: .95rem 1.05rem; background: var(--wash); border: 1px solid var(--line); border-radius: .62rem; }
.source-column h3 { margin-bottom: .72rem; font-size: 1.35rem; }
.source-grid[data-enhanced] ul { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1px; background: var(--line); }
.source-column a { display: flex; flex-direction: column; min-height: 3.35rem; justify-content: center; padding: .4rem .65rem; background: var(--wash); text-decoration: none; }
.source-column a:hover { background: var(--lime); }
.source-column strong { font-size: .91rem; }
.source-column a span { color: var(--muted); font-size: .78rem; }
.guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .72rem; }
.guide-card { display: flex; align-items: start; gap: .75rem; padding: 1rem; border: 1px solid var(--line); border-radius: .62rem; background: #fbfcf5; text-decoration: none; }
.guide-card:hover { border-color: #879d85; background: var(--wash); }
.guide-icon { display: grid; place-items: center; width: 2.3rem; height: 2.3rem; flex: none; border-radius: .4rem; background: var(--lime); color: var(--pine); }
.guide-card strong { display: block; margin-block: .35rem; color: var(--pine); font: 800 1.25rem/1.13 var(--heading); letter-spacing: -.025em; }
.guide-card strong + span { display: block; color: var(--muted); font-size: .82rem; }
.card-name { display: block; color: var(--muted); font-size: .69rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.guide-mast { --guide-paper: #edf2e4; --guide-mark: #dcf2a4; padding-block: 1.25rem clamp(1.65rem, 4vw, 3.45rem); background: var(--guide-paper); border-bottom: 1px solid var(--line); }
.guide-mast[data-guide='alternative-a-rojadirecta'] { --guide-paper: #f0eadc; --guide-mark: #eddcb5; }
.guide-mast[data-guide='tennis'] { --guide-paper: #eef0de; --guide-mark: #e7ec9e; }
.guide-mast[data-guide='formula-1'] { --guide-paper: #e5eeea; --guide-mark: #b7ddd0; }
.guide-mast[data-guide='motogp'] { --guide-paper: #eee8df; --guide-mark: #f0d7bc; }
.guide-mast[data-guide='basket'] { --guide-paper: #f3eadc; --guide-mark: #f3d9a8; }
.crumb { display: flex; flex-wrap: wrap; gap: .5rem; color: var(--muted); font-size: .82rem; }
.guide-title { display: grid; grid-template-columns: minmax(0, 1.7fr) minmax(16rem, 1fr); gap: 1.3rem clamp(1.4rem, 5vw, 4.5rem); align-items: end; margin-top: clamp(1rem, 3vw, 2rem); }
.guide-title h1 { margin-top: .65rem; max-width: 19ch; color: var(--pine); font-size: clamp(2.45rem, 5.2vw, 5rem); }
.guide-title h1 + p { max-width: 60ch; margin-top: 1rem; color: var(--muted); }
.guide-symbol { display: inline-grid; width: 2.65rem; aspect-ratio: 1; place-items: center; border-radius: .45rem; color: var(--pine); background: var(--guide-mark); }
.guide-symbol svg { width: 1.45rem; height: 1.45rem; }
.guide-desk { min-width: 0; padding: 1.2rem; border-radius: .75rem; background: var(--pine); color: var(--white); }
.guide-desk h2 { margin-bottom: .65rem; color: var(--guide-mark); font-size: clamp(1.4rem, 2.4vw, 1.9rem); }
.guide-desk ul, .guide-start ol { list-style: none; margin: 0; padding: 0; }
.guide-desk li { border-top: 1px solid #ffffff3d; }
.guide-desk a { display: grid; padding: .5rem 0; text-decoration: none; }
.guide-desk a:hover strong { text-decoration: underline; }
.guide-desk a:focus-visible { outline-color: var(--guide-mark); outline-offset: 0; }
.guide-desk a strong { font-size: .93rem; }
.guide-desk a span { color: #d6e5db; font-size: .77rem; }
.guide-start { margin-top: clamp(1.6rem, 4vw, 2.9rem); }
.guide-start header { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: .35rem 1rem; margin-bottom: .75rem; }
.guide-start h2 { color: var(--pine); font-size: clamp(1.65rem, 3vw, 2.12rem); }
.guide-start header a { display: inline; padding: 0; border: 0; background: transparent; color: var(--pine); font-size: .82rem; font-weight: 800; text-decoration: underline; }
.guide-start ol { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.guide-start li a { display: block; height: 100%; padding: .9rem 1rem; text-decoration: none; border: 1px solid var(--line); border-radius: .55rem; background: #fbfcf5; }
.guide-start li a:hover { background: var(--wash); }
.guide-start li a:hover strong { text-decoration: underline; }
.guide-start strong, .guide-start span { display: block; }
.guide-start strong { color: var(--pine); }
.guide-start span { margin-top: .22rem; color: var(--muted); font-size: .84rem; }
.reading { margin-block: clamp(2.2rem, 5vw, 4.5rem); }
.chapter-nav { display: flex; flex-wrap: wrap; gap: .45rem 1.1rem; padding-block: .75rem; border-block: 1px solid var(--line); color: var(--pine); font-size: .8rem; font-weight: 800; }
.article-body { max-width: 46rem; margin: clamp(1.4rem, 5vw, 3rem) auto 0; }
.guide-start + .reading .article-body { margin-top: 0; }
.article-body p { margin: .7rem 0; }
.article-body .article-intro { color: var(--pine); font-size: clamp(1.08rem, 2vw, 1.3rem); font-weight: 800; }
.article-body section { margin-top: 2rem; }
.article-body h2, .related h2 { font-size: clamp(1.6rem, 4vw, 2.45rem); color: var(--pine); }
.citations { display: flex; flex-wrap: wrap; gap: .42rem; margin-top: .7rem; }
.citations a { padding: .28rem .56rem; border-radius: .27rem; background: var(--wash); font-size: .78rem; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; padding: .65rem 0; color: var(--pine); font-weight: 800; }
.faq h2, .related h2 { margin-bottom: .75rem; }
.missing { padding-block: clamp(3rem, 10vw, 8rem); }
.missing h1 { margin: .6rem 0 1rem; font-size: clamp(2.4rem, 7vw, 5rem); }

.footer { background: var(--forest); color: var(--white); }
.footer-inner { display: flex; flex-wrap: wrap; gap: 1rem 3rem; justify-content: space-between; padding-block: 1.75rem; }
.footer p { margin-top: .6rem; max-width: 48ch; font-size: .8rem; color: #d6e5db; }
.footer nav { display: flex; align-content: start; flex-wrap: wrap; gap: .5rem 1rem; }
.footer nav a { font-size: .8rem; font-weight: 700; text-decoration: none; }

.search-dialog { width: min(100% - 2rem, 34rem); max-height: 82dvh; padding: 1.25rem; border: 1px solid var(--line); border-radius: .8rem; background: var(--paper); color: var(--ink); }
.search-dialog::backdrop { background: #112c2590; }
.search-head { display: flex; justify-content: space-between; align-items: center; gap: .75rem; margin-bottom: .85rem; }
.search-head h2 { font-size: clamp(1.35rem, 5vw, 2rem); color: var(--pine); }
.search-status { margin-top: .65rem; color: var(--muted); font-size: .79rem; }
.search-list a { display: grid; gap: .12rem; padding: .52rem 0; text-decoration: none; border-bottom: 1px solid var(--line); color: var(--pine); }
.search-list a:hover strong { text-decoration: underline; }
.search-list a span { color: var(--muted); font-size: .8rem; }

@media (max-width: 850px) {
  .guide-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .source-grid[data-enhanced] ul { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hero-photo, .hero-photo img { min-height: 16rem; }
}
@media (max-width: 980px) {
  .bar { grid-template-columns: 1fr auto; gap: 0 .45rem; min-height: 3.8rem; }
  .header-tools { grid-column: 2; grid-row: 1; }
  .header-tools button { min-height: 2.45rem; padding: .4rem .6rem; }
  .menu-open { display: inline-flex; }
  .navigation { grid-column: 1 / -1; flex-wrap: wrap; gap: .45rem 1rem; padding-block: .4rem .7rem; }
  .nav-guides { flex-wrap: wrap; }
  .menu-ready .navigation:not([data-open]) { display: none; }
}
@media (max-width: 660px) {
  .navigation { display: grid; grid-template-columns: minmax(0, 1fr); }
  .nav-overview { padding-right: 0; border-right: 0; border-bottom: 1px solid var(--line); }
  .nav-guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .hero { grid-template-columns: minmax(0, 1fr); gap: 1.2rem; }
  .hero h1 { font-size: clamp(2.55rem, 10vw, 4.1rem); }
  .hero-photo, .hero-photo img { min-height: 0; }
  .hero-photo img { aspect-ratio: 1.8; }
  .sport-rail { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .sport-rail a { gap: .3rem; padding: .38rem .13rem; min-height: 2.75rem; font-size: .75rem; }
  .sport-rail a:nth-child(4) { border-left: 0; }
  .sport-rail a:nth-child(n + 4) { border-top: 1px solid var(--line); }
  .agenda-inner { grid-template-columns: minmax(0, 1fr); }
  .agenda-side br { display: none; }
  .agenda-side h2 { margin: .35rem 0 .55rem; }
  .agenda-side > p:last-child { max-width: none; }
  .block-heading { display: grid; gap: .4rem; }
  .block-heading p:last-child:not(.eyebrow) { max-width: none; }
  .source-grid, .guide-grid { grid-template-columns: minmax(0, 1fr); }
  .guide-title, .guide-start ol { grid-template-columns: minmax(0, 1fr); }
  .guide-title h1 + p { margin-top: .7rem; }
}
@media (max-width: 385px) {
  .header-tools .search-open span { display: none; }
  .event-row { grid-template-columns: 3.65rem minmax(0, 1fr); }
  .event-row a { grid-column: 2; }
  .agenda-fields { align-items: stretch; flex-wrap: wrap; }
  .agenda-fields .field { flex-basis: 100%; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
