/* Doma United FC — premium official club design */
:root {
  --blue: #0057B8;
  --blue-dark: #003D82;
  --blue-deep: #002554;
  --tiger: #F18A1F;
  --tiger-dark: #D9730F;
  --ink: #0c1222;
  --text: #1a1f2e;
  --muted: #5c6578;
  --line: #e6e9ef;
  --soft: #f4f6fa;
  --white: #ffffff;
  --max: 1160px;
  --radius: 12px;
  --shadow: 0 8px 30px rgba(12, 18, 34, 0.08);
  --shadow-lg: 0 20px 50px rgba(12, 18, 34, 0.14);
  --font: "DM Sans", system-ui, -apple-system, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  /* legacy aliases used in older markup */
  --green: var(--blue);
  --green-dark: var(--blue-dark);
  --gold: var(--tiger);
  --ink-2: #121a2b;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  background: var(--white);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }

/* ── Top bar ── */
.topbar {
  background: var(--ink);
  color: rgba(255,255,255,0.75);
  font-size: 0.78rem;
  font-weight: 500;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
  gap: 1rem;
  flex-wrap: wrap;
}
.topbar-links { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.topbar-links a { transition: color 0.15s; }
.topbar-links a:hover { color: var(--tiger); }
.social-inline {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-right: 0.35rem;
  padding-right: 0.75rem;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: rgba(255,255,255,0.8);
  background: rgba(255,255,255,0.06);
  transition: background 0.15s, color 0.15s, transform 0.15s;
}
.social-icon:hover {
  background: var(--blue);
  color: #fff;
  transform: translateY(-1px);
}
.social-whatsapp:hover { background: #25d366; }
.social-instagram:hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-youtube:hover { background: #ff0000; }
.social-tiktok:hover { background: #111; }
.social-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1.15rem;
}
.social-chip {
  display: inline-flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.55rem 0.75rem;
  border-radius: 10px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  min-width: 7.5rem;
  transition: background 0.15s, border-color 0.15s;
}
.social-chip:hover {
  background: rgba(0,87,184,0.35);
  border-color: rgba(0,87,184,0.5);
}
.social-chip-label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--tiger);
}
.social-chip-handle {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.9);
  font-weight: 600;
}
.footer-handles { color: rgba(255,255,255,0.45); font-weight: 500; }
.social-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}
.social-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
  transition: border-color 0.15s, transform 0.15s;
}
.social-list a:hover {
  border-color: var(--blue);
  transform: translateY(-1px);
}
.social-list strong {
  font-size: 0.9rem;
  color: var(--ink);
}
.social-list span {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue);
}

