:root {
    --ao-donkerblauw: #1e2d46;
    --ao-donkeoranje: #e84e0e;
    --ao-accentoranje: #f79a3e;
    --ao-licht: #f4efe6;
    --ao-wit: #ffffff;
}

.wp-block-media-text .wp-block-heading {
    will-change: transform, opacity;
}

/* Prevent layout shift */
.wp-block-media-text .wp-block-heading span {
    will-change: transform;
}

/* PART 1 - Before Lazy Load */
img[data-lazyloaded] {
    opacity: 0;
}

/* PART 2 - Upon Lazy Load */
img.litespeed-loaded {
    -webkit-transition: opacity .5s linear 0.2s;
    -moz-transition: opacity .5s linear 0.2s;
    transition: opacity .5s linear 0.2s;
    opacity: 1;
}


body {
    font-family: "Poppins", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    font-size: 1.125rem;
    color: var(--ao-donkerblauw);
    overflow-x: hidden;
}

body p {
    margin-top: 0;
}

body .page,
body .post {
    margin: 0;
}

body p strong,
.has-large-font-size,
.wp-block-button a.wp-block-button__link,
.has-medium-font-size {
    font-weight: 700;
}

h1,
h2,
h3,
h4 {
    font-weight: 700;
    margin-bottom: 0.6em;
    margin-top: 0;
}

h1,
.h1 {
    font-size: clamp(2.1rem, 5vw + 1.5rem, 4.375rem);
    /* Min ~34px, Max 70px, tussenwaarden schaalbaar */
    line-height: 1.1;
}

h2,
.h2,
.has-large-font-size {
    font-size: clamp(1.5rem, 3vw + 1rem, 2.125rem);
    /* Min ~24px, Max 34px */
    line-height: 1.2;
}

h3,
.h3,
h4,
.h4 {
    font-size: clamp(1.1rem, 2vw + 0.5rem, 1.375rem);
    /* Min ~17px, Max 22px */
    line-height: 1.3;
}

.has-x-large-font-size {
    font-size: clamp(2rem, 6vw, 4.5rem) !important;
}

.has-medium-font-size {
    font-size: clamp(1.1rem, 2vw + 0.5rem, 1.375rem) !important;
}

a.cta,
.wp-block-button__link {
    -webkit-transition: all 0.2s ease-in-out;
    -moz-transition: all 0.2s ease-in-out;
    -o-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}

.has-ao-licht-background-color {
    background: var(--ao-licht);
}

.has-ao-donkerblauw-background-color {
    background: var(--ao-donkerblauw);
}

.has-ao-licht-color {
    color: var(--ao-licht);
}

.wp-block-cover .wp-block-cover__inner-container {
    max-width: 1320px;
}

/* standaard wordpress margin bottom */
:where(.wp-block-columns) {
    margin-bottom: 0;
}

figure {
    margin: 0;
    background:var(--ao-licht);
    padding:20px;
}
figure a {
    color:inherit;
    text-decoration: none;
}
figure a:hover {text-decoration: underline;}

.wp-block-post-date a {
    text-decoration: none;
}

body.single-post {
    background:var(--ao-licht);
}

body.single-post #primary {
    max-width:960px;
    background:#fff;
    border:10px solid var(--ao-licht);
}

body.single-post .post-thumbnail img {
    object-fit: cover;
    height:400px;
}

body.single-post .entry-meta {
  background: var(--ao-donkeoranje);
  display: inline-block;
  color: #fff;
  padding: 0.5rem 1rem;
  top: -8px;
  position: relative;
  font-size: 1rem;
}

.border-radius-12 {
    border-radius: 12px;
}

.custom-loop ul {
    margin: 0;
}

.custom-loop ul li.wp-block-post {
    background: var(--ao-licht);
    position: relative;
    padding: 1rem;
}

.custom-loop ul li h3 a {
    color: var(--ao-donkerblauw);
}

.custom-loop figure.wp-block-post-featured-image img {
    height:315px;
    margin-bottom:1rem;
}

.custom-loop .wp-block-post-date {
    background: var(--ao-donkeoranje);
    color: #fff;
    position: absolute;
    top: 1rem;
    left: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.925rem;
}

#binnenkort {
    background:var(--ao-donkerblauw);
    padding:2rem;
}
#binnenkort input,
#binnenkort textarea {
border-radius:0;
border:1px solid #fff;
}

#wsf-1-field-wrapper-6 {
    margin:0;
}

button#wsf-1-field-6 {
    background:var(--ao-donkeoranje);
    color:#fff;
    border-radius: 0;
    font-size: 1.125rem;
    border:1px solid var(--ao-donkeoranje);
}

.wp-element-caption {
    margin-bottom:4px;
}

figure.wp-block-media-text__media img,
figure.wp-block-image img {}

.wp-block-group__inner-container {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 15px;
}

.wp-block-button a.wp-block-button__link {}

.wp-block-button.is-style-outline.is-style-outline--2 a.wp-block-button__link.has-ek-goud-color {
    color: var(--ao-goud);
}

