/*
Theme Name: Esmemory
Theme URI: https://esmemory.nl
Author: Stichting Esmemory
Author URI: https://esmemory.nl
Description: Officieel WordPress-thema voor Stichting Esmemory. Warm en persoonlijk ontwerp gericht op het informeren van bezoekers en het inzamelen van donaties voor kinderen en jongvolwassenen met een beperking.
Version: 2.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: Privé gebruik - Stichting Esmemory
Text Domain: esmemory
Tags: charity, nonprofit, donations, accessibility, responsive
*/

/* ═══════════════════════════════════════
   CSS CUSTOM PROPERTIES
═══════════════════════════════════════ */
:root {
  --blauw:        #38B6E0;
  --blauw-d:      #1A96C0;
  --blauw-l:      #E8F7FD;
  --zwart:        #0D0D0D;
  --nacht:        #111827;
  --grijs:        #3A3A4A;
  --grijs-mid:    #6B6B7B;
  --grijs-l:      #F2F4F6;
  --wit:          #FFFFFF;
  --creme:        #F8FAFB;
  --goud:         #F5C842;
  --rand:         #E0E8EE;
  --max:          1180px;

  /* Backward compat aliases */
  --blauw-donker:  #1A96C0;
  --blauw-licht:   #E8F7FD;
  --blauw-mid:     #B8E8F7;
  --grijs-donker:  #2C2C2C;
  --grijs-licht:   #F2F4F6;
  --accent:        #F5C842;
  --max-breedte:   1180px;
  --radius:        16px;
  --schaduw:       0 4px 28px rgba(56,182,224,0.10);
}

/* ═══════════════════════════════════════
   RESET & BASIS
═══════════════════════════════════════ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: var(--creme);
  color: var(--zwart);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover { color: var(--blauw-d); }

ul, ol { list-style: none; }

/* ═══════════════════════════════════════
   TYPOGRAFIE
═══════════════════════════════════════ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Georgia', serif;
  font-weight: 900;
  line-height: 1.2;
  color: var(--zwart);
}

h1 { font-size: clamp(2.5rem, 4vw, 3.7rem); }
h2 { font-size: clamp(1.9rem, 2.8vw, 2.6rem); }
h3 { font-size: 1.3rem; }
h4 { font-size: 1.1rem; }

p { line-height: 1.75; }

.sec-label,
.sectie-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blauw);
  margin-bottom: 12px;
  font-family: 'Inter', sans-serif;
  display: block;
}

.sec-titel,
.sectie-titel {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.9rem, 2.8vw, 2.6rem);
  font-weight: 900;
  line-height: 1.2;
  margin-bottom: 16px;
  color: var(--zwart);
}

.sec-sub,
.sectie-sub {
  font-size: 1rem;
  color: var(--grijs-mid);
  max-width: 560px;
  line-height: 1.85;
}

/* ═══════════════════════════════════════
   KNOPPEN
═══════════════════════════════════════ */
.btn-p,
.btn, button.btn, a.btn,
.btn-primair {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
  border: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  font-family: 'Inter', sans-serif;
  background: var(--blauw);
  color: #fff !important;
  box-shadow: 0 6px 20px rgba(56,182,224,0.4);
}

.btn-p:hover,
.btn-primair:hover {
  background: var(--blauw-d);
  transform: translateY(-2px);
  color: #fff !important;
}

.btn-s,
.btn-sec {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 6px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  background: rgba(255,255,255,0.1);
  color: #fff !important;
  border: 1px solid rgba(255,255,255,0.25);
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.btn-s:hover,
.btn-sec:hover {
  background: rgba(255,255,255,0.18);
  color: #fff !important;
}

.btn-licht,
.btn-wit {
  background: transparent;
  color: var(--blauw) !important;
  padding: 12px 26px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 2px solid var(--blauw);
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
  cursor: pointer;
}

.btn-licht:hover,
.btn-wit:hover {
  background: var(--blauw);
  color: #fff !important;
}

/* ═══════════════════════════════════════
   CONTAINER
═══════════════════════════════════════ */
.wrap,
.container {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
}

section {
  padding: 100px 0;
}

/* ═══════════════════════════════════════
   NAVIGATIE
═══════════════════════════════════════ */
#site-header,
#nav {
  position: sticky;
  top: 0;
  z-index: 200;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--rand);
  transition: box-shadow 0.3s;
}

#site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.08); }

