/* ==========================================================================
   Markland Oudenbosch – nieuw design (2026)
   Only enqueued on site 1 (see oudenbosch.php). Every selector starts with
   body.site-id-1 and an id, so it wins over the layout CSS that the flex
   shortcodes enqueue later in the footer.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Tokens
   -------------------------------------------------------------------------- */
body.site-id-1 {
  --ob-donkerblauw: #004a72;
  --ob-middenblauw: #0095d6;
  --ob-groen: #8abd24;
  --ob-groen-o10: rgba(138, 189, 36, 0.1);
  --ob-donkergroen: #026d37;
  --ob-rood: #e8402b;
  --ob-roze: #df84b5;
  --ob-paars: #92278d;
  --ob-wit: #fff;

  --ob-radius: 20px;
  --ob-grid: 1320px;
  --ob-gutter: 40px;
  --ob-section-py: clamp(64px, 8vw, 120px);

  /* Type scale (Figma: H2 70, H3 50, H4 30, Body L 20, Body M 16) */
  --ob-fs-h1: clamp(40px, 5.3vw, 80px);
  --ob-fs-h2: clamp(36px, 4.63vw, 70px);
  --ob-fs-h3: clamp(30px, 3.31vw, 50px);
  --ob-fs-h4: clamp(22px, 1.99vw, 30px);
  --ob-fs-card: clamp(22px, 2.32vw, 35px);
  --ob-fs-hero-button: clamp(20px, 1.65vw, 25px);
  --ob-fs-footer-heading: 25px;
  --ob-fs-body-l: clamp(17px, 1.33vw, 20px);
  --ob-fs-body-m: 16px;
  --ob-fs-small: 14px;

  /* Arrow (same shape as the theme's existing arrow), used as a mask */
  --ob-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22.715 20.097'%3E%3Cg transform='translate(1.5 2.121)' fill='none' stroke='%23000' stroke-linecap='round' stroke-linejoin='round' stroke-width='3'%3E%3Cline x1='19.093' y1='7.927' y2='7.927'/%3E%3Cline x1='11.166' y1='15.854' x2='19.093' y2='7.927'/%3E%3Cline x1='11.166' x2='19.093' y2='7.927'/%3E%3C/g%3E%3C/svg%3E");
}

@media screen and (max-width: 767px) {
  body.site-id-1 {
    --ob-gutter: 20px;
  }
}

/* --------------------------------------------------------------------------
   2. Typografie (flex heading component + card/button titles)
   -------------------------------------------------------------------------- */
body.site-id-1 #pk_flex_content .heading {
  margin: 0;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
}
body.site-id-1 #pk_flex_content h1.heading { font-size: var(--ob-fs-h1); line-height: 1.3; }
body.site-id-1 #pk_flex_content h2.heading { font-size: var(--ob-fs-h2); }
body.site-id-1 #pk_flex_content h3.heading { font-size: var(--ob-fs-h3); }
body.site-id-1 #pk_flex_content h4.heading,
body.site-id-1 #pk_flex_content .heading.post_heading { font-size: var(--ob-fs-h4); line-height: 1; }

body.site-id-1 #pk_flex_content .flex_layout.hero_afbeelding .button_text {
  font-size: var(--ob-fs-hero-button);
  line-height: 1.1;
  font-weight: 700;
  text-transform: uppercase;
}
body.site-id-1 #pk_flex_content .flex_layout.hero_afbeelding .button_extra_text {
  font-size: 14.9px;
  line-height: 19.95px;
  font-weight: 400;
  letter-spacing: 0;
}
body.site-id-1 #pk_flex_content .flex_layout.direct_links .button_text {
  font-size: var(--ob-fs-card);
  line-height: 0.95;
  font-weight: 700;
  text-transform: uppercase;
}
body.site-id-1 #pk_flex_content .nieuws_grid .post_date {
  font-size: var(--ob-fs-small);
  line-height: 19.5px;
  font-weight: 400;
}
body.site-id-1 #pk_flex_content .nieuws_grid .text_wrapper {
  font-size: var(--ob-fs-body-m);
  line-height: 22.5px;
  font-weight: 400;
}
body.site-id-1:not(.post-type-archive-nieuws) #pk_flex_content .nieuws_grid > a:first-child .text_wrapper {
  font-size: var(--ob-fs-body-l);
  line-height: 1.5;
}
body.site-id-1 #pk_flex_content .button_wrapper a.button,
body.site-id-1 .fl-builder-content .fl-button-group-buttons a.fl-button {
  font-size: var(--ob-fs-body-l);
  line-height: 30px;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   3. Knoppen – pill met ronde pijl
   Light background: donkerblauwe pill. Dark background: witte pill.
   -------------------------------------------------------------------------- */
body.site-id-1 #pk_flex_content,
body.site-id-1 footer {
  --btn-bg: var(--ob-donkerblauw);
  --btn-fg: var(--ob-wit);
  --btn-circle: var(--ob-wit);
  --btn-arrow: var(--ob-donkerblauw);
}
body.site-id-1 #pk_flex_content .is-dark,
body.site-id-1 footer #cta_rij {
  --btn-bg: var(--ob-wit);
  --btn-fg: var(--ob-donkerblauw);
  --btn-circle: var(--ob-donkerblauw);
  --btn-arrow: var(--ob-wit);
}

body.site-id-1 #pk_flex_content .button_wrapper a.button,
body.site-id-1 footer .fl-button-group-buttons a.fl-button {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 20px;
  min-height: 70px;
  margin: 0;
  padding: 10px 74px 10px 32px;
  border: 0;
  border-radius: 9999px;
  background: var(--btn-bg);
  color: var(--btn-fg);
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
body.site-id-1 #pk_flex_content .button_wrapper a.button .button_text,
body.site-id-1 footer .fl-button-group-buttons a.fl-button .fl-button-text {
  color: inherit;
}
/* circle */
body.site-id-1 #pk_flex_content .button_wrapper a.button::before,
body.site-id-1 footer .fl-button-group-buttons a.fl-button::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 12px;
  left: auto;
  z-index: 0;
  width: 50px;
  max-width: none;
  height: 50px;
  border: 0;
  border-radius: 50%;
  background: var(--btn-circle);
  -webkit-mask: none;
  mask: none;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}
/* arrow */
body.site-id-1 #pk_flex_content .button_wrapper a.button::after,
body.site-id-1 footer .fl-button-group-buttons a.fl-button::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 27px;
  z-index: 1;
  width: 20px;
  height: 18px;
  background: var(--btn-arrow);
  -webkit-mask: var(--ob-arrow) center / contain no-repeat;
  mask: var(--ob-arrow) center / contain no-repeat;
  transform: translateY(-50%);
  transition: transform 0.3s ease;
}
body.site-id-1 #pk_flex_content .button_wrapper a.button:hover,
body.site-id-1 #pk_flex_content .button_wrapper a.button:focus-visible,
body.site-id-1 footer .fl-button-group-buttons a.fl-button:hover,
body.site-id-1 footer .fl-button-group-buttons a.fl-button:focus-visible {
  background: var(--btn-bg);
  color: var(--btn-fg);
}
body.site-id-1 #pk_flex_content .button_wrapper a.button:hover::before,
body.site-id-1 footer .fl-button-group-buttons a.fl-button:hover::before {
  max-width: none;
  transform: translateY(-50%); /* circle stays put, only the arrow moves */
}
body.site-id-1 #pk_flex_content .button_wrapper a.button:hover::after,
body.site-id-1 footer .fl-button-group-buttons a.fl-button:hover::after {
  transform: translate(3px, -50%);
}

body.site-id-1 #pk_flex_content :is(.button_wrapper, .button_repeater_container) > a.button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: -5px;
}

/* Shared round arrow (direct links, nieuws) */
body.site-id-1 #pk_flex_content .ob-round-arrow,
body.site-id-1 #pk_flex_content .flex_layout.direct_links .button_icon,
body.site-id-1 #pk_flex_content .nieuws_grid .content_wrapper > svg {
  flex: none;
  box-sizing: border-box;
  width: 48px;
  height: 48px;
  border-radius: 50%;
}

/* --------------------------------------------------------------------------
   4. Gedeeld: secties, decor, stickers
   -------------------------------------------------------------------------- */
body.site-id-1 #pk_flex_content .flex_layout.hero_afbeelding,
body.site-id-1 #pk_flex_content .flex_layout.afbeelding_content,
body.site-id-1 #pk_flex_content .flex_layout.direct_links,
body.site-id-1 #pk_flex_content .flex_layout.nieuws {
  max-width: calc(var(--ob-grid) + 2 * var(--ob-gutter));
}
body.site-id-1 #pk_flex_content .flex_layout.afbeelding_content .flex_container_inner,
body.site-id-1 #pk_flex_content .flex_layout.direct_links .flex_container_inner,
body.site-id-1 #pk_flex_content .flex_layout.nieuws .flex_container_inner {
  padding: var(--ob-section-py) var(--ob-gutter);
}
/* stacking: hero pills > section stickers > plain sections */
body.site-id-1 #pk_flex_content .flex_layout.direct_links,
body.site-id-1 #pk_flex_content .flex_layout.nieuws {
  position: relative;
  z-index: 1;
}

/* Old slanted edges are gone in the new design */
body.site-id-1.home #pk_flex_content > div:nth-child(2)::after,
body.site-id-1 #pk_flex_content .flex_layout.afbeelding_content .slanted_edge {
  display: none;
}

/* Keep the old alternating rows within the current Oudenbosch palette. */
body.site-id-1:not(.home) #pk_flex_content > .flex_content[style*="background-color: #eaf6fc" i]:has(> .flex_layout:not([class*="hero_"])) {
  background-color: var(--ob-groen-o10) !important;
}

/* Full-bleed section background + Markland-M */
body.site-id-1 #pk_flex_content .flex_decor {
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: 0;
  overflow: hidden;
  background-color: var(--rij-kleur);
  pointer-events: none;
}
body.site-id-1 #pk_flex_content .flex_decor::before {
  content: "";
  position: absolute;
  left: calc(50% + var(--wave-x, 152px));
  top: calc(50% + var(--wave-y, 87px));
  width: var(--wave-w, 1817px);
  aspect-ratio: 654 / 356;
  background: var(--wave-color, rgba(255, 255, 255, 0.07));
  -webkit-mask: url("img/m-shape.svg") center / 100% 100% no-repeat;
  mask: url("img/m-shape.svg") center / 100% 100% no-repeat;
  transform: translate(-50%, -50%);
}
/* Figma colours of the M per section colour */
body.site-id-1 #pk_flex_content .flex_container_inner[style*="#92278d" i] {
  --wave-color: #9c2585;
}
body.site-id-1 #pk_flex_content .flex_container_inner[style*="#004a72" i],
body.site-id-1 #pk_flex_content .flex_container_inner[style*="#004a79" i] {
  --wave-color: #144f78;
}

/* Stickers */
body.site-id-1 #pk_flex_content .stickers {
  --ob-sticker-size: clamp(54px, 7vw, 104px);
  --ob-sticker-overhang: clamp(8px, 1.4vw, 22px);
  --ob-sticker-section-edge: calc(-1 * var(--ob-sticker-overhang));
  --ob-sticker-section-side: var(--ob-gutter);
  position: absolute;
  inset: 0;
  z-index: 4;
  pointer-events: none;
}
body.site-id-1 #pk_flex_content .sticker {
  position: absolute;
  width: var(--ob-sticker-size);
  height: var(--ob-sticker-size);
  max-width: none;
  object-fit: contain;
}
body.site-id-1 #pk_flex_content .sticker--afbeelding-linksboven { top: calc(-1 * var(--ob-sticker-overhang)); left: calc(-1 * var(--ob-sticker-overhang)); }
body.site-id-1 #pk_flex_content .sticker--afbeelding-rechtsboven { top: calc(-1 * var(--ob-sticker-overhang)); right: calc(-1 * var(--ob-sticker-overhang)); }
body.site-id-1 #pk_flex_content .sticker--afbeelding-linksonder { bottom: calc(-1 * var(--ob-sticker-overhang)); left: calc(-1 * var(--ob-sticker-overhang)); }
body.site-id-1 #pk_flex_content .sticker--afbeelding-rechtsonder { bottom: calc(-1 * var(--ob-sticker-overhang)); right: calc(-1 * var(--ob-sticker-overhang)); }
body.site-id-1 #pk_flex_content .sticker--sectie-linksboven { top: var(--ob-sticker-section-edge); left: var(--ob-sticker-section-side); }
body.site-id-1 #pk_flex_content .sticker--sectie-rechtsboven { top: var(--ob-sticker-section-edge); right: var(--ob-sticker-section-side); }
body.site-id-1 #pk_flex_content .sticker--sectie-linksonder { bottom: var(--ob-sticker-section-edge); left: var(--ob-sticker-section-side); }
body.site-id-1 #pk_flex_content .sticker--sectie-rechtsonder { bottom: var(--ob-sticker-section-edge); right: var(--ob-sticker-section-side); }

body.site-id-1 #pk_flex_content .flex_layout:is(.hero_content, .hero_content_afbeelding, .hero_afbeelding_content, .hero_content_over_afbeelding, .hero_contact, .hero_nieuws, .hero_content_jaarplanning, .content_over_afbeelding) .flex_container_inner:has(> .stickers--sectie) {
  position: relative;
}
body.site-id-1 #pk_flex_content .flex_layout:is(.hero_content_afbeelding, .hero_afbeelding_content, .hero_content_over_afbeelding, .hero_contact, .content_over_afbeelding) .image_wrapper > .stickers--afbeelding {
  --ob-sticker-size: clamp(62px, 8vw, 118px);
}
body.site-id-1 #pk_flex_content .flex_layout:is(.hero_content, .hero_content_afbeelding, .hero_afbeelding_content, .hero_content_over_afbeelding, .hero_contact, .hero_nieuws, .hero_content_jaarplanning, .content_over_afbeelding) .flex_container_inner > .stickers--sectie {
  --ob-sticker-size: clamp(40px, 5vw, 80px);
  --ob-sticker-section-edge: 4px;
}

@media screen and (max-width: 767px) {
  body.site-id-1 #pk_flex_content .stickers--sectie {
    display: none;
  }
  body.site-id-1 #pk_flex_content .flex_layout:is(.hero_content, .hero_content_afbeelding, .hero_afbeelding_content, .hero_content_over_afbeelding, .hero_contact, .hero_nieuws, .hero_content_jaarplanning, .content_over_afbeelding) .flex_container_inner > .stickers--sectie {
    display: block;
  }
}

/* Homepage stickers use the original SVG dimensions and offsets. */
body.site-id-1.home #pk_flex_content .sticker {
  position: absolute;
  width: auto;
  max-width: none;
  height: auto;
}
body.site-id-1.home #pk_flex_content .sticker--afbeelding-linksboven { top: -55px; left: -103px; }
body.site-id-1.home #pk_flex_content .sticker--afbeelding-rechtsboven { top: -41px; right: -34px; }
body.site-id-1.home #pk_flex_content .sticker--afbeelding-linksonder { bottom: -86px; left: -55px; }
body.site-id-1.home #pk_flex_content .sticker--afbeelding-rechtsonder { bottom: -25px; right: -52px; }
body.site-id-1.home #pk_flex_content .sticker--sectie-linksboven { top: -112px; left: calc(var(--ob-gutter) - 15px); }
body.site-id-1.home #pk_flex_content .sticker--sectie-rechtsboven { top: -112px; right: calc(var(--ob-gutter) + 26px); }
body.site-id-1.home #pk_flex_content .sticker--sectie-linksonder { bottom: -75px; left: calc(var(--ob-gutter) - 15px); }
body.site-id-1.home #pk_flex_content .sticker--sectie-rechtsonder { bottom: -75px; right: calc(var(--ob-gutter) + 26px); }

@media screen and (max-width: 992px) {
  body.site-id-1.home #pk_flex_content .sticker {
    transform: scale(0.65);
  }
  body.site-id-1.home #pk_flex_content .sticker[class*="links"] { transform-origin: left center; }
  body.site-id-1.home #pk_flex_content .sticker[class*="rechts"] { transform-origin: right center; }
  body.site-id-1.home #pk_flex_content .sticker--afbeelding-linksboven { left: -40px; }
  body.site-id-1.home #pk_flex_content .sticker--afbeelding-rechtsboven { right: -10px; }
  body.site-id-1.home #pk_flex_content .sticker--afbeelding-linksonder { left: -20px; bottom: -60px; }
  body.site-id-1.home #pk_flex_content .sticker--afbeelding-rechtsonder { right: -10px; }
}
@media screen and (max-width: 767px) {
  body.site-id-1.home #pk_flex_content .sticker {
    transform: scale(0.5);
  }
  /* section stickers collide with stacked content on phones */
  body.site-id-1.home #pk_flex_content .stickers--sectie {
    display: none;
  }
}

/* --------------------------------------------------------------------------
   5. Hero afbeelding
   -------------------------------------------------------------------------- */