.wp-block-button a.wp-block-button__link.has-ek-goud-color::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23C2AB61' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
}


.wp-block-button a.wp-block-button__link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 0.82rem 1.825rem;
}

.wp-block-button a.wp-block-button__link::before {
    content: "";
    width: 24px;
    height: 24px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14'/%3E%3Cpath d='m12 5 7 7-7 7'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    flex-shrink: 0;
    transition: transform 0.2s ease-in-out;
}

.wp-block-button a.wp-block-button__link:hover {
    color: #fff;
    transform: scale(1.05);
}

.wp-block-button a.wp-block-button__link:hover::before {
    transform: rotate(-25deg);
}

ul.wp-block-list.check-list,
ul.wp-block-list.cross-list {
    list-style: none;
    padding-left: 30px;
    margin: 0;
}

ol.wp-block-list {
    padding-left: 24px;
    margin: 0;
}

ul.wp-block-list.check-list li,
ul.wp-block-list.cross-list li {
    list-style: none;
    position: relative;
}

ul.wp-block-list.check-list li::before,
ul.wp-block-list.cross-list li::before {
    content: '';
    position: absolute;
    left: -32px;
    /* Plaatst checkbox links buiten de tekst */
    top: 0;
    width: 24px;
    height: 24px;
    background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23C2AB61%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22lucide%20lucide-check-icon%20lucide-check%22%3E%3Cpath%20d%3D%22M20%206%209%2017l-5-5%22/%3E%3C/svg%3E');
    background-repeat: no-repeat;
    background-size: contain;
}

ul.wp-block-list.cross-list li::before {
    background-image: url('data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2224%22%20height%3D%2224%22%20viewBox%3D%220%200%2024%2024%22%20fill%3D%22none%22%20stroke%3D%22%23C2AB61%22%20stroke-width%3D%223%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20class%3D%22lucide%20lucide-x-icon%20lucide-x%22%3E%3Cpath%20d%3D%22M18%206%206%2018%22/%3E%3Cpath%20d%3D%22m6%206%2012%2012%22/%3E%3C/svg%3E');

}

.extra-top {
    position: relative;
    top: 30px;
}

.faq-custom .wp-block-details {
    padding: 2rem;
    box-shadow: 0 0 10px rgba(41, 36, 92, 0.24);
    border-radius: 12px;
    background: #fff;
    width: calc(100% - 15%);
    margin: 0 auto 2rem;
    z-index: 1;
    position: relative;
}

.faq-custom .wp-block-details p {
    margin-bottom: 0;
    margin-top: 1rem;
}

.faq-custom .wp-block-details summary::marker {
    color: var(--ao-donkerblauw);
}

/* Basis styling voor summary */
.wp-block-details summary {
    position: relative;
    padding-right: 2.5em;
    /* ruimte voor het icoon */
    cursor: pointer;
    list-style: none;
}

/* Verberg de standaard marker in Safari & Chrome */
.wp-block-details summary::-webkit-details-marker {
    display: none;
}

/* Verberg standaard marker */
.wp-block-details summary::-webkit-details-marker {
    display: none;
}

.wp-block-details summary {
    position: relative;
    padding-right: 2.5em;
    cursor: pointer;
    color: var(--ao-donkerblauw);
    font-weight: 700;
    font-size: clamp(1.1rem, 2vw + 0.5rem, 1.375rem);
    /* Min ~17px, Max 22px */
    line-height: 1.3;
}

/* Voeg SVG-chevron toe als background */
.wp-block-details summary::before {
    content: "";
    position: absolute;
    right: 0;
    top: 40%;
    transform: translateY(-40%) rotate(0deg);
    width: 30px;
    height: 30px;
    background-color: var(--ao-goud);
    border-radius: 8px;
    display: inline-block;
    transition: transform 0.3s ease;
    background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='white' stroke-width='1.5'><path stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25L12 15.75 4.5 8.25'/></svg>");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 24px 24px;
}

/* Draai de chevron als details open is */
.wp-block-details[open] summary::before {
    transform: translateY(-50%) rotate(180deg);
}

