/* ═══════════════════════════════════════════════════════════
   WHITCHURCH RFC — WARRIORS
   Black & white club identity, gold for the trophies.
   ═══════════════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Archivo:wght@400;500;600;700;800;900&display=swap');

/* ===== RESET & BASE ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --black: #0d0d0f;
  --ink: #17171b;
  --white: #ffffff;
  --grey-light: #f6f6f7;
  --grey-mid: #e5e5e8;
  --grey-dark: #55555e;
  --gold: #FFD700;
  --gold-deep: #c9a400;
  --accent: #0d0d0f;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow-sm: 0 1px 3px rgba(13,13,15,0.06), 0 1px 2px rgba(13,13,15,0.04);
  --shadow-md: 0 10px 30px rgba(13,13,15,0.10), 0 3px 8px rgba(13,13,15,0.05);
  --shadow-lg: 0 24px 60px rgba(13,13,15,0.16);
  --font-main: 'Archivo', 'Segoe UI', Arial, sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--white);
  color: var(--black);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

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

::selection { background: var(--gold); color: var(--black); }

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===== ENTRANCE ANIMATION ===== */
@keyframes rise-in {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-content,
.page-hero > *,
.match-hero > * {
  animation: rise-in 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.page-hero > *:nth-child(2), .match-hero > *:nth-child(2) { animation-delay: 0.08s; }
.page-hero > *:nth-child(3), .match-hero > *:nth-child(3) { animation-delay: 0.16s; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* ===== HEADER / NAV ===== */
header {
  background: rgba(13, 13, 15, 0.88);
  -webkit-backdrop-filter: blur(14px) saturate(1.4);
  backdrop-filter: blur(14px) saturate(1.4);
  color: var(--white);
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Logo image in nav/footer */
.nav-logo-img {
  height: 46px;
  width: 46px;
  object-fit: contain;
  border-radius: 50%;
  flex-shrink: 0;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.14);
}

/* Hero logo (home page) */
.hero-logo {
  width: 140px;
  height: 140px;
  object-fit: contain;
  margin: 0 auto 1.75rem;
  display: block;
  border-radius: 50%;
  filter: drop-shadow(0 8px 28px rgba(0,0,0,0.5));
  box-shadow: 0 0 0 3px rgba(255,255,255,0.12), 0 0 70px rgba(255,215,0,0.18);
}

/* Page hero small logo */
.page-hero-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  margin: 0 auto 0.85rem;
  display: block;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(255,255,255,0.15);
}

.nav-logo .badge {
  width: 42px;
  height: 42px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 0.75rem;
  color: var(--black);
  letter-spacing: 0.5px;
  text-align: center;
  line-height: 1.1;
}

.nav-logo .club-name {
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.3px;
  line-height: 1.2;
}

.nav-logo .club-name span {
  display: block;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 2.5px;
  text-transform: uppercase;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 0.25rem;
}

nav ul li a {
  position: relative;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.4px;
  transition: background 0.2s, color 0.2s;
  color: rgba(255,255,255,0.75);
}

nav ul li a:hover {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

nav ul li a.active {
  background: var(--gold);
  color: var(--black);
  font-weight: 700;
}

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ===== ARCHIVE RIBBON ===== */
.archive-ribbon {
  background: var(--ink);
  border-bottom: 2px solid var(--gold);
  color: var(--white);
  padding: 0.55rem 1.5rem;
}

.archive-ribbon-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.archive-ribbon-tag {
  background: var(--gold);
  color: var(--black);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.18rem 0.7rem;
  border-radius: 999px;
  flex-shrink: 0;
}

.archive-ribbon-text {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
}

.archive-ribbon-text strong { color: var(--white); font-weight: 700; }

.archive-ribbon-link {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: opacity 0.15s;
}

.archive-ribbon-link:hover { opacity: 0.75; }

/* ===== HERO ===== */
.hero {
  background:
    radial-gradient(ellipse 60% 55% at 50% 0%, rgba(255,215,0,0.10), transparent 65%),
    linear-gradient(180deg, var(--black) 0%, #131317 100%);
  color: var(--white);
  padding: 5.5rem 1.5rem 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 44px,
    rgba(255,255,255,0.025) 44px,
    rgba(255,255,255,0.025) 88px
  );
}

.hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0.8;
}

.hero-content { position: relative; max-width: 720px; margin: 0 auto; }

.hero-badge {
  display: inline-block;
  border: 1px solid rgba(255,215,0,0.4);
  background: rgba(255,215,0,0.07);
  border-radius: 999px;
  padding: 0.35rem 1.1rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  color: var(--gold);
}

.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4.2rem);
  font-weight: 900;
  line-height: 0.98;
  margin-bottom: 1.25rem;
  letter-spacing: -1.5px;
  text-transform: uppercase;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold);
  text-shadow: 0 0 50px rgba(255,215,0,0.35);
}

.hero p {
  font-size: 1.08rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 2.25rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-block;
  padding: 0.8rem 2.1rem;
  border-radius: 999px;
  font-family: var(--font-main);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: transform 0.18s, box-shadow 0.18s, background 0.18s, color 0.18s, border-color 0.18s;
  cursor: pointer;
  border: none;
}

.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(0,0,0,0.3); }
.btn:active { transform: translateY(0); }

.btn-white { background: var(--white); color: var(--black); }
.btn-white:hover { background: var(--gold); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.45);
  margin-left: 0.75rem;
  padding: calc(0.8rem - 2px) calc(2.1rem - 2px);
}
.btn-outline:hover { border-color: var(--gold); color: var(--gold); box-shadow: none; }

.btn-dark { background: var(--black); color: var(--white); }
.btn-dark:hover { background: var(--ink); box-shadow: 0 10px 28px rgba(13,13,15,0.35); }