body.site-id-1 #pk_flex_content .flex_image_video {
  pointer-events: none;
}
body.site-id-1 #pk_flex_content .flex_layout.hero_afbeelding .flex_container > .flex_image_video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
body.site-id-1 #pk_flex_content .flex_layout.hero_afbeelding,
body.site-id-1 #pk_flex_content .flex_layout.hero_afbeelding .flex_container {
  max-width: none;
}
body.site-id-1 #pk_flex_content .flex_layout.hero_afbeelding {
  position: relative;
  z-index: 3;
}
body.site-id-1.home #pk_flex_content .flex_layout.hero_afbeelding .flex_container::after {
  content: none;
}
body.site-id-1 #pk_flex_content .flex_layout.hero_afbeelding .flex_container_inner {
  position: relative;
  max-width: calc(var(--ob-grid) + 2 * var(--ob-gutter));
  margin-inline: auto;
  padding: 120px var(--ob-gutter) 40px;
}
body.site-id-1 #pk_flex_content .flex_layout.hero_afbeelding .heading {
  color: var(--ob-wit);
  text-align: center;
}
/* optional announcement: plain white line under the heading */
body.site-id-1 #pk_flex_content .flex_layout.hero_afbeelding .announcement {
  padding: 0;
  border-radius: 0;
  background: none;
  color: var(--ob-wit);
  font-size: var(--ob-fs-body-l);
  line-height: 1.5;
  font-weight: 700;
  text-align: center;
}
body.site-id-1 #pk_flex_content .flex_layout.hero_afbeelding .stickers .sticker--sectie-rechtsboven {
  top: 39px;
  right: calc(var(--ob-gutter) + 110px);
}

/* Buttons: white pills with coloured title + circle */
body.site-id-1 #pk_flex_content .flex_layout.hero_afbeelding .button_repeater {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
}
body.site-id-1 #pk_flex_content .flex_layout.hero_afbeelding .button_repeater .button {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 8px 8px 58px;
  border-radius: 9999px;
  background: var(--ob-wit);
  overflow: visible;
}
body.site-id-1 #pk_flex_content .flex_layout.hero_afbeelding .button_repeater .button::before {
  content: none;
}
body.site-id-1 #pk_flex_content .flex_layout.hero_afbeelding .button_repeater .button:hover {
  background: var(--ob-wit);
}
body.site-id-1 #pk_flex_content .flex_layout.hero_afbeelding .button_repeater .button_text_wrapper {
  width: 190px;
  gap: 8px; /* Figma 16px is measured on trimmed text boxes */
  padding: 0;
}
body.site-id-1 #pk_flex_content .flex_layout.hero_afbeelding .button_repeater .button_text,
body.site-id-1 #pk_flex_content .flex_layout.hero_afbeelding .button_repeater .button:hover .button_text {
  color: var(--button-color);
}
body.site-id-1 #pk_flex_content .flex_layout.hero_afbeelding .button_repeater .button_extra_text {
  color: var(--ob-donkerblauw);
}
body.site-id-1 #pk_flex_content .flex_layout.hero_afbeelding .button_repeater .button_arrow_wrapper {
  flex: none;
  width: 100px;
  height: 100px;
  padding: 0;
  border-radius: 50%;
  background-color: var(--button-color);
}

@media screen and (min-width: 993px) {
  body.site-id-1 #pk_flex_content .flex_layout.hero_afbeelding .flex_container {
    height: 560px;
  }
  /* heading + announcement form one centred block, buttons sit at the bottom.
     .bottom_wrapper is flattened so the announcement can join the heading. */
  body.site-id-1 #pk_flex_content .flex_layout.hero_afbeelding .flex_container_inner {
    justify-content: flex-start;
    gap: 0;
    padding-block: 116px 0; /* = button height, keeps the title centred in the image (Figma) */
  }
  body.site-id-1 #pk_flex_content .flex_layout.hero_afbeelding .bottom_wrapper {
    display: contents;
  }
  body.site-id-1 #pk_flex_content .flex_layout.hero_afbeelding .heading_wrapper {
    margin-top: auto;
  }
  body.site-id-1 #pk_flex_content .flex_layout.hero_afbeelding .announcement {
    margin-top: 16px;
  }
  body.site-id-1 #pk_flex_content .flex_layout.hero_afbeelding .button_repeater {
    margin-top: auto;
  }
  body.site-id-1 #pk_flex_content .flex_layout.hero_afbeelding .button_repeater {
    transform: translateY(50%);
  }
}

@media screen and (max-width: 992px) {
  body.site-id-1 #pk_flex_content .flex_layout.hero_afbeelding .button_repeater .button {
    width: 100%;
    max-width: 420px;
    justify-content: space-between;
    padding-left: 32px;
  }
  body.site-id-1 #pk_flex_content .flex_layout.hero_afbeelding .button_repeater .button_text_wrapper {
    width: auto;
  }
  body.site-id-1 #pk_flex_content .flex_layout.hero_afbeelding .button_repeater .button_arrow_wrapper {
    width: 72px;
    height: 72px;
  }
}

/* Section right after a hero with buttons: room for the overlapping pills */
@media screen and (min-width: 993px) {
  body.site-id-1 #pk_flex_content .flex_layout.hero_afbeelding:has(.button_repeater) + .flex_layout .flex_container_inner,
  body.site-id-1 #pk_flex_content .flex_content:has(.flex_layout.hero_afbeelding:last-child .button_repeater) + .flex_content .flex_layout:first-child .flex_container_inner {
    padding-top: 140px;
  }
}

/* --------------------------------------------------------------------------
   6. Afbeelding content (Onze school / Ons onderwijs)
   -------------------------------------------------------------------------- */
body.site-id-1 #pk_flex_content .flex_layout.afbeelding_content {
  position: relative;
  z-index: 2;
}
body.site-id-1 #pk_flex_content .flex_layout.afbeelding_content .flex_container_inner {
  position: relative;
  margin-bottom: 0;
}
body.site-id-1 #pk_flex_content .flex_layout.afbeelding_content .afbeelding_content_wrapper {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 581fr) minmax(0, 653fr);
  column-gap: clamp(40px, 6vw, 87px);
  align-items: center;
}
body.site-id-1 #pk_flex_content .flex_layout.afbeelding_content .afbeelding_content_wrapper.image_right {
  grid-template-columns: minmax(0, 530fr) minmax(0, 562fr);
  column-gap: clamp(40px, 9vw, 138px);
}
body.site-id-1 #pk_flex_content .flex_layout.afbeelding_content .afbeelding_content_wrapper.image_right > .image_wrapper {
  order: 2;
}
body.site-id-1 #pk_flex_content .flex_layout.afbeelding_content .afbeelding_content_wrapper > .image_wrapper,
body.site-id-1 #pk_flex_content .flex_layout.afbeelding_content .afbeelding_content_wrapper > .content_wrapper {
  width: auto;
}
body.site-id-1 #pk_flex_content .flex_layout.afbeelding_content .afbeelding_content_wrapper > .image_wrapper {
  position: relative;
  justify-self: center;
  width: 100%;
  max-width: 535px;
  margin: 0;
  text-align: left;
}
body.site-id-1 #pk_flex_content .flex_layout.afbeelding_content .afbeelding_content_wrapper > .image_wrapper > :is(img, video) {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 10px solid var(--ob-wit);
  border-radius: var(--ob-radius);
  transform: rotate(-3deg);
}
body.site-id-1 #pk_flex_content .flex_layout.afbeelding_content .content_wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
}
body.site-id-1 #pk_flex_content .flex_layout.afbeelding_content .content_wrapper .heading_wrapper,
body.site-id-1 #pk_flex_content .flex_layout.afbeelding_content .content_wrapper .text_wrapper > :last-child {
  margin-bottom: 0;
}
body.site-id-1 #pk_flex_content .flex_layout.afbeelding_content .heading {
  color: var(--ob-donkerblauw);
}
body.site-id-1 #pk_flex_content .flex_layout.afbeelding_content .is-dark .heading,
body.site-id-1 #pk_flex_content .flex_layout.afbeelding_content .is-dark .text_wrapper,
body.site-id-1 #pk_flex_content .flex_layout.afbeelding_content .is-dark .text_wrapper * {
  color: var(--ob-wit);
}
/* the inline background only covers the content box; .flex_decor paints full width */
body.site-id-1 #pk_flex_content .flex_layout.afbeelding_content .has-bg .flex_container_inner {
  background-color: transparent !important;
}
/* "Ons onderwijs" M sits lower/larger than "Onze school" */
body.site-id-1 #pk_flex_content .flex_layout.afbeelding_content .flex_container_inner:has(.image_right) > .flex_decor {
  --wave-w: 2519px;
  --wave-x: 0px;
  --wave-y: 277px;
}

@media screen and (max-width: 767px) {
  body.site-id-1 #pk_flex_content .flex_layout.afbeelding_content .afbeelding_content_wrapper,
  body.site-id-1 #pk_flex_content .flex_layout.afbeelding_content .afbeelding_content_wrapper.image_right {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 56px;
  }
  body.site-id-1 #pk_flex_content .flex_layout.afbeelding_content .afbeelding_content_wrapper.image_right > .image_wrapper {
    order: 0;
  }
  body.site-id-1 #pk_flex_content .flex_layout.afbeelding_content .afbeelding_content_wrapper > .image_wrapper {
    max-width: 380px;
  }
  body.site-id-1 #pk_flex_content .flex_layout.afbeelding_content .content_wrapper {
    gap: 32px;
  }
}

/* --------------------------------------------------------------------------
   7. Direct links – gekleurde kaarten met Markland-M
   -------------------------------------------------------------------------- */
body.site-id-1 #pk_flex_content .flex_layout.direct_links .content_wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  max-width: 766px;
  margin-inline: auto;
  text-align: center;
  color: var(--ob-donkerblauw);
}
body.site-id-1 #pk_flex_content .flex_layout.direct_links .heading {
  color: var(--ob-donkerblauw);
}
body.site-id-1 #pk_flex_content .flex_layout.direct_links .text_wrapper > * {
  margin: 0;
}
body.site-id-1 #pk_flex_content .flex_layout.direct_links .button_repeater_container {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  max-width: 1096px;
  margin: 64px auto 0;
}
body.site-id-1 #pk_flex_content .flex_layout.direct_links .button_repeater_container .button {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  min-height: 212px;
  padding: 32px;
  overflow: hidden;
  isolation: isolate;
  border: 0;
  border-radius: var(--ob-radius);
  color: var(--ob-wit);
}
body.site-id-1 #pk_flex_content .flex_layout.direct_links .button_repeater_container .button:hover {
  background-color: var(--button-color) !important;
}
body.site-id-1 #pk_flex_content .flex_layout.direct_links .button_repeater_container .button::before {
  content: "";
  position: absolute;
  left: -2px;
  top: -79px;
  z-index: -1;
  width: 654px;
  height: 356px;
  background: var(--button-accent, rgba(255, 255, 255, 0.09));
  -webkit-mask: url("img/m-shape.svg") center / 100% 100% no-repeat;
  mask: url("img/m-shape.svg") center / 100% 100% no-repeat;
  transition: transform 0.5s ease;
}
body.site-id-1 #pk_flex_content .flex_layout.direct_links .button_repeater_container .button:hover::before {
  transform: translateX(16px);
}
body.site-id-1 #pk_flex_content .flex_layout.direct_links .button_text {
  min-width: 0;
  overflow-wrap: normal;
  hyphens: manual;
  color: var(--ob-wit);
}
body.site-id-1:not(.home, .page-id-1667, .page-id-1793, .page-id-1798) #pk_flex_content .flex_layout.direct_links .button:is([style*="--button-color: #8abd24" i], [style*="--button-color: #df84b5" i]) .button_text {
  color: var(--ob-donkerblauw);
}
body.site-id-1:not(.home, .page-id-1667, .page-id-1793) #pk_flex_content .flex_layout.direct_links .button:is([style*="--button-color: #8abd24" i], [style*="--button-color: #df84b5" i])::before {
  background: color-mix(in srgb, var(--button-accent, var(--ob-donkerblauw)) 18%, transparent);
}
body.site-id-1 #pk_flex_content .flex_layout.direct_links .button_icon {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ob-wit);
}
body.site-id-1 #pk_flex_content .flex_layout.direct_links .button_icon svg {
  width: 22px;
  height: auto;
}
body.site-id-1 #pk_flex_content .flex_layout.direct_links .button_icon svg line {
  stroke: var(--button-color);
}
body.site-id-1 #pk_flex_content .flex_layout.direct_links .button_image :is(img, video) {
  max-height: 80px;
  width: auto;
}
body.site-id-1 #pk_flex_content .flex_layout.direct_links .button_image .flex_image_video {
  max-width: 100%;
}

@media screen and (max-width: 767px) {
  body.site-id-1 #pk_flex_content .flex_layout.direct_links .button_repeater_container {
    grid-template-columns: minmax(0, 1fr);
    margin-top: 40px;
  }
  body.site-id-1 #pk_flex_content .flex_layout.direct_links .button_repeater_container .button {
    min-height: 150px;
    padding: 24px;
  }
}

/* --------------------------------------------------------------------------
   8. Nieuws – uitgelicht bericht + kaarten
   -------------------------------------------------------------------------- */
body.site-id-1 #pk_flex_content .flex_layout.nieuws .flex_container_inner > .heading_wrapper {
  margin-bottom: 64px;
  text-align: center;
}
body.site-id-1 #pk_flex_content .flex_layout.nieuws .flex_container_inner > .heading_wrapper .heading {
  margin: 0;
  color: var(--ob-donkerblauw);
}
body.site-id-1 #pk_flex_content .flex_layout.nieuws .nieuws_grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
body.site-id-1 #pk_flex_content .flex_layout.nieuws .nieuws_grid > a {
  display: block;
  grid-column: auto;
  color: inherit;
}

/* Card (default for every item) */
body.site-id-1 #pk_flex_content .flex_layout.nieuws .nieuws_grid .nieuws_item {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  height: 100%;
  margin: 0;
}
body.site-id-1 #pk_flex_content .flex_layout.nieuws .nieuws_grid .nieuws_item .image_wrapper {
  flex: none;
  width: 34.3%;
  min-width: 0;
  aspect-ratio: auto;
  overflow: hidden;
  border-radius: var(--ob-radius) 0 0 var(--ob-radius);
}
body.site-id-1 #pk_flex_content .flex_layout.nieuws .nieuws_grid .nieuws_item .image_wrapper img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
body.site-id-1 #pk_flex_content .flex_layout.nieuws .nieuws_grid > a:hover .image_wrapper img {
  transform: scale(1.04);
}
body.site-id-1 #pk_flex_content .flex_layout.nieuws .nieuws_grid .nieuws_item .content_wrapper {
  position: relative;
  z-index: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 16px;
  min-height: 300px;
  margin: 0;
  padding: 32px 96px 32px 32px;
  overflow: hidden;
  border-radius: 0 var(--ob-radius) var(--ob-radius) 0;
  background-color: var(--ob-middenblauw);
  color: var(--ob-wit);
}
body.site-id-1 #pk_flex_content .flex_layout.nieuws .nieuws_grid .nieuws_item .content_wrapper::before {
  content: "";
  position: absolute;
  left: -88px;
  top: 1px;
  z-index: -1;
  width: 654px;
  height: 356px;
  background: rgba(255, 255, 255, 0.09);
  -webkit-mask: url("img/m-shape.svg") center / 100% 100% no-repeat;
  mask: url("img/m-shape.svg") center / 100% 100% no-repeat;
}
body.site-id-1 #pk_flex_content .flex_layout.nieuws .nieuws_grid .nieuws_item .content_wrapper::after {
  content: none;
}
body.site-id-1 #pk_flex_content .flex_layout.nieuws .nieuws_grid .post_date_wrapper {
  margin: 0;
}
body.site-id-1 #pk_flex_content .flex_layout.nieuws .nieuws_grid .post_date,
body.site-id-1 #pk_flex_content .flex_layout.nieuws .nieuws_grid .heading,
body.site-id-1 #pk_flex_content .flex_layout.nieuws .nieuws_grid .text_wrapper,
body.site-id-1 #pk_flex_content .flex_layout.nieuws .nieuws_grid > a:hover .heading,
body.site-id-1 #pk_flex_content .flex_layout.nieuws .nieuws_grid > a:hover .text_wrapper,
body.site-id-1 #pk_flex_content .flex_layout.nieuws .nieuws_grid > a:hover .post_date_wrapper span {
  color: var(--ob-wit);
}
body.site-id-1 #pk_flex_content .flex_layout.nieuws .nieuws_grid > a:hover .content_wrapper {
  background-color: var(--ob-middenblauw);
}
body.site-id-1 #pk_flex_content .flex_layout.nieuws .nieuws_grid .heading {
  margin: 8px 0 8px;
}
body.site-id-1 #pk_flex_content .flex_layout.nieuws .nieuws_grid .text_wrapper {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}
body.site-id-1 #pk_flex_content .flex_layout.nieuws .nieuws_grid .text_wrapper > * {
  margin: 0;
}
body.site-id-1 #pk_flex_content .flex_layout.nieuws .nieuws_grid .content_wrapper > svg {
  position: absolute;
  top: auto;
  right: 32px;
  bottom: 32px;
  padding: 14px 13px;
  background: var(--ob-wit);
  transform: none;
}
body.site-id-1 #pk_flex_content .flex_layout.nieuws .nieuws_grid .content_wrapper > svg line {
  stroke: var(--ob-middenblauw);
}
/* hover: the circle (the svg box) stays, only the arrow inside moves.
   `translate` composes with the group's own transform attribute. */