.nav-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 48px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo */
.site-logo {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-naam {
  font-family: 'Times New Roman', Georgia, serif;
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--zwart);
  letter-spacing: -1px;
  display: block;
  position: relative;
}

.logo-swoosh {
  position: absolute;
  left: 22px;
  bottom: -1px;
  width: 30px;
  height: 9px;
}

.logo-sub,
.logo-tekst .logo-sub {
  font-family: 'Dancing Script', cursive;
  font-size: 0.82rem;
  color: var(--blauw);
  margin-top: 2px;
  display: block;
}

/* Hoofd-navigatie */
#primary-menu,
.nav-links {
  list-style: none;
  display: flex;
  align-items: center;
  gap: 30px;
}

#primary-menu li a,
.nav-links li a,
.nav-links a {
  color: var(--grijs-mid);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s;
  font-family: 'Inter', sans-serif;
}

#primary-menu li a:hover,
#primary-menu li.current-menu-item a,
.nav-links a:hover {
  color: var(--blauw);
}

#primary-menu .nav-doneer a,
.nav-links .nav-doneer a,
.nav-cta {
  background: var(--blauw) !important;
  color: #fff !important;
  padding: 10px 22px;
  border-radius: 6px;
  font-weight: 700 !important;
  font-size: 0.88rem !important;
  box-shadow: 0 3px 12px rgba(56,182,224,0.35);
  transition: background 0.2s !important;
}

#primary-menu .nav-doneer a:hover,
.nav-links .nav-doneer a:hover,
.nav-cta:hover {
  background: var(--blauw-d) !important;
}

/* Hamburger (mobiel) */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--zwart);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ══════════════════════════════════
   HERO — donker, foto collage rechts
══════════════════════════════════ */
.hero {
  background: var(--nacht);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 55% 65% at 85% 50%, rgba(56,182,224,0.11) 0%, transparent 65%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(56,182,224,0.15);
  border: 1px solid rgba(56,182,224,0.3);
  color: var(--blauw);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 4px;
  margin-bottom: 28px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: 'Inter', sans-serif;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.5rem, 4vw, 3.7rem);
  font-weight: 900;
  line-height: 1.1;
  color: #fff;
  margin-bottom: 22px;
}

.hero h1 em {
  font-style: normal;
  color: var(--blauw);
}

.hero-tekst,
.hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.62);
  max-width: 500px;
  line-height: 1.85;
  margin-bottom: 36px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero-stats {
  display: flex;
  gap: 40px;
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat strong,
.hs strong {
  display: block;
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--blauw);
  font-family: 'Playfair Display', serif;
}

.hero-stat span,
.hs span {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.45);
}

/* Foto-collage rechts in hero */
.hero-fotos {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 220px 180px;
  gap: 12px;
}

.hero-fotos img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.hf-groot {
  grid-column: 1;
  grid-row: 1 / 3;
}

.hf-groot img { height: 100%; border-radius: 12px; }
.hf-rechts-boven img { border-radius: 12px; }

.hf-rechts-onder {
  position: relative;
}

.hf-rechts-onder img { border-radius: 12px; }

.hf-overlay {
  position: absolute;
  inset: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(56,182,224,0.85), rgba(26,26,46,0.8));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
}

.hf-overlay strong {
  color: #fff;
  font-size: 1.4rem;
  font-family: 'Playfair Display', serif;
  display: block;
}

.hf-overlay span {
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  margin-top: 4px;
}

/* ══════════════════════════════════
   MISSIE — wit, foto met quote overlay
══════════════════════════════════ */
.s-missie,
.sectie-missie {
  background: var(--wit);
}

.missie-intro { margin-bottom: 60px; }

.missie-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  margin-top: 60px;
}

.m-punten,
.missie-punten {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.m-punt,
.missie-punt {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.m-ico,
.missie-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}

.ic-b, .ic-blauw, .ic-blauw { background: var(--blauw-l); }
.ic-z, .ic-licht    { background: var(--grijs-l); }
.ic-g, .ic-goud     { background: #FFF8DC; }

.m-punt strong,
.missie-punt-tekst strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--zwart);
  font-family: 'Inter', sans-serif;
}

.m-punt p,
.missie-punt-tekst p {
  font-size: 0.87rem;
  color: var(--grijs-mid);
  line-height: 1.7;
}

/* Missie foto met quote overlay */
.missie-foto-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
}

.missie-foto-wrap img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.missie-quote-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(0deg, rgba(17,24,39,0.95) 0%, rgba(17,24,39,0.7) 60%, transparent 100%);
  padding: 40px 32px 32px;
}

