/* ============================================================
   WBFC Ghost Theme — Whitehill & Bordon FC
   Based on Casper. Brand: #1b2838 / #9f1f33 / #BD9B6B
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Source+Serif+4:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS Variables ── */
:root {
  --navy:       #1b2838;
  --navy-dark:  #131e2a;
  --navy-light: #243345;
  --red:        #9f1f33;
  --red-dark:   #7d1828;
  --red-light:  #b82238;
  --gold:       #BD9B6B;
  --gold-light: #d4b88a;
  --gold-dark:  #a07d4f;
  --white:      #ffffff;
  --off-white:  #f8f7f5;
  --light-grey: #edecea;
  --mid-grey:   #999;
  --dark-grey:  #444;
  --text:       #2d2d2d;
  --font-head:  'Oswald', sans-serif;
  --font-body:  'Source Serif 4', serif;
  --font-ui:    'Inter', sans-serif;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-weight: 300;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: var(--red); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--red-dark); }

h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--navy);
  margin: 0 0 0.75em;
}

p { line-height: 1.7; margin: 0 0 1.25em; }

/* ── Ticker Bar ── */
.ticker-bar {
  background: var(--red);
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0;
  height: 32px;
  display: flex;
  align-items: center;
  overflow: hidden;
  position: relative;
}

.ticker-bar__label {
  background: var(--navy-dark);
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  gap: 6px;
}

.ticker-bar__label svg { width: 12px; height: 12px; fill: var(--gold); }

.ticker-track {
  display: flex;
  animation: ticker 30s linear infinite;
  white-space: nowrap;
}

.ticker-track span {
  padding: 0 48px 0 0;
  opacity: 0.95;
}

.ticker-track a {
  color: var(--white);
  font-weight: 600;
}

@keyframes ticker {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ── Site Header / Nav ── */
.site-header {
  background: var(--navy);
  position: sticky;
  top: 0;
  z-index: 1000;
  border-bottom: 3px solid var(--red);
  box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.site-header__inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  gap: 32px;
}

.site-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.site-logo img {
  height: 44px;
  width: auto;
}

.site-logo__text {
  font-family: var(--font-head);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  line-height: 1.1;
}

.site-logo__text span {
  display: block;
  font-size: 0.65rem;
  font-weight: 400;
  color: var(--gold);
  letter-spacing: 0.12em;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-left: auto;
  list-style: none;
  padding: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.site-nav a {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  padding: 8px 12px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
  white-space: nowrap;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.1);
}

.site-nav__cta {
  background: var(--red) !important;
  color: var(--white) !important;
  border-radius: 4px;
  padding: 8px 16px !important;
  margin-left: 8px;
}

.site-nav__cta:hover {
  background: var(--red-dark) !important;
}

/* Dropdown nav */
.nav-item { position: relative; }

.nav-item:hover .nav-dropdown { display: block; }

.nav-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--navy-dark);
  border: 1px solid rgba(255,255,255,0.1);
  border-top: 2px solid var(--red);
  min-width: 160px;
  border-radius: 0 0 6px 6px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  z-index: 100;
}

.nav-dropdown a {
  display: block;
  padding: 10px 16px !important;
  border-radius: 0 !important;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  font-size: 0.75rem !important;
}

.nav-dropdown a:last-child { border-bottom: none; }

/* Mobile menu toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  margin: 5px 0;
  transition: all 0.3s;
}

/* ── Hero ── */
.site-hero {
  position: relative;
  height: 560px;
  overflow: hidden;
  display: flex;
  align-items: flex-end;
}

.site-hero__bg {
  position: absolute;
  inset: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.site-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(27,40,56,0.3) 0%,
    rgba(27,40,56,0.5) 40%,
    rgba(27,40,56,0.85) 100%
  );
  z-index: 1;
}

.site-hero__content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px 48px;
  width: 100%;
}

.site-hero__title {
  font-family: var(--font-head);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  margin: 0 0 8px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.4);
}

.site-hero__title span { color: var(--gold); }

.site-hero__sub {
  font-family: var(--font-ui);
  font-size: 1rem;
  color: rgba(255,255,255,0.8);
  margin: 0 0 20px;
  font-weight: 300;
}