body.site-id-1 #pk_flex_content .flex_layout.nieuws .nieuws_grid .content_wrapper > svg > g {
  transition: translate 0.3s ease;
}
body.site-id-1 #pk_flex_content .flex_layout.nieuws .nieuws_grid > a:hover .content_wrapper > svg,
body.site-id-1 #pk_flex_content .flex_layout.nieuws .nieuws_grid .nieuws_item:hover .content_wrapper > svg {
  transform: none;
}
body.site-id-1 #pk_flex_content .flex_layout.nieuws .nieuws_grid > a:hover .content_wrapper > svg > g {
  translate: 3px 0;
}

/* Featured: first item on the left, image on top (not on the archive) */
@media screen and (min-width: 993px) {
  body.site-id-1:not(.post-type-archive-nieuws) #pk_flex_content .flex_layout.nieuws .nieuws_grid {
    grid-template-rows: auto auto;
  }
  body.site-id-1:not(.post-type-archive-nieuws) #pk_flex_content .flex_layout.nieuws .nieuws_grid > a:first-child {
    grid-column: 1;
    grid-row: 1 / span 2;
  }
}
body.site-id-1:not(.post-type-archive-nieuws) #pk_flex_content .flex_layout.nieuws .nieuws_grid > a:first-child .nieuws_item {
  flex-direction: column;
  gap: 24px;
}
body.site-id-1:not(.post-type-archive-nieuws) #pk_flex_content .flex_layout.nieuws .nieuws_grid > a:first-child .image_wrapper {
  width: 100%;
  aspect-ratio: 650 / 520;
  border-radius: var(--ob-radius);
}
body.site-id-1:not(.post-type-archive-nieuws) #pk_flex_content .flex_layout.nieuws .nieuws_grid > a:first-child .content_wrapper,
body.site-id-1:not(.post-type-archive-nieuws) #pk_flex_content .flex_layout.nieuws .nieuws_grid > a:first-child:hover .content_wrapper {
  min-height: 0;
  padding: 0 80px 0 0;
  overflow: visible;
  border-radius: 0;
  background-color: transparent;
  color: var(--ob-donkerblauw);
}
body.site-id-1:not(.post-type-archive-nieuws) #pk_flex_content .flex_layout.nieuws .nieuws_grid > a:first-child .content_wrapper::before {
  content: none;
}
body.site-id-1:not(.post-type-archive-nieuws) #pk_flex_content .flex_layout.nieuws .nieuws_grid > a:first-child .post_date,
body.site-id-1:not(.post-type-archive-nieuws) #pk_flex_content .flex_layout.nieuws .nieuws_grid > a:first-child .heading,
body.site-id-1:not(.post-type-archive-nieuws) #pk_flex_content .flex_layout.nieuws .nieuws_grid > a:first-child .text_wrapper,
body.site-id-1:not(.post-type-archive-nieuws) #pk_flex_content .flex_layout.nieuws .nieuws_grid > a:first-child:hover .heading,
body.site-id-1:not(.post-type-archive-nieuws) #pk_flex_content .flex_layout.nieuws .nieuws_grid > a:first-child:hover .text_wrapper,
body.site-id-1:not(.post-type-archive-nieuws) #pk_flex_content .flex_layout.nieuws .nieuws_grid > a:first-child:hover .post_date_wrapper span {
  color: var(--ob-donkerblauw);
}
body.site-id-1:not(.post-type-archive-nieuws) #pk_flex_content .flex_layout.nieuws .nieuws_grid > a:first-child .text_wrapper {
  max-width: 400px;
  -webkit-line-clamp: 2;
}
body.site-id-1:not(.post-type-archive-nieuws) #pk_flex_content .flex_layout.nieuws .nieuws_grid > a:first-child .content_wrapper > svg {
  right: 0;
  bottom: 0;
  width: 48px !important;
  background: var(--ob-donkerblauw);
}
body.site-id-1:not(.post-type-archive-nieuws) #pk_flex_content .flex_layout.nieuws .nieuws_grid > a:first-child .content_wrapper > svg line {
  stroke: var(--ob-wit);
}

body.site-id-1 #pk_flex_content .flex_layout.nieuws .bottom_wrapper {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 48px;
}
body.site-id-1 #pk_flex_content .flex_layout.nieuws .bottom_wrapper:empty,
body.site-id-1 #pk_flex_content .flex_layout.nieuws .bottom_wrapper:not(:has(*)) {
  display: none;
}

@media screen and (max-width: 992px) {
  body.site-id-1 #pk_flex_content .flex_layout.nieuws .nieuws_grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
@media screen and (max-width: 600px) {
  body.site-id-1 #pk_flex_content .flex_layout.nieuws .nieuws_grid .nieuws_item {
    flex-direction: column;
  }
  body.site-id-1 #pk_flex_content .flex_layout.nieuws .nieuws_grid .nieuws_item .image_wrapper {
    width: 100%;
    aspect-ratio: 2 / 1;
    border-radius: var(--ob-radius) var(--ob-radius) 0 0;
  }
  body.site-id-1 #pk_flex_content .flex_layout.nieuws .nieuws_grid .nieuws_item .content_wrapper {
    min-height: 0;
    border-radius: 0 0 var(--ob-radius) var(--ob-radius);
  }
}

/* --------------------------------------------------------------------------
   9. Header (Beaver Themer: #header_top + #header_normal)
   -------------------------------------------------------------------------- */
body.site-id-1 header.fl-theme-builder-header-sticky.fl-theme-builder-header-scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
body.site-id-1 header #header_top > .fl-row-content-wrap,
body.site-id-1 header #header_normal > .fl-row-content-wrap {
  padding-inline: var(--ob-gutter);
}
body.site-id-1 header #header_top .fl-row-content,
body.site-id-1 header #header_normal .fl-row-content {
  max-width: var(--ob-grid);
}

/* top bar */
body.site-id-1 header #header_top > .fl-row-content-wrap {
  padding-block: 0;
  background-color: var(--ob-groen);
}
body.site-id-1 header #header_top .fl-module-content {
  margin: 0;
}
body.site-id-1 header #header_top .fl-menu .menu {
  display: flex;
  justify-content: flex-end;
}
body.site-id-1 header #header_top .fl-menu .menu > li > a,
body.site-id-1 header #header_top .fl-menu .menu > li > .fl-has-submenu-container > a {
  padding: 10px 15px;
  color: var(--ob-wit);
  font-size: 15px;
  line-height: 22.5px;
  font-weight: 400;
}
body.site-id-1 header #header_top .fl-menu .menu > li:last-child > a {
  padding-right: 0;
}
body.site-id-1 header #header_top .fl-menu .menu > li.aanmelden > a {
  font-weight: 700;
}
body.site-id-1 header #header_top .fl-menu .menu > li > a:hover,
body.site-id-1 header #header_top .fl-menu .menu > li > .fl-has-submenu-container > a:hover {
  color: var(--ob-donkergroen);
}
body.site-id-1 header #header_top .fl-menu .fl-menu-toggle::before {
  border-color: var(--ob-wit);
}
@media screen and (max-width: 767px) {
  body.site-id-1 header #header_top .fl-menu .menu {
    flex-wrap: nowrap;
    justify-content: space-between;
  }
  body.site-id-1 header #header_top .fl-menu .menu > li > a,
  body.site-id-1 header #header_top .fl-menu .menu > li > .fl-has-submenu-container > a {
    padding: 9px 6px;
    font-size: 14px;
    white-space: nowrap;
  }
}

/* main bar */
body.site-id-1 header #header_normal > .fl-row-content-wrap {
  padding-block: 16px;
  background-color: var(--ob-wit);
}
body.site-id-1 header #header_normal .fl-module-photo .fl-photo-img {
  width: 170px;
  height: auto;
}
body.site-id-1 header #header_normal .fl-menu .menu > li > a,
body.site-id-1 header #header_normal .fl-menu .menu > li > .fl-has-submenu-container > a {
  padding: 10px 12px;
  color: var(--ob-donkergroen);
  font-size: 16px;
  line-height: 22.5px;
  font-weight: 400;
}
body.site-id-1 header #header_normal .fl-menu .menu > li > a:hover,
body.site-id-1 header #header_normal .fl-menu .menu > li > .fl-has-submenu-container > a:hover,
body.site-id-1 header #header_normal .fl-menu .menu > li.current-menu-item > a {
  color: var(--ob-groen);
}
/* "Direct naar" arrow (li.arrow): inline after the label, Figma Group 593 */
body.site-id-1 header #header_normal .menu > li.arrow > .fl-has-submenu-container > a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
body.site-id-1 header #header_normal .menu > li.arrow > .fl-has-submenu-container > a::after,
body.site-id-1 header #header_normal .menu > li.arrow:hover > .fl-has-submenu-container > a::after {
  content: "";
  position: static;
  display: inline-block;
  flex: none;
  width: 15px;
  height: 13px;
  margin: 0;
  background: var(--ob-donkergroen);
  -webkit-mask: var(--ob-arrow) center / contain no-repeat;
  mask: var(--ob-arrow) center / contain no-repeat;
  transform: none;
  transition: transform 0.3s ease, background-color 0.3s ease;
}
body.site-id-1 header #header_normal .menu > li.arrow:hover > .fl-has-submenu-container > a::after {
  background: var(--ob-groen);
  transform: rotate(90deg);
}
body.site-id-1 header #header_normal .menu > li.arrow > .fl-has-submenu-container > .fl-menu-toggle {
  display: none;
}

body.site-id-1 header #header_normal .fl-menu .sub-menu {
  overflow: hidden;
  border-radius: 12px;
  background-color: var(--ob-donkergroen);
}
/* sub-menus
   main menu  : donkergroen panel, white links, groen on hover
   top bar    : white panel (BB default) with donkergroen links */
body.site-id-1 header #header_normal .fl-menu .sub-menu {
  width: max-content;
  min-width: 280px;
  max-width: 420px;
  padding: 10px 0;
}
body.site-id-1 header #header_normal .fl-menu .sub-menu > li > a,
body.site-id-1 header #header_normal .fl-menu .sub-menu > li > .fl-has-submenu-container > a {
  position: relative;
  padding: 10px 64px 10px 28px;
  color: var(--ob-wit);
  white-space: nowrap;
}
/* "Direct naar" sub-items: arrow in its own space on the right */
body.site-id-1 header #header_normal .menu > li.arrow > .sub-menu a::after,
body.site-id-1 header #header_normal .menu > li.arrow > .sub-menu li:hover a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 28px;
  left: auto;
  width: 15px;
  height: 13px;
  background: var(--ob-wit);
  -webkit-mask: var(--ob-arrow) center / contain no-repeat;
  mask: var(--ob-arrow) center / contain no-repeat;
  transform: translateY(-50%);
  transition: transform 0.3s ease, background-color 0.3s ease;
}
body.site-id-1 header #header_normal .menu > li.arrow > .sub-menu li:hover a::after {
  background: var(--ob-groen);
  transform: translate(4px, -50%);
}
body.site-id-1 header #header_normal .fl-menu .sub-menu > li > a:hover,
body.site-id-1 header #header_normal .fl-menu .sub-menu > li > a:focus,
body.site-id-1 header #header_normal .fl-menu .sub-menu > li.current-menu-item > a {
  color: var(--ob-groen);
}

body.site-id-1 header #header_top .fl-menu .sub-menu {
  min-width: 220px;
  padding: 8px 0;
  overflow: hidden;
  border-radius: 12px;
  background-color: var(--ob-wit);
  box-shadow: 0 10px 30px rgba(0, 74, 114, 0.15);
}
body.site-id-1 header #header_top .fl-menu .sub-menu > li > a,
body.site-id-1 header #header_top .fl-menu .sub-menu > li > .fl-has-submenu-container > a {
  padding: 8px 20px;
  color: var(--ob-donkergroen);
  font-size: 15px;
  line-height: 22.5px;
  font-weight: 400;
  white-space: nowrap;
}
body.site-id-1 header #header_top .fl-menu .sub-menu > li > a:hover,
body.site-id-1 header #header_top .fl-menu .sub-menu > li > a:focus,
body.site-id-1 header #header_top .fl-menu .sub-menu > li.current-menu-item > a {
  background-color: var(--ob-groen-o10);
  color: var(--ob-donkergroen);
}

/* one row: logo | menu … search (desktop) */
@media screen and (min-width: 1200px) {
  body.site-id-1 header #header_normal .fl-col-group {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 53px;
  }
  body.site-id-1 header #header_normal .fl-col-group::before,
  body.site-id-1 header #header_normal .fl-col-group::after {
    content: none;
  }
  body.site-id-1 header #header_normal .fl-col-group > .fl-col:first-child {
    flex: none;
    width: auto;
  }
  body.site-id-1 header #header_normal .fl-col-group > .fl-col:last-child {
    flex: 1;
    width: auto;
    max-width: none;
  }
  body.site-id-1 header #header_normal .fl-menu .menu {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
  }
  body.site-id-1 header #header_normal .fl-menu .menu > li {
    float: none;
    white-space: nowrap;
  }
  body.site-id-1 header #header_normal .fl-menu .menu > li > .fl-has-submenu-container {
    display: flex;
    align-items: center;
  }
  body.site-id-1 header #header_normal .fl-menu .menu > li.astm-search-menu {
    margin-left: auto;
  }
}

/* search pill (Ivory Search in the menu) */
body.site-id-1 header .astm-search-menu {
  margin-left: 12px;
}
body.site-id-1 header .astm-search-menu .is-search-form {
  position: relative;
  width: 270px;
  max-width: 100%;
}
body.site-id-1 header .astm-search-menu .is-search-form label {
  display: block;
  margin: 0;
}
body.site-id-1 header .astm-search-menu .is-search-input {
  width: 100%;
  height: 40px;
  padding: 0 40px 0 20px;
  border: 0;
  border-radius: 100px;
  background: var(--ob-groen-o10);
  color: var(--ob-donkergroen);
  font-size: 14px;
  box-shadow: none;
}
body.site-id-1 header .astm-search-menu .is-search-input::placeholder {
  color: var(--ob-donkergroen);
  opacity: 1;
}
body.site-id-1 header .astm-search-menu .is-search-submit {
  position: absolute;
  top: 50%;
  right: 7px;
  width: 26px;
  height: 26px;
  padding: 0;
  border: 0;
  background: transparent;
  transform: translateY(-50%);
}
body.site-id-1 header .astm-search-menu .is-search-icon {
  display: flex;
  width: 100%;
  height: 100%;
  padding: 2px;
  border: 0;
  background: transparent;
}
body.site-id-1 header .astm-search-menu .is-search-icon svg path {
  fill: var(--ob-groen);
}

/* --------------------------------------------------------------------------
   10. Footer – CTA (#cta_rij), kolommen (#footer_rij), subfooter
   -------------------------------------------------------------------------- */
body.site-id-1 footer #cta_rij,
body.site-id-1 footer #cta_rij > .fl-row-content-wrap {
  max-width: none;
  background: transparent;
}
body.site-id-1 footer #cta_rij > .fl-row-content-wrap {
  padding: 0 var(--ob-gutter) 110px;
}
body.site-id-1 footer #cta_rij .fl-row-content {
  max-width: var(--ob-grid);
}
body.site-id-1 footer #cta_rij .fl-col-group {
  position: relative;
  display: flex;
  margin-top: 79px;
  padding: 100px 67px;
  border-radius: var(--ob-radius);
  background: url("img/m-shape-wit.svg") calc(50% + 106px) calc(50% + 60px) / 1335px 726px no-repeat,
    var(--ob-donkergroen);
}
body.site-id-1 footer #cta_rij .fl-col-group::before,
body.site-id-1 footer #cta_rij .fl-col-group::after {
  content: none;
}
body.site-id-1 footer #cta_rij .fl-col {
  float: none;
  width: auto;
  max-width: none;
}
body.site-id-1 footer #cta_rij .fl-col:first-child {
  width: 100%;
  max-width: 558px;
}
body.site-id-1 footer #cta_rij .fl-col-content,
body.site-id-1 footer #cta_rij .fl-module-content {
  margin: 0;
}
body.site-id-1 footer #cta_rij .fl-col:first-child .fl-col-content {
  padding: 0; /* BB: 40px 100px 0 0 made the text column 458px instead of 558px */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 48px;
}
body.site-id-1 footer #cta_rij .fl-rich-text,
body.site-id-1 footer #cta_rij .fl-rich-text * {
  color: var(--ob-wit);
}
body.site-id-1 footer #cta_rij .fl-rich-text h3 {
  width: calc(100% + 113px); /* Figma: 671px heading over a 558px column */
  max-width: 671px;
  margin: 0 0 48px;
  font-size: var(--ob-fs-h3);
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}
body.site-id-1 footer #cta_rij .fl-rich-text p {
  margin: 0;
  font-size: var(--ob-fs-body-l);
  line-height: 1.5;
}
body.site-id-1 footer #cta_rij .fl-button-group-buttons,
body.site-id-1 footer #cta_rij .fl-button-wrap {
  width: auto;
  text-align: left;
}
/* photo: tilted, sticking out above the card */
body.site-id-1 footer #cta_rij .fl-col:last-child {
  position: absolute;
  top: -65px; /* Figma: photo starts ~65px above the card */
  right: 66px;
  width: 535px;
  max-width: 41%;
}
body.site-id-1 footer #cta_rij .fl-col:last-child .fl-col-content {
  padding: 0;
}
body.site-id-1 footer #cta_rij .fl-module-photo {
  position: relative;
  transform: none; /* BB adds rotate(5deg) on .cta_afbeelding */
}
body.site-id-1 footer #cta_rij .fl-module-photo > .fl-module-content {
  margin: 0;
}
body.site-id-1 footer #cta_rij .fl-module-photo .fl-photo-img {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 10px solid var(--ob-wit);
  border-radius: var(--ob-radius);
  box-shadow: 15px -5px 4px rgba(0, 0, 0, 0.05);
  transform: rotate(3.12deg);
}
body.site-id-1 footer #cta_rij .fl-module-photo .fl-module-content::after {
  content: "";
  position: absolute;
  right: -31px;
  bottom: -64px;
  width: 136px;
  height: 178px;
  background: url("img/peace.svg") center / contain no-repeat;
  pointer-events: none;
}