/* ── Header ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.97);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0,0,0,0.03);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 1.25rem;
}
.logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
}
.logo-img {
  width: 56px;
  height: auto;
  max-height: 68px;
  object-fit: contain;
  flex-shrink: 0;
}
.logo-badge {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--blue);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: var(--display);
  font-weight: 800;
  font-size: 1.15rem;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.05; }
.logo-text strong {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ink);
}
.logo-text small {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-top: 2px;
}

.site-nav {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.1rem 0.15rem;
  justify-content: flex-end;
}
.site-nav a {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: 0.01em;
  padding: 0.5rem 0.55rem;
  border-radius: 6px;
  transition: color 0.15s, background 0.15s;
}
.site-nav a:hover { color: var(--blue); background: rgba(0,87,184,0.06); }
.site-nav a.is-active { color: var(--blue); background: rgba(0,87,184,0.08); }
.nav-cta {
  background: var(--blue) !important;
  color: #fff !important;
  padding: 0.55rem 1rem !important;
  margin-left: 0.35rem;
  border-radius: 8px !important;
}
.nav-cta:hover { background: var(--blue-dark) !important; filter: none; }
.nav-cart i {
  display: inline-flex;
  min-width: 1.15rem;
  height: 1.15rem;
  margin-left: 0.3rem;
  padding: 0 0.3rem;
  border-radius: 999px;
  background: var(--tiger);
  color: #111;
  font-style: normal;
  font-size: 0.65rem;
  font-weight: 700;
  align-items: center;
  justify-content: center;
}
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 42px;
  height: 42px;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--ink);
  width: 100%;
  border-radius: 2px;
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: min(72vh, 620px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ink);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(105deg, rgba(12,18,34,0.94) 0%, rgba(0,61,130,0.75) 48%, rgba(12,18,34,0.55) 100%),
    url("https://images.unsplash.com/photo-1574629810360-7efbbe195018?w=1800&q=85") center/cover no-repeat;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 120px;
  background: linear-gradient(transparent, rgba(12,18,34,0.5));
  z-index: 0;
  pointer-events: none;
}
.hero-inner {
  position: relative;
  z-index: 1;
  padding: 4rem 0 4.5rem;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.5rem;
  align-items: center;
  max-width: 900px;
}
.hero-crest {
  width: 140px;
  height: auto;
  filter: drop-shadow(0 12px 28px rgba(0,0,0,0.45));
}
.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(241,138,31,0.15);
  border: 1px solid rgba(241,138,31,0.45);
  color: var(--tiger);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.hero h1 {
  font-family: var(--display);
  font-size: clamp(2.75rem, 7vw, 4.4rem);
  font-weight: 800;
  line-height: 0.95;
  text-transform: uppercase;
  margin: 0 0 1rem;
  letter-spacing: 0.02em;
  color: #fff;
}
.hero p {
  color: rgba(255,255,255,0.82);
  max-width: 28rem;
  margin: 0 0 1.75rem;
  font-size: 1.05rem;
  line-height: 1.55;
}
.btn-row { display: flex; flex-wrap: wrap; gap: 0.75rem; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.85rem 1.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border: 2px solid transparent;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s, border-color 0.15s;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  box-shadow: 0 8px 20px rgba(0,87,184,0.35);
}
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); }
.btn-gold {
  background: var(--tiger);
  color: #111;
  border-color: var(--tiger);
  box-shadow: 0 8px 20px rgba(241,138,31,0.3);
}
.btn-outline {
  background: rgba(255,255,255,0.08);
  color: #fff;
  border-color: rgba(255,255,255,0.35);
  backdrop-filter: blur(6px);
}
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,0.14); }
.btn-outline-dark {
  background: transparent;
  color: var(--text);
  border-color: var(--line);
}
.btn-outline-dark:hover { border-color: var(--blue); color: var(--blue); }
.btn-sm { padding: 0.55rem 0.95rem; font-size: 0.75rem; border-radius: 8px; }
.btn-block { width: 100%; }

/* ── Sections ── */
.section { padding: 4.5rem 0; }
.section-dark { background: var(--soft); }
.section-ink {
  background: var(--ink);
  color: #fff;
}
.section-ink .section-title { color: #fff; }
.section-ink .section-link { color: var(--tiger); }
.section-ink p { color: rgba(255,255,255,0.75); }
.section-blue {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 100%);
  color: #fff;
}
.section-head {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: end;
  gap: 1rem;
  margin-bottom: 2rem;
}
.section-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.4rem;
}
.section-ink .section-label,
.section-blue .section-label { color: var(--tiger); }
.section-title {
  font-family: var(--display);
  font-size: clamp(1.85rem, 4vw, 2.6rem);
  font-weight: 800;
  text-transform: uppercase;
  margin: 0;
  letter-spacing: 0.02em;
  line-height: 1;
  color: var(--ink);
}
.section-link {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--blue);
}
.section-link:hover { text-decoration: underline; }

/* ── Match centre cards ── */
.match-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}
.match-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem 1.35rem;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.match-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 4px;
  background: var(--blue);
}
.match-card.is-result::before { background: var(--tiger); }
.match-card .tag {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 1rem;
}
.match-card.is-result .tag { color: var(--tiger-dark); }
.match-teams {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0.75rem;
  align-items: center;
  margin-bottom: 1rem;
}
.match-teams .side {
  font-family: var(--display);
  font-size: 1.45rem;
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.1;
}
.match-teams .side.away { text-align: right; }
.match-teams .mid { text-align: center; min-width: 72px; }
.match-teams .score {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.match-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.85rem;
  color: var(--muted);
}

