@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,900;1,400;1,700&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=DM+Mono:wght@400;500&display=swap');

/* ═══════════════════════════════════════════════
   FAMOUS SPORTS PEOPLE — Modern Neutral Design
   Clean. Editorial. Warm whites & charcoal.
   ═══════════════════════════════════════════════ */

:root {
  /* Neutral palette */
  --white:      #ffffff;
  --bg:         #f7f7f5;
  --bg2:        #f0f0ec;
  --surface:    #ffffff;
  --card:       #ffffff;
  --border:     #e4e4de;
  --border2:    #d4d4cc;
  --charcoal:   #1c1c1e;
  --ink:        #2d2d2f;
  --text:       #2d2d2f;
  --body:       #4a4a4c;
  --muted:      #8a8a8e;
  --faint:      #c4c4c0;

  /* Accent */
  --gold:       #c8933a;
  --gold-light: #e8b76a;
  --gold-bg:    #fdf6ec;
  --blue:       #2952a3;
  --blue-light: #4a74c5;
  --blue-bg:    #eef2fb;
  --red:        #c0392b;
  --green:      #27ae60;

  /* Dark surface (nav, hero) */
  --dark:       #16161a;
  --dark2:      #1e1e24;
  --dark3:      #28282f;
  --dark-border:#35353e;
  --dark-muted: #8a8a96;
  --navy:       #0b1e38;

  /* Brand aliases (used by club-career-table, moment-card, etc.) */
  --brand:      #1a3c5e;
  --brand-mid:  #2e75b6;
  --card-bg:    #ffffff;

  /* Type */
  --font-head:  'Playfair Display', Georgia, serif;
  --font-ui:    'Plus Jakarta Sans', system-ui, sans-serif;
  --font-mono:  'DM Mono', monospace;

  /* Spacing & shape */
  --radius-sm:  6px;
  --radius:     10px;
  --radius-lg:  16px;
  --shadow-sm:  0 1px 4px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
  --shadow:     0 4px 16px rgba(0,0,0,0.08), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.06);
  --transition: 0.2s cubic-bezier(0.4,0,0.2,1);
}

/* ── Reset ─────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body { background: var(--bg); color: var(--ink); font-family: var(--font-ui); line-height: 1.65; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; color: inherit; }
input, select, textarea { font: inherit; }

/* ── Typography ────────────────────────────────── */
h1 { font-family: var(--font-head); font-size: clamp(2.4rem, 6vw, 5.5rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.02em; color: var(--charcoal); }
h2 { font-family: var(--font-head); font-size: clamp(1.8rem, 4vw, 3.5rem); font-weight: 700; line-height: 1.12; letter-spacing: -0.02em; color: var(--charcoal); }
h3 { font-family: var(--font-head); font-size: clamp(1.3rem, 2.5vw, 2.2rem); font-weight: 600; line-height: 1.2; letter-spacing: -0.01em; color: var(--charcoal); }
h4 { font-family: var(--font-ui); font-size: 1.05rem; font-weight: 700; color: var(--charcoal); }
h5 { font-family: var(--font-ui); font-size: 0.82rem; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); }
p  { color: var(--body); line-height: 1.75; max-width: 68ch; }
.lead { font-size: 1.15rem; color: var(--body); line-height: 1.7; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-ui); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: ''; display: block; width: 20px; height: 2px; background: var(--gold); border-radius: 2px; flex-shrink: 0; }

/* ── Layout ────────────────────────────────────── */
.container { width: min(1300px, 100% - 3rem); margin-inline: auto; }
.container--narrow { width: min(860px, 100% - 3rem); margin-inline: auto; }
.section { padding: 5rem 0; }
.section--sm { padding: 3rem 0; }
.section--lg { padding: 7rem 0; }

.grid-2  { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; }
.grid-3  { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; }
.grid-4  { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.5rem; }
.grid-5  { display: grid; grid-template-columns: repeat(5,1fr); gap: 1.2rem; }

