/* ==========================================================================
   Whyzzle Blocks – aanvullende stijlen
   Alles wat theme.json niet kan. Geen frameworks, geen JS-afhankelijkheden.
   ========================================================================== */

:root {
	--wz-radius: var(--wp--custom--radius--card, 27px);
	--wz-ease: var(--wp--custom--easing);
	--wz-gutter: clamp(18px, 2.5vw, 36px);
	--wz-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.4'%3E%3Cpath d='M1 8h13M9 3l5 5-5 5'/%3E%3C/svg%3E");
	--wz-chevron: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23000' stroke-width='1.6'%3E%3Cpath d='M6 3l5 5-5 5'/%3E%3C/svg%3E");
}

body { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility; }
img { height: auto; }
.screen-reader-text:focus { clip-path: none; }
:where(.wp-site-blocks) > * { margin-block-start: 0; }

/* Skip link */
.skip-link.screen-reader-text:focus { background: var(--wp--preset--color--lime); color: var(--wp--preset--color--petrol); padding: 12px 20px; z-index: 1000; }

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.wz-header {
	position: relative;
	z-index: 100;
	min-height: var(--wp--custom--header--height);
	border-bottom: 1px solid var(--wp--preset--color--line);
	background: var(--wp--preset--color--white);
}
.wz-header > .wz-header__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	min-height: var(--wp--custom--header--height);
	padding-inline: 36px;
}
.wz-header .wp-block-social-links { justify-self: start; position: relative; z-index: 2; }
.wz-header .wp-block-site-logo { justify-self: center; position: relative; z-index: 2; }
.wz-header .wp-block-site-logo img { height: 70px; width: auto; }
.wz-header .wp-block-navigation { justify-self: end; }

/* Social icons (header + menu + footer) */
.wp-block-social-links.is-style-logos-only .wp-social-link { color: currentColor; }
.wp-block-social-links .wp-social-link svg { width: 23px; height: 23px; }
.wp-block-social-links.is-style-logos-only .wp-social-link a { padding: 0; }
.wz-header .wp-block-social-links { color: var(--wp--preset--color--petrol); }

/* Hamburger: drie dunne lijnen van 28px, zoals het huidige thema */
.wp-block-navigation__responsive-container-open { width: 28px; height: 28px; position: relative; color: var(--wp--preset--color--petrol); }
.wp-block-navigation__responsive-container-open svg { opacity: 0; }
.wp-block-navigation__responsive-container-open::before {
	content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 2px; margin-top: -1px;
	background: currentColor; box-shadow: 0 -7px 0 currentColor, 0 7px 0 currentColor; transform: scaleY(.75);
}

/* Overlay-menu (desktop): wit waas over de pagina, header blijft zichtbaar */
.wz-header .wp-block-navigation__responsive-container.is-menu-open {
	z-index: 1;
	background: rgb(255 255 255 / .93) !important;
	padding: calc(var(--wp--custom--header--height) + 100px) 0 48px 156px;
	animation: wz-fade .25s ease-out both;
}
.wz-header .is-menu-open .wp-block-navigation__responsive-container-content { align-items: flex-start; padding-top: 0 !important; }
.wz-header .is-menu-open .wp-block-navigation__container { gap: 6px !important; align-items: flex-start !important; }
.wz-header .is-menu-open .wp-block-navigation-item__content {
	font-family: var(--wp--preset--font-family--body);
	font-size: 31.5px; font-weight: 600; line-height: 1.6; letter-spacing: -0.01em;
	color: var(--wp--preset--color--petrol-alt);
	padding: 0 !important;
	transition: color .2s var(--wz-ease);
}
.wz-header .is-menu-open .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--green); }
.wz-header .is-menu-open .wp-block-navigation__submenu-container { padding: 4px 0 8px 20px !important; gap: 2px; }
.wz-header .is-menu-open .wp-block-navigation__submenu-container .wp-block-navigation-item__content { font-size: 20px; color: var(--wp--preset--color--ink); }
/* Submenu "Diensten" ingeklapt tot erop geklikt wordt */
.wz-header .is-menu-open .wp-block-navigation-submenu__toggle[aria-expanded="false"] ~ .wp-block-navigation__submenu-container { display: none !important; }
.wz-header .is-menu-open .wp-block-navigation-submenu__toggle { font-size: 31.5px; font-weight: 600; color: var(--wp--preset--color--petrol-alt); padding: 0; }
.wz-header .is-menu-open .wp-block-navigation-submenu__toggle .wp-block-navigation__submenu-icon { display: none; }
.wz-header .wp-block-navigation__responsive-close { max-width: none; }
.wz-header .wp-block-navigation__responsive-container-close {
	position: fixed; top: 41px; right: 20px;
	width: 60px; height: 60px; border-radius: 50%;
	background: rgb(224 235 0 / .55); color: var(--wp--preset--color--petrol);
	display: grid; place-items: center;
}
.wz-header .wp-block-navigation__responsive-container-close svg { width: 34px; height: 34px; }
.wz-menu-social { margin-top: 48px !important; color: var(--wp--preset--color--petrol); }
.wz-header .wp-block-navigation:not(.is-menu-open) .wz-menu-social { display: none; }
@keyframes wz-fade { from { opacity: 0; } to { opacity: 1; } }

