/*
Theme Name: In Motion for Kids
Theme URI: https://websitegroeiers.nl
Author: Websitegroeiers
Author URI: https://websitegroeiers.nl
Description: Maatwerkthema voor In Motion for Kids. Bevat een eigen "Reizen" beheerscherm waarin projecten/reizen aangemaakt kunnen worden.
Version: 2.1.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: imfk
Tags: nonprofit, custom-post-type, accessibility-ready
*/

/* imfk-css-version: 2.1.0 - laatst bijgewerkt */
/* ==========================================================================
   In Motion for Kids — stylesheet
   ========================================================================== */

:root {
  --green-900: #1B5E20;
  --green-800: #2E7D32;
  --green-600: #388E3C;
  --green-500: #4CAF50;
  --green-400: #66BB6A;
  --green-300: #81C784;
  --green-200: #AED581;
  --green-100: #C8E6C9;
  --green-50:  #E8F5E9;
  --grad-1:    #DCEFDC;
  --grad-2:    #EFF8EF;
  --off-white: #FAFAF9;
  --ink:       #1B1917;
  --ink-soft:  #A8A29E;
  --body:      #388E3C;
  --white:     #FFFFFF;

  --radius-sm: 12px;
  --radius:    18px;
  --radius-lg: 28px;
  --pill:      999px;

  --shadow-sm: 0 2px 10px rgba(27, 94, 32, .06);
  --shadow:    0 8px 30px rgba(27, 94, 32, .08);
  --shadow-lg: 0 18px 50px rgba(27, 94, 32, .12);

  --blob-a: 58% 42% 48% 52% / 52% 46% 54% 48%;
  --blob-b: 46% 54% 60% 40% / 44% 58% 42% 56%;

  --wrap: 1180px;
}

/* Reset -------------------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "DM Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: #1B5E20;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--green-600); text-decoration: none; }
a:hover { color: var(--green-800); }
button { font: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: "Forum", "Iowan Old Style", Georgia, serif;
  color: var(--green-900);
  font-weight: 400;
  line-height: 1.15;
  margin: 0 0 .6em;
  letter-spacing: .005em;
}
h1 { font-size: clamp(2.3rem, 5vw, 3.9rem); }
h2 { font-size: clamp(2rem, 3.9vw, 3.1rem); }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.9rem); }
h4 { font-size: 1.15rem; }
p  { margin: 0 0 1.1em; }

:focus-visible {
  outline: 3px solid var(--green-600);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Layout ------------------------------------------------------------------*/
.wrap { width: min(100% - 3rem, var(--wrap)); margin-inline: auto; }
.section { padding: 96px 0; }
.section--tight { padding: 72px 0; }
.section--white { background: var(--white); }
.section--off { background: var(--off-white); }
.section--mint {
  background: linear-gradient(160deg, var(--grad-1) 0%, var(--grad-2) 55%, var(--white) 100%);
}
.center { text-align: center; }
.lead {
  font-size: 1.06rem;
  max-width: 62ch;
  margin-inline: auto;
}