.site-hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 20px;
}

.hero-badge {
  font-family: var(--font-ui);
  font-size: 0.73rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.85);
  display: flex;
  align-items: center;
  gap: 6px;
}

.hero-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: var(--gold);
  border-radius: 50%;
}

.site-hero__ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 20px;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  text-decoration: none;
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}
.btn-primary:hover { background: var(--red-dark); color: var(--white); }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.5);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

.btn-gold {
  background: var(--gold);
  color: var(--navy);
}
.btn-gold:hover { background: var(--gold-dark); color: var(--navy); }

/* ── Section Wrapper ── */
.section {
  padding: 56px 24px;
}

.section--dark {
  background: var(--navy);
  color: var(--white);
}

.section--dark h2,
.section--dark h3 { color: var(--white); }

.section--grey { background: var(--off-white); }

.section--gold-stripe {
  border-top: 4px solid var(--gold);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
}

.section-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 16px;
}

.section-title {
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0;
  position: relative;
  padding-bottom: 8px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 3px;
  background: var(--red);
}

.section--dark .section-title { color: var(--white); }
.section--dark .section-title::after { background: var(--gold); }

.section-link {
  font-family: var(--font-ui);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--red);
  white-space: nowrap;
}

.section--dark .section-link { color: var(--gold); }

/* ── Next Game / Results ── */
.match-zone {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.match-card {
  background: var(--navy);
  border-radius: 8px;
  padding: 28px;
  color: var(--white);
}

.match-card__label {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.match-card__label::before {
  content: '';
  display: block;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.match-card__meta {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.match-fixture {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.match-team {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex: 1;
}

.match-team__badge {
  width: 52px;
  height: 52px;
  object-fit: contain;
}

.match-team__badge--placeholder {
  width: 52px;
  height: 52px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 1rem;
  color: var(--gold);
  font-weight: 700;
}

.match-team__name {
  font-family: var(--font-ui);
  font-size: 0.78rem;
  font-weight: 600;
  text-align: center;
  color: var(--white);
  line-height: 1.3;
}

.match-vs {
  font-family: var(--font-head);
  font-size: 1.4rem;
  font-weight: 700;
  color: rgba(255,255,255,0.3);
  flex-shrink: 0;
}

.match-score {
  font-family: var(--font-head);
  font-size: 2rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
  flex-shrink: 0;
  text-align: center;
}

.match-kickoff {
  font-family: var(--font-head);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  text-align: center;
  margin-top: 16px;
}

/* Results list */
.results-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.result-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 12px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.result-row:last-child { border-bottom: none; }

.result-team {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--white);
}

.result-team--home { text-align: right; }
.result-team--away { text-align: left; }

.result-team--wbfc { color: var(--gold); font-weight: 600; }

.result-score {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  background: rgba(255,255,255,0.08);
  padding: 4px 10px;
  border-radius: 4px;
  text-align: center;
  white-space: nowrap;
  min-width: 56px;
}

.result-score--win { background: rgba(159,31,51,0.4); color: var(--white); }
.result-score--draw { background: rgba(189,155,107,0.3); color: var(--gold); }
.result-score--loss { background: rgba(255,255,255,0.06); }

.result-meta {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.4);
  letter-spacing: 0.04em;
  margin-top: 3px;
}

/* ── News Cards ── */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.news-card {
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--light-grey);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(27,40,56,0.15);
}

.news-card__image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.news-card__image-placeholder {
  width: 100%;
  height: 200px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.news-card__image-placeholder svg {
  width: 40px;
  height: 40px;
  fill: var(--gold);
  opacity: 0.4;
}

.news-card__body {
  padding: 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.news-card__tag {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 8px;
}

.news-card__title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  line-height: 1.3;
  margin: 0 0 10px;
  flex: 1;
}

.news-card__excerpt {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: var(--mid-grey);
  line-height: 1.5;
  margin: 0 0 14px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card__meta {
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: var(--mid-grey);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: auto;
}

.news-card__meta::before {
  content: '';
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--gold);
}

/* ── Instagram Section ── */
.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.instagram-placeholder {
  aspect-ratio: 1;
  background: var(--navy-light);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-ui);
  font-size: 0.75rem;
}

.instagram-embed-wrapper {
  width: 100%;
}

/* ── YouTube Section ── */
.youtube-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.youtube-card {
  position: relative;
  border-radius: 6px;
  overflow: hidden;
  background: var(--navy-light);
  aspect-ratio: 16/9;
  cursor: pointer;
}

.youtube-card iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* ── Newsletter ── */
.newsletter-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.newsletter-section__content h2 {
  font-size: 1.8rem;
  color: var(--white);
}

.newsletter-section__content h2 span { color: var(--gold); }

.newsletter-benefits {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-benefits li {
  font-family: var(--font-ui);
  font-size: 0.88rem;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  gap: 10px;
}

.newsletter-benefits li::before {
  content: '✓';
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  background: var(--gold);
  color: var(--navy);
  border-radius: 50%;
  font-size: 0.65rem;
  font-weight: 700;
  flex-shrink: 0;
}

.newsletter-form {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 32px;
}

.newsletter-form h3 {
  font-family: var(--font-head);
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 6px;
}

.form-group input {
  width: 100%;
  padding: 11px 14px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 5px;
  color: var(--white);
  font-family: var(--font-ui);
  font-size: 0.88rem;
  transition: border-color 0.2s;
}

.form-group input:focus {
  outline: none;
  border-color: var(--gold);
}

.form-group input::placeholder { color: rgba(255,255,255,0.3); }

.form-submit {
  width: 100%;
  padding: 12px;
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 5px;
  font-family: var(--font-ui);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 6px;
  transition: background 0.2s;
}

.form-submit:hover { background: var(--red-dark); }

.form-note {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  color: rgba(255,255,255,0.35);
  text-align: center;
  margin-top: 10px;
}

/* ── Sponsors ── */
.sponsors-bar {
  background: var(--off-white);
  border-top: 1px solid var(--light-grey);
  padding: 32px 24px;
}

.sponsors-label {
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--mid-grey);
  text-align: center;
  margin-bottom: 20px;
}

.sponsors-grid {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 40px;
  max-width: 1280px;
  margin: 0 auto;
}

.sponsors-grid img {
  height: 44px;
  width: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: filter 0.2s, opacity 0.2s;
}

.sponsors-grid img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

/* ── Site Footer ── */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.6);
  padding: 40px 24px 24px;
  border-top: 3px solid var(--red);
}