.flex-center  { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-gap     { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2.5rem; }
.mb-2 { margin-bottom: 1rem; }
.text-center { text-align: center; }
.text-gold   { color: var(--gold); }
.text-muted  { color: var(--muted); }
.text-blue   { color: var(--blue); }

/* ── Buttons ───────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  font-family: var(--font-ui); font-size: 0.85rem; font-weight: 700;
  letter-spacing: 0.04em; padding: 0.75rem 1.6rem;
  border-radius: 50px; transition: var(--transition); white-space: nowrap;
  cursor: pointer;
}
.btn--primary { background: var(--charcoal); color: var(--white); }
.btn--primary:hover { background: var(--ink); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn--gold { background: var(--gold); color: var(--white); }
.btn--gold:hover { background: #b8832a; transform: translateY(-1px); box-shadow: 0 4px 16px rgba(200,147,58,0.35); }
.btn--outline { border: 1.5px solid var(--border2); color: var(--body); background: var(--white); }
.btn--outline:hover { border-color: var(--charcoal); color: var(--charcoal); }
.btn--sm { padding: 0.5rem 1.1rem; font-size: 0.78rem; }
.btn-group { display: flex; gap: 0.75rem; flex-wrap: wrap; }

/* ── Tags & Badges ─────────────────────────────── */
.tag {
  display: inline-flex; align-items: center; gap: 0.3rem;
  font-family: var(--font-ui); font-size: 0.7rem; font-weight: 600;
  letter-spacing: 0.06em; text-transform: uppercase;
  padding: 0.25rem 0.7rem; border-radius: 50px;
  background: var(--bg2); border: 1px solid var(--border); color: var(--body);
}
.tag--gold { background: var(--gold-bg); border-color: rgba(200,147,58,0.3); color: var(--gold); }
.tag--blue { background: var(--blue-bg); border-color: rgba(41,82,163,0.25); color: var(--blue); }
.tag--dark { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }

/* ── Header / Nav ──────────────────────────────── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 300;
  background: rgba(22,22,26,0.97);
  backdrop-filter: blur(20px) saturate(1.8);
  border-bottom: 1px solid var(--dark-border);
  transition: var(--transition);
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  height: 64px;
}
.logo {
  font-family: var(--font-head); font-size: 1.35rem; font-weight: 700;
  color: var(--white); letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 0.4rem; flex-shrink: 0;
}
.logo-dot { width: 8px; height: 8px; background: var(--gold); border-radius: 50%; display: inline-block; }
.logo em { color: var(--gold); font-style: normal; }

.main-nav {
  display: flex; align-items: center; gap: 0.15rem; margin-left: 1rem;
}
.main-nav > a, .nav-drop > .nav-drop-btn {
  font-family: var(--font-ui); font-size: 0.82rem; font-weight: 500;
  color: rgba(255,255,255,0.65); padding: 0.4rem 0.8rem;
  border-radius: var(--radius-sm); transition: var(--transition);
  cursor: pointer; white-space: nowrap;
}
.main-nav > a:hover, .nav-drop > .nav-drop-btn:hover { color: var(--white); background: rgba(255,255,255,0.08); }
.main-nav > a.active { color: var(--gold); }

.nav-drop { position: relative; }
.nav-drop-panel {
  display: none; position: absolute; top: 100%; left: 50%;
  transform: translateX(-50%);
  background: var(--dark2); border: 1px solid var(--dark-border);
  border-radius: var(--radius); box-shadow: var(--shadow-lg);
  padding: 0.75rem 1rem 1rem; min-width: 520px; z-index: 400;
  padding-top: 12px;
}
.nav-drop-panel::before {
  content: ''; position: absolute; top: -10px; left: 0; right: 0; height: 10px;
}
.nav-drop:hover .nav-drop-panel { display: grid; grid-template-columns: repeat(3,1fr); gap: 0.25rem; }
.nav-drop-panel a {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.55rem 0.8rem; border-radius: var(--radius-sm);
  font-size: 0.82rem; font-weight: 500; color: rgba(255,255,255,0.65);
  transition: var(--transition);
}
.nav-drop-panel a:hover { background: rgba(255,255,255,0.07); color: var(--white); }
.nav-drop-panel .sport-icon { font-size: 1rem; }

.header-right { display: flex; align-items: center; gap: 0.75rem; margin-left: auto; }
.header-search {
  display: flex; align-items: center; gap: 0.5rem;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50px; padding: 0.4rem 1rem; transition: var(--transition);
  width: 200px;
}
.header-search:focus-within { background: rgba(255,255,255,0.12); border-color: rgba(255,255,255,0.25); width: 240px; }
.header-search input {
  background: none; border: none; outline: none;
  color: var(--white); font-size: 0.82rem; width: 100%;
}
.header-search input::placeholder { color: rgba(255,255,255,0.4); }
.header-search svg { color: rgba(255,255,255,0.4); flex-shrink: 0; width: 14px; height: 14px; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--white); border-radius: 2px; transition: var(--transition); }

.mobile-nav {
  display: none; position: fixed; inset: 64px 0 0 0;
  background: var(--dark); z-index: 250; overflow-y: auto;
  padding: 1.5rem 2rem;
}
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: block; padding: 0.9rem 0; border-bottom: 1px solid var(--dark-border);
  color: rgba(255,255,255,0.75); font-size: 1rem; font-weight: 500;
}
.mobile-nav .sport-group-title { font-size: 0.7rem; letter-spacing: 0.15em; text-transform: uppercase; color: var(--dark-muted); margin: 1.5rem 0 0.5rem; }

/* ── Ticker strip ──────────────────────────────── */
.ticker-wrap {
  background: var(--dark2); border-bottom: 1px solid var(--dark-border);
  height: 36px; overflow: hidden; display: flex; align-items: center;
  margin-top: 64px;
}
.ticker-inner {
  display: flex; gap: 0; white-space: nowrap;
  animation: ticker 240s linear infinite;
}
.ticker-wrap:hover .ticker-inner { animation-play-state: paused; }
.ticker-item {
  display: inline-flex; align-items: center; gap: 0.5rem; padding: 0 2rem;
  font-size: 0.75rem; font-weight: 600; letter-spacing: 0.06em;
  color: rgba(255,255,255,0.5); text-transform: uppercase;
  text-decoration: none; transition: color 0.2s;
  cursor: pointer;
}
.ticker-item:hover { color: var(--gold); transform: scale(1.05); }
.ticker-item .dot { width: 4px; height: 4px; background: var(--gold); border-radius: 50%; flex-shrink:0; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ── Gender tabs ───────────────────────────────── */
.gender-tabs { display:flex; gap:.4rem; margin-bottom:1.4rem; border-bottom:2px solid var(--border); flex-wrap:wrap; }
.gender-tab {
  display:inline-flex; align-items:center; gap:.5rem;
  padding:.55rem 1rem; font-size:.82rem; font-weight:600;
  color:var(--body); text-decoration:none; border-radius:var(--radius-sm) var(--radius-sm) 0 0;
  border:1px solid transparent; border-bottom:2px solid transparent;
  transition:var(--transition); background:transparent; margin-bottom:-2px;
  cursor:pointer; font-family:inherit; white-space:nowrap;
}
.gender-tab:hover { color:var(--ink); background:var(--bg2); border-color:var(--border); border-bottom-color:transparent; }
.gender-tab--active { color:var(--ink); background:var(--surface); border-color:var(--border); border-bottom-color:var(--surface); }
.gender-tab__count { background:var(--border2); color:var(--charcoal); font-size:.7rem; font-weight:700; padding:.15rem .45rem; border-radius:20px; line-height:1; }
.gender-tab--active .gender-tab__count { background:var(--gold-bg); color:var(--gold); }
@media(max-width:600px){ .gender-tab { font-size:.78rem; padding:.45rem .75rem; } }

/* ── Hero ──────────────────────────────────────── */
/* ── Video Hero ────────────────────────────────── */
.hero--video { background: #000; padding: 6rem 0 5rem; }
.hero-video-wrap {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-video {
  width: 100%; height: 100%; object-fit: cover;
  transform: scale(1.04); /* slight scale avoids letterbox edges */
}
.hero-video-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(
    135deg,
    rgba(5,15,35,0.72) 0%,
    rgba(5,15,35,0.55) 50%,
    rgba(5,15,35,0.68) 100%
  );
}
.hero-video-mute {
  position: absolute; bottom: 1.5rem; right: 1.5rem; z-index: 10;
  background: rgba(0,0,0,0.45); border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7); font-size: 0.72rem; font-weight: 600;
  letter-spacing: 0.05em; padding: 0.45rem 0.9rem; border-radius: 30px;
  cursor: pointer; transition: background 0.2s, color 0.2s; backdrop-filter: blur(4px);
}
.hero-video-mute:hover { background: rgba(200,147,58,0.4); color: #fff; }
.hero {
  background: var(--dark); color: var(--white); position: relative; overflow: hidden;
  padding: 6rem 0 5rem;
}
.hero-pattern {
  position: absolute; inset: 0; opacity: 0.025;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 32px 32px;
}
.hero-glow {
  position: absolute; top: -200px; right: -100px; width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(200,147,58,0.15) 0%, transparent 70%);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute; bottom: -100px; left: -100px; width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(41,82,163,0.1) 0%, transparent 70%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 1; max-width: 800px; }
.hero h1 { color: var(--white); margin-bottom: 1.2rem; }
.hero h1 em { color: var(--gold); font-style: italic; }
.hero .lead { color: rgba(255,255,255,0.6); max-width: 58ch; margin-bottom: 2.5rem; }
.hero-stats {
  display: flex; gap: 2.5rem; margin-top: 3.5rem; padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.hero-stat__n {
  font-family: var(--font-head); font-size: 2.8rem; font-weight: 700;
  color: var(--gold); line-height: 1;
}
.hero-stat__l {
  font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: rgba(255,255,255,0.4); margin-top: 0.35rem;
}
.hero-search {
  display: flex; align-items: center; gap: 0; max-width: 520px;
  background: rgba(255,255,255,0.08); border: 1.5px solid rgba(255,255,255,0.15);
  border-radius: 50px; overflow: hidden; transition: var(--transition);
}
.hero-search:focus-within { border-color: rgba(200,147,58,0.5); background: rgba(255,255,255,0.12); }
.hero-search input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--white); font-size: 0.95rem; padding: 0.9rem 1.5rem;
}
.hero-search input::placeholder { color: rgba(255,255,255,0.35); }
.hero-search button {
  background: var(--gold); color: var(--white); padding: 0.75rem 1.4rem;
  font-size: 0.82rem; font-weight: 700; border-radius: 50px;
  margin: 0.25rem; transition: var(--transition);
}
.hero-search button:hover { background: #b8832a; }

/* ── Section styles ────────────────────────────── */
.section-header { margin-bottom: 2.5rem; }
.section-header p { color: var(--body); margin-top: 0.75rem; }
.section-header--center { text-align: center; }
.section-header--center p { margin-inline: auto; }

.divider { height: 1px; background: var(--border); border: none; }

/* ── Sport Cards ───────────────────────────────── */
.sports-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 1rem; }
.sport-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.4rem 1.2rem;
  display: flex; flex-direction: column; align-items: flex-start;
  gap: 0.6rem; transition: var(--transition); cursor: pointer;
  text-decoration: none; color: inherit; position: relative; overflow: hidden;
}
.sport-card::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 3px;
  background: var(--gold); transform: scaleX(0);
  transform-origin: left; transition: transform var(--transition);
}
.sport-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: var(--shadow); }
.sport-card:hover::after { transform: scaleX(1); }
.sport-card__icon { font-size: 2rem; }
.sport-card__name { font-family: var(--font-ui); font-size: 0.88rem; font-weight: 700; color: var(--charcoal); }
.sport-card__count { font-size: 0.72rem; color: var(--muted); }