.btn-primary { background: var(--gold); color: var(--black); }

/* Map thumbnail */
.map-thumbnail-link {
  display: block;
  margin-top: 1rem;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  text-decoration: none;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s, box-shadow 0.2s;
}
.map-thumbnail-link:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.map-thumbnail { width: 100%; height: 160px; object-fit: cover; display: block; }
.map-thumbnail-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(13,13,15,0.85);
  color: var(--gold);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 0.5rem;
}

/* ===== MAIN CONTAINER ===== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ===== SECTION ===== */
section { padding: 4.5rem 1.5rem; }
section.alt { background: var(--grey-light); }

.section-header {
  text-align: center;
  margin-bottom: 3rem;
}

.section-header h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 900;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.section-header p {
  color: var(--grey-dark);
  font-size: 1rem;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.divider {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--black) 0%, var(--black) 55%, var(--gold) 55%);
  margin: 0.85rem auto 1rem;
  border-radius: 2px;
}

/* ===== CARDS ===== */
.card-grid {
  display: grid;
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.card-grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); max-width: 760px; margin: 0 auto; }
.card-grid-3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card-grid-4 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }

.card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 1.75rem;
  transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
  box-shadow: var(--shadow-sm);
}

.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: rgba(13,13,15,0.18); }
section.alt .card { background: var(--white); }

.card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  letter-spacing: -0.2px;
  margin-bottom: 0.5rem;
}

.card p { font-size: 0.9rem; color: var(--grey-dark); }

/* Archive hub link cards */
.archive-link-card { display: block; cursor: pointer; }
.archive-link-card:hover { border-color: var(--gold); }
.archive-link-card h3::after {
  content: ' →';
  color: var(--gold-deep);
  font-weight: 900;
}

/* ===== PLACEHOLDER (pre-season) ===== */
.placeholder-card {
  max-width: 560px;
  margin: 0 auto;
  background: var(--white);
  border: 1px dashed rgba(13,13,15,0.25);
  border-radius: var(--radius);
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
}

.placeholder-icon {
  font-size: 2.6rem;
  line-height: 1;
  margin-bottom: 1rem;
}

.placeholder-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin-bottom: 0.6rem;
}

.placeholder-card p {
  font-size: 0.92rem;
  color: var(--grey-dark);
  max-width: 420px;
  margin: 0 auto;
}

/* ===== SQUAD ===== */
.player-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 1rem;
  max-width: 1100px;
  margin: 0 auto;
}

.player-card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 1.4rem 1rem;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s, border-color 0.2s;
  box-shadow: var(--shadow-sm);
}

.player-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); border-color: rgba(13,13,15,0.18); }

.player-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--ink), var(--black));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  margin: 0 auto 0.75rem;
  box-shadow: inset 0 0 0 2px rgba(255,215,0,0.35);
}

.player-card .name {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.player-card .position {
  font-size: 0.72rem;
  color: var(--grey-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.player-card .number {
  display: inline-block;
  margin-top: 0.5rem;
  background: var(--black);
  color: var(--gold);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}

/* ===== FIXTURES ===== */
.fixtures-table {
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--white);
}

.fixtures-table thead tr {
  background: var(--black);
  color: var(--white);
}

.fixtures-table th {
  padding: 0.9rem 1rem;
  text-align: left;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
}

.fixtures-table td {
  padding: 0.9rem 1rem;
  border-bottom: 1px solid var(--grey-mid);
  vertical-align: middle;
}

.fixtures-table tbody tr:last-child td { border-bottom: none; }

.fixtures-table tbody tr { transition: background 0.15s; }
.fixtures-table tbody tr:hover { background: rgba(255,215,0,0.06); }

.result-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 30px;
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.result-w { background: var(--black); color: var(--gold); }
.result-l { background: var(--grey-mid); color: var(--grey-dark); }
.result-d { background: var(--gold); color: var(--black); }
.result-tbc { background: var(--grey-light); color: var(--grey-dark); border: 1px solid var(--grey-mid); }

.home-badge {
  font-size: 0.65rem;
  padding: 0.12rem 0.5rem;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 1px;
  background: rgba(255,215,0,0.15);
  border: 1px solid rgba(201,164,0,0.35);
  color: var(--gold-deep);
  margin-left: 0.4rem;
}

/* Venue column — one badge per row, home emphasised */
.venue-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 58px;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1px;
  border: 1px solid transparent;
}

.venue-home {
  background: rgba(255,215,0,0.18);
  border-color: rgba(201,164,0,0.4);
  color: var(--gold-deep);
}

.venue-away {
  background: var(--grey-light);
  border-color: var(--grey-mid);
  color: var(--grey-dark);
}

.venue-tbc {
  background: transparent;
  border-color: var(--grey-mid);
  color: var(--grey-dark);
}

/* Home page "Next Fixtures" card list */
.next-fixtures {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 0 0 1rem;
}

.next-fixtures li {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 0.6rem;
  padding-bottom: 0.6rem;
  border-bottom: 1px solid var(--grey-mid);
}

.next-fixtures li:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.next-fixtures .nf-date {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--grey-dark);
  white-space: nowrap;
}

.next-fixtures .nf-opp {
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1.3;
  min-width: 0;
}

/* ===== REPORT LINK ===== */
.report-link {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 1px;
  transition: opacity 0.15s;
}
.report-link:hover { opacity: 0.55; }

