/* =====================================================
   CANADA VS BOSNIA — ARTICLE PAGE
   Fanorate editorial, Fanatics design system tokens
   ===================================================== */

*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  background: var(--bg-1);
  color: var(--fg-1);
  font: var(--body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

/* ---------- CONTAINERS ----------
   Single shared grid: every .container locks to the same outer
   max-width as the site header / footer / newsletter, so every
   section starts and ends at the same edge. Narrow reading width
   for prose is enforced on the *text elements* (max-width on
   .headline / .deck / .body-prose > p / etc.), left-aligned to
   the grid — never by shrinking the container. Full-bleed strips
   (newsletter background, hero red bars) sit outside .container
   and stay edge-to-edge as before.
*/
.container,
.container--narrow,
.container--wide {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Reading-width helper: the editorial measure for body prose,
   used by headline/deck/byline and inline article paragraphs. */
:root { --read-col: 720px; }

/* ---------- ATOMS ---------- */
.eyebrow {
  font: var(--eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fan-red);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.eyebrow--red { color: var(--fan-red); }
.eyebrow--white { color: rgba(255,255,255,0.9); }
.eyebrow__dot {
  width: 6px; height: 6px; background: var(--fan-red); border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(229,37,61,0.18);
}

.dot-sep { color: var(--neutral-300); padding: 0 6px; }

.h-section {
  font: 700 clamp(28px, 3.4vw, 40px)/1.1 var(--font-sans);
  color: var(--fan-blue);
  letter-spacing: -0.015em;
  margin: 48px 0 20px;
}

/* =====================================================
   SITE HEADER
   ===================================================== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-1);
}
.site-header__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 32px;
}
/* Brand lockup — full Fanorate logo image. Existing markup keeps
   .brand__dot + .brand__name spans for backwards compatibility; we
   hide those and render the logo as the link's background instead.
   Width auto-derives from the logo's aspect-ratio so swapping
   variants reshapes the element correctly. */
.brand {
  display: inline-block;
  height: 40px;
  aspect-ratio: var(--fanorate-logo-aspect, 1680 / 477);
  background: var(--fanorate-logo, url("assets/fanorate-logo.png")) no-repeat left center / contain;
  text-indent: -9999px;
  white-space: nowrap;
  overflow: hidden;
  flex: 0 0 auto;
  color: transparent;
}
.brand__dot,
.brand__name { display: none; }
.brand__dot--lg,
.brand__name--lg { display: none; }

.site-nav {
  display: flex; gap: 28px; margin-left: 16px;
}
.site-nav a {
  font: 500 14px/1 var(--font-sans);
  color: var(--fg-1);
  letter-spacing: var(--ls-nav);
  padding: 8px 0;
  position: relative;
  transition: color var(--dur-fast) var(--ease-out);
}
.site-nav a:hover { color: var(--fan-red); }
.site-nav a.is-current { color: var(--fan-blue); }
.site-nav a.is-current::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -16px;
  height: 2px; background: var(--fan-red);
}

.site-actions {
  margin-left: auto;
  display: flex; align-items: center; gap: 10px;
}
.icon-btn {
  width: 38px; height: 38px;
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--fan-blue);
  cursor: pointer;
  transition: all var(--dur-fast) var(--ease-out);
}
.icon-btn:hover { background: var(--fan-blue); color: white; border-color: var(--fan-blue); }
.lang-pill {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 12px;
  background: var(--bg-2);
  border: 1px solid var(--border-1);
  border-radius: 999px;
  font: 600 13px/1 var(--font-sans);
  color: var(--fan-blue);
  cursor: pointer;
}
.flag-emoji { font-size: 14px; }

/* =====================================================
   BREADCRUMB & ARTICLE HEAD
   ===================================================== */
.breadcrumb {
  margin: 24px 0 8px;
  font: var(--body-sm);
  color: var(--fg-3);
  display: flex; align-items: center; gap: 8px;
  flex-wrap: wrap;
}
.breadcrumb a { color: var(--fg-2); }
.breadcrumb a:hover { color: var(--fan-red); }
.breadcrumb .is-current { color: var(--fg-1); font-weight: 500; }

/* Use padding-block so the container's horizontal 24px stays intact
   and the article head aligns with every other section's grid edge. */
.article-head { padding-block: 8px 32px; }
/* Article head sits in the shared 1200px grid like every other
   section, but the editorial content inside it keeps an editorial
   reading width, left-aligned to the same grid edge. */
.article-head > .eyebrow,
.article-head > .headline,
.article-head > .deck,
.article-head > .byline { max-width: var(--read-col); }
.headline {
  font: 400 clamp(40px, 6vw, 76px)/1.05 var(--font-serif);
  color: var(--fan-blue);
  letter-spacing: -0.015em;
  text-wrap: balance;
  margin: 16px 0 18px;
  max-width: 14ch;
}
.deck {
  font: 400 clamp(18px, 2vw, 22px)/1.5 var(--font-sans);
  color: var(--fg-2);
  margin: 0 0 32px;
  text-wrap: pretty;
  max-width: 640px;
}

.byline {
  display: flex; align-items: center; gap: 16px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid var(--border-1);
}
.byline__avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fan-blue) 0%, var(--fan-blue-2) 100%);
  color: white;
  display: inline-flex; align-items: center; justify-content: center;
  font: 700 14px/1 var(--font-sans);
  letter-spacing: 0.05em;
}
.byline__meta { display: flex; flex-direction: column; gap: 2px; }
.byline__name { color: var(--fan-blue); font: 600 14px/1.2 var(--font-sans); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--border-1); }
.byline__role { font: 400 12px/1 var(--font-sans); color: var(--fg-3); }
.byline__sep { width: 1px; height: 28px; background: var(--border-1); }
.byline__when { font: 400 13px/1.4 var(--font-sans); color: var(--fg-2); display: flex; align-items: center; flex-wrap: wrap; }
.byline__share { margin-left: auto; display: flex; gap: 6px; }
.share-btn {
  width: 36px; height: 36px;
  background: white; border: 1px solid var(--border-1);
  border-radius: 8px;
  color: var(--fan-blue);
  cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center;
  transition: all var(--dur-fast) var(--ease-out);
}
.share-btn:hover { background: var(--fan-blue); color: white; border-color: var(--fan-blue); }

