/*
Theme Name:  FC Surhústerfean
Theme URI:   https://fcsurhusterfean.nl
Author:      FC Surhústerfean
Author URI:  https://fcsurhusterfean.nl
Description: Officieel WordPress theme voor FC Surhústerfean — Meielkoar sterk. Gebouwd op basis van het Claude Design ontwerp (2025).
Version:     1.0.0
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: fcs
Tags:        voetbal, sport, club, blue, orange, responsive
*/

/* ---------- TOKENS ---------- */
:root {
  --blue:      #003087;
  --blue-deep: #1D4289;
  --blue-ink:  #0b1d4a;
  --orange:    #FF5200;
  --orange-hot:#ff6a20;
  --white:     #ffffff;
  --paper:     #f4f5f9;
  --line:      #e3e6ef;
  --ink:       #0b1020;
  --muted:     #5a6179;

  --head: "Barlow Condensed", "Oswald", "Arial Narrow", sans-serif;
  --body: "Inter", system-ui, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--body);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

.wrap { max-width: 1360px; margin: 0 auto; padding: 0 32px; }
.uppercase { text-transform: uppercase; letter-spacing: .04em; }
.head { font-family: var(--head); font-weight: 700; letter-spacing: .01em; line-height: .95; }

/* ---------- UTILITY BARS ---------- */
.topbar {
  background: var(--blue-ink);
  color: #c8d0ea;
  font-size: 12.5px;
}
.topbar .wrap { display: flex; align-items: center; justify-content: space-between; height: 34px; }
.topbar-left { display: flex; gap: 22px; align-items: center; }
.topbar-left .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--orange); display: inline-block;
  margin-right: 7px; animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.4} }
.topbar-right { display: flex; gap: 18px; }
.topbar-right a:hover { color: var(--white); }