/* ===== MATCH REPORT ===== */
.match-hero {
  background:
    radial-gradient(ellipse 55% 60% at 50% 0%, rgba(255,215,0,0.08), transparent 65%),
    linear-gradient(180deg, var(--black) 0%, #131317 100%);
  color: var(--white);
  padding: 3.25rem 1.5rem 2.25rem;
  text-align: center;
  border-bottom: 3px solid var(--gold);
}

.match-hero .match-date {
  font-size: 0.75rem;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.5rem;
  font-weight: 600;
}

.scoreboard {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin: 1rem auto 1.5rem;
  flex-wrap: wrap;
}

.scoreboard .team {
  font-size: 1rem;
  font-weight: 800;
  opacity: 0.92;
  max-width: 180px;
  line-height: 1.3;
}

.scoreboard .team.home { text-align: right; }
.scoreboard .team.away { text-align: left; }

.scoreboard .score-box {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.scoreboard .score {
  font-size: clamp(2.5rem, 8vw, 4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -2px;
}

.scoreboard .score-sep {
  font-size: 2rem;
  color: var(--gold);
  opacity: 0.7;
  font-weight: 300;
}

.match-meta-pills {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.match-meta-pills span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 0.28rem 0.9rem;
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.result-pill-w { background: rgba(255,215,0,0.18) !important; border-color: rgba(255,215,0,0.45) !important; color: var(--gold); }
.result-pill-l { background: rgba(255,255,255,0.05) !important; }
.result-pill-d { background: rgba(255,215,0,0.3) !important; }

/* ===== MATCH REPORT BODY ===== */
.report-body {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.03rem;
  line-height: 1.85;
  color: #23232a;
}

.report-body p { margin-bottom: 1.2rem; }

/* ===== SCORING TIMELINE ===== */
.timeline {
  max-width: 680px;
  margin: 0 auto;
  position: relative;
  padding-left: 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--gold), var(--grey-mid) 20%, var(--grey-mid) 80%, var(--gold));
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-bottom: 1rem;
  position: relative;
}

/* Away events → right side */
.timeline-item.away {
  flex-direction: row-reverse;
}

.timeline-card {
  width: calc(50% - 28px);
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-sm);
  padding: 0.65rem 0.9rem;
  font-size: 0.85rem;
  line-height: 1.4;
  box-shadow: var(--shadow-sm);
}

.timeline-item.home .timeline-card {
  text-align: right;
  border-right: 3px solid var(--gold);
}

.timeline-item.away .timeline-card {
  border-left: 3px solid var(--grey-mid);
}

.timeline-card .event-type {
  font-weight: 800;
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.15rem;
}

.timeline-card .scorer { color: var(--grey-dark); font-size: 0.8rem; }

.timeline-score {
  width: 56px;
  flex-shrink: 0;
  text-align: center;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--black);
  background: var(--white);
  border: 2px solid var(--black);
  border-radius: 999px;
  padding: 0.25rem 0.3rem;
  line-height: 1.3;
  position: relative;
  z-index: 2;
  align-self: center;
}

.timeline-spacer { width: calc(50% - 28px); }

/* Half-time / Full-time markers */
.timeline-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.25rem 0;
  position: relative;
  z-index: 2;
}

.timeline-marker span {
  background: var(--black);
  color: var(--gold);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.32rem 1.1rem;
  border-radius: 999px;
}

/* ===== STAR PERFORMERS ===== */
.performers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  max-width: 800px;
  margin: 0 auto;
}

.performer-card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 1.25rem;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.2s, transform 0.2s;
}

.performer-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }

.performer-card .avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--ink), var(--black));
  color: var(--white);
  font-weight: 900;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: inset 0 0 0 2px rgba(255,215,0,0.35);
}

.performer-card .info .name {
  font-weight: 800;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}

.performer-card .info .note {
  font-size: 0.8rem;
  color: var(--grey-dark);
  line-height: 1.4;
}

/* ===== MEDIA GALLERY ===== */
.media-gallery {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

/* Hero photo — full width */
.gallery-hero {
  width: 100%;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--grey-mid);
  background: var(--black);
  position: relative;
  box-shadow: var(--shadow-md);
}

.gallery-hero img {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  display: block;
}

.gallery-hero-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.72));
  color: var(--white);
  padding: 1.75rem 1rem 0.8rem;
  font-size: 0.82rem;
  opacity: 0.95;
}

/* Video grid */
.gallery-videos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.gallery-video-item {
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--grey-mid);
  background: var(--black);
  box-shadow: var(--shadow-sm);
}

.gallery-video-item video {
  width: 100%;
  display: block;
  max-height: 260px;
  object-fit: cover;
  background: var(--black);
}

.gallery-video-caption {
  background: var(--grey-light);
  padding: 0.55rem 0.8rem;
  font-size: 0.78rem;
  color: var(--grey-dark);
  border-top: 1px solid var(--grey-mid);
}

/* ===== NEWS ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  max-width: 1100px;
  margin: 0 auto;
}

.news-card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  overflow: hidden;
  transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
}

.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: rgba(13,13,15,0.18); }

.news-card-img {
  height: 160px;
  background: var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
}

.news-card-body {
  padding: 1.4rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-meta {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--gold-deep);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 0.5rem;
}

.news-card-body h3 {
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
  line-height: 1.3;
  letter-spacing: -0.2px;
}

.news-card-body p {
  font-size: 0.88rem;
  color: var(--grey-dark);
  flex: 1;
}

/* Used in news cards and in the home page "Next Fixtures" card, so this is
   deliberately not scoped to .news-card-body. */
a.read-more {
  display: inline-block;
  margin-top: 1rem;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 1px;
  transition: opacity 0.15s;
  align-self: flex-start;
}

a.read-more:hover { opacity: 0.6; }

/* ===== STATS BAR ===== */
.stats-bar {
  background:
    radial-gradient(ellipse 50% 90% at 50% 100%, rgba(255,215,0,0.07), transparent 70%),
    var(--black);
  color: var(--white);
  padding: 2.75rem 1.5rem;
}

/* Inline variant used inside light sections */
.stats-bar-inline {
  border-radius: var(--radius);
  max-width: 900px;
  margin: 0 auto;
  box-shadow: var(--shadow-md);
}