/* Header ------------------------------------------------------------------*/
.site-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(27, 94, 32, .08);
}
.site-header__inner {
  display: flex;
  align-items: center;
  gap: 24px;
  min-height: 108px;
}
.brand { flex: 0 0 auto; }
.brand img { height: 88px; width: auto; }
.header-right {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 28px;
}
.header-contact {
  display: grid;
  gap: 2px;
  font-size: .82rem;
  color: var(--green-600);
  text-align: right;
}
.header-contact a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--green-600);
}
.header-contact svg { width: 14px; height: 14px; flex: 0 0 auto; }
.site-nav { display: flex; align-items: center; gap: 22px; }
.site-nav a {
  color: var(--green-800);
  font-weight: 600;
  font-size: .95rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.site-nav a:hover, .site-nav a.is-active {
  color: var(--green-900);
  border-bottom-color: var(--green-400);
}
.lang {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--green-50);
  color: var(--green-800);
  border: 0;
  border-radius: var(--pill);
  padding: 9px 16px;
  font-weight: 700;
  font-size: .85rem;
}
.lang:hover { background: var(--green-100); }
.nav-toggle {
  display: none;
  margin-left: auto;
  background: var(--green-50);
  border: 0;
  border-radius: 12px;
  padding: 10px 12px;
  color: var(--green-800);
  cursor: pointer;
  align-items: center;
  justify-content: center;
}
.nav-toggle svg {
  width: 24px;
  height: 24px;
  display: block;
  stroke: currentColor;
}
.nav-toggle:hover { background: var(--green-100); }
.nav-toggle.is-open { background: var(--green-500); color: #fff; }

/* Buttons -----------------------------------------------------------------*/
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  border: 0;
  border-radius: var(--pill);
  padding: 13px 26px;
  font-weight: 700;
  font-size: .95rem;
  transition: transform .15s ease, box-shadow .15s ease, background-color .15s ease;
}
.btn:active { transform: translateY(1px); }
.btn svg { width: 18px; height: 18px; flex: 0 0 auto; }
.btn--primary { background: var(--green-500); color: #fff; box-shadow: var(--shadow-sm); }
.btn--primary:hover { background: var(--green-600); color: #fff; box-shadow: var(--shadow); }
.btn--ghost { background: #fff; color: var(--green-800); box-shadow: var(--shadow-sm); }
.btn--ghost:hover { background: var(--green-50); color: var(--green-900); }
.btn--outline { background: #fff; color: var(--green-800); border: 1px solid var(--green-100); }
.btn--outline:hover { background: var(--green-50); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

/* Eyebrow pill + icon badge ----------------------------------------------*/
.eyebrow {
  display: inline-block;
  background: var(--green-100);
  color: var(--green-800);
  border-radius: var(--pill);
  padding: 5px 16px;
  font-size: .78rem;
  font-weight: 700;
  margin-bottom: 18px;
}
.badge {
  width: 54px;
  height: 54px;
  border-radius: 16px;
  background: var(--green-100);
  color: var(--green-600);
  display: grid;
  place-items: center;
  margin-bottom: 20px;
}
.badge--center { margin-inline: auto; }
.badge svg { width: 26px; height: 26px; }

/* Hero (home) -------------------------------------------------------------*/
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(150deg, #E6F4E6 0%, #DCEFDC 40%, #F3FAF3 100%);
  padding: 84px 0 96px;
}
.hero::before, .hero::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(129, 199, 132, .22);
  pointer-events: none;
}
.hero::before { width: 420px; height: 420px; top: -140px; right: -90px; }
.hero::after  { width: 300px; height: 300px; bottom: -130px; left: -110px; }
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 56px;
  align-items: center;
}
.hero h1 { max-width: 20ch; font-size: clamp(2rem, 3.4vw, 3.1rem); line-height: 1.15; }
.hero__text { max-width: 46ch; }
.quote-card {
  background: rgba(255, 255, 255, .72);
  border: 1px solid rgba(255, 255, 255, .9);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 28px 0;
  max-width: 44ch;
  box-shadow: var(--shadow-sm);
}
.quote-card p { font-style: italic; font-size: .95rem; margin-bottom: .4em; }
.quote-card cite { font-style: normal; font-size: .85rem; color: var(--green-800); font-weight: 700; }
.hero__media { position: relative; }
.hero__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--blob-a);
  box-shadow: var(--shadow-lg);
}
.float-card {
  position: absolute;
  left: -28px;
  bottom: 34px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border-radius: var(--pill);
  padding: 12px 22px 12px 14px;
  box-shadow: var(--shadow);
}
.float-card svg { width: 22px; height: 22px; color: var(--green-500); flex: 0 0 auto; }
.float-card strong { display: block; color: var(--green-900); font-size: .95rem; }
.float-card span { font-size: .78rem; }

/* Page hero (subpages) ----------------------------------------------------*/
.page-hero {
  background: linear-gradient(165deg, #E4F3E4 0%, #EDF7ED 60%, #FBFDFB 100%);
  padding: 92px 0 96px;
  text-align: center;
}
.page-hero .lead { color: var(--green-700, #337a37); }
.page-hero--split { text-align: left; }
.page-hero--split .wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.page-hero--split img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 3 / 2;
  object-fit: cover;
  width: 100%;
}

/* Two-column media rows ---------------------------------------------------*/
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.split--reverse .split__media { order: 2; }
.blob-a img, img.blob-a {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--blob-a);
  box-shadow: var(--shadow-lg);
}
.blob-b img, img.blob-b {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: var(--blob-b);
  box-shadow: var(--shadow-lg);
}

/* Soft stacked info cards -------------------------------------------------*/
.stack { display: grid; gap: 12px; }
.stack > li, .info-card {
  list-style: none;
  background: var(--green-50);
  border-radius: var(--radius);
  padding: 18px 22px;
  font-size: .95rem;
}

/* Mission -----------------------------------------------------------------*/
.mission-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 38px 44px;
  max-width: 640px;
  margin-inline: auto;
  box-shadow: var(--shadow);
  font-size: 1.02rem;
}
.mission-card p { margin: 0; }

/* Founder -----------------------------------------------------------------*/
.founder__label {
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  font-size: .74rem;
  letter-spacing: .06em;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.video-frame {
  background: #EDEDEB;
  border-radius: var(--radius);
  padding: 12px;
  box-shadow: var(--shadow);
}
.video-frame video,
.video-frame iframe,
.video-frame .video-empty {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  background: #000;
  display: block;
  border: 0;
}
.video-frame--square {
  border-radius: 24px;
  padding: 10px;
  background: #1B5E20;
  box-shadow: 0 20px 55px rgba(27, 94, 32, .22);
  aspect-ratio: 1 / 1;
  position: relative;
  overflow: hidden;
  width: 100%;
  max-width: 480px;
  margin-inline: auto;
}
.video-frame--square iframe {
  position: absolute;
  inset: 10px;
  width: calc(100% - 20px);
  height: calc(100% - 20px);
  border-radius: 14px;
  display: block;
  border: 0;
  background: #000;
}

/* Video poster (fallback bij geen embed) */
.video-frame--square .video-poster {
  position: absolute;
  inset: 10px;
  border-radius: 14px;
  display: block;
  overflow: hidden;
  cursor: pointer;
  background: #000;
}
.video-frame--square .video-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}
.video-frame--square .video-poster::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(0,0,0,.05) 0%, rgba(0,0,0,.25) 100%);
  transition: background .3s ease;
}
.video-frame--square .video-poster:hover img {
  transform: scale(1.04);
}
.video-frame--square .video-poster:hover::after {
  background: linear-gradient(160deg, rgba(0,0,0,.1) 0%, rgba(0,0,0,.3) 100%);
}
.video-frame--square .video-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .95);
  color: #1B5E20;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .35);
  z-index: 2;
  transition: transform .25s ease, background .25s ease;
}
.video-frame--square .video-play svg { width: 40px; height: 40px; margin-left: 4px; }
.video-frame--square .video-poster:hover .video-play {
  transform: translate(-50%, -50%) scale(1.08);
  background: #fff;
}

