/* ============ Accessibility ============ */
.skip-link {
  position: absolute;
  top: -100px;
  left: 16px;
  background: var(--ink);
  color: #fff;
  padding: .7em 1.2em;
  font-family: var(--mono);
  font-size: .85rem;
  text-decoration: none;
  z-index: 9999;
  transition: top .1s;
}
.skip-link:focus { top: 16px; }

/* Ensure focus rings visible on all interactive elements */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible { outline: 3px solid var(--gold-text); outline-offset: 3px; }

/* Screen-reader only utility */
.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0,0,0,0);
  white-space: nowrap; border: 0;
}

/*
Theme Name: Yorkshire Fencing
Theme URI: https://yorkshirefencing.co.uk
Author: Yorkshire Fencing
Description: Bold blue and gold theme for Yorkshire Fencing — club finder, events, competition pathway and club support.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: yorkshire-fencing
*/

/* ============ Tokens ============ */
:root {
  --white:      #FBFBF9;
  --ink:        #0D1117;
  --steel:      #4E5A68;
  --line:       #E2E1D9;
  --blue:       #1156D6;
  --blue-deep:  #0A3A99;
  --blue-wash:  #EAF1FE;
  --sky:        #5E9BF2;
  --gold:       #E8A020;
  --gold-deep:  #C47D0A;
  --gold-wash:  #FEF6E4;
  --gold-text:  #9A5F06;
  --display:    'Archivo', system-ui, sans-serif;
  --body:       'Figtree', system-ui, sans-serif;
  --mono:       'Space Mono', ui-monospace, monospace;
  --max:        1160px;
  --skew:       -4deg;
}

/* ============ Reset ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  font-family: var(--body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.65;
  font-size: 1.0625rem;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 28px; }

/* ============ Typography ============ */
h1, h2, h3, .disp {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -.01em;
  line-height: .93;
}
h1 { font-size: clamp(2.8rem, 8.5vw, 5.8rem); }
h2 { font-size: clamp(1.9rem, 4.5vw, 3.1rem); margin-bottom: .55em; }
h3 { font-size: 1.2rem; line-height: 1.15; margin-bottom: .35em; }
p  { margin-bottom: 1em; max-width: 65ch; }
.lede { font-size: clamp(1.1rem, 2vw, 1.3rem); color: var(--steel); }

.eyebrow {
  font-family: var(--mono);
  font-size: .74rem;
  text-transform: uppercase;
  letter-spacing: .18em;
  display: inline-flex;
  align-items: center;
  gap: .7em;
  margin-bottom: 1.2em;
  color: var(--blue);
}
.eyebrow .rose-s { width: 14px; height: 14px; flex-shrink: 0; }
.eyebrow.on-dark { color: var(--gold); }

