/* WorldCupQA - Football themed styles */
:root {
  --field-green: #0a5d3a;
  --field-green-dark: #074024;
  --field-green-light: #128a52;
  --pitch-stripe: #0f6e44;
  --gold: #ffd23f;
  --gold-dark: #e0b020;
  --red: #c8102e;
  --cream: #fdfbf5;
  --paper: #ffffff;
  --ink: #131a17;
  --ink-soft: #38453e;
  --muted: #6b7670;
  --line: #e6e3da;
  --chip: #ecf3ef;
  --shadow-sm: 0 1px 2px rgba(7, 64, 36, .06), 0 1px 1px rgba(7, 64, 36, .04);
  --shadow-md: 0 6px 20px rgba(7, 64, 36, .10);
  --shadow-lg: 0 18px 50px rgba(7, 64, 36, .14);
  --radius: 14px;
  --radius-sm: 8px;
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Bebas Neue', 'Oswald', 'Inter', sans-serif;
  letter-spacing: .02em;
  color: var(--ink);
  line-height: 1.15;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.5rem, 3.5vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); }

p { margin: 0 0 1em; }
a { color: var(--field-green); text-decoration: none; border-bottom: 1px solid rgba(10,93,58,.25); transition: border-color .2s, color .2s; }
a:hover { color: var(--field-green-light); border-bottom-color: var(--field-green-light); }

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

/* ===== Header ===== */
.site-header {
  background: linear-gradient(135deg, var(--field-green-dark) 0%, var(--field-green) 100%);
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 50;
  box-shadow: var(--shadow-md);
}
.site-header::after {
  content: "";
  display: block;
  height: 4px;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold) 25%, var(--red) 25%, var(--red) 50%, var(--field-green-light) 50%, var(--field-green-light) 75%, #fff 75%, #fff 100%);
}
.nav-wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  border: 0;
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-size: 1.6rem;
  letter-spacing: .04em;
}
.brand-ball {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,.25));
}
.brand-text { line-height: 1; }
.brand-text small { display: block; font-size: .55em; color: var(--gold); letter-spacing: .12em; font-family: 'Inter', sans-serif; font-weight: 600; margin-top: 2px; }

.nav-list {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-list a {
  color: rgba(255,255,255,.9);
  border: 0;
  font-weight: 500;
  font-size: .95rem;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background .2s;
}
.nav-list a:hover { background: rgba(255,255,255,.15); color: #fff; }
.nav-list a.active { background: var(--gold); color: var(--ink); }

.nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid rgba(255,255,255,.3);
  color: #fff;
  padding: 8px 10px;
  border-radius: 8px;
  cursor: pointer;
}
.nav-toggle svg { width: 22px; height: 22px; }

/* ===== Hero ===== */
.hero {
  position: relative;
  background:
    linear-gradient(135deg, rgba(7, 64, 36, .92) 0%, rgba(10, 93, 58, .78) 45%, rgba(7, 64, 36, .88) 100%),
    url("../images/hero-bg.jpg") center/cover no-repeat;
  background-color: var(--field-green-dark);
  color: #fff;
  padding: 90px 20px 110px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 85% 15%, rgba(255, 210, 63, .18), transparent 38%),
    radial-gradient(circle at 10% 85%, rgba(200, 16, 46, .14), transparent 42%),
    repeating-linear-gradient(90deg, transparent 0, transparent 120px, rgba(255,255,255,.03) 120px, rgba(255,255,255,.03) 240px);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 100px;
  background: linear-gradient(180deg, transparent 0%, var(--cream) 100%);
  pointer-events: none;
}
.hero-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.hero-tagline {
  display: inline-block;
  background: rgba(255, 210, 63, .2);
  color: var(--gold);
  border: 1px solid rgba(255, 210, 63, .35);
  padding: 6px 14px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 18px;
}
.hero h1 { color: #fff; max-width: 16ch; margin-bottom: 18px; }
.hero p.lead { font-size: 1.18rem; max-width: 60ch; color: rgba(255,255,255,.85); margin-bottom: 30px; }

.search-box {
  display: flex;
  gap: 8px;
  max-width: 580px;
  background: #fff;
  padding: 8px;
  border-radius: 999px;
  box-shadow: var(--shadow-lg);
}
.search-box input {
  flex: 1;
  border: 0;
  font-size: 1.05rem;
  padding: 12px 18px;
  background: transparent;
  outline: none;
  color: var(--ink);
  font-family: inherit;
}
.search-box button {
  background: var(--field-green);
  color: #fff;
  border: 0;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: background .2s;
  font-family: inherit;
}
.search-box button:hover { background: var(--field-green-light); }

.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 40px;
  flex-wrap: wrap;
}
.hero-stat strong {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 2.2rem;
  color: var(--gold);
  line-height: 1;
}
.hero-stat span { color: rgba(255,255,255,.7); font-size: .9rem; }