.stats-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.25rem;
  text-align: center;
}

.stat-item .number {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
}

.stat-item .label {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  opacity: 0.9;
  margin-top: 0.4rem;
}

/* ===== FOOTER ===== */
footer {
  background: var(--black);
  color: var(--white);
  padding: 3rem 1.5rem 2.5rem;
  text-align: center;
  border-top: 3px solid var(--gold);
}

footer .footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

footer p { font-size: 0.82rem; opacity: 0.55; margin-top: 0.75rem; }

footer .footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

footer .footer-links a {
  font-size: 0.85rem;
  font-weight: 600;
  opacity: 0.7;
  transition: opacity 0.15s, color 0.15s;
}

footer .footer-links a:hover { opacity: 1; color: var(--gold); }

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  background:
    radial-gradient(ellipse 55% 70% at 50% 0%, rgba(255,215,0,0.08), transparent 65%),
    linear-gradient(180deg, var(--black) 0%, #131317 100%);
  color: var(--white);
  padding: 3.25rem 1.5rem;
  text-align: center;
  border-bottom: 3px solid var(--gold);
}

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.9rem);
  font-weight: 900;
  letter-spacing: -0.5px;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
}

.page-hero p {
  font-size: 0.95rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.5px;
}

/* ===== SEASON SELECTOR ===== */
.season-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}

.season-tab {
  padding: 0.45rem 1.3rem;
  border-radius: 999px;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 700;
  border: 2px solid var(--grey-mid);
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
  background: var(--white);
}

.season-tab.active, .season-tab:hover {
  background: var(--black);
  color: var(--gold);
  border-color: var(--black);
}

/* ===== CHAMPIONS BANNER ===== */
.champions-banner {
  display: block;
  background: linear-gradient(100deg, #FFD700 0%, #ffdf3d 50%, #f0c400 100%);
  color: var(--black);
  padding: 0.9rem 1.5rem;
  text-align: center;
}

a.champions-banner-link { transition: filter 0.2s; }
a.champions-banner-link:hover { filter: brightness(1.06); }

.champions-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  max-width: 900px;
  margin: 0 auto;
  flex-wrap: wrap;
}

.champions-icon { font-size: 1.5rem; line-height: 1; flex-shrink: 0; }

.champions-inner strong {
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: -0.2px;
  display: block;
  margin-bottom: 0.05rem;
}