/* ---------- HERO SPLIT (title left + image right) ----------
   Two-column layout that keeps the title block at its existing
   --read-col (720px) reading width and slots the hero image into
   the remaining column on the right. Collapses to stacked on narrow
   viewports so neither column gets crushed. */
.article-hero-split {
  display: grid;
  grid-template-columns: var(--read-col) minmax(0, 1fr);
  column-gap: 40px;
  align-items: end;
  margin-bottom: 8px;
}
.article-hero-split > .article-head { max-width: none; padding-block: 8px 24px; }
.article-hero-split > .hero-figure {
  margin: 0 0 24px;
  align-self: end;
}
.article-hero-split > .hero-figure .hero-image {
  aspect-ratio: 4 / 5; /* taller crop now that the image is narrower */
}
/* About page's hero is a quote/intro card, not a photo — keep
   it in the same right-column slot but let it take a taller
   shape so its copy doesn't get squeezed. */
.article-hero-split > .hero-figure .about-hero {
  aspect-ratio: 4 / 5;
  padding: 32px;
}
@media (max-width: 960px) {
  .article-hero-split {
    grid-template-columns: 1fr;
    row-gap: 8px;
  }
  .article-hero-split > .hero-figure .hero-image {
    aspect-ratio: 2 / 1; /* back to the original wide crop when stacked */
  }
  .article-hero-split > .hero-figure .about-hero {
    aspect-ratio: 2 / 1;
    padding: 56px;
  }
}

/* ---------- HERO IMAGE ---------- */
.hero-figure { margin: 0 auto 56px; }
.hero-image {
  position: relative;
  aspect-ratio: 2 / 1;
  border-radius: var(--radius-4);
  overflow: hidden;
  background: var(--fan-blue);
}
.hero-image__placeholder { position: absolute; inset: 0; }
.hero-image__placeholder svg { width: 100%; height: 100%; display: block; }
.hero-image__chip {
  position: absolute;
  left: 16px; bottom: 16px;
  background: rgba(0,0,0,0.6);
  color: white;
  padding: 6px 10px;
  border-radius: var(--radius-2);
  font: var(--caption);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.hero-figure figcaption {
  margin-top: 12px;
  text-align: left;
  color: var(--fg-3);
  font: var(--body-sm);
}

/* =====================================================
   FIXTURE HERO (BIG MATCH CARD AT TOP)
   ===================================================== */
.fixture-hero {
  background: white;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-4);
  overflow: hidden;
  margin: 0 auto 48px;
  box-shadow: var(--shadow-md);
}
.fixture-hero__top {
  background: var(--fan-blue);
  color: white;
  padding: 14px 24px;
  display: flex; gap: 24px; align-items: center;
  flex-wrap: wrap;
  font: 500 13px/1 var(--font-sans);
  letter-spacing: 0.02em;
}
.fixture-hero__badge {
  background: var(--fan-red);
  color: white;
  padding: 6px 10px;
  border-radius: var(--radius-1);
  font: 700 11px/1 var(--font-sans);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.fixture-hero__meta { opacity: 0.85; }
.fixture-hero__date { margin-left: auto; opacity: 0.9; font-weight: 500; }

.fixture-hero__teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
  padding: 40px 32px;
}
.team-side {
  display: flex; align-items: center; gap: 20px;
}
.team-side--away { justify-content: flex-end; }
.team-flag--lg {
  width: 72px; height: 48px;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(10,34,64,0.18);
  background: var(--bg-3);
  flex-shrink: 0;
}
.team-flag--lg svg { width: 100%; height: 100%; display: block; }
.team-side__text { display: flex; flex-direction: column; gap: 4px; }
.team-side--away .team-side__text { text-align: right; align-items: flex-end; }
.team-side__nick {
  font: 800 14px/1 var(--font-sans);
  letter-spacing: 0.18em;
  color: var(--fan-red);
}
.team-side__name {
  font: 700 clamp(20px, 2.6vw, 30px)/1 var(--font-sans);
  color: var(--fan-blue);
  letter-spacing: -0.01em;
}
.fixture-hero__center {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
}
.fixture-hero__time {
  font: 800 clamp(36px, 5vw, 56px)/1 var(--font-impact);
  letter-spacing: 0.02em;
  color: var(--fan-blue);
}
.fixture-hero__vs {
  font: var(--eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fg-3);
}

.fixture-hero__chips {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--border-1);
}
.chip-stat {
  padding: 18px 20px;
  display: flex; flex-direction: column; gap: 4px;
  border-right: 1px solid var(--border-1);
}
.chip-stat:last-child { border-right: 0; }
.chip-stat__label {
  font: var(--caption);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--fg-3);
}
.chip-stat__value {
  font: 600 14px/1.3 var(--font-sans);
  color: var(--fan-blue);
}
.chip-stat--cta { background: var(--fan-red-soft); }
.chip-stat--cta .chip-stat__value { color: var(--fan-red-deep); }

