/* Blokken uit de pagina-editor (overgenomen uit de basis-beheeromgeving), in de kleuren van Tweestroom */
:root {
    --c-primary: var(--orange); --c-on-primary: #fff; --c-secondary: var(--blue); --c-on-secondary: #fff; --c-accent: var(--orange); --c-on-accent: #fff;
    --c-bg: #fff; --c-surface: var(--light); --c-text: var(--text); --c-heading: var(--blue); --c-link: var(--orange);
    --c-btn: var(--orange); --c-on-btn: #fff; --f-body: var(--font); --f-heading: var(--font);
    --width: 1140px; --radius: 8px; --btn-radius: 99px; --btn-size: 15px;
    --fs-h1: 40px; --fs-h2: 30px; --fs-h3: 22px; --fs-h4: 19px;
}
.entry, .yl-site { container-type: inline-size; }
.yl-section:not(.yl-legacy) :where(h1, h2, h3, h4) { color: var(--yl-heading, var(--c-heading)); }
.yl-section:not(.yl-legacy) :where(h1) { font-size: var(--fs-h1); } .yl-section:not(.yl-legacy) :where(h2) { font-size: var(--fs-h2); } .yl-section:not(.yl-legacy) :where(h3) { font-size: var(--fs-h3); } .yl-section:not(.yl-legacy) :where(h4) { font-size: var(--fs-h4); }
.yl-section:not(.yl-legacy) :where(p, ul, ol, blockquote, table) { margin: 0 0 1em; }
.yl-section:not(.yl-legacy) :where(ul, ol) { padding-left: 1.3em; }
.yl-section:not(.yl-legacy) .yl-el > :where(h2, h3):not(:first-child) { margin-top: 1.4em; }
.yl-section:not(.yl-legacy) a:not(.yl-btn) { color: var(--c-link); text-decoration: underline; text-underline-offset: 3px; }
:where(.yl-el:not(.yl-legacy)) > :last-child { margin-bottom: 0; }
.yl-section { position: relative; padding: 80px 24px; isolation: isolate; overflow: clip; }
.yl-section, .yl-el { --yl-shade: 0%; background-position: center; background-size: cover; }
.yl-section[style*="--yl-to"], .yl-el[style*="--yl-to"] { background-image: linear-gradient(var(--yl-angle, 135deg), var(--yl-from, var(--c-primary)), var(--yl-to)); }
.yl-section[style*="--yl-img"], .yl-el[style*="--yl-img"] { background-image: linear-gradient(color-mix(in srgb, var(--yl-overlay, #000) var(--yl-shade), transparent) 0 0), var(--yl-img); }
.yl-section[style*="min-height"] { display: flex; }
.yl-section[style*="min-height"] > .yl-wrap { display: flex; flex-direction: column; justify-content: center; }
.yl-wrap { position: relative; z-index: 1; width: 100%; max-width: var(--width); margin: 0 auto; }
.yl-smal > .yl-wrap { max-width: min(760px, var(--width)); }
.yl-vol > .yl-wrap { max-width: none; }
.yl-cols { position: relative; z-index: 1; display: grid; grid-template-columns: var(--yl-cols, 1fr); gap: var(--yl-gap, 40px); }
.yl-v-midden > .yl-wrap > .yl-cols { align-items: center; }
.yl-v-onder > .yl-wrap > .yl-cols { align-items: end; }
.yl-col { min-width: 0; display: flex; flex-direction: column; align-items: stretch; gap: 22px; }
.yl-el { min-width: 0; max-width: 100%; }
.yl-col > .yl-links { align-self: flex-start; } .yl-col > .yl-midden { align-self: center; } .yl-col > .yl-rechts { align-self: flex-end; }
@container (max-width: 800px) {
    .yl-section { padding-left: 20px; padding-right: 20px; }
    .yl-cols { grid-template-columns: minmax(0, 1fr); gap: min(var(--yl-gap, 32px), 32px); }
    .yl-m2 .yl-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .yl-col > .yl-el:not([data-el="vorm"], [data-el="icoon"]) { width: auto !important; }
    .yl-hide-mobiel { display: none !important; }
}
@container (min-width: 801px) { .yl-hide-desktop { display: none !important; } }

/* Vrij geplaatst: plek in % van het inhoudsvak (.yl-wrap). Op een telefoon komt tekst gewoon onder elkaar; vormen blijven staan. */
.yl-free { position: absolute; z-index: 2; }
.yl-free.yl-behind { z-index: 0; }
.yl-free[data-el="vorm"] { pointer-events: none; }
@container (max-width: 800px) {
    .yl-free:not([data-el="vorm"]) { position: relative; left: auto !important; top: auto !important; width: auto !important; margin-bottom: 20px; }
}

.yl-el:not(.yl-legacy) img { display: block; width: 100%; border-radius: var(--radius); object-fit: cover; }
.yl-el[data-el="afbeelding"] > a { display: block; }
.yl-btn { display: inline-block; padding: .8em 1.7em; border: 2px solid var(--c-btn); border-radius: var(--btn-radius); background: var(--c-btn); color: var(--c-on-btn); font: 600 var(--btn-size)/1.25 var(--f-body); text-align: center; text-decoration: none; cursor: pointer; transition: filter .15s, transform .15s; }
.yl-btn:hover { filter: brightness(.92); transform: translateY(-1px); }
.yl-btn.is-omlijnd { background: transparent; color: var(--c-btn); }
.yl-btn.is-licht { background: #fff; border-color: #fff; color: #101828; }
.yl-btn.is-accent { background: var(--c-accent); border-color: var(--c-accent); color: var(--c-on-accent); }
.yl-btn.is-tekst { padding: 0; border: 0; background: none; color: var(--c-link); text-decoration: underline; }
.yl-btn.is-breed { display: block; }
.yl-el[data-el="knoppen"] { display: flex; gap: 14px; flex-wrap: wrap; }
[style*="text-align: center"] > .yl-el[data-el="knoppen"], .yl-v-midden .yl-cols[style="--yl-cols: 1fr"] .yl-el[data-el="knoppen"] { justify-content: center; }
.yl-smal .yl-el[data-el="knoppen"] { justify-content: center; }
.yl-el[data-el="icoon"] { font-size: 44px; line-height: 1; color: var(--c-primary); }
.yl-el[data-el="icoon"] svg { width: 1em; height: 1em; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; vertical-align: top; }
.yl-el[data-el="vorm"] svg { display: block; width: 100%; height: auto; aspect-ratio: var(--yl-ratio, 1); fill: currentColor; overflow: visible; }
.yl-el[data-el="vorm"]:not(.yl-free) { width: 120px; }
.yl-el[data-el="lijn"] hr { margin: 0; border: 0; border-top: var(--yl-line, 1px) var(--yl-line-style, solid) currentColor; }
.yl-checks { list-style: none; padding: 0; }
.yl-checks li { position: relative; padding-left: 1.9em; margin-bottom: .45em; }
.yl-checks li::before { content: "✓"; position: absolute; left: 0; width: 1.35em; height: 1.35em; border-radius: 50%; background: var(--c-primary); color: var(--c-on-primary); font: 700 .8em/1.35em var(--f-body); text-align: center; top: .25em; }
.yl-el:not(.yl-legacy) blockquote { margin: 0; padding-left: 22px; border-left: 4px solid var(--c-primary); font-size: 1.1em; }
.yl-el:not(.yl-legacy) blockquote p { margin-bottom: .4em; }
.yl-el:not(.yl-legacy) cite { font-size: .85em; font-style: normal; font-weight: 600; opacity: .8; }
.yl-label { display: inline-block; padding: .25em .9em; border-radius: 99px; background: var(--c-accent); color: var(--c-on-accent); font-size: .85em; font-weight: 600; }
.yl-el:not(.yl-legacy) details { border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent); }
.yl-el:not(.yl-legacy) summary { position: relative; padding: 16px 36px 16px 0; font-weight: 600; cursor: pointer; list-style: none; }
.yl-el:not(.yl-legacy) summary::-webkit-details-marker { display: none; }
.yl-el:not(.yl-legacy) summary::after { content: "+"; position: absolute; right: 6px; font-size: 1.4em; line-height: 1; }
.yl-el:not(.yl-legacy) details[open] summary::after { content: "–"; }
.yl-el:not(.yl-legacy) details > div { padding-bottom: 16px; }
.yl-el:not(.yl-legacy) table { width: 100%; border-collapse: collapse; }
.yl-el:not(.yl-legacy) td, .yl-el:not(.yl-legacy) th { padding: 10px 8px 10px 0; border-bottom: 1px solid color-mix(in srgb, currentColor 18%, transparent); text-align: left; vertical-align: top; }
.yl-gallery { display: grid; grid-template-columns: repeat(var(--yl-n, 3), minmax(0, 1fr)); gap: 14px; }
.yl-gallery img { aspect-ratio: var(--yl-ratio, 4/3); cursor: zoom-in; }
@container (max-width: 800px) { .yl-gallery { grid-template-columns: repeat(min(2, var(--yl-n, 3)), minmax(0, 1fr)); } }
.yl-lightbox { max-width: 96vw; max-height: 94vh; padding: 0; border: 0; background: none; }
.yl-lightbox::backdrop { background: rgba(8, 12, 24, .88); }
.yl-lightbox img { max-width: 96vw; max-height: 94vh; display: block; }
.yl-embed { position: relative; display: grid; place-items: center; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: color-mix(in srgb, var(--c-secondary) 88%, #fff); color: var(--c-on-secondary); text-align: center; padding: 20px; }
.yl-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.yl-embed small { display: block; margin-top: 10px; opacity: .85; }
.yl-divider { position: absolute; left: 0; right: 0; z-index: 0; height: 80px; pointer-events: none; color: var(--c-bg); }
.yl-divider svg { display: block; width: 100%; height: 100%; fill: currentColor; }
.yl-divider.is-onder { bottom: -1px; }
.yl-divider.is-boven { top: -1px; transform: scaleY(-1); }

/* ---------- Bewegingseffecten ----------
   Inloop, doorlopend en scroll gebruiken transform en worden opgeteld (animation-composition); hover gebruikt translate/scale/rotate.
   Zo kan één onderdeel alle soorten tegelijk hebben. */
:where(.yl-el, .yl-col, .yl-section):where([data-anim], [data-loop], [data-scroll]) { /* :where: de keuzes hieronder moeten dit overschrijven */
    --a-in: none; --a-loop: none; --a-time: 3s; --a-ease: ease-in-out; --a-scroll: none;
    animation-name: var(--a-in), var(--a-loop); animation-duration: var(--yl-dur, .9s), var(--yl-loop, var(--a-time)); animation-delay: var(--yl-delay, 0s), 0s;
    animation-timing-function: cubic-bezier(.2, .7, .3, 1), var(--a-ease); animation-iteration-count: 1, infinite; animation-fill-mode: both, none; animation-composition: replace, add;
}
/* Meebewegen met scrollen: browsers zonder ondersteuning tonen het onderdeel gewoon stilstaand */
@supports (animation-timeline: view()) {
    :is(.yl-el, .yl-col)[data-scroll] {
        animation-name: var(--a-in), var(--a-loop), var(--a-scroll); animation-duration: var(--yl-dur, .9s), var(--yl-loop, var(--a-time)), auto; animation-delay: var(--yl-delay, 0s), 0s, 0s;
        animation-timing-function: cubic-bezier(.2, .7, .3, 1), var(--a-ease), linear; animation-iteration-count: 1, infinite, 1; animation-fill-mode: both, none, both;
        animation-composition: replace, add, var(--a-add, add); animation-timeline: auto, auto, view(); animation-range: normal, normal, var(--a-range, cover 0% cover 100%);
    }
}
/* !important: ook een half doorzichtig onderdeel blijft verborgen tot het in beeld komt */
@media (scripting: enabled) { body:not(.is-editing) .yl-anim:not(.animated) { opacity: 0 !important; } }
:is(.animated, .yl-play)[data-anim="fadeIn"] { --a-in: fadeIn; }
:is(.animated, .yl-play)[data-anim="fadeInUp"] { --a-in: fadeInUp; }
:is(.animated, .yl-play)[data-anim="fadeInDown"] { --a-in: fadeInDown; }
:is(.animated, .yl-play)[data-anim="fadeInLeft"] { --a-in: fadeInLeft; }
:is(.animated, .yl-play)[data-anim="fadeInRight"] { --a-in: fadeInRight; }
:is(.animated, .yl-play)[data-anim="slideLeft"] { --a-in: slideLeft; }
:is(.animated, .yl-play)[data-anim="slideRight"] { --a-in: slideRight; }
:is(.animated, .yl-play)[data-anim="zoomIn"] { --a-in: zoomIn; }
:is(.animated, .yl-play)[data-anim="zoomOut"] { --a-in: zoomOut; }
:is(.animated, .yl-play)[data-anim="bounceIn"] { --a-in: bounceIn; }
:is(.animated, .yl-play)[data-anim="dropIn"] { --a-in: dropIn; }
:is(.animated, .yl-play)[data-anim="flipIn"] { --a-in: flipIn; }
:is(.animated, .yl-play)[data-anim="turnIn"] { --a-in: turnIn; }
:is(.animated, .yl-play)[data-anim="rollIn"] { --a-in: rollIn; }
:is(.animated, .yl-play)[data-anim="blurIn"] { --a-in: blurIn; }
:is(.animated, .yl-play)[data-anim="wipeIn"] { --a-in: wipeIn; }
:is(.animated, .yl-play)[data-anim="riseIn"] { --a-in: riseIn; }
@keyframes fadeIn { from { opacity: 0; } }
@keyframes fadeInUp { from { opacity: 0; transform: translateY(40px); } }
@keyframes fadeInDown { from { opacity: 0; transform: translateY(-40px); } }
@keyframes fadeInLeft { from { opacity: 0; transform: translateX(-60px); } }
@keyframes fadeInRight { from { opacity: 0; transform: translateX(60px); } }
@keyframes slideLeft { from { opacity: 0; transform: translateX(-40vw); } }
@keyframes slideRight { from { opacity: 0; transform: translateX(40vw); } }
@keyframes zoomIn { from { opacity: 0; transform: scale(.5); } }
@keyframes zoomOut { from { opacity: 0; transform: scale(1.4); } }
@keyframes bounceIn { 0% { opacity: 0; transform: scale(.4); } 55% { opacity: 1; transform: scale(1.08); } 75% { transform: scale(.96); } }
@keyframes dropIn { 0% { opacity: 0; transform: translateY(-120px); } 60% { opacity: 1; transform: translateY(14px); } 80% { transform: translateY(-6px); } }
@keyframes flipIn { from { opacity: 0; transform: perspective(900px) rotateX(80deg); } }
@keyframes turnIn { from { opacity: 0; transform: rotate(-25deg) scale(.8); } }
@keyframes rollIn { from { opacity: 0; transform: translateX(-100%) rotate(-120deg); } }
@keyframes blurIn { from { opacity: 0; filter: blur(16px); } }
@keyframes wipeIn { from { clip-path: inset(-60px 100% -60px -60px); } to { clip-path: inset(-60px); } }
@keyframes riseIn { from { clip-path: inset(100% -60px -60px -60px); } to { clip-path: inset(-60px); } }

[data-loop="zweven"] { --a-loop: loopFloat; }
[data-loop="wiegen"] { --a-loop: loopSway; --a-time: 4s; }
[data-loop="pulseren"] { --a-loop: loopPulse; --a-time: 2s; }
[data-loop="hartslag"] { --a-loop: loopBeat; --a-time: 1.6s; }
[data-loop="draaien"] { --a-loop: loopSpin; --a-time: 10s; --a-ease: linear; }
[data-loop="schommel"] { --a-loop: loopSwing; --a-time: 2.5s; }
[data-loop="stuiter"] { --a-loop: loopBounce; --a-time: 1.8s; }
[data-loop="schudden"] { --a-loop: loopShake; --a-time: 3s; }
@keyframes loopFloat { 50% { transform: translateY(-14px); } }
@keyframes loopSway { 50% { transform: translateX(16px); } }
@keyframes loopPulse { 50% { transform: scale(1.06); } }
@keyframes loopBeat { 0%, 40%, 80% { transform: scale(1); } 20%, 60% { transform: scale(1.1); } }
@keyframes loopSpin { from { transform: rotate(0); } to { transform: rotate(360deg); } }
@keyframes loopSwing { 0%, 100% { transform: rotate(-5deg); } 50% { transform: rotate(5deg); } }
@keyframes loopBounce { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-18px); } 80% { transform: translateY(-6px); } }
@keyframes loopShake { 0%, 80%, 100% { transform: translateX(0); } 84%, 92% { transform: translateX(-6px); } 88%, 96% { transform: translateX(6px); } }

[data-scroll="traag"] { --a-scroll: scrollSlow; }
[data-scroll="snel"] { --a-scroll: scrollFast; }
[data-scroll="links"] { --a-scroll: scrollRight; }
[data-scroll="rechts"] { --a-scroll: scrollLeft; }
[data-scroll="draai"] { --a-scroll: scrollTurn; }
[data-scroll="groei"] { --a-scroll: scrollGrow; --a-range: entry 0% cover 50%; }
[data-scroll="verschijn"] { --a-scroll: scrollFade; --a-add: replace; --a-range: entry 0% cover 40%; }
@keyframes scrollSlow { from { transform: translateY(-50px); } to { transform: translateY(50px); } }
@keyframes scrollFast { from { transform: translateY(90px); } to { transform: translateY(-90px); } }
@keyframes scrollRight { from { transform: translateX(-80px); } to { transform: translateX(80px); } }
@keyframes scrollLeft { from { transform: translateX(80px); } to { transform: translateX(-80px); } }
@keyframes scrollTurn { from { transform: rotate(-30deg); } to { transform: rotate(30deg); } }
@keyframes scrollGrow { from { transform: scale(.75); } }
@keyframes scrollFade { from { opacity: 0; } }
.yl-section.yl-foto-vast[style*="--yl-img"] { background-attachment: fixed; }

:where([data-hover]) { --h-move: none; --h-scale: none; --h-filter: none; }
[data-hover="optillen"] { --h-move: 0 -8px; } [data-hover="groeien"] { --h-scale: 1.05; } [data-hover="krimpen"] { --h-scale: .95; } [data-hover="opzij"] { --h-move: 8px 0; }
[data-hover="lichter"] { --h-filter: brightness(1.15); } [data-hover="donkerder"] { --h-filter: brightness(.8); }
.yl-el[data-hover] > .yl-btn { --h-move: inherit; --h-scale: inherit; --h-filter: inherit; }
:is(.yl-el, .yl-col)[data-hover]:not([data-el="knop"]), .yl-el[data-hover] > .yl-btn, [data-hover="zoom"] img { transition: translate .25s, scale .25s, rotate .25s, filter .25s, box-shadow .25s; }
[data-hover="kleur"] { filter: grayscale(1); }
[data-hover="zoom"]:not([data-el="galerij"]) { overflow: clip; border-radius: var(--radius); }
[data-hover="zoom"]:has(> img[style*="50%"]) { border-radius: 50%; }
/* Alleen met een muis, en met het toetsenbord bij links en knoppen */
@media (hover: hover) {
    :is(.yl-el, .yl-col)[data-hover]:not([data-el="knop"]):hover, .yl-el[data-hover] > .yl-btn:hover { translate: var(--h-move); scale: var(--h-scale); filter: var(--h-filter); }
    [data-hover="kantelen"]:not([data-el="knop"]):hover, [data-hover="kantelen"] > .yl-btn:hover { rotate: -2.5deg !important; }
    [data-hover="schaduw"]:not([data-el="knop"]):hover, [data-hover="schaduw"] > .yl-btn:hover { box-shadow: 0 18px 44px rgba(16, 24, 40, .28) !important; }
    [data-hover="gloed"]:not([data-el="knop"]):hover, [data-hover="gloed"] > .yl-btn:hover { box-shadow: 0 0 30px color-mix(in srgb, var(--c-primary) 70%, transparent) !important; }
    [data-hover="zoom"] > img:hover, [data-hover="zoom"] > a:hover img, [data-hover="zoom"]:is([data-el="box"], .yl-col):hover img, [data-hover="zoom"] .yl-gallery img:hover { scale: 1.06; }
}
.yl-el[data-hover] > .yl-btn:focus-visible { translate: var(--h-move); scale: var(--h-scale); filter: var(--h-filter); }

/* In de editor staat alles stil, behalve wat geselecteerd is */
.is-editing :is(.yl-el, .yl-col)[data-scroll] { --a-scroll: none !important; }
.is-editing :is(.yl-el, .yl-col)[data-loop]:not(.yl-selected) { --a-loop: none !important; }
@media (prefers-reduced-motion: reduce) {
    :is(.yl-el, .yl-col, .yl-section) { animation: none !important; transition: none !important; translate: none !important; scale: none !important; }
    .yl-section { background-attachment: scroll !important; }
}

.yl-cookie-table { width: 100%; border-collapse: collapse; margin: 1em 0; }
.yl-cookie-table th, .yl-cookie-table td { text-align: left; padding: 8px 10px; border-bottom: 1px solid #dce7f1; vertical-align: top; }

/* Pagina's uit WordPress: een sectie zonder eigen opmaak, zodat ze er na bewerken hetzelfde uitzien */
.yl-section.yl-legacy { padding: 0; overflow: visible; isolation: auto; }
.yl-legacy > .yl-wrap { max-width: none; }
.yl-legacy .yl-cols, .yl-legacy .yl-col { display: block; }