.champions-inner span {
  font-size: 0.78rem;
  font-weight: 600;
  opacity: 0.72;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {

  /* ── Mobile Navigation ─────────────────────────────────── */
  .nav-toggle {
    display: flex;
    width: 44px;                          /* Apple HIG min tap target */
    height: 44px;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding: 0;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 10px;
    transition: background 0.2s, border-color 0.2s;
  }
  .nav-toggle:hover,
  .nav-toggle.open {
    background: var(--gold);
    border-color: var(--gold);
  }
  .nav-toggle.open span { background: var(--black); }
  .nav-toggle:hover span { background: var(--black); }

  .nav-toggle span {
    width: 22px;
    height: 2px;
    margin: 2.5px 0;
    transition: transform 0.25s, opacity 0.2s, background 0.2s;
  }

  /* Animate hamburger → X when open */
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

  nav ul {
    display: none;
    position: absolute;
    top: 100%;                            /* Sit directly below header */
    left: 0;
    right: 0;
    background: rgba(13,13,15,0.97);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    flex-direction: column;
    padding: 0.75rem;
    gap: 0.25rem;
    box-shadow: 0 18px 40px rgba(0,0,0,0.5);
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  nav ul.open { display: flex; }

  nav ul li a {
    display: block;
    padding: 1rem 1.25rem;                /* Bigger tap target */
    font-size: 1rem;
    border-radius: 10px;
    border-left: 3px solid transparent;
  }
  nav ul li a:hover { border-left-color: rgba(255,215,0,0.6); }
  nav ul li a.active {
    background: transparent;
    color: var(--gold);
    border-left-color: var(--gold);
  }

  /* ── Hero & Buttons ────────────────────────────────────── */
  .hero { padding: 4rem 1.25rem 4.5rem; }
  .btn-outline { margin-left: 0; margin-top: 0.65rem; }

  /* ── Stats Bar — 2 col grid ────────────────────────────── */
  .stats-inner { grid-template-columns: repeat(2, 1fr); }

  /* ── Archive ribbon stacks ─────────────────────────────── */
  .archive-ribbon-inner { gap: 0.5rem; }
  .archive-ribbon-text { font-size: 0.76rem; }

  /* ── RESPONSIVE TABLES — Card Layout ────────────────────
     Each <tr> becomes a stacked card. No horizontal scrolling.
     Works for fixtures AND results pages.
  ─────────────────────────────────────────────────────── */
  .fixtures-table {
    border-collapse: separate;
    border-spacing: 0 0.75rem;
    background: transparent;
    border: none;
    box-shadow: none;
    overflow: visible;
  }

  .fixtures-table thead {
    /* Hide table header — each card is self-describing */
    position: absolute;
    width: 1px; height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .fixtures-table tbody { display: block; }

  .fixtures-table tr {
    display: block;
    background: var(--white);
    border: 1px solid var(--grey-mid);
    border-left: 4px solid var(--gold);
    border-radius: var(--radius-sm);
    padding: 0.9rem 1.05rem;
    margin-bottom: 0.75rem;
    box-shadow: var(--shadow-sm);
  }

  .fixtures-table tr:hover { background: var(--white); }

  .fixtures-table td {
    display: block;
    padding: 0.2rem 0;
    border: none;
    text-align: left;
    font-size: 0.9rem;
    line-height: 1.4;
  }

  .fixtures-table td:empty { display: none; }

  /* Date — first cell, small grey label at top */
  .fixtures-table td:first-child {
    font-size: 0.72rem;
    color: var(--grey-dark);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
    margin-bottom: 0.25rem;
  }

  /* Match report link — full-width black button at bottom */
  .fixtures-table td .report-link {
    display: block;
    text-align: center;
    background: var(--black);
    color: var(--white);
    padding: 0.7rem;
    border-radius: 999px;
    margin-top: 0.5rem;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
    border-bottom: none;
  }

  /* Result badge stays inline-block but slightly bigger */
  .fixtures-table .result-badge {
    font-size: 0.8rem;
    padding: 0.3rem 0.8rem;
  }

  /* Strong elements (opposition names) become more prominent */
  .fixtures-table td strong {
    font-size: 1.05rem;
    display: inline-block;
  }

  /* ── Match Report Page — Scoreboard ────────────────────── */
  .scoreboard {
    flex-wrap: wrap;
    gap: 0.75rem;
    padding: 0 0.5rem;
  }
  .scoreboard .team {
    font-size: 0.85rem;
    flex: 1 1 30%;
  }
  .scoreboard .score-box {
    flex: 1 1 100%;
    order: 3;
    justify-content: center;
  }
  .scoreboard .score { font-size: 2.5rem; }

  .match-meta-pills {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  /* ── Performers grid stacks on mobile ──────────────────── */
  .performers-grid { grid-template-columns: 1fr; }

  /* ── Container padding ─────────────────────────────────── */
  .container { padding-left: 1rem; padding-right: 1rem; }
}

/* ===== FESTIVAL / TOURNAMENT ===== */
.festival-hero-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin: 1.5rem 0 1rem;
  flex-wrap: wrap;
}

.festival-stat {
  text-align: center;
}

.festival-stat .num {
  font-size: clamp(1.8rem, 5vw, 2.8rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1px;
}

.festival-stat .lbl {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--gold);
  opacity: 0.85;
  margin-top: 0.3rem;
}

/* Group standings table */
.festival-group-table {
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  background: var(--white);
}

.festival-group-table thead tr {
  background: var(--black);
  color: var(--white);
}

.festival-group-table th {
  padding: 0.8rem 1rem;
  text-align: center;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 700;
  color: rgba(255,255,255,0.85);
}

.festival-group-table th.team-col { text-align: left; }

.festival-group-table td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--grey-mid);
  text-align: center;
  vertical-align: middle;
}

.festival-group-table tbody tr:last-child td { border-bottom: none; }

.festival-group-table td.team-col {
  text-align: left;
  font-weight: 600;
}

.festival-group-table tbody tr:hover { background: rgba(255,215,0,0.06); }

.festival-group-table tr.champ-row {
  background: linear-gradient(100deg, #FFD700, #ffdf3d);
}

.festival-group-table tr.champ-row:hover { background: #FFC200; }

.festival-group-table tr.champ-row td { font-weight: 700; }

.pos-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--grey-mid);
  color: var(--black);
}

.pos-badge.first {
  background: var(--black);
  color: var(--gold);
}

/* Festival table — mobile */
@media (max-width: 520px) {
  /* Scroll wrapper so it never overflows the page */
  .festival-group-table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 0.82rem;
  }

  .festival-group-table th {
    padding: 0.6rem 0.45rem;
    font-size: 0.66rem;
    letter-spacing: 0;
  }

  .festival-group-table td {
    padding: 0.6rem 0.45rem;
  }

  /* Give the team name column room to breathe */
  .festival-group-table th.team-col,
  .festival-group-table td.team-col {
    min-width: 110px;
  }

  /* Keep numeric columns compact */
  .festival-group-table th:not(.team-col),
  .festival-group-table td:not(.team-col) {
    min-width: 36px;
  }

  .pos-badge {
    width: 1.5rem;
    height: 1.5rem;
    font-size: 0.72rem;
  }
}

/* Gallery period dividers */
.gallery-period {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 2rem 0 1.25rem;
}

.gallery-period::before,
.gallery-period::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--grey-mid);
}

.gallery-period-label {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--grey-dark);
  white-space: nowrap;
}

/* Dense photo grid (trophy ceremony) */
.gallery-photo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 0.5rem;
}

.gallery-photo-grid img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: var(--radius-sm);
  background: var(--black);
  transition: transform 0.2s, box-shadow 0.2s;
}

.gallery-photo-grid img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-md);
}

/* Nav logo as home link */
.nav-logo-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: inherit;
}

/* ===== LIGHTBOX ===== */
.gallery-photo-grid img,
.gallery-hero img { cursor: zoom-in; }

#lightbox {
  position: fixed;
  inset: 0;
  z-index: 9998;
  background: rgba(6, 6, 8, 0.97);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 3.5rem 1rem 2.5rem;
}

#lightbox.open { display: flex; }

#lb-img {
  max-width: 100%;
  max-height: calc(100vh - 6rem);
  object-fit: contain;
  border-radius: var(--radius-sm);
  display: block;
  user-select: none;
}

.lb-btn {
  position: absolute;
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  width: 44px;
  height: 44px;
  font-size: 1.5rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
  flex-shrink: 0;
}

.lb-btn:hover { background: var(--gold); color: var(--black); }

#lb-close { top: 1rem; right: 1rem; font-size: 1.1rem; }
#lb-prev  { left: 0.75rem;  top: 50%; transform: translateY(-50%); }
#lb-next  { right: 0.75rem; top: 50%; transform: translateY(-50%); }

#lb-counter {
  position: absolute;
  bottom: 0.9rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.45);
  letter-spacing: 1px;
  white-space: nowrap;
  pointer-events: none;
}