.site-footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand__logo {
  height: 52px;
  width: auto;
  margin-bottom: 14px;
}

.footer-brand__desc {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  line-height: 1.6;
  color: rgba(255,255,255,0.5);
  margin-bottom: 16px;
}

.footer-social {
  display: flex;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255,255,255,0.08);
  border-radius: 4px;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
  transition: background 0.2s, color 0.2s;
}

.footer-social a:hover {
  background: var(--red);
  color: var(--white);
}

.footer-col__title {
  font-family: var(--font-head);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0 0 14px;
}

.footer-col ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-col a {
  font-family: var(--font-ui);
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  transition: color 0.2s;
}

.footer-col a:hover { color: var(--white); }

.site-footer__bottom {
  max-width: 1280px;
  margin: 0 auto;
  padding-top: 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  gap: 16px;
  flex-wrap: wrap;
}

/* ── Post / Article ── */
.post-header {
  background: var(--navy);
  padding: 48px 24px;
  text-align: center;
}

.post-tag {
  display: inline-block;
  font-family: var(--font-ui);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
}

.post-title {
  font-family: var(--font-head);
  font-size: clamp(1.8rem, 3vw, 2.8rem);
  color: var(--white);
  max-width: 800px;
  margin: 0 auto 16px;
}

.post-meta {
  font-family: var(--font-ui);
  font-size: 0.8rem;
  color: rgba(255,255,255,0.5);
}

.post-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
}

.post-content {
  max-width: 740px;
  margin: 0 auto;
  padding: 48px 24px;
}

.post-content p { font-size: 1.05rem; line-height: 1.8; color: var(--text); }
.post-content h2 { font-size: 1.5rem; margin-top: 2em; }
.post-content h3 { font-size: 1.2rem; }
.post-content blockquote {
  border-left: 4px solid var(--red);
  margin: 2em 0;
  padding: 12px 24px;
  background: var(--off-white);
  font-style: italic;
  color: var(--dark-grey);
}