.missie-quote-overlay blockquote {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  font-style: italic;
  color: #fff;
  line-height: 1.7;
  margin-bottom: 12px;
}

.missie-quote-overlay cite {
  font-size: 0.82rem;
  color: var(--blauw);
  font-style: normal;
  font-weight: 600;
}

/* ══════════════════════════════════
   IMPACT — donkere balk
══════════════════════════════════ */
.s-impact,
.sectie-impact {
  background: var(--zwart);
}

.s-impact .sec-label,
.s-impact .sectie-label,
.sectie-impact .sectie-label { color: var(--blauw); }

.s-impact .sec-titel,
.s-impact .sectie-titel,
.s-impact h2,
.sectie-impact h2 { color: #fff; }

.s-impact .sec-sub,
.s-impact .sectie-sub,
.sectie-impact .sectie-sub { color: rgba(255,255,255,0.5); }

.impact-intro { margin-bottom: 56px; }

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 14px;
  overflow: hidden;
}

.imp-item,
.impact-item {
  padding: 40px 28px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.07);
  transition: background 0.2s;
}

.imp-item:last-child,
.impact-item:last-child { border-right: none; }

.imp-item:hover,
.impact-item:hover { background: rgba(56,182,224,0.08); }

.imp-getal,
.impact-getal {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: 900;
  color: var(--blauw);
  line-height: 1;
  margin-bottom: 10px;
}

.imp-item strong,
.impact-item strong {
  display: block;
  font-size: 0.95rem;
  color: #fff;
  margin-bottom: 5px;
  font-family: 'Inter', sans-serif;
}

.imp-item p,
.impact-item p {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.42);
  line-height: 1.55;
}

/* ══════════════════════════════════
   VERHALEN — kaarten met foto's
══════════════════════════════════ */
.s-verhalen,
.sectie-verhalen {
  background: var(--creme);
}

.v-top,
.verhalen-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 48px;
}

.v-grid,
.verhalen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.v-kaart,
.verhaal-kaart {
  background: var(--wit);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 20px rgba(0,0,0,0.07);
  transition: transform 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.v-kaart:hover,
.verhaal-kaart:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(56,182,224,0.15);
}

.v-foto,
.verhaal-afbeelding {
  height: 210px;
  overflow: hidden;
  position: relative;
}

.v-foto img,
.verhaal-afbeelding img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.v-kaart:hover .v-foto img,
.verhaal-kaart:hover .verhaal-afbeelding img { transform: scale(1.05); }

.v-body,
.verhaal-body {
  padding: 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.v-tag,
.verhaal-tag {
  display: inline-block;
  background: var(--blauw-l);
  color: var(--blauw-d);
  font-size: 0.71rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-family: 'Inter', sans-serif;
  width: fit-content;
}

.v-body h3,
.verhaal-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--zwart);
}

.v-body p,
.verhaal-body p {
  font-size: 0.85rem;
  color: var(--grijs-mid);
  line-height: 1.7;
  margin-bottom: 18px;
  flex: 1;
}

.v-link,
.verhaal-link {
  color: var(--blauw);
  font-weight: 600;
  font-size: 0.85rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: gap 0.2s;
  font-family: 'Inter', sans-serif;
  width: fit-content;
  margin-top: auto;
}

.v-link:hover,
.verhaal-link:hover { gap: 8px; color: var(--blauw-d); }

/* Placeholder kleuren (fallback zonder afbeelding) */
.vh-blauw { background: linear-gradient(135deg, #B8E8F7, #7DD4F0); }
.vh-goud  { background: linear-gradient(135deg, #FFF3CC, #FFE180); }
.vh-groen { background: linear-gradient(135deg, #D4F5E8, #90DDB8); }

.verhaal-afbeelding-placeholder {
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
}

/* ══════════════════════════════════
   FOTO-STRIP — brede banner 4 foto's
══════════════════════════════════ */
.s-fotostrip {
  padding: 0;
  overflow: hidden;
}

.fotostrip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  height: 280px;
}

.fotostrip-item {
  overflow: hidden;
  position: relative;
}

.fotostrip-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s;
}

.fotostrip-item:hover img { transform: scale(1.07); }

.fotostrip-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17,24,39,0.45) 0%, transparent 60%);
}

/* ══════════════════════════════════
   DONEER
══════════════════════════════════ */
.s-doneer,
.sectie-doneer {
  background: var(--wit);
}

.d-grid,
.doneer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

.b-grid,
.bedragen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 28px 0;
}

