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

/* ── Basis ── */
body {
  font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  color: #333;
  background: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

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;
  font-weight: 600;
  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-cta {
  display: inline-flex;
  align-items: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 500;
  text-decoration: none;
  letter-spacing: .01em;
  transition: transform .15s, box-shadow .15s, background .2s, color .2s, border-color .2s;
  cursor: pointer;
  text-shadow: none;
  line-height: 1.3;
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.pub-hero-cta:hover {
  transform: translateY(-1px);
}

/* Hero-tekst (HTML-overlay) + CTA-rij met Apple-stijl pills */
/* Zelfde schaal als afbeelding-bloktype hero */
.pub-hero-tekst {
  text-wrap: balance;
  font-size: clamp(14px, 1.5vw, 16px);
  font-weight: 400;
  line-height: 1.35;
  text-shadow: 0 2px 8px rgba(0,0,0,.3);
}
.pub-hero-tekst > *:first-child { margin-top: 0; }
.pub-hero-tekst > *:last-child  { margin-bottom: 0; }
/* ql-size-* in hero gebruiken globale klasse-waarden (zelfde als afbeelding-bloktype) */
.pub-hero-cta-rij { display: flex; gap: 16px; flex-wrap: wrap; justify-content: inherit; }

/* Stijl klassiek = origineel gedrag (gecentreerd, payoff + CTA onder elkaar) */
.pub-hero-payoff--klassiek { display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 18px; text-align: center; }
.pub-hero-payoff--klassiek .pub-hero-cta-rij { justify-content: center; }

/* Stijl links: HTML-tekst links-onder, CTAs rechts-onder (zoals afbeelding-bloktype) */
.pub-hero-payoff--links {
  display: flex; flex-direction: row; align-items: flex-end;
  justify-content: space-between; gap: 24px;
  padding: clamp(32px, 5vw, 56px);
  text-align: left;
}
.pub-hero-payoff--links .pub-hero-tekst { flex: 1; min-width: 240px; }
.pub-hero-payoff--links .pub-hero-cta-rij { flex-shrink: 0; justify-content: flex-end; }

/* Stijl rechts: omgewisseld */
.pub-hero-payoff--rechts {
  display: flex; flex-direction: row-reverse; align-items: flex-end;
  justify-content: space-between; gap: 24px;
  padding: clamp(32px, 5vw, 56px);
  text-align: right;
}
.pub-hero-payoff--rechts .pub-hero-tekst { flex: 1; min-width: 240px; }
.pub-hero-payoff--rechts .pub-hero-cta-rij { flex-shrink: 0; justify-content: flex-start; }

@media (max-width: 640px) {
  .pub-hero-payoff--links,
  .pub-hero-payoff--rechts {
    flex-direction: column;
    justify-content: space-between; /* tekst top, CTA-rij bottom */
    align-items: flex-start;
    text-align: left;
    padding: 24px;
  }
  .pub-hero-payoff--rechts { align-items: flex-end; text-align: right; }
}

/* Tekstkleur */
.pub-hero-payoff--tekst-wit,
.pub-hero-payoff--tekst-wit .pub-hero-tekst  { color: #fff; }
.pub-hero-payoff--tekst-zwart,
.pub-hero-payoff--tekst-zwart .pub-hero-tekst { color: #111; text-shadow: none; }

/* Apple-stijl pills (wit/zwart modus) */
.pub-hero-payoff--tekst-wit .pub-hero-cta--gevuld {
  background: #fff; color: #111; border: 1.5px solid #fff; box-shadow: 0 4px 18px rgba(0,0,0,.2);
}
.pub-hero-payoff--tekst-wit .pub-hero-cta--gevuld:hover { background: #e8e8e8; border-color: #e8e8e8; }
.pub-hero-payoff--tekst-wit .pub-hero-cta--outline {
  background: rgba(255,255,255,.1); color: #fff; border: 1.5px solid rgba(255,255,255,.85); box-shadow: none;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.pub-hero-payoff--tekst-wit .pub-hero-cta--outline:hover { background: rgba(255,255,255,.25); border-color: #fff; }

.pub-hero-payoff--tekst-zwart .pub-hero-cta--gevuld {
  background: #111; color: #fff; border: 1.5px solid #111; box-shadow: 0 4px 18px rgba(0,0,0,.2);
}
.pub-hero-payoff--tekst-zwart .pub-hero-cta--gevuld:hover { background: #333; border-color: #333; }
.pub-hero-payoff--tekst-zwart .pub-hero-cta--outline {
  background: rgba(255,255,255,.25); color: #111; border: 1.5px solid rgba(0,0,0,.6); box-shadow: none;
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.pub-hero-payoff--tekst-zwart .pub-hero-cta--outline:hover { background: rgba(255,255,255,.5); border-color: #111; }
.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; scroll-margin-top: 88px; }

/* 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 */
}

/* Full-bleed achtergrondkleur — banner spant volledige breedte, ongeacht container */
.cms-rij-banner {
  margin-left:  calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 32px;          /* zelfde tussenruimte als reguliere rijen */
  width: 100vw;
  padding: 40px 0;
}
.cms-rij-banner > .cms-rij { margin-bottom: 0; }  /* voorkomt dubbele bodemruimte */
/* Reset top/bottom margin van eerste/laatste blok in een banner-kolom — anders
   stapelt blok-margin (bv. .cms-image margin:24px) op banner-padding (40px) */
.cms-rij-banner > .cms-rij > .cms-rij-kolom > :first-child { margin-top: 0; }
.cms-rij-banner > .cms-rij > .cms-rij-kolom > :last-child  { margin-bottom: 0; }
.cms-rij-banner--zwart, .cms-rij-banner--donkergrijs, .cms-rij-banner--roze, .cms-rij-banner--blauw {
  color: #fff;
}
.cms-rij-kolom {
  flex: 1;
  min-width: 0;
  display: flex;
  scroll-margin-top: 88px;
  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,
.cms-rij-kolom > .cms-quiz { flex: 1; }
/* Quiz intro-scherm in multi-rij: even hoog + start-knop onderaan uitgelijnd */
.cms-rij-multi .cms-quiz { display: flex; flex-direction: column; }
.cms-rij-multi .cms-quiz .quiz-intro { flex: 1; display: flex; flex-direction: column; }
.cms-rij-multi .cms-quiz .quiz-start-btn { margin-top: auto; }

@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 h2 { font-size: 22px; font-weight: 700; margin: 28px 0 12px; line-height: 1.3; }

/* Inline pull-quote binnen paragraph-tekst (Quill blockquote-knop) */
.cms-paragraph-tekst blockquote {
  margin: 28px 0;
  padding: 4px 0 4px 20px;
  border-left: 4px solid #fa259a;
  font-size: 1.15em;
  font-style: italic;
  color: #444;
  line-height: 1.5;
}
.cms-paragraph-tekst blockquote p { margin: 0 0 8px; }
.cms-paragraph-tekst blockquote p:last-child { margin-bottom: 0; }

/* Drop-cap helper — toolbar-knop "D" of via HTML-mode <span class="cms-dropcap">D</span>
   3.2em mikt op 2 regels in regulier én editorial */
.cms-dropcap {
  float: left;
  font-size: 3.2em;
  line-height: 1;
  font-weight: 700;
  margin: .05em .15em 0 0;
  color: #fa259a;
}

/* Editorial / longread — smaller leeskolom + ademruimte + drop-cap op eerste alinea */
.cms-paragraph--editorial { max-width: 650px; margin-left: auto; margin-right: auto; }
.cms-paragraph--editorial .cms-paragraph-titel { margin: 32px 0 16px; }
.cms-paragraph--editorial .cms-paragraph-tekst {
  font-size: 17px;
  line-height: 1.8;
  color: #2a2a2a;
}
.cms-paragraph--editorial .cms-paragraph-tekst p { margin: 0 0 18px; }
.cms-paragraph--editorial .cms-paragraph-tekst h3 { font-size: 19px; margin: 32px 0 12px; }
/* Auto drop-cap op editorial-paragraph — schakelaar via cms-dropcap-eerste / cms-dropcap-elke
   (cms-dropcap-geen → geen auto-dropcap; handmatige <span class="cms-dropcap"> blijft altijd werken) */
.cms-paragraph--editorial.cms-dropcap-eerste .cms-paragraph-tekst > p:first-child:not(:has(.cms-dropcap))::first-letter,
.cms-paragraph--editorial.cms-dropcap-elke   .cms-paragraph-tekst > p:first-child:not(:has(.cms-dropcap))::first-letter,
.cms-paragraph--editorial.cms-dropcap-elke   .cms-paragraph-tekst > h2 + p:not(:has(.cms-dropcap))::first-letter {
  float: left;
  font-size: 3.2em;
  line-height: 1;
  font-weight: 700;
  margin: .05em .15em 0 0;
  color: #fa259a;
}
.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; }

/* ── Afbeelding met content IN de afbeelding (Apple-stijl hero) ─────────── */
.cms-image-hero {
  position: relative;
  width: 100%;
  min-height: clamp(320px, 55svh, 560px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: #111;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  padding: clamp(24px, 5vw, 56px);
  box-sizing: border-box;
}
.cms-image-hero-dim {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
}
.cms-image-hero-inhoud {
  position: relative; z-index: 2;
  display: flex; gap: 24px;
  flex-wrap: wrap; align-items: flex-end;
  width: 100%;
}
/* Verticale uitlijning content */
.cms-image-hero--top    { align-items: flex-start; }
.cms-image-hero--bottom { align-items: flex-end; }

/* Horizontale uitlijning: tekst links → CTAs rechts; rechts → CTAs links; midden → stacked */
.cms-image-hero--links  .cms-image-hero-inhoud { justify-content: space-between; text-align: left; }
.cms-image-hero--rechts .cms-image-hero-inhoud { justify-content: space-between; flex-direction: row-reverse; text-align: right; }
.cms-image-hero--midden .cms-image-hero-inhoud { flex-direction: column; align-items: center; text-align: center; }

.cms-image-hero-tekst,
.cms-image-onder-tekst { flex: 1; min-width: 240px; line-height: 1.35; font-size: clamp(14px, 1.5vw, 16px); }
.cms-image-hero-tekst > *:first-child,
.cms-image-onder-tekst > *:first-child { margin-top: 0; }
.cms-image-hero-tekst > *:last-child,
.cms-image-onder-tekst > *:last-child { margin-bottom: 0; }

/* Tekstkleur */
.cms-image-hero--tekst-wit  .cms-image-hero-tekst,
.cms-image-onder--tekst-wit .cms-image-onder-tekst { color: #fff; }
.cms-image-hero--tekst-zwart .cms-image-hero-tekst,
.cms-image-onder--tekst-zwart .cms-image-onder-tekst { color: #111; }

/* CTA-rij */
.cms-image-hero-cta-rij,
.cms-image-onder-cta-rij { display: flex; gap: 12px; flex-wrap: wrap; flex-shrink: 0; }
.cms-image-hero--midden .cms-image-hero-cta-rij,
.cms-image-onder--midden .cms-image-onder-cta-rij { justify-content: center; }

/* CTA pills — glass-stijl, semi-transparant met witte/zwarte rand */
.cms-image-hero-cta {
  display: inline-flex; align-items: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: clamp(13px, 1.2vw, 15px);
  font-weight: 500;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
  border: 1.5px solid transparent;
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
/* Witte tekstmodus (donkere foto) */
/* Gevuld = solide witte pill met zwarte tekst (primaire actie, Apple-stijl) */
.cms-image-hero--tekst-wit   .cms-image-hero-cta--gevuld,
.cms-image-onder--tekst-wit  .cms-image-hero-cta--gevuld {
  background: #fff; border-color: #fff; color: #111;
}
.cms-image-hero--tekst-wit   .cms-image-hero-cta--gevuld:hover,
.cms-image-onder--tekst-wit  .cms-image-hero-cta--gevuld:hover { background: #e8e8e8; border-color: #e8e8e8; }

/* Outline = transparant met witte rand + witte tekst (secundair) */
.cms-image-hero--tekst-wit   .cms-image-hero-cta--outline,
.cms-image-onder--tekst-wit  .cms-image-hero-cta--outline {
  background: transparent; border-color: rgba(255,255,255,.85); color: #fff;
}
.cms-image-hero--tekst-wit   .cms-image-hero-cta--outline:hover,
.cms-image-onder--tekst-wit  .cms-image-hero-cta--outline:hover { background: rgba(255,255,255,.18); border-color: #fff; }

/* Zwarte tekstmodus (lichte foto) */
/* Gevuld = solide zwarte pill met witte tekst */
.cms-image-hero--tekst-zwart  .cms-image-hero-cta--gevuld,
.cms-image-onder--tekst-zwart .cms-image-hero-cta--gevuld {
  background: #111; border-color: #111; color: #fff;
}
.cms-image-hero--tekst-zwart  .cms-image-hero-cta--gevuld:hover,
.cms-image-onder--tekst-zwart .cms-image-hero-cta--gevuld:hover { background: #333; border-color: #333; }

/* Outline = transparant met zwarte rand + zwarte tekst */
.cms-image-hero--tekst-zwart  .cms-image-hero-cta--outline,
.cms-image-onder--tekst-zwart .cms-image-hero-cta--outline {
  background: transparent; border-color: rgba(0,0,0,.6); color: #111;
}
.cms-image-hero--tekst-zwart  .cms-image-hero-cta--outline:hover,
.cms-image-onder--tekst-zwart .cms-image-hero-cta--outline:hover { background: rgba(0,0,0,.08); border-color: #111; }

@media (max-width: 640px) {
  .cms-image-hero {
    min-height: clamp(240px, 50svh, 360px);
  }
  /* Op mobiel: tekst bovenaan, CTA-rij onderaan (ongeacht contentVerticaal-instelling) */
  .cms-image-hero { align-items: stretch !important; }
  .cms-image-hero--links  .cms-image-hero-inhoud,
  .cms-image-hero--rechts .cms-image-hero-inhoud {
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    text-align: left;
    min-height: 100%;
  }
  .cms-image-hero--rechts .cms-image-hero-inhoud { align-items: flex-end; text-align: right; }
  /* Content onder/naast afbeelding: stapelen op mobiel */
  .cms-image-onder--links  .cms-image-onder-inhoud,
  .cms-image-onder--rechts .cms-image-onder-inhoud { flex-direction: column; align-items: flex-start; text-align: left; }
  .cms-image-onder--rechts .cms-image-onder-inhoud { align-items: flex-end; text-align: right; }
}

/* ── Afbeelding met content ONDER de afbeelding (zelfde padding/ritme) ── */
.cms-image-onder img { width: 100%; height: auto; display: block; border-radius: 12px; }
.cms-image-onder-inhoud {
  display: flex; gap: 24px;
  flex-wrap: wrap; align-items: flex-end;
  padding: clamp(24px, 5vw, 56px);
  box-sizing: border-box;
}
/* Compacte marge — kleinere padding rond tekst/CTA's voor magazine-stijl */
.cms-image--marge-klein .cms-image-onder-inhoud,
.cms-image--marge-klein .cms-image-naast-inhoud,
.cms-image--marge-klein .cms-image-hero-inhoud {
  padding: clamp(8px, 1.5vw, 14px);
  gap: 10px;
}
.cms-image-onder--links  .cms-image-onder-inhoud { justify-content: space-between; text-align: left; }
.cms-image-onder--rechts .cms-image-onder-inhoud { justify-content: space-between; flex-direction: row-reverse; text-align: right; }
.cms-image-onder--midden .cms-image-onder-inhoud { flex-direction: column; text-align: center; }

/* ── Afbeelding met content NAAST de afbeelding (2-koloms) ─────────────── */
.cms-image-naast {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(20px, 3vw, 40px);
  align-items: center;
}
.cms-image-naast--rechts-van { grid-template-columns: 1fr 1fr; }
.cms-image-naast--links-van  { grid-template-columns: 1fr 1fr; }
.cms-image-naast--links-van  .cms-image-naast-foto  { order: 2; }
.cms-image-naast--links-van  .cms-image-naast-inhoud{ order: 1; }
.cms-image-naast-foto img { width: 100%; height: auto; display: block; border-radius: 12px; }
.cms-image-naast-inhoud {
  /* gebruikt cms-image-onder-inhoud padding + flex-flow; override naar kolom */
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center;
}
.cms-image-naast--links-van.cms-image-onder--rechts .cms-image-naast-inhoud,
.cms-image-naast--rechts-van.cms-image-onder--rechts .cms-image-naast-inhoud { align-items: flex-end !important; }
.cms-image-naast--links-van.cms-image-onder--midden .cms-image-naast-inhoud,
.cms-image-naast--rechts-van.cms-image-onder--midden .cms-image-naast-inhoud { align-items: center !important; text-align: center; }
@media (max-width: 720px) {
  .cms-image-naast { grid-template-columns: 1fr; }
  .cms-image-naast--links-van  .cms-image-naast-foto,
  .cms-image-naast--rechts-van .cms-image-naast-foto   { order: 1; }
  .cms-image-naast--links-van  .cms-image-naast-inhoud,
  .cms-image-naast--rechts-van .cms-image-naast-inhoud { order: 2; }
}

/* ── Content-only blok (geen afbeelding) ─────────────────────────────── */
.cms-image-geen {
  padding: clamp(24px, 5vw, 56px);
  box-sizing: border-box;
  display: flex; flex-direction: column;
  gap: 14px;
}
.cms-image-geen--links  { align-items: flex-start; text-align: left;  }
.cms-image-geen--midden { align-items: center;     text-align: center;}
.cms-image-geen--rechts { align-items: flex-end;   text-align: right; }
.cms-image-geen .cms-image-onder-tekst { flex: unset; min-width: 0; max-width: 100%; }

/* Quill font-size klassen (responsive: schalen mee op mobiel) */
.ql-size-small { font-size: clamp(12px, 1.2vw, 14px); }
.ql-size-large { font-size: clamp(17px, 2.4vw, 24px); }
.ql-size-huge  { font-size: clamp(26px, 5vw, 48px); line-height: 1.1; font-weight: 700; }

/* 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-titel { font-size: 20px; font-weight: 700; margin: 0 0 16px; color: #333; }
.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; }
/* autofaq-antwoorden zijn platte tekst — regelafbrekingen bewaren */
.cms-autofaq .cms-accordion-antwoord { white-space: pre-wrap; }

/* 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: 20px; font-weight: 600; margin-bottom: 8px; line-height: 1.4; }
.cms-card-content p { font-size: 15px; color: #333; 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: 20px; 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: 15px; color: #333; flex: 1; margin-bottom: 16px; line-height: 1.5; }
.cms-kaart-tekst, .cms-kaart-tekst * { font-size: 15px; }
.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-wrap {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: auto;
  align-self: flex-start;
}
.cms-krulpijl {
  width: 52px;
  height: auto;
  flex-shrink: 0;
  transform: scaleX(-1) translateY(-12px);
}
.cms-card-btn {
  display: inline-block;
  padding: 8px 18px;
  background: #fa259a;
  color: #fff;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
  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); }

/* Grijs-kaart: knop donkerder want achtergrond is licht */
.cms-kaart--grijs .cms-card-btn { background: #888; color: #fff; }
.cms-kaart--grijs:hover .cms-card-btn { background: #666; }

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

/* Zwart / outline kleurschema: geen kader, foto volledig afgerond, zwart outline-knop */
.cms-kaart--zwart { border: none; background: transparent; }
.cms-kaart--zwart:hover { border: none; box-shadow: none; }
.cms-kaart--zwart .cms-kaart-img-wrap { border-radius: 12px; overflow: hidden; }
.cms-kaart--zwart .cms-kaart-titel { color: #111; }
.cms-kaart--zwart .cms-card-btn {
  background: transparent; color: #111;
  border: 1.5px solid #111;
  border-radius: 999px;
  padding: 8px 20px;
}
.cms-kaart--zwart:hover .cms-card-btn { background: #111; color: #fff; }


/* ── Partner-logo's component ── */
.cms-logos-titel { font-size: 22px; font-weight: 700; margin-bottom: 20px; }
.cms-fotoslider-titel { font-size: 22px; font-weight: 700; margin-bottom: 20px; }

/* Inline-img helpers — beschikbaar in Quill HTML-mode (paragraph/kaart/afbeelding).
   Gebruik /img/normal/ als pad voor vierkante bron — anders krijg je een ovaal. */
.cms-img-rond   { border-radius: 50%; }
.cms-img-klein  { width: 150px; height: auto; }
.cms-img-middel { width: 300px; height: auto; }
.cms-img-groot  { width: 600px; max-width: 100%; height: auto; }
.cms-img-vol    { width: 100%; height: auto; }
/* Default: img in CMS-tekst zonder cms-img-* class wordt vol-breed */
.cms-paragraph-tekst img:not([class*="cms-img-"]),
.cms-kaart-tekst img:not([class*="cms-img-"]) {
  width: 100%;
  height: auto;
}
.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;
}
/* Fotoalbum — feed kolom (gecentreerd, 600px), wit kaartje per post — exact als ASP photo-item */
.cms-fotoalbum-feed {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}
.cms-fotoalbum-post {
  position: relative;
  background: #fff;
  margin-bottom: 30px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0,0,0,.1);
  cursor: pointer;
}
.cms-fotoalbum-post-img-wrap {
  position: relative;
}
.cms-fotoalbum-post-img-wrap img:first-child {
  width: 100%;
  height: auto;
  border-radius: 4px;
  display: block;
  transition: transform .3s ease;
}
.cms-fotoalbum-post:hover .cms-fotoalbum-post-img-wrap img:first-child { transform: scale(1.02); }
.cms-fotoalbum-post-zoek {
  position: absolute;
  right: 30px;
  bottom: 30px;
  width: 24px;
  height: 24px;
  pointer-events: none;
}
.cms-fotoalbum-post-titel {
  font-size: 25px;
  font-weight: normal;
  color: #fa259a;
  margin: 15px 0 10px;
  line-height: 1.25;
}
.cms-fotoalbum-post-tekst {
  font-size: 15px;
  color: #333;
  line-height: 1.55;
  margin: 0 0 10px;
  white-space: pre-wrap;
}
.cms-fotoalbum-post-meta {
  font-size: 14px;
  color: #333;
}
.cms-fotoalbum-post-tijd {
  font-weight: 700;
  color: #999;
}

/* Lightbox-popup: fullscreen — foto-kolom (zwart) links, info-kolom (wit) rechts */
.cms-fotoalbum-dialog {
  border: none;
  padding: 0;
  margin: 0;
  inset: 0;
  width: 100vw;
  height: 100vh;
  max-width: 100vw;
  max-height: 100vh;
  background: transparent;
  overflow: hidden;
}
.cms-fotoalbum-dialog::backdrop { background: rgba(0,0,0,.9); }
.cms-fotoalbum-dialog[open] {
  display: flex;
  flex-direction: row;
}
.cms-fotoalbum-foto-kol {
  position: relative;
  width: calc(100vw - 360px);
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #000;
  cursor: pointer;
}
.cms-fotoalbum-groot {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  display: block;
  cursor: default;
  transition: opacity .15s;
}
.cms-fotoalbum-info-kol {
  width: 360px;
  height: 100vh;
  background: #fff;
  color: #333;
  padding: 30px;
  box-sizing: border-box;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}
.cms-fotoalbum-titel {
  margin: 0 0 20px;
  font-size: 24px;
  font-weight: bold;
  color: #fa259a;
  line-height: 1.3;
}
.cms-fotoalbum-tekst {
  font-size: 16px;
  line-height: 1.6;
  color: #666;
  flex: 1;
}
.cms-fotoalbum-meta {
  font-size: 14px;
  color: #999;
  border-top: 1px solid #eee;
  padding-top: 16px;
  margin-top: 16px;
}
.cms-fotoalbum-bedrijf { color: #333; font-weight: 700; }
.cms-fotoalbum-tijd    { margin-left: 8px; font-weight: 600; color: #999; }

.cms-fotoalbum-close,
.cms-fotoalbum-prev,
.cms-fotoalbum-next {
  position: absolute;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(255,255,255,.8);
  border: none;
  color: #333;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background .2s;
}
.cms-fotoalbum-close:hover,
.cms-fotoalbum-prev:hover,
.cms-fotoalbum-next:hover { background: #fff; }
.cms-fotoalbum-close { top: 20px; left: 20px; }
.cms-fotoalbum-prev  { top: 50%; left: 20px;  transform: translateY(-50%); }
.cms-fotoalbum-next  { top: 50%; right: 20px; transform: translateY(-50%); }
/* Sluit-knop linksboven, prev-knop ook links — duw prev iets naar beneden om overlap te voorkomen */
.cms-fotoalbum-prev  { top: calc(50% + 25px); }

@media (max-width: 900px) {
  .cms-fotoalbum-dialog[open] { flex-direction: column; }
  .cms-fotoalbum-foto-kol  { width: 100vw; height: 60vh; }
  .cms-fotoalbum-info-kol  { width: 100vw; height: 40vh; padding: 20px; }
}
.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: #fff;
  border: 1px solid #eee;
  box-shadow: 0 4px 8px rgba(0,0,0,.06);
  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-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: #fa259a;
  letter-spacing: -1px;
}
.cms-trailer-tekst {
  margin-top: 12px;
  font-size: clamp(14px, 2.5vw, 20px);
  color: #444;
  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: #ddd;
  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;
}
/* Logo-bron: krimpt wide logo's proportioneel (hoogte ≤ 100, breedte ≤ 200) en centreert verticaal */
.cms-fotoslider-slide--logo { display: flex; align-items: center; }
.cms-fotoslider-slide--logo img {
  height: auto;
  max-height: 100px;
  max-width: 200px;
  border-radius: 0;
}

/* ── 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; }
.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: 16px;
  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; }

/* Productenkeuze als radio (bv. HPK-tje post/digitaal): zwart bij selectie */
.cms-form-donatie-optie--radio input[type="radio"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: #000;
}

/* Donatiekeuze (3 radio's onder akkoorden) — wat ruimer voor leesbaarheid */
.cms-form-akkoorden .cms-form-donatie-optie--radio {
  margin-bottom: 10px;
  align-items: flex-start;
}

/* Op gekleurde formulieren: radio-label op 16px (kleur blijft zwart via generieke regel) */
.cms-form-donatie-optie--radio,
.cms-form-donatie-optie--radio .cms-form-akkoord-label {
  font-size: 16px;
}

/* "Of een ander bedrag"-veld onder donatievastbedrag-checkbox */
.cms-form-vast-anders {
  margin: 6px 0 8px 32px;
  font-size: 14px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.cms-form-vast-anders-input input {
  width: 70px;
  padding: 4px 6px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px; /* 16px voorkomt iOS-Safari zoom-in */
  text-align: right;
}

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

/* HPK-tje formulier in 2-koloms layout: submit-button naar onderaan duwen
   zolang de na-leveringskeuze blok nog hidden is (anders veel witruimte). */
#formulier-hpk-tje { display: flex; flex-direction: column; }
#formulier-hpk-tje > form.cms-formulier { flex: 1; display: flex; flex-direction: column; }
#formulier-hpk-tje .cms-form-submit { margin-top: auto; }

.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;
  color: #8b0057;
}
.cms-form-bedankt h2 { font-size: 20px; margin-bottom: 10px; }

.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 .cms-form-akkoord,
.cms-form--gekleurd .cms-form-donatie-optie { color: #000; }

/* Uitzondering: op roze is zwart te hard, gebruik #333 */
.cms-form--kleur-roze .cms-form-akkoord,
.cms-form--kleur-roze .cms-form-donatie-optie { color: #333; }

/* ── Frost / Apple liquid-glass kleurschema ─────────────────────────────── */
/* Gemeenschappelijke base voor alle frost-varianten */
.cms-form--kleur-frost,
.cms-form--kleur-frost-roze,
.cms-form--kleur-frost-blauw,
.cms-form--kleur-frost-geel,
.cms-form--kleur-frost-grijs {
  border: 1px solid rgba(255,255,255,.8);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  box-shadow: 0 8px 32px rgba(0,0,0,.08), inset 0 1px 0 rgba(255,255,255,.9);
  color: #1d1d1f !important;
  border-radius: 18px;
}
/* Variant-specifieke achtergronden — getinte glas-effecten */
.cms-form--kleur-frost       { background: linear-gradient(135deg, rgba(255,255,255,.7)  0%, rgba(235,238,243,.55) 100%) !important; }
.cms-form--kleur-frost-roze  { background: linear-gradient(135deg, rgba(250,37,154,.28) 0%, rgba(255,220,235,.65) 100%) !important; }
.cms-form--kleur-frost-blauw { background: linear-gradient(135deg, rgba(101,173,248,.30) 0%, rgba(220,235,250,.65) 100%) !important; }
.cms-form--kleur-frost-geel  { background: linear-gradient(135deg, rgba(255,203,67,.40) 0%, rgba(255,240,200,.65) 100%) !important; }
.cms-form--kleur-frost-grijs { background: linear-gradient(135deg, rgba(60,60,67,.20)   0%, rgba(180,185,195,.45) 100%) !important; }
/* Gemeenschappelijke styling voor alle frost-varianten via attribuut-selector */
[class*="cms-form--kleur-frost"] .cms-form-titel,
[class*="cms-form--kleur-frost"] .cms-form-intro,
[class*="cms-form--kleur-frost"] .cms-form-veld label,
[class*="cms-form--kleur-frost"] .cms-form-akkoord,
[class*="cms-form--kleur-frost"] .cms-form-donatie-optie,
[class*="cms-form--kleur-frost"] label { color: #1d1d1f; }
[class*="cms-form--kleur-frost"] a { color: #007aff; text-decoration: underline; }
[class*="cms-form--kleur-frost"] input[type="text"],
[class*="cms-form--kleur-frost"] input[type="email"],
[class*="cms-form--kleur-frost"] input[type="tel"],
[class*="cms-form--kleur-frost"] input[type="number"],
[class*="cms-form--kleur-frost"] textarea,
[class*="cms-form--kleur-frost"] select {
  background: rgba(255,255,255,.85) !important;
  color: #1d1d1f !important;
  border: 1px solid rgba(0,0,0,.12) !important;
}
[class*="cms-form--kleur-frost"] input:focus,
[class*="cms-form--kleur-frost"] textarea:focus,
[class*="cms-form--kleur-frost"] select:focus {
  background: #fff !important;
  outline: 2px solid rgba(0,122,255,.45);
  border-color: transparent !important;
}
[class*="cms-form--kleur-frost"] .cms-form-btn {
  background: #1d1d1f !important; color: #fff !important;
  border: 1px solid #1d1d1f !important;
  border-radius: 999px !important;
}
[class*="cms-form--kleur-frost"] .cms-form-btn:not(:disabled):hover { background: #000 !important; border-color: #000 !important; }
[class*="cms-form--kleur-frost"] .cms-form-akkoord input[type="checkbox"],
[class*="cms-form--kleur-frost"] .cms-form-donatie-optie input[type="checkbox"],
[class*="cms-form--kleur-frost"] input[type="radio"] { accent-color: #007aff; }
/* Stap-indicator (deelname) in frost */
[class*="cms-form--kleur-frost"] .cms-deelname-stapnr { background: rgba(0,0,0,.08); color: #1d1d1f; }
[class*="cms-form--kleur-frost"] .cms-deelname-stapnr.is-actief { background: #1d1d1f; color: #fff; }
[class*="cms-form--kleur-frost"] .cms-deelname-stapnr.is-klaar  { background: #007aff; color: #fff; }
[class*="cms-form--kleur-frost"] .cms-deelname-stapstreep { background: rgba(0,0,0,.15); }

/* ── Clean / Zilver — vlak ontwerp zonder verlopen, lichtere knop ───── */
.cms-form--kleur-clean,
.cms-form--kleur-zilver {
  border: 1px solid rgba(0,0,0,.06);
  border-radius: 14px;
  color: #1d1d1f !important;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.cms-form--kleur-clean  { background: #fff !important; box-shadow: 0 6px 24px rgba(0,0,0,.08), 0 1px 3px rgba(0,0,0,.04); }
.cms-form--kleur-zilver { background: #f1f1f4 !important; box-shadow: 0 1px 2px rgba(0,0,0,.03); }

.cms-form--kleur-clean .cms-form-titel,
.cms-form--kleur-clean .cms-form-intro,
.cms-form--kleur-clean .cms-form-veld label,
.cms-form--kleur-clean .cms-form-akkoord,
.cms-form--kleur-clean .cms-form-donatie-optie,
.cms-form--kleur-clean label,
.cms-form--kleur-zilver .cms-form-titel,
.cms-form--kleur-zilver .cms-form-intro,
.cms-form--kleur-zilver .cms-form-veld label,
.cms-form--kleur-zilver .cms-form-akkoord,
.cms-form--kleur-zilver .cms-form-donatie-optie,
.cms-form--kleur-zilver label { color: #1d1d1f; }
.cms-form--kleur-clean a, .cms-form--kleur-zilver a { color: #007aff; text-decoration: underline; }

.cms-form--kleur-clean input[type="text"],
.cms-form--kleur-clean input[type="email"],
.cms-form--kleur-clean input[type="tel"],
.cms-form--kleur-clean input[type="number"],
.cms-form--kleur-clean textarea,
.cms-form--kleur-clean select {
  background: #fafafa !important; color: #1d1d1f !important;
  border: 1px solid #e5e5e8 !important;
}
.cms-form--kleur-zilver input[type="text"],
.cms-form--kleur-zilver input[type="email"],
.cms-form--kleur-zilver input[type="tel"],
.cms-form--kleur-zilver input[type="number"],
.cms-form--kleur-zilver textarea,
.cms-form--kleur-zilver select {
  background: #fff !important; color: #1d1d1f !important;
  border: 1px solid #d8d8dc !important;
}
.cms-form--kleur-clean input:focus, .cms-form--kleur-clean textarea:focus, .cms-form--kleur-clean select:focus,
.cms-form--kleur-zilver input:focus, .cms-form--kleur-zilver textarea:focus, .cms-form--kleur-zilver select:focus {
  background: #fff !important; outline: none !important;
  border-color: #007AFF !important;
  box-shadow: 0 0 0 3px rgba(0,122,255,.18);
}

/* Apple system-blue pill voor clean/zilver */
.cms-form--kleur-clean .cms-form-btn,
.cms-form--kleur-zilver .cms-form-btn {
  border-radius: 999px !important;
  font-weight: 500 !important;
  padding: 11px 26px !important;
  box-shadow: none !important;
  transition: background .15s, color .15s, border-color .15s !important;
}
/* Clean: outline-blauw — transparant met blauwe rand + tekst */
.cms-form--kleur-clean .cms-form-btn {
  background: transparent !important; color: #007AFF !important;
  border: 1.5px solid #007AFF !important;
}
.cms-form--kleur-clean .cms-form-btn:not(:disabled):hover {
  background: #007AFF !important; color: #fff !important;
}
/* Zilver: gevuld systeem-blauw */
.cms-form--kleur-zilver .cms-form-btn {
  background: #007AFF !important; color: #fff !important;
  border: 1.5px solid #007AFF !important;
}
.cms-form--kleur-zilver .cms-form-btn:not(:disabled):hover {
  background: #0066d6 !important; border-color: #0066d6 !important;
}

.cms-form--kleur-clean .cms-form-akkoord input[type="checkbox"],
.cms-form--kleur-clean .cms-form-donatie-optie input[type="checkbox"],
.cms-form--kleur-clean input[type="radio"],
.cms-form--kleur-zilver .cms-form-akkoord input[type="checkbox"],
.cms-form--kleur-zilver .cms-form-donatie-optie input[type="checkbox"],
.cms-form--kleur-zilver input[type="radio"] { accent-color: #007aff; }

/* Stap-indicator deelname in clean/zilver */
.cms-form--kleur-clean .cms-deelname-stapnr,
.cms-form--kleur-zilver .cms-deelname-stapnr { background: rgba(0,0,0,.08); color: #1d1d1f; }
.cms-form--kleur-clean .cms-deelname-stapnr.is-actief,
.cms-form--kleur-zilver .cms-deelname-stapnr.is-actief { background: #1d1d1f; color: #fff; }
.cms-form--kleur-clean .cms-deelname-stapnr.is-klaar,
.cms-form--kleur-zilver .cms-deelname-stapnr.is-klaar { background: #007aff; color: #fff; }
.cms-form--kleur-clean .cms-deelname-stapstreep,
.cms-form--kleur-zilver .cms-deelname-stapstreep { background: rgba(0,0,0,.12); }

.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: 16px;
}
.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: 400;
  cursor: pointer;
  color: inherit;
}
/* Checkbox formaat in gekleurd formulier */
.cms-form--gekleurd .cms-form-akkoord input[type="checkbox"],
.cms-form--gekleurd .cms-form-donatie-optie input[type="checkbox"] {
  width: 16px;
  height: 16px;
  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-meta { font-size: 13px; color: #999; margin-bottom: 6px; }

.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: 14px; color: #333; margin-bottom: 12px; }
/* Knop onderaan uitlijnen (auto-margin top duwt 'm naar de bodem) */
.cms-nieuws-card-body .cms-card-btn { margin-top: auto; align-self: flex-start; }

/* Zwart-outline kleurschema voor lijst — zelfde look als bloktype-link --zwart */
.cms-nieuws-card--zwart { border: none !important; background: transparent; }
.cms-nieuws-card--zwart:hover { border: none !important; box-shadow: none; }
.cms-nieuws-card--zwart .cms-nieuws-card-img { border-radius: 12px; overflow: hidden; }
.cms-nieuws-card--zwart .cms-nieuws-card-body h3 { color: #111; font-weight: 400; }
.cms-nieuws-card--zwart .cms-card-btn {
  background: transparent; color: #111;
  border: 1.5px solid #111;
  border-radius: 999px;
  padding: 8px 20px;
}
.cms-nieuws-card--zwart:hover .cms-card-btn { background: #111; color: #fff; }

.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: 400;
  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;
  font-weight: 600;
  margin-bottom: 24px;
}
.pub-footer-doneerknop:hover { background: #d41f84; border-color: #d41f84; }
.pub-footer-contact {
  font-size: 14px;
  font-weight: 400;
  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: #fff; color: #111;
  border: 1px solid #111; border-radius: 24px; padding: 11px 28px;
  font-size: 15px; font-weight: 600; cursor: pointer;
  transition: background .15s, color .15s;
}
.quiz-start-btn:hover { background: #111; color: #fff; }
.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;
}

/* Donkere overlay over fullscreen + dun kader rond de kolom — voor alle kleurschema's */
.cms-quiz.quiz--actief::before {
  content: ''; position: fixed; inset: 0;
  background: rgba(0,0,0,.12);
  z-index: 0; pointer-events: none;
}
.cms-quiz.quiz--actief > * { position: relative; z-index: 1; }
.cms-quiz.quiz--actief .quiz-vragen,
.cms-quiz.quiz--actief .quiz-resultaat {
  /* Erf de parent-bg (inline style of CSS-class) zodat de overlay-dim wegvalt binnen de kolom */
  background-color: inherit;
  border: 1px solid rgba(0,0,0,.12);
  border-radius: 8px;
}
.cms-quiz.quiz--actief .quiz-resultaat {
  width: 100%; max-width: 500px;
}

/* 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; }

/* Welkom-paneel voor ingelogde gebruikers op campagne-pagina's */
.cms-deelname-welkom-paneel { max-width: 560px; margin: 0 auto; }
.cms-deelname-welkom-acties { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 14px; }
.cms-deelname-welkom-cta {
  display: inline-flex; align-items: center;
  padding: 10px 22px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
  white-space: nowrap;
  border: 1.5px solid transparent;
}
.cms-deelname-welkom-cta--primary { background: #fff; color: #111; border-color: #fff; }
.cms-deelname-welkom-cta--primary:hover { background: #e8e8e8; border-color: #e8e8e8; }
.cms-deelname-welkom-cta--secundair { background: transparent; color: #fff; border-color: rgba(255,255,255,.85); }
.cms-deelname-welkom-cta--secundair:hover { background: rgba(255,255,255,.18); border-color: #fff; }

/* ── 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-top {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 32px;
  align-items: start;
  margin-top: 16px;
}
@media (max-width: 700px) {
  .cms-shop-detail-top { grid-template-columns: 1fr; }
}

.cms-shop-form-rij { margin-top: 32px; max-width: 720px; }

/* Linker kolom: foto — vaste portrait-verhouding (3:4), 100% breed in kolom */
.cms-shop-foto-col {}
.cms-shop-foto-wrap { position: relative; }
.cms-shop-detail-img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 16px;
  display: block;
}

/* Foto-slideshow — dezelfde portrait-verhouding */
.cms-shop-detail-slider { position: relative; border-radius: 16px; overflow: hidden; aspect-ratio: 3 / 4; }
.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; }

/* Aanvraagformulier (op nieuwe rij onder foto+inhoud) */
.cms-shop-form-wrap {
  background: #f7f7f7;
  border-radius: 12px;
  padding: 20px;
}
.cms-shop-form-titel {
  font-size: 18px;
  font-weight: 700;
  color: #333;
  margin: 0 0 6px;
}
.cms-shop-form-intro {
  font-size: 13px;
  color: #666;
  margin: 0 0 14px;
  line-height: 1.45;
}

/* Compacte veld-spacing binnen shop-formulier */
.cms-shop-form-wrap .cms-formulier .cms-form-veld { margin-bottom: 8px; }
.cms-shop-form-wrap .cms-formulier .cms-form-veld input,
.cms-shop-form-wrap .cms-formulier .cms-form-veld textarea { font-size: 14px; padding: 8px 10px; }

/* Radio-stijl deelnemerzonvenant */
.cms-shop-form-radio {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 13px;
  margin-bottom: 12px;
}
.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: 14px;
  height: 14px;
}
.cms-shop-form-radio a { color: #fa259a; }

/* Akkoord-checkboxes onderaan (iets compacter dan default) */
.cms-shop-form-akkoorden { margin: 10px 0 14px; }
.cms-shop-form-akkoorden .cms-form-akkoord { font-size: 13px; margin-bottom: 8px; }

/* Submit-knop */
.cms-shop-form-btn { width: 100%; font-size: 15px; padding: 10px 20px; }

/* Leverancier-link onder het form (buiten grijze box) */
.cms-shop-leverancier-link-onder { margin-top: 14px; font-size: 13px; text-align: right; }
.cms-shop-leverancier-link-onder a { color: #888; text-decoration: none; }
.cms-shop-leverancier-link-onder a:hover { color: #555; 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;
}


/* Zonkracht widget (vaste zon rechtsonder) */
.zonkrachtwidget {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 100px;
  height: 100px;
  display: block;
  z-index: 100;
}
@media (max-width: 640px) {
  .zonkrachtwidget {
    width: 60px;
    height: 60px;
    bottom: 12px;
    right: 12px;
  }
}
.zonkrachtwidget-achter,
.zonkrachtwidget-voor {
  position: absolute;
  width: 100%;
  height: 100%;
}
.zonkrachtwidget-achter {
  animation: zonkracht-draai 60s linear infinite;
}
.zonkrachtwidget-voor {
  z-index: 2;
}
@keyframes zonkracht-draai {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