/* ============ Buttons ============ */
.btn {
  display: inline-block;
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  font-size: .93rem;
  padding: .9em 1.8em;
  text-decoration: none;
  background: var(--blue);
  color: #fff;
  border: 2px solid var(--blue);
  cursor: pointer;
  transform: skewX(var(--skew));
  transition: background .15s, border-color .15s;
}
.btn > span { display: inline-block; transform: skewX(4deg); }
.btn:hover  { background: var(--blue-deep); border-color: var(--blue-deep); }
.btn.ghost  { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn.ghost:hover { background: var(--ink); color: #fff; }
.btn.ghost-white { background: transparent; color: #fff; border-color: #fff; }
.btn.ghost-white:hover { background: #fff; color: var(--ink); }
.btn.gold   { background: var(--gold); border-color: var(--gold); color: var(--ink); }
.btn.gold:hover { background: var(--gold-deep); border-color: var(--gold-deep); }
.btn.on-blue { background: #fff; color: var(--blue); border-color: #fff; }
.btn.on-blue:hover { background: var(--gold); border-color: var(--gold); color: var(--ink); }

/* ============ Header ============ */
.site-head {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(251,251,249,.93);
  backdrop-filter: blur(8px);
  border-bottom: 2px solid var(--ink);
}
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; }

.logo {
  font-family: var(--display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 1.05rem;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: .6em;
  line-height: 1;
}
.logo svg { width: 34px; height: 34px; flex-shrink: 0; }
.logo .wordmark { display: flex; flex-direction: column; }
.logo .strapline {
  font-family: var(--mono);
  font-size: .52rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--steel);
  font-weight: 400;
  margin-top: 3px;
}

.main-nav ul  { display: flex; gap: 1.8em; list-style: none; align-items: center; }
.main-nav a   { text-decoration: none; font-weight: 600; font-size: .93rem; padding: .35em 0; border-bottom: 2px solid transparent; transition: border-color .15s; }
.main-nav a:hover { border-bottom-color: var(--blue); }
.main-nav a.nav-cta {
  font-family: var(--display);
  text-transform: uppercase;
  font-size: .82rem;
  letter-spacing: .04em;
  padding: .5em 1.2em;
  background: var(--gold);
  color: var(--ink);
  border: none;
  transform: skewX(var(--skew));
  display: inline-block;
}
.main-nav a.nav-cta span { display: inline-block; transform: skewX(4deg); }
.main-nav a.nav-cta:hover { background: var(--gold-deep); border-bottom: none; }

.nav-toggle { display: none; background: none; border: 2px solid var(--ink); font-family: var(--mono); font-size: .75rem; padding: .5em .9em; cursor: pointer; text-transform: uppercase; }

/* ============ Hero ============ */
.hero { position: relative; padding: 100px 0 0; overflow: hidden; background: var(--white); }

/* Optional: background video/image via WP Header Media */
.hero.has-media { color: #fff; padding: 140px 0 0; }
.hero.has-media::before { display: none; }
.hero.has-media .lede { color: #CBD8EA; }
.hero.has-media .eyebrow { color: #A9C6F5; }
.hero.has-media .btn.ghost { color: #fff; border-color: #fff; }
.hero-media { position: absolute; inset: 0; z-index: 0; background: var(--ink); }
.hero-media img, .hero-media video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-media::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13,17,23,.85) 0%, rgba(13,17,23,.5) 60%, rgba(13,17,23,.25) 100%); }

.hero-inner { position: relative; z-index: 1; }
.hero h1    { margin-bottom: .2em; }
.hero h1 .hit  { color: var(--blue); }
.hero h1 .hit-g { color: var(--gold); }
.hero .lede { max-width: 36em; margin-bottom: 2.2em; }
.hero-cta   { display: flex; gap: 1em; flex-wrap: wrap; margin-bottom: 64px; }

.hero-rose {
  position: absolute;
  right: -20px;
  top: 46%;
  transform: translateY(-50%) rotate(6deg);
  width: min(500px, 44vw);
  color: var(--blue);
  opacity: .08;
  pointer-events: none;
  z-index: 0;
}
.hero.has-media .hero-rose { color: #fff; opacity: .12; z-index: 1; }

.hero-base { height: 56px; background: var(--ink); clip-path: polygon(0 100%, 100% 0, 100% 100%); margin-top: -2px; }

/* ============ Stat band ============ */
.stat-band { background: var(--ink); border-top: 4px solid var(--gold); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2px; background: rgba(255,255,255,.08); }
.stat { padding: 2em 1.8em; background: var(--ink); text-align: center; }
.stat .n { font-family: var(--display); font-weight: 900; font-size: clamp(2.4rem,5vw,3.6rem); color: var(--gold); line-height: 1; display: block; margin-bottom: .2em; }
.stat .l { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .16em; color: #8FA3BC; }

/* ============ Ticker ============ */
.ticker { background: var(--blue); color: #fff; font-family: var(--display); font-weight: 900; text-transform: uppercase; overflow: hidden; white-space: nowrap; padding: .72em 0; border-bottom: 3px solid var(--gold); }
.ticker .inner { display: inline-block; animation: tick 32s linear infinite; }
.ticker span   { margin: 0 1.2em; font-size: 1.05rem; letter-spacing: .06em; }
.ticker .dot   { color: var(--gold); }
@keyframes tick { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ============ Sections ============ */
.section { padding: 96px 0; }
.section.alt       { background: var(--blue-wash); }
.section.gold-wash { background: var(--gold-wash); }
.section.dark      { background: var(--ink); color: #fff; }
.section.dark p, .section.dark .lede { color: #9FB0C5; }
.section.dark h2, .section.dark h3   { color: #fff; }
.section.blue      { background: var(--blue); color: #fff; }
.section.blue p, .section.blue .lede { color: #DDEEFF; }
.section.blue h2, .section.blue h3   { color: #fff; }
.sec-head { margin-bottom: 2.6em; }

/* ============ Weapons ============ */
.weapons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--ink); }
.weapon {
  background: var(--white);
  padding: 2.4em 2em;
  position: relative;
  overflow: hidden;
}
.weapon::after {
  content: attr(data-num);
  font-family: var(--display);
  font-weight: 900;
  font-size: 7rem;
  line-height: 1;
  position: absolute;
  right: -8px;
  bottom: -18px;
  color: var(--line);
  pointer-events: none;
}
.weapon .tag { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .15em; color: var(--blue); display: block; margin-bottom: .8em; }
.weapon h3   { font-size: 2rem; font-family: var(--display); font-weight: 900; text-transform: uppercase; margin-bottom: .4em; }
.weapon .target {
  font-family: var(--mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  padding: .4em .85em;
  background: var(--blue);
  color: #fff;
  display: inline-block;
  margin-bottom: .9em;
}
.weapon.w-epee .target   { background: var(--ink); }
.weapon.w-sabre .target  { background: var(--gold); color: var(--ink); }
.weapon { color: var(--ink); }
.weapon p { font-size: .97rem; color: var(--steel); margin: 0; position: relative; z-index: 1; }
.weapon p strong { color: var(--ink); }
.weapon h3 { color: var(--ink); }

/* ============ Cards / grid ============ */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6em; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.6em; }

.card { background: #fff; border: 1px solid var(--line); padding: 1.8em; display: flex; flex-direction: column; gap: .4em; color: var(--ink); }
.section.dark .card { background: #1A2133; border-color: #243047; color: #fff; }
.card .meta { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .12em; color: var(--steel); }
.card h3   { color: var(--ink); }
.card h3 a { text-decoration: none; color: var(--ink); }
.card h3 a:hover { color: var(--blue-deep); }
.card p    { color: var(--steel); }
.card .more { margin-top: auto; padding-top: 1em; font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--blue); }
.section.dark .card h3   { color: #fff; }
.section.dark .card h3 a { color: #fff; }
.section.dark .card p    { color: #9FB0C5; }
.section.dark .card .more { color: var(--sky); }

/* Weapon list on club cards */
.wl { display: flex; gap: .4em; flex-wrap: wrap; margin: .3em 0 .5em; }
.wl span { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .08em; border: 1px solid var(--line); padding: .25em .65em; background: var(--blue-wash); color: var(--blue-deep); }

/* ============ Filters ============ */
.filters { display: flex; flex-wrap: wrap; gap: .6em; margin-bottom: 2em; }
.chip { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .1em; padding: .55em 1.2em; border: 2px solid var(--ink); background: transparent; cursor: pointer; transition: background .1s; }
.chip:hover  { background: var(--blue-wash); }
.chip.active { background: var(--ink); color: #fff; border-color: var(--ink); }

/* ============ Club support cards ============ */
.support-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 2px; background: var(--blue-deep); }
.support-card { background: #fff; padding: 2.4em 2.2em; position: relative; }
.support-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; }
.support-card:nth-child(1)::before { background: var(--gold); }
.support-card:nth-child(2)::before { background: var(--blue); }
.support-card:nth-child(3)::before { background: var(--sky); }
.support-card:nth-child(4)::before { background: var(--gold-deep); }
.support-card:nth-child(5)::before { background: var(--blue-deep); }
.support-card:nth-child(6)::before { background: var(--gold); }
.support-card { color: var(--ink); }
.support-card .sc-tag { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--blue); margin-bottom: .5em; display: block; }
.support-card .sc-icon { font-size: 2rem; margin-bottom: .8em; line-height: 1; }
.support-card h3 { font-size: 1.25rem; margin-bottom: .5em; color: var(--ink) !important; }
.support-card p  { color: var(--steel) !important; font-size: .97rem; margin: 0; }

/* ============ Pathway ============ */
.pathway { list-style: none; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; background: var(--line); }
.pathway li { background: var(--white); padding: 2em 1.8em; border-right: 1px solid var(--line); }
.pathway li:last-child { border-right: none; }
.section.dark .pathway li { background: #1A2133; border-color: #243047; }
.pathway .n { font-family: var(--display); font-weight: 900; font-size: 3.5rem; color: var(--gold-text); line-height: 1; display: block; margin-bottom: .4em; }
.pathway .stage { font-family: var(--mono); font-size: .68rem; text-transform: uppercase; letter-spacing: .14em; color: var(--steel); display: block; margin-bottom: .5em; }
.section.dark .pathway .stage { color: #6B8BA8; }
.section.dark .pathway .n { color: var(--gold); }
.pathway h3 { font-size: 1.15rem; }
.pathway p  { font-size: .95rem; color: var(--steel); margin-top: .4em; margin-bottom: 0; }
.section.dark .pathway p { color: #9FB0C5; }

/* ============ Events ============ */
.event-row { display: grid; grid-template-columns: 140px 1fr auto; gap: 2em; align-items: center; padding: 1.6em 0; border-bottom: 2px solid var(--line); }
.section.gold-wash .event-row { border-bottom-color: rgba(196,125,10,.2); }
.event-date { font-family: var(--display); font-weight: 900; font-size: 1rem; text-transform: uppercase; line-height: 1.2; }
.event-date .day { font-size: 3rem; color: var(--gold-text); line-height: 1; display: block; }
.event-row h3 { margin: 0; font-size: 1.25rem; }
.event-row h3 a { text-decoration: none; }
.event-row h3 a:hover { color: var(--blue-deep); }
.venue { font-size: .92rem; color: var(--steel); margin: .2em 0 0; }
.badge { font-family: var(--mono); font-size: .64rem; text-transform: uppercase; letter-spacing: .1em; padding: .3em .75em; display: inline-block; margin-left: .6em; vertical-align: middle; }
.badge.level-yorks   { background: var(--blue); color: #fff; }
.badge.level-regional { background: var(--gold); color: var(--ink); }
.badge.level-national { background: var(--ink); color: #fff; }

/* ============ Entry / page content ============ */
.entry { padding: 72px 0; }
.entry-content h2 { font-size: 1.6rem; margin-top: 1.6em; }
.entry-content h3 { margin-top: 1.4em; }
.entry-content ul, .entry-content ol { margin: 0 0 1.2em 1.4em; }
.entry-content li { margin-bottom: .4em; }
.meta-table { width: 100%; border-collapse: collapse; margin: 1.6em 0; max-width: 560px; }
.meta-table th, .meta-table td { text-align: left; padding: .7em .2em; border-bottom: 1px solid var(--line); font-size: .95rem; vertical-align: top; }
.meta-table th { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--steel); width: 34%; font-weight: 400; }

/* ============ CTA band ============ */
.cta-band { background: var(--blue); color: #fff; padding: 80px 0; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 8px; background: repeating-linear-gradient(180deg, var(--gold) 0 18px, transparent 18px 28px); }
.cta-band::after  { content: ""; position: absolute; right: 0; top: 0; bottom: 0; width: 8px; background: repeating-linear-gradient(180deg, var(--gold) 0 18px, transparent 18px 28px); }
.cta-band h2   { color: #fff; }
.cta-band .lede { color: #DDEEFF; }
.cta-band .wrap { position: relative; z-index: 1; }
.cta-band .btn-row { display: flex; gap: 1em; flex-wrap: wrap; margin-top: 1.6em; }
.cta-rose { position: absolute; right: 5%; top: 50%; transform: translateY(-50%); width: 260px; color: #fff; opacity: .12; pointer-events: none; }

/* ============ Partners / store ============ */
.partners { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.6em; }
.partner  { border: 1px solid var(--line); padding: 1.8em; background: #fff; display: flex; flex-direction: column; gap: .4em; color: var(--ink); }
.partner .meta { font-family: var(--mono); font-size: .72rem; text-transform: uppercase; letter-spacing: .1em; color: var(--steel); }
.partner .more { margin-top: auto; padding-top: 1em; font-weight: 700; font-size: .9rem; text-decoration: none; color: var(--blue); }

/* ============ Footer ============ */
.site-foot { background: var(--ink); color: #8FA3BC; padding: 64px 0 44px; border-top: 4px solid var(--gold); }
.site-foot .cols { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 2.4em; margin-bottom: 2.4em; }
.site-foot h4 { font-family: var(--mono); text-transform: uppercase; letter-spacing: .14em; font-size: .72rem; color: #C5D4E4; margin-bottom: 1em; font-weight: 400; }
.site-foot ul { list-style: none; }
.site-foot li { margin-bottom: .5em; }
.site-foot a  { text-decoration: none; transition: color .12s; }
.site-foot a:hover { color: #fff; }
.site-foot .rose-f { width: 40px; height: 40px; margin-bottom: 1em; }
.legal { font-family: var(--mono); font-size: .72rem; border-top: 1px solid #1E2C3E; padding-top: 1.6em; letter-spacing: .06em; }

/* ============ Responsive ============ */
@media (max-width: 980px) {
  .weapons, .support-grid, .grid-3, .partners { grid-template-columns: 1fr 1fr; }
  .pathway { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .site-foot .cols { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .weapons, .support-grid, .grid-3, .grid-2, .partners, .pathway { grid-template-columns: 1fr; }
  .main-nav { display: none; position: absolute; top: 72px; left: 0; right: 0; background: var(--white); border-bottom: 2px solid var(--ink); padding: 1em 28px 1.4em; }
  .main-nav.open { display: block; }
  .main-nav ul { flex-direction: column; gap: .8em; align-items: flex-start; }
  .nav-toggle { display: block; }
  .event-row { grid-template-columns: 1fr; gap: .4em; }
  .hero-rose { display: none; }
  .site-foot .cols { grid-template-columns: 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .hero { padding: 72px 0 0; }
  .hero.has-media { padding: 90px 0 0; }
  .hero-cta { margin-bottom: 44px; }
}

/* ============ News section ============ */
.news-section { background: var(--white); border-top: 4px solid var(--ink); }

.news-head { margin-bottom: 2.4em; }
.news-head-inner {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1em;
  flex-wrap: wrap;
}
.news-head-inner h2 { margin-bottom: 0; }

/* Lead card (first post) + 2 secondary cards */
.news-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  grid-template-rows: auto;
  gap: 2px;
  background: var(--ink);
}

.news-card {
  background: var(--white);
  display: flex;
  flex-direction: column;
  color: var(--ink);
}

/* Lead card spans both rows on the left */
.news-card--lead {
  grid-row: 1 / 3;
}

/* Image */
.news-card__img { display: block; overflow: hidden; aspect-ratio: 16/9; background: var(--blue-wash); }
.news-card--lead .news-card__img { aspect-ratio: 3/2; }
.news-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.news-card__img:hover img { transform: scale(1.03); }

/* Placeholder when no featured image */
.news-card__img--placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue-wash);
  color: var(--blue);
  opacity: .4;
}
.news-card__img--placeholder svg { width: 56px; height: 56px; }
.news-card--lead .news-card__img--placeholder svg { width: 80px; height: 80px; }

/* Body */
.news-card__body {
  padding: 1.6em;
  display: flex;
  flex-direction: column;
  gap: .3em;
  flex: 1;
}
.news-card--lead .news-card__body { padding: 2em; }

.news-card__date {
  font-family: var(--mono);
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--steel);
}
.news-card__cat {
  font-family: var(--mono);
  font-size: .68rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--blue);
  margin-left: .6em;
}
.news-card__cat a { text-decoration: none; color: inherit; }

.news-card h3 {
  font-size: 1.1rem;
  color: var(--ink);
  margin: .2em 0 .4em;
  line-height: 1.25;
}
.news-card--lead h3 { font-size: 1.6rem; }
.news-card h3 a { text-decoration: none; color: var(--ink); }
.news-card h3 a:hover { color: var(--blue-deep); }

.news-card p { font-size: .95rem; color: var(--steel); margin: 0; flex: 1; }
.news-card--lead p { font-size: 1.05rem; }

.news-card__more {
  margin-top: 1em;
  font-weight: 700;
  font-size: .88rem;
  text-decoration: none;
  color: var(--blue);
}
.news-card__more:hover { color: var(--blue-deep); }

/* Empty state */
.news-empty { padding: 2.4em; border: 2px dashed var(--line); }
.news-empty p { margin-bottom: 1.2em; }

/* News archive (index.php / single.php improvements) */
.news-archive-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.6em;
  margin-top: 2em;
}
.post-card {
  background: #fff;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
  color: var(--ink);
}
.post-card__img { display: block; aspect-ratio: 16/9; overflow: hidden; background: var(--blue-wash); }
.post-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.post-card__img:hover img { transform: scale(1.04); }
.post-card__img--placeholder { display: flex; align-items: center; justify-content: center; color: var(--blue); opacity: .3; }
.post-card__img--placeholder svg { width: 40px; height: 40px; }
.post-card__body { padding: 1.5em; display: flex; flex-direction: column; gap: .35em; flex: 1; }
.post-card__meta { font-family: var(--mono); font-size: .7rem; text-transform: uppercase; letter-spacing: .12em; color: var(--steel); }
.post-card h3 { font-size: 1.15rem; color: var(--ink); margin: .1em 0; }
.post-card h3 a { text-decoration: none; color: var(--ink); }
.post-card h3 a:hover { color: var(--blue-deep); }
.post-card p { font-size: .93rem; color: var(--steel); margin: 0; flex: 1; }
.post-card__more { margin-top: .9em; font-weight: 700; font-size: .87rem; text-decoration: none; color: var(--blue); }

/* Single post */
.post-header { padding: 64px 0 48px; border-bottom: 2px solid var(--line); margin-bottom: 2.4em; }
.post-header .post-meta { font-family: var(--mono); font-size: .74rem; text-transform: uppercase; letter-spacing: .14em; color: var(--steel); margin-bottom: 1em; }
.post-header .post-meta a { color: var(--blue); text-decoration: none; }
.post-feat { margin: 0 0 2.4em; }
.post-feat img { width: 100%; max-height: 520px; object-fit: cover; }
.post-body { max-width: 720px; }
.post-body h2 { font-size: 1.6rem; margin: 1.6em 0 .5em; }
.post-body h3 { font-size: 1.2rem; margin: 1.4em 0 .4em; }
.post-body p  { margin-bottom: 1.1em; color: var(--ink); }
.post-body ul, .post-body ol { margin: 0 0 1.2em 1.4em; }
.post-body li { margin-bottom: .4em; }
.post-body a  { color: var(--blue); }
.post-body blockquote { border-left: 4px solid var(--gold); padding: 1em 1.4em; margin: 1.6em 0; background: var(--gold-wash); }
.post-body blockquote p { margin: 0; font-style: italic; color: var(--ink); }
.post-back { margin-top: 3em; padding-top: 1.6em; border-top: 1px solid var(--line); }

/* Pagination */
.pagination { margin-top: 3em; display: flex; gap: .6em; align-items: center; flex-wrap: wrap; }
.pagination .page-numbers { font-family: var(--mono); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; padding: .6em 1em; border: 2px solid var(--ink); text-decoration: none; color: var(--ink); }
.pagination .page-numbers.current { background: var(--ink); color: #fff; }
.pagination .page-numbers:hover:not(.current) { background: var(--blue-wash); }

@media (max-width: 900px) {
  .news-grid { grid-template-columns: 1fr 1fr; }
  .news-card--lead { grid-row: auto; grid-column: 1 / 3; }
  .news-archive-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .news-grid { grid-template-columns: 1fr; background: none; gap: 1.2em; }
  .news-card--lead { grid-column: auto; }
  .news-archive-grid { grid-template-columns: 1fr; }
  .news-head-inner { flex-direction: column; align-items: flex-start; gap: .8em; }
}


/* ============ Clubs support summary (homepage only) ============ */
.clubs-support-summary {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  background: rgba(255,255,255,.1);
  margin-top: .4em;
}
.css-item {
  background: rgba(255,255,255,.06);
  padding: 1.1em 1.4em;
  display: flex;
  align-items: center;
  gap: .8em;
  border-left: 3px solid var(--gold);
  transition: background .15s;
}
.css-item:nth-child(2) { border-left-color: var(--blue); }
.css-item:nth-child(3) { border-left-color: var(--sky); }
.css-item:nth-child(4) { border-left-color: var(--gold-deep); }
.css-item:nth-child(5) { border-left-color: rgba(255,255,255,.3); }
.css-item:nth-child(6) { border-left-color: var(--gold); }
.css-label {
  font-family: var(--display);
  font-weight: 800;
  text-transform: uppercase;
  font-size: .88rem;
  letter-spacing: .02em;
  color: #fff;
  line-height: 1.2;
}
@media (max-width: 900px) {
  .clubs-support-summary { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .clubs-support-summary { grid-template-columns: 1fr; }
}


/* ============ Homepage club grid — compact 4-col ============ */
.grid-clubs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
  background: var(--line);
}
.grid-clubs .card {
  padding: 1.2em 1.4em;
  gap: .25em;
  border: none;
}
.grid-clubs .card .meta {
  font-size: .68rem;
  margin-bottom: .1em;
}
.grid-clubs .card h3 {
  font-size: 1rem;
  line-height: 1.2;
  margin-bottom: .2em;
}
.grid-clubs .card h3 a { color: var(--ink); text-decoration: none; }
.grid-clubs .card h3 a:hover { color: var(--blue-deep); }
.grid-clubs .card .wl span {
  font-size: .62rem;
  padding: .18em .5em;
}
.grid-clubs .card p {
  font-size: .82rem;
  margin: 0;
  color: var(--steel);
}
.grid-clubs .card .more {
  font-size: .82rem;
  padding-top: .6em;
}
@media (max-width: 980px) {
  .grid-clubs { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 640px) {
  .grid-clubs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 400px) {
  .grid-clubs { grid-template-columns: 1fr; }
}