/* ===== Sections ===== */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 70px 20px;
}
.section-narrow { max-width: 860px; }
.section-head { margin-bottom: 40px; text-align: center; }
.section-head .eyebrow {
  display: inline-block;
  color: var(--field-green);
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-size: .8rem;
  margin-bottom: 12px;
}
.section-head p { color: var(--muted); max-width: 60ch; margin: 0 auto; }

/* ===== Category grid ===== */
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 22px;
}
.cat-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform .25s, box-shadow .25s, border-color .25s;
  position: relative;
  overflow: hidden;
  border-bottom: 0;
  color: var(--ink);
}
.cat-card::before {
  content: "";
  position: absolute;
  inset: auto -30% -50% auto;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(10,93,58,.06), transparent 70%);
  pointer-events: none;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--field-green-light);
}
.cat-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 16px;
  color: var(--field-green);
}
.cat-card h3 { margin-bottom: 8px; }
.cat-card p { color: var(--muted); font-size: .95rem; margin: 0 0 14px; }
.cat-count {
  display: inline-block;
  background: var(--chip);
  color: var(--field-green-dark);
  padding: 4px 10px;
  border-radius: 999px;
  font-size: .8rem;
  font-weight: 600;
}

/* ===== Question list ===== */
.q-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 14px;
}
.q-link {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  color: var(--ink);
  transition: border-color .2s, transform .2s, box-shadow .2s;
}
.q-link:hover {
  border-color: var(--field-green-light);
  transform: translateX(3px);
  box-shadow: var(--shadow-sm);
  color: var(--field-green-dark);
}
.q-link svg { width: 18px; height: 18px; color: var(--field-green); flex-shrink: 0; margin-top: 3px; }
.q-link span { font-weight: 500; line-height: 1.4; font-size: .98rem; }

/* ===== Article (question page) ===== */
.article-wrap {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 50px;
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 40px 20px 70px;
}
.article {
  background: var(--paper);
  padding: 40px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
}
.breadcrumbs {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 20px;
}
.breadcrumbs a { color: var(--muted); border: 0; }
.breadcrumbs a:hover { color: var(--field-green); }
.breadcrumbs span { margin: 0 6px; opacity: .5; }