/* ── News ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.35rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.35rem; }
.news-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
}
.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.news-card img {
  aspect-ratio: 16/10;
  width: 100%;
  object-fit: cover;
  flex-shrink: 0;
}
.news-card .body {
  padding: 1.15rem 1.2rem 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex: 1;
}
.news-card .cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
}
.news-card h3 {
  font-family: var(--display);
  font-size: 1.28rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.15;
  color: var(--ink);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card p {
  color: var(--muted);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card .meta {
  font-size: 0.8rem;
  color: var(--muted);
  font-weight: 500;
  margin-top: auto;
  padding-top: 0.75rem;
}

/* Home news — more columns, compact fixed-size cards */
.news-grid-home {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  align-items: stretch;
}
.news-card-sm {
  border-radius: 12px;
}
.news-card-sm img {
  aspect-ratio: 16/9;
  height: auto;
}
.news-card-sm .body {
  padding: 0.75rem 0.85rem 0.85rem;
  gap: 0.3rem;
  /* body grows so all cards match row height; excerpt fills the middle */
}
.news-card-sm .cat {
  font-size: 0.62rem;
  letter-spacing: 0.1em;
}
.news-card-sm h3 {
  font-size: 0.95rem;
  line-height: 1.2;
  min-height: 2.3em; /* always 2 title lines of space */
  -webkit-line-clamp: 2;
}
.news-card-sm .news-excerpt,
.news-card-sm p {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.4;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* max 2 lines — extra text is cut with … */
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.2em;
}
.news-card-sm .meta {
  font-size: 0.72rem;
  padding-top: 0.4rem;
}
.news-card-sm:hover {
  transform: translateY(-2px);
}

/* Videos (home + list) — same 4-col grid as news cards */
.video-grid { /* uses .news-grid-home */ }
.video-thumb {
  position: relative;
  aspect-ratio: 16/9;
  background: #0c1222;
  overflow: hidden;
}
.video-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: auto;
}
.video-play {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: #fff;
  background: rgba(0,0,0,0.35);
  transition: background 0.15s;
}
.video-card:hover .video-play {
  background: rgba(0,87,184,0.55);
}
.video-card .news-card-sm img,
.video-card img {
  /* thumb handles sizing */
}
.video-player-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  background: #0c1222;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  margin: 1rem 0 0;
}
.video-player {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.video-player-native {
  background: #000;
}
.video-player-html5 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}
.video-fallback-img {
  width: 100%;
  max-height: 420px;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
}
.home-photo-grid {
  grid-template-columns: repeat(4, 1fr);
}
@media (max-width: 1040px) {
  .home-photo-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 800px) {
  .home-photo-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Team page — club form + leaders */
.team-record-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.75rem;
}
.team-record-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.1rem 0.85rem;
  text-align: center;
  box-shadow: var(--shadow);
}
.team-record-card strong {
  display: block;
  font-family: var(--display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--ink);
  line-height: 1.1;
}
.team-record-card span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.team-record-card.accent {
  border-color: rgba(0,87,184,0.35);
  background: rgba(0,87,184,0.08);
}
.team-record-card.accent strong { color: var(--blue); }
.team-leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1rem;
}
.team-leader-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.05rem 0.85rem;
  box-shadow: var(--shadow);
}
.team-leader-card h3 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: 1.15rem;
  text-transform: uppercase;
  color: var(--blue);
}
.team-leader-card ol {
  list-style: none;
  margin: 0;
  padding: 0;
}
.team-leader-card li a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
  color: inherit;
}
.team-leader-card li:last-child a { border-bottom: 0; }
.team-leader-card .rank {
  font-family: var(--display);
  font-weight: 800;
  width: 1.25rem;
  color: var(--muted);
}
.team-leader-card img,
.team-leader-card .leader-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--soft);
}
.team-leader-card .leader-avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: var(--blue);
  font-size: 0.9rem;
}
.team-leader-card .leader-meta {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}
.team-leader-card .leader-meta strong {
  font-size: 0.88rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.team-leader-card .leader-meta small {
  font-size: 0.72rem;
  color: var(--muted);
}
.team-leader-card .leader-total {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--blue);
}
@media (max-width: 900px) {
  .team-record-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 520px) {
  .team-record-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Player profile */
.player-profile {
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 2rem;
  align-items: start;
}
.player-profile-photo {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--soft);
  aspect-ratio: 1;
}
.player-profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.player-profile-photo-empty {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--display);
  font-size: 4rem;
  font-weight: 800;
  color: var(--blue);
  background: linear-gradient(160deg, #e8f1fb, #f5f7fb);
}
.player-profile-num {
  position: absolute;
  left: 0.65rem;
  bottom: 0.25rem;
  font-family: var(--display);
  font-size: 3rem;
  font-weight: 800;
  color: var(--tiger);
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.35);
}
.player-socials {
  margin-top: 1.25rem;
}
.player-socials ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.player-socials a {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-weight: 700;
  font-size: 0.88rem;
  text-decoration: none;
}
.player-socials a span {
  font-weight: 500;
  font-size: 0.78rem;
  color: var(--muted);
  word-break: break-all;
}
.player-socials a:hover {
  border-color: var(--blue);
}
.player-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
  margin: 0;
}
.player-facts > div {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0.75rem 0.9rem;
}
.player-facts dt {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 0.25rem;
}
.player-facts dd {
  margin: 0;
  font-weight: 600;
  color: var(--ink);
  font-size: 0.95rem;
}
.player-fact-note {
  display: block;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--muted);
  margin-top: 0.15rem;
}
.player-journey {
  color: var(--muted);
  line-height: 1.6;
  max-width: 42rem;
}
.player-stat-summary {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0 1.25rem;
}
.player-stat-pill {
  min-width: 72px;
  text-align: center;
  background: rgba(0,87,184,0.08);
  border: 1px solid rgba(0,87,184,0.18);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
}
.player-stat-pill strong {
  display: block;
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue);
  line-height: 1;
}
.player-stat-pill span {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted);
}
.player-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.player-stats-block {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem 0.85rem;
  box-shadow: var(--shadow);
}
.player-stats-block h3 {
  margin: 0 0 0.75rem;
  font-family: var(--display);
  font-size: 1.15rem;
  text-transform: uppercase;
  color: var(--ink);
}
.player-stats-block ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
.player-stats-block li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
}
.player-stats-block li:last-child { border-bottom: 0; }
.player-stats-block li span { color: var(--muted); }
.player-stats-block li strong { color: var(--ink); font-variant-numeric: tabular-nums; }
@media (max-width: 800px) {
  .player-profile,
  .player-facts,
  .player-stats-grid {
    grid-template-columns: 1fr;
  }
}