.video-empty {
  display: grid !important;
  place-items: center;
  color: #EDEDEB;
  font-size: .9rem;
  text-align: center;
  padding: 20px;
}
.video-caption { text-align: center; margin-top: 14px; font-size: .9rem; }
.video-caption strong { display: block; color: var(--green-900); }

/* Service cards -----------------------------------------------------------*/
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 28px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.service-card > img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.service-card__body { padding: 26px 28px 30px; }
.service-card .badge { width: 44px; height: 44px; border-radius: 14px; margin-top: -46px; background: #fff; box-shadow: var(--shadow-sm); }
.service-card__sub { color: var(--green-500); font-size: .88rem; margin: -.4em 0 1em; }
.more-link { font-size: .85rem; color: var(--green-600); }

/* Check lists -------------------------------------------------------------*/
.checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.checks li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: var(--green-50);
  border-radius: 14px;
  padding: 13px 18px;
  font-size: .93rem;
}
.checks--plain li { background: transparent; padding: 4px 0; }
.checks svg { width: 18px; height: 18px; color: var(--green-500); flex: 0 0 auto; margin-top: 3px; }
.checks-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--green-900);
  margin: 26px 0 14px;
}
.checks-title svg { width: 18px; height: 18px; color: var(--green-500); }

/* Donation band -----------------------------------------------------------*/
.band {
  background: linear-gradient(135deg, #1E8E3E 0%, #2FA84F 55%, #14a058 100%);
  color: #EAF7EC;
  text-align: center;
  padding: 92px 0;
}
.band h2 { color: #fff; }
.band p { max-width: 58ch; margin-inline: auto; }
.band .badge { background: rgba(255, 255, 255, .18); color: #fff; }

/* Partner logos -----------------------------------------------------------*/
.partner-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1020px;
  margin-inline: auto;
}
.partner-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  text-align: center;
}
.partner-card img {
  width: 76px; height: 76px;
  object-fit: contain;
  background: #fff;
  border-radius: 16px;
  padding: 8px;
  margin: 0 auto 16px;
  box-shadow: var(--shadow-sm);
}
.partner-card h4 { margin-bottom: .5em; }
.partner-card p { font-size: .85rem; color: var(--ink-soft); }
.partner-card a { font-size: .88rem; font-weight: 700; }

.partner-list { display: grid; gap: 10px; margin: 18px 0 26px; }
.partner-list div {
  background: var(--green-50);
  border-radius: 14px;
  padding: 12px 18px;
  font-size: .88rem;
}

/* Opportunity cards -------------------------------------------------------*/
.opportunity {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 30px 34px;
  box-shadow: var(--shadow-sm);
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 22px;
  margin-bottom: 22px;
}
.opportunity .badge { margin-bottom: 0; width: 46px; height: 46px; border-radius: 14px; }
.opportunity h3 { font-size: 1.3rem; margin-bottom: .35em; }

.why-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.why-card { background: var(--off-white); border-radius: var(--radius-lg); padding: 28px; }
.why-card .badge { width: 46px; height: 46px; border-radius: 14px; }
.why-card h3 { font-size: 1.22rem; }
.why-card p { font-size: .9rem; margin: 0; }

/* Projects ----------------------------------------------------------------*/
.project-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }
.project-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
}
.project-card img { aspect-ratio: 16 / 9; object-fit: cover; width: 100%; }
.project-card__body { padding: 24px 26px 26px; display: flex; flex-direction: column; flex: 1; }
.project-card h3 { font-size: 1.35rem; }
.project-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  font-size: .85rem;
  color: var(--green-600);
  margin-bottom: 14px;
}
.project-meta span { display: inline-flex; align-items: center; gap: 7px; }
.project-meta svg { width: 15px; height: 15px; }
.project-card__body > p { font-size: .93rem; flex: 1; }
.admin-row {
  display: flex;
  gap: 10px;
  padding-top: 16px;
  border-top: 1px solid var(--green-50);
}
.chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  border-radius: var(--pill);
  padding: 8px 18px;
  font-size: .85rem;
  font-weight: 700;
}
.chip svg { width: 15px; height: 15px; }
.chip--edit { background: var(--green-50); color: var(--green-700, #2E7D32); }
.chip--edit:hover { background: var(--green-100); }
.chip--delete { background: #FDECEC; color: #D14343; }
.chip--delete:hover { background: #FBDADA; }
.admin-bar[hidden] { display: none; }
.admin-bar { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 28px; }
.link-btn { background: none; border: 0; color: var(--green-800); font-weight: 600; }
.link-btn:hover { text-decoration: underline; }

/* Contact -----------------------------------------------------------------*/
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: start; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 22px; }
.contact-item .badge { width: 46px; height: 46px; border-radius: 14px; margin-bottom: 0; }
.contact-item strong { display: block; color: var(--green-900); font-size: 1rem; }
.note-box {
  background: var(--green-100);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-top: 30px;
}
.note-box strong { display: block; color: var(--green-900); margin-bottom: 8px; }
.note-box p { margin: 0; font-size: .93rem; }

.form-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 34px;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: .88rem; margin-bottom: 8px; color: var(--body); }
.field input, .field textarea {
  width: 100%;
  border: 1px solid rgba(27, 94, 32, .12);
  border-radius: var(--radius-sm);
  background: #fff;
  padding: 13px 16px;
  font: inherit;
  color: var(--ink);
}
.field textarea { min-height: 150px; resize: vertical; }
.field input:focus, .field textarea:focus { border-color: var(--green-400); outline: none; box-shadow: 0 0 0 3px rgba(102, 187, 106, .2); }
.form-card .btn { width: 100%; justify-content: center; padding: 16px; }
.form-status { font-size: .9rem; margin-top: 14px; min-height: 1.4em; }

/* Modal -------------------------------------------------------------------*/
.modal[hidden] { display: none; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: grid;
  place-items: center;
  background: rgba(27, 25, 23, .5);
  padding: 24px;
}
.modal__box {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 32px;
  width: min(100%, 560px);
  max-height: 88vh;
  overflow: auto;
  box-shadow: var(--shadow-lg);
}
.modal__box h3 { margin-bottom: 1em; }

/* Footer ------------------------------------------------------------------*/
.site-footer { background: var(--ink); color: var(--ink-soft); padding: 72px 0 34px; font-size: .92rem; }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 48px; }
.site-footer h4 {
  font-family: "Forum", Georgia, serif;
  color: var(--green-500);
  font-size: 1.15rem;
  margin-bottom: 1em;
}
.site-footer p { max-width: 46ch; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: #fff; }
.footer-contact { display: grid; gap: 10px; margin-top: 20px; }
.footer-contact a { display: inline-flex; align-items: center; gap: 10px; }
.footer-contact svg { width: 16px; height: 16px; }
.site-footer__bottom {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  text-align: center;
  font-size: .85rem;
}

/* Responsive --------------------------------------------------------------*/
@media (max-width: 1040px) {
  .header-contact { display: none; }
}
@media (max-width: 900px) {
  .section { padding: 68px 0; }
  .nav-toggle { display: block; }
  .header-right {
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    background: #fff;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px 24px 22px;
    border-bottom: 1px solid rgba(27, 94, 32, .08);
    box-shadow: var(--shadow);
    display: none;
  }
  .header-right.is-open { display: flex; }
  .site-nav { flex-direction: column; align-items: stretch; gap: 0; }
  .site-nav a { padding: 12px 0; border-bottom: 1px solid rgba(27, 94, 32, .07); }
  .lang { align-self: flex-start; margin-top: 14px; }
  .hero__grid, .split, .contact-grid, .page-hero--split .wrap { grid-template-columns: 1fr; gap: 40px; }
  .split--reverse .split__media { order: 0; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 34px; }
  .float-card { left: 12px; bottom: 12px; }
}
@media (max-width: 560px) {
  .wrap { width: min(100% - 2rem, var(--wrap)); }
  .mission-card, .form-card, .opportunity { padding: 26px 22px; }
  .opportunity { grid-template-columns: 1fr; gap: 16px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}


/* ---- Language dropdown ---------------------------------------------------*/
.lang-wrap { position: relative; }
.lang-menu {
  position: absolute;
  right: 0;
  top: calc(100% + 8px);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  padding: 6px;
  min-width: 168px;
  display: none;
  z-index: 70;
}
.lang-wrap.is-open .lang-menu,
.lang-menu.is-open {
  display: grid;
}
.lang-menu a, .lang-menu button {
  background: none;
  border: 0;
  text-align: left;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--green-800);
  font-size: .92rem;
  font-weight: 600;
  text-decoration: none;
  display: block;
  cursor: pointer;
}
.lang-menu a:hover, .lang-menu button:hover { background: var(--green-50); }
.lang-menu a.is-active, .lang-menu button.is-active { background: var(--green-100); }
.lang-note {
  padding: 8px 14px 4px;
  font-size: .78rem;
  color: var(--ink-soft);
  line-height: 1.5;
}

/* ---- Read more reveal ----------------------------------------------------*/
button.more-link {
  background: none;
  border: 0;
  padding: 0;
  color: var(--green-600);
  font-weight: 700;
  font-size: .9rem;
}
button.more-link:hover { color: var(--green-800); text-decoration: underline; }
.reveal[hidden] { display: none; }
.reveal { border-left: 3px solid var(--green-100); padding-left: 20px; margin: 4px 0 18px; }

/* ---- Support band email --------------------------------------------------*/
.band__mail { margin-top: 26px; font-size: .92rem; }
.band__mail a { color: #EAF7EC; text-decoration: underline; }
.band__mail a:hover { color: #fff; }

/* ---- Project gallery -----------------------------------------------------*/
.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}
.gallery img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

/* ---- Donate page ---------------------------------------------------------*/
.donate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 28px;
  max-width: 900px;
  margin-inline: auto;
}
.donate-card {
  background: var(--off-white);
  border-radius: var(--radius-lg);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.donate-card__head { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.donate-card__head h3 { margin: 0; }
.donate-card__head p { margin: 0; font-size: .85rem; color: var(--green-600); font-weight: 700; }
.flag { width: 46px; height: 46px; flex: 0 0 auto; border-radius: 10px; box-shadow: var(--shadow-sm); }
.account { margin: 0; display: grid; grid-template-columns: auto 1fr; gap: 10px 20px; font-size: .93rem; }
.account dt { color: var(--ink-soft); }
.account dd { margin: 0; color: var(--green-900); font-weight: 600; }
.donate-note { margin: 22px 0 0; font-size: .85rem; color: var(--ink-soft); }

/* ---- Supporter note ------------------------------------------------------*/
.supporter-note {
  margin: 44px auto 0;
  max-width: 620px;
  background: var(--green-50);
  border-radius: var(--radius);
  padding: 22px 28px;
  font-size: .92rem;
}
.supporter-note p { margin: 0 0 .4em; }
.supporter-note strong { color: var(--green-900); }

/* ---- Footer bottom -------------------------------------------------------*/
.site-footer__bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 24px;
  justify-content: space-between;
  text-align: left;
}
.site-footer__bottom .credit a { text-decoration: underline; }

@media (max-width: 900px) {
  .lang-wrap { margin-top: 14px; }
  .lang-menu { position: static; box-shadow: none; padding: 0; margin-top: 8px; }
  .site-footer__bottom { justify-content: center; text-align: center; }
}


/* ==========================================================================
   WordPress specifics
   ========================================================================== */

.screen-reader-text {
  position: absolute !important;
  width: 1px; height: 1px;
  clip-path: inset(50%);
  overflow: hidden;
  white-space: nowrap;
}
.skip-link:focus {
  position: fixed;
  top: 12px; left: 12px;
  z-index: 200;
  width: auto; height: auto;
  clip-path: none;
  background: #fff;
  color: var(--green-900);
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

/* page-hero headings now use h1 */
.page-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.6rem); }
.page-hero--split h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
.page-hero p:not(.lead):not(.founder__label) { max-width: 58ch; }
.page-hero--split p { margin-inline: 0; }

/* honeypot */
.imfk-hp { position: absolute !important; left: -9999px; }

.form-status--ok { color: var(--green-800); font-weight: 700; }
.form-status--error { color: #C0392B; font-weight: 700; }

/* project card image is a link */
.project-card__image { display: block; }
.project-card__image img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  width: 100%;
  transition: transform .3s ease;
}
.project-card h3 a { color: inherit; }
.project-card h3 a:hover { color: var(--green-600); }

/* editor content inside project / page templates */
.entry > * { max-width: 100%; }
.entry h2 { margin-top: 1.6em; }
.entry h2:first-child { margin-top: 0; }
.entry h3 { margin-top: 1.4em; font-size: clamp(1.2rem, 1.8vw, 1.5rem); }
.entry ul, .entry ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.entry li { margin-bottom: .5em; }
.entry img,
.entry .wp-block-image img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.entry figure { margin: 2em 0; }
.entry blockquote {
  margin: 1.6em 0;
  padding: 20px 26px;
  background: var(--green-50);
  border-radius: var(--radius);
  font-style: italic;
}
.entry .wp-block-gallery { margin: 2.4em 0; gap: 16px; }
.entry .wp-block-gallery figure.wp-block-image { margin: 0; }
.entry .wp-block-gallery img {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.entry .wp-block-image img { max-height: 620px; width: auto; }
.entry .wp-block-gallery .wp-block-image img { max-height: none; width: 100%; }
.entry figure.wp-block-image { text-align: center; }
.entry a { text-decoration: underline; }

/* pagination */
.pagination .nav-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border-radius: var(--pill);
  background: var(--green-50);
  color: var(--green-800);
  font-weight: 700;
  font-size: .9rem;
}
.pagination .page-numbers.current,
.pagination .page-numbers:hover { background: var(--green-500); color: #fff; }

/* custom logo */
.brand .custom-logo { height: 52px; width: auto; }


/* ==========================================================================





/* ==========================================================================
   Sfeer + animaties — nagemaakt van framer-motion origineel
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Blob-vormen die schalen en draaien - zoals in de originele hero */
@keyframes imfk-blob-a {
  0%   { transform: scale(1) rotate(0deg); }
  50%  { transform: scale(1.2) rotate(180deg); }
  100% { transform: scale(1) rotate(360deg); }
}
@keyframes imfk-blob-b {
  0%   { transform: scale(1) rotate(0deg); }
  50%  { transform: scale(1.3) rotate(-180deg); }
  100% { transform: scale(1) rotate(-360deg); }
}
@keyframes imfk-blob-drift {
  0%, 100% { transform: translate(0, 0); }
  50%      { transform: translate(20px, -30px); }
}

/* Vervang de standaard bubbels in de hero met blob-vormen die roteren */
.hero::before,
.hero::after {
  border-radius: 42% 58% 55% 45% / 48% 52% 48% 52% !important;
}
.hero::before {
  width: 320px !important;
  height: 320px !important;
  top: 40px !important;
  right: 40px !important;
  background: rgba(76, 175, 80, .10) !important;
  animation: imfk-blob-a 20s linear infinite !important;
}
.hero::after {
  width: 380px !important;
  height: 380px !important;
  bottom: 80px !important;
  left: 40px !important;
  background: rgba(129, 199, 132, .10) !important;
  animation: imfk-blob-b 15s linear infinite !important;
  animation-delay: -2s !important;
}

/* Extra drijvende bol in de hero */
.hero .float-bubble {
  position: absolute;
  right: 25%;
  top: 50%;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(102, 187, 106, .18);
  filter: blur(30px);
  pointer-events: none;
  animation: imfk-blob-drift 8s ease-in-out infinite;
}

/* Page-hero krijgt ook drijvende blob-vormen */
.page-hero { position: relative; overflow: hidden; }
.page-hero::before, .page-hero::after {
  content: "";
  position: absolute;
  border-radius: 42% 58% 55% 45% / 48% 52% 48% 52%;
  background: rgba(129, 199, 132, .12);
  pointer-events: none;
}
.page-hero::before {
  width: 260px; height: 260px;
  top: -60px; right: -60px;
  animation: imfk-blob-a 24s linear infinite;
}
.page-hero::after {
  width: 200px; height: 200px;
  bottom: -70px; left: -60px;
  animation: imfk-blob-b 20s linear infinite;
}

/* Hero foto wiegt tussen +3 en -3 graden - exact zoals origineel */
@keyframes imfk-sway-rotate {
  0%, 100% { transform: rotate(0deg); }
  33%      { transform: rotate(3deg); }
  66%      { transform: rotate(-3deg); }
}
.hero__media > img {
  animation: imfk-sway-rotate 6s ease-in-out infinite !important;
  transform-origin: center !important;
}

/* About-foto wiegt subtiel en schaalt op hover */
.split__media img.blob-b,
.split__media img.blob-a,
img.blob-a,
img.blob-b {
  transition: transform .5s ease !important;
}
.split__media:hover img.blob-a,
.split__media:hover img.blob-b,
.split:hover img.blob-a,
.split:hover img.blob-b {
  transform: scale(1.02) rotate(2deg) !important;
}

/* "Making a difference" pil floats en roteert - exact zoals origineel */
@keyframes imfk-float-badge {
  0%   { transform: translateY(0) rotate(-5deg); }
  50%  { transform: translateY(-15px) rotate(5deg); }
  100% { transform: translateY(0) rotate(-5deg); }
}
.float-card {
  animation: imfk-float-badge 4s ease-in-out infinite !important;
  transform-origin: center !important;
}

/* Hartje in de float-card klopt zachtjes */
@keyframes imfk-heartbeat {
  0%, 100% { transform: scale(1); }
  20%      { transform: scale(1.15); }
  40%      { transform: scale(1); }
}
.float-card > svg {
  animation: imfk-heartbeat 2.2s ease-in-out infinite;
  transform-origin: center;
}

/* Target-icoon op mission-sectie roteert tussen 10 en -10 */
@keyframes imfk-tilt {
  0%, 100% { transform: rotate(0deg); }
  25%      { transform: rotate(10deg); }
  75%      { transform: rotate(-10deg); }
}
.section--mint .badge--center,
.band .badge--center {
  animation: imfk-tilt 5s ease-in-out infinite;
  transform-origin: center;
}

/* Pulserende ring rond target-badge */
@keyframes imfk-pulse-ring {
  0%   { transform: scale(1); opacity: .5; }
  100% { transform: scale(1.4); opacity: 0; }
}
.section--mint .badge--center::after,
.band .badge--center::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: rgba(76, 175, 80, .3);
  animation: imfk-pulse-ring 2s ease-out infinite;
  pointer-events: none;
}
.section--mint .badge--center,
.band .badge--center { position: relative; }

/* Sparkle-icoontje twinkelt */
@keyframes imfk-twinkle {
  0%, 100% { opacity: 1; transform: scale(1) rotate(0deg); }
  50%      { opacity: .6; transform: scale(1.15) rotate(15deg); }
}
.mission-card > p:first-child > svg,
.quote-card svg {
  animation: imfk-twinkle 3s ease-in-out infinite;
  display: inline-block;
}

/* Scroll-in reveal */
.imfk-reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
  will-change: opacity, transform;
}
.imfk-reveal.imfk-in {
  opacity: 1;
  transform: translateY(0);
}
/* Horizontale reveals voor split-secties */
.imfk-reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .7s ease, transform .7s ease;
}
.imfk-reveal-left.imfk-in {
  opacity: 1;
  transform: translateX(0);
}
.imfk-reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.imfk-reveal-right.imfk-in {
  opacity: 1;
  transform: translateX(0);
}