/* =====================================================
   BODY PROSE
   ===================================================== */
.body-prose > p,
.body-prose > .lede,
.body-prose > .pullquote,
.body-prose > .h-section,
.body-prose > .facts {
  max-width: var(--read-col);
}
.body-prose p {
  font: 400 18px/1.7 var(--font-sans);
  color: var(--fg-1);
  margin: 0 0 22px;
  text-wrap: pretty;
}
.body-prose p strong { color: var(--fan-blue); font-weight: 700; }
.body-prose .lede {
  font-size: 21px;
  line-height: 1.55;
  color: var(--neutral-800);
}
.body-prose .lede::first-letter {
  /* keep subtle, no fancy dropcap to stay editorial-real */
}
.pullquote {
  border-left: 4px solid var(--fan-red);
  padding: 8px 0 8px 24px;
  margin: 32px 0;
  position: relative;
}
.pullquote__mark {
  position: absolute;
  left: 16px; top: -16px;
  color: var(--fan-red);
  font: 800 80px/1 var(--font-serif);
}
.pullquote p {
  font: 400 24px/1.4 var(--font-serif);
  color: var(--fan-blue);
  margin: 0;
  font-style: italic;
}

/* =====================================================
   SECTION BLOCK SCAFFOLD
   ===================================================== */
.section-block { padding-top: 56px; padding-bottom: 56px; }
.section-block__head { margin-bottom: 28px; max-width: 720px; }
.section-block__head--row {
  max-width: none;
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; flex-wrap: wrap;
}
.section-block__head--left { max-width: none; }
.section-block__title {
  margin: 8px 0 8px;
  font: 700 clamp(28px, 3.4vw, 40px)/1.1 var(--font-sans);
  color: var(--fan-blue);
  letter-spacing: -0.015em;
}
.section-block__sub {
  font: 400 16px/1.55 var(--font-sans);
  color: var(--fg-2);
  margin: 0;
  max-width: 640px;
}

/* =====================================================
   FIXTURE GRID CARDS (Group B Matchday 1)
   ===================================================== */