@media screen and (max-width: 992px) {
  body.site-id-1 footer #cta_rij .fl-col-group {
    flex-direction: column;
    gap: 48px;
    padding: 56px 32px 0;
  }
  body.site-id-1 footer #cta_rij .fl-col:last-child {
    position: relative;
    top: auto;
    right: auto;
    width: 100%;
    max-width: 360px;
    margin: 0 auto -40px;
  }
  body.site-id-1 footer #cta_rij > .fl-row-content-wrap {
    padding-bottom: 100px;
  }
  body.site-id-1 footer #cta_rij .fl-module-photo .fl-module-content::after {
    right: -10px;
    transform: scale(0.7);
    transform-origin: right bottom;
  }
}

/* main footer */
body.site-id-1 footer #footer_rij,
body.site-id-1 footer #footer_rij > .fl-row-content-wrap {
  max-width: none;
}
body.site-id-1 footer #footer_rij > .fl-row-content-wrap {
  position: relative;
  overflow: hidden;
  padding: 110px var(--ob-gutter);
  background-color: var(--ob-donkerblauw);
}
body.site-id-1 footer #footer_rij > .fl-row-content-wrap::before {
  content: "";
  position: absolute;
  left: calc(50% + 222px);
  top: calc(50% + 101px);
  width: 1393px;
  height: 758px;
  background: #144f78;
  -webkit-mask: url("img/m-shape.svg") center / 100% 100% no-repeat;
  mask: url("img/m-shape.svg") center / 100% 100% no-repeat;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
body.site-id-1 footer #footer_rij .fl-builder-shape-layer {
  display: none;
}
body.site-id-1 footer #footer_rij .fl-row-content {
  position: relative;
  z-index: 1;
  max-width: var(--ob-grid);
}
body.site-id-1 footer #footer_rij .fl-col-group {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  column-gap: 22px;
}
body.site-id-1 footer #footer_rij .fl-col-group::before,
body.site-id-1 footer #footer_rij .fl-col-group::after {
  content: none;
}
body.site-id-1 footer #footer_rij .fl-col {
  float: none;
  width: auto;
  max-width: none;
  min-width: 0;
}
body.site-id-1 footer #footer_rij .fl-col-content,
body.site-id-1 footer #footer_rij .fl-module-content {
  margin: 0;
}
/* logo column → full-width row on top */
body.site-id-1 footer #footer_rij .fl-col:nth-child(6) {
  grid-column: 1 / -1;
  grid-row: 1;
  margin-bottom: 64px;
}
body.site-id-1 footer #footer_rij .fl-col:nth-child(6) .fl-photo {
  text-align: left;
}
body.site-id-1 footer #footer_rij .fl-col:nth-child(6) .fl-photo-img {
  width: 203px;
  height: auto;
}
body.site-id-1 footer #footer_rij .fl-col:nth-child(1),
body.site-id-1 footer #footer_rij .fl-col:nth-child(2),
body.site-id-1 footer #footer_rij .fl-col:nth-child(3) {
  grid-row: 2 / span 2;
}
body.site-id-1 footer #footer_rij .fl-col:nth-child(4) {
  grid-column: 4;
  grid-row: 2;
}
body.site-id-1 footer #footer_rij .fl-col:nth-child(5) {
  grid-column: 4;
  grid-row: 3;
  margin-top: 24px;
}
body.site-id-1 footer #footer_rij .fl-rich-text,
body.site-id-1 footer #footer_rij .fl-rich-text p,
body.site-id-1 footer #footer_rij .fl-rich-text a {
  color: var(--ob-wit);
  font-size: var(--ob-fs-body-m);
  line-height: 22.5px;
}
body.site-id-1 footer #footer_rij .fl-rich-text a:hover {
  color: var(--ob-groen);
}
body.site-id-1 footer #footer_rij .fl-rich-text h4 {
  margin: 0 0 24px;
  color: var(--ob-groen);
  font-size: var(--ob-fs-footer-heading);
  line-height: 32.5px;
  font-weight: 700;
  text-transform: none;
}
body.site-id-1 footer #footer_rij .fl-rich-text p {
  margin: 0 0 24px;
}
body.site-id-1 footer #footer_rij .fl-rich-text p + h4 {
  margin-top: 40px;
}
/* link lists (<a><br><a>…): 16px between the lines */
body.site-id-1 footer #footer_rij .fl-col:nth-child(-n + 3) .fl-rich-text p:has(> a) {
  line-height: 38.5px;
}
/* contact: function on the first line in bold */
body.site-id-1 footer #footer_rij .fl-col:nth-child(4) .fl-rich-text p::first-line,
body.site-id-1 footer #footer_rij .fl-col:nth-child(5) .fl-rich-text p::first-line {
  font-weight: 700;
}

@media screen and (max-width: 992px) {
  body.site-id-1 footer #footer_rij .fl-col-group {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    row-gap: 40px;
  }
  body.site-id-1 footer #footer_rij .fl-col:nth-child(n) {
    grid-column: auto;
    grid-row: auto;
    margin: 0;
  }
  body.site-id-1 footer #footer_rij .fl-col:nth-child(6) {
    grid-column: 1 / -1;
    grid-row: 1;
  }
}
@media screen and (max-width: 540px) {
  body.site-id-1 footer #footer_rij .fl-col-group {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* sub footer */
body.site-id-1 footer #sub_footer_rij,
body.site-id-1 footer #sub_footer_rij > .fl-row-content-wrap {
  max-width: none;
}
body.site-id-1 footer #sub_footer_rij > .fl-row-content-wrap {
  padding: 24px var(--ob-gutter);
  background-color: var(--ob-middenblauw);
}
body.site-id-1 footer #sub_footer_rij .fl-row-content {
  max-width: var(--ob-grid);
}
body.site-id-1 footer #sub_footer_rij .fl-col-content,
body.site-id-1 footer #sub_footer_rij .fl-module-content {
  margin: 0;
}
body.site-id-1 footer #sub_footer_rij .fl-rich-text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 20px;
}
body.site-id-1 footer #sub_footer_rij .fl-rich-text h3 {
  margin: 0;
  color: var(--ob-wit);
  font-size: 28px;
  line-height: 36.4px;
  font-weight: 700;
  text-transform: none;
}
body.site-id-1 footer #sub_footer_rij .fl-rich-text p,
body.site-id-1 footer #sub_footer_rij .fl-rich-text a {
  margin: 0;
  color: var(--ob-wit);
  font-size: 14.6px;
  line-height: 22.5px;
}
body.site-id-1 footer #sub_footer_rij .fl-icon-group {
  display: flex;
  justify-content: flex-end;
  gap: 20px;
}
body.site-id-1 footer #sub_footer_rij .fl-icon {
  margin: 0;
}
body.site-id-1 footer #sub_footer_rij .fl-icon i,
body.site-id-1 footer #sub_footer_rij .fl-icon i::before {
  color: var(--ob-wit);
  font-size: 24px;
}
body.site-id-1 footer #sub_footer_rij .fl-icon a:hover i,
body.site-id-1 footer #sub_footer_rij .fl-icon a:hover i::before {
  color: var(--ob-donkerblauw);
}

/* Row under the sub footer (option "footer_tagline", empty on this site):
   the new design ends with the blue bar, so the row is not shown. */
body.site-id-1 footer #onder_footer {
  display: none;
}

@media screen and (max-width: 767px) {
  body.site-id-1 footer #sub_footer_rij .fl-icon-group {
    justify-content: flex-start;
    margin-top: 16px;
  }
}

/* ==========================================================================
   11. Subpagina's – overige layouts in de nieuwe stijl
   Hero layouts  : donkerblauwe band (full-bleed) met Markland-M, witte kop,
                   gekantelde foto met witte rand.
   Content       : donkerblauwe koppen, afgeronde kaarten (20px), pill-knoppen.
   ========================================================================== */

/* 11.1 Oude schuine randen / masks uit de layout-CSS uitzetten */
body.site-id-1 #pk_flex_content > .flex_content::before,
body.site-id-1 #pk_flex_content > .flex_content::after,
body.site-id-1 #pk_flex_content .flex_layout:not(.hero_afbeelding) .flex_container::after,
body.site-id-1 #pk_flex_content .flex_layout .content_wrapper::after {
  content: none !important;
}

/* hero_content.css reserves 100px under its row for the old slant */
body.site-id-1 #pk_flex_content > .flex_content:has(> div.hero_content) {
  margin-bottom: 0;
}

/* 11.2 Kleuren van koppen en rich-text */
body.site-id-1 #pk_flex_content .heading {
  color: var(--ob-donkerblauw);
}
body.site-id-1 #pk_flex_content .text_wrapper :is(h1, h2, h3, h4, h5, h6) {
  color: var(--ob-donkerblauw);
}
body.site-id-1 #pk_flex_content .text_wrapper a:not(.button) {
  color: var(--ob-donkerblauw);
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
body.site-id-1 #pk_flex_content .text_wrapper a:not(.button):hover {
  color: var(--ob-middenblauw);
}

/* 11.3 Breadcrumbs */
body.site-id-1 #pk_flex_content .flex_breadcrumbs {
  padding: 16px 0;
  background-color: transparent;
}
body.site-id-1 #pk_flex_content .flex_breadcrumbs .flex_layout {
  max-width: calc(var(--ob-grid) + 2 * var(--ob-gutter));
  padding-inline: var(--ob-gutter);
}
body.site-id-1 #pk_flex_content .flex_breadcrumbs p {
  color: var(--ob-donkerblauw);
  font-size: var(--ob-fs-small);
}
body.site-id-1 #pk_flex_content .flex_breadcrumbs a {
  color: var(--ob-donkergroen);
}
body.site-id-1 #pk_flex_content .flex_breadcrumbs:has(+ .flex_content > .flex_layout:first-child:is(.hero_content, .hero_content_afbeelding, .hero_afbeelding_content, .hero_content_over_afbeelding, .hero_contact, .hero_nieuws, .hero_content_jaarplanning)) {
  padding-top: 24px;
  padding-bottom: 0;
  background-color: var(--ob-donkerblauw);
}
body.site-id-1 #pk_flex_content .flex_breadcrumbs:has(+ .flex_content > .flex_layout:first-child:is(.hero_content, .hero_content_afbeelding, .hero_afbeelding_content, .hero_content_over_afbeelding, .hero_contact, .hero_nieuws, .hero_content_jaarplanning)) p {
  color: rgba(255, 255, 255, 0.8);
}
body.site-id-1 #pk_flex_content .flex_breadcrumbs:has(+ .flex_content > .flex_layout:first-child:is(.hero_content, .hero_content_afbeelding, .hero_afbeelding_content, .hero_content_over_afbeelding, .hero_contact, .hero_nieuws, .hero_content_jaarplanning)) a {
  color: var(--ob-groen);
}

/* 11.4 Hero band (alle hero-varianten behalve de home-hero) */
body.site-id-1 #pk_flex_content .flex_layout:is(.hero_content, .hero_content_afbeelding, .hero_afbeelding_content, .hero_content_over_afbeelding, .hero_contact, .hero_nieuws, .hero_content_jaarplanning) {
  position: relative;
  z-index: 1;
  isolation: isolate;
  max-width: calc(var(--ob-grid) + 2 * var(--ob-gutter));
  color: var(--ob-wit);
}
body.site-id-1 #pk_flex_content .flex_layout:is(.hero_content, .hero_content_afbeelding, .hero_afbeelding_content, .hero_content_over_afbeelding, .hero_contact, .hero_nieuws, .hero_content_jaarplanning)::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background: url("img/m-shape-blauw.svg") calc(50% + 480px) calc(50% + 160px) / 1817px 988px no-repeat,
    var(--ob-donkerblauw);
}
body.site-id-1 #pk_flex_content .flex_layout:is(.hero_content, .hero_content_afbeelding, .hero_afbeelding_content, .hero_content_over_afbeelding, .hero_contact, .hero_nieuws, .hero_content_jaarplanning) :is(.flex_container, .flex_container_inner) {
  max-width: none;
  height: auto;
  min-height: 0;
  background: none;
}
body.site-id-1 #pk_flex_content .flex_layout:is(.hero_content, .hero_content_afbeelding, .hero_afbeelding_content, .hero_content_over_afbeelding, .hero_contact, .hero_nieuws, .hero_content_jaarplanning) .flex_container_inner {
  padding: clamp(48px, 6vw, 96px) var(--ob-gutter);
  padding-top: clamp(48px, 6vw, 96px) !important; /* hero_content_afbeelding.css forces 0 !important */
}
body.site-id-1 #pk_flex_content .flex_layout:is(.hero_content, .hero_content_afbeelding, .hero_afbeelding_content, .hero_content_over_afbeelding, .hero_contact, .hero_nieuws, .hero_content_jaarplanning) :is(.heading, .text_wrapper, .text_wrapper *, .post_date) {
  color: var(--ob-wit);
}
body.site-id-1 #pk_flex_content .flex_layout:is(.hero_content, .hero_content_afbeelding, .hero_afbeelding_content, .hero_content_over_afbeelding, .hero_contact, .hero_nieuws, .hero_content_jaarplanning) .text_wrapper :is(h2, h3, h4) {
  color: var(--ob-groen);
}
body.site-id-1 #pk_flex_content .flex_layout:is(.hero_content, .hero_content_afbeelding, .hero_afbeelding_content, .hero_content_over_afbeelding, .hero_contact, .hero_nieuws, .hero_content_jaarplanning) .text_wrapper a:not(.button) {
  color: var(--ob-wit);
}
body.site-id-1 #pk_flex_content .flex_layout:is(.hero_content, .hero_content_afbeelding, .hero_afbeelding_content, .hero_content_over_afbeelding, .hero_contact, .hero_nieuws, .hero_content_jaarplanning) {
  --btn-bg: var(--ob-wit);
  --btn-fg: var(--ob-donkerblauw);
  --btn-circle: var(--ob-donkerblauw);
  --btn-arrow: var(--ob-wit);
}
/* hero titles: H2 scale, no broken words */
body.site-id-1 #pk_flex_content .flex_layout:is(.hero_content, .hero_content_afbeelding, .hero_afbeelding_content, .hero_content_over_afbeelding, .hero_contact, .hero_content_jaarplanning, .content_over_afbeelding) h1.heading {
  font-size: var(--ob-fs-h2);
  line-height: 1;
  word-break: normal;
  overflow-wrap: normal;
  hyphens: auto;
}

/* content blocks in a hero */
body.site-id-1 #pk_flex_content .flex_layout:is(.hero_content, .hero_content_afbeelding, .hero_afbeelding_content, .hero_content_over_afbeelding, .hero_contact, .hero_nieuws, .hero_content_jaarplanning) .content_wrapper {
  position: static;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  width: auto;
  max-width: 760px;
  margin: 0;
  padding: 0;
  background: none;
  transform: none;
}
body.site-id-1 #pk_flex_content .flex_layout:is(.hero_content, .hero_content_afbeelding, .hero_afbeelding_content, .hero_content_over_afbeelding, .hero_contact, .hero_nieuws, .hero_content_jaarplanning) .content_wrapper .heading_wrapper {
  margin: 0;
}
body.site-id-1 #pk_flex_content .flex_layout:is(.hero_content, .hero_content_afbeelding, .hero_afbeelding_content, .hero_content_over_afbeelding, .hero_contact, .hero_nieuws, .hero_content_jaarplanning) .text_wrapper {
  font-size: var(--ob-fs-body-l);
  line-height: 1.5;
}
body.site-id-1 #pk_flex_content .flex_layout:is(.hero_content, .hero_content_afbeelding, .hero_afbeelding_content, .hero_content_over_afbeelding, .hero_contact, .hero_nieuws, .hero_content_jaarplanning) .text_wrapper > :last-child {
  margin-bottom: 0;
}