/* ── Athlete Cards ─────────────────────────────── */
.athlete-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1.2rem; }
.athlete-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); overflow: hidden;
  transition: border-color 0.2s, transform 0.22s, box-shadow 0.22s;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
}
.athlete-card:hover { border-color: var(--gold); transform: translateY(-4px); box-shadow: 0 12px 32px rgba(0,0,0,.12); }
.athlete-card__img {
  height: 180px; background: linear-gradient(135deg, var(--bg2) 0%, var(--bg) 100%) !important;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  transition: background 0.3s ease;
}
.athlete-card__img::after {
  content: ''; position: absolute; bottom: 0; left: 0; right: 0;
  height: 3px; background: var(--gold) !important;
  transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s ease;
}
.athlete-card:hover .athlete-card__img::after { transform: scaleX(1); }
.athlete-card__initials {
  width: 80px; height: 80px; border-radius: 50%;
  background: var(--gold) !important; color: var(--navy) !important;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1.8rem; font-weight: 700;
  letter-spacing: -0.02em;
  box-shadow: 0 4px 16px rgba(212,175,55,.25);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.athlete-card:hover .athlete-card__initials {
  transform: scale(1.08);
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.athlete-card__sport-pill {
  position: absolute; top: 0.8rem; right: 0.8rem;
  background: var(--white); border: 1px solid var(--border);
  border-radius: 50px; padding: 0.2rem 0.6rem;
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--body);
}
.athlete-card__body { padding: 1.2rem; flex: 1; display: flex; flex-direction: column; }
.athlete-card__nat { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.25rem; }
.athlete-card__name { font-family: var(--font-head); font-size: 1.15rem; font-weight: 700; color: var(--charcoal); line-height: 1.2; margin-bottom: 0.3rem; }
.athlete-card__pos { font-size: 0.78rem; font-weight: 600; color: var(--gold); margin-bottom: 0.6rem; }
.athlete-card__snippet { font-size: 0.82rem; color: var(--body); line-height: 1.5; flex: 1; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.athlete-card__footer {
  padding: 0.9rem 1.2rem; border-top: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.athlete-card__cta { font-size: 0.75rem; font-weight: 700; color: var(--muted); display: flex; align-items: center; gap: 0.3rem; transition: color 0.2s; }
.athlete-card:hover .athlete-card__cta { color: var(--gold); }

/* Athlete card - featured (same size as regular) */
.athlete-card--featured .athlete-card__name { font-size: 1.15rem; }

/* ── Filter bar ────────────────────────────────── */
.filter-bar {
  display: flex; align-items: center; gap: 0.5rem; flex-wrap: wrap;
  padding: 1rem 0; border-bottom: 1px solid var(--border); margin-bottom: 2.5rem;
}
.filter-chip {
  font-family: var(--font-ui); font-size: 0.78rem; font-weight: 600;
  padding: 0.45rem 1.1rem; border-radius: 50px;
  border: 1.5px solid var(--border); background: var(--white); color: var(--body);
  transition: var(--transition); cursor: pointer;
}
.filter-chip:hover { border-color: var(--charcoal); color: var(--charcoal); }
.filter-chip.active { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }
.filter-count {
  font-size: 0.68rem; background: var(--bg2); color: var(--muted);
  padding: 0.1rem 0.4rem; border-radius: 50px; margin-left: 0.3rem;
}
.filter-chip.active .filter-count { background: rgba(255,255,255,0.2); color: rgba(255,255,255,0.7); }

/* ── Category / Sport hero ─────────────────────── */
.cat-hero {
  background: var(--dark); color: var(--white);
  padding: 6rem 0 4rem; position: relative; overflow: hidden;
  margin-top: 64px;
}
.cat-hero-pattern {
  position: absolute; inset: 0; opacity: 0.03;
  background-image: radial-gradient(circle, #fff 1px, transparent 1px);
  background-size: 28px 28px;
}
.cat-hero__icon { font-size: 3.5rem; margin-bottom: 1rem; display: block; }
.cat-hero h1 { color: var(--white); margin-bottom: 0.8rem; }
.cat-hero .lead { color: rgba(255,255,255,0.6); }
.cat-hero-bar {
  display: flex; gap: 2.5rem; margin-top: 2.5rem; padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}
.cat-hero-stat span { display: block; }
.cat-hero-stat .n { font-family: var(--font-head); font-size: 2.2rem; color: var(--gold); line-height: 1; }
.cat-hero-stat .l { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-top: 0.3rem; }

/* ── Bio page ──────────────────────────────────── */
.bio-hero {
  background: var(--dark); color: var(--white);
  padding: 6rem 0 4rem; margin-top: 64px;
}
.bio-hero-inner { display: grid; grid-template-columns: auto 1fr; gap: 3.5rem; align-items: start; }
.bio-avatar {
  width: 180px; height: 180px; border-radius: 50%;
  background: var(--dark3); border: 3px solid var(--dark-border);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 4rem; font-weight: 700;
  color: var(--gold); flex-shrink: 0; letter-spacing: -0.02em;
}
.bio-hero h1 { color: var(--white); font-size: clamp(2rem,5vw,4rem); margin: 0.5rem 0 0.4rem; }
.bio-hero__full-name { color: rgba(255,255,255,0.45); font-size: 1rem; font-family: var(--font-ui); font-style: italic; margin-bottom: 1.5rem; }
.nat-link { color: inherit; text-decoration: underline; text-underline-offset: 2px; opacity: 0.8; }
.nat-link:hover { opacity: 1; color: var(--gold); }
.bio-hero__tags { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.5rem; }
.bio-quick-stats {
  display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 1.5rem;
}
.bio-quick-stat {
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-sm); padding: 0.8rem 1.2rem;
  text-align: center; min-width: 100px;
}
.bio-quick-stat .val { font-family: var(--font-head); font-size: 1.6rem; color: var(--gold); line-height: 1; }
.bio-quick-stat .key { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,0.4); margin-top: 0.3rem; }

.bio-body { padding: 4rem 0; }
.bio-layout { display: grid; grid-template-columns: 1fr 380px; gap: 3rem; align-items: start; }
.bio-main > p { margin-bottom: 1.5rem; font-size: 1.05rem; }
.bio-main h3 { margin: 2.5rem 0 1rem; }
.bio-main .lead { font-size: 1.15rem; color: var(--ink); font-family: var(--font-head); font-style: italic; margin-bottom: 1.5rem; }
.bio-sidebar { position: sticky; top: 84px; display: flex; flex-direction: column; gap: 1.5rem; }
.bio-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.bio-card__header {
  padding: 1rem 1.2rem; background: var(--charcoal); border-bottom: 1px solid rgba(255,255,255,.08);
  font-size: 0.78rem; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: rgba(255,255,255,.7);
}
.bio-card table { width: 100%; border-collapse: collapse; }
.bio-card td { padding: 0.7rem 1.2rem; border-bottom: 1px solid var(--border); font-size: 0.88rem; vertical-align: top; }
.bio-card tr:last-child td { border-bottom: none; }
.bio-card td:first-child { color: var(--muted); font-weight: 600; font-size: 0.78rem; letter-spacing: 0.04em; width: 42%; }

.bio-funfact {
  background: var(--gold-bg); border: 1.5px solid rgba(200,147,58,0.25);
  border-radius: var(--radius); padding: 1.3rem 1.4rem;
}
.bio-funfact__label { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 0.7rem; }
.bio-funfact p { font-size: 0.9rem; color: var(--ink); max-width: none; line-height: 1.65; }

.honours-list { display: flex; flex-direction: column; gap: 0.4rem; }
.honours-list li {
  display: flex; align-items: flex-start; gap: 0.6rem;
  font-size: 0.85rem; color: var(--body); line-height: 1.4;
}
.honours-list li::before { content: '★'; color: var(--gold); flex-shrink: 0; font-size: 0.65rem; margin-top: 0.2rem; }

/* ── List/Rankings pages ───────────────────────── */
.rankings-table {
  width: 100%; border-collapse: collapse;
  background: var(--white); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
}
.rankings-table thead th {
  background: var(--bg2); padding: 0.9rem 1.2rem;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); text-align: left;
  border-bottom: 1.5px solid var(--border);
}
.rankings-table tbody td { padding: 1rem 1.2rem; border-bottom: 1px solid var(--border); font-size: 0.92rem; }
.rankings-table tbody tr:last-child td { border-bottom: none; }
.rankings-table tbody tr:hover td { background: var(--bg2); }

.rank-link { font-weight: 700; color: var(--charcoal); font-size: 0.95rem; }
.rank-link:hover { color: var(--gold); }
.rank-detail { color: var(--muted); font-size: 0.82rem; }

/* ── Search ────────────────────────────────────── */
.search-hero { background: var(--dark); padding: 5rem 0 3rem; margin-top: 64px; }
.search-hero h1 { color: var(--white); margin-bottom: 1.5rem; }
.search-box-lg {
  display: flex; align-items: center; gap: 0;
  background: rgba(255,255,255,0.1); border: 1.5px solid rgba(255,255,255,0.2);
  border-radius: 50px; overflow: hidden; max-width: 640px;
  transition: var(--transition);
}
.search-box-lg:focus-within { border-color: var(--gold); background: rgba(255,255,255,0.14); }
.search-box-lg input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--white); font-size: 1rem; padding: 1rem 1.5rem;
}
.search-box-lg input::placeholder { color: rgba(255,255,255,0.4); }
.search-box-lg button {
  background: var(--gold); color: var(--white); padding: 0.8rem 1.6rem;
  font-size: 0.85rem; font-weight: 700; border-radius: 50px; margin: 0.3rem;
  cursor: pointer; transition: var(--transition);
}
.search-box-lg button:hover { background: #b8832a; }
.search-result {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.4rem; margin-bottom: 1rem;
  transition: var(--transition); cursor: pointer;
  display: flex; gap: 1.2rem; align-items: flex-start;
}
.search-result:hover { border-color: var(--charcoal); box-shadow: var(--shadow); }
.search-result__init {
  width: 52px; height: 52px; border-radius: 50%; background: var(--charcoal);
  color: var(--white); display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; flex-shrink: 0;
}
.search-result h4 { margin-bottom: 0.25rem; }
.search-result h4 a:hover { color: var(--gold); }
.search-result p { font-size: 0.86rem; color: var(--muted); max-width: none; margin: 0 0 0.6rem; line-height: 1.5; font-family: var(--font-ui); }
.search-result-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; }

/* ── Breadcrumb ────────────────────────────────── */
.breadcrumb { display: flex; align-items: center; gap: 0; margin-bottom: 1.5rem; flex-wrap: wrap; }
.breadcrumb li { display: flex; align-items: center; gap: 0; }
.breadcrumb li:not(:last-child)::after { content: '/'; color: rgba(255,255,255,0.2); padding: 0 0.5rem; font-size: 0.75rem; }
.breadcrumb a { font-size: 0.78rem; color: rgba(255,255,255,0.45); font-weight: 500; transition: var(--transition); }
.breadcrumb a:hover { color: rgba(255,255,255,0.8); }
.breadcrumb li:last-child a { color: rgba(255,255,255,0.8); }
/* Light breadcrumb */
.breadcrumb--light li:not(:last-child)::after { color: var(--faint); }
.breadcrumb--light a { color: var(--muted); }
.breadcrumb--light a:hover { color: var(--charcoal); }
.breadcrumb--light li:last-child a { color: var(--charcoal); }

/* ── Featured bands ────────────────────────────── */
.feature-band { background: var(--charcoal); color: var(--white); padding: 4rem 0; }
.feature-band h2 { color: var(--white); }
.feature-band .lead { color: rgba(255,255,255,0.6); }
.stat-band { background: var(--bg2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 3rem 0; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px,1fr)); gap: 2rem; text-align: center; }
.stat-row .n { font-family: var(--font-head); font-size: 2.5rem; font-weight: 700; color: var(--charcoal); }
.stat-row .l { font-size: 0.72rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-top: 0.3rem; }

/* ── Highlight quote ───────────────────────────── */
.pull-quote {
  border-left: 4px solid var(--gold); padding: 1.2rem 1.8rem;
  background: var(--gold-bg); border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
}
.pull-quote p { font-family: var(--font-head); font-size: 1.15rem; font-style: italic; color: var(--ink); max-width: none; line-height: 1.6; margin: 0; }
.pull-quote cite { display: block; margin-top: 0.6rem; font-size: 0.78rem; font-weight: 700; font-style: normal; color: var(--gold); letter-spacing: 0.06em; text-transform: uppercase; }

/* ── Adsense ───────────────────────────────────── */
.ad-wrap { padding: 2rem 0; }
.ad-label-txt { font-size: 0.65rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--faint); text-align: center; margin-bottom: 0.4rem; }
.ad-slot {
  background: var(--bg2); border: 1px dashed var(--border2);
  border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center;
  min-height: 90px; color: var(--faint); font-size: 0.7rem; letter-spacing: 0.1em;
  text-transform: uppercase; overflow: hidden;
}
.ad-slot--rect { min-height: 250px; max-width: 300px; }
.ad-slot--banner { min-height: 90px; width: 100%; }