.fixture-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
.fixture-card {
  background: white;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-3);
  padding: 22px 26px;
  display: grid;
  grid-template-areas:
    "head head"
    "meta meta"
    "teams time"
    "foot foot";
  grid-template-columns: 1fr auto;
  gap: 4px 24px;
  transition: all var(--dur-base) var(--ease-out);
  cursor: pointer;
}
.fixture-card:hover {
  border-color: var(--fan-blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.fixture-card.is-feature {
  background: linear-gradient(135deg, #fff 0%, #fff 70%, var(--fan-red-soft) 100%);
  border-color: var(--fan-red-soft);
}
.fixture-card__head {
  grid-area: head;
  display: flex; justify-content: space-between; align-items: center;
  border-bottom: 1px solid var(--border-1);
  padding-bottom: 12px;
  margin-bottom: 8px;
}
.fixture-card__tag {
  font: 600 13px/1 var(--font-sans);
  color: var(--fan-blue);
}
.fixture-card__date {
  font: 500 13px/1 var(--font-sans);
  color: var(--fg-2);
}
.fixture-card__meta {
  grid-area: meta;
  font: 400 13px/1.3 var(--font-sans);
  color: var(--fg-3);
  margin-bottom: 14px;
}
.fixture-card__teams {
  grid-area: teams;
  display: flex; flex-direction: column; gap: 12px;
  align-self: center;
}
.fixture-card__team { display: flex; align-items: center; gap: 14px; }
.fixture-card__name {
  font: 600 18px/1.2 var(--font-sans);
  color: var(--fan-blue);
}
.flag-sm {
  display: inline-flex;
  width: 32px; height: 22px;
  border-radius: 2px; overflow: hidden;
  box-shadow: 0 0 0 1px rgba(10,34,64,0.08);
  flex-shrink: 0;
  background: var(--bg-3);
}
.flag-sm svg { width: 100%; height: 100%; display: block; }
.flag-sm--lg { width: 44px; height: 30px; }
.fixture-card__time {
  grid-area: time;
  align-self: center; justify-self: end;
  display: flex; align-items: baseline; gap: 4px;
}
.fixture-card__clock {
  font: 800 48px/1 var(--font-impact);
  color: var(--fan-blue);
  letter-spacing: 0.02em;
}
.fixture-card__zone {
  font: 600 14px/1 var(--font-sans);
  color: var(--fg-3);
  letter-spacing: 0.06em;
}
.fixture-card__foot {
  grid-area: foot;
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid var(--border-1);
  display: flex; justify-content: space-between; align-items: center;
}
.fixture-card__broadcast {
  display: inline-flex; align-items: center; gap: 8px;
  font: 500 13px/1 var(--font-sans);
  color: var(--fg-2);
}
.fixture-card__pill {
  font: 700 11px/1 var(--font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 5px 10px;
  background: var(--bg-2);
  color: var(--fg-2);
  border-radius: var(--radius-pill);
}
.fixture-card__pill--featured {
  background: var(--fan-red);
  color: white;
}

/* =====================================================
   STANDINGS TABLE
   ===================================================== */
.standings {
  background: white;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-3);
  overflow: hidden;
}
.standings__row {
  display: grid;
  grid-template-columns: minmax(260px, 1.6fr) repeat(8, 50px) 110px;
  align-items: center;
  border-bottom: 1px solid var(--border-1);
  transition: background var(--dur-fast) var(--ease-out);
}
.standings__row:last-child { border-bottom: 0; }
.standings__row:not(.standings__row--head):hover {
  background: var(--bg-2);
}
.standings__row--head {
  background: var(--bg-2);
  font: 600 12px/1 var(--font-sans);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  padding: 14px 0;
}
.standings__row--head .standings__cell--rank {
  color: var(--fan-blue);
  font-size: 15px;
  letter-spacing: 0;
  text-transform: none;
}
.standings__cell {
  padding: 18px 8px;
  font: 500 15px/1 var(--font-sans);
  color: var(--fg-1);
  text-align: center;
}
.standings__cell--rank {
  padding-left: 28px;
  text-align: left;
  display: flex; align-items: center; gap: 14px;
  position: relative;
}
.standings__pos {
  font: 600 14px/1 var(--font-sans);
  color: var(--fg-3);
  width: 18px;
}
.standings__team {
  font: 600 16px/1.2 var(--font-sans);
  color: var(--fan-blue);
}
.standings__bar {
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
}
.standings__bar--qualify { background: var(--semantic-success); }
.standings__bar--playoff { background: var(--semantic-warning); }
.standings__bar--out { background: var(--neutral-200); }

.standings__cell--num { font-variant-numeric: tabular-nums; color: var(--fg-2); }
.standings__cell--num.is-strong { color: var(--fan-blue); font-weight: 700; font-size: 16px; }
.standings__cell--form {
  display: flex; gap: 4px; padding-right: 16px;
  justify-content: flex-end;
}
.form-dot {
  width: 20px; height: 20px;
  display: inline-flex; align-items: center; justify-content: center;
  border-radius: 50%;
  background: var(--bg-3);
  color: var(--fg-3);
  font: 700 11px/1 var(--font-sans);
}
.form-dot.is-w { background: var(--semantic-success); color: white; }
.form-dot.is-d { background: var(--neutral-300); color: white; }
.form-dot.is-l { background: var(--fan-red); color: white; }

.standings__legend {
  display: flex; gap: 24px; flex-wrap: wrap;
  margin-top: 16px;
  font: 400 13px/1.4 var(--font-sans);
  color: var(--fg-2);
}
.standings__legend > span {
  display: inline-flex; align-items: center; gap: 8px;
}
.legend-dot { width: 10px; height: 10px; border-radius: 2px; }
.legend-dot--qualify { background: var(--semantic-success); }
.legend-dot--playoff { background: var(--semantic-warning); }
.legend-dot--out { background: var(--neutral-300); }
.standings__legend-note { color: var(--fg-3); margin-left: auto; }

/* Tabs (ghost variant) */
.tabs--ghost {
  display: inline-flex;
  background: var(--bg-2);
  border-radius: var(--radius-pill);
  padding: 4px;
  gap: 2px;
}
.tabs__btn {
  background: transparent; border: 0;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font: 600 13px/1 var(--font-sans);
  color: var(--fg-2);
  cursor: pointer;
  letter-spacing: 0.02em;
  transition: all var(--dur-fast) var(--ease-out);
}
.tabs__btn:hover { color: var(--fan-blue); }
.tabs__btn.is-active { background: white; color: var(--fan-blue); box-shadow: var(--shadow-sm); }

/* =====================================================
   STORYLINES
   ===================================================== */
.storylines {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  background: var(--border-1);
  border: 1px solid var(--border-1);
  border-radius: var(--radius-3);
  overflow: hidden;
}
.storyline {
  background: white;
  padding: 28px 22px;
  position: relative;
  transition: background var(--dur-base) var(--ease-out);
}
.storyline:hover { background: var(--bg-2); }
.storyline__num {
  font: 800 32px/1 var(--font-impact);
  color: var(--fan-red);
  letter-spacing: 0.04em;
  display: block;
  margin-bottom: 12px;
}
.storyline h3 {
  font: 700 16px/1.25 var(--font-sans);
  color: var(--fan-blue);
  margin: 0 0 10px;
  text-wrap: balance;
}
.storyline p {
  font: 400 13px/1.55 var(--font-sans);
  color: var(--fg-2);
  margin: 0;
}

/* =====================================================
   HEAD-TO-HEAD COMPARISON TABLE
   ===================================================== */
.h2h {
  background: white;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-4);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.h2h__teams {
  display: grid;
  grid-template-columns: 1fr 80px 1fr;
  align-items: center;
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(213,43,30,0.06) 0%, transparent 30%, transparent 70%, rgba(0,35,149,0.06) 100%);
  border-bottom: 1px solid var(--border-1);
}
.h2h__team { display: flex; align-items: center; gap: 14px; }
.h2h__team--bosnia { justify-content: flex-end; }
.h2h__team-name {
  font: 700 20px/1.1 var(--font-sans);
  color: var(--fan-blue);
  display: block;
}
.h2h__team-coach {
  font: 400 12px/1.2 var(--font-sans);
  color: var(--fg-3);
}
.h2h__team-meta-right { text-align: right; }
.h2h__vs {
  font: 800 24px/1 var(--font-impact);
  color: var(--fan-red);
  text-align: center;
  letter-spacing: 0.08em;
}
.h2h__team .flag-sm { width: 42px; height: 28px; }

.h2h__rows { margin: 0; padding: 0; display: flex; flex-direction: column; }
.h2h__row {
  display: grid;
  grid-template-columns: 1fr 220px 1fr;
  align-items: center;
  border-bottom: 1px solid var(--border-1);
  padding: 18px 32px;
  transition: background var(--dur-fast) var(--ease-out);
}
.h2h__row:hover { background: var(--bg-2); }
.h2h__row:last-child { border-bottom: 0; }
.h2h__key {
  text-align: center;
  font: var(--eyebrow);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin: 0;
}
.h2h__a, .h2h__b {
  font: 600 15px/1.3 var(--font-sans);
  color: var(--fan-blue);
  margin: 0;
}
.h2h__a { text-align: right; }
.h2h__b { text-align: left; }

.h2h__row--bar .h2h__a,
.h2h__row--bar .h2h__b {
  display: flex; align-items: center; gap: 12px;
}
.h2h__row--bar .h2h__a { justify-content: flex-end; }
.h2h-bar {
  flex: 1;
  height: 8px;
  background: var(--bg-3);
  border-radius: 999px;
  overflow: hidden;
  max-width: 220px;
}
.h2h-bar span {
  display: block;
  height: 100%;
  width: var(--w);
}
.h2h-bar--canada span {
  margin-left: auto;
  background: linear-gradient(90deg, var(--fan-red-deep), var(--fan-red));
}
.h2h-bar--bosnia span {
  background: linear-gradient(90deg, var(--fan-blue), #2E69B5);
}
.h2h-bar__num {
  font: 700 14px/1 var(--font-sans);
  font-variant-numeric: tabular-nums;
  color: var(--fan-blue);
  min-width: 50px;
}

.h2h__foot {
  padding: 14px 32px;
  background: var(--bg-2);
  font: var(--body-sm);
  color: var(--fg-3);
  display: flex; gap: 8px; align-items: center; flex-wrap: wrap;
}
.h2h__foot strong { color: var(--fan-blue); }

/* =====================================================
   TEAM TABS (DEEPER ANALYSIS)
   ===================================================== */
.team-tabs {
  background: white;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-4);
  overflow: hidden;
}
.team-tabs__bar {
  display: flex;
  background: var(--fan-blue);
  border-bottom: 1px solid var(--fan-blue);
}
.team-tabs__btn {
  flex: 1;
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  background: transparent;
  border: 0;
  color: rgba(255,255,255,0.65);
  padding: 18px 24px;
  font: 600 16px/1 var(--font-sans);
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all var(--dur-base) var(--ease-out);
}
.team-tabs__btn:hover { color: white; }
.team-tabs__btn.is-active {
  color: white;
  background: var(--fan-blue-2);
  border-bottom-color: var(--fan-red);
}
.team-tabs__panel { display: none; padding: 36px 40px; }
.team-tabs__panel.is-active { display: block; animation: tabIn 240ms var(--ease-out); }
@keyframes tabIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}
.team-tabs__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 48px;
}
.team-tabs__cell {}
.cell-label {
  font: var(--eyebrow);
  letter-spacing: var(--ls-eyebrow);
  text-transform: uppercase;
  color: var(--fan-red);
  display: block;
  margin-bottom: 10px;
}
.team-tabs__cell p {
  font: 400 15px/1.6 var(--font-sans);
  color: var(--fg-1);
  margin: 0 0 10px;
}
.check-list, .cross-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex; flex-direction: column; gap: 8px;
}
.check-list li, .cross-list li {
  font: 400 14px/1.5 var(--font-sans);
  color: var(--fg-1);
  padding-left: 28px;
  position: relative;
}
.check-list li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--semantic-success);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
  background-size: 12px; background-position: center; background-repeat: no-repeat;
}
.cross-list li::before {
  content: "";
  position: absolute; left: 0; top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--fan-red);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
  background-size: 10px; background-position: center; background-repeat: no-repeat;
}