/* Gekantelde foto met witte rand (hero's + content over afbeelding) */
body.site-id-1 #pk_flex_content .flex_layout:is(.hero_content_afbeelding, .hero_afbeelding_content, .hero_content_over_afbeelding, .hero_contact, .content_over_afbeelding) .image_wrapper {
  position: relative;
  inset: auto;
  width: 100%;
  max-width: 480px;
  height: auto;
  margin: 0;
  padding: 0;
  transform: none;
}
body.site-id-1 #pk_flex_content .flex_layout:is(.hero_content_afbeelding, .hero_afbeelding_content, .hero_content_over_afbeelding, .hero_contact, .content_over_afbeelding) .image_wrapper > :is(img, video) {
  position: static;
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 10px solid var(--ob-wit);
  border-radius: var(--ob-radius);
  box-shadow: 15px -5px 4px rgba(0, 0, 0, 0.05);
  transform: rotate(-3deg);
}

/* tekst links, foto rechts */
@media screen and (min-width: 768px) {
  body.site-id-1 #pk_flex_content .flex_layout:is(.hero_content_afbeelding, .hero_afbeelding_content, .hero_content_over_afbeelding) .flex_container_inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
    column-gap: clamp(40px, 8vw, 120px);
    align-items: center;
  }
  body.site-id-1 #pk_flex_content .flex_layout:is(.hero_content_afbeelding, .hero_afbeelding_content, .hero_content_over_afbeelding) .flex_container_inner > .content_wrapper {
    grid-column: 1;
    grid-row: 1;
  }
  body.site-id-1 #pk_flex_content .flex_layout:is(.hero_content_afbeelding, .hero_afbeelding_content, .hero_content_over_afbeelding) .flex_container_inner > .image_wrapper {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }
}
@media screen and (max-width: 767px) {
  body.site-id-1 #pk_flex_content .flex_layout:is(.hero_content_afbeelding, .hero_afbeelding_content, .hero_content_over_afbeelding) .flex_container_inner {
    display: flex;
    flex-direction: column;
    gap: 48px;
  }
  body.site-id-1 #pk_flex_content .flex_layout:is(.hero_content_afbeelding, .hero_afbeelding_content, .hero_content_over_afbeelding) .image_wrapper {
    order: 2;
    max-width: 340px;
    align-self: center;
  }
}

/* hero_content: alleen een titel (en evt. tekst) */
body.site-id-1 #pk_flex_content .flex_layout.hero_content .flex_container_inner {
  display: block;
}

/* hero_contact: titel boven, foto + adres eronder */
body.site-id-1 #pk_flex_content .flex_layout.hero_contact .flex_container_inner > .heading_wrapper {
  margin: 0 0 56px;
}
body.site-id-1 #pk_flex_content .flex_layout.hero_contact .column_wrapper {
  display: grid;
  grid-template-columns: minmax(0, 480px) minmax(0, 1fr);
  column-gap: clamp(40px, 8vw, 120px);
  align-items: center;
  width: auto;
  height: auto;
  background: none;
}
body.site-id-1 #pk_flex_content .flex_layout.hero_contact .column_wrapper > .content_wrapper {
  gap: 0;
}
body.site-id-1 #pk_flex_content .flex_layout.hero_contact .column_wrapper .text_wrapper h2 {
  margin: 0 0 16px;
  font-size: var(--ob-fs-h4);
  line-height: 1;
  font-weight: 700;
  text-transform: uppercase;
}
@media screen and (max-width: 767px) {
  body.site-id-1 #pk_flex_content .flex_layout.hero_contact .column_wrapper {
    grid-template-columns: minmax(0, 1fr);
    row-gap: 48px;
  }
  body.site-id-1 #pk_flex_content .flex_layout.hero_contact .image_wrapper {
    max-width: 340px;
    justify-self: center;
  }
}

/* hero_nieuws: grote foto, daaronder datum + titel + intro */
body.site-id-1 #pk_flex_content .flex_layout.hero_nieuws .flex_container_inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
}
body.site-id-1 #pk_flex_content .flex_layout.hero_nieuws .flex_container_inner > img {
  display: block;
  width: 100%;
  max-width: none;
  height: auto;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  border-radius: var(--ob-radius);
}
body.site-id-1 #pk_flex_content .flex_layout.hero_nieuws .content_wrapper {
  gap: 16px;
  max-width: 900px;
}
body.site-id-1 #pk_flex_content .flex_layout.hero_nieuws .post_date_wrapper {
  margin: 0;
}
body.site-id-1 #pk_flex_content .flex_layout.hero_nieuws .post_date {
  font-size: var(--ob-fs-small);
  line-height: 19.5px;
}
body.site-id-1 #pk_flex_content .flex_layout.hero_nieuws .heading.post_heading {
  margin: 0;
  font-size: var(--ob-fs-h3);
  line-height: 1;
}

/* hero_content_jaarplanning: titel + filter */
@media screen and (min-width: 993px) {
  body.site-id-1 #pk_flex_content .flex_layout.hero_content_jaarplanning .flex_container_inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    column-gap: 64px;
    align-items: center;
  }
}
@media screen and (max-width: 992px) {
  body.site-id-1 #pk_flex_content .flex_layout.hero_content_jaarplanning .flex_container_inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}
body.site-id-1 #pk_flex_content .flex_layout.hero_content_jaarplanning .reset_knop h4 {
  color: var(--ob-groen);
  font-size: var(--ob-fs-footer-heading);
}
body.site-id-1 #pk_flex_content .flex_layout.hero_content_jaarplanning .reset_knop a {
  color: var(--ob-wit);
  text-decoration: underline !important;
}
body.site-id-1 #pk_flex_content .flex_layout.hero_content_jaarplanning .filter_items {
  gap: 10px;
}
body.site-id-1 #pk_flex_content .flex_layout.hero_content_jaarplanning .filter_items > div {
  flex: 0 1 auto;
  min-width: 0;
  max-width: 100%;
}
body.site-id-1 #pk_flex_content .flex_layout.hero_content_jaarplanning .containermetkleurtje {
  position: relative;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 9999px;
  background: var(--ob-wit);
}
body.site-id-1 #pk_flex_content .flex_layout.hero_content_jaarplanning .containermetkleurtje a {
  color: var(--ob-donkerblauw);
  font-size: var(--ob-fs-body-m);
}
body.site-id-1 #pk_flex_content .flex_layout.hero_content_jaarplanning .containermetkleurtje a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
}
body.site-id-1 #pk_flex_content .flex_layout.hero_content_jaarplanning .containermetkleurtje a:focus-visible::after {
  outline: 2px solid var(--ob-wit);
  outline-offset: 3px;
}
body.site-id-1 #pk_flex_content .flex_layout.hero_content_jaarplanning .containermetkleurtje:hover {
  background: color-mix(in srgb, var(--ob-groen) 20%, var(--ob-wit));
}
body.site-id-1 #pk_flex_content .flex_layout.hero_content_jaarplanning .containermetkleurtje.active {
  background: color-mix(in srgb, var(--ob-groen) 55%, var(--ob-wit));
  box-shadow: inset 0 0 0 2px var(--ob-groen);
}
body.site-id-1 #pk_flex_content .flex_layout.hero_content_jaarplanning .containermetkleurtje.active a {
  font-weight: 700;
}
body.site-id-1 #pk_flex_content .flex_layout.hero_content_jaarplanning .containermetkleurtje .kleurtje {
  width: 14px;
  height: 14px;
  background-color: var(--pilcolor, var(--ob-donkerblauw)) !important;
  box-shadow: 0 0 0 2px var(--ob-wit);
}

/* 11.5 Content over afbeelding – paarse kaart met gekantelde foto */
body.site-id-1 #pk_flex_content .flex_layout.content_over_afbeelding {
  max-width: calc(var(--ob-grid) + 2 * var(--ob-gutter));
}
body.site-id-1 #pk_flex_content .flex_layout.content_over_afbeelding .flex_container,
body.site-id-1 #pk_flex_content .flex_layout.content_over_afbeelding .flex_container_inner {
  max-width: none;
  height: auto;
  min-height: 0;
  background: none;
}
body.site-id-1 #pk_flex_content .flex_layout.content_over_afbeelding .flex_container_inner {
  position: relative;
  padding: calc(var(--ob-section-py) + 40px) var(--ob-gutter) var(--ob-section-py);
}
body.site-id-1 #pk_flex_content .flex_layout.content_over_afbeelding .content_wrapper {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 40px;
  width: auto;
  max-width: none;
  min-height: 440px;
  margin: 0;
  padding: clamp(40px, 6vw, 100px) calc(40% + 40px) clamp(40px, 6vw, 100px) clamp(32px, 4.5vw, 67px);
  border-radius: var(--ob-radius);
  background: url("img/m-shape-wit.svg") calc(50% + 106px) calc(50% + 60px) / 1335px 726px no-repeat,
    var(--ob-paars);
  transform: none;
  --btn-bg: var(--ob-wit);
  --btn-fg: var(--ob-donkerblauw);
  --btn-circle: var(--ob-donkerblauw);
  --btn-arrow: var(--ob-wit);
}
body.site-id-1 #pk_flex_content .flex_layout.content_over_afbeelding .content_wrapper :is(.heading, .text_wrapper, .text_wrapper *) {
  color: var(--ob-wit);
}
body.site-id-1 #pk_flex_content .flex_layout.content_over_afbeelding .content_wrapper .heading_wrapper,
body.site-id-1 #pk_flex_content .flex_layout.content_over_afbeelding .content_wrapper .text_wrapper > :last-child {
  margin: 0;
}
body.site-id-1 #pk_flex_content .flex_layout.content_over_afbeelding .image_wrapper {
  position: absolute;
  top: calc(var(--ob-section-py) - 10px);
  right: calc(var(--ob-gutter) + 5%);
  z-index: 2;
  width: 36%;
  transform: none;
}
body.site-id-1 #pk_flex_content .flex_layout.content_over_afbeelding .image_wrapper > :is(img, video) {
  transform: rotate(3.12deg);
}
@media screen and (max-width: 767px) {
  body.site-id-1 #pk_flex_content .flex_layout.content_over_afbeelding .flex_container_inner {
    display: flex;
    flex-direction: column-reverse;
    padding-top: var(--ob-section-py);
  }
  body.site-id-1 #pk_flex_content .flex_layout.content_over_afbeelding .content_wrapper {
    min-height: 0;
    padding: 72px 28px 40px;
  }
  body.site-id-1 #pk_flex_content .flex_layout.content_over_afbeelding .image_wrapper {
    position: relative;
    top: auto;
    right: auto;
    width: 80%;
    max-width: 320px;
    margin: 0 auto -48px;
  }
}

/* Groep 7 & 8: afstanden rond de Make Your Mark-kaart. */
body.site-id-1.page-id-1797 #pk_flex_content > .flex_content:first-child > .content_over_afbeelding {
  margin-bottom: 0;
}
body.site-id-1.page-id-1797 #pk_flex_content > .flex_content:first-child > .content_over_afbeelding .flex_container_inner {
  padding-top: 24px;
  padding-bottom: 0;
}
body.site-id-1.page-id-1797 #pk_flex_content > .flex_content > .nieuws .flex_container_inner {
  padding-top: clamp(48px, 6vw, 96px);
}
@media screen and (min-width: 768px) {
  body.site-id-1.page-id-1797 #pk_flex_content > .flex_content:first-child > .content_over_afbeelding .flex_container_inner {
    padding-top: 80px;
  }
  body.site-id-1.page-id-1797 #pk_flex_content > .flex_content:first-child > .content_over_afbeelding .image_wrapper {
    top: 30px;
  }
}

/* 11.6 Content normaal / kolommen */
body.site-id-1 #pk_flex_content .flex_layout.content_normaal .content_wrapper .content_wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
body.site-id-1 #pk_flex_content .flex_layout.content_normaal .heading_wrapper,
body.site-id-1 #pk_flex_content .flex_layout.content_normaal .text_wrapper > :last-child {
  margin-bottom: 0;
}
body.site-id-1 #pk_flex_content .flex_layout.content_normaal .button_wrapper {
  margin-top: 8px;
}
/* reading pages: section titles one step smaller than the home sections */
body.site-id-1 #pk_flex_content .flex_layout.content_normaal :is(h1, h2).heading {
  font-size: var(--ob-fs-h3);
}
body.site-id-1 #pk_flex_content .text_wrapper iframe {
  max-width: 100%;
  border: 0;
  border-radius: var(--ob-radius);
}

body.site-id-1 #pk_flex_content .flex_layout.content_kolommen .flex_container_inner > .heading_wrapper {
  margin-bottom: 40px;
}
body.site-id-1 #pk_flex_content .flex_layout.content_kolommen .column_wrapper {
  padding: clamp(24px, 3vw, 40px);
  border-radius: var(--ob-radius);
  background: var(--ob-groen-o10);
}
body.site-id-1 #pk_flex_content .flex_layout.content_kolommen .column_wrapper .heading {
  font-size: var(--ob-fs-h4);
}
body.site-id-1 #pk_flex_content .flex_layout.content_kolommen .table {
  width: 100%;
  margin: 16px 0 0;
  border-collapse: collapse;
  color: var(--ob-donkerblauw);
}
body.site-id-1 #pk_flex_content .flex_layout.content_kolommen .table :is(td, th) {
  padding: 10px 8px;
  border: 0;
  border-bottom: 1px solid rgba(0, 74, 114, 0.15);
  background: none;
}
body.site-id-1 #pk_flex_content .flex_layout.content_kolommen .table tr:first-child :is(td, th) {
  border-bottom: 2px solid var(--ob-donkerblauw);
  color: var(--ob-donkerblauw);
  font-weight: 700;
}