.wp-block-details p {
    opacity: 0;
    color: var(--ao-donkerblauw);
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.wp-block-details[open] p {
    opacity: 1;
    transform: translateY(0);
}


ul.wp-block-list li::marker,
ol.wp-block-list li::marker {
    color: var(--ao-donkeoranje);
    font-weight: 700;
}

ul.wp-block-list {
    padding: 0;
    margin-left: 18px;
}

ol.wp-block-list li,
ul.wp-block-list li {
    margin-bottom: 10px;
}

ol.wp-block-list li:last-child,
ul.wp-block-list li:last-child {
    margin-bottom: 0;
}

figure.no-shadow img,
.no-shadow figure img {
    box-shadow: none;
}

.mw-800 {
    max-width: 800px;
    margin: 0 auto 1rem;
}

.ek-quote figure {
    min-width: 150px;
}

.ek-quote figure.wp-block-image img {
    background: var(--ao-goud);

}

.ek-quote:nth-child(even)>figure img {
    background: var(--ao-donkerblauw);
}

.ek-quote blockquote p.has-ek-goud-color {
    font-size: 1.125rem;
    font-weight: 700;
    margin-top: 0;
}

@media (max-width: 767.98px) {

    .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content,
    .wp-block-media-text .wp-block-media-text__content {
        padding-left: 0;
        padding-right: 0;
    }

    body .ek-quote {
        flex-wrap: wrap;
        padding: 1em;
        margin: 0 auto 1.15em;
    }

    .wp-block-media-text.is-stacked-on-mobile figure.wp-block-media-text__media {
        margin-bottom: 1.5rem;
    }
}

@media (min-width: 768px) {
    .extra-half-top {
        margin-top: -140px;
    }

    .wp-block-media-text.has-media-on-the-right .wp-block-media-text__content {
        padding-left: 0;
        padding-right: 15%;
    }

    .wp-block-media-text .wp-block-media-text__content {
        padding-left: 15%;
        padding-right: 0%;
    }
}

@media (max-width: 575.98px) {
    br {
        display: none;
    }

    .wp-block-button a.wp-block-button__link {
        font-size: 0.825rem;
    }

    mark.has-inline-color {
        display: block;
    }

    .wp-block-details mark.has-inline-color {
        display: inline-block;
    }

    .wp-block-spacer {
        max-height: 20px;
    }
}

@media(min-width: 692px) {
    .border-right {
        border-right: 1px solid #fff;
    }
}


.entry-content .wp-block-columns {
    /* max-width: 960px; */
    margin-left: auto;
    margin-right: auto;
    /* overflow-x: hidden; */
}

figure.wp-block-gallery.has-nested-images.logos figure {
    margin: 0 !important;
    background: #fff;
    /* height: 200px; */
    padding: 30px;
}

figure.wp-block-gallery.has-nested-images.logos figure img {
    box-shadow: none;
    background: none;
    max-height: 100px;
    object-fit: contain;
    max-width: clamp(100px, 100%, 180px) !important;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
}

.box-shadow {
    box-shadow: 0 0 10px rgba(41, 36, 92, 0.44);
}

/* Stel maximale breedte in voor niet-uitgelijnde blokken
.wp-block:not([data-align="wide"]):not([data-align="full"]) {
    max-width: var(--wp--style--global--content-size, 800px);
    margin-left: auto !important;
    margin-right: auto !important;
} */

/* Optioneel: Breedte voor alignwide aanpassen */
/*.wp-block[data-align="wide"] {
    max-width: var(--wp--style--wide-size, 1200px);
}*/


/* 
.entry-content .alignwide {
    margin-left: -80px;
    margin-right: -80px;
} */

.entry-content .alignfull {
    margin-left: calc(-100vw / 2 + 100% / 2);
    margin-right: calc(-100vw / 2 + 100% / 2);
    max-width: 100vw;
}


/* .alignfull img {
    width: 100vw;
} */


a.cta {
    background: #837a72;
    color: #fff;
    padding: 10px 20px;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.2s ease-in-out;
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 280px;
}

a.cta svg {
    width: 26px;
}

.site-copyright {
    background: var(--ao-donkeoranje);
    color: #fff;
    font-size:0.925rem;
}

.site-copyright a {
    color: #fff;
    text-decoration: none;
}

.site-copyright a:hover {
    text-decoration: underline;
}

/* Wrapper techniek: altijd 100% width en behoud 16:9 aspect-ratio */
.responsive-video {
  position: relative;
  width: 100%;
  /* 16:9 aspect ratio = 9/16 = 56.25% */
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}

/* Ondersteun veelvoorkomende embed elementen */
.responsive-video iframe,
.responsive-video object,
.responsive-video embed,
.responsive-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Extra: moderne browsers kunnen ook aspect-ratio gebruiken (valt terug op padding-bottom hierboven) */
.responsive-video iframe {
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9; /* optionele moderne ondersteuning */
}

/* Optioneel: maak ingebedde Gutenberg / oEmbed wrappers ook responsive */
.wp-block-embed__wrapper,
.embed-youtube,
iframe[src*="youtube.com"],
iframe[src*="youtu.be"] {
  max-width: 100%;
}

/* Indien je geen wrapper kunt toevoegen: wrappen met CSS selector aanpak */
.entry-content iframe[src*="youtube.com"],
.entry-content iframe[src*="youtu.be"] {
  width: 100%;
  height: auto;
  min-height: 200px; /* voorkom te kleine hoogte; pas aan naar wens */
}

/* Maak Gutenberg YouTube embeds responsive en altijd 100% breed */
.wp-block-embed-youtube .wp-block-embed__wrapper {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%; /* 16:9 verhouding */
  height: 0;
  overflow: hidden;
}

.wp-block-embed-youtube .wp-block-embed__wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Algemene fallback voor alle Gutenberg embeds */
.wp-block-embed__wrapper iframe {
  max-width: 100%;
  height: auto;
  aspect-ratio: 16 / 9; /* moderne browsers */
}


/* Responsive menu */