.article h1 {
  font-family: 'Bebas Neue', 'Oswald', sans-serif;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  line-height: 1.1;
  margin-bottom: 8px;
}
.article .meta {
  font-size: .85rem;
  color: var(--muted);
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.article .meta span { display: inline-flex; align-items: center; gap: 6px; }
.article .meta svg { width: 14px; height: 14px; }

.answer-box {
  background: linear-gradient(135deg, #f7f3e1 0%, #fef6d4 100%);
  border-left: 4px solid var(--gold);
  padding: 20px 24px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 24px 0 32px;
}
.answer-box > strong {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: .1em;
  color: var(--field-green-dark);
  font-size: .9rem;
  margin-bottom: 6px;
}
.answer-box p { margin: 0; font-size: 1.05rem; color: var(--ink); }
.answer-box p strong { color: var(--field-green-dark); font-weight: 700; }

.article h2 {
  margin-top: 40px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--field-green-light);
  display: inline-block;
}
.article ul, .article ol { padding-left: 22px; margin: 0 0 1.2em; }
.article li { margin-bottom: 6px; }

.fact-table {
  width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: .95rem;
}
.fact-table th, .fact-table td {
  padding: 12px 14px;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.fact-table th {
  background: var(--chip);
  color: var(--field-green-dark);
  font-weight: 600;
  font-size: .85rem;
  letter-spacing: .03em;
  text-transform: uppercase;
}

.callout {
  background: var(--chip);
  padding: 18px 22px;
  border-radius: var(--radius-sm);
  margin: 24px 0;
  font-size: .95rem;
}
.callout strong { color: var(--field-green-dark); }

.related-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.related-list a {
  display: block;
  background: var(--chip);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: .92rem;
  color: var(--ink);
  border: 0;
}
.related-list a:hover { background: var(--field-green); color: #fff; }

/* ===== Sidebar ===== */
.sidebar { display: flex; flex-direction: column; gap: 24px; }
.side-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
}
.side-card h4 {
  font-family: 'Bebas Neue', sans-serif;
  letter-spacing: .06em;
  color: var(--field-green-dark);
  margin-bottom: 14px;
  font-size: 1.05rem;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold);
  display: inline-block;
}
.side-card ul { list-style: none; padding: 0; margin: 0; }
.side-card li { margin-bottom: 8px; font-size: .92rem; }
.side-card li a { border: 0; color: var(--ink-soft); }
.side-card li a:hover { color: var(--field-green); }

/* ===== Fact card (inline) ===== */
.fact-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: linear-gradient(135deg, #f3f8f4 0%, #e6f1ea 100%);
  border-left: 4px solid var(--field-green);
  padding: 18px 22px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 28px 0;
  position: relative;
}
.fact-card::after {
  content: "Did you know?";
  position: absolute;
  top: -10px;
  left: 14px;
  background: var(--field-green);
  color: var(--gold);
  font-family: 'Bebas Neue', sans-serif;
  font-size: .75rem;
  letter-spacing: .12em;
  padding: 3px 10px;
  border-radius: 999px;
}
.fact-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  background: var(--paper);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--field-green);
  box-shadow: var(--shadow-sm);
}
.fact-icon svg { width: 22px; height: 22px; }
.fact-body strong {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  color: var(--field-green-dark);
  font-size: 1.05rem;
  letter-spacing: .04em;
  margin-bottom: 4px;
}
.fact-body p { margin: 0; font-size: .95rem; color: var(--ink-soft); line-height: 1.55; }

/* ===== Ticker (marquee) ===== */
.ticker {
  background: linear-gradient(90deg, var(--field-green-dark) 0%, var(--field-green) 100%);
  color: #fff;
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
  margin: 30px 0;
  padding: 14px 0;
  box-shadow: var(--shadow-sm);
}
.ticker::before, .ticker::after {
  content: "";
  position: absolute;
  top: 0; bottom: 0;
  width: 40px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--field-green-dark), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--field-green-dark), transparent); }
.ticker-track {
  display: flex;
  gap: 0;
  animation: ticker-roll 60s linear infinite;
  white-space: nowrap;
  width: max-content;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 36px;
  font-weight: 500;
  font-size: .95rem;
  border-right: 2px solid rgba(255, 210, 63, .35);
}
.ticker-item:last-child { border-right: 0; }
.ticker-icon {
  display: inline-flex;
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
}
.ticker-icon svg { width: 100%; height: 100%; }
@keyframes ticker-roll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .ticker-track { animation: none; }
}