.b-knop,
.bedrag-knop {
  padding: 17px;
  text-align: center;
  border-radius: 10px;
  border: 2px solid var(--rand);
  background: var(--creme);
  cursor: pointer;
  transition: all 0.2s;
  font-family: 'Inter', sans-serif;
}

.b-knop:hover, .b-knop.actief,
.bedrag-knop:hover, .bedrag-knop.actief {
  border-color: var(--blauw);
  background: var(--blauw-l);
}

.b-knop strong,
.bedrag-knop strong {
  display: block;
  font-size: 1.2rem;
  color: var(--blauw);
  margin-bottom: 2px;
  font-weight: 800;
}

.b-knop span,
.bedrag-knop span {
  font-size: 0.71rem;
  color: var(--grijs-mid);
}

.iban-box {
  background: var(--creme);
  border-radius: 10px;
  padding: 18px 22px;
  margin: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1.5px solid var(--rand);
  gap: 12px;
  flex-wrap: wrap;
}

.iban-box small,
.iban-label {
  display: block;
  font-size: 0.78rem;
  color: var(--grijs-mid);
  margin-bottom: 3px;
  font-family: 'Inter', sans-serif;
}

.iban-box strong,
.iban-nummer {
  font-size: 1rem;
  color: var(--zwart);
  font-weight: 700;
  letter-spacing: 0.5px;
  font-family: 'Inter', sans-serif;
}

.iban-btn,
.iban-kopieer {
  background: var(--blauw-l);
  border: none;
  color: var(--blauw-d);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}

.iban-btn:hover,
.iban-kopieer:hover {
  background: var(--blauw);
  color: #fff;
}

.doneer-notitie {
  font-size: 0.79rem;
  color: var(--grijs-mid);
  margin-top: 8px;
}

/* Doneer foto-kaart — foto met overlay */
.d-foto-kaart {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  height: 100%;
  min-height: 480px;
}

.d-foto-kaart img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.d-foto-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(17,24,39,0.96) 0%, rgba(17,24,39,0.5) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px 32px;
}

.d-foto-overlay h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 12px;
}

.d-foto-overlay > p {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.75;
  margin-bottom: 24px;
}

.d-items {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.d-item {
  background: rgba(255,255,255,0.09);
  border-radius: 10px;
  padding: 13px 16px;
  display: flex;
  align-items: center;
  gap: 13px;
  border-left: 3px solid var(--blauw);
}

.d-item .di,
.d-item .di-ico { font-size: 1.4rem; }

.d-item strong {
  display: block;
  font-size: 0.87rem;
  color: #fff;
  margin-bottom: 2px;
  font-family: 'Inter', sans-serif;
}

.d-item span {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.55);
}

/* ══════════════════════════════════
   HOE HELPEN
══════════════════════════════════ */
.s-helpen,
.sectie-helpen {
  background: var(--creme);
}

.helpen-intro { margin-bottom: 48px; }

.h-grid,
.helpen-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.h-kaart,
.helpen-kaart {
  background: var(--wit);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 1px 8px rgba(0,0,0,0.05);
  transition: all 0.25s;
}

.h-kaart:hover,
.helpen-kaart:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 32px rgba(56,182,224,0.14);
}

.h-foto,
.helpen-foto {
  height: 180px;
  overflow: hidden;
}

.h-foto img,
.helpen-foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s;
}

.h-kaart:hover .h-foto img,
.helpen-kaart:hover .helpen-foto img { transform: scale(1.05); }

.h-body,
.helpen-body {
  padding: 26px 28px;
  border-top: 4px solid var(--blauw);
}

.h-kaart.kg .h-body  { border-top-color: var(--goud); }
.h-kaart.kz .h-body  { border-top-color: var(--grijs); }

.h-ico,
.helpen-ico { font-size: 2rem; margin-bottom: 14px; }

.h-kaart h3,
.helpen-kaart h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
  color: var(--zwart);
  font-family: 'Inter', sans-serif;
}

.h-kaart p,
.helpen-kaart p {
  font-size: 0.85rem;
  color: var(--grijs-mid);
  line-height: 1.75;
  margin-bottom: 22px;
}

/* ══════════════════════════════════
   CONTACT
══════════════════════════════════ */
.s-contact,
.sectie-contact {
  background: var(--wit);
}

.contact-intro { margin-bottom: 48px; }

.c-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 72px;
  margin-top: 48px;
  align-items: start;
}

.c-items,
.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 18px;
}

