
:root{
  --navy:#071d3a;
  --blue:#0b4ea2;
  --gold:#f5c542;
  --white:#ffffff;
  --light:#f4f6f8;
  --dark:#17212b;
  --muted:#6b7280;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Arial,Helvetica,sans-serif;background:var(--light);color:var(--dark);line-height:1.6}
img{max-width:100%}
a{color:inherit}
header.hero{background:linear-gradient(135deg,var(--navy),var(--blue));color:var(--white);padding:32px 20px;text-align:center}
.club-logo{display:block;width:98px;height:98px;object-fit:contain;margin:0 auto 10px;filter:drop-shadow(0 8px 16px rgba(0,0,0,.24))}
.hero h1{margin:0;font-size:34px;line-height:1.15;letter-spacing:.5px}
.hero p{margin:6px 0 0;font-size:16px}
nav{background:var(--dark);color:var(--white);position:sticky;top:0;z-index:3}
.nav-wrap{max-width:1100px;margin:auto;display:flex;justify-content:center;flex-wrap:wrap}
nav a{padding:15px 18px;text-decoration:none;font-weight:700}
nav a:hover, nav a.active{background:var(--gold);color:var(--dark)}
nav a.nav-league-link{display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center}
nav a .nav-subtitle{display:block;font-size:10px;font-weight:500;line-height:1.1}
.container{max-width:1100px;margin:0 auto;padding:28px 18px}
.grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:18px}
.home-stack{display:grid;grid-template-columns:1fr;gap:18px}
.card{background:var(--white);border-radius:14px;padding:22px;box-shadow:0 6px 18px rgba(0,0,0,.08)}
.card h3{margin-top:0;color:var(--navy)}
.card address{font-style:normal;margin:8px 0 4px}
.btn{display:inline-block;background:var(--gold);color:var(--dark);padding:12px 18px;border-radius:8px;text-decoration:none;font-weight:800;margin-top:10px}
.btn.secondary{background:var(--navy);color:var(--white)}
.section-title{font-size:30px;margin:0 0 12px;color:var(--navy)}
.notice{background:#fff7db;border-left:5px solid var(--gold);padding:14px 18px;border-radius:8px;margin:18px 0}
table{width:100%;border-collapse:collapse;background:white;border-radius:12px;overflow:hidden;box-shadow:0 6px 18px rgba(0,0,0,.08)}
th,td{padding:13px;border-bottom:1px solid #e5e7eb;text-align:left}
th{background:var(--navy);color:white}
tr:last-child td{border-bottom:0}
.league-name{margin:0;color:var(--navy);font-weight:700}
.table-note{margin:4px 0 16px;color:var(--muted)}
.table-wrap{overflow-x:auto;border-radius:12px;box-shadow:0 6px 18px rgba(0,0,0,.08)}
.table-wrap table{min-width:600px;box-shadow:none}
.league-table th,.league-table td{padding:11px 8px}
.league-table th:not(:nth-child(2)),.league-table td:not(:nth-child(2)){text-align:center}
.league-table .current-club td{background:#fff3bd;color:var(--navy)}
.league-table .current-club td:first-child{box-shadow:inset 5px 0 0 var(--gold)}
.table-source{margin:12px 2px 0;color:var(--muted);font-size:14px}
.table-source a{color:var(--blue);font-weight:700}
.badge{display:inline-block;background:var(--gold);color:var(--dark);font-weight:800;border-radius:999px;padding:4px 10px}
.stats-title{margin-top:30px}
.stats-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.stat-card{padding:18px}
.stat-card table{font-size:14px;box-shadow:none}
.stat-card th,.stat-card td{padding:9px 8px}
.stat-card th:first-child,.stat-card td:first-child{width:54px;text-align:center}
.stat-card th:last-child,.stat-card td:last-child{text-align:center}
footer{background:var(--dark);color:var(--white);text-align:center;padding:24px;margin-top:30px}
.socials{display:flex;justify-content:center;flex-wrap:wrap;gap:20px;margin:0 0 14px}
.socials a{display:inline-flex;align-items:center;gap:7px;color:var(--gold);font-weight:700;text-decoration:none}
.socials a:hover{text-decoration:underline}
.social-icon{width:22px;height:22px}
.copyright{margin:0;color:#d7dde5;font-size:14px}
.small{color:var(--muted);font-size:14px}
.form-box input,.form-box textarea{width:100%;padding:12px;border:1px solid #cfd8e3;border-radius:8px;margin:7px 0 12px}
.form-box button{border:0;cursor:pointer}
.fixtures-table{min-width:620px}
.pitch-location{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.35fr);gap:18px;align-items:stretch}
.card.pitch-map{padding:0;overflow:hidden;min-height:340px}
.pitch-map iframe{display:block;width:100%;height:100%;min-height:340px;border:0}
@media(max-width:680px){.pitch-location{grid-template-columns:1fr;gap:14px}.pitch-map,.pitch-map iframe{min-height:300px}}
.match-panels{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:22px}
.match-panel{min-width:0}
.match-list{list-style:none;margin:0;padding:0}
.match-list li{padding:14px 0;border-top:1px solid #e5e7eb}
.match-meta{margin:0 0 7px;color:var(--muted);font-size:13px}
.match-line{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:12px;align-items:center;margin:0;font-size:14px;line-height:1.4}
.match-line span:first-child{text-align:right}
.match-line strong{background:#fff3bd;color:var(--navy);padding:5px 9px;border-radius:6px;white-space:nowrap}
section[aria-label="Reserves league standings"]{margin-top:34px}
@media(max-width:680px){.match-panels{grid-template-columns:1fr;gap:14px}.match-line{gap:8px}}

@media(max-width:900px){
  .container{padding:24px 16px}
  .card{padding:20px}
  .section-title{font-size:28px}
  nav a{padding:14px 15px}
  .stats-grid{grid-template-columns:1fr}
}

@media(max-width:680px){
  header.hero{padding:24px 16px}
  .club-logo{width:82px;height:82px;margin-bottom:8px}
  .hero h1{font-size:28px}
  .hero p{font-size:15px}
  nav{position:static}
  .nav-wrap{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));max-width:none}
  nav a{display:flex;align-items:center;justify-content:center;min-height:48px;padding:10px 8px;text-align:center;font-size:14px;line-height:1.25;border-bottom:1px solid rgba(255,255,255,.08)}
  nav a:last-child:nth-child(odd){grid-column:1/-1}
  .container{padding:20px 14px}
  .grid{grid-template-columns:1fr;gap:14px}
  .home-stack{gap:14px}
  .card{padding:18px;border-radius:12px}
  .section-title{font-size:25px;line-height:1.25}
  .notice{padding:12px 14px}
  .table-wrap{border-radius:10px}
  .league-table th,.league-table td{padding:10px 7px}
  .btn{width:100%;min-height:48px;text-align:center}
  .form-box input,.form-box textarea{font-size:16px}
  footer{padding:22px 16px}
  .socials{gap:14px 18px}
}

@media(max-width:380px){
  .hero h1{font-size:25px}
  .hero p{font-size:14px}
  .container{padding-inline:12px}
  .card{padding:16px}
  .socials{flex-direction:column;align-items:center;gap:10px}
}

/* Homepage cards: centred content and consistent call-to-action placement */
.home-centered .card{text-align:center;display:flex;flex-direction:column;align-items:center;justify-content:center}
.home-centered .card h3{width:100%;margin-bottom:10px}
.home-centered .card p{max-width:740px;margin:0 auto 12px}
.home-centered .card .btn{align-self:center}
@media(max-width:680px){.home-centered .card .btn{width:100%;max-width:360px}}

.home-news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;align-items:stretch}
.home-news-card{display:flex;flex-direction:column;align-items:stretch;text-align:left;min-width:0}
.home-news-card .btn{margin-top:auto;align-self:flex-start}
.home-news-kicker{margin:0 0 4px;color:var(--blue);font-size:12px;font-weight:800;letter-spacing:.1em;text-transform:uppercase}
.home-news-card h2{margin:0 0 12px;color:var(--navy);font-size:23px;line-height:1.25}
.home-news-card h3{margin:0 0 4px;color:var(--navy);font-size:15px}
.home-news-match{padding:12px 0;border-top:1px solid #dce2e9}
.home-match-date{margin:2px 0 6px;color:var(--muted);font-size:13px}
.home-match-score{display:flex;align-items:center;justify-content:center;gap:8px;margin:0;font-size:14px;text-align:center;line-height:1.4}
.home-match-score strong{flex-shrink:0;background:#fff3bd;color:var(--navy);padding:4px 8px;border-radius:6px;white-space:nowrap}
.home-match-status{width:100%;margin:auto 0 8px;padding-top:8px;text-align:left}
.home-league-link{color:var(--blue);font-weight:700;text-decoration:none}
.home-league-link:hover{text-decoration:underline}
@media(max-width:900px){.home-news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-news-card:last-child{grid-column:1/-1}}
@media(max-width:680px){.home-news-grid{grid-template-columns:1fr;gap:14px}.home-news-card:last-child{grid-column:auto}.home-match-score{gap:6px;font-size:13px}}
.home-fixture-feature{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);margin:24px 0 20px;overflow:hidden;border-radius:16px;background:linear-gradient(135deg,var(--navy),var(--blue));color:var(--white);box-shadow:0 8px 24px rgba(7,29,58,.16)}
.home-fixture-photo{min-height:360px}
.home-fixture-photo img{display:block;width:100%;height:100%;min-height:360px;object-fit:cover}
.home-fixture-content{padding:30px 32px}
.home-fixture-kicker{margin:0 0 5px;color:var(--gold);font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.home-fixture-content h2{margin:0;color:var(--white);font-size:28px;line-height:1.2}
.home-fixture-intro{margin:8px 0 14px;color:#eef3f8}
.home-fixture-team{padding:12px 0;border-top:1px solid rgba(255,255,255,.22)}
.home-fixture-team h3{margin:0;color:var(--gold);font-size:15px}
.home-fixture-team .home-match-date{margin:2px 0 6px;color:#dbe7f3}
.home-fixture-team .home-match-score{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;gap:10px;font-weight:700}
.home-fixture-team .home-match-score span:first-child{text-align:right;overflow-wrap:anywhere}
.home-fixture-team .home-match-score span:last-child{text-align:left;overflow-wrap:anywhere}
.home-fixture-team .home-match-score strong{background:var(--gold);color:var(--dark)}
.home-fixture-status{margin:12px 0 8px;color:#dbe7f3;font-size:12px}
.home-fixture-link{display:inline-block;margin-top:4px;color:var(--gold);font-weight:800;text-decoration:none}
.home-fixture-link:hover{text-decoration:underline}
@media(max-width:680px){.home-fixture-feature{grid-template-columns:1fr;margin:16px 0}.home-fixture-photo,.home-fixture-photo img{min-height:220px;height:220px}.home-fixture-content{padding:22px 18px}.home-fixture-content h2{font-size:24px}}
.home-sponsor{margin-top:22px;padding:30px 22px;border-radius:14px;background:linear-gradient(135deg,var(--navy),var(--blue));color:var(--white);text-align:center;box-shadow:0 6px 18px rgba(0,0,0,.12)}
.home-sponsor-kicker{margin:0 0 4px;color:var(--gold);font-size:12px;font-weight:800;letter-spacing:.12em;text-transform:uppercase}
.home-sponsor h2{margin:0;color:var(--white);font-size:28px;line-height:1.25;text-transform:uppercase}
.home-sponsor>p:not(.home-sponsor-kicker){margin:8px auto 12px;color:#eef3f8}
.home-sponsor .btn{margin-top:4px}
@media(max-width:680px){.home-sponsor{margin-top:16px;padding:24px 18px}.home-sponsor h2{font-size:24px}}

.about-intro{margin-top:24px;padding:30px 32px}
.about-intro .section-title{margin:0}
.about-motto{margin:4px 0 16px;color:var(--blue);font-size:21px;font-weight:800}
.about-intro p:last-child{margin-bottom:0}
.about-journey{margin-top:26px;padding:24px 26px;border-left:5px solid var(--gold);border-radius:12px;background:#eaf0f7}
.about-journey h2{margin:0 0 8px;color:var(--navy);font-size:24px}
.about-journey .about-motto{margin:12px 0 0}
.about-hashtag{margin:2px 0 6px;color:var(--navy);font-size:18px}
@media(max-width:680px){.about-intro{padding:22px 18px}.about-motto{font-size:19px}.about-journey{padding:20px 18px}}

.players-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:2px 24px;list-style:none;margin:16px 0 0;padding:0;text-transform:capitalize}.players-grid li{padding:8px 0;border-bottom:1px solid #e5e7eb}