/* 11.7 Protocol section – tekst + blauwe linkkaart */
body.site-id-1 #pk_flex_content .flex_layout.protocol_section {
  position: relative;
  z-index: 1;
  max-width: calc(var(--ob-grid) + 2 * var(--ob-gutter));
}
body.site-id-1 #pk_flex_content .flex_layout.protocol_section .flex_container {
  position: relative;
  isolation: isolate;
  background: none;
}
body.site-id-1 #pk_flex_content .flex_layout.protocol_section .flex_container:is(.dark_slant_left, .dark_slant_right)::before {
  content: "";
  position: absolute;
  inset: 0 calc(50% - 50vw);
  z-index: -1;
  background: url("img/m-shape-blauw.svg") calc(50% - 420px) calc(50% + 140px) / 1817px 988px no-repeat,
    var(--ob-donkerblauw);
}
body.site-id-1 #pk_flex_content .flex_layout.protocol_section .flex_container:is(.dark_slant_left, .dark_slant_right) {
  --btn-bg: var(--ob-wit);
  --btn-fg: var(--ob-donkerblauw);
  --btn-circle: var(--ob-donkerblauw);
  --btn-arrow: var(--ob-wit);
}
body.site-id-1 #pk_flex_content .flex_layout.protocol_section .flex_container:is(.dark_slant_left, .dark_slant_right) .protocol_left :is(.heading, .text_wrapper, .text_wrapper *) {
  color: var(--ob-wit);
}
body.site-id-1 #pk_flex_content .flex_layout.protocol_section .flex_container_inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 480px);
  gap: clamp(40px, 6vw, 96px);
  align-items: start;
  padding: var(--ob-section-py) var(--ob-gutter);
}
body.site-id-1 #pk_flex_content .flex_layout.protocol_section .protocol_left {
  width: auto;
}
body.site-id-1 #pk_flex_content .flex_layout.protocol_section .protocol_left .content_wrapper {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
}
body.site-id-1 #pk_flex_content .flex_layout.protocol_section .protocol_left .heading_wrapper,
body.site-id-1 #pk_flex_content .flex_layout.protocol_section .protocol_left .text_wrapper > :last-child {
  margin: 0;
}
body.site-id-1 #pk_flex_content .flex_layout.protocol_section .protocol_right {
  padding: clamp(28px, 3vw, 40px);
  border-radius: var(--ob-radius);
  background: url("img/m-shape-wit.svg") right -260px bottom -150px / 654px 356px no-repeat,
    var(--ob-middenblauw);
  color: var(--ob-wit);
}
body.site-id-1 #pk_flex_content .flex_layout.protocol_section .protocol_right:not(:has(li)) {
  display: none;
}
body.site-id-1 #pk_flex_content .flex_layout.protocol_section .protocol_right .heading_wrapper {
  margin: 0 0 20px;
}
body.site-id-1 #pk_flex_content .flex_layout.protocol_section .protocol_right .heading {
  color: var(--ob-wit);
  font-size: var(--ob-fs-h4);
}
body.site-id-1 #pk_flex_content .flex_layout.protocol_section .protocol_right ul {
  margin: 0;
  padding: 0;
}
body.site-id-1 #pk_flex_content .flex_layout.protocol_section .protocol_right ul li {
  padding: 8px 0 8px 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
}
body.site-id-1 #pk_flex_content .flex_layout.protocol_section .protocol_right ul li:last-child {
  border-bottom: 0;
}
body.site-id-1 #pk_flex_content .flex_layout.protocol_section .protocol_right ul li::before {
  top: 50%;
  width: 18px;
  height: 16px;
  background: var(--ob-wit);
  -webkit-mask: var(--ob-arrow) center / contain no-repeat;
  mask: var(--ob-arrow) center / contain no-repeat;
}
body.site-id-1 #pk_flex_content .flex_layout.protocol_section .protocol_right ul li,
body.site-id-1 #pk_flex_content .flex_layout.protocol_section .protocol_right ul li a {
  color: var(--ob-wit);
  font-weight: 700;
}
body.site-id-1 #pk_flex_content .flex_layout.protocol_section .protocol_right ul li a:hover {
  text-decoration: underline !important;
}
@media screen and (max-width: 767px) {
  body.site-id-1 #pk_flex_content .flex_layout.protocol_section .flex_container_inner {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* De eerste inhoudssectie direct onder de hero op de vier niveaupagina’s. */
body.site-id-1:is(.page-id-2190, .page-id-2201, .page-id-2205, .page-id-2213) #pk_flex_content
  > .flex_content:has(> .hero_content_afbeelding + .protocol_section)::after,
body.site-id-1:is(.page-id-2190, .page-id-2201, .page-id-2205, .page-id-2213) #pk_flex_content
  .hero_content_afbeelding + .protocol_section :is(.dark_slant_left, .dark_slant_right)::after {
  content: none;
}
body.site-id-1:is(.page-id-2190, .page-id-2201, .page-id-2205, .page-id-2213) #pk_flex_content
  .hero_content_afbeelding + .protocol_section :is(.dark_slant_left, .dark_slant_right) {
  margin-bottom: 0;
  --btn-bg: var(--ob-donkerblauw);
  --btn-fg: var(--ob-wit);
  --btn-circle: var(--ob-wit);
  --btn-arrow: var(--ob-donkerblauw);
}
body.site-id-1:is(.page-id-2190, .page-id-2201, .page-id-2205, .page-id-2213) #pk_flex_content
  .hero_content_afbeelding + .protocol_section :is(.dark_slant_left, .dark_slant_right)::before {
  background: color-mix(in srgb, var(--ob-groen) 10%, var(--ob-wit));
}
body.site-id-1:is(.page-id-2190, .page-id-2201, .page-id-2205, .page-id-2213) #pk_flex_content
  .hero_content_afbeelding + .protocol_section :is(.dark_slant_left, .dark_slant_right) .protocol_left :is(.heading, .text_wrapper, .text_wrapper *) {
  color: var(--ob-donkerblauw);
}
body.site-id-1:is(.page-id-2190, .page-id-2201, .page-id-2205, .page-id-2213) #pk_flex_content
  .hero_content_afbeelding + .protocol_section .protocol_right {
  background-color: var(--ob-donkergroen);
}

/* 11.8 FAQ – afgeronde vragen met ronde plus */
body.site-id-1 #pk_flex_content .flex_layout.faq .pk-row {
  padding-inline: 0;
}
body.site-id-1 #pk_flex_content .flex_layout.faq .pk-row-content {
  max-width: calc(var(--ob-grid) + 2 * var(--ob-gutter));
  margin-inline: auto;
  padding: var(--ob-section-py) var(--ob-gutter) 0;
}
body.site-id-1 #pk_flex_content .flex_layout.faq + .flex_layout.faq .pk-row-content {
  padding-top: 48px;
}
body.site-id-1 #pk_flex_content .flex_layout.faq:last-child .pk-row-content {
  padding-bottom: var(--ob-section-py);
}
body.site-id-1 #pk_flex_content .flex_layout.faq .heading {
  margin-bottom: 32px;
  color: var(--ob-donkerblauw);
  font-size: var(--ob-fs-h3);
}
body.site-id-1 #pk_flex_content .flex_layout.faq :is(h3, h4, h5, h6):not(.heading),
body.site-id-1 #pk_flex_content .flex_layout.faq .faq-inner :is(h2, h3, h4, h5, h6) {
  color: var(--ob-donkerblauw);
}
body.site-id-1 #pk_flex_content .flex_layout.faq .faq-items {
  gap: 12px;
}
body.site-id-1 #pk_flex_content .flex_layout.faq .faq-item {
  border: 0;
  border-radius: var(--ob-radius);
  background: var(--ob-groen-o10);
  transition: background-color 0.3s ease;
}
body.site-id-1 #pk_flex_content .flex_layout.faq .faq-item.active {
  background: var(--ob-wit);
  box-shadow: inset 0 0 0 2px var(--ob-groen-o10), 0 10px 30px rgba(0, 74, 114, 0.08);
}
body.site-id-1 #pk_flex_content .flex_layout.faq .faq-item .faq-title {
  padding: 20px 20px 20px 32px;
  color: var(--ob-donkerblauw) !important;
  font-size: var(--ob-fs-body-l);
  line-height: 1.4;
  font-weight: 700;
}
body.site-id-1 #pk_flex_content .flex_layout.faq .faq-item .faq-title :is(.open-icon, .close-icon) {
  width: 44px;
  padding: 0;
  box-sizing: border-box;
  background: var(--ob-donkerblauw);
  color: var(--ob-wit);
}
body.site-id-1 #pk_flex_content .flex_layout.faq .faq-item .faq-title :is(.open-icon, .close-icon) :is(path, line, rect) {
  stroke: var(--ob-wit);
}
body.site-id-1 #pk_flex_content .flex_layout.faq .faq-item .faq-content {
  padding-inline: 32px 32px;
  color: var(--ob-donkerblauw);
}
body.site-id-1 #pk_flex_content .flex_layout.faq .faq-item.active .faq-content {
  padding-block: 0 24px;
}

/* 11.9 Downloads – pill-lijst */
body.site-id-1 #pk_flex_content .flex_layout.downloads .flex_container {
  padding-block: 0;
}
body.site-id-1 #pk_flex_content .flex_layout.downloads .flex_container_inner {
  padding-block: clamp(48px, 6vw, 96px);
}
body.site-id-1 #pk_flex_content .flex_layout.downloads .downloads_list {
  gap: 12px;
}
body.site-id-1 #pk_flex_content .flex_layout.downloads .download_item {
  border-radius: 9999px;
  background: var(--ob-groen-o10);
  transition: background-color 0.3s ease;
}
body.site-id-1 #pk_flex_content .flex_layout.downloads .download_item:hover {
  background: var(--ob-donkerblauw);
}
body.site-id-1 #pk_flex_content .flex_layout.downloads .download_link {
  padding: 8px 8px 8px 0;
  color: var(--ob-donkerblauw);
  transition-delay: 0s;
}
body.site-id-1 #pk_flex_content .flex_layout.downloads .download_item:hover .download_link {
  color: var(--ob-wit);
}
body.site-id-1 #pk_flex_content .flex_layout.downloads .download_text {
  padding: 8px 32px;
  font-size: var(--ob-fs-body-l);
}
body.site-id-1 #pk_flex_content .flex_layout.downloads .download_link .download_icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ob-donkerblauw);
}
body.site-id-1 #pk_flex_content .flex_layout.downloads .download_item:hover .download_icon {
  background: var(--ob-wit);
}
body.site-id-1 #pk_flex_content .flex_layout.downloads .download_link .download_icon::before {
  content: none;
}
body.site-id-1 #pk_flex_content .flex_layout.downloads .download_icon svg {
  width: 20px;
  height: auto;
  fill: var(--ob-wit);
}
body.site-id-1 #pk_flex_content .flex_layout.downloads .download_item:hover .download_icon svg line {
  stroke: var(--ob-donkerblauw);
}

/* 11.10 Contactformulier (Gravity Forms) */
body.site-id-1 #pk_flex_content .flex_layout.contact_form .contact_form_intro .content_wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 40px;
}
/* Gravity Forms (orbital theme) reads its control styling from these variables */
body.site-id-1 #pk_flex_content .flex_layout.contact_form .gform_wrapper {
  --gf-ctrl-radius: 9999px;
  --gf-ctrl-border-color: transparent;
  --gf-ctrl-bg-color: var(--ob-wit);
  --gf-ctrl-color: var(--ob-donkerblauw);
  --gf-ctrl-padding-x: 24px;
  --gf-ctrl-size: 52px;
  --gf-ctrl-border-color-focus: var(--ob-groen);
  --gf-ctrl-label-color-primary: var(--ob-donkerblauw);
}
body.site-id-1 #pk_flex_content .flex_layout.contact_form :is(.gform_validation_container, .gfield--type-honeypot) {
  display: none !important;
}
body.site-id-1 #pk_flex_content .flex_layout.contact_form .gform_wrapper :is(label, legend, .gfield_label) {
  color: var(--ob-donkerblauw);
  font-size: var(--ob-fs-body-m);
  font-weight: 700;
}
body.site-id-1 #pk_flex_content .flex_layout.contact_form .gform_wrapper :is(input[type="text"], input[type="email"], input[type="tel"], input[type="number"], input[type="url"], select, textarea) {
  box-sizing: border-box;
  min-height: 52px;
  padding: 12px 24px !important;
  border: 2px solid transparent !important;
  border-radius: 9999px !important;
  background: var(--ob-wit) !important;
  box-shadow: none !important;
  color: var(--ob-donkerblauw);
  font-size: var(--ob-fs-body-m);
}
body.site-id-1 #pk_flex_content .flex_layout.contact_form .gform_wrapper .gfield textarea {
  border-radius: var(--ob-radius) !important;
}
body.site-id-1 #pk_flex_content .flex_layout.contact_form .gform_wrapper :is(input, select, textarea):focus {
  border-color: var(--ob-groen);
  outline: none;
}
body.site-id-1 #pk_flex_content .flex_layout.contact_form .gform_wrapper .gform_button {
  min-height: 64px;
  padding: 10px 40px !important;
  border: 0 !important;
  border-radius: 9999px !important;
  background-color: var(--ob-donkerblauw) !important;
  color: var(--ob-wit) !important;
  font-size: var(--ob-fs-body-l) !important;
  font-weight: 700 !important;
  cursor: pointer;
}
body.site-id-1 #pk_flex_content .flex_layout.contact_form .gform_wrapper .gform_button:hover {
  background-color: var(--ob-middenblauw) !important;
}

/* 11.11 Teamleden */
body.site-id-1 #pk_flex_content .flex_layout.team_leden .team_intro .content_wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 48px;
}
body.site-id-1 #pk_flex_content .flex_layout.team_leden .team_member {
  background: none;
}
body.site-id-1 #pk_flex_content .flex_layout.team_leden .team_member_image :is(img, video) {
  display: block;
  box-sizing: border-box;
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border: 8px solid var(--ob-wit);
  border-radius: var(--ob-radius);
  box-shadow: 15px -5px 4px rgba(0, 0, 0, 0.05);
}
body.site-id-1 #pk_flex_content .flex_layout.team_leden .team_member:nth-child(odd) .team_member_image :is(img, video) {
  transform: rotate(-2deg);
}
body.site-id-1 #pk_flex_content .flex_layout.team_leden .team_member:nth-child(even) .team_member_image :is(img, video) {
  transform: rotate(2deg);
}
body.site-id-1 #pk_flex_content .flex_layout.team_leden .team_member_info {
  padding: 20px 0 0;
  background: none;
}
body.site-id-1 #pk_flex_content .flex_layout.team_leden .team_member_title {
  margin: 0 0 4px;
  color: var(--ob-donkerblauw);
  font-size: var(--ob-fs-body-l);
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
}
body.site-id-1 #pk_flex_content .flex_layout.team_leden .team_member_name {
  margin: 0;
  color: var(--ob-donkerblauw);
  font-size: var(--ob-fs-body-m);
}

body.site-id-1 #pk_flex_content .flex_layout.testimonial_slider .testimonial_image > .flex_image_video {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: inherit;
}

/* 11.12 Afbeelding content op lichte achtergrond: zachte schaduw i.p.v. onzichtbare witte rand */
body.site-id-1 #pk_flex_content .flex_layout.afbeelding_content .flex_container:not(.is-dark) .afbeelding_content_wrapper > .image_wrapper > :is(img, video) {
  box-shadow: 15px -5px 4px rgba(0, 0, 0, 0.05);
}

/* 11.13 Jaarplanning (tijdlijn) */
body.site-id-1 #pk_flex_content .flex_layout.jaarplanning .month-heading,
body.site-id-1 #pk_flex_content .flex_layout.jaarplanning .month-heading * {
  color: var(--ob-donkerblauw);
  text-transform: uppercase;
}
body.site-id-1 #pk_flex_content .flex_layout.jaarplanning .agenda_wrapper::before,
body.site-id-1 #pk_flex_content .flex_layout.jaarplanning .containermetkleurtje::before {
  background-color: rgba(0, 74, 114, 0.26);
}
body.site-id-1 #pk_flex_content .flex_layout.jaarplanning .post-container {
  justify-content: center;
  aspect-ratio: auto;
  border-radius: var(--ob-radius) 0 0 var(--ob-radius);
  background: var(--ob-donkerblauw);
}
body.site-id-1 #pk_flex_content .flex_layout.jaarplanning .datum {
  gap: 2px;
  width: clamp(112px, 12vw, 150px);
  min-height: 132px;
  aspect-ratio: auto;
  padding: 16px 12px;
  color: var(--ob-wit);
  text-align: center;
  font-size: var(--ob-fs-body-m);
  line-height: 1.35;
}
body.site-id-1 #pk_flex_content .flex_layout.jaarplanning .dag {
  font-size: clamp(40px, 4vw, 60px);
}
body.site-id-1 #pk_flex_content .flex_layout.jaarplanning .jaar {
  color: var(--ob-wit);
  font-size: var(--ob-fs-small);
  font-weight: 400;
}
body.site-id-1 #pk_flex_content .flex_layout.jaarplanning .post-content {
  min-width: 0;
  padding: clamp(20px, 3vw, 36px);
  border-radius: 0 var(--ob-radius) var(--ob-radius) 0;
  background: var(--ob-groen-o10);
}
body.site-id-1 #pk_flex_content .flex_layout.jaarplanning :is(h2, h3, h4):not(.month-heading) {
  color: var(--ob-donkerblauw);
}
@media screen and (max-width: 767px) {
  body.site-id-1 #pk_flex_content .flex_layout.jaarplanning .post-container {
    justify-content: flex-start;
    border-radius: var(--ob-radius) var(--ob-radius) 0 0;
  }
  body.site-id-1 #pk_flex_content .flex_layout.jaarplanning .datum {
    display: flex;
    flex-flow: row wrap;
    justify-content: flex-start;
    gap: 6px;
    width: auto;
    min-height: 0;
    padding: 12px 20px;
    text-align: left;
  }
  body.site-id-1 #pk_flex_content .flex_layout.jaarplanning .dag {
    font-size: 24px;
  }
  body.site-id-1 #pk_flex_content .flex_layout.jaarplanning .post-content {
    border-radius: 0 0 var(--ob-radius) var(--ob-radius);
  }
}

/* 11.14 Nieuwsarchief: titel tonen (zoals op de home) */
body.site-id-1.post-type-archive-nieuws #pk_flex_content .flex_layout.nieuws .flex_container_inner > .heading_wrapper {
  display: block;
}

/* 11.15 Nieuwsarchief: ronde pijl ook op het eerste bericht */
body.site-id-1 #pk_flex_content .flex_layout.nieuws .nieuws_grid .content_wrapper > svg {
  width: 48px !important;
  height: 48px;
}

