/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

/* ── Basis ── */
body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #111;
  background: #fff;
}

a { color: inherit; text-decoration: none; }

/* ── Container ── */
.pub-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 24px;
}
/* Ruimte na grote hero, vóór breadcrumb/titel */
.pub-hero + .pub-container { padding-top: 24px; }

/* ══════════════════════════════════════════
   NAVIGATIE
══════════════════════════════════════════ */

.pub-header {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 100;
  height: 72px;
}

.pub-header-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 16px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* Logo — originele hoogte 40px, niet upscalen */
.pub-logo-link { display: flex; align-items: center; flex-shrink: 0; }
.pub-logo-img  { height: 40px; width: auto; max-width: none; border-radius: 0; display: block; }

/* Desktop nav */
.pub-nav {
  display: flex;
  align-items: center;
  gap: 0;
}

.pub-nav-link {
  display: block;
  padding: 8px 14px;
  font-size: 15px;
  color: #111;
  white-space: nowrap;
}
.pub-nav-link:hover { color: #fa259a; }

/* Dropdown */
.pub-dropdown {
  position: relative;
}

.pub-dropbtn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 15px;
  font-family: inherit;
  color: #111;
  background: none;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}
.pub-dropbtn:hover { color: #fa259a; }

.pub-chevron {
  font-size: 12px;
  color: #999;
  transition: transform .2s;
  display: inline-block;
  margin-left: 2px;
}

.pub-dropdown:hover .pub-chevron { transform: rotate(180deg); }

.pub-dropdown-content {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-top: 2px solid #fa259a;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  z-index: 200;
}

.pub-dropdown:hover .pub-dropdown-content { display: block; }

.pub-dropdown-content a {
  display: block;
  padding: 10px 16px;
  font-size: 14px;
  color: #222;
  border-bottom: 1px solid #f0f0f0;
}
.pub-dropdown-content a:last-child { border-bottom: none; }
.pub-dropdown-content a:hover { background: #fdf0f7; color: #fa259a; }

/* Nav action buttons (zoek + outline + solid) */
.pub-nav-actions {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-left: 8px;
  flex-shrink: 0;
}

.pub-nav-login {
  font-size: 13px;
  color: #555;
  text-decoration: none;
  white-space: nowrap;
  padding: 4px 10px;
  border: 1px solid #ddd;
  border-radius: 50px;
  transition: border-color .15s, color .15s;
}
.pub-nav-login:hover { color: #fa259a; border-color: #fa259a; }

.pub-nav-zoek {
  display: flex;
  align-items: center;
  padding: 8px 10px;
  color: #555;
  border-radius: 6px;
  transition: color .15s;
}
.pub-nav-zoek:hover { color: #fa259a; }

.pub-nav-btn-materialen {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 16px;
  border: 1px solid #0a66c2;
  color: #0a66c2;
  border-radius: 20px;
  font-size: 14px;
  white-space: nowrap;
  transition: background .15s, color .15s;
}
.pub-nav-btn-materialen:hover { background: #0a66c2; color: #fff; }
.pub-nav-btn-materialen:hover img { filter: brightness(0) invert(1); }

.pub-nav-btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 16px;
  background: #fa259a;
  border: 1px solid #fa259a;
  color: #fff;
  border-radius: 30px;
  font-size: 14px;
  white-space: nowrap;
  transition: background .15s;
}
.pub-nav-btn-solid:hover { background: #d41f84; border-color: #d41f84; }
.pub-btn-pijl { vertical-align: -4px; }

/* Hamburger (verborgen op desktop) */
.pub-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.pub-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: #111;
  border-radius: 2px;
  transition: transform .2s, opacity .2s;
}
.pub-hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.pub-hamburger.is-open span:nth-child(2) { opacity: 0; }
.pub-hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile menu */
.pub-mobile-menu {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  overflow-y: auto;
  z-index: 99;
  border-top: 1px solid #e8e8e8;
  padding-bottom: 40px;
}
.pub-mobile-menu.is-open { display: block; }

.pub-mobile-link {
  display: block;
  padding: 14px 20px;
  font-size: 15px;
  color: #111;
  border-bottom: 1px solid #f0f0f0;
}
.pub-mobile-link:hover { color: #fa259a; }
.pub-mobile-sublink { padding-left: 32px; font-size: 14px; color: #444; }

.pub-mobile-sectie-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 14px 20px;
  font-size: 15px;
  font-family: inherit;
  font-weight: 600;
  color: #111;
  background: none;
  border: none;
  border-bottom: 1px solid #f0f0f0;
  cursor: pointer;
  text-align: left;
}

.pub-mobile-items { display: none; }
.pub-mobile-section.is-open .pub-mobile-items { display: block; }
.pub-mobile-section.is-open .pub-chevron { transform: rotate(180deg); }

/* ══════════════════════════════════════════
   HERO
══════════════════════════════════════════ */

.pub-hero {
  position: relative;
  height: 60svh;
  min-height: 300px;
  overflow: hidden;
}

.pub-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.pub-hero-overlay {
  position: absolute;
  inset: 0;
}

.pub-hero-payoff {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px;
  text-align: center;
  color: #fff;
  font-size: clamp(32px, 5vw, 60px);
  font-weight: 700;
  text-wrap: balance;
  max-width: 1296px;
  margin: 0 auto;
  line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.pub-hero-payoff--met-teller {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
}
.pub-hero-teller {
  text-align: center;
  text-shadow: 0 2px 8px rgba(0,0,0,.4);
}
.pub-hero-teller-label {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 4px;
}
.pub-hero-teller-getal {
  font-size: clamp(48px, 7vw, 80px);
  font-weight: 800;
  line-height: 1;
}

/* ── Hero slideshow (crossfade) ────────────────────────────────────────── */
.pub-hero--slideshow .pub-hero-img {
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
}
.pub-hero--slideshow .pub-hero-img.is-actief {
  opacity: 1;
}
/* Klein hero slideshow */
.cms-klein-hero-band--slideshow .cms-klein-hero-inner img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  will-change: opacity;
}
.cms-klein-hero-band--slideshow .cms-klein-hero-inner {
  position: relative;
  overflow: hidden;
}
.cms-klein-hero-band--slideshow .cms-klein-hero-inner img.is-actief {
  opacity: 1;
}

/* ── Hero pan-tilt-zoom (Ken Burns) effect ─────────────────────────────── */
@keyframes pub-hero-ptz {
  0%   { transform: scale(1.00) translate( 0.0%,  0.0%); }
  30%  { transform: scale(1.06) translate(-1.2%, -0.6%); }
  65%  { transform: scale(1.04) translate( 1.0%,  0.7%); }
  100% { transform: scale(1.00) translate( 0.0%,  0.0%); }
}
.pub-hero--ptz .pub-hero-img {
  animation: pub-hero-ptz 20s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform;
}
/* Slideshow + PTZ: animatie alleen op actieve slide, zodat hij herstart bij elke wissel */
.pub-hero--slideshow.pub-hero--ptz .pub-hero-img {
  animation: none;
}
.pub-hero--slideshow.pub-hero--ptz .pub-hero-img.is-actief {
  animation: pub-hero-ptz 8s ease-in-out forwards;
}

/* kleine hero: zelfde effect op de img direct */
@keyframes pub-klein-hero-ptz {
  0%   { transform: scale(1.00) translate( 0.0%,  0.0%); }
  30%  { transform: scale(1.05) translate(-0.8%, -0.5%); }
  65%  { transform: scale(1.03) translate( 0.7%,  0.5%); }
  100% { transform: scale(1.00) translate( 0.0%,  0.0%); }
}
.cms-klein-hero-band--ptz img {
  animation: pub-klein-hero-ptz 20s ease-in-out infinite;
  transform-origin: center center;
  will-change: transform;
}

/* kleine hero band (opmaak_foto=1) — grijs full-bleed, foto op natuurlijke 16:9 verhouding */
.cms-klein-hero-band {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-top: 0;
  margin-bottom: 0;
  background: #f3f3f3;
}
.cms-klein-hero-inner {
  max-width: 1000px;
  margin: 0 auto;
}
.cms-klein-hero-band img {
  height: 60svh;
  width: auto;
  max-width: 1000px;
  display: block;
}
.cms-klein-hero-band .cms-video-thumb {
  position: relative;
  display: inline-block;
  vertical-align: top;
  border-radius: 0;
  overflow: hidden;
}
.cms-klein-hero-band .cms-video-thumb img {
  height: 60svh;
  width: auto;
  max-width: 1000px;
}
@media (max-width: 600px) {
  .cms-klein-hero-band { background: none; margin-left: 0; margin-right: 0; }
  .cms-klein-hero-inner { padding: 0; }
  .cms-klein-hero-band img,
  .cms-klein-hero-band .cms-video-thumb img { height: auto; width: 100%; }
  .cms-klein-hero-band .cms-video-thumb { display: block; }
}

/* ══════════════════════════════════════════
   MAIN / PAGINA
══════════════════════════════════════════ */

.pub-main {
  min-height: 60vh;
}

/* ── CMS pagina ── */
.cms-pagina-body { padding-top: 40px; padding-bottom: 80px; }
.cms-pagina-kort { font-size: 14px; color: #888; margin: 0 0 20px; }
.cms-video-player-wrap { margin: 20px 0 0; }

.cms-pagina-titel {
  font-size: 28px;
  font-weight: 700;
  color: #555;
  margin: 32px 0 6px;
  line-height: 1.3;
}

/* ── CMS Rijen (container/row systeem) ── */
.cms-rij { box-sizing: border-box; margin-bottom: 32px; }

/* Centrering + padding voor alle niet-volle rijen */
.cms-rij-gecentreerd {
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}
/* Breedte-varianten — alleen max-width, centrering via cms-rij-gecentreerd */
.cms-rij-smal    { max-width: 600px; }
.cms-rij-normaal { max-width: 900px; }
.cms-rij-breed   { max-width: 1200px; }
.cms-rij-vol     { width: 100%; }

/* Meerdere blokken naast elkaar */
.cms-rij-multi {
  display: flex;
  gap: 24px;
  align-items: stretch;  /* kolommen even hoog */
}
.cms-rij-kolom {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}
/* Directe kinderen van een kolom vullen de volle hoogte */
.cms-rij-kolom > .cms-kaart,
.cms-rij-kolom > .cms-index,
.cms-rij-kolom > .cms-form { flex: 1; }

@media (max-width: 640px) {
  .cms-rij-multi { flex-direction: column; }
  .cms-rij-gecentreerd { padding-left: 16px; padding-right: 16px; }
}

/* ── Componenten ── */

/* Heading */
.cms-heading { margin: 32px 0 12px; line-height: 1.3; }
.cms-heading-1 { font-size: 28px; font-weight: 700; }
.cms-heading-2 { font-size: 22px; font-weight: 700; }
.cms-heading-3 { font-size: 18px; font-weight: 600; }
.cms-heading-4 { font-size: 16px; font-weight: 600; }

/* Paragraph */
.cms-paragraph { margin-bottom: 20px; color: #333; }
.cms-paragraph-midden { text-align: center; }
.cms-paragraph-rechts  { text-align: right; }
.cms-paragraph-titel { line-height: 1.3; margin: 0 0 10px; }
h2.cms-paragraph-titel { font-size: 22px; font-weight: 700; }
h3.cms-paragraph-titel { font-size: 18px; font-weight: 600; }
h4.cms-paragraph-titel { font-size: 16px; font-weight: 600; }
.cms-paragraph p { margin: 0 0 12px; }
.cms-paragraph p:last-child { margin-bottom: 0; }
.cms-paragraph-tekst h3 { font-size: 17px; font-weight: 600; margin: 18px 0 8px; }
.cms-paragraph-tekst h3:first-child { margin-top: 0; }
.cms-paragraph a { color: #fa259a; }
.cms-paragraph ul,
.cms-paragraph ol { margin-left: 20px; margin-bottom: 12px; }
.cms-paragraph-tekst:empty { display: none; }
/* Inline achtergrondkleur van geplakte content (Word/web) neutraliseren */
.cms-paragraph span { background-color: transparent !important; }
.cms-kaart-tekst span { background-color: transparent !important; }

/* Breadcrumb */
.cms-breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
  font-size: 13px;
  color: #888;
  margin: 20px 0 8px;
}
.cms-breadcrumb-link { color: #888; text-decoration: none; }
.cms-breadcrumb-link:hover { color: #fa259a; text-decoration: underline; }
.cms-breadcrumb-huidig { color: #444; font-weight: 500; }
.cms-breadcrumb-scheider { color: #ccc; }

/* Image */
.cms-image { margin: 24px 0; }
.cms-image img { max-width: 100%; height: auto; border-radius: 8px; display: block; }
.cms-image figcaption { font-size: 13px; color: #888; margin-top: 8px; }
/* Grootte */
.cms-image-volledig { width: 100%; }
.cms-image-groot    { width: 100%; max-width: 720px; }
.cms-image-middel   { width: 100%; max-width: 480px; }
.cms-image-klein    { width: 100%; max-width: 280px; }
/* Uitlijning — geen float, altijd block */
.cms-image-midden { margin-left: auto; margin-right: auto; display: block; }
.cms-image-links  { margin-right: auto; }
.cms-image-rechts { margin-left: auto; }

/* Video */
.cms-video { margin: 24px 0; position: relative; padding-bottom: 56.25%; height: 0; overflow: hidden; border-radius: 8px; }
.cms-video iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

/* Accordion */
.cms-accordion { margin: 24px 0; }
.cms-accordion-item { border: 1px solid #e8e8e8; border-radius: 8px; margin-bottom: 8px; overflow: hidden; }
.cms-accordion-vraag {
  padding: 14px 16px;
  font-weight: 500;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.cms-accordion-vraag::-webkit-details-marker { display: none; }
.cms-accordion-vraag::after { content: '+'; font-size: 18px; color: #aaa; }
details[open] .cms-accordion-vraag::after { content: '−'; }
.cms-accordion-antwoord { padding: 0 16px 14px; color: #444; font-size: 15px; }

/* Card grid (backward compat — wordt uitgefaseerd) */
.cms-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin: 24px 0;
}
.cms-card {
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  transition: border-color .15s, box-shadow .15s;
}
.cms-card:hover { border-color: #fa259a; box-shadow: 0 2px 8px rgba(250,37,154,.08); }
.cms-card-afbeelding img { width: 100%; height: 200px; object-fit: cover; display: block; }
.cms-card-content { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.cms-card-content h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.cms-card-content p { font-size: 14px; color: #555; flex: 1; margin-bottom: 16px; }

/* Kaart-blok (nieuw enkelvoud) */
.cms-kaart {
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.cms-kaart:hover { border-color: #fa259a; box-shadow: 0 2px 8px rgba(250,37,154,.08); }
.cms-kaart-img-wrap { overflow: hidden; flex-shrink: 0; height: 200px; }
.cms-kaart-img-wrap img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cms-kaart-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }
.cms-kaart-titel { font-size: 16px; font-weight: 600; margin: 0 0 8px; line-height: 1.4; }
h2.cms-kaart-titel { font-size: 22px; }
h4.cms-kaart-titel { font-size: 13px; font-weight: 400; color: #666; font-style: italic; margin: 0; }
h4.cms-kaart-titel { font-size: 14px; }
.cms-kaart-tekst { font-size: 14px; color: #555; flex: 1; margin-bottom: 16px; line-height: 1.5; }
.cms-kaart-tekst, .cms-kaart-tekst * { font-size: 14px; }
.cms-kaart-tekst p { margin: 0; }
.cms-kaart-tekst p + p { margin-top: 8px; }
.cms-kaart-tekst ul, .cms-kaart-tekst ol { margin: 0 0 8px; padding-left: 20px; }
.cms-kaart-tekst a { color: #fa259a; }
/* Inline portretfoto's (klein, border-radius via inline style) */
.cms-kaart-tekst img { max-width: 100%; height: auto; display: block; margin: 10px 0; }
.cms-kaart--gekleurd .cms-kaart-tekst img { opacity: .95; }

/* Gedeelde knop-stijl */
.cms-card-btn {
  display: inline-block;
  margin-top: auto;
  padding: 8px 18px;
  background: #fa259a;
  color: #fff;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  align-self: flex-start;
  transition: background .15s;
}
.cms-card:hover .cms-card-btn,
.cms-kaart:hover .cms-card-btn,
.cms-nieuws-card:hover .cms-card-btn { background: #d41f84; }

/* Gekleurde kaarten (roze, blauw, etc.) */
.cms-kaart--gekleurd { border-color: transparent; }
.cms-kaart--gekleurd:hover { border-color: transparent; box-shadow: 0 4px 16px rgba(0,0,0,.2); }
.cms-kaart--gekleurd .cms-kaart-titel { color: inherit; }
.cms-kaart--gekleurd .cms-kaart-tekst,
.cms-kaart--gekleurd .cms-kaart-tekst * { color: inherit !important; }
.cms-kaart--gekleurd .cms-kaart-tekst a { text-decoration: underline; }
.cms-kaart--gekleurd .cms-card-btn { background: rgba(255,255,255,.25); color: inherit; }
.cms-kaart--gekleurd:hover .cms-card-btn { background: rgba(255,255,255,.4); }

/* Kader-stijl (border, geen achtergrond) */
.cms-kaart--kader { border: 2px solid #fa259a; }


/* ── Partner-logo's component ── */
.cms-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 8px 0;
}
.cms-logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: calc(16.66% - 10px); /* 6 per rij */
  min-width: 100px;
}
.cms-logo-item img {
  width: 100%;
  height: 56px;
  object-fit: contain;
  padding: 10px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  box-sizing: border-box;
  transition: border-color .15s, box-shadow .15s;
  display: block;
}
.cms-logo-item a:hover img {
  border-color: #ccc;
  box-shadow: 0 2px 8px rgba(0,0,0,.08);
}
.cms-logo-neplogo {
  width: 100%;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  box-sizing: border-box;
  text-align: center;
  line-height: 1.2;
  overflow: hidden;
}
.cms-logo-naam {
  font-size: 11px;
  color: #999;
  text-align: center;
  margin-top: 5px;
  line-height: 1.3;
}
.cms-logo-meta {
  font-size: 10px;
  color: #bbb;
  text-align: center;
  line-height: 1.3;
}
.cms-logos-pills {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 13px;
  color: #888;
}
.cms-logos-pill {
  background: #f0f0f0;
  border: 1px solid #ddd;
  border-radius: 20px;
  padding: 3px 12px;
  font-size: 12px;
  cursor: pointer;
  color: #555;
  transition: background .15s;
}
.cms-logos-pill:hover { background: #e4e4e4; }
.cms-logos-pill.actief { background: #fa259a; border-color: #fa259a; color: #fff; }
@media (max-width: 640px) {
  .cms-logo-item { width: calc(33.33% - 8px); }
}

/* ── Ticker (scrollende tekst) ── */
@font-face {
  font-family: "Ticker";
  src: url("https://www.huidfonds.nl/fonts/subway_ticker/SubwayTickerGrid.ttf") format("truetype");
  font-display: swap;
}
.cms-fotoalbum {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.cms-fotoalbum-item {
  width: calc(33.33% - 7px);
  cursor: pointer;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
}
.cms-fotoalbum-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
  transition: transform .2s;
}
.cms-fotoalbum-item:hover img { transform: scale(1.04); }
.cms-fotoalbum-cap {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: rgba(0,0,0,.45);
  color: #fff;
  font-size: 12px;
  padding: 5px 8px;
  line-height: 1.3;
}
.cms-fotoalbum-dialog {
  border: none;
  border-radius: 10px;
  padding: 0;
  max-width: 92vw;
  max-height: 92vh;
  background: #111;
  color: #fff;
  overflow: hidden;
}
.cms-fotoalbum-dialog::backdrop { background: rgba(0,0,0,.75); }
.cms-fotoalbum-img-wrap { display: flex; justify-content: center; }
.cms-fotoalbum-groot { max-width: 100%; max-height: 75vh; object-fit: contain; display: block; }
.cms-fotoalbum-info { padding: 10px 16px; font-size: 14px; line-height: 1.4; }
.cms-fotoalbum-titel { display: block; font-size: 16px; }
.cms-fotoalbum-meta  { color: #aaa; margin-left: 8px; }
.cms-fotoalbum-close,
.cms-fotoalbum-prev,
.cms-fotoalbum-next {
  position: absolute;
  background: rgba(0,0,0,.5);
  border: none;
  color: #fff;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  display: flex; align-items: center; justify-content: center;
  z-index: 10;
}
.cms-fotoalbum-close { top: 10px; right: 10px; font-size: 20px; }
.cms-fotoalbum-prev  { top: 50%; left: 10px;  transform: translateY(-50%); }
.cms-fotoalbum-next  { top: 50%; right: 10px; transform: translateY(-50%); }
@media (max-width: 600px) {
  .cms-fotoalbum-item { width: calc(50% - 5px); }
}
.cms-groepindex-titel {
  font-size: 22px;
  color: #fa259a;
  margin: 0 0 6px;
}
.cms-groepindex-tekst {
  color: #555;
  margin: 0 0 10px;
}
.cms-groepindex-cloud {
  line-height: 2.2;
  margin: 0;
}
.cms-groepindex-tag {
  color: inherit;
  text-decoration: none;
  white-space: nowrap;
}
.cms-groepindex-tag:hover { text-decoration: underline; }
.cms-groepindex-aantal {
  color: #999;
  font-size: 13px;
}
.cms-ticker {
  overflow: hidden;
  border-radius: 11px;
  padding: 10px 0;
  width: 100%;
  /* Zwarte "border" links en rechts, net als het origineel */
  box-shadow: inset 14px 0 0 rgba(0,0,0,.25), inset -14px 0 0 rgba(0,0,0,.25);
}
.cms-rij-kolom > .cms-ticker { flex: 1; }
.cms-ticker-track {
  display: flex;
  white-space: nowrap;
  will-change: transform;
}
.cms-ticker-tekst {
  font-family: 'Ticker', monospace;
  font-size: 30px;
  font-weight: 400;
  letter-spacing: 0;
  color: rgba(255,255,255,.8);
  padding: 0 20px;
}

/* ── Trailer (statistieken-carousel) ── */
.cms-trailer {
  position: relative;
  width: 100%;
  min-height: 260px;
  background: linear-gradient(135deg, #0d0d1a 0%, #1e0533 60%, #2a0a1e 100%);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.cms-rij-kolom > .cms-trailer { flex: 1; align-self: stretch; min-height: 0; }
.cms-trailer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 40%, rgba(250,37,154,.18) 0%, transparent 70%);
  pointer-events: none;
}
.cms-trailer-slide {
  text-align: center;
  padding: 24px 32px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s ease, transform .4s ease;
}
.cms-trailer-slide.in  { opacity: 1; transform: translateY(0); }
.cms-trailer-slide.uit { opacity: 0; transform: translateY(-20px); transition: opacity .35s ease, transform .35s ease; }
.cms-trailer-getal {
  font-size: clamp(40px, 10vw, 80px);
  font-weight: 900;
  line-height: 1;
  color: #fff;
  letter-spacing: -1px;
  text-shadow: 0 0 40px rgba(250,37,154,.6);
}
.cms-trailer-tekst {
  margin-top: 12px;
  font-size: clamp(14px, 2.5vw, 20px);
  color: rgba(255,255,255,.75);
  font-weight: 400;
  letter-spacing: .3px;
}
.cms-trailer-dots {
  position: absolute;
  bottom: 14px;
  display: flex;
  gap: 7px;
}
.cms-trailer-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: rgba(255,255,255,.25);
  transition: background .3s, transform .3s;
}
.cms-trailer-dot.actief {
  background: #fa259a;
  transform: scale(1.3);
}

/* ── Fotoslider ── */
@keyframes cms-fsl-scroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.cms-fotoslider-wrap {
  box-shadow: 0 4px 8px rgba(0,0,0,.15);
  border-radius: 15px;
  padding: 10px;
  overflow: hidden;
}
.cms-fotoslider-link { display: block; text-decoration: none; }
.cms-fotoslider-container {
  overflow: hidden;
  position: relative;
  width: 100%;
}
.cms-fotoslider-track {
  display: flex;
  width: max-content;
  will-change: transform;
}
.cms-fotoslider-slide { flex: 0 0 auto; margin: 0 10px; }
.cms-fotoslider-slide img {
  height: 100px;
  width: auto;
  object-fit: contain;
  border-radius: 10px;
  display: block;
}

/* ── Formulier component ── */
.cms-form { margin: 32px 0; scroll-margin-top: 88px; }
.cms-form--gekleurd { padding: 17px; border-radius: 12px; margin: 0; width: 100%; box-sizing: border-box; }
.cms-form--gekleurd .cms-form-titel { color: inherit; }
.cms-form--gekleurd .cms-form-intro { color: inherit; opacity: .85; }
.cms-form--gekleurd .cms-form-veld label { color: inherit; }
.cms-form-titel { font-size: 22px; font-weight: 700; margin-bottom: 8px; }
.cms-form-intro { color: #555; margin-bottom: 14px; }
.cms-form-veld { margin-bottom: 0; }
.cms-form-veld label { display: block; font-size: 14px; font-weight: 500; color: #333; margin-bottom: 5px; }
.cms-form-vereist { color: #fa259a; }
.cms-form-veld input,
.cms-form-veld select,
.cms-form-veld textarea {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 7px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: border-color .15s;
}
.cms-form-veld input:focus,
.cms-form-veld select:focus,
.cms-form-veld textarea:focus { border-color: #fa259a; }

.cms-form-akkoord,
.cms-form-donatie-optie {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 14px;
  color: #444;
  margin-bottom: 12px;
  cursor: pointer;
}
.cms-form-akkoord input,
.cms-form-donatie-optie input { margin-top: 3px; flex-shrink: 0; accent-color: #fa259a; }

.cms-form-donatie { margin: 20px 0; padding: 16px; background: #fdf0f7; border-radius: 8px; }
.cms-form-submit { margin-top: 14px; }

.cms-btn {
  display: inline-block;
  background: #fa259a;
  color: #fff;
  padding: 12px 28px;
  border: none;
  border-radius: 7px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: background .15s;
}
.cms-btn:hover { background: #d41f84; }

.cms-form-bedankt {
  background: #fdf0f7;
  border: 1px solid #f9aad7;
  border-radius: 10px;
  padding: 28px 24px;
}
.cms-form-bedankt h2 { font-size: 20px; margin-bottom: 10px; color: #8b0057; }
.cms-form-bedankt p { color: #8b0057; }

.cms-form-fout {
  background: #fff1f1;
  border: 1px solid #fecaca;
  border-radius: 8px;
  padding: 12px 16px;
  color: #c00;
  font-size: 14px;
  margin-bottom: 16px;
}

/* === Formuliercomponent — interactieve stijlen ===
   Gebaseerd op bewezen CSS uit donatieformulier9.js.
   Werkt samen met de bestaande .cms-form* klassen hierboven. */

/* Gekleurd formulier: inputs transparant-wit ipv grijs */
.cms-form--gekleurd input[type="text"],
.cms-form--gekleurd input[type="email"],
.cms-form--gekleurd select {
  width: 100%;
  box-sizing: border-box;
  background-color: rgba(255,255,255,0.8);
  border: none;
  border-radius: 4px;
  padding: 6px 8px;
  margin-bottom: 8px;
  font-family: inherit;
  font-size: 14px;
}
.cms-form--gekleurd input[type="text"]:focus,
.cms-form--gekleurd input[type="email"]:focus,
.cms-form--gekleurd select:focus { border-color: transparent; outline: 2px solid rgba(255,255,255,0.6); }

/* Radio-pill knoppen (donatieperiodes + bedragkeuze) */
.cms-form-radio-groep { margin-bottom: 12px; }
.cms-form-radio-groep input[type="radio"] { display: none; }
.cms-form-radio-groep input[type="radio"]:checked + label { background-color: white; }
.cms-form-radio-groep label {
  display: inline-block;
  user-select: none;
  font-size: 14px;
  background-color: rgba(255,255,255,0.25);
  padding: 8px;
  margin: 0 4px 8px 0;
  border-radius: 8px;
  cursor: pointer;
  color: black;
}
.cms-form-radio-groep label:hover { background-color: rgba(255,255,255,0.75); }

/* Adresblok: postcode + huisnr naast elkaar */
.cms-form-adresblok { line-height: 80%; margin-top: 10px; }
.cms-form-adresblok .cms-form-adres-cols { display: flex; flex-wrap: wrap; }
.cms-form-adresblok input[type="text"] { width: 100%; box-sizing: border-box; }
.cms-form-adresblok .cms-form-adres-postcode { width: 60%; padding-right: 12px; box-sizing: border-box; }
.cms-form-adresblok .cms-form-adres-huisnr { width: 40%; box-sizing: border-box; }

/* Submit-knop in gekleurd formulier (overschrijft roze .cms-btn) */
.cms-form--gekleurd .cms-form-btn,
.cms-quiz--gekleurd .cms-form-btn {
  width: 100%;
  padding: 12px 24px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 8px;
  border: 1px solid rgba(0,0,0,.25);
  background-color: white;
  color: black;
  font-family: inherit;
  transition: border-color .2s, background-color .2s;
}
.cms-form--gekleurd .cms-form-btn:disabled,
.cms-quiz--gekleurd .cms-form-btn:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }
.cms-form--gekleurd .cms-form-btn:not(:disabled):hover,
.cms-quiz--gekleurd .cms-form-btn:not(:disabled):hover { border-color: black; }

/* Akkoorden container (initieel verborgen, getoond na eerste interactie) */
.cms-form-akkoorden { margin-top: 20px; display: none; }
.cms-form-akkoorden.zichtbaar { display: block; }
.cms-form-akkoord-label {
  font-size: 14px;
  font-weight: 300;
  cursor: pointer;
  color: inherit;
}
/* Checkbox formaat in gekleurd formulier */
.cms-form--gekleurd .cms-form-akkoord input[type="checkbox"] {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  margin-right: 8px;
  accent-color: inherit;
}
.cms-form--gekleurd .cms-form-donatie-optie input[type="checkbox"] {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-right: 8px;
  accent-color: inherit;
}

/* Error-samenvatting (client-side validatie) */
.cms-form-error-summary {
  display: none;
  background-color: #ffebee;
  color: #c62828;
  padding: 15px;
  border-radius: 8px;
  margin-bottom: 20px;
  border: 1px solid #ef9a9a;
  font-size: 14px;
  line-height: 1.4;
}
.cms-form-error-summary ul { margin: 5px 0 0 20px; padding: 0; }

/* Privacy-link onderaan gekleurd formulier */
.cms-form-privacy { text-align: center; margin-top: 5px; font-size: 12px; display: none; }
.cms-form-privacy a { color: inherit; text-decoration: none; opacity: 0.8; }
.cms-form-privacy a:hover { text-decoration: underline; opacity: 1; }

/* Ander bedrag invoerveld */
.cms-form-ander-bedrag { display: none; margin-top: 10px; }
.cms-form-ander-bedrag input { width: 100px; }

/* Telemarketing-akkoord (verborgen totdat telefoon ingevuld) */
.cms-form-akkoord--tm { display: none; }

/* Debug */
.cms-component-fout {
  border: 1px solid #c00;
  background: #fff1f1;
  padding: 8px 12px;
  margin: 8px 0;
  font-size: 12px;
  color: #c00;
  border-radius: 4px;
}

/* ── Nieuws sectie ── */
.cms-nieuws { margin: 40px 0; }

.cms-nieuws-titel {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
}

.cms-nieuws-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 20px;
}

.cms-nieuws-card {
  display: flex;
  flex-direction: column;
  border: 1px solid #e8e8e8;
  border-radius: 10px;
  overflow: hidden;
  color: inherit;
  transition: border-color .15s, box-shadow .15s;
}
.cms-nieuws-card:hover { border-color: #fa259a; box-shadow: 0 2px 8px rgba(250,37,154,.08); }
.cms-nieuws-card--op-kleur { background: rgba(255,255,255,.15); border-color: rgba(255,255,255,.3); color: inherit; }
.cms-nieuws-card--op-kleur:hover { border-color: rgba(255,255,255,.8); box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.cms-nieuws-card--op-kleur .cms-nieuws-card-body p { color: inherit; opacity: .85; }

.cms-nieuws-card-img img { width: 100%; height: 180px; object-fit: cover; display: block; }

.cms-nieuws-card-body { padding: 16px; display: flex; flex-direction: column; flex: 1; }

.cms-nieuws-datum { font-size: 12px; color: #aaa; margin-bottom: 8px; display: block; }

.cms-nieuws-card-body h3 { font-size: 15px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.cms-nieuws-card-body p { font-size: 13px; color: #666; margin-bottom: 12px; }

.cms-nieuws-meer { margin-top: 28px; text-align: center; }

/* ── Index-blok (kindpagina's) ─────────────────────────────────────────── */
.cms-index { display: flex; flex-direction: column; }
.cms-index-titel { font-size: 22px; font-weight: 700; margin-bottom: 20px; }

/* ── Video player (klik-om-te-spelen) ─────────────────────────────────── */
.cms-video-player-wrap { margin: 24px 0; }
.cms-video-thumb { position: relative; cursor: pointer; border-radius: 8px; overflow: hidden; display: block; }
.cms-video-thumb img { width: 100%; display: block; }
.cms-video-play {
  position: absolute; inset: 0; margin: auto;
  width: 60px; height: 60px;
  background: none; border: none; cursor: pointer; padding: 0;
  transition: transform .15s;
}
.cms-video-thumb:hover .cms-video-play { transform: scale(1.1); }
.cms-video-play svg { width: 60px; height: 60px; }
/* Quote blok */
.cms-quote { position: relative; margin: 0; padding: 28px 28px 24px 56px; border-radius: 10px; border: none; }
.cms-quote-mark { position: absolute; top: 12px; left: 16px; font-size: 64px; line-height: 1; font-family: Georgia, serif; opacity: .35; pointer-events: none; }
.cms-quote-tekst { font-size: 16px; line-height: 1.7; }
.cms-quote-tekst p { margin: 0; }
.cms-quote-tekst p + p { margin-top: 12px; }
.cms-quote-bron { display: block; margin-top: 14px; font-size: 13px; font-style: normal; font-weight: 600; opacity: .7; }

.cms-video-direct { position: relative; padding-bottom: 56.25%; height: 0; border-radius: 8px; overflow: hidden; }
.cms-video-titel { margin: 10px 0 0; font-size: 16px; font-weight: 600; color: #111; }
.cms-video-talen { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.cms-video-taal-btn { padding: 6px 16px; border-radius: 20px; border: 1px solid #ddd; font-size: 14px; background: #fff; color: #555; cursor: pointer; transition: border-color .15s, color .15s; }
.cms-video-taal-btn:hover { border-color: #fa259a; color: #fa259a; }
.cms-video-taal-btn.actief { border-color: #fa259a; background: #fa259a; color: #fff; }
.cms-video-direct iframe { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Video badge op kaart */
.cms-nieuws-card-img { position: relative; }
.cms-card-video-badge {
  position: absolute;
  bottom: 8px; right: 8px;
  background: rgba(0,0,0,.55);
  color: #fff;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  pointer-events: none;
  letter-spacing: .5px;
}

/* Tag filter pills */
.cms-lijst-zoek { margin-bottom: 12px; }
.cms-lijst-zoekbalk { width: 100%; box-sizing: border-box; padding: 10px 16px; font-size: 15px; border: 1px solid #ddd; border-radius: 8px; outline: none; }
.cms-lijst-zoekbalk:focus { border-color: #fa259a; }
.cms-tag-filter { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.cms-tag-pill { display: inline-flex; align-items: center; padding: 5px 14px; border-radius: 20px; border: 1px solid #ddd; font-size: 14px; color: #555; background: #fff; transition: border-color .15s, color .15s; }
.cms-tag-pill:hover { border-color: #fa259a; color: #fa259a; }
.cms-tag-pill.actief { border-color: #fa259a; background: #fa259a; color: #fff; }
.cms-tag-aantal { font-size: 12px; color: #999; }
.cms-tag-pill.actief .cms-tag-aantal { color: rgba(255,255,255,.75); }
.cms-index-grid {
  display: grid;
  gap: 20px;
  flex: 1;
  align-items: start;
}
/* In een kolom naast kaarten: kaart vult volle grid-cel hoogte */
.cms-rij-kolom .cms-index-grid { align-items: stretch; }
.cms-rij-kolom .cms-index-grid .cms-nieuws-card { height: 100%; }
.cms-index-kolommen-2 { grid-template-columns: repeat(2, 1fr); }
.cms-index-kolommen-3 { grid-template-columns: repeat(3, 1fr); }
.cms-index-kolommen-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 768px) {
  .cms-index-kolommen-2,
  .cms-index-kolommen-3,
  .cms-index-kolommen-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .cms-index-kolommen-2,
  .cms-index-kolommen-3,
  .cms-index-kolommen-4 { grid-template-columns: 1fr; }
}

.cms-btn-outline {
  display: inline-block;
  padding: 10px 24px;
  border: 1px solid #fa259a;
  color: #fa259a;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  transition: background .15s, color .15s;
}
.cms-btn-outline:hover { background: #fa259a; color: #fff; }

/* ── Footer ── */
.pub-footer {
  margin-top: 48px;
}

/* Grijze balk */
.pub-footer-nav {
  background: #999;
  padding: 0;
}
.pub-footer-nav-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0;
  line-height: 200%;
  text-align: right;
  justify-content: flex-end;
  padding-top: 8px;
  padding-bottom: 8px;
}
.pub-footer-nav-inner a {
  color: #fff;
  text-decoration: none;
  padding: 6px 12px;
  white-space: nowrap;
  font-size: 14px;
}
.pub-footer-nav-inner a:hover { text-decoration: underline; }
.pub-footer-copy {
  color: #fff;
  padding: 6px 12px;
  font-size: 14px;
  white-space: nowrap;
}

/* Witte sectie */
.pub-footer-body {
  background: #fff;
  padding: 32px 0 40px;
}
.pub-footer-cols {
  display: flex;
  gap: 40px;
  align-items: flex-start;
}
.pub-footer-col {
  flex: 1;
}
.pub-footer-tekst {
  font-size: 14px;
  font-weight: 300;
  line-height: 150%;
  color: #000;
  max-width: 480px;
  margin: 0 0 20px;
}
.pub-footer-doneerknop {
  display: inline-block;
  background: #fa259a;
  color: #fff;
  border: 1px solid #fa259a;
  border-radius: 30px;
  padding: 8px 16px;
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 24px;
}
.pub-footer-doneerknop:hover { background: #d41f84; border-color: #d41f84; }
.pub-footer-contact {
  font-size: 14px;
  font-weight: 300;
  line-height: 180%;
  color: #000;
}
.pub-footer-contact a {
  color: #000;
  text-decoration: none;
}
.pub-footer-contact a:hover { color: #fa259a; }

/* Keurmerken + social */
.pub-footer-col--keurmerken {
  flex: 0 0 auto;
  min-width: 200px;
}
.pub-footer-logos {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
}
.pub-footer-logos img {
  height: 40px;
  width: auto;
  border-radius: 0;
}
.pub-footer-social {
  display: flex;
  gap: 4px;
  align-items: center;
}
.pub-footer-social img {
  width: 32px;
  border-radius: 0;
}

/* ══════════════════════════════════════════
   RESPONSIVE
══════════════════════════════════════════ */

@media (max-width: 1000px) {
  .pub-nav         { display: none; }
  .pub-nav-actions { display: none; }
  .pub-hamburger   { display: flex; }
  .pub-footer-cols { flex-direction: column; }
  .pub-footer-col--keurmerken { min-width: 0; }
  .pub-footer-nav-inner { justify-content: flex-start; }
}

@media (max-width: 600px) {
  .pub-container { padding: 0 16px; }
  .cms-pagina-titel { font-size: 22px; }
  .pub-hero-payoff { font-size: 28px; }
  .cms-image-groot,
  .cms-image-middel,
  .cms-image-klein { max-width: 100%; }
}

/* ── Meer artikelen (page_siblings) ──────────────────────────────────────── */
.pub-siblings {
  background: #f7f7f7;
  border-top: 1px solid #eee;
  padding: 40px 0 48px;
  margin-top: 48px;
}
.pub-siblings-inner {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}
.pub-siblings-titel {
  font-size: 20px;
  font-weight: 600;
  color: #333;
  margin: 0 0 24px;
}
.pub-siblings-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.pub-siblings-kaart {
  background: #fff;
  border-radius: 10px;
  border: 1px solid #e8e8e8;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: box-shadow .15s;
}
.pub-siblings-kaart:hover { box-shadow: 0 4px 16px rgba(0,0,0,.08); }
.pub-siblings-img { aspect-ratio: 16/9; overflow: hidden; }
.pub-siblings-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pub-siblings-body { padding: 14px 16px 16px; display: flex; flex-direction: column; flex: 1; }
.pub-siblings-naam { font-size: 16px; font-weight: 600; margin: 0 0 8px; color: #111; }
.pub-siblings-intro { font-size: 13px; color: #666; line-height: 1.5; margin: 0 0 12px; flex: 1; }
.pub-siblings-btn {
  font-size: 13px; color: #fa259a; font-weight: 500;
  align-self: flex-start; margin-top: auto;
}

@media (max-width: 700px) {
  .pub-siblings-grid { grid-template-columns: 1fr; }
  .pub-siblings { padding: 24px 0 32px; margin-top: 32px; }
  .pub-siblings-img { display: none; }
}

/* ── Quiz ────────────────────────────────────────────────────────────────── */
.cms-quiz { padding: 24px; box-sizing: border-box; font-size: 15px; line-height: 1.5; }
.cms-quiz--gekleurd { border-radius: 10px; }
.cms-quiz--kleur-wit { border: 1px solid #e8e8e8; }

.quiz-intro { text-align: center; padding: 16px 0 8px; }
.quiz-intro-img { margin: -24px -24px 0; border-radius: 8px 8px 0 0; overflow: hidden; }
.quiz-intro-img img { width: 100%; height: 200px; object-fit: cover; display: block; }
.cms-quiz--gekleurd .quiz-intro-img { border-radius: 10px 10px 0 0; }
.quiz-titel { font-size: 22px; font-weight: 700; margin: 0 0 12px; }
.quiz-intro-tekst { color: #444; max-width: 560px; margin: 0 auto 20px; }
.quiz-start-btn {
  display: inline-block; background: #fa259a; color: #fff;
  border: none; border-radius: 24px; padding: 11px 28px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: opacity .15s;
}
.quiz-start-btn:hover { opacity: .85; }
.quiz-test-btn {
  display: inline-block; background: transparent; color: #888;
  border: 1px dashed #bbb; border-radius: 20px; padding: 6px 14px;
  font-size: 12px; cursor: pointer; margin-left: 10px;
  transition: color .15s;
}
.quiz-test-btn:hover { color: #444; }

.quiz-progressbar {
  background: rgba(0,0,0,.1); border-radius: 4px; height: 6px;
  margin-bottom: 6px; overflow: hidden;
}
.quiz-progressbar-inner { height: 100%; background: #fa259a; transition: width .35s ease; border-radius: 4px; }
.quiz-progress-label { font-size: 12px; color: #888; margin-bottom: 20px; }
.cms-quiz--gekleurd .quiz-progress-label { color: rgba(255,255,255,.7); }

.quiz-vraag-img { margin: -24px -24px 20px; }
.quiz-vraag-img img { width: 100%; height: 220px; object-fit: cover; display: block; border-radius: 10px 10px 0 0; }
.cms-quiz--img-contain .quiz-intro-img img { object-fit: contain; }
.cms-quiz--img-contain .quiz-vraag-img img { object-fit: contain; }
.quiz-vraag-tekst { font-size: 17px; font-weight: 600; margin: 0 0 20px; }

.quiz-antwoorden { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.quiz-antwoord-btn {
  background: #fff; border: 2px solid #ddd; border-radius: 8px;
  padding: 12px 16px; font-size: 14px; text-align: left; cursor: pointer;
  transition: border-color .15s, background .15s; color: #111;
}
.quiz-antwoord-btn:hover:not(:disabled) { border-color: #fa259a; background: #fff5fb; }
.quiz-antwoord-btn:disabled { cursor: default; }
.quiz-antwoord--juist { border-color: #2db84b !important; background: #f0fbf3 !important; color: #1a7a32 !important; font-weight: 600; }
.quiz-antwoord--fout  { border-color: #e53e3e !important; background: #fff5f5 !important; color: #c53030 !important; }

.quiz-uitleg {
  background: rgba(0,0,0,.06); border-radius: 6px;
  padding: 12px 14px; font-size: 13px; margin-bottom: 14px;
}
.cms-quiz--gekleurd .quiz-uitleg { background: rgba(255,255,255,.18); }
.cms-quiz--kleur-wit .quiz-uitleg { background: rgba(0,0,0,.06); }

.quiz-volgende-btn {
  background: transparent; border: 2px solid currentColor; border-radius: 24px;
  padding: 9px 22px; font-size: 14px; font-weight: 600; cursor: pointer;
  transition: opacity .15s; margin-top: 4px;
}
.quiz-volgende-btn:hover { opacity: .7; }

.quiz-resultaat { padding: 8px 0; }
.quiz-score-display { font-size: 20px; font-weight: 700; text-align: center; margin-bottom: 16px; }
.quiz-score-img { max-width: 100%; border-radius: 8px; margin-bottom: 14px; display: block; }
.quiz-score-tekst { font-size: 15px; line-height: 1.6; margin-bottom: 20px; }
.quiz-resultaat-form { margin-top: 20px; padding-top: 20px; border-top: 1px solid rgba(0,0,0,.12); }
.quiz-resultaat-form .cms-form-submit .cms-btn { display: block; width: 100%; box-sizing: border-box; text-align: center; }
.cms-quiz--gekleurd .quiz-resultaat-form { border-top-color: rgba(255,255,255,.25); }

.quiz-bedankt { text-align: center; padding: 24px 0; }
.quiz-bedankt h2 { font-size: 22px; margin-bottom: 10px; }

.quiz-bedankt-overlay {
  display: flex; flex-direction: column; align-items: center;
  justify-content: center; text-align: center;
  padding: 40px 32px; flex: 1;
  min-height: calc(100dvh - 60px);
}
.quiz-bedankt-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: #2db84b; color: #fff;
  font-size: 32px; line-height: 64px; text-align: center;
  margin: 0 auto 20px;
}
.quiz-bedankt-overlay h2 { font-size: 24px; font-weight: 700; margin-bottom: 12px; }
.quiz-bedankt-overlay p  { font-size: 15px; line-height: 1.6; color: #444; max-width: 380px; margin-bottom: 32px; }
.cms-quiz--gekleurd .quiz-bedankt-overlay p { color: inherit; opacity: .85; }
.quiz-sluit-btn-groot {
  background: none; border: 2px solid currentColor; border-radius: 24px;
  padding: 11px 28px; font-size: 15px; font-weight: 600; cursor: pointer;
  color: inherit; font-family: inherit; transition: opacity .15s;
}
.quiz-sluit-btn-groot:hover { opacity: .7; }

.quiz-info-tekst {
  font-size: 14px; line-height: 1.6; color: #444;
  margin: 16px 0 0; padding: 14px 16px;
  background: rgba(0,0,0,.04); border-radius: 8px;
}
.cms-quiz--gekleurd .quiz-info-tekst { background: rgba(255,255,255,.15); color: inherit; }

.quiz-tip-blok {
  margin: 20px 0 0; border-radius: 16px; padding: 22px; font-size: 14px; line-height: 1.6;
}
.quiz-tip-titel { font-size: 20px; font-weight: 700; margin: 0 0 10px; }
.quiz-tip-tekst { margin: 0 0 16px; }
.quiz-tip-img {
  width: 120px; height: 120px; border-radius: 50%;
  object-fit: cover; display: block; margin: 0 0 16px;
}
.quiz-tip-btn {
  display: inline-block; background: #fff; border-radius: 8px;
  padding: 10px 18px; font-size: 14px; font-weight: 600;
  text-decoration: none; transition: opacity .15s;
}
.quiz-tip-btn:hover { opacity: .85; }

/* ── Quiz fullscreen overlay ──────────────────────────────────────────────── */
.quiz-overlay-header { display: none; }

/* Buitenste container: fullscreen, overflow hidden (vragen scrollen intern) */
.cms-quiz.quiz--actief {
  position: fixed; inset: 0; z-index: 9999;
  overflow: hidden;
  border-radius: 0 !important; box-shadow: none !important; padding: 0;
  display: flex; flex-direction: column; align-items: center;
}
.cms-quiz.quiz--actief:not(.cms-quiz--gekleurd) { background: #fff; }

/* Resultaatscherm: buitenste container mag scrollen */
.cms-quiz.quiz--actief.quiz--resultaat-actief { overflow-y: auto; }

/* Verberg pagina-chrome terwijl quiz actief is */
.quiz-overlay-actief .pub-header,
.quiz-overlay-actief .pub-mobile-menu,
.quiz-overlay-actief .pub-footer { display: none !important; }
.quiz-overlay-actief { overflow: hidden; }

/* ✕ Sluit-knop: gelijke ruimte boven en onder */
.cms-quiz.quiz--actief .quiz-overlay-header {
  display: flex; justify-content: flex-end;
  width: 100%; max-width: 500px;
  padding: 14px 20px 14px;
  box-sizing: border-box; flex-shrink: 0;
}
.quiz-sluit-btn {
  background: none; border: none; font-size: 20px; line-height: 1;
  cursor: pointer; opacity: .45; padding: 4px 8px; color: inherit;
  transition: opacity .15s;
}
.quiz-sluit-btn:hover { opacity: 1; }

/* Vraagcontainer: max 500px, vult resterende hoogte */
.cms-quiz.quiz--actief .quiz-vragen {
  width: 100%; max-width: 500px;
  flex: 1; display: flex; flex-direction: column; min-height: 0;
  overflow: hidden; padding: 0 !important;
}

/* Actieve quiz-vraag: flex-kolom, vult beschikbare hoogte */
.cms-quiz.quiz--actief .quiz-vraag {
  flex: 1; display: flex; flex-direction: column; min-height: 0; overflow: hidden;
}

/* Afbeelding: full-bleed bovenaan (geen negatieve margin nodig) */
.cms-quiz.quiz--actief .quiz-vraag-img { flex-shrink: 0; margin: 0; }
.cms-quiz.quiz--actief .quiz-vraag-img img { border-radius: 0; height: auto; aspect-ratio: 16 / 9; max-height: 35svh; }
.cms-quiz.quiz--actief.cms-quiz--img-contain .quiz-vraag-img img { object-fit: contain; }

/* Progressbar (door JS verplaatst na afbeelding) */
.cms-quiz.quiz--actief .quiz-progressbar { margin: 10px 24px 0; flex-shrink: 0; }
.cms-quiz.quiz--actief .quiz-progress-label { margin: 4px 24px 6px; flex-shrink: 0; }

/* Scrollbaar gebied: vraagtekst + uitleg + antwoorden */
.cms-quiz.quiz--actief .quiz-vraag-scroll {
  flex: 1; overflow-y: auto; min-height: 0;
  display: flex; flex-direction: column;
}

/* Vraagtekst: vult resterende ruimte → duwt antwoorden naar beneden */
.cms-quiz.quiz--actief .quiz-vraag-tekst {
  flex: 1;
  padding: 14px 24px 8px; margin: 0;
}

/* Uitleg: geen max-height/scroll meer (scrollt mee met wrapper) */
.cms-quiz.quiz--actief .quiz-uitleg {
  margin: 0 24px 8px;
}

.cms-quiz.quiz--actief .quiz-antwoorden {
  padding: 0 24px; margin: 0 0 6px;
}

/* Volgende-knop: vast onderaan, buiten scroll-wrapper */
.cms-quiz.quiz--actief .quiz-volgende-btn {
  flex-shrink: 0;
  margin: 6px 24px 28px;
  width: calc(100% - 48px); box-sizing: border-box; text-align: center;
}

/* Resultaatscherm: max 500px, scrollt via buitenste container */
.cms-quiz.quiz--actief .quiz-resultaat {
  width: 100%; max-width: 500px;
  padding: 0 24px 48px; box-sizing: border-box;
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .quiz-antwoorden { gap: 8px; }
  .quiz-antwoord-btn { padding: 10px 13px; font-size: 13px; }
  .quiz-vraag-tekst { font-size: 15px; }
}

/* ── Deelname-blok ─────────────────────────────────────────────────────── */
.cms-deelname { font-family: inherit; scroll-margin-top: 88px; }

/* Aanmeld- en wijzigformulier (niet-dashboard) max 900px */
.cms-deelname > .cms-form.cms-form--gekleurd { max-width: 900px; margin-left: auto; margin-right: auto; }

.cms-deelname-intro {
  color: #555; font-size: 15px; margin-bottom: 20px;
}

.cms-deelname-melding {
  padding: 10px 14px; border-radius: 6px; font-size: 14px; margin-bottom: 16px;
}
.cms-deelname-melding--ok   { background: #e6f4ea; color: #1a7f37; border: 1px solid #b7dfbe; }
.cms-deelname-melding--fout { background: #fef2f2; color: #b91c1c; border: 1px solid #fca5a5; }


.cms-deelname-link-klein { font-size: 13px; color: #fa259a; text-decoration: none; }
.cms-deelname-link-klein:hover { text-decoration: underline; }

.cms-deelname-relaties { margin-bottom: 10px; }
.cms-deelname-relaties summary { cursor: pointer; font-size: 13px; font-weight: 600; opacity: .85; margin-bottom: 6px; }
.cms-deelname-relaties ul { list-style: none; margin: 0 0 8px; padding: 0; }
.cms-deelname-relaties li { font-size: 13px; padding: 3px 0; border-bottom: 1px solid rgba(255,255,255,0.2); display: flex; justify-content: space-between; align-items: center; }
.cms-deelname-relatie-ok { font-size: 12px; opacity: .8; }

.cms-form-btn--wit { background: #fff !important; color: #2faf9e !important; }
.cms-deelname-btn-grijs { background: #666 !important; color: #fff !important; border-color: #666 !important; }

.cms-deelname-welkom { font-size: 15px; margin-bottom: 20px; }

/* ── Dashboard blokken-grid (ASP .cols / .c3 patroon) ─────────────────── */
.cms-deelname-cols {
  display: flex; flex-wrap: wrap; margin: -10px;
}
.cms-deelname-c3 {
  width: calc(33.333% - 20px); margin: 10px; box-sizing: border-box;
}
.cms-deelname-c4 {
  width: calc(25% - 20px); margin: 10px; box-sizing: border-box;
}
@media (max-width: 900px) {
  .cms-deelname-c3 { width: calc(50% - 20px); }
  .cms-deelname-c4 { width: calc(50% - 20px); }
}
@media (max-width: 600px) {
  .cms-deelname-c3 { width: calc(100% - 20px); }
  .cms-deelname-c4 { width: calc(100% - 20px); }
}

/* Knop onderaan uitlijnen in deelname-blokken */
.cms-deelname-c3 .cms-form--gekleurd,
.cms-deelname-c3 .cms-form,
.cms-deelname-c4 .cms-form--gekleurd,
.cms-deelname-c4 .cms-form {
  display: flex; flex-direction: column; height: 100%;
}
/* Directe flex-children naar onderaan: .cms-form-submit div, form-tag, losse .cms-form-btn */
.cms-deelname-c3 .cms-form--gekleurd > .cms-form-submit,
.cms-deelname-c4 .cms-form--gekleurd > .cms-form-submit,
.cms-deelname-c3 .cms-form--gekleurd > form,
.cms-deelname-c4 .cms-form--gekleurd > form,
.cms-deelname-c3 .cms-form--gekleurd > .cms-form-btn,
.cms-deelname-c4 .cms-form--gekleurd > .cms-form-btn { margin-top: auto; }

/* Pill-vorm buttons met pijltje rechts */
.cms-deelname-c3 .cms-form--gekleurd .cms-form-btn,
.cms-deelname-c4 .cms-form--gekleurd .cms-form-btn {
  border-radius: 30px;
  padding: 8px 16px;
  font-size: 15px;
  display: flex; align-items: center; justify-content: center; gap: 6px;
}
.cms-deelname-c3 .cms-form--gekleurd .cms-form-btn::after,
.cms-deelname-c4 .cms-form--gekleurd .cms-form-btn::after {
  content: '';
  display: inline-block;
  width: 18px; height: 18px;
  background: url('/images/arrow-forward-outline-black.svg') center/contain no-repeat;
  flex-shrink: 0;
}
/* Grijs/donkere buttons: witte pijl */
.cms-deelname-c3 .cms-form--gekleurd .cms-deelname-btn-grijs::after,
.cms-deelname-c4 .cms-form--gekleurd .cms-deelname-btn-grijs::after {
  background-image: url('/images/arrow-forward-outline-white.svg');
}
/* Inline knoppen (Opslaan bij aantal kinderen): geen pijltje */
.cms-deelname-c3 .cms-form--gekleurd .cms-form-btn--nopijl,
.cms-deelname-c4 .cms-form--gekleurd .cms-form-btn--nopijl { display: inline-flex; }
.cms-deelname-c3 .cms-form--gekleurd .cms-form-btn--nopijl::after,
.cms-deelname-c4 .cms-form--gekleurd .cms-form-btn--nopijl::after { display: none; }

.cms-deelname-dl { display: grid; grid-template-columns: 100px 1fr; gap: 5px 10px; font-size: 13px; margin-bottom: 12px; }
.cms-deelname-dl dt { color: #888; font-weight: 600; }
.cms-deelname-dl dd { color: #111; }
.cms-deelname-dl--wit dt { color: rgba(255,255,255,0.7); }
.cms-deelname-dl--wit dd { color: #fff; }

/* ── Aanmeld-kaart (niet ingelogd) ────────────────────────────────────── */
.cms-deelname--zonvenant .cms-form--gekleurd,
.cms-deelname--zonnetjesweek .cms-form--gekleurd { border-radius: 18px; }

.cms-deelname-aanmeld-opties { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
.cms-deelname-aanmeld-opties strong { display: block; font-weight: 700; color: inherit; margin-bottom: 2px; }

/* Compact-mode voor kleine laptopschermen (hoogte ≤ 720px) */
@media (max-height: 720px) {
  .cms-quiz.quiz--actief .quiz-overlay-header { padding: 8px 20px; }
  .cms-quiz.quiz--actief .quiz-vraag-img img  { height: auto; aspect-ratio: 16 / 9; max-height: 25svh; }
  .cms-quiz.quiz--actief .quiz-progressbar    { margin-top: 6px; }
  .cms-quiz.quiz--actief .quiz-vraag-tekst    { font-size: 14px; padding: 10px 24px 6px; }
  .cms-quiz.quiz--actief .quiz-antwoord-btn   { padding: 8px 12px; font-size: 13px; }
  .cms-quiz.quiz--actief .quiz-volgende-btn   { margin-bottom: 16px; }
}

/* ── Shop overzicht ──────────────────────────────────────────────────────── */
.cms-shop { padding: 0 0 32px; }
.cms-shop-categorie-header {
  font-size: 22px;
  font-weight: 700;
  color: #fa259a;
  margin: 32px 0 16px;
  padding: 0;
}
.cms-shop-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 800px) {
  .cms-shop-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 500px) {
  .cms-shop-grid { grid-template-columns: 1fr; }
}

/* Shop-kaart */
.cms-shop-kaart {
  background: #ddd;
  border-radius: 15px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  position: relative;
  text-decoration: none;
  color: inherit;
  min-height: 320px;
}
.cms-shop-kaart--link { cursor: pointer; }
.cms-shop-kaart--link:hover .cms-shop-kaart-foto img { transform: scale(1.03); }

.cms-shop-kaart-foto { border-radius: 12px; overflow: hidden; aspect-ratio: 1 / 1; margin-bottom: 12px; }
.cms-shop-kaart-foto img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }

.cms-shop-kaart-foto-link { display: block; }

.cms-shop-kaart-body { flex: 1; }
.cms-shop-kaart-titel { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.cms-shop-kaart-titel a { color: inherit; text-decoration: none; }
.cms-shop-kaart-titel a:hover { text-decoration: underline; }

.cms-shop-aanbieding { font-size: 13px; color: #fa259a; margin-bottom: 8px; }

.cms-shop-cta {
  display: inline-block;
  background: #fa259a;
  color: #fff;
  border-radius: 20px;
  padding: 7px 18px;
  font-size: 14px;
  text-decoration: none;
  margin-top: 8px;
  align-self: flex-start;
}

/* ── Shop detailpagina — 3-kolom layout ─────────────────────────────────── */
.cms-shop-detail { padding: 0 0 24px; }

.cms-shop-detail-3col {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.85fr;
  gap: 32px;
  align-items: start;
  margin-top: 16px;
}
@media (max-width: 960px) {
  .cms-shop-detail-3col { grid-template-columns: 1fr 1fr; }
  .cms-shop-form-col    { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .cms-shop-detail-3col { grid-template-columns: 1fr; }
}

/* Linker kolom: foto */
.cms-shop-foto-col {}
.cms-shop-foto-wrap { position: relative; }
.cms-shop-detail-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

/* Foto-slideshow */
.cms-shop-detail-slider { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 4 / 3; }
.cms-shop-detail-slide  { width: 100%; height: 100%; object-fit: cover; display: none; border-radius: 16px; }
.cms-shop-detail-slide.is-actief { display: block; }
.cms-shop-detail-prev,
.cms-shop-detail-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  background: rgba(0,0,0,.45); color: #fff; border: none;
  border-radius: 4px; width: 36px; height: 36px;
  font-size: 18px; cursor: pointer; z-index: 2;
}
.cms-shop-detail-prev { left: 8px; }
.cms-shop-detail-next { right: 8px; }

/* Aanbieding-badge */
.cms-shop-aanbieding-badge {
  position: absolute;
  top: 16px; left: 16px;
  background: #fa259a;
  color: #fff;
  border-radius: 6px;
  padding: 5px 12px;
  font-size: 13px;
  font-weight: 600;
  pointer-events: none;
  z-index: 3;
}

/* Midden kolom: logo + inhoud */
.cms-shop-inhoud-col {}
.cms-shop-inhoud-titel { font-size: 24px !important; margin-top: 8px; }
.cms-shop-leverancier-logo {
  max-width: 140px;
  max-height: 70px;
  object-fit: contain;
  border-radius: 0;
  display: block;
  margin-bottom: 12px;
}
.cms-shop-body { margin-top: 16px; font-size: 15px; line-height: 1.6; }
.cms-shop-body p { margin: 0 0 10px; }

/* Rechter kolom: aanvraagformulier */
.cms-shop-form-col {}
.cms-shop-form-wrap {
  background: #f7f7f7;
  border-radius: 16px;
  padding: 24px;
}
.cms-shop-form-titel {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  margin: 0 0 16px;
}
/* Voornaam + tussenvoegsel naast elkaar */
.cms-shop-form-naamrij {
  display: grid;
  grid-template-columns: 1fr 90px;
  gap: 8px;
}
.cms-shop-form-tussenv {}

/* Eenvoudige radio-stijl voor Ja/Nee */
.cms-shop-form-radio {
  display: flex;
  gap: 16px;
  margin-top: 4px;
  font-size: 14px;
}
.cms-shop-form-radio label {
  display: flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.cms-shop-form-radio input[type="radio"] {
  accent-color: #fa259a;
  width: 16px;
  height: 16px;
}

/* Leverancier-link onder het form */
.cms-shop-leverancier-link a { color: #fa259a; text-decoration: none; font-size: 14px; }
.cms-shop-leverancier-link a:hover { text-decoration: underline; }

/* Gerelateerde producten */
.cms-shop-gerelateerd { padding: 32px 0 0; }
.cms-shop-gerelateerd-titel {
  font-size: 20px;
  font-weight: 700;
  color: #333;
  margin-bottom: 20px;
}