@media (max-width: 781px) {
	.wz-header, .wz-header > .wz-header__inner { min-height: 125px; }
	.wz-header > .wz-header__inner { grid-template-columns: auto 1fr; padding-inline: 36px 36px; }
	.wz-header > .wz-header__inner > .wp-block-social-links { display: none; }
	.wz-header .wp-block-site-logo { justify-self: start; }
	
	.wz-header { border-bottom: 0; }
	/* Off-canvas van rechts */
	.wz-header .wp-block-navigation__responsive-container.is-menu-open {
		left: 45px; padding: 60px 24px 40px 45px; background: #fff !important;
		box-shadow: -20px 0 40px rgb(0 0 0 / .18);
		animation: wz-slide .3s var(--wz-ease) both;
	}
	.wz-header .is-menu-open .wp-block-navigation-item__content,
	.wz-header .is-menu-open .wp-block-navigation-submenu__toggle { font-size: 20px; font-weight: 600; line-height: 1.9; }
	.wz-header .wp-block-navigation__responsive-container-close { position: absolute; top: 18px; right: 22px; background: transparent; width: 40px; height: 40px; }
	.wz-header .wp-block-navigation__responsive-container-close svg { width: 30px; height: 30px; }
	.wz-menu-social { margin-top: 36px !important; }
}
@keyframes wz-slide { from { transform: translateX(100%); } to { transform: none; } }

/* --------------------------------------------------------------------------
   Knoppen – pijl standaard, stijlen "Donker", "Rand", "Zonder pijl"
   -------------------------------------------------------------------------- */