/* ---------- HEADER ---------- */
header.site {
  background: var(--white);
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
header.site .wrap { display: flex; align-items: center; gap: 24px; height: 82px; }
.brand { display: flex; align-items: center; gap: 14px; margin-right: 8px; }
.brand img { height: 54px; width: auto; }
.brand .wordmark {
  font-family: var(--head); font-weight: 800; font-size: 22px;
  letter-spacing: .02em; color: var(--blue); line-height: 1;
}
.brand .wordmark small {
  display: block; color: var(--orange);
  font-size: 10px; letter-spacing: .2em; margin-top: 3px;
}
nav.main { display: flex; gap: 4px; flex: 1; }
nav.main a {
  padding: 10px 14px; font-family: var(--head); font-size: 17px; font-weight: 600;
  color: var(--blue-ink); text-transform: uppercase; letter-spacing: .03em;
  border-radius: 2px; position: relative;
}
nav.main a.current-menu-item,
nav.main a.active { color: var(--blue); }
nav.main a.current-menu-item::after,
nav.main a.active::after {
  content: ""; position: absolute; left: 14px; right: 14px;
  bottom: -3px; height: 3px; background: var(--orange);
}
nav.main a:hover { color: var(--orange); }
.header-cta { display: flex; gap: 10px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 18px; font-family: var(--head); font-weight: 700; font-size: 15px;
  text-transform: uppercase; letter-spacing: .06em; border-radius: 2px;
  transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-orange { background: var(--orange); color: #fff; }
.btn-orange:hover { background: var(--orange-hot); }
.btn-blue { background: var(--blue); color: #fff; }
.btn-blue:hover { background: var(--blue-ink); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--blue-ink); }
.btn-ghost:hover { border-color: var(--blue); }
.icon-btn { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: var(--blue-ink); }
.icon-btn:hover { background: var(--paper); }

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  background: none; border: none;
  font-size: 24px; color: var(--blue-ink);
  cursor: pointer; padding: 8px;
}

/* ---------- HERO ---------- */
.hero {
  position: relative; overflow: hidden;
  background: var(--blue);
  color: #fff;
  isolation: isolate;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background-size: cover; background-position: center 25%;
  opacity: .28; filter: grayscale(.3) contrast(1.05);
  z-index: -2;
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(0,48,135,.92) 0 44%, rgba(0,48,135,.55) 55%, rgba(255,82,0,.85) 100%);
  z-index: -1;
}
.hero-inner { padding: 56px 0 0; position: relative; }
.hero-grid { display: grid; grid-template-columns: 1.2fr .9fr; gap: 48px; align-items: end; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--head); font-size: 14px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .2em; color: #ffd4b8;
}
.eyebrow .bar { width: 40px; height: 2px; background: var(--orange); }
.hero h1 {
  font-family: var(--head); font-weight: 800;
  font-size: clamp(56px, 8vw, 124px); line-height: .88;
  letter-spacing: -.01em; margin: 14px 0 10px; text-transform: uppercase;
}
.hero h1 .slash { color: var(--orange); font-style: italic; display: inline-block; transform: skewX(-8deg); }
.hero .tagline {
  font-family: var(--head); font-style: italic; font-weight: 500;
  font-size: clamp(22px, 2.2vw, 30px); color: #ffd4b8; letter-spacing: .02em;
}
.hero p.lede { max-width: 520px; color: #dfe3f4; margin: 22px 0 28px; line-height: 1.55; font-size: 16px; }
.hero .cta-row { display: flex; gap: 12px; flex-wrap: wrap; padding-bottom: 60px; }

/* Match card */
.match-card {
  background: #fff; color: var(--ink);
  padding: 26px 28px 22px; border-radius: 4px;
  box-shadow: 0 30px 60px -20px rgba(0,0,0,.45);
  position: relative; overflow: hidden;
  transform: translateY(30px);
  border-top: 5px solid var(--orange);
}
.match-card .label {
  display: flex; justify-content: space-between; align-items: center;
  font-family: var(--head); text-transform: uppercase; letter-spacing: .14em;
  font-size: 12px; font-weight: 700; color: var(--muted); margin-bottom: 18px;
}
.match-card .label .live { color: var(--orange); display: flex; align-items: center; gap: 6px; }
.match-card .live .d { width: 8px; height: 8px; border-radius: 50%; background: var(--orange); animation: pulse 1.5s infinite; }
.match-card .teams {
  display: grid; grid-template-columns: 1fr auto 1fr;
  align-items: center; gap: 12px; padding: 4px 0 8px;
}
.team { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; }
.team .crest {
  width: 72px; height: 72px; border-radius: 50%;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue) 0 50%, var(--orange) 50% 100%);
  color: #fff; font-family: var(--head); font-weight: 800; font-size: 22px;
  box-shadow: 0 4px 14px rgba(0,48,135,.2);
}
.team .crest.home { background: #fff; padding: 6px; border: 2px solid var(--line); }
.team .crest.home img { width: 100%; height: 100%; object-fit: contain; }
.team .crest.away { background: #c62828; color: #fff; }
.team .nm { font-family: var(--head); font-weight: 700; font-size: 15px; text-transform: uppercase; letter-spacing: .04em; }
.team .sub { font-size: 11px; color: var(--muted); }
.vs-col { text-align: center; }
.vs-col .time { font-family: var(--head); font-weight: 800; font-size: 22px; color: var(--muted); }
.vs-col .date { font-size: 12px; color: var(--muted); margin-top: 4px; text-transform: uppercase; letter-spacing: .08em; }
.match-meta { display: flex; gap: 16px; font-size: 13px; color: var(--muted); padding: 14px 0 18px; border-top: 1px solid var(--line); margin-top: 10px; }
.countdown { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.countdown .u { text-align: center; }
.countdown .v {
  font-family: var(--head); font-size: 28px; font-weight: 800;
  background: var(--blue); color: #fff;
  border-radius: 4px; padding: 8px 4px; line-height: 1;
}
.countdown .l { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: .1em; margin-top: 4px; }

/* ---------- STRIPES ---------- */
.stripes {
  height: 8px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 50%, var(--orange) 50% 100%);
  background-size: 40px 100%;
}

/* ---------- QUICKBAR ---------- */
.quickbar {
  background: var(--blue);
  color: #fff;
  padding: 22px 0;
}
.quickbar .wrap { display: flex; gap: 0; }
.qi { flex: 1; text-align: center; padding: 0 20px; border-right: 1px solid rgba(255,255,255,.12); }
.qi:last-child { border-right: 0; }
.qi .n { font-family: var(--head); font-size: clamp(32px, 4vw, 48px); font-weight: 800; color: var(--orange); line-height: 1; }
.qi .t { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 4px; }
.qi .t b { display: block; color: #fff; font-size: 12px; margin-top: 2px; font-weight: 600; }

/* ---------- SECTION HEADS ---------- */
section { padding: 72px 0; }
.section-head {
  display: flex; justify-content: space-between;
  align-items: flex-end; margin-bottom: 36px;
}
.kicker {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--head); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .22em; color: var(--orange); margin-bottom: 6px;
}
.kicker .bar { width: 32px; height: 2px; background: var(--orange); flex-shrink: 0; }
.section-head h2 {
  font-family: var(--head); font-size: clamp(36px, 5vw, 60px); font-weight: 800;
  line-height: .92; text-transform: uppercase; color: var(--blue-ink);
}
.section-head h2 .acc { color: var(--orange); }
.see {
  font-family: var(--head); font-size: 15px; font-weight: 700;
  color: var(--blue); text-transform: uppercase; letter-spacing: .08em;
  white-space: nowrap; padding-bottom: 2px; border-bottom: 2px solid var(--orange);
}
.see:hover { color: var(--orange); }

/* ---------- NEWS ---------- */
.filters { display: flex; gap: 8px; margin-bottom: 28px; flex-wrap: wrap; }
.chip {
  padding: 7px 16px; font-family: var(--head); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  border: 1.5px solid var(--line); border-radius: 2px; color: var(--muted);
  cursor: pointer; transition: all .15s;
}
.chip:hover, .chip.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
article.news { background: var(--white); border-radius: 4px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,.06); }
article.news.big { grid-column: span 2; display: grid; grid-template-columns: 1.1fr 1fr; }
article.news .im {
  height: 220px; background: var(--blue);
  background-size: cover; background-position: center;
  position: relative;
}
article.news.big .im { height: auto; min-height: 280px; }
.tag {
  position: absolute; bottom: 12px; left: 12px;
  background: var(--orange); color: #fff;
  font-family: var(--head); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; padding: 4px 10px; border-radius: 2px;
}
article.news .bd { padding: 22px 24px; }
article.news .meta { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
article.news h3 {
  font-family: var(--head); font-size: 21px; font-weight: 800; line-height: 1.05;
  text-transform: uppercase; color: var(--blue-ink); margin: 10px 0 12px;
}
article.news.big h3 { font-size: 28px; }
article.news p { font-size: 14px; color: var(--muted); line-height: 1.6; margin-bottom: 18px; }
.rm {
  font-family: var(--head); font-size: 13px; font-weight: 700;
  color: var(--orange); text-transform: uppercase; letter-spacing: .08em;
}

/* ---------- FIXTURES ---------- */
.fixtures-wrap { background: var(--blue-ink); color: #fff; padding: 72px 0; }
.fixtures-wrap .section-head h2 { color: #fff; }
.fixtures-wrap .see { color: var(--orange); border-color: var(--orange); }
.fixtures { display: grid; grid-template-columns: 1fr 340px; gap: 48px; align-items: start; }
.fx-list { display: flex; flex-direction: column; gap: 10px; }
.fx {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 4px; padding: 16px 20px;
  display: grid; grid-template-columns: 90px 1fr auto;
  align-items: center; gap: 16px;
  transition: background .15s;
}
.fx:hover { background: rgba(255,255,255,.1); }
.fx .dt { font-family: var(--head); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--orange); }
.fx .dt span { display: block; color: rgba(255,255,255,.5); font-size: 11px; margin-top: 2px; letter-spacing: .04em; }
.fx-clubs { display: flex; flex-direction: column; gap: 4px; }
.fx .home, .fx .away { font-family: var(--head); font-size: 16px; font-weight: 700; text-transform: uppercase; }
.fx .away { color: rgba(255,255,255,.6); }
.fx-score {
  font-family: var(--head); font-weight: 800; font-size: 24px;
  background: rgba(255,255,255,.1); border-radius: 2px;
  padding: 6px 14px; text-align: center; min-width: 64px;
}
.fx-score.win { color: var(--orange); }
.fx-time {
  font-family: var(--head); font-size: 13px; font-weight: 700;
  color: rgba(255,255,255,.5); padding: 6px 14px;
  border: 1px solid rgba(255,255,255,.15); border-radius: 2px;
}

/* Stand */
.stand h4 {
  font-family: var(--head); font-size: 13px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .15em; color: var(--orange); margin-bottom: 4px;
}
.stand .title { font-size: 12px; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.tbl { width: 100%; border-collapse: collapse; font-size: 13px; }
.tbl th {
  padding: 8px 10px; font-family: var(--head); font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.4);
  text-align: left; border-bottom: 1px solid rgba(255,255,255,.1);
}
.tbl td {
  padding: 10px 10px; border-bottom: 1px solid rgba(255,255,255,.06);
  color: rgba(255,255,255,.8);
}
.tbl .num, .tbl .pts { text-align: center; }
.tbl .pts { font-family: var(--head); font-weight: 800; color: #fff; font-size: 15px; }
.tbl tr.us td { color: #fff; font-weight: 700; background: rgba(255,82,0,.15); }
.fr { display: flex; gap: 3px; }
.fr i {
  width: 18px; height: 18px; display: grid; place-items: center;
  border-radius: 2px; font-style: normal;
  font-family: var(--head); font-size: 10px; font-weight: 700;
}
.fr .w { background: #1a7a3c; color: #fff; }
.fr .d { background: #5a6179; color: #fff; }
.fr .l { background: #c62828; color: #fff; }

/* ---------- TEAMS BAND ---------- */
.teams-band { background: var(--blue-ink); color: #fff; padding: 72px 0; }
.teams-band .section-head h2 { color: #fff; }
.teams-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.tm-card {
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 4px; padding: 24px 20px; position: relative; overflow: hidden;
  transition: background .2s, border-color .2s;
  cursor: pointer;
}
.tm-card:hover { background: rgba(255,255,255,.1); border-color: var(--orange); }
.tm-card .num {
  position: absolute; top: 12px; right: 16px;
  font-family: var(--head); font-size: 48px; font-weight: 800;
  color: rgba(255,255,255,.07); line-height: 1;
}
.tm-card .cat { font-family: var(--head); font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; color: var(--orange); margin-bottom: 6px; }
.tm-card h4 { font-family: var(--head); font-size: 22px; font-weight: 800; text-transform: uppercase; margin-bottom: 10px; }
.tm-card .meta { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.5; }
.tm-card .arrow { margin-top: 16px; font-family: var(--head); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: rgba(255,255,255,.4); transition: color .15s; }
.tm-card:hover .arrow { color: var(--orange); }

/* ---------- PUPIL VAN DE WEEK ---------- */
.pupil {
  display: grid; grid-template-columns: 1fr 1.5fr;
  gap: 64px; align-items: center;
}
.pupil-im img { width: 100%; border-radius: 4px; box-shadow: 0 20px 60px rgba(0,0,0,.15); }
.pupil h2 {
  font-family: var(--head); font-size: clamp(36px, 5vw, 60px);
  font-weight: 800; line-height: .92; text-transform: uppercase;
  color: var(--blue-ink); margin: 10px 0 18px;
}
.pupil p { color: var(--muted); line-height: 1.65; margin-bottom: 28px; max-width: 480px; }
.pupil-stats { display: flex; gap: 32px; margin-bottom: 28px; }
.pupil-stats .s .n {
  font-family: var(--head); font-size: 42px; font-weight: 800;
  color: var(--blue); line-height: 1;
}
.pupil-stats .s .t { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }

/* ---------- GALLERY ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  grid-template-rows: 200px 200px;
  gap: 8px;
}
.g { background-size: cover; background-position: center; border-radius: 3px; overflow: hidden; transition: transform .25s; cursor: pointer; }
.g:hover { transform: scale(1.02); z-index: 1; }
.g1 { grid-column: span 3; grid-row: span 2; }
.g2 { grid-column: span 2; }
.g3 { grid-column: span 2; }
.g4 { grid-column: span 1; }
.g5 { grid-column: span 1; }
.g6 { grid-column: span 2; }
.g7 { grid-column: span 2; }

/* ---------- JOIN BAND ---------- */
.join { background: var(--blue); color: #fff; padding: 80px 0; }
.join .wrap { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: center; }
.join h2 {
  font-family: var(--head); font-size: clamp(42px, 6vw, 80px);
  font-weight: 800; line-height: .88; text-transform: uppercase; margin: 10px 0 20px;
}
.join p { color: rgba(255,255,255,.7); line-height: 1.65; max-width: 420px; margin-bottom: 28px; }
.join-cards { display: flex; flex-direction: column; gap: 12px; }
.join-card {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-radius: 4px; padding: 20px 24px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  transition: background .15s, border-color .15s;
  cursor: pointer;
}
.join-card:hover { background: rgba(255,255,255,.14); border-color: var(--orange); }
.join-card h4 { font-family: var(--head); font-size: 18px; font-weight: 700; text-transform: uppercase; margin-bottom: 4px; }
.join-card p { font-size: 13px; color: rgba(255,255,255,.55); margin: 0; }
.join-card .arrow { font-size: 22px; color: var(--orange); flex-shrink: 0; }

/* ---------- SPONSORS ---------- */
.sponsors { background: var(--white); padding: 48px 0; }
.sp-head { display: flex; align-items: center; gap: 24px; margin-bottom: 28px; }
.sp-head .lbl { font-family: var(--head); font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .15em; color: var(--muted); white-space: nowrap; }
.sp-head .ln { flex: 1; height: 1px; background: var(--line); }
.sp-grid {
  display: flex; flex-wrap: wrap; gap: 12px; align-items: center;
}
.sp {
  border: 1.5px solid var(--line); border-radius: 4px;
  padding: 14px 24px; font-family: var(--head); font-size: 16px; font-weight: 700;
  color: var(--muted); transition: border-color .15s, color .15s;
  text-align: center; cursor: pointer;
}
.sp:hover { border-color: var(--blue); color: var(--blue); }
.sp.hoofd {
  background: var(--blue); color: #fff;
  border-color: var(--blue); font-size: 18px;
  padding: 16px 32px;
}
.sp.hoofd small { display: block; font-size: 10px; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--orange); margin-bottom: 4px; }
.sp.hoofd:hover { background: var(--blue-ink); border-color: var(--blue-ink); }

/* ---------- FOOTER ---------- */
footer { background: var(--blue-ink); color: rgba(255,255,255,.7); padding: 64px 0 0; }
.ft-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.ft-brand img { height: 52px; width: auto; margin-bottom: 16px; }
.ft-brand .name { font-family: var(--head); font-size: 20px; font-weight: 800; color: #fff; text-transform: uppercase; margin-bottom: 4px; }
.ft-brand .tagline { font-size: 13px; font-style: italic; color: rgba(255,255,255,.45); margin-bottom: 20px; }
.socials { display: flex; gap: 8px; }
.socials a {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.08); display: grid; place-items: center;
  font-size: 14px; transition: background .15s;
}
.socials a:hover { background: var(--orange); color: #fff; }
footer h5 {
  font-family: var(--head); font-size: 13px; font-weight: 700;
  text-transform: uppercase; letter-spacing: .18em; color: var(--orange);
  margin-bottom: 16px;
}
footer ul { list-style: none; display: flex; flex-direction: column; gap: 10px; }
footer ul a { font-size: 14px; color: rgba(255,255,255,.55); transition: color .15s; }
footer ul a:hover { color: #fff; }
.ft-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0; display: flex; justify-content: space-between;
  align-items: center; font-size: 12px; color: rgba(255,255,255,.35);
}

/* ---------- SINGLE / PAGES ---------- */
.page-hero {
  background: var(--blue); color: #fff;
  padding: 60px 0 48px;
}
.page-hero h1 {
  font-family: var(--head); font-size: clamp(40px, 6vw, 80px);
  font-weight: 800; text-transform: uppercase; line-height: .92;
}
.page-hero .sub { color: rgba(255,255,255,.6); font-size: 16px; margin-top: 10px; }
.post-content { max-width: 760px; margin: 60px auto; padding: 0 32px; }
.post-content h2 { font-family: var(--head); font-size: 32px; color: var(--blue-ink); margin: 40px 0 16px; }
.post-content p { line-height: 1.7; color: var(--muted); margin-bottom: 20px; }
.post-content img { border-radius: 4px; margin: 32px 0; box-shadow: 0 8px 32px rgba(0,0,0,.1); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .teams-grid { grid-template-columns: repeat(2, 1fr); }
  .news-grid { grid-template-columns: 1fr 1fr; }
  article.news.big { grid-column: span 2; }
}

@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; }
  .match-card { transform: none; margin-top: 32px; }
  .fixtures { grid-template-columns: 1fr; }
  .pupil { grid-template-columns: 1fr; }
  .join .wrap { grid-template-columns: 1fr; }
  .ft-grid { grid-template-columns: 1fr 1fr; }
  .gallery { grid-template-columns: repeat(3, 1fr); grid-template-rows: auto; }
  .g1, .g2, .g3, .g4, .g5, .g6, .g7 { grid-column: span 1; grid-row: span 1; height: 180px; }
}

@media (max-width: 640px) {
  nav.main { display: none; flex-direction: column; position: absolute; top: 82px; left: 0; right: 0; background: var(--white); padding: 16px; border-bottom: 2px solid var(--orange); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
  nav.main.open { display: flex; }
  nav.main a { padding: 12px 16px; border-bottom: 1px solid var(--line); }
  nav.main a.active::after { display: none; }
  .menu-toggle { display: block; }
  header.site { position: relative; }
  .header-cta .btn-ghost { display: none; }
  .wrap { padding: 0 16px; }
  .news-grid { grid-template-columns: 1fr; }
  article.news.big { grid-column: span 1; display: block; }
  .teams-grid { grid-template-columns: 1fr 1fr; }
  .quickbar .wrap { flex-wrap: wrap; }
  .qi { flex: 0 0 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); padding: 16px; }
  .ft-grid { grid-template-columns: 1fr; }
  .ft-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .topbar-right { display: none; }
}

/* ── Match card tabs ─────────────────────────────────────── */
.mc-tabs {
  display: flex;
  gap: 0;
  margin: -26px -28px 22px;
  border-bottom: 2px solid var(--line);
}

.mc-tab {
  flex: 1;
  padding: 13px 10px;
  font-family: var(--head);
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--muted);
  background: var(--paper);
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  transition: color .15s, background .15s, border-color .15s;
  position: relative;
  bottom: -2px;
  text-align: center;
  user-select: none;
  -webkit-user-select: none;
}

.mc-tab:hover {
  color: var(--blue-ink);
  background: #fff;
}

.mc-tab--active {
  color: var(--blue);
  background: #fff;
  border-bottom: 3px solid var(--orange);
}

.mc-panel {
  animation: fadeIn .18s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Countdown inside panels */
.mc-countdown {
  margin-top: 0;
}