/* ── Pagination ────────────────────────────────── */
.pagination { display: flex; gap: 0.4rem; justify-content: center; margin-top: 3rem; }
.pagination a, .pagination span {
  width: 38px; height: 38px; display: flex; align-items: center; justify-content: center;
  border-radius: var(--radius-sm); border: 1.5px solid var(--border);
  font-size: 0.85rem; font-weight: 600; color: var(--body); transition: var(--transition);
  background: var(--white);
}
.pagination a:hover { border-color: var(--charcoal); color: var(--charcoal); }
.pagination .active { background: var(--charcoal); border-color: var(--charcoal); color: var(--white); }

/* ── Accordion ─────────────────────────────────── */
.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-btn {
  width: 100%; display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 0; font-size: 0.95rem; font-weight: 600; color: var(--charcoal);
  transition: var(--transition); cursor: pointer;
}
.accordion-btn:hover { color: var(--gold); }
.accordion-btn .icon { transition: transform 0.2s; }
.accordion-item.open .accordion-btn .icon { transform: rotate(45deg); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.accordion-body p { padding-bottom: 1.2rem; font-size: 0.9rem; }

/* ── Footer ────────────────────────────────────── */
.site-footer { background: var(--dark); color: rgba(255,255,255,0.6); margin-top: 5rem; }
.footer-top {
  padding: 4rem 0 3rem;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
}
.footer-logo { font-family: var(--font-head); font-size: 1.35rem; color: var(--white); margin-bottom: 0.8rem; display: flex; align-items: center; gap: 0.4rem; }
.footer-logo em { color: var(--gold); font-style: italic; }
.footer-brand p { font-size: 0.85rem; max-width: 30ch; line-height: 1.65; }
.footer-col h5 { font-size: 0.68rem; letter-spacing: 0.15em; text-transform: uppercase; color: rgba(255,255,255,0.35); margin-bottom: 1rem; font-weight: 700; font-family: var(--font-ui); }
.footer-col ul { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-col a { font-size: 0.85rem; color: rgba(255,255,255,0.5); transition: var(--transition); }
.footer-col a:hover { color: var(--white); }
.footer-bottom {
  border-top: 1px solid var(--dark-border); padding: 1.5rem 0;
  display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.78rem; max-width: none; color: rgba(255,255,255,0.35); }
.footer-legal { display: flex; gap: 1.5rem; }
.footer-legal a { font-size: 0.76rem; color: rgba(255,255,255,0.35); transition: var(--transition); }
.footer-legal a:hover { color: rgba(255,255,255,0.7); }
.disclaimer-bar {
  background: rgba(200,147,58,0.08); border: 1px solid rgba(200,147,58,0.2);
  border-radius: var(--radius-sm); padding: 0.9rem 1.2rem;
  font-size: 0.78rem; color: rgba(255,255,255,0.45); line-height: 1.6;
  margin-bottom: 1rem;
}
.disclaimer-bar strong { color: var(--gold); font-weight: 600; }

/* ── Back to top ───────────────────────────────── */
.btt {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 200;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--charcoal); color: var(--white); border: 2px solid rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; box-shadow: var(--shadow-lg);
  opacity: 0; pointer-events: none; transform: translateY(8px);
  transition: opacity 0.2s, transform 0.2s;
}
.btt.on { opacity: 1; pointer-events: all; transform: translateY(0); }
.btt:hover { background: var(--gold); }

/* ── Animations ────────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(24px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── Misc utilities ────────────────────────────── */
.dot-divider { width: 40px; height: 3px; background: var(--gold); border-radius: 2px; margin: 1rem 0; }
.card-plain { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius); padding: 1.5rem; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 1.5rem; }
.inline-link { color: var(--gold); font-weight: 600; border-bottom: 1px solid rgba(200,147,58,0.3); transition: var(--transition); }
.inline-link:hover { border-color: var(--gold); }
.no-results { text-align: center; padding: 4rem 2rem; color: var(--muted); }
.no-results p { margin-inline: auto; }

/* ── Responsive ────────────────────────────────── */
@media (max-width: 1100px) {
  .grid-4, .grid-5 { grid-template-columns: repeat(3,1fr); }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .bio-layout { grid-template-columns: 1fr; }
  .bio-sidebar { position: static; }
}
@media (max-width: 900px) {
  .main-nav, .header-search { display: none; }
  .hamburger { display: flex; }
  .grid-3, .grid-4, .grid-5 { grid-template-columns: repeat(2,1fr); }
  .bio-hero-inner { grid-template-columns: 1fr; }
  .bio-avatar { width: 120px; height: 120px; font-size: 2.5rem; }
  .hero-stats { flex-wrap: wrap; gap: 1.5rem; }
  .cat-hero-bar { flex-wrap: wrap; gap: 1.5rem; }
}
@media (max-width: 640px) {
  .grid-2, .grid-3, .grid-4, .grid-5 { grid-template-columns: 1fr; }
  .athlete-grid { grid-template-columns: repeat(2,1fr); }
  .sports-grid { grid-template-columns: repeat(2,1fr); }
  .footer-top { grid-template-columns: 1fr; }
  h1 { font-size: 2.2rem; }
  h2 { font-size: 1.8rem; }
  .container { width: calc(100% - 2rem); }
  .hero { padding: 4rem 0 3rem; }
}
@media (max-width: 400px) {
  .athlete-grid { grid-template-columns: 1fr; }
}

/* ── Sport of the Week ───────────────────────────────────── */
.sotw-section{padding:3.5rem 0}
.sotw-inner{display:grid;grid-template-columns:1fr 1fr;gap:3rem;align-items:center}
.sotw-icon{font-size:3rem;display:block;margin:.5rem 0}
.sotw-stats{display:flex;gap:2rem;margin-top:1.2rem}
.sotw-stats .n{display:block;font-size:1.8rem;font-weight:700;line-height:1}
.sotw-stats .l{font-size:.78rem;text-transform:uppercase;letter-spacing:.05em}
.sotw-athletes{display:grid;grid-template-columns:1fr 1fr;gap:1rem}
.sotw-card{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.12);border-radius:var(--radius);padding:1.2rem;text-decoration:none;transition:var(--transition);display:flex;flex-direction:column;gap:.3rem}
.sotw-card:hover{background:rgba(255,255,255,.12);border-color:var(--gold)}
.sotw-card__init{width:44px;height:44px;border-radius:50%;background:var(--gold);color:var(--navy);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:.9rem;margin-bottom:.3rem}
.sotw-card__name{color:#fff;font-weight:600;font-size:.92rem}
.sotw-card__nat{color:rgba(255,255,255,.5);font-size:.78rem}
@media(max-width:768px){.sotw-inner{grid-template-columns:1fr}.sotw-athletes{grid-template-columns:1fr 1fr}}

/* ── This Day in Sport ───────────────────────────────────── */
.thisday-widget{background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius-lg);padding:1.8rem;overflow:hidden}
.thisday-header{display:flex;align-items:center;gap:1.2rem;margin-bottom:1.5rem;flex-wrap:wrap}
.thisday-icon{font-size:2rem;flex-shrink:0}
.thisday-header .eyebrow{display:block;margin-bottom:.2rem}
.thisday-header h3{margin:0;font-size:1.2rem}
.thisday-results{display:flex;flex-direction:column;gap:.8rem}
.thisday-card{display:flex;align-items:center;gap:1.2rem;padding:1rem 1.2rem;background:var(--bg2);border:1px solid var(--border);border-radius:var(--radius);text-decoration:none;transition:var(--transition)}
.thisday-card:hover{border-color:var(--gold);transform:translateX(4px)}
.thisday-card__icon{font-size:1.6rem;flex-shrink:0}
.thisday-card__body{flex:1}
.thisday-card__year{font-size:.75rem;color:var(--gold);font-weight:700;text-transform:uppercase;letter-spacing:.08em}
.thisday-card__title{font-weight:600;color:var(--text);font-size:.95rem;margin:.1rem 0}
.thisday-card__sig{font-size:.8rem;color:var(--muted);line-height:1.4}
.thisday-card__arrow{color:var(--muted);font-size:1.1rem;flex-shrink:0}

/* ── Nationality Filter ──────────────────────────────────── */
.nat-filter{display:flex;flex-wrap:wrap;gap:.35rem;margin-bottom:1.2rem;padding:1rem 1.2rem;background:var(--bg2);border-radius:var(--radius);border:1px solid var(--border)}
.nat-filter__label{font-size:.72rem;color:var(--charcoal);text-transform:uppercase;letter-spacing:.08em;align-self:center;white-space:nowrap;margin-right:.4rem;font-weight:700}
.nat-btn{padding:.3rem .8rem;border:1.5px solid var(--border2);border-radius:20px;background:var(--white);color:var(--ink);font-size:.8rem;font-weight:600;cursor:pointer;transition:border-color .15s,color .15s,background .15s;font-family:inherit;white-space:nowrap;display:inline-flex;align-items:center;gap:.35rem}
.nat-btn:hover{border-color:var(--gold);color:var(--gold)}
.nat-btn.active{background:var(--gold);border-color:var(--gold);color:var(--white);font-weight:700}
.nat-btn__count{font-size:.68rem;font-weight:700;background:var(--border2);color:var(--charcoal);border-radius:20px;padding:.1rem .42rem;line-height:1.4;transition:background .15s,color .15s}
.nat-btn:hover .nat-btn__count{background:var(--gold-bg);color:var(--gold)}
.nat-btn.active .nat-btn__count{background:rgba(255,255,255,.3);color:var(--white)}