.wp-element-button, .wp-block-button__link {
	display: inline-flex; align-items: center; gap: 10px;
	transition: color .2s var(--wz-ease), background-color .2s var(--wz-ease), border-color .2s var(--wz-ease);
	box-shadow: none;
}
.wp-block-button:not(.is-style-no-arrow) .wp-block-button__link::after {
	content: ""; width: 16px; height: 16px; flex: none;
	background: currentColor; -webkit-mask: var(--wz-arrow) center / contain no-repeat; mask: var(--wz-arrow) center / contain no-repeat;
	transition: transform .2s var(--wz-ease);
}
.wp-block-button .wp-block-button__link:hover::after { transform: translateX(3px); }
.wp-block-button.is-style-dark .wp-block-button__link { background: var(--wp--preset--color--petrol); border-color: var(--wp--preset--color--petrol); color: #fff; }
.wp-block-button.is-style-dark .wp-block-button__link:hover { background: transparent; color: var(--wp--preset--color--petrol); }
.wp-block-button.is-style-outline .wp-block-button__link { background: transparent; color: currentColor; border-color: currentColor; }

/* Scroll-pijl naar beneden in hero's */
.wz-scroll-down a { display: inline-block; width: 44px; height: 56px; color: #fff; }
.wz-scroll-down svg { width: 100%; height: 100%; }

/* --------------------------------------------------------------------------
   Kaarten & hero
   -------------------------------------------------------------------------- */
.is-style-card, .is-style-card-lime, .is-style-hero { border-radius: var(--wz-radius); overflow: hidden; }
.is-style-card-lime { background: var(--wp--preset--color--lime); position: relative; isolation: isolate; color: var(--wp--preset--color--petrol); }
.is-style-card-lime::before {
	/* zachte schaduwgloed links/boven zoals in het origineel */
	content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
	background:
		radial-gradient(28% 70% at 0% 40%, rgb(150 160 0 / .55), transparent 70%),
		radial-gradient(35% 45% at 95% 100%, rgb(190 200 0 / .35), transparent 70%);
}

.is-style-hero { position: relative; isolation: isolate; color: #fff; }
.wp-block-cover.is-style-hero { background-color: #fff; }
.is-style-hero .wp-block-cover__image-background { filter: none; }
.is-style-hero::after {
	/* Bewegende gloed (vervangt het canvas-script van Uncode, 0 KB JS) */
	content: ""; position: absolute; inset: -20%; z-index: 1; pointer-events: none; opacity: .85;
	background:
		radial-gradient(closest-side, rgb(224 235 0 / .7), rgb(224 235 0 / 0)) 60% 50% / 40% 55% no-repeat,
		radial-gradient(closest-side, rgb(0 130 56 / .8), rgb(0 130 56 / 0)) 2% 60% / 30% 60% no-repeat,
		radial-gradient(closest-side, rgb(224 235 0 / .45), rgb(224 235 0 / 0)) 70% 4% / 34% 26% no-repeat;
	filter: blur(18px);
	animation: wz-glow 22s ease-in-out infinite alternate;
	will-change: transform;
}
.is-style-hero > .wp-block-cover__inner-container, .is-style-hero > :not(.wp-block-cover__background):not(.wp-block-cover__image-background) { position: relative; z-index: 2; }
@keyframes wz-glow {
	0% { transform: translate3d(0, 0, 0) scale(1); }
	50% { transform: translate3d(-6%, 5%, 0) scale(1.08); }
	100% { transform: translate3d(5%, -4%, 0) scale(.96); }
}
.wz-hero--page::after {
	background:
		radial-gradient(closest-side, rgb(224 235 0 / .95), rgb(224 235 0 / 0)) 22% 45% / 44% 70% no-repeat,
		radial-gradient(closest-side, rgb(0 130 56 / .55), rgb(0 130 56 / 0)) 90% 0% / 40% 40% no-repeat;
}

/* Kaarten en hero's liggen 18px van de schermrand, ongeacht de paginamarge */
.has-global-padding > .alignfull.is-style-hero,
.has-global-padding > .alignfull.is-style-card-lime {
	margin-left: calc(var(--wp--style--root--padding-left) * -1 + 18px) !important;
	margin-right: calc(var(--wp--style--root--padding-right) * -1 + 18px) !important;
	width: auto; max-width: none;
}

/* Hero-typografie */
.wz-hero__kicker { font-family: var(--wp--preset--font-family--body); font-weight: 500; letter-spacing: -0.02em; line-height: 1 !important; }
.wz-hero__title { line-height: 1 !important; letter-spacing: -0.02em; }
.wz-hero__title mark, .has-lime-accent mark { background: none; color: var(--wp--preset--color--lime); }

@media (prefers-reduced-motion: reduce) {
	.is-style-hero::after { animation: none; }
}

/* --------------------------------------------------------------------------
   Typografie-stijlen
   -------------------------------------------------------------------------- */
.is-style-eyebrow { font-size: var(--wp--preset--font-size--large) !important; line-height: 1.2 !important; }
.is-style-lead { font-size: var(--wp--preset--font-size--intro); font-weight: 300; line-height: 1.5; letter-spacing: -0.05em; color: var(--wp--preset--color--ink); }

/* Tekst die oplicht tijdens het scrollen (CSS scroll-driven animation, geen JS).
   Browsers zonder ondersteuning tonen de tekst gewoon volledig. */
@supports (animation-timeline: view()) {
	.is-style-reveal {
		color: var(--wp--preset--color--ink);
		animation: wz-reveal linear both;
		animation-timeline: view();
		animation-range: entry 10% cover 45%;
	}
	@keyframes wz-reveal { from { opacity: .12; } to { opacity: 1; } }
	@media (prefers-reduced-motion: reduce) { .is-style-reveal { animation: none; } }
}

/* --------------------------------------------------------------------------
   Lijsten
   -------------------------------------------------------------------------- */
.is-style-plain { list-style: none; padding-left: 0 !important; }
.is-style-lined { list-style: none; padding: 0 !important; margin: 0; }
.is-style-lined > li { border-top: 1px solid currentColor; }
.is-style-lined > li > a {
	display: inline-flex; align-items: center; gap: 10px; padding: 18px 0 19px;
	font-family: var(--wp--preset--font-family--body); font-size: var(--wp--preset--font-size--large); font-weight: 500; letter-spacing: -0.02em; line-height: 1.5;
}
.is-style-lined > li > a::after {
	content: ""; width: 15px; height: 15px; background: currentColor;
	-webkit-mask: var(--wz-arrow) center / contain no-repeat; mask: var(--wz-arrow) center / contain no-repeat;
	transition: transform .2s var(--wz-ease);
}
.is-style-lined > li > a:hover::after { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Sliders (cases, nieuws, galerij) – native scroll-snap, geen JS
   -------------------------------------------------------------------------- */
.is-style-carousel {
	display: flex !important; flex-wrap: nowrap !important; gap: 18px !important;
	overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
	scrollbar-width: none; padding-bottom: 8px;
	/* links uitgelijnd met de inhoud (--wz-cs = breedte van de sectie), rechts door tot de schermrand */
	--wz-cs: 1224px;
	max-width: none !important;
	margin-left: max(0px, calc((100% - var(--wz-cs)) / 2)) !important;
	margin-right: calc(50% - 50vw) !important;
	padding-right: var(--wp--style--root--padding-right) !important;
}
.wz-cases .is-style-carousel { --wz-cs: 1296px; }
.wz-news .is-style-carousel { --wz-cs: 1128px; }
.is-style-carousel::-webkit-scrollbar { display: none; }
.is-style-carousel > * { scroll-snap-align: start; flex: 0 0 auto; margin: 0 !important; }
.wz-cases .is-style-carousel > * { width: 256px; }
.wz-cases .wp-block-post-featured-image img { border-radius: 18px; aspect-ratio: 1; object-fit: cover; }
.wz-cases .wp-block-post-title { text-align: center; margin-top: 36px; }
.wz-news .is-style-carousel > * { width: min(452px, 82vw); }
.wz-news .is-style-carousel { gap: 36px !important; }
.wz-news .wp-block-post-featured-image img { aspect-ratio: 16 / 9; object-fit: cover; }
.wp-block-gallery.is-style-carousel > figure { width: min(576px, 80vw) !important; }
.wp-block-gallery.is-style-carousel { gap: 72px !important; }
.wp-block-gallery.is-style-carousel img { border-radius: 0 !important; aspect-ratio: 3 / 2; object-fit: cover; width: 100% !important; height: auto !important; }

/* Logo-band die oneindig doorloopt */
.wz-marquee { overflow: hidden; -webkit-mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); mask: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.wz-marquee > .wp-block-group { display: flex; flex-wrap: nowrap !important; width: max-content; gap: 0 !important; animation: wz-marquee 40s linear infinite; }
.wz-marquee figure { flex: none; width: 273px; margin: 0 !important; display: grid; place-items: center; }
.wz-marquee img { width: 180px !important; height: 90px !important; object-fit: contain; }
.wz-marquee:hover > .wp-block-group { animation-play-state: paused; }
@keyframes wz-marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .wz-marquee > .wp-block-group { animation: none; flex-wrap: wrap !important; width: auto; } }

/* --------------------------------------------------------------------------
   FAQ (details-blok) – semantisch, toegankelijk, wordt FAQPage-schema
   -------------------------------------------------------------------------- */
.wp-block-details { border-top: 0; }
.wp-block-details:first-of-type { border-top: 1px solid var(--wp--preset--color--line); }
.wp-block-details summary {
	list-style: none; cursor: pointer; position: relative; padding-right: 40px;
	font-family: var(--wp--preset--font-family--body); font-size: var(--wp--preset--font-size--large); font-weight: 600; letter-spacing: 0;
	color: var(--wp--preset--color--ink); line-height: 1.4;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after {
	content: ""; position: absolute; right: 6px; top: 50%; width: 16px; height: 16px; margin-top: -8px;
	background: currentColor; -webkit-mask: var(--wz-chevron) center / contain no-repeat; mask: var(--wz-chevron) center / contain no-repeat;
	transition: transform .2s var(--wz-ease);
}
.wp-block-details[open] summary { color: var(--wp--preset--color--lime); }
.wp-block-details[open] summary::after { transform: rotate(90deg); }
.wp-block-details > :not(summary) { margin-top: 18px; line-height: 1.75; }

/* --------------------------------------------------------------------------
   Cases
   -------------------------------------------------------------------------- */
.wz-back { position: fixed; left: 30px; top: 210px; z-index: 50; }
.wz-back .wp-block-button__link { padding: 10px 22px; font-size: 16px; box-shadow: 0 8px 20px rgb(0 0 0 / .12); }
.wz-back .wp-block-button__link::after { display: none; }
.wz-back .wp-block-button__link::before {
	content: ""; width: 12px; height: 12px; background: currentColor; transform: rotate(-135deg);
	-webkit-mask: var(--wz-arrow) center / contain no-repeat; mask: var(--wz-arrow) center / contain no-repeat;
}
@media (max-width: 1100px) { .wz-back { position: static; } }
.wz-case-meta h3 { font-size: var(--wp--preset--font-size--large); font-family: var(--wp--preset--font-family--body); font-weight: 600; }
.wz-thumbs img { width: 112px; height: 112px; object-fit: cover; border-radius: 8px; }

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */
.wz-post-meta { color: var(--wp--preset--color--muted); }
.wz-post-meta a { color: var(--wp--preset--color--ink); }
.wz-post-meta .wp-block-post-terms__separator { display: none; }
.single .wp-block-post-content > h2 { font-size: var(--wp--preset--font-size--title); font-weight: 500; letter-spacing: -0.01em; margin-top: 60px; margin-bottom: 30px; }
.single .wp-block-post-content > h3 { font-size: var(--wp--preset--font-size--x-large); font-weight: 600; margin-top: 40px; }
.single .wp-block-post-content > p { margin-bottom: 18px; }
.single .wp-block-post-content > p.has-medium-font-size { font-size: 17px !important; line-height: 1.85; }

/* --------------------------------------------------------------------------
   Formulieren (Gravity Forms) – zelfde look als nu
   -------------------------------------------------------------------------- */
.gform_wrapper input:not([type=submit]):not([type=checkbox]):not([type=radio]), .gform_wrapper textarea {
	border: 0 !important; border-bottom: 1px solid var(--wp--preset--color--lime) !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important;
}
.gform_wrapper .gform_button, .gform_wrapper button[type=submit] {
	background: var(--wp--preset--color--lime) !important; border: 1px solid var(--wp--preset--color--lime) !important; color: var(--wp--preset--color--petrol-alt) !important;
	border-radius: 170px !important; padding: 18px 44px !important; font-family: var(--wp--preset--font-family--heading) !important; font-size: 17px !important; font-weight: 600 !important; letter-spacing: -0.02em !important;
}
.gform_wrapper .gform_button:hover { background: transparent !important; color: var(--wp--preset--color--lime) !important; }
.gform_required_legend, .gform_validation_errors { display: none !important; }

/* --------------------------------------------------------------------------
   Footer – "reveal"-effect: footer zit vast onderaan en wordt onthuld
   -------------------------------------------------------------------------- */
.wz-main { position: relative; z-index: 1; background: var(--wp--preset--color--white); }
.wz-footer { position: sticky; bottom: 0; z-index: 0; }
@media (max-height: 1000px), (max-width: 781px) { .wz-footer { position: relative; } }
.wz-ready { font-family: var(--wp--preset--font-family--body); font-weight: 700; line-height: 1.5 !important; letter-spacing: -0.05em; }
.wz-ready a { color: inherit; transition: color .3s var(--wz-ease); }
.wz-ready a:hover { color: var(--wp--preset--color--lime); }
.wz-footer a:not(.wp-block-button__link):hover { color: var(--wp--preset--color--lime); }
.wz-footer .wp-block-social-links { color: #fff; }
.wz-footer__links p { line-height: 1.75 !important; }
.wz-footer__logos { gap: 18px !important; }
.wz-footer__logos img { height: auto; max-height: 60px; width: auto; }
.wz-footer__bottom { border-top: 1px solid rgb(255 255 255 / .18); display: grid !important; grid-template-columns: repeat(4, 1fr); text-align: center; }

/* --------------------------------------------------------------------------
   Mobiel
   -------------------------------------------------------------------------- */
@media (max-width: 781px) {
	.wz-hero-home { padding-top: 110px !important; padding-bottom: 90px !important; }
	.wz-hero-home .wz-hero__kicker { font-size: 24px !important; line-height: 1.1 !important; }
	.wz-mobile-left { text-align: left !important; }
	.wz-hide-mobile { display: none !important; }
	.wz-footer__bottom { flex-direction: column; align-items: flex-start !important; }
}

/* --------------------------------------------------------------------------
   Aanvullingen
   -------------------------------------------------------------------------- */
.wz-scroll-down a {
	display: inline-block; width: 44px; height: 56px; background: currentColor; color: #fff;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 56' fill='none' stroke='%23000' stroke-width='4'%3E%3Cpath d='M22 2v50M3 33l19 19 19-19'/%3E%3C/svg%3E") center / contain no-repeat;
	        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 44 56' fill='none' stroke='%23000' stroke-width='4'%3E%3Cpath d='M22 2v50M3 33l19 19 19-19'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .3s var(--wz-ease);
}
.wz-scroll-down a:hover { transform: translateY(6px); }
.wz-scroll-down { margin-left: 18px; }
.is-style-rounded img, .wz-rounded video, .wz-rounded img { border-radius: 18px; }
.wz-rounded video { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; background: #000; }
.wz-marquee .wp-block-group { gap: 0 !important; flex-wrap: nowrap !important; }
.wz-case-hero img { width: 100%; }
.wp-block-post-featured-image a { display: block; }
.wz-faq .wp-block-details { padding-block: 18px; }
.wz-faq .wp-block-details summary { font-size: var(--wp--preset--font-size--large); line-height: 35px; }
.wz-faq .wp-block-details > p { margin-top: 55px; margin-bottom: 17px; } /* = live: 37px onder de vraag, 35px tot de volgende */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
.wz-statement__lead { max-width: 800px !important; margin-left: max(0px, calc((100% - 1152px) / 2)) !important; }
.wz-featured .wp-block-column:last-child { display: flex; flex-direction: column; }
.wz-featured .wp-block-column:last-child > .wz-thumbs { margin-top: 12px; }
@media (max-width: 1000px) { .wz-steps { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; } }
@media (max-width: 640px) { .wz-steps { grid-template-columns: minmax(0, 1fr) !important; gap: 36px !important; } }
/* Lime CTA in blogberichten (omgezet uit WPBakery) */
.wz-cta.alignwide { max-width: 1200px !important; }
.wz-cta { color: var(--wp--preset--color--petrol); }
.wz-cta :where(h2, h3, h4) { font-size: var(--wp--preset--font-size--xx-large); font-weight: 700; color: var(--wp--preset--color--petrol); }
.wz-cta :where(p) { font-size: var(--wp--preset--font-size--x-large); line-height: 1.9; margin-top: 36px; }
.wz-cta .wp-block-buttons { margin-top: 48px; }
.wz-bg-video iframe { pointer-events: none; }
/* Achtergrondvideo zoals live: kader 2:1, video 16:9 gecentreerd en bijgesneden */
.wz-bg-video .wp-block-embed__wrapper { overflow: hidden; }
.wz-bg-video.wp-has-aspect-ratio .wp-block-embed__wrapper::before { padding-top: 50%; }
.wz-bg-video.wp-has-aspect-ratio iframe { top: 50%; bottom: auto; height: auto; aspect-ratio: 16 / 9; transform: translateY(-50%); }

/* Stappen: icoon niet laten krimpen */
.wz-steps figure { flex: none; width: 50px; margin: 0; }
.wz-steps figure img { width: 50px !important; height: auto; }

/* Mobiel: hero's volgen hun inhoud, logo zoals nu */
@media (max-width: 781px) {
	.is-style-hero { min-height: 0 !important; }
	.wz-hero--page { padding-top: 90px !important; padding-bottom: 70px !important; }
	.wz-hero--page .has-intro-font-size { margin-top: 40px !important; }
	.wz-hero--page .wz-scroll-down { margin-top: 50px !important; }
	.wz-header .wp-block-site-logo img { height: 70px; }
	.wz-header > .wz-header__inner { padding-inline: 36px 30px; }
}
@media (max-width: 781px) {
	.wz-hero-home { padding-left: 36px !important; padding-right: 24px !important; }
	.wz-cases .is-style-carousel > * { width: 150px; }
	.wz-cases .wp-block-post-featured-image, .wz-cases .wp-block-post-featured-image img { width: 150px !important; height: 150px !important; }
	.wz-cases .wp-block-post-title { margin-top: 24px; }
}

/* Uitgelichte case: de foto schikt zich naar de hoogte van de tekst + gerelateerde cases */
.wz-featured .wp-block-columns { align-items: stretch !important; }
.wz-featured .wp-block-column:first-child { position: relative; min-height: 418px; }
.wz-featured .wp-block-column:first-child > figure { position: absolute; inset: 0; margin: 0; }
.wz-featured .wp-block-column:first-child > figure img { width: 100%; height: 100% !important; aspect-ratio: auto !important; object-fit: cover; }
@media (max-width: 781px) {
	.wz-featured .wp-block-column:first-child { min-height: 0; }
	.wz-featured .wp-block-column:first-child > figure { position: static; }
	.wz-featured .wp-block-column:first-child > figure img { aspect-ratio: 558 / 418 !important; height: auto !important; }
}

/* Case zonder hoofdvideo: titel links in de intro (zoals nu), niet gecentreerd bovenaan */
body:has(.wz-case-intro-title) .wz-case-title { display: none; }
.wz-case-intro-title { margin: 0 !important; }

/* Mozaïek (cases-overzicht): tegels tegen elkaar, titel als label bij hover */
.is-style-masonry { display: block !important; position: relative; background: var(--wp--preset--color--petrol); column-count: 4; column-gap: 0; margin-top: 0 !important; margin-bottom: 0 !important; }
.is-style-masonry > figure.wp-block-image { break-inside: avoid; width: 100% !important; margin: 0 !important; position: relative; display: block; }
.is-style-masonry.is-laid-out { column-count: auto; }
.is-style-masonry.is-laid-out > figure.wp-block-image { position: absolute; width: var(--wz-col) !important; }
.is-style-masonry img { display: block; width: 100% !important; height: auto !important; border-radius: 0 !important; transition: transform .6s var(--wz-ease); }
.is-style-masonry figure { overflow: hidden; }
.is-style-masonry figure a::after { content: ""; position: absolute; inset: 0; background: rgb(0 0 0 / 0); transition: background .3s; }
.is-style-masonry figure:hover a::after { background: rgb(0 0 0 / .25); }
.is-style-masonry figure:hover img { transform: scale(1.03); }
.is-style-masonry figcaption.wp-element-caption {
	position: absolute !important; left: 50% !important; top: 50% !important; bottom: auto !important; right: auto !important; width: auto !important; max-height: none !important;
	transform: translate(-50%, -40%); opacity: 0; pointer-events: none; z-index: 2;
	background: #fff !important; color: var(--wp--preset--color--ink) !important; border-radius: 170px; padding: 8px 28px !important; margin: 0 !important;
	font-size: 20px !important; font-weight: 600; white-space: nowrap; text-shadow: none !important;
	transition: opacity .25s, transform .25s var(--wz-ease);
}
.is-style-masonry figure:hover figcaption.wp-element-caption,
.is-style-masonry figure:focus-within figcaption.wp-element-caption { opacity: 1; transform: translate(-50%, -50%); }
@media (max-width: 1099px) { .is-style-masonry { column-count: 2; } }
@media (max-width: 699px) { .is-style-masonry { column-count: 1; } .is-style-masonry figcaption.wp-element-caption { opacity: 1; transform: none; top: auto !important; bottom: 18px !important; left: 18px !important; } }

/* Contactpagina */
.wz-contact__title mark { background: none; color: inherit; }
@media (max-width: 781px) { .wz-contact__title mark { color: var(--wp--preset--color--lime); } }
.wz-contact a { color: inherit; }
.wz-contact .gform_wrapper input:not([type=submit]):not([type=checkbox]):not([type=radio]),
.wz-contact .gform_wrapper textarea { padding: 10px 15px !important; font-size: 16px !important; }
.wz-contact .gform_wrapper textarea { min-height: 280px; }
.wz-contact .gform_wrapper .gform_footer { margin-top: 90px; }

/* --------------------------------------------------------------------------
   Sliders met JavaScript (assets/js/sliders.js)
   -------------------------------------------------------------------------- */
html, body { overflow-x: clip; }
.is-style-carousel.is-enhanced {
	overflow: visible !important; scroll-snap-type: none; padding-right: 0 !important;
	margin-right: 0 !important; position: relative;
	transition: transform .45s cubic-bezier(.25, .8, .25, 1); will-change: transform;
	cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none;
}
.is-style-carousel.is-enhanced.is-dragging { cursor: grabbing; }
.is-style-carousel.is-enhanced img { pointer-events: none; }
.wz-dots { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 72px; }
.wz-dots button { width: 6px; height: 6px; padding: 0; border: 0; border-radius: 6px; background: #c8c8c8; cursor: pointer; transition: width .3s var(--wz-ease), background .3s; }
.wz-dots button.is-active { width: 36px; background: #a0a0a0; }
.wz-dots--round { margin-top: 36px; gap: 10px; }
.wz-dots--round button { width: 10px; height: 10px; }
.wz-dots--round button.is-active { width: 10px; background: #869791; }

/* Doorlopende banden: JS neemt de beweging over van de CSS-animatie */
.wz-marquee.is-enhanced > .wp-block-group { animation: none !important; will-change: transform; }
.wz-marquee.is-enhanced, .wz-news .is-enhanced { cursor: grab; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.wz-marquee.is-enhanced.is-dragging, .wz-news .is-enhanced.is-dragging { cursor: grabbing; }
.wz-marquee img, .wz-news img { pointer-events: none; }
.is-style-marquee { display: flex !important; flex-wrap: nowrap !important; gap: 36px !important; width: max-content; will-change: transform; padding: 0 !important; margin: 0 !important; }
.is-style-marquee > * { flex: 0 0 auto; width: min(452px, 82vw); margin: 0 !important; }
.wz-news .wp-block-query { overflow: visible; }
.wz-news .wp-block-post-featured-image img { aspect-ratio: 16 / 9; object-fit: cover; }

/* Cases-overzicht: beeld vult de tegel (vierkant of staand) */
.wz-cases-grid figure[data-ratio] a, .wz-cases-grid figure[data-ratio] img { display: block; width: 100% !important; height: 100% !important; }
.wz-cases-grid figure[data-ratio] img { object-fit: cover; }

/* In de editor: footer en terug-knop niet vastzetten */
.editor-styles-wrapper .wz-footer { position: relative !important; }
.editor-styles-wrapper .wz-back { position: static !important; }
.editor-styles-wrapper .is-style-masonry:not(.is-laid-out) { column-count: 4; }

/* Toegankelijkheid: groter klikvlak voor de slider-bolletjes (zichtbaar blijft het even klein) */
.wz-dots button { position: relative; background: transparent !important; width: 24px; height: 24px; border-radius: 0; }
.wz-dots button::before { content: ""; position: absolute; left: 50%; top: 50%; width: 6px; height: 6px; border-radius: 6px; transform: translate(-50%, -50%); background: #c8c8c8; transition: width .3s var(--wz-ease), background .3s; }
.wz-dots button.is-active { width: 44px; }
.wz-dots button.is-active::before { width: 36px; background: #a0a0a0; }
.wz-dots { gap: 0; }
.wz-dots--round button::before { width: 10px; height: 10px; }
.wz-dots--round button.is-active { width: 24px; }
.wz-dots--round button.is-active::before { width: 10px; background: #869791; }
.wz-dots button:focus-visible { outline: 2px solid var(--wp--preset--color--petrol); outline-offset: 2px; }

/* Toegankelijkheid: grijze tekst in de footer leesbaar op petrol (WCAG AA) */
.wz-footer .has-muted-color, .wz-footer__bottom, .wz-footer__bottom a { color: #9aa5a8 !important; }