/* Kaartjes tillen op hover */
.service-card,
.project-card,
.why-card,
.partner-card {
  transition: transform .35s ease, box-shadow .35s ease;
}
.service-card:hover,
.project-card:hover,
.why-card:hover,
.partner-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 55px rgba(27, 94, 32, .16);
}

.service-card > img,
.project-card__image img {
  transition: transform .5s ease;
}
.service-card:hover > img,
.project-card:hover .project-card__image img {
  transform: scale(1.05);
}

/* Buttons: schalen en licht roteren - exact zoals whileHover in origineel */
.btn { transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease; }
.btn--primary:hover { transform: scale(1.05) rotate(2deg); }
.btn--ghost:hover, .btn--outline:hover { transform: scale(1.05) rotate(-2deg); }
.btn:active { transform: scale(0.95); }

/* Badges in kaarten wiegen bij hover */
.opportunity:hover .badge svg,
.why-card:hover .badge svg,
.service-card:hover .badge svg {
  animation: imfk-heartbeat 1.2s ease-in-out;
}

/* Nav underline schuift uit */
.site-nav a {
  position: relative;
  transition: color .2s ease;
}
.site-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 2px;
  background: var(--green-400);
  transition: right .3s ease;
}
.site-nav a:hover::after,
.site-nav a.is-active::after {
  right: 0;
}
.site-nav a:hover { border-bottom-color: transparent; }
.site-nav a.is-active { border-bottom-color: transparent; }