/* ── Pagination ── */
.pager-summary {
  margin: 0 0 1.25rem;
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 500;
}
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 0.85rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--line);
}
.pagination-pages {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}
.pagination-btn,
.pagination-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.4rem;
  padding: 0.45rem 0.95rem;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}
.pagination-num {
  min-width: 2.4rem;
  padding: 0.45rem 0.55rem;
}
.pagination-btn:hover,
.pagination-num:hover {
  border-color: var(--blue);
  color: var(--blue);
}
.pagination-num.is-active {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  pointer-events: none;
}
.pagination-btn.is-disabled {
  opacity: 0.4;
  pointer-events: none;
  cursor: default;
}
.pagination-ellipsis {
  color: var(--muted);
  padding: 0 0.2rem;
  font-weight: 600;
}

/* ── Tables ── */
.data-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.data-table th, .data-table td {
  padding: 0.95rem 1rem;
  text-align: left;
  border-bottom: 1px solid var(--line);
  font-size: 0.92rem;
}
.data-table tr:last-child td { border-bottom: 0; }
.data-table th {
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 700;
  background: var(--soft);
}
.data-table tr.is-us { background: rgba(0,87,184,0.08); }
.data-table tr.is-us td { font-weight: 700; color: var(--blue-dark); }
.data-table .num { text-align: center; width: 3rem; }

/* ── Squad ── */
.pos-title {
  font-family: var(--display);
  font-size: 1.25rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blue);
  margin: 2.25rem 0 1rem;
  letter-spacing: 0.04em;
}
.squad-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.player-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.player-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.player-card .photo {
  aspect-ratio: 1;
  background: linear-gradient(180deg, #1a2a4a, #0c1222);
  position: relative;
}
.player-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}
.player-card .num {
  position: absolute;
  left: 0.65rem;
  bottom: 0.35rem;
  font-family: var(--display);
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--tiger);
  line-height: 1;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.player-card .info { padding: 0.95rem 0.75rem 1.1rem; }
.player-card h3 {
  font-family: var(--display);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0 0 0.25rem;
  color: var(--ink);
}
.player-card span { font-size: 0.8rem; color: var(--muted); font-weight: 500; }

/* ── Page hero ── */
.page-hero {
  background: linear-gradient(120deg, var(--blue-dark) 0%, var(--blue) 55%, #1a6fd4 100%);
  padding: 3rem 0 2.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: "";
  position: absolute;
  right: -40px;
  top: -40px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--display);
  font-size: clamp(2.2rem, 5vw, 3.2rem);
  font-weight: 800;
  text-transform: uppercase;
  margin: 0 0 0.45rem;
  letter-spacing: 0.02em;
  color: #fff;
}
.page-hero p {
  margin: 0;
  color: rgba(255,255,255,0.85);
  max-width: 36rem;
  font-size: 1.02rem;
}
.page-hero .section-label { color: var(--tiger); }