/* ===== AWARDS CARDS ===== */
.awards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 1.25rem;
  max-width: 800px;
  margin: 0 auto;
}

.award-card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-top: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
  box-shadow: var(--shadow-sm);
}

.award-card:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }

.award-icon { font-size: 2rem; margin-bottom: 0.6rem; line-height: 1; }

.award-initials {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--ink), var(--black));
  color: var(--white);
  font-weight: 900;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem;
  box-shadow: inset 0 0 0 2px rgba(255,215,0,0.35);
}

.award-name {
  font-weight: 800;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.award-label {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--grey-dark);
}

/* ===== KIT SPONSOR SPOTLIGHT ===== */
.kit-sponsor {
  max-width: 1000px;
  margin: 0 auto;
  background: var(--black);
  border-radius: var(--radius);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  align-items: stretch;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.kit-sponsor::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: var(--gold);
  pointer-events: none;
}

.kit-sponsor-media {
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 2rem;
}

.kit-sponsor-media img {
  max-width: 260px;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 18px 30px rgba(13,13,15,0.18));
}

.kit-sponsor-content {
  padding: 2.75rem 2.75rem 2.75rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.kit-sponsor-badge {
  display: inline-flex;
  align-self: flex-start;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255,215,0,0.12);
  border: 1px solid rgba(255,215,0,0.4);
  color: var(--gold);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1.1rem;
}

.kit-sponsor-logo {
  height: 34px;
  width: auto;
  margin-bottom: 1.25rem;
}

.kit-sponsor-content h2 {
  font-size: clamp(1.4rem, 2.6vw, 1.9rem);
  font-weight: 900;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: -0.4px;
  margin-bottom: 0.9rem;
  line-height: 1.2;
}

.kit-sponsor-content p {
  color: rgba(255,255,255,0.72);
  font-size: 0.94rem;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.kit-sponsor-content p:last-of-type { margin-bottom: 1.6rem; }

.kit-sponsor-content .btn { align-self: flex-start; }

@media (max-width: 768px) {
  .kit-sponsor { grid-template-columns: 1fr; }
  .kit-sponsor-media { padding: 2.25rem 2rem 1rem; }
  .kit-sponsor-content { padding: 2rem 1.75rem 2.5rem; }
}

/* ===== SPONSORS PAGE ===== */
.sponsors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  max-width: 960px;
  margin: 0 auto;
}

.sponsor-card {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.22s, transform 0.22s, border-color 0.22s;
  box-shadow: var(--shadow-sm);
}

.sponsor-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
  border-color: rgba(13,13,15,0.18);
}

.sponsor-card-top {
  background: linear-gradient(180deg, var(--black), var(--ink));
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  border-bottom: 2px solid var(--gold);
}

.sponsor-card-name {
  font-size: 1rem;
  font-weight: 900;
  color: var(--white);
  text-align: center;
  letter-spacing: -0.3px;
  line-height: 1.25;
  text-transform: uppercase;
}

.sponsor-card-body {
  padding: 1.25rem 1.5rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sponsor-card-desc {
  font-size: 0.88rem;
  color: var(--grey-dark);
  line-height: 1.7;
  flex: 1;
  margin-bottom: 1.1rem;
}

.sponsor-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--black);
  text-decoration: none;
  border-bottom: 2px solid var(--gold);
  padding-bottom: 0.1rem;
  align-self: flex-start;
  transition: opacity 0.15s;
}

.sponsor-card-link:hover { opacity: 0.55; }

.sponsor-logo {
  max-height: 56px;
  max-width: 180px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* ===== PLAYER PROFILE ===== */
.player-hero {
  background:
    radial-gradient(ellipse 55% 60% at 50% 0%, rgba(255,215,0,0.10), transparent 65%),
    linear-gradient(180deg, var(--black) 0%, #131317 100%);
  color: var(--white);
  padding: 3rem 1.5rem 3rem;
  border-bottom: 3px solid var(--gold);
}

.player-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 2.5rem;
  align-items: center;
}

.player-hero-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top center;
  border-radius: var(--radius);
  border: 3px solid var(--gold);
  box-shadow: 0 18px 44px rgba(0,0,0,0.5);
  background: var(--ink);
}

.player-hero-eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.5rem;
}

.player-hero-name {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1.5px;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
}

.player-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
}

.player-hero-meta span {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.16);
  border-radius: 999px;
  padding: 0.3rem 0.95rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.player-hero-meta span.gold {
  background: rgba(255,215,0,0.14);
  border-color: rgba(255,215,0,0.45);
  color: var(--gold);
}

.player-hero-sponsor {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding-top: 1.1rem;
  margin-top: 0.25rem;
}

.player-hero-sponsor-label {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
  line-height: 1.5;
}

.player-hero-sponsor-label strong {
  display: block;
  color: var(--white);
  font-size: 0.85rem;
  letter-spacing: 0.3px;
  text-transform: none;
  font-weight: 700;
}

.player-hero-sponsor img {
  height: 52px;
  width: auto;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 0.35rem 0.5rem;
  flex-shrink: 0;
}

/* Player card link wrapper on squad page */
a.player-card-link { display: block; color: inherit; text-decoration: none; }

a.player-card-link .player-card { position: relative; height: 100%; }

a.player-card-link .player-card::after {
  content: "View profile \2192";
  display: block;
  margin-top: 0.6rem;
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--gold-deep);
  opacity: 0;
  transition: opacity 0.2s;
}

a.player-card-link:hover .player-card::after,
a.player-card-link:focus-visible .player-card::after { opacity: 1; }

a.player-card-link .player-card {
  border-color: rgba(255,215,0,0.55);
}

/* Sponsored ribbon on squad card */
.player-card .sponsored-tag {
  display: inline-block;
  margin-top: 0.5rem;
  background: var(--gold);
  color: var(--black);
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
}