/* Check-vinkjes lijstjes: kleuren op bij hover */
.checks li {
  transition: background-color .25s ease, transform .25s ease;
}
.checks li:hover {
  background-color: var(--green-100);
  transform: translateX(4px);
}

/* Language dropdown en reveal fade-in */
@keyframes imfk-fade-drop {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: translateY(0); }
}
.lang-menu:not([hidden]) { animation: imfk-fade-drop .18s ease-out; }
.reveal:not([hidden]) { animation: imfk-fade-drop .3s ease-out; }

/* Partner logo glow bij hover */
.partner-card img {
  transition: transform .35s ease, filter .35s ease;
}
.partner-card:hover img {
  transform: scale(1.08);
  filter: drop-shadow(0 8px 18px rgba(27, 94, 32, .22));
}

/* Zorg dat animaties nooit de nucleaire layout stuk maken */
.hero__media,
.hero__media img { min-width: 0 !important; max-width: 100% !important; }



/* ==========================================================================
   Donate modal
   ========================================================================== */

.imfk-modal[hidden] { display: none; }
.imfk-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.imfk-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .55);
  backdrop-filter: blur(4px);
  animation: imfk-fade-in .2s ease-out;
}
.imfk-modal__wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 640px;
  max-height: 92vh;
  overflow-y: auto;
  animation: imfk-modal-in .25s ease-out;
}
.imfk-modal__box {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .3);
}
@keyframes imfk-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes imfk-modal-in {
  from { opacity: 0; transform: translateY(20px) scale(.96); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}

.imfk-modal__head {
  position: sticky;
  top: 0;
  z-index: 2;
  background: linear-gradient(135deg, #388E3C, #2E7D32);
  color: #fff;
  padding: 28px 32px;
}
.imfk-modal__head-inner {
  display: flex;
  align-items: center;
  gap: 18px;
}
.imfk-modal__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
}
.imfk-modal__icon svg { width: 28px; height: 28px; color: #fff; }
.imfk-modal__head h2 {
  color: #fff !important;
  font-size: 1.7rem;
  margin: 0;
  line-height: 1.2;
}
.imfk-modal__head p {
  color: #C8E6C9;
  margin: 4px 0 0;
  font-size: .95rem;
}
.imfk-modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: rgba(255, 255, 255, .1);
  border: 0;
  color: #fff;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}
.imfk-modal__close:hover {
  background: rgba(255, 255, 255, .2);
  transform: scale(1.05);
}
.imfk-modal__close svg { width: 20px; height: 20px; }

.imfk-modal__body {
  padding: 28px 32px 32px;
  display: grid;
  gap: 22px;
}

.imfk-modal__intro {
  background: #E8F5E9;
  border: 1px solid #C8E6C9;
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.imfk-modal__intro svg {
  width: 22px;
  height: 22px;
  color: #388E3C;
  flex: 0 0 auto;
  margin-top: 2px;
}
.imfk-modal__intro p {
  margin: 0;
  color: #1B5E20;
  font-size: .95rem;
  line-height: 1.5;
}

.imfk-donate-block {
  background: #FAFAF9;
  border-radius: 18px;
  padding: 22px 24px;
}
.imfk-donate-block h3 {
  font-family: "Forum", Georgia, serif;
  font-size: 1.3rem;
  color: #1B5E20;
  margin: 0 0 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.imfk-donate-flag {
  font-size: 1.5rem;
  line-height: 1;
}

.imfk-donate-rows {
  display: grid;
  gap: 10px;
}
.imfk-donate-row {
  background: #fff;
  border: 1px solid #E5E5E4;
  border-radius: 12px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.imfk-donate-label {
  display: block;
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: #7A7A78;
  font-weight: 600;
  margin-bottom: 3px;
}
.imfk-donate-value {
  display: block;
  color: #1B5E20;
  font-weight: 600;
  font-family: "DM Sans", monospace;
  font-variant-numeric: tabular-nums;
  letter-spacing: .02em;
}
.imfk-copy-btn {
  background: none;
  border: 0;
  padding: 8px;
  border-radius: 8px;
  color: #66BB6A;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .2s ease, color .2s ease, transform .2s ease;
  flex: 0 0 auto;
}
.imfk-copy-btn:hover {
  background: #E8F5E9;
  color: #388E3C;
  transform: scale(1.08);
}
.imfk-copy-btn svg { width: 20px; height: 20px; }
.imfk-copy-btn.is-copied {
  color: #2E7D32;
  background: #C8E6C9;
}
.imfk-copy-btn.is-copied svg { display: none; }
.imfk-copy-btn.is-copied::after {
  content: "✓";
  font-size: 18px;
  font-weight: 800;
}

.imfk-donate-mention {
  margin: 14px 0 0;
  font-size: .87rem;
  color: #566d59;
}
.imfk-donate-mention em { color: #566d59; }
.imfk-donate-mention strong { color: #1B5E20; }

.imfk-donate-thanks {
  background: #FFF8E1;
  border: 1px solid #FFE082;
  border-radius: 16px;
  padding: 20px 24px;
  text-align: center;
}
.imfk-donate-thanks p {
  margin: 0;
  color: #5D4E1E;
  font-size: .95rem;
}

/* Toast bij copy */
.imfk-toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: #1B5E20;
  color: #fff;
  padding: 12px 22px;
  border-radius: 12px;
  font-weight: 600;
  font-size: .9rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, .2);
  opacity: 0;
  transition: opacity .3s ease, transform .3s ease;
  z-index: 300;
  pointer-events: none;
}
.imfk-toast.is-show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

@media (max-width: 640px) {
  .imfk-modal__head { padding: 22px 24px; }
  .imfk-modal__head h2 { font-size: 1.4rem; }
  .imfk-modal__body { padding: 22px 20px 26px; }
  .imfk-donate-block { padding: 18px 18px; }
  .imfk-donate-row { padding: 12px 14px; }
  .imfk-donate-value { font-size: .88rem; word-break: break-all; }
}

body.imfk-modal-open { overflow: hidden; }


/* ==========================================================================
   NUCLEAIRE FIX v1.2.0 - forceer volledige layout ongeacht wat er misgaat
   ========================================================================== */

body.home,
body {
  margin: 0 !important;
  padding: 0 !important;
  text-align: left !important;
  direction: ltr !important;
}

/* Wrap MOET gecentreerd zijn met max-breedte */
main .wrap,
.wrap {
  width: 100% !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
  float: none !important;
  position: relative !important;
  left: auto !important;
  right: auto !important;
  transform: none !important;
}

/* Hero container mag geen text-align:center hebben */
.hero {
  text-align: left !important;
  padding: 84px 0 96px !important;
  width: 100% !important;
  overflow: hidden !important;
  background: linear-gradient(150deg, #E6F4E6 0%, #DCEFDC 40%, #F3FAF3 100%) !important;
}

/* Hero grid MOET 2 kolommen op desktop, 1 op mobiel */
.hero .hero__grid,
.hero__grid {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 56px !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
}

@media screen and (max-width: 900px) {
  .hero .hero__grid,
  .hero__grid {
    grid-template-columns: 1fr !important;
    gap: 40px !important;
  }
}

/* Hero titel gecontroleerd */
.hero h1 {
  font-family: "Forum", "Iowan Old Style", Georgia, serif !important;
  font-weight: 400 !important;
  font-size: clamp(2rem, 3.4vw, 3.1rem) !important;
  line-height: 1.15 !important;
  letter-spacing: normal !important;
  color: #1C5E1F !important;
  margin: 0 0 20px !important;
  max-width: 100% !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
}

/* Hero tekst-kolom */
.hero__grid > div:first-child {
  min-width: 0 !important;
  max-width: 100% !important;
}

/* Hero media (foto) MOET zichtbaar zijn */
.hero__media,
.hero .hero__media {
  display: block !important;
  position: relative !important;
  min-width: 0 !important;
  max-width: 100% !important;
}
.hero__media img,
.hero .hero__media img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 4 / 3 !important;
  object-fit: cover !important;
  border-radius: 58% 42% 48% 52% / 52% 46% 54% 48% !important;
  box-shadow: 0 18px 50px rgba(27, 94, 32, .12) !important;
}

/* Site header ALTIJD zichtbaar en boven de content */
header.site-header,
.site-header {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: sticky !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 100 !important;
  background: #ffffff !important;
  border-bottom: 1px solid rgba(27, 94, 32, .12) !important;
  min-height: 76px !important;
  padding: 0 !important;
  margin: 0 !important;
}

.admin-bar header.site-header,
.admin-bar .site-header {
  top: 32px !important;
}
@media screen and (min-width: 783px) {
  .admin-bar header.site-header,
  .admin-bar .site-header {
    top: 46px !important;
  }
}

.site-header .site-header__inner,
.site-header__inner {
  display: flex !important;
  align-items: center !important;
  gap: 24px !important;
  min-height: 108px !important;
  max-width: 1180px !important;
  width: 100% !important;
  margin: 0 auto !important;
  padding: 0 24px !important;
  box-sizing: border-box !important;
}

.brand { flex: 0 0 auto !important; }
.brand img { height: 52px !important; width: auto !important; display: block !important; }

.header-right {
  margin-left: auto !important;
  display: flex !important;
  align-items: center !important;
  gap: 28px !important;
}
@media screen and (max-width: 900px) {
  .header-right { display: none !important; }
  .header-right.is-open { display: flex !important; flex-direction: column !important; }
  .nav-toggle { display: block !important; margin-left: auto !important; }
}
@media screen and (min-width: 901px) {
  .nav-toggle { display: none !important; }
}