/* ── Nations Grid ────────────────────────────────────────── */
.nations-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));gap:1rem}
.nation-card{background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius);padding:1.2rem 1rem;text-decoration:none;transition:var(--transition);text-align:center}
.nation-card:hover{border-color:var(--gold);transform:translateY(-2px);box-shadow:var(--shadow-md)}
.nation-card__name{font-weight:600;color:var(--text);font-size:.9rem}
.nation-card__count{font-size:.78rem;color:var(--muted);margin-top:.25rem}

/* ── Moments Grid ────────────────────────────────────────── */
.moments-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.5rem}
.moments-grid--small{grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:1rem}
.moment-card{background:var(--card-bg);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;text-decoration:none;transition:var(--transition);display:flex;flex-direction:column}
.moment-card:hover{transform:translateY(-3px);box-shadow:var(--shadow-lg);border-color:transparent}
.moment-card__header{padding:1.2rem 1.2rem .8rem;display:flex;align-items:center;gap:.8rem}
.moment-card__icon{font-size:1.6rem}
.moment-card__cat{font-size:.72rem;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);font-weight:600}
.moment-card__year{margin-left:auto;font-size:1.1rem;font-weight:700;color:var(--gold);font-family:var(--font-mono);letter-spacing:.02em}
.moment-card__body{padding:1rem 1.2rem 1.4rem;flex:1}
.moment-card__title{font-size:.95rem;font-weight:700;color:var(--text);line-height:1.3;margin-bottom:.5rem}
.moment-card__sig{font-size:.8rem;color:var(--muted);line-height:1.45}
.moment-card__sport{display:inline-block;margin-top:.8rem;font-size:.72rem;background:var(--bg2);border:1px solid var(--border);border-radius:20px;padding:.2rem .7rem;color:var(--muted)}
.moment-hero{padding:4rem 0 3rem;background:var(--dark);color:var(--white)}
.moment-hero__inner{max-width:700px}
.moment-hero__meta{display:flex;align-items:center;gap:.7rem;margin-bottom:1rem;flex-wrap:wrap}
.moment-hero__icon{font-size:2.5rem}
.moment-hero__date{font-size:.88rem;color:var(--gold);font-weight:700;letter-spacing:.06em;text-transform:uppercase}
.moment-hero h1,.moment-hero__title{color:var(--white);font-family:var(--font-head);font-weight:800;font-size:clamp(1.6rem,3.5vw,2.8rem);line-height:1.15}
.moment-hero p,.moment-hero__sig,.moment-hero__lede{color:rgba(255,255,255,0.8)}
.moment-hero .tag{color:var(--white)}
/* Related moments grid at bottom of detail page */
.moment-related,.moments-related,.moments-grid--small .moment-card__title,
.moments-grid .moment-card__title{color:var(--charcoal)}
.moments-grid--small .moment-card__year,.moments-grid .moment-card__year{color:var(--gold)}
.moments-grid--small .moment-card__cat,.moments-grid .moment-card__cat{color:var(--muted)}
.moments-grid--small .moment-card__sig,.moments-grid .moment-card__sig{color:var(--body)}
@media(max-width:600px){.moments-grid{grid-template-columns:1fr}.nations-grid{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}}

/* ── A–Z Quick Jump ──────────────────────────────────────── */
.az-bar{display:flex;flex-wrap:wrap;gap:.25rem;margin-bottom:1.2rem;padding:.75rem 1rem;background:var(--bg2);border-radius:var(--radius);border:1px solid var(--border)}
.az-btn{width:32px;height:32px;display:flex;align-items:center;justify-content:center;border-radius:6px;background:transparent;border:1px solid var(--border);color:var(--body);text-decoration:none;font-size:.82rem;font-weight:700;transition:background .15s,border-color .15s,color .15s;cursor:pointer;font-family:inherit}
.az-btn:hover{background:var(--gold);border-color:var(--gold);color:var(--navy)}
.az-btn.active{background:var(--gold);border-color:var(--gold);color:var(--navy)}
.az-group{width:100%;}
.az-group[hidden]{display:none}
.az-group__letter{display:block;width:100%;font-size:.7rem;font-weight:800;text-transform:uppercase;letter-spacing:.15em;color:var(--gold);border-top:2px solid var(--border);padding:1rem 0 .5rem;margin-top:.8rem;grid-column:1/-1}
.az-group__inner{display:contents}
.athlete-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1.2rem}

/* ── FAQ Section ─────────────────────────────────────────── */
.faq-section{padding:4.5rem 0;background:var(--charcoal)}
.faq-section .section-header{margin-bottom:2.5rem}
.faq-section .section-header .eyebrow{color:rgba(255,255,255,.45)}
.faq-section .section-header h2{color:var(--white);font-size:clamp(1.6rem,3vw,2.4rem)}
.faq-layout{display:grid;grid-template-columns:1fr 2fr;gap:3.5rem;align-items:start}
.faq-intro{position:sticky;top:100px}
.faq-intro p{font-size:.95rem;color:rgba(255,255,255,.55);line-height:1.75;margin-top:1rem}
.faq-intro .faq-count{display:inline-flex;align-items:center;gap:.5rem;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.1);border-radius:30px;padding:.4rem .9rem;font-size:.78rem;font-weight:700;color:var(--gold);letter-spacing:.05em;text-transform:uppercase;margin-bottom:1.2rem}
.faq-list{display:flex;flex-direction:column;gap:.6rem}
.faq-item{border:1.5px solid rgba(255,255,255,.08);border-radius:var(--radius-lg);overflow:hidden;background:rgba(255,255,255,.04);transition:border-color .2s,background .2s,box-shadow .2s}
.faq-item:hover{border-color:rgba(200,147,58,.35);background:rgba(255,255,255,.06)}
.faq-item.open{border-color:var(--faq-accent,var(--gold));background:color-mix(in srgb,var(--faq-accent,var(--gold)) 8%,transparent);box-shadow:0 4px 32px color-mix(in srgb,var(--faq-accent,var(--gold)) 20%,transparent)}
.faq-q{width:100%;display:flex;align-items:center;justify-content:space-between;gap:1rem;padding:1.1rem 1.35rem;background:none;border:none;cursor:pointer;text-align:left;font-family:var(--font-ui);font-size:.97rem;font-weight:600;color:rgba(255,255,255,.85);line-height:1.45;transition:color .2s}
.faq-q:hover{color:var(--white)}
.faq-item.open .faq-q{color:var(--faq-accent,var(--gold-light))}
.faq-icon{flex-shrink:0;width:26px;height:26px;border-radius:50%;border:1.5px solid rgba(255,255,255,.2);display:flex;align-items:center;justify-content:center;font-size:.9rem;line-height:1;color:var(--gold);transition:transform .3s ease,background .2s,border-color .2s}
.faq-item:hover .faq-icon{border-color:var(--gold)}
.faq-item.open .faq-icon{transform:rotate(45deg);background:var(--faq-accent,var(--gold));border-color:var(--faq-accent,var(--gold));color:var(--navy)}
.faq-a{max-height:0;overflow:hidden;transition:max-height .38s cubic-bezier(.4,0,.2,1)}
.faq-item.open .faq-a{max-height:800px}
.faq-a-inner{padding:0 1.35rem 1.25rem;border-top:1px solid rgba(255,255,255,.07)}
.faq-a-inner p{margin:0;font-size:.93rem;color:rgba(255,255,255,.65);line-height:1.8;padding-top:.85rem}
@media(max-width:800px){.faq-layout{grid-template-columns:1fr}.faq-intro{position:static}}
@media(max-width:600px){
  .faq-q{font-size:.93rem;padding:1rem 1.1rem;gap:.8rem}
  .faq-icon{width:24px;height:24px;font-size:1rem}
  .faq-a-inner{padding:.2rem 1.1rem 1.1rem}
  .faq-a-inner p{font-size:.91rem}
}