.streak { display: flex; gap: 8px; align-items: center; margin-top: 8px; }
.streak__dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font: 700 12px/1 var(--font-sans);
  color: white;
}
.streak__dot--w { background: var(--semantic-success); }
.streak__dot--d { background: var(--neutral-400); }
.streak__dot--l { background: var(--fan-red); }
.streak__label {
  font: 500 12px/1 var(--font-sans);
  color: var(--fg-3);
  margin-left: 6px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.lineup-line {
  font: 400 14px/1.4 var(--font-sans);
  color: var(--fg-1);
  margin: 0 0 6px !important;
}
.lineup-line strong {
  display: inline-block;
  font: 700 11px/1 var(--font-sans);
  letter-spacing: 0.12em;
  color: var(--fan-red);
  width: 44px;
}

/* =====================================================
   KEY QUESTIONS
   ===================================================== */
.key-questions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.key-question {
  background: var(--fan-blue);
  color: white;
  padding: 28px 24px;
  border-radius: var(--radius-3);
  position: relative;
  overflow: hidden;
}
.key-question::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 100% 0%, rgba(229,37,61,0.25), transparent 50%);
  pointer-events: none;
}
.key-question__num {
  font: 800 13px/1 var(--font-impact);
  color: var(--fan-red);
  letter-spacing: 0.18em;
  display: block;
  margin-bottom: 14px;
}
.key-question h3 {
  font: 700 19px/1.25 var(--font-sans);
  margin: 0 0 12px;
  color: white;
  text-wrap: balance;
}
.key-question p {
  font: 400 14px/1.55 var(--font-sans);
  color: rgba(255,255,255,0.78);
  margin: 0;
}

/* =====================================================
   KEY PLAYERS
   ===================================================== */
.players {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.player-card {
  background: white;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--dur-base) var(--ease-out);
}
.player-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--fan-red);
}
.player-card--star { background: linear-gradient(180deg, var(--fan-red) 0%, var(--fan-red-deep) 100%); color: white; border-color: var(--fan-red); }
.player-card--star .player-card__name,
.player-card--star .player-card__line { color: white; }
.player-card--star .player-card__pos { color: rgba(255,255,255,0.85); }
.player-card--star .player-card__stats li strong { color: white; }
.player-card--star .player-card__stats li span { color: rgba(255,255,255,0.7); }
.player-card--star .player-card__stats { border-top-color: rgba(255,255,255,0.18); }
.player-card--star .player-card__photo {
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), transparent 60%), linear-gradient(135deg, var(--fan-red-deep), #6E0D1A);
}