/* ── Shop ── */
.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  height: 100%;
}
.product-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}
.product-card .img {
  aspect-ratio: 1 / 1.05;
  background: linear-gradient(165deg, #eef2f8 0%, #dce6f5 100%);
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card .img > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}
.product-card:hover .img > img { transform: scale(1.04); }

/* Branded kit mockups */
.kit-mock {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1rem 1rem;
}
.kit-shirt {
  position: relative;
  width: min(72%, 168px);
  aspect-ratio: 3 / 3.6;
  border-radius: 12px 12px 8px 8px;
  box-shadow:
    0 14px 28px rgba(12, 18, 34, 0.18),
    inset 0 1px 0 rgba(255,255,255,0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 18%;
  transition: transform 0.3s ease;
}
.product-card:hover .kit-shirt { transform: translateY(-4px) scale(1.02); }
.kit-collar {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 42%;
  height: 12%;
  background: inherit;
  border-radius: 0 0 40% 40%;
  filter: brightness(0.88);
  box-shadow: inset 0 -2px 0 rgba(0,0,0,0.08);
}
.kit-crest {
  width: 28%;
  height: auto;
  max-height: 22%;
  object-fit: contain;
  z-index: 1;
  margin-top: 4%;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}
.kit-sponsor {
  margin-top: 6%;
  font-family: var(--display);
  font-size: clamp(0.65rem, 2.2vw, 0.85rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.95;
}
.kit-number {
  margin-top: auto;
  margin-bottom: 4%;
  font-family: var(--display);
  font-size: clamp(2.4rem, 8vw, 3.2rem);
  font-weight: 800;
  line-height: 0.9;
  letter-spacing: -0.02em;
  opacity: 0.95;
}
.kit-name {
  margin-bottom: 12%;
  font-family: var(--display);
  font-size: clamp(0.55rem, 1.8vw, 0.7rem);
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  opacity: 0.85;
}
/* Kit colourways */
.kit-home .kit-shirt {
  background: linear-gradient(165deg, #1a6fd4 0%, #0057B8 45%, #003D82 100%);
  color: #fff;
}
.kit-away .kit-shirt {
  background: linear-gradient(165deg, #ffffff 0%, #f2f4f8 55%, #e4e8f0 100%);
  color: #0057B8;
  border: 1px solid rgba(0,87,184,0.12);
}
.kit-third .kit-shirt {
  background: linear-gradient(165deg, #ff9f2e 0%, #F18A1F 50%, #d9730f 100%);
  color: #111;
}
.kit-gk .kit-shirt {
  background: linear-gradient(165deg, #2d3448 0%, #1a2030 50%, #0c1222 100%);
  color: #F18A1F;
}
.kit-training .kit-shirt {
  background: linear-gradient(165deg, #0c1222 0%, #152038 100%);
  color: #fff;
}
.kit-kids .kit-shirt {
  background: linear-gradient(165deg, #1a6fd4 0%, #0057B8 100%);
  color: #fff;
}
.kit-scarf .kit-shirt,
.kit-cap .kit-shirt {
  width: min(78%, 180px);
  aspect-ratio: 1.4 / 1;
  border-radius: 10px;
  justify-content: center;
  padding-top: 0;
}
.kit-scarf .kit-shirt {
  background: repeating-linear-gradient(
    90deg,
    #0057B8 0 18px,
    #003D82 18px 36px,
    #F18A1F 36px 44px
  );
  color: #fff;
}
.kit-cap .kit-shirt {
  background: linear-gradient(165deg, #0057B8, #003D82);
  color: #fff;
  border-radius: 50% 50% 8px 8px / 60% 60% 8px 8px;
  aspect-ratio: 1.3 / 1;
}
.kit-scarf .kit-number,
.kit-cap .kit-number,
.kit-training .kit-number { display: none; }
.kit-scarf .kit-name,
.kit-cap .kit-name { margin-bottom: 0; margin-top: 0.5rem; }
.kit-scarf .kit-sponsor,
.kit-cap .kit-sponsor { margin-top: 0; }
.product-card .body {
  padding: 1.05rem 1.15rem 1.2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.product-card .cat {
  font-size: 0.68rem;
  color: var(--blue);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.product-card h3 {
  font-family: var(--display);
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  margin: 0;
  line-height: 1.12;
  color: var(--ink);
}
.product-card .desc {
  color: var(--muted);
  font-size: 0.84rem;
  margin: 0;
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.product-card .foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 0.5rem;
  margin-top: auto;
  padding-top: 0.85rem;
  flex-wrap: wrap;
}
.price { font-weight: 800; color: var(--ink); font-size: 1.08rem; }

/* ── Cart / forms ── */
.cart-layout, .checkout-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.95fr;
  gap: 1.5rem;
  align-items: start;
}
.cart-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cart-table th, .cart-table td {
  padding: 1rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.9rem;
  text-align: left;
  vertical-align: middle;
}
.cart-table th {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--muted);
  background: var(--soft);
}
.cart-product { display: flex; gap: 0.85rem; align-items: center; }
.cart-product img {
  width: 68px;
  height: 68px;
  object-fit: cover;
  border-radius: 8px;
}
.cart-kit {
  width: 68px;
  height: 68px;
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--soft);
}
.cart-kit .kit-mock { padding: 0.35rem; }
.cart-kit .kit-shirt { width: 70%; }
.cart-kit .kit-number { font-size: 1.1rem !important; margin-bottom: 2%; }
.cart-kit .kit-name { font-size: 0.4rem !important; margin-bottom: 8%; }
.cart-kit .kit-sponsor { font-size: 0.4rem !important; }
.cart-qty {
  width: 3.6rem;
  text-align: center;
  padding: 0.45rem;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--text);
}
.summary {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  position: sticky;
  top: 96px;
  box-shadow: var(--shadow);
}
.summary h3 {
  font-family: var(--display);
  font-size: 1.45rem;
  text-transform: uppercase;
  margin: 0 0 1rem;
  color: var(--ink);
}
.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.55rem;
  color: var(--muted);
  font-size: 0.92rem;
}
.summary-row.total {
  color: var(--ink);
  font-weight: 800;
  font-size: 1.15rem;
  margin-top: 0.85rem;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}
.form { display: grid; gap: 1rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
label {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.4rem;
}
input, select, textarea {
  width: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  padding: 0.8rem 1rem;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s, box-shadow 0.15s;
}
input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0,87,184,0.12);
}
textarea { min-height: 120px; resize: vertical; }
.alert {
  padding: 0.95rem 1.1rem;
  margin-bottom: 1.15rem;
  border-radius: 10px;
  border: 1px solid var(--line);
  font-size: 0.92rem;
}
.alert-ok {
  background: rgba(0,87,184,0.08);
  border-color: rgba(0,87,184,0.25);
  color: var(--blue-dark);
}
.alert-err {
  background: rgba(180,40,40,0.08);
  border-color: rgba(180,40,40,0.25);
  color: #8b1e1e;
}
.filters { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1.75rem; }
.filter-btn {
  padding: 0.5rem 1rem;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  font-family: inherit;
  border-radius: 999px;
  transition: 0.15s;
}
.filter-btn.is-active, .filter-btn:hover {
  border-color: var(--blue);
  color: #fff;
  background: var(--blue);
}

/* ── Gallery ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
}
.gallery-grid a {
  aspect-ratio: 4/3;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}
.gallery-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s;
}
.gallery-grid a:hover img { transform: scale(1.05); }

/* ── Tickets ── */
.ticket-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.15rem;
}
.ticket-card {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.ticket-card h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
  color: var(--ink);
}
.ticket-card p { color: var(--muted); font-size: 0.92rem; margin: 0 0 1rem; }
.ticket-card .price {
  font-size: 1.35rem;
  margin-bottom: 1.1rem;
  display: block;
}

/* ── Footer ── */
.site-footer {
  background: var(--ink);
  color: rgba(255,255,255,0.8);
  padding: 3.5rem 0 1.35rem;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2.25rem;
}
.footer-grid-5 {
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1.15fr;
}
.footer-social-col {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.footer-social-link {
  display: flex !important;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.4rem !important;
  padding: 0;
  color: rgba(255,255,255,0.6) !important;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.15s;
}
.footer-social-link:hover {
  color: #fff !important;
  transform: none;
}
.footer-social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 0;
  background: transparent;
  color: inherit;
  flex-shrink: 0;
}
.footer-social-icon svg {
  width: 14px;
  height: 14px;
}
.footer-social-link:hover .footer-social-icon {
  background: transparent;
  color: inherit;
}
.footer-social-link.social-whatsapp:hover .footer-social-icon,
.footer-social-link.social-instagram:hover .footer-social-icon,
.footer-social-link.social-youtube:hover .footer-social-icon,
.footer-social-link.social-tiktok:hover .footer-social-icon,
.footer-social-link.social-twitter:hover .footer-social-icon,
.footer-social-link.social-facebook:hover .footer-social-icon {
  background: transparent;
  border: none;
}
.footer-social-name {
  font-size: 0.9rem;
  font-weight: 400;
}
.footer-logo {
  width: 80px;
  height: auto;
  margin-bottom: 0.85rem;
  filter: drop-shadow(0 4px 12px rgba(0,0,0,0.35));
}
.footer-brand {
  font-family: var(--display);
  font-size: 1.65rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: 0.02em;
}
.footer-tag {
  color: rgba(255,255,255,0.55);
  font-size: 0.9rem;
  margin: 0.5rem 0 0;
  line-height: 1.5;
}
.footer-grid h4 {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tiger);
  margin: 0 0 0.85rem;
  font-weight: 700;
}
.footer-grid a {
  display: block;
  color: rgba(255,255,255,0.6);
  font-size: 0.9rem;
  margin-bottom: 0.45rem;
  transition: color 0.15s;
}
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}

.article { max-width: 720px; }
.article .lead { font-size: 1.15rem; color: var(--muted); line-height: 1.55; }
.article .body { white-space: pre-wrap; line-height: 1.75; color: var(--text); }
.prose p { color: var(--muted); }

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.85rem;
  margin-top: 1.75rem;
}
.stat-box {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.15rem 0.75rem;
  text-align: center;
}
.stat-box strong {
  display: block;
  font-family: var(--display);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--blue);
}
.stat-box span {
  font-size: 0.72rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
}

.success-box { text-align: center; max-width: 480px; margin: 0 auto; padding: 3rem 0; }
.success-box h1 {
  font-family: var(--display);
  font-size: 2.6rem;
  text-transform: uppercase;
  margin: 0 0 0.75rem;
  color: var(--ink);
}
.ref {
  font-family: ui-monospace, monospace;
  color: var(--blue);
  word-break: break-all;
  background: var(--soft);
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  display: inline-block;
}

/* ── About Us ── */
.about-jump {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0.85rem;
}
.about-jump-home {
  margin-top: 0;
  grid-template-columns: repeat(4, 1fr);
}
.about-jump-card {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1.1rem 1rem;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  transition: border-color 0.15s, transform 0.15s, box-shadow 0.15s;
}
.about-jump-card:hover {
  border-color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}
.about-jump-icon {
  font-size: 1.35rem;
  line-height: 1;
  flex-shrink: 0;
}
.about-jump-text {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
}
.about-jump-text strong {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}
.about-jump-text small {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 500;
  line-height: 1.3;
}
.about-split {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}
.about-crest-panel {
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow);
  min-height: 280px;
}
.about-crest-panel img {
  width: min(100%, 220px);
  height: auto;
  filter: drop-shadow(0 8px 20px rgba(0,0,0,0.12));
}
.timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.timeline-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.15rem 1.1rem;
  border-top: 3px solid var(--blue);
  box-shadow: var(--shadow);
}
.timeline-year {
  font-family: var(--display);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
}
.timeline-text {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.45;
}
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
  margin-bottom: 1.5rem;
}
.mv-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem 1.4rem;
  box-shadow: var(--shadow);
}
.mv-card h3 {
  font-family: var(--display);
  font-size: 1.4rem;
  text-transform: uppercase;
  margin: 0 0 0.65rem;
  color: var(--ink);
}
.mv-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}
.mv-mission { border-top: 3px solid var(--blue); }
.mv-vision { border-top: 3px solid var(--tiger); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.9rem;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.15rem 1.1rem;
}
.value-card h4 {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue);
}
.value-card p {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.5;
}
.leaders-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.35rem;
}
.leader-card {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
  scroll-margin-top: 100px;
}
.leader-photo {
  background: var(--soft);
  min-height: 220px;
}
.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.leader-body {
  padding: 1.35rem 1.35rem 1.4rem;
}
.leader-body h3 {
  font-family: var(--display);
  font-size: 1.6rem;
  text-transform: uppercase;
  margin: 0.2rem 0 0.25rem;
  color: var(--ink);
  line-height: 1.1;
}
.leader-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--blue);
  margin: 0 0 0.75rem !important;
}
.leader-bio {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.55;
  margin: 0 0 0.85rem !important;
}
.leader-focus {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}
.leader-focus li {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.3rem 0.55rem;
  border-radius: 999px;
  background: rgba(0,87,184,0.08);
  color: var(--blue);
}
.about-note {
  margin: 1.5rem 0 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.about-note code {
  font-size: 0.78rem;
  background: var(--soft);
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
}
.org-chart {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.org-level {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.1rem;
  width: 100%;
}
.org-connector {
  width: 2px;
  height: 28px;
  background: var(--line);
  margin: 0.15rem 0;
}
.org-node {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 1.35rem 1.4rem;
  min-width: 200px;
  max-width: 260px;
  text-align: center;
  box-shadow: var(--shadow);
}
.org-node strong,
.org-node-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
  margin-bottom: 0.3rem;
}
.org-node span,
.org-node-role,
.org-node-sub {
  display: block;
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.35;
}
.org-node-role {
  font-weight: 600;
  color: var(--blue);
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
}
.org-node-person {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.5rem 1.35rem 1.45rem;
  min-width: 210px;
  max-width: 270px;
}
.org-node-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 0.85rem;
  border: 3px solid rgba(0,87,184,0.22);
}
.org-node-avatar {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  background: rgba(0,87,184,0.1);
  color: var(--blue);
  font-weight: 800;
  font-size: 1.75rem;
  font-family: var(--display);
}
.org-node-top {
  border-top: 4px solid var(--tiger);
  min-width: 240px;
  max-width: 300px;
}
.org-node-key {
  border-top: 4px solid var(--blue);
  min-width: 230px;
}