/* ── Comparison Pages ────────────────────────────────────────── */
.cmp-hero{background:linear-gradient(135deg,var(--navy) 0%,#0d1f3c 50%,#1a2a4a 100%);padding:4rem 0 3rem;color:#fff;position:relative;overflow:hidden}
.cmp-hero::before{content:'';position:absolute;inset:0;background:radial-gradient(ellipse at 20% 50%,rgba(212,175,55,.08) 0%,transparent 60%),radial-gradient(ellipse at 80% 50%,rgba(212,175,55,.08) 0%,transparent 60%);pointer-events:none}
.cmp-hero h1{color:#fff;margin-bottom:.5rem}
.cmp-title{font-size:clamp(1.8rem,4vw,2.6rem);font-weight:900;color:#fff;margin-bottom:.75rem;line-height:1.15}
.cmp-subtitle{color:rgba(255,255,255,.75);font-size:1rem;max-width:700px;line-height:1.6}
/* ── Compare Profile Cards ─────────── */
.cmp-profiles{display:grid;grid-template-columns:1fr 120px 1fr;gap:0;align-items:stretch;margin-bottom:3rem;border-radius:var(--radius);overflow:hidden;box-shadow:0 8px 40px rgba(0,0,0,.18)}
.cmp-profile{display:flex;flex-direction:column;align-items:center;text-align:center;padding:2.5rem 2rem;background:var(--bg);text-decoration:none;color:var(--text);transition:var(--transition);border:1px solid var(--border);position:relative;overflow:hidden}
.cmp-profile::before{content:'';position:absolute;inset:0;background:linear-gradient(180deg,rgba(212,175,55,.04) 0%,transparent 100%);pointer-events:none}
.cmp-profile:hover{background:var(--bg2);border-color:var(--gold)}
.cmp-profile:hover .cmp-avatar{transform:scale(1.08);box-shadow:0 6px 24px rgba(212,175,55,.35)}
.cmp-avatar{width:100px;height:100px;border-radius:50%;background:linear-gradient(135deg,var(--gold) 0%,#c8860a 100%);display:flex;align-items:center;justify-content:center;font-size:2rem;font-weight:900;color:var(--navy);margin-bottom:1.2rem;flex-shrink:0;transition:transform .25s,box-shadow .25s;box-shadow:0 4px 16px rgba(212,175,55,.25)}
.cmp-profile h2{font-size:1.4rem;margin-bottom:.4rem;color:var(--text);font-weight:800}
.cmp-profile-nat{font-size:.87rem;color:var(--muted);margin:.15rem 0;font-weight:500}
.cmp-profile-desc{font-size:.85rem;color:var(--muted);line-height:1.55;margin-top:.8rem;max-width:260px}
.cmp-profile-link{margin-top:1.2rem;font-size:.82rem;font-weight:700;color:var(--gold);text-transform:uppercase;letter-spacing:.06em}
/* ── VS divider ─────────────────────── */
.cmp-vs-col{display:flex;flex-direction:column;align-items:center;justify-content:center;background:linear-gradient(180deg,var(--navy) 0%,#0d1f3c 100%);position:relative;z-index:1}
.cmp-vs{font-size:1.5rem;font-weight:900;color:var(--gold);text-align:center;letter-spacing:.08em;text-shadow:0 2px 12px rgba(212,175,55,.4);line-height:1}
.cmp-vs-line{width:2px;flex:1;background:linear-gradient(180deg,transparent,rgba(212,175,55,.3),transparent)}
/* ── Section titles ─────────────────── */
.cmp-section-title{font-size:1.4rem;font-weight:800;margin-bottom:1.2rem;padding-bottom:.6rem;border-bottom:3px solid var(--gold);display:inline-block;color:var(--text)}
/* ── Stats table ────────────────────── */
.cmp-table-wrap{overflow-x:auto;margin-bottom:3rem;border-radius:var(--radius);box-shadow:0 2px 20px rgba(0,0,0,.08);border:1px solid var(--border)}
.cmp-table{width:100%;border-collapse:collapse;font-size:.93rem}
.cmp-table thead{background:linear-gradient(135deg,var(--navy),#1a2a4a);color:#fff}
.cmp-table thead th{padding:1rem 1.2rem;text-align:left;font-weight:700;font-size:.82rem;text-transform:uppercase;letter-spacing:.07em}
.cmp-table thead th:not(:first-child){text-align:center}
.cmp-table tbody tr{border-bottom:1px solid var(--border);transition:background .15s}
.cmp-table tbody tr:nth-child(even){background:var(--bg2)}
.cmp-table tbody tr:hover{background:rgba(212,175,55,.06)}
.cmp-label{padding:.85rem 1.2rem;color:var(--muted);font-size:.88rem;font-weight:500;white-space:nowrap;border-right:1px solid var(--border)}
.cmp-val{padding:.85rem 1.2rem;text-align:center;font-weight:700;font-size:.97rem;color:var(--text)}
.cmp-val.cmp-win{color:var(--gold);background:rgba(212,175,55,.07);position:relative}
.cmp-val.cmp-win::before{content:'';position:absolute;left:0;top:0;bottom:0;width:3px;background:var(--gold)}
.cmp-val.cmp-win::after{content:'★';font-size:.65rem;margin-left:.35rem;opacity:.8;vertical-align:middle}
/* ── Bio cards ──────────────────────── */
.cmp-bios{display:grid;grid-template-columns:1fr 1fr;gap:1.5rem;margin-bottom:3rem}
.cmp-bio{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);padding:1.8rem;transition:var(--transition);position:relative;overflow:hidden}
.cmp-bio::after{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--gold),#c8860a)}
.cmp-bio:hover{border-color:var(--gold);box-shadow:0 4px 20px rgba(0,0,0,.1)}
.cmp-bio h2{font-size:1.15rem;margin-bottom:.8rem;color:var(--text);font-weight:800}
.cmp-bio p{font-size:.9rem;color:var(--muted);line-height:1.75;margin-bottom:1rem}
.btn-link{font-size:.88rem;font-weight:600;color:var(--gold);text-decoration:none}
.btn-link:hover{text-decoration:underline}
.cmp-verdict{background:linear-gradient(135deg,var(--navy) 0%,#1a2a4a 100%);color:#fff;border-radius:var(--radius);padding:2rem;margin-bottom:3rem}
.cmp-verdict h2{color:var(--gold);margin-bottom:1rem}
.cmp-verdict p{color:rgba(255,255,255,.88);line-height:1.75;font-size:.97rem}
.cmp-related h2{font-size:1.2rem;margin-bottom:1rem}
.cmp-related-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(200px,1fr));gap:.8rem}
.cmp-related-card{display:block;padding:1rem;background:var(--bg2);border:1px solid var(--border);border-radius:var(--radius);text-decoration:none;color:var(--text);font-weight:600;font-size:.9rem;transition:var(--transition)}
.cmp-related-card:hover{border-color:var(--gold);color:var(--gold)}
.cmp-hub-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1.2rem}
.cmp-hub-card{display:flex;flex-direction:column;padding:1.6rem;background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);text-decoration:none;color:var(--text);transition:var(--transition);position:relative;overflow:hidden}
.cmp-hub-card::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:linear-gradient(90deg,var(--gold),#c8860a);opacity:0;transition:opacity .2s}
.cmp-hub-card:hover{border-color:var(--gold);transform:translateY(-3px);box-shadow:0 8px 30px rgba(0,0,0,.15)}
.cmp-hub-card:hover::before{opacity:1}
.cmp-hub-card h3{font-size:1rem;font-weight:700;margin-bottom:.4rem;line-height:1.35;color:var(--text)}
.cmp-hub-card p{font-size:.83rem;color:var(--muted);line-height:1.55;flex:1;margin-bottom:.8rem}
.cmp-hub-card__cta{font-size:.8rem;font-weight:700;color:var(--gold);text-transform:uppercase;letter-spacing:.06em}
.cmp-hub-card__avatars{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}
.cmp-hub-card__av{width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,var(--gold),#c8860a);display:flex;align-items:center;justify-content:center;font-size:.9rem;font-weight:800;color:var(--navy);flex-shrink:0}
.cmp-hub-card__vs{font-size:.75rem;font-weight:900;color:var(--gold);letter-spacing:.05em;flex-shrink:0}
.cmp-hub-card__avatars span:not(.cmp-hub-card__vs){width:44px;height:44px;border-radius:50%;background:linear-gradient(135deg,var(--gold),#c8860a);display:flex;align-items:center;justify-content:center;font-size:.9rem;font-weight:800;color:var(--navy)}
.cmp-hub-card__vs{font-size:.85rem;font-weight:800;color:var(--gold)}
.cmp-hub-card h3{font-size:1rem;margin-bottom:.4rem;color:var(--text)}
.cmp-hub-card p{font-size:.82rem;color:var(--muted);line-height:1.5}
@media(max-width:768px){
  .cmp-profiles{grid-template-columns:1fr;gap:1rem}
  .cmp-vs{font-size:1.2rem;padding:.5rem 0}
  .cmp-bios{grid-template-columns:1fr}
}
@media(max-width:600px){.cmp-hub-grid{grid-template-columns:1fr}}

/* ── Sport Editorial Sections ────────────────────────────────── */
.sport-editorial{padding:3rem 0}
.editorial-layout{display:grid;grid-template-columns:1fr 300px;gap:2.5rem;align-items:start}
.editorial-main h2{font-size:1.5rem;margin-bottom:1rem}
.editorial-main p{color:var(--muted);line-height:1.8;font-size:.97rem}
.editorial-sidebar .bio-card{position:sticky;top:80px;border:1px solid var(--border);border-radius:var(--radius);overflow:hidden}
.editorial-top-list{list-style:none;padding:0;margin:0;display:flex;flex-direction:column;gap:0}
.editorial-top-list li{display:flex;align-items:center;gap:.75rem;font-size:.88rem;padding:.7rem 1rem;border-bottom:1px solid var(--border);transition:background .2s}
.editorial-top-list li:last-child{border-bottom:none}
.editorial-top-list li:hover{background:var(--bg2)}
.rank-num{width:32px;height:32px;border-radius:50%;background:var(--gold);color:var(--navy);font-weight:800;font-size:.8rem;display:flex;align-items:center;justify-content:center;flex-shrink:0;box-shadow:0 2px 8px rgba(212,175,55,.25)}
.editorial-top-list a{color:var(--text);text-decoration:none;font-weight:600;flex:1}
.editorial-top-list a:hover{color:var(--gold)}
.nat-badge{font-size:.72rem;color:var(--muted);white-space:nowrap}
.sport-records-section{padding:3rem 0}
.sport-records-section .section-eyebrow{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:var(--gold);margin-bottom:.4rem;display:flex;align-items:center;gap:.5rem}
.sport-records-section .section-eyebrow::before{content:'';display:block;width:20px;height:2px;background:var(--gold);border-radius:2px;flex-shrink:0}
.sport-records-section h2{color:var(--charcoal);font-size:clamp(1.4rem,3vw,2rem);margin-bottom:0}
.records-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:1rem;margin-top:1.5rem}
.record-card{background:var(--bg);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem;border-top:3px solid var(--gold);transition:transform .2s,box-shadow .2s}
.record-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.record-card__value{font-family:var(--font-head);font-size:1.8rem;font-weight:800;color:var(--gold);line-height:1.1;margin-bottom:.4rem}
.record-card__record{font-size:.88rem;font-weight:600;color:var(--text);margin-bottom:.25rem}
.record-card__holder{font-size:.8rem;color:var(--muted)}
.sport-decades-section{padding:3rem 0}
.decades-header{display:flex;align-items:flex-end;gap:1.5rem;margin-bottom:.5rem}
.decades-header .eyebrow{font-size:.75rem;font-weight:700;text-transform:uppercase;letter-spacing:.12em;color:var(--gold);margin-bottom:.4rem;display:flex;align-items:center;gap:.5rem}
.decades-header .eyebrow::before{content:'';display:block;width:20px;height:2px;background:var(--gold);border-radius:2px;flex-shrink:0}
.decades-header h2{color:var(--charcoal);font-size:clamp(1.4rem,3vw,2rem);margin-bottom:0}
.decades-line{flex:1;height:2px;background:linear-gradient(90deg,var(--gold),transparent);border-radius:2px;margin-bottom:.6rem}
.decades-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:1rem;margin-top:1.5rem}
.decade-card{background:var(--bg2);border:1px solid var(--border);border-radius:var(--radius);padding:1.25rem;border-top:3px solid var(--gold);transition:transform .2s,box-shadow .2s}
.decade-card:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.decade-card__era{font-size:.78rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--gold);margin-bottom:.5rem}
.decade-card p{font-size:.88rem;color:var(--muted);line-height:1.65;margin:0}
@media(max-width:900px){.editorial-layout{grid-template-columns:1fr}}
@media(max-width:600px){.records-grid,.decades-grid{grid-template-columns:1fr}}

/* ── List Page Intro ─────────────────────────────────────────── */
.list-intro-section{padding:2rem 0;background:var(--bg2);border-bottom:1px solid var(--border)}
.list-intro{max-width:820px}
.list-intro p{font-size:1rem;color:var(--muted);line-height:1.8;margin:0}

/* ── Sport page athlete grid wrapper ─────────── */
.athlete-grid-wrap{background:var(--bg2);border:1px solid var(--border);border-radius:var(--radius);padding:1.8rem;margin-top:1rem}
@media(max-width:600px){.athlete-grid-wrap{padding:1rem}}

/* ── Club Career Table ─────────────────────────────────────── */
.club-career-card {}
.club-career-table { width:100%; border-collapse:collapse; font-size:0.87rem; }
.club-career-table thead th { background:var(--bg2); color:var(--muted); padding:0.45rem 1rem; font-size:0.72rem; letter-spacing:0.06em; text-transform:uppercase; font-weight:700; border-bottom:1px solid var(--border); }
.club-career-table thead th.club-stat { text-align:center; width:76px; min-width:76px; }
.club-career-table tbody tr:nth-child(even) { background:var(--bg2); }
.club-career-table tbody tr:hover { background:var(--border); }
.bio-card .club-career-table td { padding:0.55rem 1rem; border-bottom:1px solid var(--border); vertical-align:middle; font-size:0.87rem; color:var(--text); }
.bio-card .club-career-table td.club-name { font-weight:600; color:var(--text); font-size:0.87rem; width:auto; }
.bio-card .club-career-table td.club-stat { text-align:center; color:var(--muted); font-variant-numeric:tabular-nums; font-size:0.87rem; font-weight:400; }
.bio-card .club-career-table td.club-shirt-col { text-align:center; color:var(--muted); font-size:0.8rem; font-weight:700; width:68px; letter-spacing:0.02em; }
.bio-card .club-career-table tr:last-child td { border-bottom:none; }


/* ── Bio section headings — consistent eyebrow + h2 treatment ── */
.bio-section-header { margin: 2.5rem 0 1rem; }
.bio-section-header .eyebrow { margin-bottom: 0.4rem; display: flex; }
.bio-section-header h2 {
  font-family: var(--font-head); font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-weight: 700; color: var(--charcoal); margin: 0;
  padding-bottom: 0.6rem; border-bottom: 2px solid var(--border);
}

/* ── Best Known For callout ─────────────────────────────────── */
.best-known-for {
  background: var(--gold-bg); border: 1.5px solid rgba(200,147,58,0.25);
  border-left: 4px solid var(--gold); border-radius: var(--radius);
  padding: 1.25rem 1.5rem; margin: 1.5rem 0;
}
.best-known-for .eyebrow { margin-bottom: 0.5rem; display: flex; }
.best-known-for p {
  font-family: var(--font-head); font-size: 1.05rem; font-weight: 600;
  color: var(--charcoal); line-height: 1.5; margin: 0; max-width: none;
}

/* ── Crosslinks bar ─────────────────────────────────────────── */
.crosslinks-section {
  background: var(--bg2); border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border); padding: 1.5rem 0;
}
.crosslinks-section .eyebrow { margin-bottom: 0.75rem; display: flex; }
.crosslinks-bar { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.crosslink-pill {
  display: inline-flex; align-items: center; gap: 0.4rem;
  font-family: var(--font-ui); font-size: 0.78rem; font-weight: 600;
  padding: 0.45rem 1rem; border-radius: 50px;
  background: var(--white); border: 1.5px solid var(--border);
  color: var(--body); transition: var(--transition); text-decoration: none;
}
.crosslink-pill:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-bg); }

/* ── Nickname on bio hero ──────────────────────────────────── */
.bio-hero__nickname { font-size:1.05rem; color:var(--muted); font-style:italic; margin:0.1rem 0 0.4rem; }

/* ══════════════════════════════════════════════════════════════
   EDUCATION PAGE STYLES
   ══════════════════════════════════════════════════════════════ */

/* ── Education Hero ────────────────────────────────────────── */
.edu-hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--brand) 100%);
  color: var(--white); padding: 6rem 0 4rem; text-align: center;
}
.edu-hero .eyebrow { color: var(--gold-light); }
.edu-hero .eyebrow::before { background: var(--gold-light); }
.edu-hero h1 { color: var(--white); }
.edu-hero .lead { color: rgba(255,255,255,0.9); max-width: 700px; margin: 1rem auto; }
.edu-hero-stats {
  display: flex; gap: 3rem; justify-content: center; margin-top: 3rem;
  flex-wrap: wrap;
}
.edu-stat { text-align: center; }
.edu-stat strong {
  display: block; font-family: var(--font-head); font-size: 2.5rem;
  font-weight: 700; color: var(--gold-light);
}
.edu-stat span {
  display: block; font-size: 0.85rem; opacity: 0.85; margin-top: 0.25rem;
}

/* ── Filter Bar ────────────────────────────────────────────── */
.edu-filters {
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 2rem 0; position: fixed; top: 70px; left: 0; right: 0; z-index: 100;
  backdrop-filter: blur(10px); background: rgba(255,255,255,0.97);
  transform: translateY(0);
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1);
  max-height: 80vh; overflow-y: auto;
}

/* Collapsed state - just a tiny tab */
.edu-filters.hidden {
  transform: translateY(calc(-100% + 3px));
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Show small tab hint when hidden */
.edu-filters.hidden::after {
  content: '⚙️ Filters';
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--blue);
  color: white;
  padding: 0.4rem 1.2rem;
  border-radius: 0 0 8px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  cursor: pointer;
}

/* Reveal on hover */
.edu-filters.hidden:hover {
  transform: translateY(0);
}

.filter-section { margin-bottom: 1.5rem; }
.filter-section:last-of-type { margin-bottom: 0; }
.filter-section h5 { margin-bottom: 0.75rem; color: var(--charcoal); }
.filter-chips {
  display: flex; flex-wrap: wrap; gap: 0.5rem;
}
.filter-chip {
  font-family: var(--font-ui); font-size: 0.8rem; font-weight: 600;
  padding: 0.5rem 1.1rem; border-radius: 50px; border: 1.5px solid var(--border);
  background: var(--white); color: var(--body); transition: var(--transition);
  cursor: pointer;
}
.filter-chip:hover { border-color: var(--blue); color: var(--blue); }
.filter-chip.active {
  background: var(--blue); color: var(--white); border-color: var(--blue);
}
.filter-actions {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1.5rem; border-top: 1px solid var(--border); margin-top: 1.5rem;
  flex-wrap: wrap; gap: 1rem;
}
.filter-count { font-size: 0.85rem; color: var(--muted); }
.filter-count strong { color: var(--blue); font-weight: 700; }

/* ── Resource Grid ─────────────────────────────────────────── */
.edu-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
}
.edu-card {
  background: var(--card); border: 1.5px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem;
  transition: var(--transition); display: flex; flex-direction: column;
}
.edu-card:hover {
  transform: translateY(-2px); box-shadow: var(--shadow);
  border-color: var(--blue-light);
}
.edu-card.hidden { display: none; }
.edu-card-icon {
  font-size: 2rem; margin-bottom: 1rem;
}
.edu-card-body { flex: 1; }
.edu-card-title {
  font-size: 1rem; font-weight: 700; color: var(--charcoal);
  margin-bottom: 0.5rem; line-height: 1.3;
}
.edu-card-desc {
  font-size: 0.85rem; color: var(--body); line-height: 1.6;
  margin-bottom: 1rem;
}
.edu-card-meta {
  display: flex; flex-wrap: wrap; gap: 0.4rem; margin-bottom: 1rem;
}
.edu-tag {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 0.05em;
  text-transform: uppercase; padding: 0.25rem 0.6rem; border-radius: 4px;
  background: var(--bg2); color: var(--body); border: 1px solid var(--border);
}
.edu-tag-sport { background: var(--blue-bg); color: var(--blue); border-color: rgba(41,82,163,0.2); }
.edu-tag-ks { background: var(--gold-bg); color: var(--gold); border-color: rgba(200,147,58,0.2); }
.edu-tag-diff-support { background: #e8f5e9; color: #2e7d32; border-color: rgba(46,125,50,0.2); }
.edu-tag-diff-core { background: #fff3e0; color: #e65100; border-color: rgba(230,81,0,0.2); }
.edu-tag-diff-challenge { background: #fce4ec; color: #c2185b; border-color: rgba(194,24,91,0.2); }
.edu-card-actions {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1rem; border-top: 1px solid var(--border); gap: 1rem;
}
.edu-checkbox {
  display: flex; align-items: center; gap: 0.5rem; cursor: pointer;
  font-size: 0.8rem; color: var(--body); font-weight: 500;
}
.edu-checkbox input { cursor: pointer; }

/* ── Interactive Widgets ───────────────────────────────────── */
.section--bg { background: var(--bg2); }
.edu-widget {
  background: var(--white); border: 2px solid var(--border);
  border-radius: var(--radius-lg); padding: 2.5rem;
  max-width: 800px; margin: 0 auto;
}
.edu-widget-header { text-align: center; margin-bottom: 2rem; }
.edu-widget-header h3 { font-size: 1.8rem; margin-bottom: 0.5rem; }
.edu-widget-sub { color: var(--muted); font-size: 0.95rem; }

/* Head-to-Head Widget */
.h2h-selector {
  display: flex; align-items: center; gap: 1rem; margin-bottom: 2rem;
  justify-content: center; flex-wrap: wrap;
}
.h2h-select {
  flex: 1; min-width: 200px; max-width: 300px; padding: 0.75rem 1rem;
  border: 2px solid var(--border); border-radius: var(--radius);
  font-size: 0.95rem; font-weight: 600; background: var(--white);
}
.h2h-vs {
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 700;
  color: var(--gold); flex-shrink: 0;
}
.h2h-display {
  display: flex; gap: 2rem; justify-content: center; margin-bottom: 2rem;
  flex-wrap: wrap;
}
.h2h-athlete {
  text-align: center; flex: 1; min-width: 200px;
}
.h2h-initials {
  width: 100px; height: 100px; margin: 0 auto 1rem; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 2.5rem; font-weight: 700;
  color: var(--white);
}
.h2h-name {
  font-weight: 700; font-size: 1.1rem; color: var(--charcoal);
  margin-bottom: 0.5rem;
}
.h2h-votes {
  font-size: 1.5rem; font-weight: 700; color: var(--blue);
}
.h2h-actions {
  display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap;
}

/* ── Teacher Box ───────────────────────────────────────────── */
.edu-teacher-box {
  background: var(--gold-bg); border: 2px solid rgba(200,147,58,0.3);
  border-left: 4px solid var(--gold); border-radius: var(--radius);
  padding: 2rem; margin-top: 2rem;
}
.edu-teacher-box h3 { margin-bottom: 1rem; color: var(--charcoal); }
.edu-list {
  list-style: none; padding: 0; margin: 0;
}
.edu-list li {
  padding: 0.5rem 0; color: var(--body); line-height: 1.6;
}

/* ── Classroom Mode ────────────────────────────────────────── */
body.classroom-mode .ad-wrap,
body.classroom-mode .ticker-wrap,
body.classroom-mode .header-search,
body.classroom-mode .site-footer { display: none !important; }

body.classroom-mode { font-size: 18px; }
body.classroom-mode h1 { font-size: clamp(2.8rem, 7vw, 6rem); }
body.classroom-mode h2 { font-size: clamp(2rem, 5vw, 4rem); }
body.classroom-mode p { line-height: 1.8; }
body.classroom-mode .main-nav a:not(.nav-edu-link) { opacity: 0.6; }

/* ── Print Styles ──────────────────────────────────────────── */
@media print {
  body { background: #fff !important; color: #000 !important; font-size: 12pt; }
  .site-header, .site-footer, .ticker-wrap, .ad-wrap, 
  .edu-filters, .btn, .filter-chip, .hamburger, 
  .edu-preview-btn, .classroom-toggle { display: none !important; }
  
  .edu-card { page-break-inside: avoid; border: 1px solid #ddd; margin-bottom: 1rem; }
  .edu-card.hidden { display: none !important; }
  .edu-widget { page-break-inside: avoid; border: 2px solid #ddd; }
  
  h1, h2, h3 { color: #000 !important; page-break-after: avoid; }
  .edu-hero { background: none !important; color: #000 !important; padding: 2rem 0; }
  .section--bg { background: none !important; }
}

/* ── Mobile Responsive ─────────────────────────────────────── */
@media (max-width: 768px) {
  .edu-hero { padding: 4rem 0 3rem; }
  .edu-hero-stats { gap: 2rem; }
  .edu-grid { grid-template-columns: 1fr; }
  .edu-filters { position: static; }
  .filter-section { margin-bottom: 1rem; }
  .edu-widget { padding: 1.5rem; }
  .h2h-display { flex-direction: column; gap: 1.5rem; }
  .h2h-selector { flex-direction: column; }
  .h2h-select { max-width: 100%; }
}

/* ══════════════════════════════════════════════════════════════
   ATHLETE BIO PAGE — SCHEMA FIELD STYLES
   ══════════════════════════════════════════════════════════════ */

/* ── Famous For block ───────────────────────────────────────── */
.bio-famous-for {
  background: linear-gradient(135deg, var(--blue-bg, #EEF2FB) 0%, var(--gold-bg, #FFFBEB) 100%);
  border: 1.5px solid rgba(200,147,58,0.25);
  border-left: 4px solid var(--gold, #C8933A);
  border-radius: var(--radius, 8px);
  padding: 1rem 1.25rem;
  margin: 1.25rem 0;
}
.bio-famous-for .eyebrow {
  color: var(--gold, #C8933A);
  display: block;
  margin-bottom: 0.35rem;
}
.bio-famous-for__text {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--charcoal, #1A1A2E);
  margin: 0;
  line-height: 1.5;
}

/* ── Career Timeline ─────────────────────────────────────────── */
.career-timeline {
  margin: 1rem 0 1.5rem;
  border: 1px solid var(--border, #E5E7EB);
  border-radius: var(--radius, 8px);
  overflow: hidden;
}
.tl-row {
  display: grid;
  grid-template-columns: 60px 1fr;
  align-items: baseline;
  gap: 0.75rem;
  padding: 0.6rem 1rem;
  border-bottom: 1px solid var(--border, #E5E7EB);
  transition: background 0.1s;
}
.tl-row:last-child { border-bottom: none; }
.tl-row:hover { background: var(--bg2, #F9FAFB); }
.tl-year {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--blue, #2952A3);
  text-align: right;
  white-space: nowrap;
}
.tl-label {
  font-size: 0.9rem;
  color: var(--body, #374151);
  line-height: 1.4;
}

/* Type-specific year colours */
.tl-type-birth       .tl-year { color: #2E7D32; }
.tl-type-trophy      .tl-year { color: var(--gold, #C8933A); }
.tl-type-award       .tl-year { color: var(--gold, #C8933A); }
.tl-type-milestone   .tl-year { color: var(--blue, #2952A3); }
.tl-type-record      .tl-year { color: #7B1FA2; }
.tl-type-international .tl-year { color: #0277BD; }
.tl-type-retired     .tl-year { color: var(--muted, #6B7280); }
.tl-type-club        .tl-year { color: var(--muted, #6B7280); }

/* Undated rows — no year shown, indent label */
.tl-row .tl-year:empty { display: none; }
.tl-row:has(.tl-year:empty) {
  grid-template-columns: 1fr;
  padding-left: 1.75rem;
}

/* ── Mobile ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .tl-row { grid-template-columns: 48px 1fr; gap: 0.5rem; padding: 0.5rem 0.75rem; }
  .tl-year { font-size: 0.72rem; }
  .tl-label { font-size: 0.85rem; }
  .bio-famous-for__text { font-size: 0.95rem; }
}

/* ── Skip to main content link ──────────────────────────────── */
.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
  z-index: -999;
}
.skip-link:focus {
  position: fixed;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  overflow: visible;
  z-index: 10000;
  padding: 0.75rem 1.5rem;
  background: var(--gold, #c8933a);
  color: #1a0f00;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 0 0 8px 0;
  outline: 3px solid #000;
}

/* ── Share buttons ──────────────────────────────────────────── */
.share-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}
.share-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border: 1.5px solid var(--border);
  border-radius: 50px;
  background: var(--bg2);
  color: var(--body);
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s, transform 0.1s;
}
.share-btn:hover {
  border-color: var(--brand-mid);
  background: var(--white);
  transform: translateY(-1px);
}

/* ── GOAT Score ─────────────────────────────────────────────── */
.goat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.2rem 0.55rem;
  background: var(--gold-bg);
  border: 1.5px solid rgba(200,147,58,0.4);
  border-radius: 50px;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--gold);
  white-space: nowrap;
}
.goat-score-hero {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.6rem 1.1rem;
  margin-top: 0.75rem;
  background: var(--gold-bg);
  border: 1.5px solid rgba(200,147,58,0.35);
  border-radius: var(--radius);
}
.goat-score-hero__label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gold);
}
.goat-score-hero__num {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.goat-score-hero__denom {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 400;
}
.goat-score-hero__tip {
  font-size: 0.72rem;
  color: var(--muted);
  max-width: 180px;
  line-height: 1.4;
}

/* ── Recently Viewed ────────────────────────────────────────── */
.recently-viewed {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
}
.recently-viewed__label {
  font-weight: 700;
  color: var(--muted);
  flex-shrink: 0;
}
.recently-viewed__link {
  padding: 0.25rem 0.65rem;
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 50px;
  color: var(--body);
  text-decoration: none;
  font-weight: 600;
  transition: border-color 0.15s, color 0.15s;
}
.recently-viewed__link:hover {
  border-color: var(--brand-mid);
  color: var(--brand-mid);
}