@media (max-width: 720px) {
  .player-hero-inner { grid-template-columns: 1fr; gap: 1.5rem; text-align: center; }
  .player-hero-photo { max-width: 220px; margin: 0 auto; }
  .player-hero-meta { justify-content: center; }
  .player-hero-sponsor { justify-content: center; text-align: left; }
}

/* ═══════════════════════════════════════════════════════════
   NEWS STORY PAGES
   ═══════════════════════════════════════════════════════════ */

.story-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 0.35rem 1.1rem;
  border-radius: 999px;
}

/* Lead photo with caption */
.story-figure {
  max-width: 760px;
  margin: 0 auto 2rem;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  background: var(--black);
}

.story-figure img {
  width: 100%;
  height: auto;
  display: block;
}

.story-figure figcaption {
  padding: 0.85rem 1.15rem;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.5;
}

.story-figure figcaption span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
}

/* Opening paragraph */
.story-standfirst {
  font-size: 1.12rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--black);
}

/* Pull quote */
.story-quote {
  border-left: 4px solid var(--gold);
  background: var(--grey-light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.15rem 1.4rem;
  margin: 1.6rem 0;
}

.story-quote p {
  font-size: 1.02rem;
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 0.6rem;
}

.story-quote cite {
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--grey-dark);
}

/* Press credit strip */
.press-strip {
  max-width: 760px;
  margin: 2.5rem auto 0;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.35rem 1.6rem;
}

.press-strip-label {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  flex-shrink: 0;
}

.press-strip-body {
  flex: 1;
  min-width: 210px;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.press-strip-body strong {
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.3px;
}

.press-strip-body span {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.45;
}

.press-strip-body .press-strip-byline {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.45);
}

.press-strip .btn { flex-shrink: 0; }
.press-strip .btn-dark {
  background: var(--white);
  color: var(--black);
}
.press-strip .btn-dark:hover { background: var(--gold); }

/* ═══════════════════════════════════════════════════════════
   FUNDRAISER
   ═══════════════════════════════════════════════════════════ */

.fundraiser-card {
  max-width: 720px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 2rem 1.75rem;
  text-align: center;
}

.fundraiser-icon {
  font-size: 2.4rem;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.fundraiser-body h3 {
  font-size: 1.3rem;
  font-weight: 900;
  letter-spacing: -0.3px;
  margin-bottom: 0.75rem;
}

.fundraiser-body p {
  font-size: 0.94rem;
  color: var(--grey-dark);
  line-height: 1.65;
  max-width: 52ch;
  margin: 0 auto 1.25rem;
}

.fundraiser-target { margin-bottom: 1.35rem; }

.fundraiser-target-num {
  font-size: 2.6rem;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1.5px;
}

.fundraiser-target-lbl {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--grey-dark);
  margin-top: 0.3rem;
}

.fundraiser-note {
  font-size: 0.78rem !important;
  color: var(--grey-dark);
  margin: 1rem auto 0 !important;
}

/* Home page fundraiser banner
   Deliberately dark — the champions banner directly below it is gold,
   and two gold bars stacked lose all hierarchy. */
.fundraiser-banner {
  display: block;
  background: var(--ink);
  color: var(--white);
  padding: 0.95rem 1.5rem;
  border-bottom: 2px solid var(--gold);
  transition: background 0.2s;
}

.fundraiser-banner:hover { background: #232329; }

.fundraiser-banner-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  flex-wrap: wrap;
  text-align: left;
}

.fundraiser-banner-icon { font-size: 1.5rem; line-height: 1; flex-shrink: 0; }

.fundraiser-banner-inner strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: -0.2px;
}

.fundraiser-banner-inner span {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--gold);
}

/* Featured (lead) news card spans the grid */
.news-card-lead { grid-column: 1 / -1; }

/* Taller image well than the standard 160px card */
.news-card-lead .news-card-img { height: 300px; }

.news-card-lead .news-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.news-card-lead .news-card-body h3 { font-size: 1.45rem; }

.news-badge {
  display: inline-block;
  /* .news-card-body is a flex column — stop the pill stretching full width */
  align-self: flex-start;
  background: var(--gold);
  color: var(--black);
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

/* ── News story / fundraiser: mobile ───────────────────── */
@media (max-width: 700px) {
  .press-strip {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .press-strip .btn { width: 100%; text-align: center; }

  .news-card-lead .news-card-img { height: 200px; }
  .news-card-lead .news-card-body h3 { font-size: 1.2rem; }

  .fundraiser-card { padding: 1.6rem 1.25rem; }
  .fundraiser-card .btn { width: 100%; }
  .fundraiser-target-num { font-size: 2.1rem; }

  .story-standfirst { font-size: 1.02rem; }
  .story-quote { padding: 1rem 1.15rem; }
  .story-quote p { font-size: 0.95rem; }
}

/* ═══════════════════════════════════════════════════════════
   ROUND ROBIN — multi-game match report
   ═══════════════════════════════════════════════════════════ */

/* Two results side by side in the hero */
.rr-results {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin: 1.75rem auto 0.5rem;
  max-width: 560px;
}

.rr-result {
  flex: 1 1 200px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.16);
  border-top: 3px solid var(--grey-dark);
  border-radius: var(--radius-sm);
  padding: 0.9rem 1rem;
}

.rr-win  { border-top-color: var(--gold); }
.rr-loss { border-top-color: rgba(255,255,255,0.3); }

.rr-opp {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.3rem;
}

.rr-score {
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: -1px;
  line-height: 1;
}

.rr-outcome {
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 0.3rem;
}

.rr-win  .rr-outcome { color: var(--gold); }
.rr-loss .rr-outcome { color: rgba(255,255,255,0.45); }

/* Scoreboard reused outside the dark hero */
.scoreboard-inline {
  background: var(--black);
  color: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem 1.25rem;
  max-width: 560px;
  margin: 0 auto 2rem;
}

/* Man of the match */
.motm-card {
  max-width: 400px;
  margin: 0 auto;
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-top: 4px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 1.75rem 1.5rem;
  text-align: center;
}

.motm-badge {
  display: inline-block;
  background: var(--gold);
  color: var(--black);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 0.25rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}

.motm-avatar {
  width: 66px;
  height: 66px;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: var(--black);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.5px;
  box-shadow: 0 0 0 3px var(--gold);
}

.motm-name {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.3px;
}

.motm-pos {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--grey-dark);
  margin-top: 0.15rem;
}