.player-card__photo {
  aspect-ratio: 4/3;
  position: relative;
  background: linear-gradient(135deg, var(--fan-blue) 0%, var(--fan-blue-2) 100%);
  background-image:
    radial-gradient(circle at 40% 30%, rgba(255,255,255,0.18), transparent 50%),
    linear-gradient(135deg, var(--fan-blue) 0%, var(--fan-blue-2) 100%);
  overflow: hidden;
}
.player-card__photo--bosnia {
  background: radial-gradient(circle at 30% 30%, rgba(254,203,0,0.18), transparent 60%), linear-gradient(135deg, #002395 0%, #001a6b 100%);
}
.player-card__photo::after {
  content: "PHOTO";
  position: absolute;
  bottom: 10px; left: 12px;
  font: 700 10px/1 var(--font-sans);
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.18em;
}
.player-card__num {
  position: absolute;
  bottom: -8px; right: 14px;
  font: 800 90px/1 var(--font-impact);
  color: rgba(255,255,255,0.18);
  letter-spacing: -0.02em;
}
.player-card__meta {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px 0;
}
.player-card__flag svg { display: block; }
.player-card__pos {
  font: 600 12px/1 var(--font-sans);
  letter-spacing: 0.06em;
  color: var(--fg-3);
  text-transform: uppercase;
}
.player-card__name {
  font: 700 22px/1.15 var(--font-sans);
  color: var(--fan-blue);
  margin: 8px 18px 0;
  letter-spacing: -0.01em;
}
.player-card__line {
  font: 400 14px/1.55 var(--font-sans);
  color: var(--fg-2);
  margin: 8px 18px 16px;
  flex: 1;
}
.player-card__stats {
  list-style: none;
  padding: 14px 18px;
  margin: 0;
  border-top: 1px solid var(--border-1);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.player-card__stats li { display: flex; flex-direction: column; gap: 2px; }
.player-card__stats li strong {
  font: 800 20px/1 var(--font-impact);
  color: var(--fan-blue);
  letter-spacing: 0.02em;
}
.player-card__stats li span {
  font: 500 11px/1 var(--font-sans);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--fg-3);
}

/* =====================================================
   PITCH / FORMATION
   ===================================================== */
.pitch-wrap {
  background: white;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-4);
  padding: 24px;
}
.pitch-bars {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 16px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-1);
}
.pitch-bars__home,
.pitch-bars__away {
  font: 700 14px/1 var(--font-sans);
  letter-spacing: 0.04em;
  color: var(--fan-blue);
  display: inline-flex; align-items: center; gap: 8px;
  padding: 8px 14px;
  background: var(--bg-2);
  border-radius: var(--radius-pill);
}
.pitch-bars__home::before,
.pitch-bars__away::before {
  content: ""; width: 8px; height: 8px; border-radius: 50%;
}
.pitch-bars__home::before { background: var(--fan-red); }
.pitch-bars__away::before { background: #FECB00; }

.pitch {
  position: relative;
  aspect-ratio: 600/800;
  max-width: 500px;
  margin: 0 auto;
  border-radius: var(--radius-3);
  overflow: hidden;
}
.pitch svg { width: 100%; height: 100%; display: block; }
.pitch-player {
  position: absolute;
  transform: translate(-50%, -50%);
  display: flex; flex-direction: column; align-items: center;
  gap: 4px;
  z-index: 2;
}
.pitch-player__num {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font: 800 14px/1 var(--font-sans);
  background: white;
  box-shadow: 0 2px 6px rgba(0,0,0,0.25);
}
.pitch-player--home .pitch-player__num { background: var(--fan-red); color: white; }
.pitch-player--away .pitch-player__num { background: white; color: var(--fan-blue); border: 2px solid #FECB00; }
.pitch-player__name {
  font: 700 10px/1 var(--font-sans);
  color: white;
  background: rgba(0,0,0,0.7);
  padding: 3px 6px;
  border-radius: 3px;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

/* =====================================================
   BOLD PREDICTION
   ===================================================== */
.prediction {
  background: var(--ripple-red);
  color: white;
  padding: 40px 40px;
  border-radius: var(--radius-4);
  margin: 56px 0;
  position: relative;
  overflow: hidden;
}
.prediction::before {
  content: "";
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(255,255,255,0.18), transparent 60%);
}
.prediction__head { margin-bottom: 14px; position: relative; }
.prediction__body {
  font: 400 28px/1.35 var(--font-serif);
  color: white;
  margin: 0 0 24px;
  text-wrap: pretty;
  font-style: italic;
  position: relative;
}
.prediction__body strong { font-style: normal; font-weight: 700; }
.prediction__author {
  display: flex; align-items: center; gap: 12px;
  font: 500 14px/1 var(--font-sans);
  color: rgba(255,255,255,0.85);
  position: relative;
}
.prediction__avatar {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: inline-flex; align-items: center; justify-content: center;
  font: 700 12px/1 var(--font-sans);
  letter-spacing: 0.04em;
}

/* =====================================================
   SCORE PREDICTION
   ===================================================== */
.score-predict {
  background: var(--fan-blue);
  background-image:
    radial-gradient(ellipse at 0% 100%, rgba(229,37,61,0.35), transparent 50%),
    radial-gradient(ellipse at 100% 0%, rgba(46,105,181,0.3), transparent 50%);
  color: white;
  border-radius: var(--radius-4);
  padding: 36px 40px 32px;
}
.score-predict .eyebrow {
  color: rgba(255,255,255,0.85);
}
.score-predict__row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 20px;
  margin: 14px 0 18px;
}
.score-predict__team {
  display: flex; align-items: center; gap: 16px;
}
.score-predict__team:last-child { justify-content: flex-end; }
.score-predict__name {
  font: 700 26px/1 var(--font-sans);
  letter-spacing: -0.01em;
}
.score-predict__score {
  display: flex; align-items: center; gap: 12px;
}
.score-predict__num {
  font: 800 90px/1 var(--font-impact);
  letter-spacing: 0.02em;
}
.score-predict__sep {
  font: 400 60px/1 var(--font-serif);
  color: rgba(255,255,255,0.6);
}
.score-predict__line {
  font: 400 16px/1.6 var(--font-sans);
  color: rgba(255,255,255,0.85);
  margin: 0 0 22px;
  max-width: 720px;
}
.score-predict__line strong { color: white; }
.score-predict__chips {
  display: flex; gap: 10px; flex-wrap: wrap;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 18px;
}
.prob-chip {
  display: inline-flex; align-items: baseline; gap: 8px;
  background: rgba(255,255,255,0.08);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  font: 500 13px/1 var(--font-sans);
  color: rgba(255,255,255,0.82);
}
.prob-chip strong {
  font: 700 14px/1 var(--font-sans);
  color: white;
}
.prob-chip--accent { background: var(--fan-red); color: white; }
.prob-chip--accent strong { color: white; }

/* =====================================================
   FACTS
   ===================================================== */
.facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin: 8px 0 48px;
}
.fact {
  background: white;
  border: 1px solid var(--border-1);
  border-radius: var(--radius-3);
  padding: 18px 22px;
  display: flex; align-items: flex-start; gap: 18px;
}
.fact__num {
  font: 800 36px/1 var(--font-impact);
  color: var(--fan-red);
  letter-spacing: 0.02em;
  flex-shrink: 0;
  min-width: 56px;
}
.fact__num sup { font-size: 16px; vertical-align: super; }
.fact p {
  font: 400 14px/1.5 var(--font-sans);
  color: var(--fg-1);
  margin: 0;
}