/* 11.16 Zoekresultaten – zoek-pill over de hero-band + resultaatkaarten */
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten {
  z-index: 2;
  max-width: calc(var(--ob-grid) + 2 * var(--ob-gutter));
  margin-top: -40px;
}
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .flex_container_inner {
  padding: 0 var(--ob-gutter) var(--ob-section-py);
}
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .content_wrapper > form {
  max-width: 730px;
}
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .content_wrapper > form input.is-search-input {
  box-sizing: border-box;
  width: 100%;
  height: 80px;
  padding: 0 96px 0 40px;
  border: 0;
  border-radius: 9999px;
  background: var(--ob-wit);
  box-shadow: 0 10px 30px rgba(0, 74, 114, 0.15);
  color: var(--ob-donkerblauw);
  font-size: var(--ob-fs-body-l) !important;
  font-weight: 700;
}
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .content_wrapper > form input.is-search-input::placeholder {
  color: var(--ob-donkerblauw);
  opacity: 0.6;
}
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .content_wrapper > form input.is-search-input:focus {
  outline: 3px solid var(--ob-groen);
  outline-offset: 0;
}
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .content_wrapper > form > button {
  right: 12px;
  width: 56px;
  height: 56px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: var(--ob-donkerblauw);
}
/* Ivory Search forces the icon span to inline-block, so centre it with flex
   on both the button and the span */
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .content_wrapper > form > button,
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .content_wrapper > form .is-search-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
}
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .content_wrapper > form .is-search-icon {
  width: 100%;
  height: 100%;
  background: none;
  line-height: 0;
}
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .content_wrapper > form .is-search-icon svg {
  position: static;
  width: 24px;
  height: 24px;
  margin: 0;
  transform: none;
}
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .content_wrapper > form .is-search-icon path {
  fill: var(--ob-wit);
}
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .search_results > p {
  margin: 24px 0 0;
  color: var(--ob-donkerblauw);
  font-size: var(--ob-fs-small);
  text-align: center;
}
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .search_results .search_results_inner {
  gap: 12px;
  margin: 56px 0 0;
}
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .search_results .search_results_inner > .result_item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 28px 28px 40px;
  border-radius: var(--ob-radius);
  background: var(--ob-groen-o10);
  transition: background-color 0.3s ease;
}
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .search_results .search_results_inner > .result_item:hover {
  background: var(--ob-donkerblauw);
}
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .search_results .result_content {
  flex: 1;
  min-width: 0;
  padding: 0;
}
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .search_results .result_content h3 {
  margin: 0 0 6px;
  font-size: var(--ob-fs-h4);
  line-height: 1.1;
  font-weight: 700;
  text-transform: uppercase;
}
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .search_results .result_content h3 a,
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .search_results .result_content > a.result_link,
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .search_results .result_content p {
  color: var(--ob-donkerblauw);
  transition: color 0.3s ease;
}
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .search_results .result_content > a.result_link {
  display: block;
  margin: 0;
  overflow: hidden;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
  opacity: 0.7;
}
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .search_results .result_content p:empty {
  display: none;
}
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .search_results .result_content p {
  margin: 8px 0 0;
}
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .search_results .result_item:hover :is(h3 a, a.result_link, p) {
  color: var(--ob-wit);
}
/* the whole card is clickable via the title link */
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .search_results .result_content h3 a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--ob-radius);
}
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .search_results .result_item .result_arrow {
  position: static;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ob-donkerblauw);
  transition: background-color 0.3s ease, transform 0.3s ease;
}
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .search_results .result_item .result_arrow::before,
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .search_results .result_item .result_arrow::after {
  content: none;
}
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .search_results .result_item .result_arrow svg {
  width: 22px;
  height: auto;
}
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .search_results .result_item .result_arrow svg line {
  stroke: var(--ob-wit);
  stroke-width: 4;
}
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .search_results .result_item:hover .result_arrow {
  background: var(--ob-wit);
}
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .search_results .result_item .result_arrow svg {
  transition: transform 0.3s ease;
}
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .search_results .result_item:hover .result_arrow svg {
  transform: translateX(4px);
}
body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .search_results .result_item:hover .result_arrow svg line {
  stroke: var(--ob-donkerblauw);
}
@media screen and (max-width: 767px) {
  body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten {
    margin-top: -30px;
  }
  body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .content_wrapper > form input.is-search-input {
    height: 60px;
    padding: 0 72px 0 24px;
  }
  body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .content_wrapper > form > button {
    right: 8px;
    width: 44px;
    height: 44px;
  }
  body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .search_results .search_results_inner {
    margin-top: 32px;
  }
  body.site-id-1 #pk_flex_content .flex_layout.zoekresultaten .search_results .search_results_inner > .result_item {
    padding: 20px 16px 20px 24px;
  }
}

/* ==========================================================================
   12. Activiteiten (Mark-it) – layouts/activiteiten
   ========================================================================== */
body.site-id-1 #pk_flex_content .flex_layout.activiteiten {
  max-width: calc(var(--ob-grid) + 2 * var(--ob-gutter));
}
body.site-id-1 #pk_flex_content .flex_layout.activiteiten .flex_container_inner {
  padding: var(--ob-section-py) var(--ob-gutter);
}
body.site-id-1 #pk_flex_content .flex_layout.activiteiten .activiteiten_intro {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 766px;
  margin-bottom: 48px;
}
body.site-id-1 #pk_flex_content .flex_layout.activiteiten .activiteiten_intro .heading_wrapper,
body.site-id-1 #pk_flex_content .flex_layout.activiteiten .activiteiten_intro .text_wrapper > :last-child {
  margin: 0;
}
body.site-id-1 #pk_flex_content .flex_layout.activiteiten .activiteiten_list {
  display: grid;
  gap: 24px;
}
body.site-id-1 #pk_flex_content .flex_layout.activiteiten .activiteit {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  overflow: hidden;
  border-radius: var(--ob-radius);
  background: var(--ob-groen-o10);
}
body.site-id-1 #pk_flex_content .flex_layout.activiteiten .activiteit_foto :is(img, video) {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}
body.site-id-1 #pk_flex_content .flex_layout.activiteiten .activiteit_content {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: clamp(28px, 3.5vw, 48px);
  color: var(--ob-donkerblauw);
}
body.site-id-1 #pk_flex_content .flex_layout.activiteiten .activiteit_naam {
  margin: 0;
  color: var(--ob-donkerblauw);
  font-size: var(--ob-fs-h4);
}
body.site-id-1 #pk_flex_content .flex_layout.activiteiten .activiteit_tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
body.site-id-1 #pk_flex_content .flex_layout.activiteiten .activiteit_tags li {
  margin: 0;
  padding: 6px 16px;
  border-radius: 9999px;
  background: var(--ob-donkerblauw);
  color: var(--ob-wit);
  font-size: var(--ob-fs-small);
  line-height: 1.4;
  font-weight: 700;
  list-style: none;
}
body.site-id-1 #pk_flex_content .flex_layout.activiteiten .activiteit_tags li + li {
  background: var(--ob-groen);
  color: var(--ob-donkerblauw);
}
body.site-id-1 #pk_flex_content .flex_layout.activiteiten .activiteit_omschrijving > :last-child {
  margin-bottom: 0;
}
body.site-id-1 #pk_flex_content .flex_layout.activiteiten .activiteit_details {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 32px;
  width: 100%;
  margin: 4px 0 0;
  padding-top: 20px;
  border-top: 1px solid rgba(0, 74, 114, 0.15);
}
body.site-id-1 #pk_flex_content .flex_layout.activiteiten .activiteit_detail--leerdoelen {
  grid-column: 1 / -1;
}
body.site-id-1 #pk_flex_content .flex_layout.activiteiten .activiteit_details dt {
  margin: 0 0 4px;
  color: var(--ob-donkergroen);
  font-size: var(--ob-fs-small);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}
body.site-id-1 #pk_flex_content .flex_layout.activiteiten .activiteit_details dd {
  margin: 0;
  color: var(--ob-donkerblauw);
  font-size: var(--ob-fs-body-m);
  line-height: 1.5;
}
body.site-id-1 #pk_flex_content .flex_layout.activiteiten .activiteit_details dd > :last-child {
  margin-bottom: 0;
}
body.site-id-1 #pk_flex_content .flex_layout.activiteiten .activiteit_details dd a {
  color: var(--ob-donkerblauw);
  text-decoration: underline !important;
  text-underline-offset: 3px;
}
body.site-id-1 #pk_flex_content .flex_layout.activiteiten .screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
@media screen and (min-width: 768px) {
  body.site-id-1 #pk_flex_content .flex_layout.activiteiten .activiteit.has-foto {
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  }
  body.site-id-1 #pk_flex_content .flex_layout.activiteiten .activiteit:not(.has-foto) .activiteit_content {
    padding-inline: clamp(28px, 4.5vw, 67px);
  }
}
@media screen and (max-width: 540px) {
  body.site-id-1 #pk_flex_content .flex_layout.activiteiten .activiteit_details {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* Tabellen in rich text (bijv. blokindeling) */
body.site-id-1 #pk_flex_content .text_wrapper table {
  width: 100%;
  margin: 24px 0;
  overflow: hidden;
  border: 0;
  border-collapse: separate;
  border-spacing: 0;
  border-radius: var(--ob-radius);
  color: var(--ob-donkerblauw);
}
body.site-id-1 #pk_flex_content .text_wrapper table :is(th, td) {
  padding: 14px 20px;
  border: 0;
  text-align: left;
  vertical-align: top;
}
body.site-id-1 #pk_flex_content .text_wrapper table:not(:has(thead)) tr:first-child :is(th, td),
body.site-id-1 #pk_flex_content .text_wrapper table thead :is(th, td) {
  background: var(--ob-donkerblauw);
  color: var(--ob-wit);
  font-weight: 700;
}
body.site-id-1 #pk_flex_content .text_wrapper table tbody tr:nth-child(even) td {
  background: var(--ob-groen-o10);
}

/* FAQ-intro (pk-text) */
body.site-id-1 #pk_flex_content .flex_layout.faq .pk-text {
  margin-bottom: 32px;
  color: var(--ob-donkerblauw);
}
body.site-id-1 #pk_flex_content .flex_layout.faq .pk-text > :last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   13. Leespagina's: één gecentreerde kolom + rustig ritme
   ========================================================================== */
/* FAQ: same 960px column as content_normaal (smaller grid) */
body.site-id-1 #pk_flex_content .flex_layout.faq {
  margin-block: 0;
  padding-inline: 0;
}
body.site-id-1 #pk_flex_content .flex_layout.faq .pk-row {
  max-width: none;
}
body.site-id-1 #pk_flex_content .flex_layout.faq .pk-row-content {
  display: block;
  max-width: calc(960px + 2 * var(--ob-gutter));
}
body.site-id-1 #pk_flex_content .flex_layout.faq .pk-row-content > div {
  width: auto;
  max-width: none;
  margin: 0;
}
body.site-id-1 #pk_flex_content .flex_layout.faq .pk-top-col {
  margin-bottom: 0;
}

/* Activiteiten: intro + cards in the same column */
body.site-id-1 #pk_flex_content .flex_layout.activiteiten .flex_container_inner > * {
  max-width: 960px;
  margin-inline: auto;
}
body.site-id-1 #pk_flex_content .flex_layout.activiteiten .activiteiten_intro {
  margin-bottom: 40px;
}
body.site-id-1 #pk_flex_content .flex_layout.activiteiten :is(h1, h2).heading {
  font-size: var(--ob-fs-h3);
}

/* Two plain white sections in a row: don't stack 2x section padding */
body.site-id-1 #pk_flex_content > .flex_content:not([style]):has(> .flex_layout:last-child:is(.content_normaal, .activiteiten, .faq, .downloads, .content_kolommen)) + .flex_content:not([style]) > .flex_layout:first-child:is(.content_normaal, .activiteiten, .downloads, .content_kolommen) .flex_container_inner,
body.site-id-1 #pk_flex_content > .flex_content:not([style]):has(> .flex_layout:last-child:is(.content_normaal, .activiteiten, .faq, .downloads, .content_kolommen)) + .flex_content:not([style]) > .flex_layout:first-child.faq .pk-row-content {
  padding-top: 0;
}
/* content_normaal: section rhythm; consecutive text blocks in one row stay compact */
body.site-id-1 #pk_flex_content .flex_layout.content_normaal .flex_container_inner {
  padding: var(--ob-section-py) var(--ob-gutter);
}
body.site-id-1 #pk_flex_content .flex_layout.content_normaal:has(+ .flex_layout.content_normaal) .flex_container_inner {
  padding-bottom: 24px;
}
body.site-id-1 #pk_flex_content .flex_layout.content_normaal + .flex_layout.content_normaal .flex_container_inner {
  padding-top: 24px;
}

/* Arrow icons may move outside their own box on hover – never clip them */
body.site-id-1 #pk_flex_content :is(.button_icon, .download_icon, .result_arrow, .button_arrow_wrapper) svg,
body.site-id-1 #pk_flex_content .nieuws_grid .content_wrapper > svg {
  overflow: visible;
}
body.site-id-1 #pk_flex_content :is(.button_icon, .download_icon, .result_arrow, .button_arrow_wrapper) {
  overflow: visible;
}

/* ==========================================================================
   14. Header responsive
   ≥1200      : logo | menu … zoek-pill (sectie 9)
   993–1199   : compact menu, zoeken als rond icoon dat openklapt (CSS only)
   ≤992       : hamburger (BB-instelling hoofdmenu: medium-mobile) + uitklappaneel
   ========================================================================== */
@media screen and (min-width: 993px) and (max-width: 1199px) {
  body.site-id-1 header #header_normal .fl-col-group {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: 24px;
  }
  body.site-id-1 header #header_normal .fl-col-group::before,
  body.site-id-1 header #header_normal .fl-col-group::after {
    content: none;
  }
  body.site-id-1 header #header_normal .fl-col-group > .fl-col:first-child {
    flex: none;
    width: auto;
  }
  body.site-id-1 header #header_normal .fl-col-group > .fl-col:last-child {
    flex: 1;
    width: auto;
    max-width: none;
  }
  body.site-id-1 header #header_normal .fl-module-photo .fl-photo-img {
    width: 150px;
  }
  body.site-id-1 header #header_normal .fl-menu .menu {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
  }
  body.site-id-1 header #header_normal .fl-menu .menu > li {
    float: none;
    white-space: nowrap;
  }
  body.site-id-1 header #header_normal .fl-menu .menu > li > a,
  body.site-id-1 header #header_normal .fl-menu .menu > li > .fl-has-submenu-container > a {
    padding: 10px clamp(6px, 0.8vw, 12px);
    font-size: clamp(14px, 1.35vw, 16px);
  }

  /* search: 40px circle, expands over the menu while focused */
  body.site-id-1 header #header_normal .fl-menu .menu > li.astm-search-menu {
    position: relative;
    flex: none;
    width: 40px;
    height: 40px;
    margin-left: auto;
  }
  body.site-id-1 header #header_normal .astm-search-menu .is-search-form {
    position: absolute;
    top: 50%;
    right: 0;
    z-index: 5;
    width: 40px;
    transform: translateY(-50%);
    transition: width 0.3s ease;
  }
  body.site-id-1 header #header_normal .astm-search-menu .is-search-input {
    padding: 0;
    color: transparent;
    cursor: pointer;
  }
  body.site-id-1 header #header_normal .astm-search-menu .is-search-input::placeholder {
    color: transparent;
  }
  body.site-id-1 header #header_normal .astm-search-menu .is-search-submit {
    right: 7px;
    pointer-events: none; /* first click focuses the field instead of submitting */
  }
  body.site-id-1 header #header_normal .astm-search-menu .is-search-form:focus-within {
    width: 280px;
  }
  body.site-id-1 header #header_normal .astm-search-menu .is-search-form:focus-within .is-search-input {
    padding: 0 40px 0 20px;
    color: var(--ob-donkergroen);
    cursor: text;
    box-shadow: 0 10px 30px rgba(0, 74, 114, 0.15) !important;
  }
  body.site-id-1 header #header_normal .astm-search-menu .is-search-form:focus-within .is-search-input::placeholder {
    color: var(--ob-donkergroen);
  }
  body.site-id-1 header #header_normal .astm-search-menu .is-search-form:focus-within .is-search-submit {
    pointer-events: auto;
  }
}