.motm-quote {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--grey-dark);
  line-height: 1.6;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--grey-mid);
}

@media (max-width: 560px) {
  .rr-results { flex-direction: column; }
  .scoreboard-inline { padding: 1.25rem 1rem; }
}

/* ═══════════════════════════════════════════════════════════
   TOUR PAGE
   ═══════════════════════════════════════════════════════════ */

.tour-hero {
  background:
    radial-gradient(ellipse 60% 55% at 50% 0%, rgba(255,215,0,0.10), transparent 65%),
    linear-gradient(180deg, var(--black) 0%, #131317 100%);
  color: var(--white);
  padding: 4rem 1.5rem 4.5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.tour-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -55deg,
    transparent,
    transparent 44px,
    rgba(255,255,255,0.025) 44px,
    rgba(255,255,255,0.025) 88px
  );
}

.tour-hero::after {
  content: '';
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.tour-hero-inner { position: relative; max-width: 780px; margin: 0 auto; }

.tour-hero-eyebrow {
  display: inline-block;
  border: 1px solid rgba(255,215,0,0.4);
  background: rgba(255,215,0,0.07);
  border-radius: 999px;
  padding: 0.3rem 1.1rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.tour-hero h1 {
  font-size: clamp(2rem, 5.5vw, 3.6rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -1.5px;
  text-transform: uppercase;
  text-wrap: balance;
  margin-bottom: 1rem;
}

.tour-hero-dates {
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.tour-flags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.5rem;
}

.tour-flags span {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 999px;
  padding: 0.35rem 1rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.tour-hero-line {
  max-width: 560px;
  margin: 0 auto 1.75rem;
  color: rgba(255,255,255,0.78);
  font-size: 1rem;
  line-height: 1.65;
}

/* Key facts strip */
.tour-facts {
  background: var(--grey-light);
  border-bottom: 1px solid var(--grey-mid);
  padding: 1.5rem;
}

.tour-facts-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  text-align: center;
}

.tour-fact .tf-num {
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -1px;
}

.tour-fact .tf-lbl {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--grey-dark);
  margin-top: 0.2rem;
}

/* Split image + text blocks */
.tour-split {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 2rem;
  align-items: center;
  max-width: 940px;
  margin: 0 auto;
}

.tour-split-reverse .tour-split-media { order: 2; }

.tour-split-media img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
}

.tour-split-reverse .tour-split-media img { box-shadow: var(--shadow-md); }

.tour-split-body p {
  color: var(--grey-dark);
  line-height: 1.75;
  margin-bottom: 1rem;
}

.tour-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1.25rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--grey-mid);
}

.tour-list li {
  font-size: 0.88rem;
  color: var(--grey-dark);
  line-height: 1.5;
}

.tour-list li strong {
  display: block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--black);
  margin-bottom: 0.1rem;
}

/* Day-by-day */
.tour-timeline {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 1rem;
  max-width: 1000px;
  margin: 0 auto 1.5rem;
}

.tour-day {
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-top: 4px solid var(--grey-mid);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
}

.tour-day-key { border-top-color: var(--gold); }

.tour-day-tag {
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin-bottom: 0.4rem;
}

.tour-day h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.tour-day p {
  font-size: 0.85rem;
  color: var(--grey-dark);
  line-height: 1.6;
}

/* Callout note */
.tour-note {
  max-width: 720px;
  margin: 0 auto;
  background: var(--grey-light);
  border: 1px solid var(--grey-mid);
  border-left: 4px solid var(--black);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 1.15rem 1.4rem;
}

.tour-note-gold { border-left-color: var(--gold); margin-top: 1.5rem; }

/* Direct child only — strongs inside the paragraph must stay inline,
   or the sentence breaks across lines around each emphasised phrase. */
.tour-note > strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
}

.tour-note p {
  font-size: 0.88rem;
  color: var(--grey-dark);
  line-height: 1.7;
}

.table-wrap-tour { overflow-x: auto; }

/* Host club credit */
.tour-host {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  background: var(--white);
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-sm);
}

.tour-host img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 6px;
}

.tour-host strong {
  display: block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold-deep);
}

.tour-host span {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--black);
}

/* ── Tour page: tablet & mobile ─────────────────────────── */
@media (max-width: 860px) {
  .tour-split,
  .tour-split-reverse {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .tour-split-reverse .tour-split-media { order: 0; }
  .tour-split-media { max-width: 420px; margin: 0 auto; }
}

@media (max-width: 700px) {
  .tour-hero { padding: 3rem 1.25rem 3.5rem; }
  .tour-facts-inner { grid-template-columns: repeat(2, 1fr); gap: 1.25rem 1rem; }
  .tour-hero .btn { width: 100%; max-width: 320px; }
  .tour-note { padding: 1rem 1.15rem; }
}

/* ===== EXTRA-SMALL SCREENS (phones in portrait) ===== */
@media (max-width: 400px) {
  .stats-inner { grid-template-columns: 1fr; }
  .scoreboard .score { font-size: 2rem; }
  .page-hero h1 { font-size: 1.4rem; }
}