.c-item,
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.c-ico,
.contact-ico {
  width: 46px;
  height: 46px;
  min-width: 46px;
  background: var(--blauw-l);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.c-item small,
.contact-item-tekst small {
  display: block;
  font-size: 0.78rem;
  color: var(--grijs-mid);
  font-weight: 600;
  margin-bottom: 2px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.c-item a, .c-item p,
.contact-item-tekst a,
.contact-item-tekst p {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--zwart);
  text-decoration: none;
}

.c-item a:hover,
.contact-item-tekst a:hover { color: var(--blauw); }

/* Contactformulier */
.formulier,
.contact-formulier {
  background: var(--creme);
  border-radius: 14px;
  padding: 38px;
  border: 1.5px solid var(--rand);
}

.formulier h3,
.contact-formulier h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.3rem;
  margin-bottom: 22px;
  color: var(--zwart);
}

.fg,
.form-groep { margin-bottom: 16px; }

.fg label,
.form-groep label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--grijs-mid);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  font-family: 'Inter', sans-serif;
}

.fg input, .fg textarea, .fg select,
.form-groep input,
.form-groep textarea,
.form-groep select {
  width: 100%;
  padding: 11px 14px;
  border-radius: 8px;
  border: 1.5px solid var(--rand);
  font-family: 'Inter', sans-serif;
  font-size: 0.92rem;
  color: var(--zwart);
  background: var(--wit);
  outline: none;
  transition: border-color 0.2s;
  appearance: none;
}

.fg input:focus, .fg textarea:focus, .fg select:focus,
.form-groep input:focus,
.form-groep textarea:focus,
.form-groep select:focus { border-color: var(--blauw); }

.fg textarea,
.form-groep textarea { height: 105px; resize: vertical; }

.form-submit { width: 100%; justify-content: center; }

/* ══════════════════════════════════
   FOOTER
══════════════════════════════════ */
#site-footer {
  background: var(--zwart);
  color: #fff;
}

.footer-top,
.f-top {
  padding: 68px 0 48px;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.footer-grid,
.f-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 52px;
}

.footer-logo,
.f-logo-naam {
  font-family: 'Times New Roman', serif;
  font-size: 1.55rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 4px;
  display: block;
  text-decoration: none;
}

.footer-logo .logo-blauw,
.f-logo-naam .fl { color: var(--blauw); }

.footer-logo-sub,
.f-logo-sub {
  font-family: 'Dancing Script', cursive;
  font-size: 0.88rem;
  color: var(--blauw);
  display: block;
  margin-bottom: 16px;
}

.footer-omschrijving,
.f-omschr {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.45);
  line-height: 1.8;
  margin-bottom: 22px;
}

.footer-iban-box,
.f-iban {
  background: rgba(255,255,255,0.05);
  border-radius: 8px;
  padding: 14px 18px;
  border-left: 3px solid var(--blauw);
}

.footer-iban-box small,
.f-iban small {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  display: block;
  margin-bottom: 4px;
}

.footer-iban-box strong,
.f-iban strong {
  font-size: 0.9rem;
  color: var(--blauw);
  font-family: 'Inter', sans-serif;
}

.footer-nav-titel,
.f-nav-titel {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: rgba(255,255,255,0.3);
  margin-bottom: 16px;
  display: block;
  font-family: 'Inter', sans-serif;
}

.footer-nav,
.f-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav a,
.f-nav a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-nav a:hover,
.f-nav a:hover { color: var(--blauw); }

.footer-bottom,
.f-bottom { padding: 22px 0; }

.footer-bottom-inner,
.f-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-copy,
.f-copy {
  font-size: 0.77rem;
  color: rgba(255,255,255,0.28);
}

.footer-kvk,
.f-kvk {
  background: rgba(255,255,255,0.05);
  border-radius: 6px;
  padding: 4px 12px;
  font-size: 0.74rem;
  color: rgba(255,255,255,0.35);
}