/* =====================================================
   FAQ ACCORDION
   ===================================================== */
.faq {
  border-top: 1px solid var(--border-1);
}
.faq__item {
  border-bottom: 1px solid var(--border-1);
}
.faq__item > summary {
  list-style: none;
  cursor: pointer;
  padding: 20px 4px;
  display: flex; justify-content: space-between; align-items: center;
  gap: 16px;
  font: 600 18px/1.4 var(--font-sans);
  color: var(--fan-blue);
  transition: color var(--dur-fast) var(--ease-out);
}
.faq__item > summary::-webkit-details-marker { display: none; }
.faq__item:hover > summary { color: var(--fan-red); }
.faq__icon {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--bg-2);
  position: relative;
  flex-shrink: 0;
  transition: all var(--dur-base) var(--ease-out);
}
.faq__icon::before, .faq__icon::after {
  content: "";
  position: absolute;
  background: var(--fan-blue);
  border-radius: 1px;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
}
.faq__icon::before { width: 12px; height: 2px; }
.faq__icon::after { width: 2px; height: 12px; transition: transform var(--dur-base) var(--ease-out); }
.faq__item[open] .faq__icon { background: var(--fan-red); }
.faq__item[open] .faq__icon::before { background: white; }
.faq__item[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); background: white; }
.faq__item p {
  font: 400 16px/1.6 var(--font-sans);
  color: var(--fg-2);
  margin: 0 0 20px;
  padding-right: 60px;
}

/* =====================================================
   AUTHOR
   ===================================================== */
.author-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 24px;
  padding: 28px;
  background: var(--bg-2);
  border-radius: var(--radius-4);
  margin: 56px 0;
}
.author-card__avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--fan-blue), var(--fan-blue-2));
  color: white;
  display: inline-flex; align-items: center; justify-content: center;
  font: 800 24px/1 var(--font-sans);
  letter-spacing: 0.04em;
}
.author-card__body .eyebrow { color: var(--fg-3); margin-bottom: 6px; }
.author-card__name {
  font: 700 22px/1.2 var(--font-sans);
  color: var(--fan-blue);
  margin: 0;
}
.author-card__role {
  font: 500 13px/1 var(--font-sans);
  color: var(--fg-3);
  margin: 4px 0 10px;
}
.author-card__bio {
  font: 400 14px/1.6 var(--font-sans);
  color: var(--fg-1);
  margin: 0 0 12px;
}
.author-card__links { display: flex; gap: 20px; flex-wrap: wrap; }
.author-card__links a {
  font: 600 13px/1 var(--font-sans);
  color: var(--fan-blue);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--border-2);
}
.author-card__links a:hover { color: var(--fan-red); text-decoration-color: var(--fan-red); }

/* =====================================================
   RELATED
   ===================================================== */