/* ── Tag / Archive pages ── */
.tag-header {
  background: var(--navy);
  padding: 48px 24px;
  text-align: center;
}

.tag-header h1 { color: var(--white); font-size: 2rem; margin-bottom: 8px; }
.tag-header p { color: rgba(255,255,255,0.5); font-family: var(--font-ui); }

/* ── Utilities ── */
.text-gold { color: var(--gold); }
.text-red  { color: var(--red); }
.text-navy { color: var(--navy); }
.text-center { text-align: center; }

.divider {
  border: none;
  border-top: 1px solid var(--light-grey);
  margin: 0;
}

.divider--gold { border-color: var(--gold); opacity: 0.3; }

/* ── Embed wrapper ── */
.embed-responsive {
  position: relative;
  width: 100%;
  background: var(--navy-light);
  border-radius: 8px;
  overflow: hidden;
  min-height: 200px;
}

.embed-responsive iframe {
  width: 100%;
  display: block;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
  .match-zone { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: repeat(2, 1fr); }
  .site-footer__inner { grid-template-columns: 1fr 1fr; gap: 32px; }
  .newsletter-section { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  .site-header__inner { height: 56px; }
  .site-nav { display: none; }
  .site-nav.open { 
    display: flex; 
    flex-direction: column; 
    position: absolute;
    top: 56px;
    left: 0; right: 0;
    background: var(--navy-dark);
    padding: 16px;
    border-top: 2px solid var(--red);
    gap: 4px;
  }
  .nav-toggle { display: flex; flex-direction: column; }
  .site-hero { height: 420px; }
  .news-grid { grid-template-columns: 1fr; }
  .youtube-grid { grid-template-columns: 1fr; }
  .instagram-grid { grid-template-columns: repeat(3, 1fr); gap: 6px; }
  .site-footer__inner { grid-template-columns: 1fr; }
  .site-footer__bottom { flex-direction: column; text-align: center; }
  .section { padding: 40px 16px; }
}

@media (max-width: 480px) {
  .site-hero__ctas { flex-direction: column; }
  .match-fixture { gap: 8px; }
  .result-team { font-size: 0.72rem; }
}

/* ── Ghost custom font support (Settings → Branding) ── */
:root {
  --gh-font-heading: var(--font-head);
  --gh-font-body: var(--font-body);
}
.gh-content h1, .gh-content h2, .gh-content h3,
.gh-content h4, .gh-content h5, .gh-content h6,
.post-title, .site-hero__title,
.section-title, .news-card__title, .footer-col__title {
  font-family: var(--gh-font-heading, var(--font-head));
}
body, .gh-content {
  font-family: var(--gh-font-body, var(--font-body));
}

/* ── Koenig editor (required by Ghost) ── */
.gh-content {
  display: grid;
  grid-template-columns:
    [full-start]
    minmax(16px, auto)
    [wide-start]
    minmax(auto, 240px)
    [main-start]
    min(720px, calc(100% - 32px))
    [main-end]
    minmax(auto, 240px)
    [wide-end]
    minmax(16px, auto)
    [full-end];
}
.gh-content > * {
  grid-column: main-start / main-end;
}
.gh-content > .kg-width-wide {
  grid-column: wide-start / wide-end;
}
.gh-content > .kg-width-full {
  grid-column: full-start / full-end;
}
.gh-content > figure {
  margin: 0;
}
.gh-content figure img {
  width: 100%;
  height: auto;
}
.kg-image-card.kg-width-full img {
  width: 100vw;
}
.kg-bookmark-card,
.kg-bookmark-container {
  display: flex;
  width: 100%;
  text-decoration: none;
  border: 1px solid var(--light-grey);
  border-radius: 6px;
  overflow: hidden;
}
.kg-gallery-container {
  display: flex;
  flex-direction: column;
  max-width: 1040px;
  margin: 0 auto;
}
.kg-gallery-row {
  display: flex;
  flex-direction: row;
  justify-content: center;
}
.kg-gallery-image img {
  display: block;
  margin: 0;
  width: 100%;
  height: 100%;
}