/* ═══════════════════════════════════════
   PAGINA CONTENT (page.php / single.php)
═══════════════════════════════════════ */
.pagina-hero {
  background: linear-gradient(135deg, var(--nacht) 0%, #1A2740 100%);
  padding: 80px 0 60px;
  text-align: center;
  color: #fff;
}

.pagina-hero h1 { margin-bottom: 16px; color: #fff; }

.pagina-hero .broodkruimel {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
  font-family: 'Inter', sans-serif;
}

.pagina-hero .broodkruimel a { color: var(--blauw); }

.pagina-content {
  max-width: 780px;
  margin: 0 auto;
  padding: 60px 40px;
}

.pagina-content p,
.entry-content p {
  margin-bottom: 1.4em;
  font-size: 1rem;
  color: var(--grijs);
}

.entry-content h2 { margin: 2em 0 0.6em; }
.entry-content h3 { margin: 1.6em 0 0.5em; }

.entry-content ul, .entry-content ol {
  list-style: initial;
  padding-left: 1.5em;
  margin-bottom: 1.4em;
}

.entry-content ul li, .entry-content ol li { margin-bottom: 0.4em; }

.entry-content img { border-radius: 12px; margin: 1.5em 0; }

/* Enkel verhaal */
.verhaal-header {
  background: linear-gradient(135deg, var(--nacht), #1A2740);
  padding: 80px 0 60px;
  color: #fff;
}

.verhaal-header h1 { color: #fff; }

.verhaal-meta {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

/* ═══════════════════════════════════════
   404 PAGINA
═══════════════════════════════════════ */
.pagina-404 {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 80px 40px;
}

.pagina-404-inhoud { max-width: 500px; }

.getal-404 {
  font-family: 'Playfair Display', serif;
  font-size: 8rem;
  font-weight: 900;
  color: var(--blauw);
  line-height: 1;
  margin-bottom: 16px;
  opacity: 0.3;
}

/* ═══════════════════════════════════════
   HULPKLASSEN
═══════════════════════════════════════ */
.text-midden { text-align: center; }
.text-blauw  { color: var(--blauw); }
.mt-s  { margin-top: 16px; }
.mt-m  { margin-top: 28px; }
.mt-l  { margin-top: 48px; }
.mb-s  { margin-bottom: 16px; }
.mb-m  { margin-bottom: 28px; }
.verborgen { display: none; }

/* Animatie fade-in */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-in.zichtbaar {
  opacity: 1;
  transform: none;
}

/* ═══════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════ */
@media (max-width: 1024px) {
  .wrap, .container { padding: 0 28px; }
  .nav-inner { padding: 0 28px; }
  section { padding: 80px 0; }
  .hero-grid { gap: 40px; }
  .missie-grid { gap: 48px; }
  .d-grid, .doneer-grid { gap: 48px; }
  .footer-grid, .f-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 960px) {
  .hero-grid, .missie-grid, .d-grid, .doneer-grid, .c-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-fotos { display: none; }
  .impact-grid { grid-template-columns: repeat(2, 1fr); }
  .v-grid, .verhalen-grid, .h-grid, .helpen-grid { grid-template-columns: 1fr 1fr; }
  .fotostrip { grid-template-columns: repeat(2, 1fr); height: 400px; }
  .v-top, .verhalen-top { flex-direction: column; gap: 16px; align-items: flex-start; }
  .d-foto-kaart { min-height: 320px; }
}

@media (max-width: 768px) {
  .wrap, .container { padding: 0 20px; }
  .nav-inner { padding: 0 20px; }
  section { padding: 60px 0; }

  /* Nav mobiel */
  .nav-toggle { display: flex; }

  #primary-menu,
  ul.nav-links {
    display: none;
    position: fixed;
    top: 70px; left: 0; right: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    padding: 20px;
    gap: 4px;
    border-bottom: 1px solid var(--rand);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    z-index: 199;
  }

  #primary-menu.open,
  ul.nav-links.open { display: flex; }

  #primary-menu li a,
  .nav-links a {
    display: block;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 1rem;
    color: var(--zwart);
  }

  #primary-menu li a:hover,
  .nav-links a:hover { background: var(--blauw-l); color: var(--blauw); }

  #primary-menu .nav-doneer a,
  .nav-links .nav-doneer a { text-align: center; margin-top: 8px; }

  .hero-stats { flex-wrap: wrap; gap: 24px; }
  .b-grid, .bedragen-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-bottom-inner, .f-bottom-inner { flex-direction: column; gap: 10px; text-align: center; }
}

@media (max-width: 580px) {
  section { padding: 60px 0; }
  .v-grid, .verhalen-grid, .h-grid, .helpen-grid, .impact-grid { grid-template-columns: 1fr; }
  .b-grid, .bedragen-grid { grid-template-columns: repeat(2, 1fr); }
  .fotostrip { grid-template-columns: repeat(2, 1fr); height: 320px; }
  .footer-grid, .f-grid { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }
  .iban-box { flex-direction: column; align-items: flex-start; }
}
