/*
Theme Name: Doortje
Theme URI: https://www.kdvdoortje.nl
Description: Bloktheme voor Kinderdagverblijf Doortje. Alle secties zijn gewone WordPress-blokken, zodat teksten, foto's en knoppen zelf aan te passen zijn. Met subtiele animaties op de voorkant.
Version: 1.0.0
Requires at least: 6.5
Tested up to: 6.8
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: doortje
*/

/* Basis: geldt op de site en in de editor. Animaties staan in assets/css/animaties.css */

/* Omgebouwde bouwstenen (bron/blokken.py): groepen met d-nb krijgen geen layout-klassen van WordPress en losse
   links/tekst staan alleen in de editor in een alinea (d-ink); zie functions.php. Zo is de HTML gelijk aan de oude versie. */
:where(.d-nb).wp-block-group { box-sizing: content-box; } /* zoals de oude div; even sterk als de regel van WordPress, bouwstenen in speels.css winnen */

:root {
	--d-line: #E3E7DC;
	--d-ease: cubic-bezier(.2, .7, .2, 1);
	--d-radius: 14px;
}

img { max-width: 100%; height: auto; }

/* Herbruikbare tekststijlen */
.d-eyebrow { font-size: 11.5px !important; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--wp--preset--color--groen-donker); line-height: 1.3; }
.d-muted { color: var(--wp--preset--color--grijs); }
.d-lead { font-size: var(--wp--preset--font-size--groot); color: #4a4d55; max-width: 46ch; }
.d-section { padding-top: var(--wp--preset--spacing--60) !important; padding-bottom: var(--wp--preset--spacing--60) !important; }
.d-section.d-tight-top { padding-top: 0 !important; }
.d-section > * + * { margin-block-start: 0; }
.d-section h2 { margin-block: .5rem .9rem; }

/* Rasters */
.d-grid { display: grid !important; gap: 16px; }
.d-grid > * { margin: 0 !important; min-width: 0; }
.d-grid-4 { grid-template-columns: repeat(4, 1fr); }
.d-grid-3 { grid-template-columns: repeat(3, 1fr); }
.d-grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 1000px) { .d-grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 781px) { .d-grid-3, .d-grid-2 { grid-template-columns: 1fr; } }
@media (max-width: 540px) { .d-grid-4 { grid-template-columns: 1fr; } }

/* Knoppen met pijltje */
.wp-block-button__link { transition: transform .25s var(--d-ease), box-shadow .25s, background .25s; display: inline-flex; gap: 18px; align-items: center; }
.wp-block-button__link:hover { transform: translateY(-2px); box-shadow: 0 8px 20px -10px rgba(73, 99, 144, .5); }
.d-arrow .wp-block-button__link::after { content: "↗"; transition: transform .3s var(--d-ease); }
.d-arrow .wp-block-button__link:hover::after { transform: translate(3px, -3px); }

/* Kop en menu */
.d-header { position: sticky; top: 0; z-index: 50; background: rgba(255, 255, 255, .92); backdrop-filter: blur(12px); border-bottom: 1px solid transparent; transition: border-color .3s, box-shadow .3s; }
.admin-bar .d-header { top: 32px; }
.d-header.is-scrolled { border-color: var(--d-line); box-shadow: 0 6px 24px -18px rgba(0, 0, 0, .4); }
.d-header .d-logo img { height: 44px; width: auto; transition: transform .4s var(--d-ease); }
.d-header .d-logo:hover img { transform: rotate(-3deg) scale(1.04); }
.d-header .wp-block-navigation-item__content { position: relative; }
.d-header .wp-block-navigation-item__content::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 2px; background: var(--wp--preset--color--groen); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--d-ease); }
.d-header .wp-block-navigation-item__content:hover::after { transform: scaleX(1); }

