/* Ards Rangers FC website: "Matchday" design.
 * Bold, poster-like, built from the club's own match graphics: navy and sky
 * blue blocks, hooped-sock stripes, Scrabo Tower on the skyline and the
 * crest's gold as the accent. Big Shoulders Display for headings, Barlow for
 * text, both self-hosted (no third-party requests).
 */

@font-face { font-family: "Big Shoulders Display"; font-weight: 700 900; font-display: swap;
  src: url("fonts/big-shoulders-display.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 400; font-display: swap; src: url("fonts/barlow-400.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 500; font-display: swap; src: url("fonts/barlow-500.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 600; font-display: swap; src: url("fonts/barlow-600.woff2") format("woff2"); }
@font-face { font-family: "Barlow"; font-weight: 700; font-display: swap; src: url("fonts/barlow-700.woff2") format("woff2"); }

:root {
  --navy: #0b1f45;
  --deep: #071634;
  --panel: #0f2a5c;
  --panel-line: #34507f;
  --sky: #7fc4ee;
  --sky-hover: #a3d5f3;
  --gold: #c9a227;
  --light: #f2f5f9;
  --line: #d3dbe6;
  --ink: #0b1f45;
  --muted: #5b6b82;
  --on-dark: #b8c7e0;
  --on-dark-2: #8fa3c4;
  --link: #1f5fbf;
  --display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --body: "Barlow", "Helvetica Neue", Arial, sans-serif;
  --gutter: 56px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; font-family: var(--body); font-size: 17px; line-height: 1.5; color: var(--ink);
  background: #fff; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; }
a { color: var(--link); }
h1, h2, h3 { margin: 0; font-family: var(--display); font-weight: 900; line-height: 0.95; text-transform: uppercase; }
p { margin: 0; }
.wrap { max-width: 1440px; margin: 0 auto; padding-inline: var(--gutter); }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 12px; z-index: 20; }
.skip:focus { left: 8px; }
.muted { color: var(--muted); }
.muted-light { color: var(--on-dark-2); }
.gold { color: var(--gold); }

.kicker { display: block; font-weight: 700; font-size: 14px; letter-spacing: 0.24em; text-transform: uppercase; color: var(--sky); }
.kicker-gold { color: var(--gold); }
.kicker-navy { color: var(--navy); }
.kicker-muted { color: var(--muted); }

.btn { display: inline-block; font-weight: 700; font-size: 16px; letter-spacing: 0.08em; text-transform: uppercase;
  text-decoration: none; padding: 16px 26px; border: 2px solid transparent; }
.btn-gold { background: var(--gold); color: var(--navy); }
.btn-gold:hover { background: #d9b43a; }
.btn-outline { border-color: rgba(255, 255, 255, 0.6); color: #fff; }
.btn-outline:hover { background: rgba(255, 255, 255, 0.1); }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--panel); }

/* --- masthead ---------------------------------------------------------------- */

.masthead { background: var(--navy); position: sticky; top: 0; z-index: 10; }
.masthead-inner { height: 88px; display: flex; align-items: center; gap: 36px; }
.brand { display: flex; align-items: center; gap: 14px; text-decoration: none; margin-right: auto; }
.brand img { height: 64px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 0.9; }
.brand-name { font-family: var(--display); font-weight: 900; font-size: 32px; color: #fff; text-transform: uppercase; }
.brand-tag { font-size: 12px; font-weight: 600; letter-spacing: 0.32em; color: var(--sky); margin-top: 5px; text-transform: uppercase; }

.nav { display: flex; align-items: center; gap: 26px; }
.nav > a, .nav-label { font: 700 15px/1 var(--body); letter-spacing: 0.08em; text-transform: uppercase;
  color: #fff; text-decoration: none; background: none; border: 0; padding: 8px 0; cursor: pointer; }
.nav > a:hover, .nav-label:hover, .nav [aria-current="page"] { color: var(--sky); }
.nav-group { position: relative; }
.nav-menu { position: absolute; top: calc(100% + 10px); left: -16px; min-width: 170px; background: #fff;
  padding: 8px; display: none; box-shadow: 0 16px 40px rgba(7, 22, 52, 0.25); }
.nav-group:hover .nav-menu, .nav-group:focus-within .nav-menu { display: block; }
.nav-menu::before { content: ""; position: absolute; top: -10px; left: 0; right: 0; height: 10px; }
.nav-menu a { display: block; padding: 10px 12px; color: var(--ink); text-decoration: none; font-weight: 600; }
.nav-menu a:hover { background: var(--light); }
.nav > a.nav-members { background: var(--sky); color: var(--navy); padding: 12px 20px; }
.nav > a.nav-members:hover { background: var(--sky-hover); color: var(--navy); }
.menu-btn { display: none; }

@media (max-width: 1100px) { .nav { gap: 18px; } .nav > a, .nav-label { font-size: 14px; } }
@media (max-width: 980px) {
  .masthead-inner { height: 68px; gap: 10px; }
  .brand img { height: 46px; }
  .brand-name { font-size: 24px; }
  .brand-tag { font-size: 10px; }
  .js .menu-btn { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px;
    width: 44px; height: 44px; background: none; border: 0; cursor: pointer; }
  .menu-btn span:not(.sr) { width: 22px; height: 2.5px; background: #fff; }
  .menu-btn span:nth-child(3) { background: var(--sky); }
  .nav { position: absolute; top: 68px; left: 0; right: 0; background: var(--navy); flex-direction: column;
    align-items: stretch; gap: 0; padding: 8px var(--gutter) 20px; border-top: 1px solid rgba(255, 255, 255, 0.1); }
  .js .nav { display: none; }
  .js .nav-open .nav { display: flex; }
  .nav > a, .nav-label { padding: 13px 0; font-size: 16px; }
  .nav-label { pointer-events: none; color: var(--sky); padding-bottom: 6px; }
  .nav-menu { position: static; display: flex; flex-wrap: wrap; gap: 8px; background: none; box-shadow: none; padding: 0 0 8px; }
  .nav-menu a { color: #fff; background: var(--panel); padding: 10px 14px; }
  .nav > a.nav-members { margin-top: 12px; text-align: center; }
}

/* --- hero ---------------------------------------------------------------------- */

.hero { position: relative; overflow: hidden; background: var(--navy); color: #fff;
  min-height: 640px; padding-block: 96px 190px; }
.hero-slab { position: absolute; inset: 0; background: var(--sky); clip-path: polygon(64% 0, 100% 0, 100% 100%, 50% 100%); }
.hoops { position: absolute; top: 0; bottom: 0; right: 0; width: 72px;
  background: repeating-linear-gradient(180deg, var(--navy) 0 26px, var(--sky) 26px 52px); }
.hero-crest { position: absolute; right: clamp(110px, 10vw, 220px); top: 44px; height: 420px; width: auto;
  filter: drop-shadow(0 24px 40px rgba(7, 22, 52, 0.45)); }
.skyline { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: 150px; }
.hero-copy { position: relative; }
.hero-copy > * { max-width: 760px; }
.hero-copy > .tiles { max-width: 820px; }
.hero h1 { font-size: clamp(52px, 7.2vw, 104px); line-height: 0.9; margin-top: 22px; white-space: nowrap; }
.hero h1 span { color: var(--sky); }
.hero-intro { margin-top: 26px; font-size: 20px; line-height: 1.5; color: rgba(255, 255, 255, 0.82); max-width: 560px; }
.actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-team { min-height: 560px; padding-block: 64px 170px; }
.hero-team .hero-crest { height: 330px; top: 60px; }
.hero-team h1 { font-size: clamp(56px, 8.5vw, 124px); white-space: normal; margin-top: 16px; }
/* Team pages carry stat tiles low down, so the sky panel starts further right. */
.hero-team .hero-slab { clip-path: polygon(70% 0, 100% 0, 100% 100%, 58% 100%); }
.crumbs { font-size: 14px; color: var(--on-dark); }
.crumbs a { color: #fff; }
.tiles { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.tile { background: var(--panel); border: 1px solid var(--panel-line); padding: 12px 18px; min-width: 116px; }
.tile b { display: block; font: 900 40px/1 var(--display); }
.tile span { font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--sky); }
.tile-pos { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.tile-pos span { color: var(--navy); }

@media (max-width: 1180px) { .hero-team .hero-crest { height: 250px; top: 70px; } }
@media (max-width: 820px) {
  .hero, .hero-team { min-height: 600px; padding-block: 34px 300px; }
  .hero-slab, .hero-team .hero-slab { clip-path: polygon(0 80%, 100% 60%, 100% 100%, 0 100%); }
  .hoops { width: 22px; background: repeating-linear-gradient(180deg, var(--navy) 0 16px, var(--sky) 16px 32px); }
  .hero-crest, .hero-team .hero-crest { height: 170px; top: auto; bottom: 56px; right: 40px; }
  .skyline { height: 70px; }
  .hero-copy { padding-right: 34px; }
  .hero h1 { margin-top: 14px; }
  .hero-intro { font-size: 17px; margin-top: 16px; }
  .actions { margin-top: 20px; }
  .actions .btn-outline { display: none; }
  .tile { min-width: 0; padding: 10px 14px; }
  .tile b { font-size: 30px; }
  .hero-team { padding-bottom: 260px; }
}

/* --- bands --------------------------------------------------------------------- */

.band { padding-block: 72px; }
.band-light { background: var(--light); }
.band-deep { background: var(--deep); color: #fff; padding-block: 24px 64px; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 28px; }
.section-head h2 { font-size: 56px; }
.section-head a { font-weight: 700; text-decoration: none; }
@media (max-width: 820px) {
  :root { --gutter: 18px; }
  .band { padding-block: 40px; }
  .section-head h2 { font-size: 40px; }
}

/* --- matchday: next up + fixtures ---------------------------------------------- */

.matchday { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 32px; }
.next { background: var(--panel); padding: 30px 32px; display: flex; flex-direction: column; gap: 22px; }
.next-empty p { color: var(--on-dark); font-size: 18px; }
.next-row { display: flex; align-items: center; gap: 28px; }
.datebox { background: #fff; color: var(--navy); width: 104px; flex: none; padding: 12px 0 10px;
  display: flex; flex-direction: column; align-items: center; line-height: 1; }
.datebox span { font-weight: 700; font-size: 14px; letter-spacing: 0.18em; text-transform: uppercase; }
.datebox span:first-child { color: var(--link); }
.datebox b { font: 900 64px/1 var(--display); }
.versus { display: flex; align-items: center; justify-content: center; gap: 18px; flex-grow: 1; min-width: 0; }
.side { display: flex; flex-direction: column; align-items: center; gap: 8px; width: 170px; text-align: center; }
.side img { height: 72px; width: auto; }
.side > span:last-child { font: 800 24px/1 var(--display); text-transform: uppercase; }
.mono { width: 72px; height: 72px; border-radius: 50%; background: #1d3a73; color: var(--on-dark);
  display: grid; place-items: center; font-weight: 700; font-size: 20px; }
.v { font: 900 40px/1 var(--display); color: var(--sky); text-transform: uppercase; }
.next-meta { display: flex; flex-wrap: wrap; gap: 8px 26px; font-size: 15px; color: var(--on-dark);
  border-top: 1px solid rgba(255, 255, 255, 0.12); padding-top: 18px; }
.next-meta strong { color: #fff; }

.coming { display: flex; flex-direction: column; gap: 14px; }
.fx-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.fx { background: var(--panel); padding: 16px 20px; display: flex; align-items: center; gap: 18px; }
.fx-team { font: 800 24px/1 var(--display); color: var(--sky); text-transform: uppercase; width: 96px; flex: none; }
.fx-date { display: flex; flex-direction: column; align-items: center; width: 52px; flex: none; color: var(--sky);
  font-size: 12px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; line-height: 1.1; }
.fx-date b { font: 900 30px/1 var(--display); color: #fff; }
.fx-main { display: flex; flex-direction: column; flex-grow: 1; min-width: 0; }
.fx-opp { font-weight: 600; font-size: 18px; color: #fff; }
.fx-meta { font-size: 14px; color: var(--on-dark-2); }
.tag { flex: none; font-weight: 700; font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; padding: 5px 9px; }
.tag-away { color: var(--on-dark-2); border: 1px solid var(--panel-line); }
.tag-home { color: var(--navy); background: var(--sky); }

@media (max-width: 980px) { .matchday { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .next { padding: 20px 18px; gap: 16px; }
  .next-row { gap: 14px; }
  .datebox { width: 70px; padding: 8px 0 6px; }
  .datebox b { font-size: 42px; }
  .datebox span { font-size: 11px; }
  .versus { justify-content: flex-start; gap: 10px; }
  .side { width: auto; }
  .side img, .mono { height: 46px; width: 46px; }
  .side img { width: auto; }
  .mono { font-size: 15px; }
  .side > span:last-child { font-size: 18px; }
  .v { font-size: 26px; }
  .next-meta { font-size: 14px; }
  .fx { padding: 14px 16px; gap: 12px; }
  .fx-team { font-size: 20px; width: 64px; }
  .fx-opp { font-size: 16px; }
  .fx-meta { font-size: 13px; }
}

/* --- results ------------------------------------------------------------------- */

.score-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.score-grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.score { background: #fff; border-top: 6px solid #c5cfdd; padding: 22px 24px; display: flex; flex-direction: column; gap: 6px; }
.score.r-W { border-top-color: var(--sky); }
.score-top { display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.score-team { font-weight: 700; font-size: 13px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--link); }
.chip { font-weight: 700; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 8px;
  background: #e3e8ef; color: var(--muted); }
.r-W .chip { background: var(--gold); color: var(--navy); }
.r-D .chip { background: #dbe9f6; color: var(--navy); }
.score-line { font: 900 76px/1 var(--display); color: var(--navy); }
.score-opp { font-weight: 600; font-size: 18px; }
.score-comp { font-size: 14px; color: var(--muted); }
@media (max-width: 980px) { .score-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .score-grid, .score-grid-2 { gap: 12px; }
  .score { padding: 14px; gap: 2px; border-top-width: 5px; }
  .score-line { font-size: 50px; }
  .score-opp { font-size: 14px; }
  .score-comp { font-size: 12px; }
  .score-team, .chip { font-size: 11px; }
}

/* --- teams --------------------------------------------------------------------- */

.team-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.team-tile { position: relative; display: flex; flex-direction: column; gap: 4px; padding: 32px 24px 24px;
  text-decoration: none; background: var(--navy); color: #fff; transition: transform 0.15s; }
.team-tile::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 10px;
  background: repeating-linear-gradient(90deg, var(--sky) 0 18px, var(--navy) 18px 36px); }
.team-tile:hover { transform: translateY(-3px); }
.tile-women { background: var(--sky); color: var(--navy); }
.tile-women::before { background: repeating-linear-gradient(90deg, var(--navy) 0 18px, var(--sky) 18px 36px); }
.tt-league { font-size: 12px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--sky); }
.tile-women .tt-league { color: var(--navy); }
.tt-name { font: 900 42px/1 var(--display); text-transform: uppercase; }
.tt-foot { display: flex; align-items: baseline; gap: 10px; margin-top: 18px; }
.tt-foot b { font: 900 64px/0.9 var(--display); color: var(--gold); text-transform: uppercase; }
.tile-women .tt-foot b { color: var(--navy); }
.tt-foot span { font-size: 15px; color: var(--on-dark); }
.tile-women .tt-foot span { color: #13306a; }
.join { grid-column: span 2; border: 2px solid var(--navy); padding: 26px 28px; display: flex; flex-direction: column;
  justify-content: center; gap: 10px; }
.join h3 { font-size: 36px; }
.join p { font-size: 17px; color: #36465f; }
.join a { font-weight: 700; font-size: 15px; letter-spacing: 0.08em; text-transform: uppercase; text-decoration: none; }
.team-grid-compact { grid-template-columns: repeat(5, minmax(0, 1fr)); }
.team-grid-compact .team-tile { padding: 26px 20px 18px; }
.team-grid-compact .tt-name { font-size: 32px; }

@media (max-width: 980px) { .team-grid, .team-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) {
  .team-grid { grid-template-columns: 1fr; gap: 12px; }
  .team-tile { display: grid; grid-template-columns: 1fr auto; grid-template-areas: "name pos" "league pos";
    align-items: center; padding: 16px 18px 16px 26px; gap: 0 12px; }
  .team-tile::before { top: 0; bottom: 0; right: auto; width: 8px; height: auto;
    background: var(--sky); }
  .tile-women::before { background: var(--navy); }
  .tt-name { grid-area: name; font-size: 28px; }
  .tt-league { grid-area: league; font-size: 11px; }
  .tt-foot { grid-area: pos; margin: 0; }
  .tt-foot b { font-size: 40px; }
  .tt-foot span { display: none; }
  .join { grid-column: auto; padding: 20px; }
  .join h3 { font-size: 30px; }
  .team-grid-compact { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .team-grid-compact .team-tile { display: flex; padding: 20px 14px 14px; }
  .team-grid-compact .team-tile::before { top: 0; bottom: auto; right: 0; width: auto; height: 6px; }
  .team-grid-compact .tt-name { font-size: 24px; }
}

/* --- news ---------------------------------------------------------------------- */

.news { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 28px; }
.news-lead { position: relative; min-height: 470px; display: flex; align-items: flex-end; overflow: hidden;
  background: var(--navy) center / cover no-repeat; }
.news-lead:not(.has-photo) { background-image: repeating-linear-gradient(135deg, #14336a 0 16px, #102c5d 16px 32px); }
.news-mark { position: absolute; right: -40px; top: -30px; height: 420px; width: auto; opacity: 0.16; }
.news-lead-text { position: relative; background: var(--navy); color: #fff; padding: 26px 30px; margin: 0 28px 28px;
  max-width: 640px; display: flex; flex-direction: column; gap: 8px; }
.news-lead time, .news-list time { font-weight: 700; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); }
.news-lead h3 { font-size: 46px; }
.news-lead p { color: var(--on-dark); font-size: 16px; }
.news-list { display: flex; flex-direction: column; }
.news-list article { padding: 22px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.news-list article:first-child { padding-top: 0; }
.news-list article:last-child { border-bottom: 0; }
.news-list time { color: var(--link); font-size: 12px; }
.news-list h3 { font-size: 30px; font-weight: 800; }
.news-list p { font-size: 15px; color: var(--muted); }
@media (max-width: 980px) { .news { grid-template-columns: 1fr; } }
@media (max-width: 560px) {
  .news-lead { min-height: 320px; }
  .news-lead-text { margin: 0 12px 12px; padding: 18px; }
  .news-lead h3 { font-size: 32px; }
  .news-list h3 { font-size: 24px; }
}

/* --- clubhouse and event ------------------------------------------------------- */

.club { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
.club-house { background: var(--navy); color: #fff; padding: 72px var(--gutter); display: flex; flex-direction: column; gap: 16px; }
.club-house h2 { font-size: 60px; }
.club-house p { font-size: 18px; color: var(--on-dark); max-width: 520px; }
.club-house .club-contact { color: #fff; font-size: 16px; margin-top: 8px; }
.club-house a { color: #fff; }
.club-event { background: var(--gold); color: var(--navy); padding: 64px var(--gutter); display: flex; flex-direction: column; gap: 6px; }
.club-event h2 { font-size: clamp(64px, 7.5vw, 104px); line-height: 0.86; }
.event-sub { font: 800 30px/1 var(--display); text-transform: uppercase; }
.event-when { font-weight: 700; font-size: 20px; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 18px; }
.event-text { font-size: 17px; max-width: 420px; margin-top: 4px; }
.event-links { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; margin-top: 18px; }
.event-more { font-weight: 700; font-size: 15px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--navy); text-decoration: none; border-bottom: 2px solid rgba(11, 31, 69, 0.35); }
.event-more:hover { border-bottom-color: var(--navy); }
.club:not(:has(.club-event)) { grid-template-columns: 1fr; }
@media (max-width: 900px) {
  .club { grid-template-columns: 1fr; }
  .club-house, .club-event { padding-block: 40px; }
  .club-house h2 { font-size: 44px; }
  .event-sub { font-size: 22px; }
  .event-when { font-size: 16px; }
  .event-links .btn { width: 100%; text-align: center; }
}

/* --- what's on ----------------------------------------------------------------- */

/* A gold strip under the hero, but only in the three weeks before an event. */
.shout { display: flex; align-items: center; gap: 18px; flex-wrap: wrap;
  background: var(--gold); color: var(--navy); text-decoration: none;
  padding: 16px var(--gutter); }
.shout:hover { background: #d9b43a; }
.shout-when { font: 900 22px/1 var(--display); text-transform: uppercase; letter-spacing: 0.04em;
  border-right: 2px solid rgba(11, 31, 69, 0.3); padding-right: 18px; }
.shout-what { font-size: 16px; }
.shout-what b { font-weight: 700; }
.shout-go { margin-left: auto; font-weight: 700; font-size: 14px; letter-spacing: 0.1em;
  text-transform: uppercase; }
@media (max-width: 700px) {
  .shout { gap: 4px 14px; padding-block: 14px; }
  .shout-when { border-right: 0; padding-right: 0; }
  .shout-go { margin-left: 0; width: 100%; }
}

.events { display: grid; gap: 26px; max-width: 980px; }
.event { background: #fff; display: grid; grid-template-columns: 150px minmax(0, 1fr); }
.event:has(.event-poster) { grid-template-columns: 150px 300px minmax(0, 1fr); }
.event-date { background: var(--navy); color: #fff; padding: 26px 20px; text-align: center;
  display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.event-date span { font-weight: 700; font-size: 13px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--sky); }
.event-date b { font: 900 62px/0.9 var(--display); }
.event-poster { background: var(--navy) center / contain no-repeat; min-height: 240px; }
.event-body { padding: 28px 30px; display: flex; flex-direction: column; gap: 10px; border-top: 6px solid var(--gold); }
.event-body h2 { font-size: 40px; font-weight: 800; line-height: 0.95; }
.event-body .event-sub { color: var(--muted); }
.event-facts { display: flex; gap: 18px; flex-wrap: wrap; font-weight: 700; font-size: 14px;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--navy); }
.event-facts .free { color: var(--gold); }
.event-body p { font-size: 17px; color: #36465f; }
.event-body .btn { align-self: flex-start; margin-top: 6px; }
@media (max-width: 860px) {
  .event, .event:has(.event-poster) { grid-template-columns: 1fr; }
  .event-date { flex-direction: row; align-items: baseline; justify-content: flex-start; gap: 10px; padding: 16px 22px; }
  .event-date b { font-size: 34px; }
  .event-poster { min-height: 300px; }
  .event-body { padding: 20px; }
  .event-body h2 { font-size: 30px; }
}

/* --- sponsors, wellbeing ------------------------------------------------------- */

/* Every sponsor gets the same panel, in the order the build hands them over
   (the main ones first). Until logo files arrive the name is set in the
   display face, so a logo-less panel still reads as deliberate.
   230px lands on four across at full width, so twelve sponsors make three
   even rows. */
.sponsors { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.sponsors li { min-height: 118px; background: #fff; border: 1px solid var(--line);
  border-top: 4px solid var(--sky); display: flex; align-items: center;
  justify-content: center; text-align: center; padding: 18px 16px; }
.sponsors a { display: contents; color: inherit; text-decoration: none; }
.sponsors li:hover { border-top-color: var(--gold); }
.sponsors strong { font: 900 22px/1.05 var(--display); text-transform: uppercase;
  letter-spacing: .01em; color: var(--navy); }
.sponsors img { max-height: 72px; width: auto; }
.sponsors-ask { margin: 26px 0 0; font-size: 15px; color: var(--muted); }
/* One per row on a phone, but shallow, so a dozen sponsors is not a trek. */
@media (max-width: 620px) {
  .sponsors { gap: 12px; }
  .sponsors li { min-height: 0; padding: 14px 16px; }
  .sponsors strong { font-size: 19px; }
}

.wellbeing { background: var(--sky); color: var(--navy); }
.wellbeing-inner { display: flex; align-items: center; gap: 20px 40px; flex-wrap: wrap; padding-block: 34px; }
.wellbeing h2 { font-size: 52px; }
.wellbeing p { font-size: 17px; flex: 1 1 300px; max-width: 440px; }
.helplines { display: flex; flex-wrap: wrap; gap: 12px; }
.helplines a { background: var(--navy); color: #fff; text-decoration: none; padding: 12px 20px; display: flex; flex-direction: column;
  font: 800 28px/1.1 var(--display); min-height: 44px; }
.helplines a span { font: 700 11px/1.4 var(--body); letter-spacing: 0.16em; text-transform: uppercase; color: var(--sky); }
@media (max-width: 560px) {
  .wellbeing h2 { font-size: 36px; }
  .helplines { width: 100%; }
  .helplines a { flex: 1; font-size: 22px; padding: 10px 14px; }
}

/* --- team page body ------------------------------------------------------------ */

.team-body { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.team-side { display: flex; flex-direction: column; gap: 20px; }
.panel { background: #fff; padding: 24px 24px 12px; }
.panel h2 { font-size: 32px; margin-bottom: 12px; }
.note { font-size: 13px; color: var(--muted); padding: 10px 0 8px; }
.members-cta { background: var(--sky); color: var(--navy); text-decoration: none; padding: 24px; display: flex; flex-direction: column; gap: 4px; }
.members-cta strong { font: 900 36px/1 var(--display); text-transform: uppercase; }
.members-cta:hover { background: var(--sky-hover); }
@media (max-width: 980px) { .team-body { grid-template-columns: 1fr; } }

.table-scroll { overflow-x: auto; }
.league { width: 100%; border-collapse: collapse; font-size: 15px; font-variant-numeric: tabular-nums; }
.league th { font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); text-align: center;
  padding: 8px 6px; border-bottom: 2px solid var(--navy); }
.league td { text-align: center; padding: 10px 6px; border-bottom: 1px solid var(--line); }
.league .l-team { text-align: left; }
.league .l-pos { width: 32px; color: var(--muted); }
.league .l-pts { font-weight: 800; }
.league tr.ours td { background: var(--navy); color: #fff; font-weight: 700; border-bottom-color: var(--navy); }
.league tr.ours .l-pos { color: var(--gold); }
@media (max-width: 420px) { .league .l-wide { display: none; } }

/* --- footer -------------------------------------------------------------------- */

.footer { background: var(--deep); color: var(--on-dark); font-size: 15px; padding-top: 56px; }
.footer a { color: var(--on-dark); text-decoration: none; }
.footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) repeat(4, minmax(0, 1fr)); gap: 28px; }
.footer-note { font-size: 13px; line-height: 1.45; color: #8ea3c0; }
.footer-brand { display: flex; gap: 16px; align-items: flex-start; }
.footer-brand img { height: 84px; width: auto; }
.footer-brand div { display: flex; flex-direction: column; gap: 6px; }
.footer-brand strong { font: 900 30px/1 var(--display); color: #fff; text-transform: uppercase; }
.footer-col { display: flex; flex-direction: column; gap: 8px; }
.footer-col h2 { font: 700 12px/1.4 var(--body); letter-spacing: 0.2em; color: var(--sky); }
.footer address { font-style: normal; }
.footer-small { margin-top: 40px; padding-block: 18px 26px; border-top: 1px solid rgba(255, 255, 255, 0.08); font-size: 13px; color: var(--on-dark-2); }
@media (max-width: 900px) { .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } .footer { padding-top: 36px; } }

/* --- news page and links ------------------------------------------------------- */

.news-more { font-weight: 700; font-size: 14px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--sky);
  text-decoration: none; margin-top: 4px; }
.news-list h3 a { color: inherit; text-decoration: none; }
.news-list h3 a:hover { color: var(--link); }
.news-lead.has-photo::before { content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(7, 22, 52, 0) 40%, rgba(7, 22, 52, 0.55) 100%); }

.hero-page { min-height: 0; padding-block: 56px 64px; }
.hero-page h1 { font-size: clamp(56px, 8vw, 110px); margin-top: 12px; }

.news-feed { display: grid; gap: 22px; max-width: 980px; }
.post { background: #fff; display: grid; grid-template-columns: 320px minmax(0, 1fr); }
.post:not(:has(.post-photo)) { grid-template-columns: 1fr; }
.post-photo { background: var(--navy) center / cover no-repeat; min-height: 220px; }
/* Portrait graphics — fixture lists, cup draws — are shown whole, because
   cropping them cuts the wording in half. */
.post-photo.is-tall { background-size: contain; }
.post-body { padding: 24px 28px; display: flex; flex-direction: column; gap: 10px; border-top: 6px solid var(--sky); }
.post time { font-weight: 700; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--link); }
.post h2 { font-size: 34px; font-weight: 800; }
.post p { font-size: 16px; color: #36465f; }
.post .news-more { color: var(--link); }
.more-link { margin-top: 28px; font-weight: 700; }
@media (max-width: 700px) {
  .post { grid-template-columns: 1fr; }
  .post-photo { min-height: 200px; }
  .post-body { padding: 18px; }
  .post h2 { font-size: 28px; }
}

/* --- league and cup records, and the competitions list ------------------------- */

.record { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.record-row { display: flex; align-items: center; gap: 16px; }
.record-label { width: 68px; flex: none; font-weight: 700; font-size: 13px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--sky); text-align: right; }
.record .tiles { margin-top: 0; }

.comps { list-style: none; margin: 0; padding: 0; }
.comps li { display: flex; gap: 12px; align-items: flex-start; padding: 12px 0; border-bottom: 1px solid var(--line); }
.comps li:last-child { border-bottom: 0; }
.comp-type { flex: none; font-weight: 700; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
  padding: 4px 8px; background: var(--light); color: var(--muted); }
.comp-league { background: var(--navy); color: #fff; }
.comp-main { display: flex; flex-direction: column; min-width: 0; }
.comp-name { font-weight: 600; }
.comp-meta { font-size: 14px; color: var(--muted); }
@media (max-width: 820px) {
  .record-row { align-items: flex-start; flex-direction: column; gap: 8px; }
  .record-label { width: auto; text-align: left; }
}

/* --- a card per competition ---------------------------------------------------- */

.band-comps { background: var(--light); padding-block: 44px; }
.comp-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); }
.comp-card { background: #fff; padding: 20px 22px 18px; display: flex; flex-direction: column; gap: 8px;
  border-top: 5px solid var(--sky); }
.comp-card-league { border-top-color: var(--gold); }
.comp-kind { font-weight: 700; font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); }
.comp-card h3 { font-size: 26px; font-weight: 800; color: var(--navy); }
.comp-record { display: flex; flex-wrap: wrap; gap: 6px 20px; margin-top: 2px; }
.comp-record span { display: flex; flex-direction: column; font-size: 11px; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.comp-record b { font: 900 30px/1 var(--display); color: var(--navy); letter-spacing: 0; }
.comp-state { font-size: 15px; color: var(--muted); }
.comp-next { font-size: 14px; color: var(--link); font-weight: 600; margin-top: auto; padding-top: 6px; }
@media (max-width: 560px) { .comp-card h3 { font-size: 22px; } .comp-record b { font-size: 26px; } }