.see-all {
  font: 600 14px/1 var(--font-sans);
  color: var(--fan-blue);
  text-decoration: underline;
  text-underline-offset: 4px;
}
.see-all:hover { color: var(--fan-red); }
.related {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.related-card {
  display: block;
  transition: transform var(--dur-base) var(--ease-out);
}
.related-card:hover { transform: translateY(-4px); }
.related-card:hover h3 { color: var(--fan-red); }
.related-card__photo {
  aspect-ratio: 3/2;
  background: var(--g);
  border-radius: var(--radius-3);
  margin-bottom: 14px;
  position: relative;
  overflow: hidden;
}
.related-card__photo::after {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(255,255,255,0.25), transparent 60%);
}
.related-card .eyebrow { margin-bottom: 6px; }
.related-card h3 {
  font: 700 18px/1.3 var(--font-sans);
  color: var(--fan-blue);
  margin: 4px 0 8px;
  text-wrap: balance;
  transition: color var(--dur-fast) var(--ease-out);
}
.related-card__meta {
  font: 400 12px/1.4 var(--font-sans);
  color: var(--fg-3);
}

/* =====================================================
   NEWSLETTER STRIP
   ===================================================== */
.newsletter {
  background: var(--fan-blue);
  color: white;
  padding: 56px 0;
  margin-top: 48px;
}
.newsletter__inner {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 40px;
  align-items: center;
}
.newsletter h2 {
  font: 400 clamp(28px, 3vw, 36px)/1.15 var(--font-serif);
  margin: 8px 0 10px;
  color: white;
}
.newsletter p {
  font: 400 15px/1.55 var(--font-sans);
  color: rgba(255,255,255,0.75);
  margin: 0;
  max-width: 480px;
}
.newsletter__form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0;
  background: white;
  border-radius: var(--radius-pill);
  padding: 6px;
}
.newsletter__form input {
  background: transparent;
  border: 0;
  padding: 10px 18px;
  font: 500 14px/1 var(--font-sans);
  color: var(--fan-blue);
  outline: none;
}
.newsletter__form input::placeholder { color: var(--fg-3); }
.newsletter__form button {
  background: var(--fan-red);
  color: white;
  border: 0;
  padding: 12px 22px;
  border-radius: var(--radius-pill);
  font: 700 13px/1 var(--font-sans);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--dur-fast) var(--ease-out);
}
.newsletter__form button:hover { background: var(--fan-red-deep); }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer {
  background: var(--fan-blue-deep);
  color: rgba(255,255,255,0.75);
  padding: 56px 0 24px;
}
.site-footer__inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.site-footer__brand { display: flex; flex-direction: column; gap: 12px; }
.site-footer__brand::before {
  content: "";
  display: inline-block;
  height: 48px;
  aspect-ratio: var(--fanorate-logo-footer-aspect, 1359 / 271);
  background: var(--fanorate-logo-footer, url("assets/fanorate-logo-white.png")) no-repeat left center / contain;
}
.site-footer__brand p {
  font: 400 13px/1.55 var(--font-sans);
  color: rgba(255,255,255,0.6);
  margin: 6px 0 0;
  max-width: 340px;
}
.site-footer__cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.site-footer__cols h4 {
  font: 700 12px/1 var(--font-sans);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: white;
  margin: 0 0 14px;
}
.site-footer__cols a {
  display: block;
  font: 400 14px/1.4 var(--font-sans);
  color: rgba(255,255,255,0.7);
  padding: 5px 0;
}
.site-footer__cols a:hover { color: var(--fan-red); }
.site-footer__law {
  padding-top: 20px;
  font: 400 12px/1.4 var(--font-sans);
  color: rgba(255,255,255,0.5);
}

/* =====================================================
   RESPONSIVE
   ===================================================== */
@media (max-width: 960px) {
  .fixture-hero__chips { grid-template-columns: repeat(2, 1fr); }
  .chip-stat { border-right: 0; border-bottom: 1px solid var(--border-1); }
  .fixture-grid { grid-template-columns: 1fr; }
  .storylines { grid-template-columns: repeat(2, 1fr); }
  .h2h__row { grid-template-columns: 1fr 160px 1fr; padding: 16px 18px; }
  .h2h__teams { padding: 22px 18px; }
  .team-tabs__grid { grid-template-columns: 1fr; gap: 24px; }
  .team-tabs__panel { padding: 24px 22px; }
  .key-questions { grid-template-columns: 1fr; }
  .players { grid-template-columns: repeat(2, 1fr); }
  .related { grid-template-columns: 1fr; }
  .newsletter__inner { grid-template-columns: 1fr; }
  .site-footer__inner { grid-template-columns: 1fr; gap: 32px; }
  .standings__row { grid-template-columns: minmax(200px, 1.6fr) repeat(8, 36px) 90px; }
  .standings__cell { padding: 14px 4px; font-size: 13px; }
  .standings__team { font-size: 14px; }
  .facts { grid-template-columns: 1fr; }
  .site-nav { display: none; }
}
@media (max-width: 640px) {
  .fixture-hero__teams { grid-template-columns: 1fr; gap: 18px; padding: 28px 20px; }
  .team-side--away { justify-content: flex-start; }
  .team-side--away .team-side__text { text-align: left; align-items: flex-start; }
  .fixture-hero__chips { grid-template-columns: 1fr; }
  .storylines { grid-template-columns: 1fr; }
  .h2h__row { grid-template-columns: 1fr; gap: 6px; text-align: center; padding: 16px; }
  .h2h__a, .h2h__b { text-align: center; }
  .h2h__row--bar .h2h__a, .h2h__row--bar .h2h__b { justify-content: center; }
  .players { grid-template-columns: 1fr; }
  .score-predict__num { font-size: 60px; }
  .score-predict__name { font-size: 18px; }
  .standings {
    overflow-x: auto;
  }
  .standings__row { min-width: 720px; }
  .author-card { grid-template-columns: 1fr; text-align: center; }
  .author-card__avatar { margin: 0 auto; }
  .author-card__links { justify-content: center; }
}