/* 1 Hero */
.d-hero { padding-top: var(--wp--preset--spacing--50) !important; padding-bottom: var(--wp--preset--spacing--50) !important; }
.d-hero-title { margin-block: 1rem 1.3rem !important; }
.d-arch { position: relative; max-width: 500px; margin-inline: auto; }
.d-arch-img { margin: 0 !important; aspect-ratio: 5 / 4.4; border-radius: 48% 48% 22px 22px / 42% 42% 22px 22px; overflow: hidden; background: var(--wp--preset--color--vlak-blauw); }
.d-arch-img img { width: 100%; height: 100% !important; object-fit: cover; }
.d-arch-card { position: absolute; left: 6%; bottom: -22px; background: #fff; border-radius: 12px; padding: 14px 20px !important; box-shadow: 0 18px 40px -18px rgba(30, 43, 69, .45); margin: 0 !important; }
.d-arch-card > * { margin: 0 !important; }
.d-arch-card p:first-child { font-family: var(--wp--preset--font-family--schreef); font-size: 1.15rem; line-height: 1.2; }
.d-arch-card p:last-child { font-size: 12.5px; color: var(--wp--preset--color--grijs); }

/* 2 Feitenstrook */
.d-facts { border-top: 1px solid var(--d-line); border-bottom: 1px solid var(--d-line); }
.d-facts .d-grid { gap: 0; }
.d-fact { padding: 26px 22px; border-left: 1px solid var(--d-line); }
.d-fact:first-child { border-left: 0; }
.d-fact > * { margin: 0 !important; }
.d-fact-big { font-family: var(--wp--preset--font-family--schreef); font-size: 1.7rem !important; line-height: 1.1; color: var(--wp--preset--color--blauw-donker); margin-bottom: 6px !important; }
.d-fact p:last-child { font-size: 13px; color: var(--wp--preset--color--grijs); line-height: 1.5; }
@media (max-width: 1000px) { .d-fact:nth-child(3) { border-left: 0; } .d-fact:nth-child(n+3) { border-top: 1px solid var(--d-line); } }
@media (max-width: 540px) { .d-fact { border-left: 0; border-top: 1px solid var(--d-line); } .d-fact:first-child { border-top: 0; } }

/* 3 Waarom, hoe, wat */
.d-whw { gap: 0 !important; border-radius: 16px; overflow: hidden; }
.d-whw-item { padding: 32px 28px 36px !important; position: relative; }
.d-whw-item::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: var(--d-c, var(--wp--preset--color--logoblauw)); transform-origin: left; }
.d-whw-item > * { margin-block: 0 .8rem !important; }
.d-whw-item h3 { font-family: var(--wp--preset--font-family--zonder-schreef); font-size: 1.18rem !important; font-weight: 600; line-height: 1.35; letter-spacing: 0; }
.d-whw-item p:not(.d-eyebrow) { font-size: 14.5px; color: #4a4d55; }
.d-whw-item .d-eyebrow { color: var(--d-c); }
.d-c-blue { --d-c: var(--wp--preset--color--blauw-donker); }
.d-c-green { --d-c: var(--wp--preset--color--groen); }
.d-c-orange { --d-c: var(--wp--preset--color--oranje); }
.d-c-logo { --d-c: var(--wp--preset--color--logoblauw); }

/* 4 Kompas */
.d-kompas { width: 100%; max-width: 440px; margin-inline: auto; }
.d-kompas svg { width: 100%; height: auto; display: block; overflow: visible; }
.d-kompas-naald-svg { transform-box: view-box; transform-origin: 200px 200px; transition: transform 1s cubic-bezier(.35, 1.45, .5, 1); }
.d-kompas-naald-svg .punt { transition: fill .4s; }
.d-kompas-richting { cursor: pointer; outline: none; }
.d-kompas-richting .binnen { transform-box: fill-box; transform-origin: center; transition: transform .45s cubic-bezier(.3, 1.6, .5, 1), opacity .3s; opacity: .82; }
.d-kompas-richting:hover .binnen, .d-kompas-richting:focus-visible .binnen { transform: scale(1.06); opacity: 1; }
.d-kompas-richting.is-actief .binnen { transform: scale(1.14); opacity: 1; }
.d-kompas-richting:focus-visible circle { stroke: #2E3138; }
.d-kompas-chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 14px; min-height: 40px; }
.d-kompas-chips span { padding: 7px 14px; border-radius: 999px; background: var(--kv, #fff); border: 2px solid var(--kc, #ccc); color: #2E3138; font-size: 14px; font-weight: 600; animation: d-chip-in .4s cubic-bezier(.3, 1.5, .5, 1) both; }
.d-kompas-chips span:nth-child(2) { animation-delay: .06s; } .d-kompas-chips span:nth-child(3) { animation-delay: .12s; }
@keyframes d-chip-in { from { opacity: 0; transform: translateY(8px) scale(.9); } to { opacity: 1; transform: none; } }
.d-pillar.hl { background: #F5F3EE; border-radius: 14px; }
@media (prefers-reduced-motion: reduce) { .d-kompas-naald-svg, .d-kompas-richting .binnen { transition: none; } .d-kompas-chips span { animation: none; } }
.d-pillars { margin-block: 1.6rem 1.8rem !important; }
.d-pillar { display: grid !important; grid-template-columns: 48px 1fr; gap: 16px; align-items: center; padding: 14px 10px; border-bottom: 1px solid var(--d-line); border-radius: 10px; margin: 0 !important; transition: background .3s, transform .3s var(--d-ease); }
.d-pillar > * { margin: 0 !important; }
.d-pillar.hl { background: var(--wp--preset--color--vlak-blauw); transform: translateX(6px); }
.d-pillar-num { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; color: #fff; font-family: var(--wp--preset--font-family--schreef); font-size: 1.1rem; background: var(--d-c); }
.d-pillar p:last-child { font-size: 13.5px; color: var(--wp--preset--color--grijs); }
.d-pillar p:last-child strong { display: block; color: var(--wp--preset--color--tekst); font-size: 14.5px; font-weight: 600; }

/* 5 All-inclusive */
.d-photo { border-radius: var(--d-radius); overflow: hidden; margin-top: 1.8rem !important; }
.d-photo img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform 1.2s var(--d-ease); }
.d-photo:hover img { transform: scale(1.06); }
.d-checks { list-style: none; padding: 0 !important; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 0; }
.d-checks li { background: #fff; border-radius: 10px; padding: 16px 16px 16px 48px; position: relative; font-size: 13.5px; font-weight: 500; line-height: 1.35; transition: transform .3s var(--d-ease), box-shadow .3s; }
.d-checks li:hover { transform: translateY(-3px); box-shadow: 0 10px 24px -16px rgba(73, 107, 61, .6); }
.d-checks li::before { content: ""; position: absolute; left: 16px; top: 50%; width: 22px; height: 22px; margin-top: -11px; border-radius: 50%; background: var(--wp--preset--color--groen) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 22 22'%3E%3Cpath d='M6.5 11.5l3 3 6-6.5' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 22px no-repeat; }
.d-pill { margin-top: 16px !important; border: 1.5px solid var(--wp--preset--color--oranje); background: var(--wp--preset--color--vlak-oranje); border-radius: 999px; padding: 12px 18px 12px 38px !important; font-size: 13.5px; position: relative; }
.d-pill::before { content: ""; position: absolute; left: 18px; top: 50%; width: 10px; height: 10px; margin-top: -5px; border-radius: 50%; background: var(--wp--preset--color--oranje); }
@media (max-width: 460px) { .d-checks { grid-template-columns: 1fr; } }

/* Kop met tekst rechts */
.d-split { margin-bottom: 2.2rem !important; }
.d-split .wp-block-column:last-child p { font-size: 14.5px; color: var(--wp--preset--color--grijs); }

/* 6 Kaarten */
.d-card { border-radius: var(--d-radius); padding: 26px 24px 30px !important; transition: transform .4s var(--d-ease); }
.d-card > * { margin-block: 0 .6rem !important; }
.d-card p:not(.d-eyebrow) { font-size: 14px; color: #4a4d55; }
.d-card .d-eyebrow { color: var(--wp--preset--color--grijs); }
.d-card:hover { transform: translateY(-5px) rotate(-.6deg); }

/* 7 Expertise */
.d-expert { border: 1px solid var(--d-line); border-radius: 16px; padding: clamp(24px, 4vw, 40px) !important; }
.d-experts { list-style: none; padding: 0 !important; margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.d-experts li { background: var(--wp--preset--color--vlak-groen); border-radius: 10px; padding: 14px 16px; font-size: 12.5px; color: var(--wp--preset--color--grijs); line-height: 1.5; transition: background .3s, transform .3s var(--d-ease); }
.d-experts li strong { display: block; font-size: 14px; color: var(--wp--preset--color--tekst); font-weight: 600; }
.d-experts li:hover { background: #E2E8D4; transform: translateX(4px); }
.d-experts li:last-child:nth-child(odd) { grid-column: 1 / -1; background: #fff; border: 1px dashed var(--d-line); }

/* 8 Grote foto */
.d-parallax { border-radius: 16px; overflow: hidden; margin: 0 !important; aspect-ratio: 16 / 9.5; }
.d-parallax img { width: 100%; height: 115% !important; object-fit: cover; will-change: transform; }
.d-big-quote { font-family: var(--wp--preset--font-family--schreef); font-size: clamp(1.4rem, 2.4vw, 1.8rem) !important; line-height: 1.3; }

/* 9 Locaties */
.d-loc { background: #fff; border-radius: var(--d-radius); overflow: hidden; display: flex !important; flex-direction: column; transition: transform .4s var(--d-ease), box-shadow .4s; }
.d-loc:hover { transform: translateY(-6px); box-shadow: 0 22px 40px -24px rgba(30, 43, 69, .45); }
.d-loc-img { margin: 0 !important; overflow: hidden; border-radius: 0 0 50% 50% / 0 0 14% 14%; }
.d-loc-img img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; transition: transform 1s var(--d-ease); }
.d-loc:hover .d-loc-img img { transform: scale(1.08); }
.d-loc-body { padding: 18px 18px 20px !important; display: flex !important; flex-direction: column; flex: 1; margin: 0 !important; }
.d-loc-body > * { margin: 0 0 4px !important; }
.d-loc-body .d-eyebrow { color: var(--wp--preset--color--grijs); font-size: 10.5px !important; }
.d-loc-body h3 { font-size: 1.3rem !important; }
.d-addr { font-size: 12.5px; color: var(--wp--preset--color--grijs); margin-bottom: 10px !important; }
.d-loc-groups { list-style: none; padding: 0 !important; margin: 0 0 14px !important; }
.d-loc-groups li { display: flex; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--wp--preset--color--grijs); padding: 7px 0; border-bottom: 1px solid var(--d-line); }
.d-loc-groups li strong { font-weight: 400; font-size: 13px; color: var(--wp--preset--color--tekst); }
.d-link { margin-top: auto !important; font-size: 13px; font-weight: 600; }
.d-link a { text-decoration: none; }
.d-link a::after { content: " ↗"; display: inline-block; transition: transform .3s var(--d-ease); }
.d-link a:hover::after { transform: translate(3px, -3px); }

/* 10 Video */
.d-video { border-radius: var(--d-radius); overflow: hidden; margin: 0 !important; }

/* 11 Ouders */
.d-quote { border-radius: var(--d-radius); padding: 28px !important; position: relative; overflow: hidden; border: 0 !important; margin: 0 !important; }
.d-quote::before { content: "\201C"; position: absolute; right: 18px; top: -18px; font: 400 9rem/1 var(--wp--preset--font-family--schreef); color: var(--wp--preset--color--blauw-donker); opacity: .2; transition: transform .6s var(--d-ease); }
.d-quote:hover::before { transform: translateY(10px) rotate(-6deg); }
.d-quote p { font-size: 15px; font-style: italic; }
.d-quote cite { font-size: 13px; color: var(--wp--preset--color--grijs); font-style: normal; }
.d-placeholder { display: inline-block; font-size: 10.5px !important; font-weight: 600; font-style: normal !important; letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--oranje); border: 1px solid var(--wp--preset--color--oranje); border-radius: 99px; padding: 5px 8px; }

/* 12 Praktisch */
.d-sticky { position: sticky; top: 110px; }
.d-faq { border-bottom: 1px solid var(--d-line); margin: 0 !important; interpolate-size: allow-keywords; }
.d-faq summary { list-style: none; cursor: pointer; padding: 18px 34px 18px 4px; font-weight: 500; font-size: 15px; position: relative; }
.d-faq summary::-webkit-details-marker { display: none; }
.d-faq summary::before, .d-faq summary::after { content: ""; position: absolute; right: 8px; top: 50%; width: 14px; height: 2px; background: var(--wp--preset--color--tekst); border-radius: 2px; transition: transform .35s var(--d-ease); }
.d-faq summary::after { transform: rotate(90deg); }
.d-faq[open] summary::after { transform: rotate(0); }
.d-faq > :not(summary) { padding: 0 4px 20px; font-size: 14.5px; color: #4a4d55; max-width: 60ch; margin: 0; }
@media (max-width: 781px) { .d-sticky { position: static; } }

/* 13 Afsluiter */
.d-closer { border-radius: 18px; padding: clamp(28px, 4vw, 44px) !important; position: relative; overflow: hidden; }
.d-closer h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem) !important; }
.d-closer .wp-block-column:last-child { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.d-closer .wp-block-column:last-child > * { margin: 0 !important; }
@media (max-width: 781px) { .d-closer .wp-block-column:last-child { align-items: flex-start; } }

/* Voettekst */
.d-footer { position: relative; background: #2E3B5E !important; color: #E8ECF5; margin-top: 60px !important; padding-block: 64px 26px !important; font-size: 14.5px; }
.d-footer::before { content: ""; position: absolute; left: 0; right: 0; top: -31px; height: 32px; background: #2E3B5E;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 30'%3E%3Cpath d='M0 30 L0 22 A18 18 0 0 1 34 16 A24 24 0 0 1 80 12 A20 20 0 0 1 118 18 A14 14 0 0 1 140 22 L140 30 Z'/%3E%3C/svg%3E") left bottom / 140px 32px repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 30'%3E%3Cpath d='M0 30 L0 22 A18 18 0 0 1 34 16 A24 24 0 0 1 80 12 A20 20 0 0 1 118 18 A14 14 0 0 1 140 22 L140 30 Z'/%3E%3C/svg%3E") left bottom / 140px 32px repeat-x; }
.d-footer .d-footer-kolommen { gap: 36px !important; }
.d-footer .d-footer-logo { background: #fff; border-radius: 22px; padding: 12px 16px; display: inline-block; margin: 0 0 16px !important; }
.d-footer .d-footer-logo img { width: 110px !important; height: auto; display: block; }
.d-footer-tekst { color: #C9D2E6; line-height: 1.6; margin: 0 0 10px !important; }
.d-footer-motto { font-family: var(--wp--preset--font-family--hand); font-size: 1.45rem !important; color: #FFC94D; margin: 0 !important; }
.d-footer .d-eyebrow { color: #FFC94D !important; margin-bottom: 12px !important; }
.d-footer ul { list-style: none; padding: 0; margin: 0; }
.d-footer li { margin-bottom: 9px; }
.d-footer a { color: #fff; text-decoration: none; }
.d-footer a:hover { color: #FFC94D; text-decoration: underline; text-underline-offset: 3px; }
.d-footer-locaties li { display: flex; flex-direction: column; margin-bottom: 11px; }
.d-footer-locaties a { font-weight: 600; }
.d-footer-locaties span { font-size: 13px; color: #AEB9D2; }
.d-footer-locaties span + span { font-size: 12px; opacity: .8; }
.d-footer-links a { font-weight: 500; }
.d-footer-contact a { font-weight: 600; }
.d-footer-knop .wp-block-button__link { background: #EC8B48 !important; color: #fff !important; border-radius: 999px !important; padding: 10px 20px !important; font-size: 14px !important; margin-top: 8px; }
.d-footer-knop .wp-block-button__link:hover { background: #FFC94D !important; color: #2E3B5E !important; text-decoration: none; }
.d-footer-onder { border-top: 1px solid rgba(255, 255, 255, .14); margin-top: 34px !important; padding-top: 18px; font-size: 13px; color: #AEB9D2; text-align: center; }
.d-footer-onder a { color: #AEB9D2; }
@media (max-width: 781px) { .d-footer .d-footer-kolommen { gap: 26px !important; } .d-footer { padding-block: 52px 22px !important; } }

.d-bg-blue { background: var(--wp--preset--color--vlak-blauw); }
.d-bg-green { background: var(--wp--preset--color--vlak-groen); }
.d-bg-green::before { color: var(--wp--preset--color--groen-donker); }

/* Gekleurde tekst in koppen zonder markeerstift-achtergrond */
.wp-block-heading mark { background: transparent !important; }

/* Tablet: knop in de kop verbergen zodat het menu op één regel past */
@media (max-width: 960px) { .d-header .wp-block-buttons { display: none; } }

/* Subpagina's */
.d-page-hero { padding-top: var(--wp--preset--spacing--50) !important; padding-bottom: var(--wp--preset--spacing--50) !important; }
.d-page-hero-plain { padding-bottom: var(--wp--preset--spacing--40) !important; }
.d-page-title { font-size: clamp(2.3rem, 5vw, 3.6rem) !important; margin-block: .6rem 1rem !important; }
.d-arch-small { max-width: 380px; }
.d-prose > * { max-width: 760px !important; }
.d-prose h2 { margin-top: 2.6rem !important; padding-top: 1.2rem; border-top: 1px solid var(--d-line); }
.d-prose h2:first-child { margin-top: 0 !important; border-top: 0; padding-top: 0; }
.d-prose h3 { font-size: 1.35rem !important; margin-top: 1.8rem !important; }
.d-prose p a, .d-prose li a { color: var(--wp--preset--color--blauw-donker); text-decoration-thickness: 1px; text-underline-offset: 3px; }
.d-timeline { list-style: none; padding: 0 !important; border-left: 2px solid var(--wp--preset--color--logoblauw); margin-left: 6px !important; }
.d-timeline li { position: relative; padding: 0 0 14px 22px; }
.d-timeline li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; border-radius: 50%; background: #fff; border: 2px solid var(--wp--preset--color--logoblauw); }
.d-timeline li strong { display: block; font-variant-numeric: tabular-nums; color: var(--wp--preset--color--blauw-donker); }
.d-card-link { display: flex !important; flex-direction: column; border: 1px solid var(--d-line); }
.d-card-link .d-link { margin-top: auto !important; }
.d-card-img { margin: -26px -24px 14px !important; overflow: hidden; border-radius: var(--d-radius) var(--d-radius) 0 0; }
.d-card-img img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform 1s var(--d-ease); }
.d-card-link:hover .d-card-img img { transform: scale(1.06); }
.d-note { background: var(--wp--preset--color--vlak-oranje); border: 1.5px dashed var(--wp--preset--color--oranje); border-radius: var(--d-radius); padding: 20px 22px !important; margin-top: 2rem !important; }
.d-note > * { margin: 0 0 .4rem !important; }

/* Uitklapmenu */
.d-header .wp-block-navigation__submenu-container { background: #fff !important; color: var(--wp--preset--color--tekst) !important; border: 1px solid var(--d-line) !important; border-radius: 12px; padding: 8px !important; box-shadow: 0 18px 40px -20px rgba(30, 43, 69, .4); min-width: 240px !important; }
.d-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: 8px 12px !important; border-radius: 8px; }
.d-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--vlak-blauw); }
.d-header .wp-block-navigation__submenu-container .wp-block-navigation-item__content::after { display: none; }
@media (max-width: 1100px) { .d-header .wp-block-buttons { display: none; } }

/* ===== Subpagina-secties ===== */
.d-sub { position: relative; }
.d-sub h2 { margin-top: 0 !important; }
.d-narrow > * { max-width: 760px; }

/* Kruimelpad */
.d-crumbs { font-size: 13px; color: var(--wp--preset--color--grijs); margin-bottom: .6rem !important; }
.d-crumbs a { text-decoration: none; color: var(--wp--preset--color--grijs); }
.d-crumbs a:hover { color: var(--wp--preset--color--groen-donker); }
.d-crumbs span { margin: 0 .35em; opacity: .5; }

/* Paginahero: decoratieve vormen */
.d-page-hero { position: relative; overflow: hidden; }
.d-page-hero::before, .d-page-hero::after { content: ""; position: absolute; border-radius: 50%; pointer-events: none; }
.d-page-hero::before { width: 280px; height: 280px; background: radial-gradient(circle, rgba(142,170,213,.35), transparent 70%); left: -80px; bottom: -120px; }
.d-page-hero::after { width: 18px; height: 18px; background: var(--wp--preset--color--oranje); left: 46%; top: 22%; }

/* Inhoudsmenu */
.d-toc { position: sticky; top: 76px; z-index: 30; background: rgba(255,255,255,.94); backdrop-filter: blur(10px); border-bottom: 1px solid var(--d-line); padding-block: 10px !important; }
.admin-bar .d-toc { top: 108px; }
.d-toc .d-eyebrow { display: none; }
.d-toc-links { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; margin: 0 !important; white-space: nowrap; }
.d-toc-links a { text-decoration: none; font-size: 13.5px; font-weight: 500; padding: 7px 14px; border-radius: 99px; border: 1.5px solid var(--d-line); transition: background .25s, border-color .25s, color .25s; }
.d-toc-links a:hover { border-color: var(--wp--preset--color--logoblauw); }
.d-toc-links a.is-active { background: var(--wp--preset--color--logoblauw); border-color: var(--wp--preset--color--logoblauw); color: #1E2B45; }

/* Foto naast tekst */
.d-zigzag { gap: clamp(28px, 5vw, 72px) !important; align-items: center; }
.d-media { position: relative; }
.d-media::after { content: ""; position: absolute; width: 64px; height: 64px; border-radius: 0 60% 0 60%; background: var(--wp--preset--color--groen); right: -14px; bottom: -14px; z-index: -0; opacity: .9; }
.d-zigzag.is-flipped .d-media::after { left: -14px; right: auto; background: var(--wp--preset--color--oranje); border-radius: 60% 0 60% 0; }
.d-media-img { margin: 0 !important; border-radius: 120px 120px 18px 18px; overflow: hidden; position: relative; z-index: 1; }
.d-zigzag.is-flipped .d-media-img { border-radius: 18px 120px 18px 120px; }
.d-media-img img { width: 100%; aspect-ratio: 4 / 4.4; object-fit: cover; }
@media (min-width: 782px) { .d-zigzag .wp-block-column:has(.d-media) { position: sticky; top: 140px; align-self: flex-start; } }

/* Uitgelicht: grote kop + zin */
.d-feature-title { font-size: clamp(2rem, 4vw, 3rem) !important; }
.d-pull { font-family: var(--wp--preset--font-family--schreef); font-size: clamp(1.25rem, 2vw, 1.55rem) !important; line-height: 1.35; color: var(--wp--preset--color--groen-donker); border-left: 3px solid var(--wp--preset--color--groen); padding-left: 18px; margin-top: 1.4rem !important; }

/* Groot citaat */
.d-statement-wrap { text-align: center; }
.d-statement { font-family: var(--wp--preset--font-family--schreef); font-size: clamp(1.8rem, 4.4vw, 3.2rem) !important; line-height: 1.15; max-width: 22ch; margin-inline: auto !important; text-wrap: balance; }
.d-statement::before, .d-statement::after { color: var(--wp--preset--color--oranje); }
.d-statement::before { content: "“"; }
.d-statement::after { content: "”"; }

/* Genummerde kaartjes */
.d-card-num { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--d-c); font-family: var(--wp--preset--font-family--schreef); font-size: 1.05rem !important; margin-bottom: .8rem !important; }
.d-card-anim { position: relative; overflow: hidden; }
.d-card-anim h3 { font-size: 1.3rem !important; }

/* Documentkaarten */
.d-doc { background: #fff; border: 1px solid var(--d-line); border-radius: var(--d-radius); padding: 22px 22px 20px 82px !important; position: relative; transition: transform .35s var(--d-ease), box-shadow .35s, border-color .35s; min-height: 120px; }
.d-doc > * { margin: 0 0 .4rem !important; }
.d-doc:hover { transform: translateY(-4px); box-shadow: 0 18px 34px -22px rgba(30,43,69,.5); border-color: var(--wp--preset--color--logoblauw); }
.d-doc-ext { position: absolute; left: 22px; top: 22px; width: 44px; height: 54px; border-radius: 6px 16px 6px 6px; background: var(--wp--preset--color--vlak-oranje); border: 1.5px solid var(--wp--preset--color--oranje); color: var(--wp--preset--color--oranje); font-size: 10.5px !important; font-weight: 600; letter-spacing: .08em; display: grid; place-items: end center; padding-bottom: 6px; transition: transform .35s var(--d-ease); }
.d-doc:hover .d-doc-ext { transform: rotate(-6deg) translateY(-3px); }
.d-doc-title { font-weight: 500; font-size: 14.5px; line-height: 1.4; }

/* Infostrook locatie */
.d-tight { padding-top: var(--wp--preset--spacing--40) !important; padding-bottom: 0 !important; }
.d-infostrip { background: #fff; border: 1px solid var(--d-line); border-radius: 16px; gap: 0 !important; margin-top: calc(-1 * var(--wp--preset--spacing--50)) !important; position: relative; z-index: 2; box-shadow: 0 18px 40px -28px rgba(30,43,69,.45); }
.d-info { padding: 20px 22px; border-left: 1px solid var(--d-line); }
.d-info:first-child { border-left: 0; }
.d-info > * { margin: 0 !important; }
.d-info-val { font-weight: 500; font-size: 15px; margin-top: 4px !important; }
@media (max-width: 1000px) { .d-info:nth-child(3) { border-left: 0; } .d-info:nth-child(n+3) { border-top: 1px solid var(--d-line); } }

/* Galerij */
.d-gallery { display: grid !important; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 180px; gap: 12px; margin-top: 1.6rem !important; }
.d-gallery > * { margin: 0 !important; }
.d-gal-img { border-radius: 14px; overflow: hidden; }
.d-gal-img img { width: 100%; height: 100% !important; object-fit: cover; transition: transform .8s var(--d-ease); }
.d-gal-img:hover img { transform: scale(1.08); }
.d-gallery .d-gal-img:nth-child(1) { grid-column: span 2; grid-row: span 2; }
.d-gallery .d-gal-img:nth-child(4) { grid-row: span 2; }
@media (max-width: 781px) { .d-gallery { grid-template-columns: 1fr 1fr; grid-auto-rows: 140px; } }

/* Tijdlijn, groter */
.d-timeline li { padding-bottom: 22px; }
.d-timeline li strong { font-size: 1.05rem; }
.d-tilt { transform: rotate(-2deg); max-width: 320px; }

.d-related h2 { margin-bottom: 1.6rem !important; }

.d-sub, .d-section[id] { scroll-margin-top: 150px; }

.d-gallery { grid-auto-flow: dense; }

/* =========================================================
   SPEELSE LOCATIEPAGINA (voorbeeld: Het Stationnetje)
   ========================================================= */
:root { --d-navy: #1E2B45; --d-sun: #FFC94D; }
.d-hand-note, .d-hand-hint, .d-polaroid-cap, .d-bubble { font-family: var(--wp--preset--font-family--hand); }

/* Hero */
.d-play-hero { position: relative; overflow: hidden; padding-top: var(--wp--preset--spacing--50) !important; padding-bottom: 0 !important; }
.d-play-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background:
  radial-gradient(circle at 8% 20%, var(--wp--preset--color--oranje) 0 5px, transparent 6px),
  radial-gradient(circle at 46% 12%, var(--wp--preset--color--groen) 0 7px, transparent 8px),
  radial-gradient(circle at 92% 30%, var(--d-sun) 0 6px, transparent 7px),
  radial-gradient(circle at 60% 70%, var(--wp--preset--color--logoblauw) 0 4px, transparent 5px); }
.d-ticket-label { display: inline-block; background: #fff; border: 1.5px dashed var(--wp--preset--color--blauw-donker); color: var(--wp--preset--color--blauw-donker); border-radius: 8px; padding: 6px 14px !important; font-size: 12.5px !important; font-weight: 600; letter-spacing: .06em; transform: rotate(-2deg); }
.d-play-title { font-size: clamp(3rem, 8vw, 6rem) !important; line-height: .95 !important; margin-block: 1rem 1.2rem !important; }
.d-play-title mark { position: relative; }
.d-play-title mark::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.12em; height: .22em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M2 14 Q 25 2 50 12 T 100 12 T 150 12 T 198 8' fill='none' stroke='%23EC8B48' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.d-hero-blob { margin: 0 !important; border-radius: 58% 42% 46% 54% / 48% 56% 44% 52%; overflow: hidden; border: 6px solid #fff; box-shadow: 0 30px 60px -30px rgba(30,43,69,.5); }
.d-hero-blob img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.d-bubble { position: relative; z-index: 3; justify-self: start; display: inline-block; background: #fff; border-radius: 22px; padding: 6px 18px !important; font-size: 1.6rem !important; color: var(--wp--preset--color--oranje); margin: 0 0 -24px 10% !important; box-shadow: 0 8px 20px -10px rgba(0,0,0,.3); }
.d-bubble::after { content: ""; position: absolute; left: 26px; bottom: -10px; border: 10px solid transparent; border-top-color: #fff; border-bottom: 0; }

/* Trein */
.d-train { display: flex !important; align-items: flex-end; gap: 10px; margin-top: 2.4rem !important; padding-inline: 0 !important; width: max-content; max-width: none !important; position: relative; z-index: 2; }
.d-train > * { margin: 0 !important; }
.d-loco { width: 190px; height: 118px; background: var(--wp--preset--color--oranje); border-radius: 16px 50px 10px 10px; position: relative; flex: none; }
.d-loco::before { content: ""; position: absolute; left: 22px; top: -34px; width: 30px; height: 40px; background: var(--d-navy); border-radius: 6px 6px 0 0; }
.d-loco::after { content: ""; position: absolute; right: 16px; top: 18px; width: 54px; height: 44px; background: #DDE8F7; border: 4px solid #fff; border-radius: 10px 26px 10px 10px; }
.d-loco-name { position: absolute; left: 14px; bottom: 30px; color: #fff; font-family: var(--wp--preset--font-family--hand); font-size: 1.35rem !important; transform: rotate(-4deg); margin: 0 !important; }
.d-wagon { width: 170px; height: 104px; background: var(--wp--preset--color--logoblauw); border-radius: 12px; position: relative; padding: 12px !important; flex: none; }
.d-wagon:nth-child(3) { background: var(--wp--preset--color--groen); }
.d-wagon:nth-child(4) { background: var(--d-sun); }
.d-wagon::before { content: ""; position: absolute; left: -12px; top: 60%; width: 14px; height: 6px; background: var(--d-navy); border-radius: 3px; }
.d-wagon-window { margin: 0 !important; height: 62px; border-radius: 10px; overflow: hidden; border: 3px solid #fff; }
.d-wagon-window img { width: 100%; height: 100% !important; object-fit: cover; }
.d-wagon-label { font-size: 11px !important; font-weight: 600; color: var(--d-navy); text-transform: uppercase; letter-spacing: .1em; margin: 4px 0 0 !important; }
/* Wielen */
.d-loco, .d-wagon { --wheel: radial-gradient(circle, #fff 0 4px, var(--d-navy) 5px 15px, transparent 16px); }
.d-wagon > .d-wagon-label::after, .d-loco > .d-loco-name::after { content: ""; position: absolute; }
.d-train .d-loco, .d-train .d-wagon { box-shadow: inset 0 -10px 0 rgba(0,0,0,.08); }
.d-train .d-wagon::after, .d-train .d-loco > p::before { content: ""; position: absolute; bottom: -16px; left: 18px; right: 18px; height: 32px; background: var(--wheel) left center / 32px 32px no-repeat, var(--wheel) right center / 32px 32px no-repeat; }
.d-train .d-loco > p::before { left: 0; right: -140px; bottom: -46px; background: var(--wheel) 4px center / 32px 32px no-repeat, var(--wheel) 60px center / 32px 32px no-repeat, var(--wheel) 130px center / 32px 32px no-repeat; }
.d-rails { height: 30px; margin: 10px 0 0 !important; max-width: none !important; background:
  linear-gradient(var(--d-navy), var(--d-navy)) left 6px / 100% 4px no-repeat,
  repeating-linear-gradient(90deg, #B98E63 0 14px, transparent 14px 40px) left 10px / 100% 14px no-repeat; }
@media (max-width: 781px) { .d-train { transform: scale(.62); transform-origin: left bottom; } }

/* Vertrekbord */
.d-board-wrap { padding-top: var(--wp--preset--spacing--40) !important; padding-bottom: 0 !important; }
.d-board { background: var(--d-navy); border-radius: 18px; padding: 22px 26px !important; display: grid !important; grid-template-columns: repeat(5, 1fr); gap: 10px 18px; box-shadow: 0 24px 50px -30px rgba(30,43,69,.8); border: 6px solid #2C3D5E; }
.d-board > * { margin: 0 !important; }
.d-board-head { grid-column: 1 / -1; color: var(--d-sun); font-size: 12px !important; letter-spacing: .2em; text-transform: uppercase; font-weight: 600; display: flex; align-items: center; gap: 10px; }
.d-board-head::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: #6BE07A; box-shadow: 0 0 10px #6BE07A; }
.d-board-row { color: #FFF6D8; font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 15px !important; line-height: 1.3; }
.d-board-row strong { display: block; color: #8EA3C8; font-family: var(--wp--preset--font-family--zonder-schreef); font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; font-weight: 600; margin-bottom: 4px; }
.d-board-row .d-ch { display: inline-block; background: #2A3A5B; border-radius: 3px; padding: 0 1px; margin-right: 1px; min-width: .62em; text-align: center; }
@media (max-width: 900px) { .d-board { grid-template-columns: repeat(2, 1fr); } }

/* Stickers */
.d-squiggle { position: relative; white-space: nowrap; }
.d-squiggle::after { content: ""; position: absolute; left: 0; right: 0; bottom: -.15em; height: .25em; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 20' preserveAspectRatio='none'%3E%3Cpath d='M2 12 Q 25 2 50 12 T 100 12 T 150 12 T 198 10' fill='none' stroke='%23729A47' stroke-width='5' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.d-stickers { display: grid !important; grid-template-columns: repeat(3, 1fr); gap: 26px; margin-top: 2.2rem !important; }
.d-stickers > * { margin: 0 !important; }
.d-sticker { border-radius: 28px; padding: 30px 26px !important; position: relative; transition: transform .4s cubic-bezier(.3,1.6,.5,1); }
.d-sticker:nth-child(1) { transform: rotate(-2.5deg); }
.d-sticker:nth-child(2) { transform: rotate(1.5deg) translateY(14px); }
.d-sticker:nth-child(3) { transform: rotate(-1deg); }
.d-sticker:hover { transform: rotate(0) scale(1.04); }
.d-sticker > * { margin: 0 0 .5rem !important; }
.d-sticker h3 { font-size: 1.4rem !important; }
.d-sticker p:last-child { font-size: 14.5px; }
.d-tint-orange { background: #FDE3CF; } .d-tint-blue { background: #DCE6F6; } .d-tint-green { background: #E0EBCF; }
.d-sticker-icon { width: 64px; height: 64px; border-radius: 20px; background: #fff center / 36px no-repeat; margin-bottom: 1rem !important; box-shadow: 0 6px 0 rgba(0,0,0,.06); }
.d-ic-house { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='none' stroke='%23EC8B48' stroke-width='3' stroke-linejoin='round'%3E%3Cpath d='M5 17 18 6l13 11v13H5z'/%3E%3Cpath d='M14 30v-8h8v8'/%3E%3C/svg%3E"); }
.d-ic-heart { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36'%3E%3Cpath d='M18 31S4 22 4 13a7 7 0 0 1 14-2 7 7 0 0 1 14 2c0 9-14 18-14 18z' fill='%238EAAD5'/%3E%3C/svg%3E"); }
.d-ic-book { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 36 36' fill='none' stroke='%23729A47' stroke-width='3' stroke-linejoin='round'%3E%3Cpath d='M4 8c5-2 10-2 14 2 4-4 9-4 14-2v20c-5-2-10-2-14 2-4-4-9-4-14-2z'/%3E%3Cpath d='M18 10v20'/%3E%3C/svg%3E"); }
@media (max-width: 781px) { .d-stickers { grid-template-columns: 1fr; } }

/* Route */
.d-route-section { position: relative; overflow: hidden; }
.d-hand-note { font-size: 1.8rem !important; color: var(--wp--preset--color--groen-donker); transform: rotate(-4deg); text-align: center; }
.d-route-map { position: relative; height: 200px; margin: 1rem 0 -40px !important; color: var(--wp--preset--color--groen-donker); }
.d-route-map > * { margin: 0 !important; }
.d-route-map::before { content: ""; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 220' preserveAspectRatio='none'%3E%3Cpath d='M10 160 C 150 20, 260 20, 360 110 S 560 210, 660 100 S 880 10, 990 120' fill='none' stroke='%23496B3D' stroke-width='4' stroke-dasharray='2 14' stroke-linecap='round'/%3E%3C/svg%3E") center / 100% 100% no-repeat; }
.d-cart { position: absolute; width: 96px; height: 66px; left: 0; top: 0; offset-path: path("M10 160 C 150 20, 260 20, 360 110 S 560 210, 660 100 S 880 10, 990 120"); offset-rotate: auto; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 74 50'%3E%3Cpath d='M6 10h46v22H6z' fill='%23EC8B48' stroke='%231E2B45' stroke-width='3' stroke-linejoin='round'/%3E%3Cpath d='M52 16l16-10' stroke='%231E2B45' stroke-width='3' stroke-linecap='round'/%3E%3Ccircle cx='16' cy='38' r='7' fill='%23fff' stroke='%231E2B45' stroke-width='3'/%3E%3Ccircle cx='42' cy='38' r='7' fill='%23fff' stroke='%231E2B45' stroke-width='3'/%3E%3Ccircle cx='20' cy='6' r='5' fill='%23FFC94D'/%3E%3Ccircle cx='34' cy='5' r='5' fill='%238EAAD5'/%3E%3C/svg%3E") center / contain no-repeat; }
@media (max-width: 781px) { .d-route-map { display: none; } }
.d-stops { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; position: relative; z-index: 1; }
.d-stops li { background: #fff; border-radius: 18px; padding: 18px 16px 18px; font-size: 13.5px; color: var(--wp--preset--color--grijs); line-height: 1.45; position: relative; transition: transform .35s cubic-bezier(.3,1.6,.5,1); }
.d-stops li::before { content: ""; position: absolute; top: -10px; left: 18px; width: 20px; height: 20px; border-radius: 50%; background: var(--wp--preset--color--groen); border: 4px solid #fff; box-shadow: 0 0 0 2px var(--wp--preset--color--groen); }
.d-stops li:nth-child(2n)::before { background: var(--wp--preset--color--oranje); box-shadow: 0 0 0 2px var(--wp--preset--color--oranje); }
.d-stops li:hover { transform: translateY(-6px) rotate(-1.5deg); }
.d-stops li strong { display: block; color: var(--wp--preset--color--tekst); font-size: 15px; margin: 6px 0 4px; }
@media (max-width: 1000px) { .d-stops { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .d-stops { grid-template-columns: 1fr; } }

/* Treinspoor dienstregeling */
.d-track-wrap { overflow-x: auto; padding: 30px 4px 10px !important; margin-top: 1.4rem !important; scrollbar-width: thin; }
.d-track { list-style: none; padding: 0 !important; display: grid; grid-template-columns: repeat(7, minmax(130px, 1fr)); gap: 0; position: relative; min-width: 920px; margin: 0; }
.d-track::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 6px; background: repeating-linear-gradient(90deg, var(--d-navy) 0 18px, transparent 18px 26px); border-radius: 3px; }
.d-track::after { content: ""; position: absolute; top: -18px; left: 0; width: 64px; height: 40px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 64 40'%3E%3Crect x='2' y='8' width='44' height='22' rx='6' fill='%23EC8B48'/%3E%3Crect x='8' y='0' width='9' height='10' rx='2' fill='%231E2B45'/%3E%3Crect x='28' y='12' width='12' height='9' rx='2' fill='%23DDE8F7'/%3E%3Cpath d='M46 14h10l6 8v8H46z' fill='%23EC8B48'/%3E%3Ccircle cx='14' cy='32' r='6' fill='%231E2B45'/%3E%3Ccircle cx='38' cy='32' r='6' fill='%231E2B45'/%3E%3C/svg%3E") center / contain no-repeat; }
.d-track li { position: relative; padding: 40px 14px 0 0; font-size: 14px; color: var(--wp--preset--color--grijs); line-height: 1.45; }
.d-track li::before { content: ""; position: absolute; left: 0; top: 7px; width: 20px; height: 20px; border-radius: 50%; background: #fff; border: 4px solid var(--wp--preset--color--logoblauw); }
.d-track li strong { display: block; font-family: var(--wp--preset--font-family--schreef); font-size: 1.5rem; color: var(--wp--preset--color--blauw-donker); font-variant-numeric: tabular-nums; font-weight: 400; }

/* Polaroids */
.d-polaroids { position: relative; height: 470px; }
.d-polaroids > * { margin: 0 !important; }
.d-polaroid { position: absolute; width: 56%; background: #fff; padding: 12px 12px 6px !important; box-shadow: 0 20px 40px -20px rgba(30,43,69,.5); transition: transform .5s cubic-bezier(.3,1.6,.5,1), z-index 0s; }
.d-polaroid::before { content: ""; position: absolute; top: -12px; left: 50%; width: 80px; height: 24px; margin-left: -40px; background: rgba(255, 201, 77, .7); transform: rotate(-3deg); }
.d-polaroid .wp-block-image { margin: 0 !important; }
.d-polaroid img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.d-polaroid-cap { text-align: center; font-size: 1.5rem !important; margin: 6px 0 0 !important; color: var(--wp--preset--color--blauw-donker); }
.d-tilt-l { left: 0; top: 30px; transform: rotate(-7deg); z-index: 1; }
.d-tilt-r { right: 0; top: 0; transform: rotate(6deg); z-index: 2; }
.d-tilt-l2 { left: 22%; top: 190px; transform: rotate(-2deg); z-index: 3; }
.d-polaroid:hover { transform: rotate(0) scale(1.06); z-index: 5; }
@media (max-width: 781px) { .d-polaroids { height: 400px; } .d-polaroid { width: 60%; } }

/* Ramen-galerij */
.d-windows { display: flex !important; gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 26px 4px 18px !important; cursor: grab; scrollbar-width: none; max-width: none !important; }
.d-windows.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.d-windows > * { margin: 0 !important; }
.d-window { flex: 0 0 min(380px, 78vw); scroll-snap-align: start; border-radius: 40px; overflow: hidden; border: 12px solid #fff; outline: 4px solid var(--wp--preset--color--logoblauw); box-shadow: 0 24px 40px -26px rgba(30,43,69,.6); transition: transform .4s var(--d-ease); }
.d-window img { width: 100%; aspect-ratio: 4 / 3.2; object-fit: cover; pointer-events: none; }
.d-window:hover { transform: translateY(-6px) rotate(-1deg); }
.d-hand-hint { font-size: 1.35rem !important; color: var(--wp--preset--color--blauw-donker); }
.d-hand-hint::before { content: "↔ "; }

/* Buren */
.d-tight-section { padding-top: var(--wp--preset--spacing--40) !important; padding-bottom: var(--wp--preset--spacing--40) !important; text-align: center; }
.d-friends { display: flex !important; justify-content: center; align-items: center; gap: 0; flex-wrap: wrap; }
.d-friends > * { margin: 0 !important; }
.d-friend { border-radius: 99px; padding: 12px 22px !important; font-weight: 600; font-size: 15px; }
.d-friend-link { width: 70px; height: 4px; background: repeating-linear-gradient(90deg, var(--wp--preset--color--groen) 0 8px, transparent 8px 14px); }
.d-friends-text { max-width: 560px; margin: 1.2rem auto 0 !important; color: var(--wp--preset--color--grijs); }
.d-friends-text a { color: var(--wp--preset--color--blauw-donker); }

/* Treinkaartje */
.d-ticket { display: grid !important; grid-template-columns: 1.6fr 1fr; background: var(--d-sun); border-radius: 26px; position: relative; overflow: visible; box-shadow: 0 30px 60px -36px rgba(30,43,69,.7); transform: rotate(-1deg); }
.d-ticket > * { margin: 0 !important; }
.d-ticket-main { padding: clamp(28px, 4vw, 48px) !important; }
.d-ticket-main h2 { font-size: clamp(2.2rem, 5vw, 3.4rem) !important; }
.d-ticket-main .d-eyebrow { color: var(--d-navy); }
.d-ticket-stub { padding: clamp(28px, 4vw, 48px) !important; border-left: 4px dashed rgba(30,43,69,.35); position: relative; background: #FFDB86; border-radius: 0 26px 26px 0; }
.d-ticket-stub > * { margin: 0 0 .5rem !important; }
.d-ticket-stub::before, .d-ticket-stub::after { content: ""; position: absolute; left: -18px; width: 32px; height: 32px; border-radius: 50%; background: #fff; }
.d-ticket-stub::before { top: -16px; } .d-ticket-stub::after { bottom: -16px; }
.d-stamp { position: absolute; right: 24px; top: -26px; width: 104px; height: 104px; border-radius: 50%; border: 4px solid var(--wp--preset--color--oranje); color: var(--wp--preset--color--oranje); display: grid; place-items: center; font-family: var(--wp--preset--font-family--hand); font-size: 2rem !important; transform: rotate(14deg); background: rgba(255,255,255,.6); margin: 0 !important; }
@media (max-width: 781px) { .d-ticket { grid-template-columns: 1fr; } .d-ticket-stub { border-left: 0; border-top: 4px dashed rgba(30,43,69,.35); border-radius: 0 0 26px 26px; } .d-ticket-stub::before, .d-ticket-stub::after { display: none; } }

/* Mobiel: niets mag zijwaarts uitsteken (clip houdt sticky werkend) */
html, body { overflow-x: clip; }
@media (max-width: 600px) {
  .d-board { grid-template-columns: 1fr; }
  .d-board-row { font-size: 13.5px !important; white-space: nowrap; }
  .d-board-row strong { display: inline-block; width: 64px; margin: 0; }
  .d-stamp { width: 80px; height: 80px; right: 14px; top: -20px; font-size: 1.6rem !important; }
  .d-tilt-r { right: 4px; }
}

/* Kop blijft bovenaan: het omhulsel van het template-onderdeel moet plakken, niet de kop zelf */
.wp-block-template-part:has(> .d-header) { position: sticky; top: 0; z-index: 50; }
.admin-bar .wp-block-template-part:has(> .d-header) { top: 32px; }
@media (max-width: 782px) { .admin-bar .wp-block-template-part:has(> .d-header) { top: 46px; } }
.d-header, .admin-bar .d-header { position: relative; top: auto; }

/* Confetti-stipjes achter de tekst houden (niet over letters heen) */
.d-play-hero::before { z-index: 0; }
.d-play-hero > .wp-block-columns { position: relative; z-index: 1; }

/* Lange woorden in paginatitels netjes afbreken (Privacy-verklaring, Beleids-documenten) i.p.v. midden in het woord */
.d-play-title { overflow-wrap: normal; word-break: normal; -webkit-hyphens: auto; hyphens: auto; hyphenate-limit-chars: 10 4 4; }

/* Vimeo: klik-om-af-te-spelen (laadt de speler pas na een klik) */
.d-video-facade .wp-block-embed__wrapper { position: relative; aspect-ratio: 16 / 9; border-radius: 24px; overflow: hidden; background: radial-gradient(circle at 30% 30%, #FFE7D3 0 18%, transparent 19%), radial-gradient(circle at 80% 75%, #DCE8C8 0 22%, transparent 23%), var(--wp--preset--color--vlak-blauw, #EEF2FA); }
.d-video-facade .wp-block-embed__wrapper::before { display: none; }
.d-video-play { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: transparent; cursor: pointer; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 14px; font: 600 1.1rem var(--wp--preset--font-family--poppins, Poppins), sans-serif; color: var(--wp--preset--color--blauw-donker, #496390); }
.d-video-knop { width: 86px; height: 86px; border-radius: 50%; background: var(--wp--preset--color--oranje, #EC8B48); box-shadow: 0 12px 30px rgba(236, 139, 72, .35); position: relative; transition: transform .25s; }
.d-video-knop::after { content: ""; position: absolute; left: 36px; top: 27px; border-style: solid; border-width: 16px 0 16px 26px; border-color: transparent transparent transparent #fff; }
.d-video-play:hover .d-video-knop, .d-video-play:focus-visible .d-video-knop { transform: scale(1.08); }

/* Lange woorden in koppen netjes afbreken op smalle schermen (Nederlandse woordafbreking) */
@media (max-width: 700px) {
	h1, h2, h3, .wp-block-heading { hyphens: auto; -webkit-hyphens: auto; overflow-wrap: break-word; hyphenate-limit-chars: 10 4 4; }
}

/* Expertise dichtbij: lijstje met gekleurde icoontjes */
.d-expert { border: 0 !important; background: #FBF8F2; border-radius: 28px !important; }
.d-experts-lijst { display: grid !important; grid-template-columns: 1fr 1fr; gap: 12px; }
.d-experts-lijst > * { margin: 0 !important; }
.d-expert-item { display: flex !important; align-items: center; gap: 14px; background: #fff !important; border-radius: 18px; padding: 14px 16px !important; box-shadow: 0 8px 20px -16px rgba(30, 43, 69, .45); transition: transform .3s var(--d-ease); }
.d-expert-item:hover { transform: translateY(-3px); }
.d-expert-item > * { margin: 0 !important; }
.d-expert-item { position: relative; }
.d-expert-item::before { content: ""; position: absolute; left: 16px; top: 50%; width: 44px; height: 44px; margin-top: -22px; border-radius: 14px; background: var(--tint); }
.d-expert-item .d-icon { flex: none; position: relative; z-index: 1; width: 24px; height: 24px; margin: 0 10px !important; background: var(--ink) !important; }
.d-expert-tekst { font-size: 13.5px !important; line-height: 1.45; color: var(--wp--preset--color--grijs); }
.d-expert-tekst strong { display: block; font-size: 15px; font-weight: 600; color: var(--wp--preset--color--tekst); hyphens: auto; -webkit-hyphens: auto; }
.d-expert-ouder { grid-column: 1 / -1; background: transparent !important; box-shadow: none; border: 2px dashed #D9DEE8; }
.d-expert-ouder { --tint: #EEF2FA; --ink: #496390; }
@media (max-width: 600px) { .d-experts-lijst { grid-template-columns: 1fr; } }

/* Veelgestelde vragen: kaartjes met een gekleurd vraagteken, antwoord als tekstballon */
.d-faq { border: 0 !important; background: #fff; border-radius: 20px; margin: 0 0 10px !important; box-shadow: 0 8px 22px -18px rgba(30, 43, 69, .5); transition: background .3s, box-shadow .3s; --vk: #8EAAD5; --vv: #EEF2FA; }
.d-faq:nth-of-type(4n+2) { --vk: #EC8B48; --vv: #FCF0E6; } .d-faq:nth-of-type(4n+3) { --vk: #729A47; --vv: #EEF1E6; } .d-faq:nth-of-type(4n+4) { --vk: #E0A800; --vv: #FFF6D9; }
.d-faq summary { display: flex; align-items: center; gap: 14px; padding: 16px 52px 16px 16px !important; font-weight: 600 !important; font-size: 15.5px !important; line-height: 1.35; }
.d-faq summary .d-vraagteken, .d-faq summary::marker { display: none; }
.d-faq summary > :first-child { flex: 1; }
.d-faq summary { background-image: none; }
.d-faq summary::before { content: "?"; position: static !important; flex: none; width: 34px !important; height: 34px !important; border-radius: 50%; background: var(--vk) !important; color: #fff; font: 600 17px/34px var(--wp--preset--font-family--schreef); text-align: center; transform: none !important; }
.d-faq summary::after { content: "+"; position: absolute !important; right: 18px !important; top: 50% !important; width: 28px !important; height: 28px !important; margin-top: -14px; border-radius: 50%; background: var(--vv) !important; color: var(--wp--preset--color--tekst); font: 500 20px/28px var(--wp--preset--font-family--zonder-schreef); text-align: center; transform: none !important; transition: transform .35s var(--d-ease) !important; }
.d-faq[open] summary::after { transform: rotate(45deg) !important; }
.d-faq[open] { background: var(--vv); box-shadow: none; }
.d-faq > :not(summary) { position: relative; margin: 0 16px 16px 64px !important; padding: 14px 16px !important; background: #fff; border-radius: 16px 16px 16px 4px; font-size: 15px !important; line-height: 1.6; color: #3d4048; max-width: none !important; }
.d-faq > :not(summary) a { color: var(--wp--preset--color--blauw-donker); font-weight: 600; }
@media (max-width: 600px) { .d-faq > :not(summary) { margin-left: 16px !important; } }
.d-faq[open] { padding-bottom: 16px !important; }
.d-faq[open] > :not(summary) { margin-bottom: 0 !important; }

/* Veelgestelde vragen: een icoontje per onderwerp in plaats van een vraagteken */
.d-faq.d-faq-ic-bag summary::before { content: "" !important; background: var(--vk) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 8h12l1 13H5z M9 8V6a3 3 0 0 1 6 0v2 M9 13h6'/%3E%3C/svg%3E") center / 20px no-repeat !important; }
.d-faq.d-faq-ic-clock summary::before { content: "" !important; background: var(--vk) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 1 1 0 18 9 9 0 0 1 0-18z M12 7v5l3 2'/%3E%3C/svg%3E") center / 20px no-repeat !important; }
.d-faq.d-faq-ic-hands summary::before { content: "" !important; background: var(--vk) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 12V6a1.5 1.5 0 0 1 3 0v5 M10 11V4.5a1.5 1.5 0 0 1 3 0V11 M13 11V5.5a1.5 1.5 0 0 1 3 0V12 M16 12V8a1.5 1.5 0 0 1 3 0v6a7 7 0 0 1-7 7h-1a6 6 0 0 1-5-3l-2.5-4a1.5 1.5 0 0 1 2.6-1.5L7 14'/%3E%3C/svg%3E") center / 20px no-repeat !important; }
.d-faq.d-faq-ic-euro summary::before { content: "" !important; background: var(--vk) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M17 6a7 7 0 1 0 0 12 M4 10h10 M4 14h10'/%3E%3C/svg%3E") center / 20px no-repeat !important; }
.d-faq.d-faq-ic-thermo summary::before { content: "" !important; background: var(--vk) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M10 14V5a2 2 0 0 1 4 0v9a4 4 0 1 1-4 0z M12 9v8'/%3E%3C/svg%3E") center / 20px no-repeat !important; }
.d-faq.d-faq-ic-eye summary::before { content: "" !important; background: var(--vk) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s4-7 10-7 10 7 10 7-4 7-10 7S2 12 2 12z M12 9a3 3 0 1 1 0 6 3 3 0 0 1 0-6z'/%3E%3C/svg%3E") center / 20px no-repeat !important; }



body.home .wp-site-blocks > main { margin-top: 0 !important; }