#history, #mission, #leadership, #organogram,
#chairman, #sporting-director,
#about, #home-history, #home-mission, #home-leadership,
#home-chairman, #home-sporting-director, #home-players, #home-organogram {
  scroll-margin-top: 96px;
}

/* Player cards on dark sections */
.section-dark .player-card {
  background: var(--white);
}
.section-dark .player-card h3 {
  color: var(--ink);
}

/* Home About Us placement */
.about-home-intro {
  color: var(--muted);
  max-width: 40rem;
  margin: 0 0 1.5rem;
  font-size: 1.02rem;
  line-height: 1.55;
}

/* Sponsors strip */
.sponsor-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: 0;
  background: var(--soft);
}
.sponsor-strip span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

/* Legacy class hooks */
.section-green { background: linear-gradient(135deg, var(--blue-dark), var(--blue)); color: #fff; }
.section-green .section-title { color: #fff; }
.match-strip {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1rem;
  box-shadow: var(--shadow);
}
.match-team {
  font-family: var(--display);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--ink);
}
.match-team.right { text-align: right; }
.match-vs { text-align: center; min-width: 110px; }
.match-vs .comp {
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 700;
}
.match-vs .when { font-size: 0.9rem; color: var(--muted); margin-top: 0.25rem; }
.match-vs .score {
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue);
}