/* ===== Countdown widget ===== */
.countdown { background: linear-gradient(135deg, var(--field-green) 0%, var(--field-green-dark) 100%); color: #fff; border-color: transparent; }
.countdown h4 { color: #fff; border-bottom-color: var(--gold); }
.countdown-target { font-size: .85rem; color: rgba(255,255,255,.75); margin: 0 0 16px; }
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 14px;
}
.countdown-grid > div {
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255, 210, 63, .25);
  border-radius: 8px;
  padding: 10px 4px;
  text-align: center;
  backdrop-filter: blur(2px);
}
.countdown-grid strong {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.6rem;
  color: var(--gold);
  line-height: 1;
}
.countdown-grid span {
  display: block;
  font-size: .7rem;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
  letter-spacing: .1em;
  margin-top: 4px;
}
.countdown-note { font-size: .8rem; color: rgba(255,255,255,.6); margin: 0; }
.countdown.cd-live h4 { color: var(--gold); position: relative; padding-left: 16px; }
.countdown.cd-live h4::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 10px; height: 10px;
  margin-top: -5px;
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(200, 16, 46, .6);
  animation: cd-pulse 1.4s ease-out infinite;
}
@keyframes cd-pulse {
  0% { box-shadow: 0 0 0 0 rgba(200, 16, 46, .55); }
  70% { box-shadow: 0 0 0 12px rgba(200, 16, 46, 0); }
  100% { box-shadow: 0 0 0 0 rgba(200, 16, 46, 0); }
}
.countdown.cd-ended {
  background: linear-gradient(135deg, var(--field-green-dark) 0%, #000 100%);
}
.countdown.cd-ended h4 { color: var(--gold); }

/* ===== Banner card (image-backed) ===== */
.banner-card {
  display: flex;
  align-items: flex-end;
  min-height: 180px;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius);
  padding: 24px;
  color: #fff;
  margin: 30px 0;
  box-shadow: var(--shadow-md);
}
.banner-card strong {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.4rem;
  letter-spacing: .04em;
  margin-bottom: 6px;
}
.banner-card p { margin: 0; font-size: .95rem; color: rgba(255,255,255,.85); max-width: 60ch; }

/* ===== Footer ===== */
.site-footer {
  background: var(--field-green-dark);
  color: rgba(255,255,255,.75);
  padding: 60px 20px 24px;
  margin-top: 60px;
}
.footer-inner {
  max-width: var(--maxw);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
}
.site-footer h5 {
  font-family: 'Bebas Neue', sans-serif;
  color: #fff;
  font-size: 1rem;
  letter-spacing: .1em;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; font-size: .9rem; }
.site-footer a { color: rgba(255,255,255,.7); border: 0; }
.site-footer a:hover { color: var(--gold); }
.footer-brand .brand { margin-bottom: 14px; }
.footer-brand p { color: rgba(255,255,255,.6); font-size: .9rem; line-height: 1.6; max-width: 35ch; }
.footer-bottom {
  max-width: var(--maxw);
  margin: 40px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.1);
  font-size: .82rem;
  color: rgba(255,255,255,.5);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

/* ===== Policy pages ===== */
.policy { max-width: 820px; margin: 0 auto; padding: 50px 20px 80px; }
.policy h1 { margin-bottom: 8px; }
.policy .updated { color: var(--muted); font-size: .9rem; margin-bottom: 30px; }
.policy h2 { font-family: 'Bebas Neue', sans-serif; margin-top: 36px; color: var(--field-green-dark); }
.policy h3 { margin-top: 24px; }

/* ===== Subscribe form ===== */
.subscribe-card {
  background: linear-gradient(135deg, #ffffff 0%, #f6fbf8 100%);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px;
  margin: 30px 0 40px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}
.subscribe-card::before {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 220px;
  height: 220px;
  background: radial-gradient(circle, rgba(10, 93, 58, .07), transparent 70%);
  pointer-events: none;
}
.subscribe-card h2 { margin-top: 0; }
.subscribe-sub { color: var(--muted); margin-bottom: 20px; font-size: .95rem; }

#subscribeForm { display: flex; flex-direction: column; gap: 14px; }
#subscribeForm .form-group { display: flex; flex-direction: column; gap: 6px; }
#subscribeForm label {
  font-size: .82rem;
  font-weight: 600;
  color: var(--ink-soft);
  letter-spacing: .02em;
}
#subscribeForm label .req { color: var(--red); }
#subscribeForm label .opt { color: var(--muted); font-weight: 400; }
#subscribeForm input,
#subscribeForm textarea {
  font-family: inherit;
  font-size: 1rem;
  padding: 12px 14px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: var(--radius-sm);
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
#subscribeForm input:focus,
#subscribeForm textarea:focus {
  outline: none;
  border-color: var(--field-green);
  box-shadow: 0 0 0 3px rgba(10, 93, 58, .15);
}
#subscribeForm textarea { resize: vertical; min-height: 80px; }
.form-consent {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .85rem;
  color: var(--ink-soft);
  margin-top: 4px;
}
.form-consent input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 2px 0 0;
  accent-color: var(--field-green);
  flex-shrink: 0;
}
.form-consent label { font-weight: 400; cursor: pointer; }
.form-consent a { color: var(--field-green); }

