/* =========================================================
   NCCA — National College Cricket Association
   Implements the NCCA Design System (claude.ai/design project
   "NCCA_Design_system"): tokens, type, components, and rules.
   ========================================================= */

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

/* ---------------- Tokens (verbatim from design system) ---------------- */
:root {
  --ncca-navy: #0E2240;
  --ncca-navy-deep: #081729;
  --ncca-crimson: #C8102E;
  --ncca-crimson-dark: #A00D25;
  --ncca-gold: #F2B705;
  --pitch-green: #1E7A46;
  --loss-red: #B3261E;
  --warn-amber: #B96A00;
  --info-blue: #1B5FA8;
  --ink: #14181F;
  --ink-soft: #4A5261;
  --line: #D9DEE6;
  --surface: #FFFFFF;
  --surface-alt: #F2F4F8;

  --s-1: 8px; --s-2: 16px; --s-3: 24px; --s-4: 32px; --s-6: 48px; --s-8: 64px;
  --radius: 6px;
  --radius-lg: 10px;

  --font-display: 'Barlow Condensed', sans-serif;
  --font-body: 'Barlow', sans-serif;
}

/* ---------------- Base ---------------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--surface-alt);
  line-height: 1.55;
  font-size: 16px;
}

img, svg { max-width: 100%; }

a { color: var(--info-blue); text-decoration: none; }
a:hover { color: var(--ncca-navy); }
a:focus-visible, button:focus-visible, select:focus-visible {
  outline: 3px solid var(--info-blue);
  outline-offset: 2px;
}

h1, h2, h3, h4, .h1, .h2, .h3, .h4 {
  font-family: var(--font-display);
  text-transform: uppercase;
  line-height: 1.05;
  color: var(--ncca-navy);
}
h1, .h1 { font-size: clamp(40px, 5vw, 60px); font-weight: 800; letter-spacing: .01em; }
h2, .h2 { font-size: clamp(30px, 4vw, 42px); font-weight: 700; letter-spacing: .015em; }
h3, .h3 { font-size: 26px; font-weight: 700; letter-spacing: .02em; }
h4, .h4 { font-size: 20px; font-weight: 700; letter-spacing: .03em; }
.h5 { font-family: var(--font-body); font-size: 16px; font-weight: 700; text-transform: none; }
.h6 {
  font-family: var(--font-body);
  font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--ink-soft);
}
.body-lg { font-size: 18px; }
.caption { font-size: 13px; color: var(--ink-soft); }
.stat-num { font-family: var(--font-display); font-weight: 700; font-variant-numeric: tabular-nums; }

.wrap, .container { max-width: 1100px; margin: 0 auto; padding: 0 var(--s-3); }

section, .section { padding: var(--s-6) 0; border-bottom: 1px solid var(--line); }
.section-note { color: var(--ink-soft); margin-bottom: var(--s-4); max-width: 680px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: var(--s-2); margin-bottom: var(--s-3); flex-wrap: wrap; }
.section-head .more { font-weight: 600; font-size: 14px; white-space: nowrap; }

.eyebrow {
  display: block;
  font-size: 13px; font-weight: 700;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: var(--s-1);
}
.on-navy .eyebrow, .eyebrow.on-navy { color: var(--ncca-gold); }

/* Stumps brand motif */
.stumps { display: inline-flex; gap: 6px; margin-bottom: var(--s-2); }
.stumps span { width: 8px; height: 44px; border-radius: 3px; background: var(--ncca-gold); }
.stumps span:nth-child(2) { background: var(--ncca-crimson); }
.stumps span:nth-child(3) { background: #fff; }
.mini-stumps { display: inline-flex; gap: 4px; }
.mini-stumps span { width: 5px; height: 26px; border-radius: 2px; background: var(--ncca-gold); }
.mini-stumps span:nth-child(2) { background: var(--ncca-crimson); }
.mini-stumps span:nth-child(3) { background: #fff; }

/* ---------------- Top bar + nav ---------------- */
.topbar {
  background: var(--ncca-navy-deep);
  color: #B9C4D6;
  font-size: 13px;
  padding: 6px 0;
}
.topbar .wrap { display: flex; justify-content: space-between; gap: var(--s-2); }
.topbar a { color: #fff; text-decoration: underline; }
.topbar a:hover { color: var(--ncca-gold); }

.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--ncca-navy);
  border-bottom: 1px solid var(--ncca-navy-deep);
}
.nav .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 64px; }
.brand { display: flex; align-items: center; gap: 12px; color: #fff; }
.brand:hover { color: #fff; }
.brand .mini-stumps { margin-top: 2px; }
.brand-text { line-height: 1.05; }
.brand-text .b1 {
  font-family: var(--font-display);
  font-weight: 800; font-size: 24px;
  letter-spacing: .05em; text-transform: uppercase;
}
.brand-text .b2 { font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: #B9C4D6; font-weight: 600; }

.nav-links { display: flex; gap: 2px; list-style: none; }
.nav-links a {
  display: block;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 700;
  font-size: 17px;
  padding: 20px 14px 17px;
  color: #B9C4D6;
  border-bottom: 3px solid transparent;
  transition: color .15s ease;
}
.nav-links a:hover { color: #fff; }
.nav-links a.active { color: #fff; border-bottom-color: var(--ncca-crimson); }

.nav-toggle {
  display: none;
  background: none; border: 0; cursor: pointer;
  width: 44px; height: 44px;
  color: #fff;
}
.nav-toggle svg { width: 26px; height: 26px; margin: auto; display: block; }

@media (max-width: 900px) {
  .topbar .wrap span:last-child { display: none; }
  .nav-toggle { display: grid; place-items: center; }
  .nav-links {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    background: var(--ncca-navy);
    padding: var(--s-1) var(--s-3) var(--s-2);
    display: none;
    border-bottom: 1px solid var(--ncca-navy-deep);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 12px 8px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
  .nav-links a.active { border-bottom: 1px solid rgba(255, 255, 255, .08); box-shadow: inset 3px 0 0 var(--ncca-crimson); }
}

/* ---------------- Hero ---------------- */
header.hero {
  background: var(--ncca-navy);
  color: #fff;
  padding: var(--s-8) 0 var(--s-6);
  border-bottom: none;
}
header.hero h1, header.hero .h1, header.hero .h2 { color: #fff; }
header.hero .gold { color: var(--ncca-gold); }
.hero-sub { color: #B9C4D6; max-width: 640px; margin-top: var(--s-2); font-size: 18px; }
.hero .btn-row { margin-top: var(--s-3); }

.page-hero {
  background: var(--ncca-navy);
  color: #fff;
  padding: var(--s-6) 0;
  border-bottom: none;
}
.page-hero h1 { color: #fff; }
.page-hero p { color: #B9C4D6; max-width: 640px; margin-top: var(--s-2); font-size: 18px; }

.detail-hero {
  background: var(--ncca-navy);
  color: #fff;
  padding: var(--s-6) 0;
}
.detail-hero .wrap-flex { display: flex; gap: var(--s-3); align-items: center; flex-wrap: wrap; }
.detail-hero h1 { color: #fff; }
.detail-hero .meta { color: #B9C4D6; font-size: 16px; margin-top: var(--s-1); font-variant-numeric: tabular-nums; }
.detail-hero .meta strong { color: #fff; font-weight: 600; }
.detail-hero .actions { margin-left: auto; display: flex; gap: var(--s-2); flex-wrap: wrap; }
@media (max-width: 700px) { .detail-hero .actions { margin-left: 0; } }
.crumb { font-size: 13px; color: #B9C4D6; margin-bottom: var(--s-2); }
.crumb a { color: #fff; }
.crumb a:hover { color: var(--ncca-gold); }

/* ---------------- Buttons ---------------- */
.btn {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 700;
  font-size: 17px;
  border: none;
  border-radius: var(--radius);
  padding: 12px 26px;
  cursor: pointer;
  transition: all .15s ease;
  display: inline-block;
}
.btn:focus-visible { outline: 3px solid var(--info-blue); outline-offset: 2px; }
.btn-primary { background: var(--ncca-crimson); color: #fff; }
.btn-primary:hover { background: var(--ncca-crimson-dark); color: #fff; }
.btn-secondary { background: var(--ncca-navy); color: #fff; }
.btn-secondary:hover { background: var(--ncca-navy-deep); color: #fff; }
.btn-ghost { background: transparent; color: var(--ncca-navy); box-shadow: inset 0 0 0 2px var(--ncca-navy); }
.btn-ghost:hover { background: var(--ncca-navy); color: #fff; }
.on-navy .btn-ghost, header.hero .btn-ghost, .detail-hero .btn-ghost, .page-hero .btn-ghost { color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.on-navy .btn-ghost:hover, header.hero .btn-ghost:hover, .detail-hero .btn-ghost:hover, .page-hero .btn-ghost:hover { background: #fff; color: var(--ncca-navy); }
.btn-row { display: flex; gap: var(--s-2); flex-wrap: wrap; align-items: center; }
.btn-sm { font-size: 15px; padding: 8px 16px; }

/* External scorecard links — icon + label, visually distinct from internal links.
   (No icon set ships with the design system; a Lucide-style external-link SVG is used.) */
.ext-link {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 700;
  font-size: 15px;
  color: var(--ncca-navy);
  box-shadow: inset 0 0 0 2px var(--ncca-navy);
  border-radius: var(--radius);
  padding: 7px 14px;
  white-space: nowrap;
  transition: all .15s ease;
}
.ext-link:hover { background: var(--ncca-navy); color: #fff; }
.ext-link svg { width: 14px; height: 14px; flex: 0 0 auto; }
.ext-link.small { font-size: 14px; padding: 5px 10px; }

/* ---------------- Badges ---------------- */
.badge {
  font-family: var(--font-display);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: .06em;
  font-size: 14px;
  padding: 4px 12px;
  border-radius: 999px;
  display: inline-flex; align-items: center; gap: 7px;
}
.badge-live { background: var(--ncca-crimson); color: #fff; }
.badge-live .dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; animation: pulse 1.2s infinite; }
@keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: .35; } }
@media (prefers-reduced-motion: reduce) { .badge-live .dot { animation: none; } }
.badge-upcoming { background: #E4E9F1; color: var(--ncca-navy); }
.badge-completed { background: var(--pitch-green); color: #fff; }
.badge-win { background: #E2F2E8; color: var(--pitch-green); }
.badge-loss { background: #F9E6E4; color: var(--loss-red); }
.badge-gold { background: var(--ncca-gold); color: var(--ncca-navy); }

/* ---------------- Cards & grids ---------------- */
.grid { display: grid; gap: var(--s-3); }
.g2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.g3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.g4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: var(--s-3);
}
a.card { color: var(--ink); display: block; transition: border-color .15s ease; }
a.card:hover { border-color: var(--ncca-navy); color: var(--ink); }
.card.flush { padding: 0; overflow: hidden; }

.stat-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--ncca-crimson);
  border-radius: var(--radius-lg);
  padding: var(--s-3);
}
.stat-card .stat-num { font-size: 48px; color: var(--ncca-navy); line-height: 1; }
.stat-card .h6 { margin-bottom: var(--s-1); }
.stat-card .caption { margin-top: 4px; }

.team-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: 0;
}
a.team-card { display: block; color: var(--ink); transition: border-color .15s ease; }
a.team-card:hover { border-color: var(--ncca-navy); color: var(--ink); }
.team-card .band { height: 64px; background: var(--ncca-navy); display: flex; align-items: center; justify-content: space-between; padding: 0 var(--s-3); }
.team-card .band .code { font-family: var(--font-display); font-weight: 800; font-size: 22px; letter-spacing: .06em; color: #fff; text-transform: uppercase; }
.team-card .tc-body { padding: var(--s-3); }
.team-card .tc-body .h4 { margin-bottom: 4px; }
.team-card .tc-stats { display: flex; gap: var(--s-3); margin-top: var(--s-2); }
.team-card .tc-stats div span { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); font-weight: 600; }
.team-card .tc-stats div b { font-family: var(--font-display); font-size: 24px; font-variant-numeric: tabular-nums; color: var(--ncca-navy); }

/* Team text mark (no team logos exist — type-based mark per system rules) */
.team-mark {
  flex: 0 0 auto;
  min-width: 44px; height: 44px;
  padding: 0 8px;
  border-radius: var(--radius);
  background: var(--ncca-navy);
  color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-weight: 800; font-size: 16px; letter-spacing: .05em;
  text-transform: uppercase;
}
.team-mark.lg { min-width: 88px; height: 88px; font-size: 32px; border-radius: var(--radius-lg); background: var(--ncca-navy-deep); }
.team-mark.sm { min-width: 36px; height: 30px; font-size: 13px; }

/* Real club logos render on a white chip so navy surfaces stay clean */
.team-mark.logo { background: #fff; border: 1px solid var(--line); padding: 3px; }
.team-mark.logo img { width: 100%; height: 100%; max-height: 36px; object-fit: contain; display: block; }
.team-card .team-mark { min-width: 56px; height: 56px; }
.team-card .team-mark.logo img { max-height: 48px; }
.team-mark.logo.sm img { max-height: 24px; }
.team-mark.logo.lg { padding: 8px; }
.team-mark.logo.lg img { max-height: 72px; }

.brand-logo {
  flex: 0 0 auto;
  width: 64px; height: 40px;
  background: #fff;
  border-radius: var(--radius);
  display: grid; place-items: center;
  padding: 3px;
}
.brand-logo img { max-width: 100%; max-height: 100%; object-fit: contain; display: block; }

/* ---------------- Results strip (static, user-scrollable) ---------------- */
.ticker { background: var(--ncca-crimson); color: #fff; }
.ticker-inner { display: flex; align-items: stretch; }
.ticker-label {
  flex: 0 0 auto;
  display: flex; align-items: center;
  background: var(--ncca-navy-deep);
  color: #fff;
  font-family: var(--font-display);
  font-size: 15px; font-weight: 700;
  letter-spacing: .06em; text-transform: uppercase;
  padding: 8px 16px;
}
.ticker-track { flex: 1; overflow-x: auto; white-space: nowrap; scrollbar-width: thin; }
.ticker-items { display: inline-flex; align-items: center; padding: 8px 16px; gap: var(--s-4); }
.ticker-items span { font-size: 14px; font-weight: 600; }
.ticker-items span::before { content: ""; display: inline-block; width: 6px; height: 6px; border-radius: 50%; background: var(--ncca-gold); margin-right: 10px; vertical-align: middle; }

/* ---------------- Tables ---------------- */
.tbl-wrap, .table-wrap {
  overflow-x: auto;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  -webkit-overflow-scrolling: touch;
}
table { width: 100%; border-collapse: collapse; min-width: 560px; }
th {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 700;
  font-size: 15px;
  background: var(--ncca-navy);
  color: #fff;
  padding: 12px 16px;
  text-align: left;
  white-space: nowrap;
}
td { padding: 11px 16px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; font-size: 15px; }
tbody tr:nth-child(even) td { background: var(--surface-alt); }
tbody tr:last-child td { border-bottom: none; }
td.num, th.num { text-align: right; }
td b { font-weight: 600; }
.table-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 700;
  font-size: 16px;
  background: var(--ncca-navy-deep);
  color: #fff;
  padding: 10px 16px;
}

/* Sortable headers */
th.sortable { cursor: pointer; user-select: none; transition: background .15s ease; }
th.sortable:hover { background: var(--ncca-navy-deep); }
th.sortable::after { content: "↕"; opacity: .45; margin-left: 6px; font-size: 12px; }
th.sortable.sort-asc::after { content: "↑"; opacity: 1; color: var(--ncca-gold); }
th.sortable.sort-desc::after { content: "↓"; opacity: 1; color: var(--ncca-gold); }

.player-cell { display: flex; align-items: center; gap: 10px; font-weight: 600; white-space: nowrap; }
.team-chip {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 13px; font-weight: 700;
  letter-spacing: .05em;
  background: var(--ncca-navy);
  color: #fff;
  border-radius: 4px;
  padding: 2px 7px;
}
tr.qualified td:first-child { box-shadow: inset 3px 0 0 var(--pitch-green); }

.table-note {
  display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap;
  font-size: 13px; color: var(--ink-soft);
  margin-top: var(--s-2);
}

/* ---------------- Tabs ---------------- */
.tabs { display: flex; gap: 2px; border-bottom: 2px solid var(--line); flex-wrap: wrap; margin-bottom: var(--s-3); }
.tab {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .05em;
  font-weight: 700;
  font-size: 16px;
  padding: 10px 20px;
  color: var(--ink-soft);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: color .15s ease;
}
.tab.active { color: var(--ncca-crimson); border-bottom-color: var(--ncca-crimson); }
.tab:hover { color: var(--ncca-navy); }

.filter-row { display: flex; align-items: center; gap: var(--s-2); flex-wrap: wrap; margin-bottom: var(--s-3); }
.filter-row label { font-weight: 600; font-size: 14px; }
select.filter {
  font-family: var(--font-body);
  font-size: 16px;
  padding: 11px 38px 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: #fff url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%230E2240' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center;
  color: var(--ink);
  appearance: none;
  cursor: pointer;
}
select.filter:focus { outline: none; border-color: var(--info-blue); box-shadow: 0 0 0 3px rgba(27, 95, 168, .18); }

/* ---------------- Match rows / fixtures ---------------- */
.match-list { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.match-row {
  display: grid;
  grid-template-columns: 110px 1fr auto;
  gap: var(--s-2);
  align-items: center;
  padding: 14px var(--s-2);
  border-top: 1px solid var(--line);
}
.match-row:first-child { border-top: 0; }
.match-row:nth-child(even) { background: var(--surface-alt); }
.match-row .m-date { font-size: 13px; font-weight: 600; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.match-row .m-stage {
  font-family: var(--font-display);
  font-size: 14px; font-weight: 700;
  letter-spacing: .05em; text-transform: uppercase;
  color: var(--ncca-crimson);
}
.match-row .m-teams { font-weight: 700; font-size: 16px; }
.match-row .m-teams .vs { color: var(--ink-soft); font-weight: 400; font-size: 13px; padding: 0 5px; }
.match-row .m-score { font-size: 13px; color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.match-row .m-result { font-size: 14px; font-weight: 600; color: var(--pitch-green); }
.match-row .m-result.upcoming { color: var(--ink-soft); }
@media (max-width: 640px) {
  .match-row { grid-template-columns: 1fr; gap: 4px; }
  .match-row .m-ext { justify-self: start; margin-top: 4px; }
}

.match-group-title {
  font-family: var(--font-display);
  text-transform: uppercase;
  letter-spacing: .02em;
  font-weight: 700;
  font-size: 20px;
  color: var(--ncca-navy);
  margin: var(--s-4) 0 var(--s-2);
  padding-bottom: var(--s-1);
  border-bottom: 2px solid var(--line);
  display: flex; justify-content: space-between; align-items: baseline; gap: var(--s-2); flex-wrap: wrap;
}
.match-group-title .sub { font-family: var(--font-body); font-size: 13px; color: var(--ink-soft); font-weight: 600; text-transform: none; letter-spacing: 0; }

/* ---------------- Stat strip (detail pages) ---------------- */
.stat-strip { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: var(--s-3); }

/* ---------------- Forms & fields ---------------- */
.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--s-2); }
.field label { font-weight: 600; font-size: 14px; }
.field input, .field select {
  font-family: var(--font-body);
  font-size: 16px;
  padding: 11px 14px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
}
.field input:focus, .field select:focus { outline: none; border-color: var(--info-blue); box-shadow: 0 0 0 3px rgba(27, 95, 168, .18); }

.form-card { display: flex; flex-direction: column; gap: var(--s-1); }
.form-card p { font-size: 15px; color: var(--ink-soft); flex: 1; }
.form-card .deadline { font-size: 13px; font-weight: 700; color: var(--warn-amber); text-transform: uppercase; letter-spacing: .06em; }
.form-card .btn { align-self: flex-start; margin-top: var(--s-1); }

/* ---------------- Role chips (roster) ---------------- */
.role-chip {
  display: inline-block;
  font-family: var(--font-display);
  text-transform: uppercase;
  font-size: 14px; font-weight: 700;
  letter-spacing: .05em;
  padding: 3px 12px;
  border-radius: 999px;
  background: #E4E9F1;
  color: var(--ncca-navy);
}

/* ---------------- Info lists / notices ---------------- */
.info-list { list-style: none; }
.info-list li { padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 15px; display: flex; gap: var(--s-2); }
.info-list li:last-child { border-bottom: none; }
.info-list li strong { min-width: 140px; color: var(--ncca-navy); font-weight: 600; }

.notice {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--info-blue);
  border-radius: var(--radius-lg);
  padding: var(--s-2) var(--s-3);
  font-size: 15px;
}

.gov-card .gov-role {
  font-family: var(--font-display);
  color: var(--ncca-crimson);
  font-size: 15px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .05em;
}
.gov-card h3 { font-size: 20px; margin: 4px 0; }
.gov-card p { font-size: 14px; color: var(--ink-soft); margin-top: 4px; }

/* ---------------- Banner (upcoming tournament) ---------------- */
.banner-upcoming {
  background: var(--ncca-navy);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: var(--s-3);
  display: flex;
  align-items: center;
  gap: var(--s-3);
  flex-wrap: wrap;
}
.banner-upcoming .b-info { flex: 1; min-width: 260px; }
.banner-upcoming h3 { color: #fff; margin: var(--s-1) 0 4px; }
.banner-upcoming p { color: #B9C4D6; font-size: 15px; font-variant-numeric: tabular-nums; }
.countdown { display: flex; gap: var(--s-1); }
.countdown .cd {
  background: var(--ncca-navy-deep);
  border-radius: var(--radius);
  min-width: 64px;
  padding: 10px 8px;
  text-align: center;
}
.countdown .cd .n { font-family: var(--font-display); font-size: 28px; font-weight: 700; color: #fff; line-height: 1; font-variant-numeric: tabular-nums; }
.countdown .cd .l { font-size: 11px; text-transform: uppercase; letter-spacing: .08em; color: #B9C4D6; font-weight: 600; margin-top: 4px; }

/* ---------------- Footer ---------------- */
footer.footer {
  background: var(--ncca-navy-deep);
  color: #B9C4D6;
  padding: var(--s-6) 0 var(--s-3);
  font-size: 14px;
}
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: var(--s-4); margin-bottom: var(--s-4); }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: var(--s-2); }
.footer ul { list-style: none; }
.footer li { margin-bottom: 8px; }
.footer a { color: #B9C4D6; }
.footer a:hover { color: #fff; }
.footer .fine { border-top: 1px solid rgba(255, 255, 255, .12); padding-top: var(--s-2); font-size: 13px; display: flex; justify-content: space-between; gap: var(--s-2); flex-wrap: wrap; }

/* Utility */
.mt-1 { margin-top: var(--s-1); } .mt-2 { margin-top: var(--s-2); } .mt-3 { margin-top: var(--s-3); } .mt-4 { margin-top: var(--s-4); }
.muted { color: var(--ink-soft); }
.center { text-align: center; }