@media screen and (max-width: 992px) {
  /* logo left, hamburger right, panel full width under the header */
  body.site-id-1 header #header_normal > .fl-row-content-wrap {
    position: relative;
    padding-block: 12px;
  }
  body.site-id-1 header #header_normal .fl-col-group {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
  }
  body.site-id-1 header #header_normal .fl-col-group::before,
  body.site-id-1 header #header_normal .fl-col-group::after {
    content: none;
  }
  body.site-id-1 header #header_normal .fl-col-group > .fl-col {
    position: static;
    flex: none;
    width: auto !important;
    max-width: none;
  }
  body.site-id-1 header #header_normal .fl-col-group > .fl-col > .fl-col-content,
  body.site-id-1 header #header_normal .fl-module-menu,
  body.site-id-1 header #header_normal .fl-module-menu > .fl-module-content,
  body.site-id-1 header #header_normal .fl-menu {
    position: static;
    margin: 0;
    padding: 0;
  }
  body.site-id-1 header #header_normal .fl-module-photo .fl-photo-img {
    width: 140px;
  }

  /* hamburger */
  body.site-id-1 header #header_normal .fl-menu-mobile-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: var(--ob-groen-o10);
  }
  body.site-id-1 header #header_normal .fl-menu-mobile-toggle .svg-container > span {
    background-color: var(--ob-donkergroen);
  }
  body.site-id-1 header #header_normal .fl-menu-mobile-toggle.fl-active {
    background: var(--ob-donkergroen);
  }
  body.site-id-1 header #header_normal .fl-menu-mobile-toggle.fl-active .svg-container > span {
    background-color: var(--ob-wit);
  }

  /* panel */
  body.site-id-1 header #header_normal .fl-menu ul.menu {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 50;
    max-height: calc(100vh - 160px);
    margin: 0;
    padding: 8px var(--ob-gutter) 24px;
    overflow-y: auto;
    background: var(--ob-wit);
    box-shadow: 0 20px 30px rgba(0, 74, 114, 0.12);
  }
  body.site-id-1 header #header_normal .fl-menu ul.menu > li {
    display: block;
    float: none;
    margin: 0;
    border-bottom: 1px solid rgba(2, 109, 55, 0.12);
  }
  body.site-id-1 header #header_normal .fl-menu ul.menu > li.astm-search-menu {
    border-bottom: 0;
  }
  body.site-id-1 header #header_normal .fl-menu ul.menu > li > a,
  body.site-id-1 header #header_normal .fl-menu ul.menu > li > .fl-has-submenu-container > a {
    display: flex;
    padding: 14px 0;
    color: var(--ob-donkergroen);
    font-size: 18px;
    line-height: 1.4;
  }
  body.site-id-1 header #header_normal .fl-menu ul.menu > li > .fl-has-submenu-container {
    position: relative;
  }
  /* sub-menu inside the panel */
  body.site-id-1 header #header_normal .fl-menu ul.menu .sub-menu {
    position: static;
    width: auto;
    min-width: 0;
    max-width: none;
    margin: 0 0 14px;
    padding: 6px 0;
    border-radius: 12px;
    background: var(--ob-groen-o10);
    box-shadow: none;
    visibility: visible;
    opacity: 1;
  }
  body.site-id-1 header #header_normal .fl-menu ul.menu .sub-menu > li > a {
    padding: 10px 56px 10px 20px;
    color: var(--ob-donkergroen);
    font-size: 16px;
    white-space: normal;
  }
  body.site-id-1 header #header_normal .menu > li.arrow > .sub-menu a::after,
  body.site-id-1 header #header_normal .menu > li.arrow > .sub-menu li:hover a::after {
    display: block;
    right: 20px;
    background: var(--ob-donkergroen);
  }
  /* "Direct naar" arrow points down when opened */
  body.site-id-1 header #header_normal .menu > li.arrow.fl-active > .fl-has-submenu-container > a::after {
    transform: rotate(90deg);
  }
  /* search full width at the bottom of the panel */
  body.site-id-1 header #header_normal .astm-search-menu {
    margin: 16px 0 0;
  }
  body.site-id-1 header #header_normal .astm-search-menu .is-search-form {
    width: 100%;
  }
  body.site-id-1 header #header_normal .astm-search-menu .is-search-input {
    height: 48px;
    font-size: 16px;
  }
}

/* BB header custom CSS hides the search ≤1040px and fixes the form width – undo */
body.site-id-1 header #header_normal .fl-menu .menu > li.astm-search-menu {
  display: block;
}
body.site-id-1 header #header_normal .astm-search-menu form {
  min-width: 0;
  max-width: none;
}
@media screen and (min-width: 1200px) {
  body.site-id-1 header #header_normal .astm-search-menu form {
    width: clamp(200px, 18vw, 270px);
  }
}
@media screen and (max-width: 992px) {
  /* panel: left aligned, donkergroen, search full width */
  body.site-id-1 header #header_normal .fl-menu,
  body.site-id-1 header #header_normal .fl-menu ul.menu,
  body.site-id-1 header #header_normal .fl-menu ul.menu li {
    text-align: left;
  }
  body.site-id-1 header #header_normal .fl-menu-mobile-toggle {
    margin-left: auto;
  }
  body.site-id-1 header #header_normal .menu > li.arrow > .sub-menu a,
  body.site-id-1 header #header_normal .fl-menu ul.menu .sub-menu > li > a {
    color: var(--ob-donkergroen) !important;
    font-size: 16px;
  }
  body.site-id-1 header #header_normal .fl-menu ul.menu > li.astm-search-menu {
    width: 100%;
    padding: 0;
  }
  body.site-id-1 header #header_normal .astm-search-menu form,
  body.site-id-1 header #header_normal .astm-search-menu .is-search-input {
    width: 100%;
  }
}

/* fluid header spacing so logo + menu + search always fit */
@media screen and (min-width: 1200px) {
  body.site-id-1 header #header_normal .fl-col-group {
    gap: clamp(20px, 2.5vw, 53px);
  }
  body.site-id-1 header #header_normal .fl-menu .menu > li > a,
  body.site-id-1 header #header_normal .fl-menu .menu > li > .fl-has-submenu-container > a {
    padding-inline: clamp(6px, 0.7vw, 12px);
    font-size: clamp(15px, 1.15vw, 16px);
  }
  body.site-id-1 header #header_normal .astm-search-menu form {
    width: clamp(170px, 14vw, 270px);
  }
}
@media screen and (min-width: 993px) and (max-width: 1199px) {
  body.site-id-1 header #header_normal .fl-col-group {
    gap: 16px;
  }
  body.site-id-1 header #header_normal .fl-module-photo .fl-photo-img {
    width: 130px;
  }
  body.site-id-1 header #header_normal .fl-menu .menu > li > a,
  body.site-id-1 header #header_normal .fl-menu .menu > li > .fl-has-submenu-container > a {
    padding-inline: clamp(5px, 0.7vw, 10px);
    font-size: clamp(13.5px, 1.35vw, 15px);
  }
  body.site-id-1 header #header_normal .fl-menu .menu > li.astm-search-menu {
    margin-left: auto;
  }
}
@media screen and (max-width: 992px) {
  body.site-id-1 header #header_normal .fl-menu ul.menu > li.astm-search-menu {
    margin: 16px 0 0 !important;
  }
  body.site-id-1 header #header_normal .astm-search-menu form,
  body.site-id-1 header #header_normal .astm-search-menu label {
    margin: 0;
    padding: 0;
  }
  body.site-id-1 header #header_normal .astm-search-menu .is-search-input {
    box-sizing: border-box;
    max-width: 100%;
  }
}

/* search circle (993–1199): the button fills the circle, icon dead centre */
@media screen and (min-width: 993px) and (max-width: 1199px) {
  body.site-id-1 header #header_normal .astm-search-menu .is-search-form:not(:focus-within) .is-search-submit {
    top: 0;
    right: 0;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    transform: none;
  }
  body.site-id-1 header #header_normal .astm-search-menu .is-search-submit .is-search-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0 !important;
    line-height: 0;
  }
  body.site-id-1 header #header_normal .astm-search-menu .is-search-submit .is-search-icon svg {
    display: block;
    width: 20px;
    height: 20px;
    margin: 0;
  }
}

/* ≤992: header uses the full width (BB adds col padding, module margins and centres the logo) */
@media screen and (max-width: 992px) {
  body.site-id-1 header #header_normal .fl-row-content {
    max-width: none;
  }
  body.site-id-1 header #header_normal .fl-col-content,
  body.site-id-1 header #header_normal .fl-module > .fl-module-content,
  body.site-id-1 header #header_top .fl-col-content,
  body.site-id-1 header #header_top .fl-module > .fl-module-content {
    margin: 0 !important;
    padding: 0 !important;
  }
  body.site-id-1 header #header_normal .fl-module-photo .fl-photo {
    text-align: left;
  }
}
@media screen and (max-width: 992px) {
  /* BB centres small columns with auto margins on mobile */
  body.site-id-1 header #header_normal .fl-col-group > .fl-col {
    margin: 0 !important;
  }
  body.site-id-1 header #header_normal .fl-photo-content,
  body.site-id-1 header #header_normal .fl-photo-content > a,
  body.site-id-1 header #header_normal .fl-photo-img {
    position: static;
    display: block;
    margin: 0 !important;
    padding: 0;
    left: auto;
    transform: none;
  }
}

/* search button in the mobile panel: centred 40px hit area with the icon in the middle */
@media screen and (max-width: 992px) {
  body.site-id-1 header #header_normal .astm-search-menu .is-search-submit {
    top: 50%;
    right: 4px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    margin: 0;
    padding: 0;
    transform: translateY(-50%);
  }
  body.site-id-1 header #header_normal .astm-search-menu .is-search-submit .is-search-icon {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    margin: 0;
    padding: 0 !important;
    line-height: 0;
  }
  body.site-id-1 header #header_normal .astm-search-menu .is-search-submit .is-search-icon svg {
    display: block;
    width: 20px;
    height: 20px;
    margin: 0;
  }
}

/* hero buttons on tablet/mobile: title + text closer, more breathing room */
@media screen and (max-width: 992px) {
  body.site-id-1 #pk_flex_content .flex_layout.hero_afbeelding .button_repeater .button {
    padding: 16px 12px 16px 28px;
  }
  body.site-id-1 #pk_flex_content .flex_layout.hero_afbeelding .button_repeater .button_text_wrapper {
    gap: 2px;
  }
}

/* BB "full width below" clones the menu module after the column (inside the
   flex row). Take that clone out of the row so the hamburger never moves. */
@media screen and (max-width: 992px) {
  body.site-id-1 header #header_normal .fl-col-group > .fl-menu-mobile-clone {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 50;
    width: auto;
    height: 0;
    margin: 0;
    padding: 0;
  }
  body.site-id-1 header #header_normal .fl-menu-mobile-clone > .fl-module-content,
  body.site-id-1 header #header_normal .fl-menu-mobile-clone .fl-menu {
    position: static;
    margin: 0;
    padding: 0;
  }
  body.site-id-1 header #header_normal .fl-menu-mobile-clone .fl-menu ul.menu {
    top: 0;
  }
  /* toggle never shifts: fixed size, no layout change when active */
  body.site-id-1 header #header_normal .fl-menu-mobile-toggle,
  body.site-id-1 header #header_normal .fl-menu-mobile-toggle.fl-active {
    flex: none;
    margin: 0 0 0 auto;
    transform: none;
  }
  body.site-id-1 header #header_normal .fl-menu-mobile-toggle .svg-container {
    width: 22px;
    height: 13px;
    font-size: 22px;
  }
}

/* search submit centred in the pill at every width (Ivory adds its own offsets) */
body.site-id-1 header #header_normal .astm-search-menu .is-search-submit {
  top: 50%;
  right: 4px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0;
  padding: 0;
  transform: translateY(-50%);
}
body.site-id-1 header #header_normal .astm-search-menu .is-search-submit .is-search-icon {
  display: flex !important;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0 !important;
  line-height: 0;
}
body.site-id-1 header #header_normal .astm-search-menu .is-search-submit .is-search-icon svg {
  display: block;
  width: 20px;
  height: 20px;
  margin: 0;
}
/* collapsed circle (993–1199) keeps its own full-size button */
@media screen and (min-width: 993px) and (max-width: 1199px) {
  body.site-id-1 header #header_normal .astm-search-menu .is-search-form:not(:focus-within) .is-search-submit {
    top: 0;
    right: 0;
    transform: none;
  }
}

/* top bar: room for the sub-menu chevron next to "Portalen" */
body.site-id-1 header #header_top .fl-menu .menu > li.fl-has-submenu > .fl-has-submenu-container {
  position: relative;
}
body.site-id-1 header #header_top .fl-menu .menu > li.fl-has-submenu > .fl-has-submenu-container > a {
  padding-right: 32px;
}
body.site-id-1 header #header_top .fl-menu .menu > li.fl-has-submenu > .fl-has-submenu-container > .fl-menu-toggle {
  right: 12px;
}
@media screen and (max-width: 767px) {
  body.site-id-1 header #header_top .fl-menu .menu > li.fl-has-submenu > .fl-has-submenu-container > a {
    padding-right: 24px;
  }
  body.site-id-1 header #header_top .fl-menu .menu > li.fl-has-submenu > .fl-has-submenu-container > .fl-menu-toggle {
    right: 6px;
  }
}

/* Mobile menu opens/closes instantly: visibility follows the toggle state,
   which overrides BB's jQuery slideToggle (inline height/overflow animation). */
@media screen and (max-width: 992px) {
  body.site-id-1 header #header_normal .fl-col-group:not(:has(.fl-menu-mobile-toggle.fl-active)) ul.menu {
    display: none !important;
  }
  body.site-id-1 header #header_normal .fl-col-group:has(.fl-menu-mobile-toggle.fl-active) .fl-menu-mobile-clone ul.menu,
  body.site-id-1 header #header_normal .fl-col-group:not(:has(.fl-menu-mobile-clone)):has(.fl-menu-mobile-toggle.fl-active) ul.menu {
    display: block !important;
    height: auto !important;
    max-height: calc(100vh - 160px) !important;
    margin: 0 !important;
    padding-top: 8px !important;
    padding-bottom: 24px !important;
    overflow-y: auto !important;
  }
  /* sub-menus inside the panel (e.g. "Direct naar") also without slide */
  body.site-id-1 header #header_normal ul.menu .fl-has-submenu:not(.fl-active) > .sub-menu {
    display: none !important;
  }
  body.site-id-1 header #header_normal ul.menu .fl-has-submenu.fl-active > .sub-menu {
    display: block !important;
    height: auto !important;
    margin: 0 0 14px !important;
    padding-top: 6px !important;
    padding-bottom: 6px !important;
    overflow: visible !important;
  }
}
@media screen and (max-width: 992px) {
  /* BB slideToggles the clone wrapper itself (height + overflow:hidden for ~400ms).
     Keep the wrapper inert; the ul's visibility follows the toggle state above. */
  body.site-id-1 header #header_normal .fl-col-group > .fl-menu-mobile-clone {
    display: block !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
    opacity: 1 !important;
  }
}

/* Complianz */
body.site-id-1 .cmplz-cookiebanner {
  --cmplz_banner_width: 510px;
  --cmplz_banner_background_color: var(--ob-wit);
  --cmplz_banner_border_width: 0;
  --cmplz_banner_border_radius: var(--ob-radius);
  --cmplz_text_color: var(--ob-donkerblauw);
  --cmplz_text_font_size: 14px;
  --cmplz_hyperlink_color: var(--ob-donkergroen);
  --cmplz_button_border_radius: 999px;
  --cmplz_button_accept_background_color: var(--ob-donkerblauw);
  --cmplz_button_accept_border_color: var(--ob-donkerblauw);
  --cmplz_button_accept_text_color: var(--ob-wit);
  --cmplz_button_deny_background_color: var(--ob-donkerblauw);
  --cmplz_button_deny_border_color: var(--ob-donkerblauw);
  --cmplz_button_deny_text_color: var(--ob-wit);
  --cmplz_button_settings_background_color: var(--ob-wit);
  --cmplz_button_settings_border_color: var(--ob-donkerblauw);
  --cmplz_button_settings_text_color: var(--ob-donkerblauw);
  --cmplz_slider_active_color: var(--ob-donkergroen);
  --cmplz_category_header_always_active_color: var(--ob-donkergroen);
  box-shadow: 0 10px 32px rgb(0 74 114 / 18%);
  width: min(var(--cmplz_banner_width), calc(100% - 24px));
  min-width: 0;
  padding: clamp(16px, 3vw, 24px);
}

body.site-id-1 .cmplz-cookiebanner.cmplz-bottom-left {
  left: 12px;
  bottom: 12px;
}

body.site-id-1 .cmplz-cookiebanner .cmplz-header {
  grid-template-columns: minmax(0, 1fr) auto;
}

body.site-id-1 .cmplz-cookiebanner .cmplz-header .cmplz-title {
  display: block;
  grid-column: 1;
  justify-self: start;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
}

body.site-id-1 .cmplz-cookiebanner .cmplz-header .cmplz-close {
  grid-column: 2;
}

body.site-id-1 .cmplz-cookiebanner .cmplz-body {
  min-width: 0;
}

body.site-id-1 .cmplz-cookiebanner :is(.cmplz-message, .cmplz-categories) {
  width: 100%;
}

body.site-id-1 .cmplz-cookiebanner .cmplz-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

body.site-id-1 .cmplz-cookiebanner .cmplz-buttons .cmplz-btn {
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  white-space: normal;
}

body.site-id-1 .cmplz-cookiebanner .cmplz-buttons :is(.cmplz-view-preferences, .cmplz-save-preferences, .cmplz-manage-options) {
  grid-column: 1 / -1;
}

body.site-id-1 .cmplz-cookiebanner .cmplz-buttons :is(.cmplz-accept, .cmplz-deny):hover {
  background-color: var(--ob-donkergroen);
  border-color: var(--ob-donkergroen);
}

body.site-id-1 .cmplz-cookiebanner .cmplz-buttons :is(.cmplz-view-preferences, .cmplz-save-preferences, .cmplz-manage-options):hover,
body.site-id-1 .cmplz-cookiebanner .cmplz-categories .cmplz-category {
  background-color: var(--ob-groen-o10);
}

body.site-id-1 .cmplz-cookiebanner .cmplz-categories .cmplz-category {
  border-radius: 12px;
}

body.site-id-1 .cmplz-cookiebanner .cmplz-links ul {
  flex-wrap: wrap;
  gap: 6px 12px;
}

body.site-id-1 #cmplz-manage-consent .cmplz-manage-consent {
  background-color: var(--ob-wit);
  color: var(--ob-donkerblauw);
  border: 1px solid var(--ob-groen);
  border-radius: 12px 12px 0 0;
  box-shadow: 0 3px 14px rgb(0 74 114 / 12%);
  font-family: inherit;
}

body.site-id-1 .cmplz-cookiebanner :focus-visible,
body.site-id-1 #cmplz-manage-consent .cmplz-manage-consent:focus-visible {
  outline: 2px solid var(--ob-donkergroen);
  outline-offset: 2px;
}