.btn-submit {
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  padding: 14px 24px;
  background: var(--field-green);
  color: #fff;
  border: 0;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: background .2s, transform .15s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin-top: 6px;
}
.btn-submit:hover { background: var(--field-green-light); }
.btn-submit:active { transform: translateY(1px); }

.form-success {
  display: none;
  background: linear-gradient(135deg, #e8f5ee 0%, #d4ecdf 100%);
  border: 1px solid var(--field-green-light);
  color: var(--field-green-dark);
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: .95rem;
  margin-top: 8px;
}
.form-success.show { display: block; }

/* Contact cards grid */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 20px 0 30px;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 22px;
  display: flex;
  flex-direction: column;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.contact-card:hover {
  border-color: var(--field-green-light);
  box-shadow: var(--shadow-sm);
  transform: translateY(-2px);
}
.contact-card strong {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 1.1rem;
  letter-spacing: .04em;
  color: var(--field-green-dark);
  margin-bottom: 6px;
}
.contact-card p { color: var(--muted); font-size: .9rem; margin: 0 0 16px; flex: 1; }

/* Email link — inline icon, fits within the parent container */
.mail-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  max-width: 100%;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  background: var(--chip);
  color: var(--field-green-dark);
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  border: 1px solid transparent;
  transition: background .2s, border-color .2s, color .2s;
  overflow: hidden;
}
.mail-link span.mail-addr {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  min-width: 0;
}
.mail-link svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--field-green);
  transition: color .2s;
}
.mail-link:hover {
  background: var(--field-green);
  color: #fff;
  border-color: var(--field-green);
}
.mail-link:hover svg { color: var(--gold); }

/* When mail-link is inside a contact-card it stretches to full width */
.contact-card .mail-link {
  align-self: stretch;
  justify-content: flex-start;
}

/* ===== Cookie banner ===== */
.cookie-banner {
  position: fixed;
  bottom: 16px;
  left: 16px;
  right: 16px;
  max-width: 720px;
  margin: 0 auto;
  background: var(--ink);
  color: #fff;
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: none;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  z-index: 100;
  font-size: .9rem;
}
.cookie-banner p { margin: 0; flex: 1; min-width: 200px; }
.cookie-banner a { color: var(--gold); }
.cookie-banner button {
  background: var(--gold);
  color: var(--ink);
  border: 0;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  font-size: .9rem;
}
.cookie-banner button:hover { background: var(--gold-dark); }
.cookie-banner.show { display: flex; }

/* ===== Responsive ===== */
@media (max-width: 960px) {
  .article-wrap { grid-template-columns: 1fr; gap: 30px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 30px; }
}
@media (max-width: 720px) {
  .nav-list {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--field-green-dark);
    flex-direction: column;
    padding: 16px;
    gap: 4px;
    box-shadow: var(--shadow-md);
  }
  .nav-list.open { display: flex; }
  .nav-list a { padding: 12px 16px; border-radius: 8px; }
  .nav-toggle { display: inline-flex; }
  .article { padding: 24px 20px; }
  .hero { padding: 50px 20px 60px; }
  .section { padding: 50px 20px; }
  .hero-stats { gap: 18px; }
  .hero-stat strong { font-size: 1.8rem; }
}
@media (max-width: 480px) {
  .footer-inner { grid-template-columns: 1fr; }
  .search-box { flex-direction: column; border-radius: var(--radius); }
  .search-box input { padding: 14px 16px; }
  .search-box button { width: 100%; border-radius: var(--radius-sm); }
}

/* Focus visible */
:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
  border-radius: 4px;
}

/* Print */
@media print {
  .site-header, .site-footer, .sidebar, .ad-slot, .cookie-banner { display: none; }
  .article-wrap { grid-template-columns: 1fr; }
}