@media (max-width: 1100px) {
  .footer-grid-5 { grid-template-columns: 1fr 1fr 1fr; }
}
@media (max-width: 1040px) {
  .grid-3, .product-grid, .squad-grid, .ticket-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid-home { grid-template-columns: repeat(3, 1fr); }
  .footer-grid, .footer-grid-5 { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 1.5rem; }
  .hero-crest { width: 110px; }
  .about-jump { grid-template-columns: repeat(3, 1fr); }
  .about-split, .leaders-grid, .mv-grid { grid-template-columns: 1fr; }
  .leader-card { grid-template-columns: 1fr; }
  .leader-photo { min-height: 200px; max-height: 240px; }
  .timeline { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 800px) {
  .about-jump { grid-template-columns: 1fr; }
  .news-grid-home { grid-template-columns: repeat(2, 1fr); }
  .timeline, .values-grid { grid-template-columns: 1fr; }
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    padding: 0.5rem 1rem 1rem;
    gap: 0;
    box-shadow: var(--shadow-lg);
  }
  .site-nav.is-open { display: flex; }
  .site-nav a {
    padding: 0.85rem 0.5rem;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
  }
  .nav-cta { text-align: center; margin: 0.65rem 0 0; }
  .match-row,
  .grid-3, .grid-2, .product-grid, .squad-grid, .ticket-grid, .gallery-grid,
  .cart-layout, .checkout-grid, .form-row, .footer-grid, .stats-row {
    grid-template-columns: 1fr;
  }
  .summary { position: static; }
  .match-strip { grid-template-columns: 1fr; text-align: center; }
  .match-team.right { text-align: center; }
}
