/**
 * RW Canvas — front + editor extras beyond theme.json.
 */

:root {
	--rw-radius-sm: 8px;
	--rw-radius-md: 10px;
	--rw-radius-lg: 20px;
}

/* Kill WP site-blocks gap between header / main / footer */
.wp-site-blocks > * {
	margin-block-start: 0 !important;
	margin-top: 0 !important;
}

/* Buttons — Bold fill uses shd-dark (not primary red) */
.wp-block-button__link {
	border-radius: var(--rw-radius-sm);
}

.wp-block-button.is-style-outline .wp-block-button__link {
	border-color: var(--wp--preset--color--border, #e3e8ef);
	background: transparent;
	color: var(--wp--preset--color--text, #222);
}

.wp-block-button.is-style-white .wp-block-button__link,
.wp-block-button.rw-btn-white .wp-block-button__link {
	background: var(--wp--preset--color--shd-light, #fafafa);
	color: var(--wp--preset--color--text, #222);
}

.wp-block-button.is-style-text .wp-block-button__link,
.wp-block-button.rw-btn-text .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--text, #222);
	padding-left: 0;
	padding-right: 0;
	box-shadow: none;
}

.wp-block-button.rw-btn-full,
.wpcf7-form .wpcf7-submit {
	width: 100%;
}

.wpcf7-form .wpcf7-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: var(--rw-radius-sm);
	background: var(--wp--preset--color--shd-dark, #222);
	color: #fff;
	font-weight: 500;
	font-size: 16px;
	padding: 0.875rem 1.5rem 1rem;
	cursor: pointer;
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
	width: 100%;
	border: 0.5px solid var(--wp--preset--color--border, #e3e8ef);
	border-radius: var(--rw-radius-sm);
	padding: 0.5rem 1rem;
	font: inherit;
	min-height: 48px;
}

.wpcf7-form textarea {
	min-height: 120px;
}

/* design-fix nav-footer — newsletter inline field (Figma 12×16, Aanmelden nowrap) */
.rw-newsletter .wpcf7-form {
	position: relative;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	background: #fff;
	border-radius: 8px;
	padding: 12px 16px;
}

/* visibility:hidden (not display:none) still reserves a flex-item box —
   take it out of flow so it can't eat into the submit button's space */
.rw-newsletter .wpcf7-form .wpcf7-spinner {
	position: absolute;
	right: 16px;
	top: 50%;
	transform: translateY(-50%);
	margin: 0;
}

.rw-newsletter .wpcf7-form p {
	margin: 0;
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	min-width: 0;
	width: 100%;
}

.rw-newsletter .wpcf7-form .wpcf7-form-control-wrap {
	flex: 1 1 auto;
	min-width: 0;
}

.rw-newsletter .wpcf7-form input[type="email"] {
	border: 0;
	min-height: auto;
	padding: 0.25rem 0;
	background: transparent;
	width: 100%;
}

.rw-newsletter .wpcf7-form .wpcf7-submit {
	width: auto !important;
	flex: 0 0 auto;
	margin-left: auto !important;
	white-space: nowrap;
	background: transparent;
	color: var(--wp--preset--color--text, #222);
	font-weight: 600;
	line-height: 20px;
	padding: 0.25rem 0;
}

/* Section helpers — Figma page frame: 50px side inset, 1340 content */
.rw-section {
	width: 100%;
}

/*
 * Full-bleed fix: entry-content.has-global-padding (32px) + child.alignfull
 * only applied negative margins, not a wider width → 64px gap on the right
 * and nested alignfull could shift content past the band edge.
 */
.entry-content.has-global-padding > .alignfull,
.wp-block-post-content.has-global-padding > .alignfull {
	width: calc(
		100% + var(--wp--style--root--padding-left, var(--wp--preset--spacing--gutter, 2rem)) +
			var(--wp--style--root--padding-right, var(--wp--preset--spacing--gutter, 2rem))
	) !important;
	max-width: none !important;
	margin-left: calc(-1 * var(--wp--style--root--padding-left, var(--wp--preset--spacing--gutter, 2rem))) !important;
	margin-right: calc(-1 * var(--wp--style--root--padding-right, var(--wp--preset--spacing--gutter, 2rem))) !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	box-sizing: border-box;
}

/* Kill white hairlines between stacked full-bleed bands */
.entry-content.is-layout-flow,
.entry-content.is-layout-constrained,
.wp-block-post-content.is-layout-flow,
.wp-block-post-content.is-layout-constrained {
	gap: 0 !important;
	row-gap: 0 !important;
	--wp--style--block-gap: 0px;
}

.entry-content > *.alignfull,
.entry-content > .rw-section,
.entry-content > .wp-block-cover,
.wp-block-post-content > *.alignfull,
.wp-block-post-content > .rw-section,
.wp-block-post-content > .wp-block-cover {
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	margin-block: 0 !important;
}

/* Overlap adjacent full-bleed bands by 1px to kill subpixel white seams */
.entry-content > .rw-section + .rw-section,
.entry-content > .wp-block-cover + .rw-section,
.entry-content > .rw-section + .wp-block-cover,
.wp-block-post-content > .rw-section + .rw-section,
.wp-block-post-content > .wp-block-cover + .rw-section,
.wp-block-post-content > .rw-section + .wp-block-cover {
	margin-top: -1px !important;
	position: relative;
	z-index: 1;
}

/* A stray empty paragraph left behind in the editor sits between the last band
   and the footer as a white strip. Nothing renders, so drop it from the flow. */
.entry-content > p:empty,
.wp-block-post-content > p:empty,
.entry-content > .wp-block-group:empty,
.wp-block-post-content > .wp-block-group:empty {
	display: none !important;
}

/* Nested alignfull inside a band must NOT break out again */
.rw-section.alignfull > .alignfull,
.rw-map-band.alignfull > .alignfull,
.rw-video-banner.alignfull > .alignfull {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.rw-section--padded {
	padding-top: var(--wp--preset--spacing--section, 50px);
	padding-bottom: var(--wp--preset--spacing--section, 50px);
	padding-left: 50px !important;
	padding-right: 50px !important;
}

/* Design bands use wideSize (1340), not contentSize (720) */
.rw-usp.is-layout-constrained > *,
.rw-projects.is-layout-constrained > *,
.rw-discover.is-layout-constrained > *,
.rw-latest.is-layout-constrained > *,
.rw-why-split.is-layout-constrained > *,
.rw-section.rw-section--padded.is-layout-constrained > * {
	max-width: var(--wp--style--global--wide-size, 1340px) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.rw-section--grey {
	background-color: var(--wp--preset--color--shd-light, #fafafa);
}

.rw-section--dark {
	background-color: var(--wp--preset--color--shd-dark, #222);
	color: var(--wp--preset--color--white, #fff);
}

.rw-section--primary {
	background-color: var(--wp--preset--color--primary, #ea1c24);
	color: var(--wp--preset--color--white, #fff);
}

.rw-section--primary .wp-block-heading,
.rw-section--primary p,
.rw-section--dark .wp-block-heading,
.rw-section--dark p {
	color: inherit;
}

.rw-section--primary a,
.rw-section--dark a {
	color: inherit;
}

/* Figma: 84px @ 1440 frame, lh 90 (= 1.071). 84/1440 = 5.8333vw so the clamp
   hits exactly 84 at the design width; lh stays unitless so it scales with it. */
.rw-heading-display {
	font-family: var(--wp--preset--font-family--primary, "Geist", sans-serif);
	font-size: clamp(2.75rem, 5.8333vw, 84px) !important;
	line-height: 1.071;
	letter-spacing: 0;
	font-weight: 500;
	margin: 0;
}

.rw-heading-primary {
	color: var(--wp--preset--color--primary, #ea1c24);
}

.rw-hero-tagline {
	font-family: var(--wp--preset--font-family--primary, "Geist", sans-serif);
	font-weight: 300 !important;
	font-size: clamp(2.75rem, 5.8333vw, 84px) !important;
	line-height: 1.071 !important;
	margin: 0 !important;
}

/* Header nav — Figma: py 32 / px 50, logo 149×78, items px16 py12 gap 8 */

/* Sticky header: the bar stays in view while scrolling so the nav is always
   reachable. The template part is the sticky box (the .rw-header group inside
   it is only as tall as itself, so sticky there would not travel). It needs an
   opaque background because content now scrolls underneath it. The admin-bar
   custom property keeps it clear of the toolbar for logged-in users. */
header.wp-block-template-part {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 100;
	background: var(--wp--preset--color--white, #fff);
}

/* Anchor targets land below the sticky bar instead of behind it. */
html {
	scroll-padding-top: 120px;
}

/* design-fix nav-footer */
.rw-header {
	/* Figma nav frame is 108 tall with the 78px logo centred → 15px, not 32px.
	   At 32px the header ran 142px and pushed every section down 34px. */
	padding-top: 15px !important;
	padding-bottom: 15px !important;
	padding-left: 50px !important;
	padding-right: 50px !important;
	box-sizing: border-box;
}

.rw-header .wp-block-group {
	flex-wrap: nowrap;
	gap: 1rem;
	align-items: center;
}

.rw-header .custom-logo-link,
.rw-header .wp-block-site-logo {
	line-height: 0;
}

.rw-header .custom-logo-link img,
.rw-header .wp-block-site-logo img {
	width: 149px !important;
	height: 78px !important;
	max-height: none !important;
	object-fit: contain;
}

.rw-header .wp-block-navigation {
	gap: 8px !important;
	flex-shrink: 1;
}

.rw-header .wp-block-navigation__container {
	gap: 8px !important;
}

.rw-header .wp-block-navigation-item {
	white-space: nowrap;
}

.rw-header .wp-block-navigation .wp-block-navigation-item__content {
	padding: 12px 16px !important;
	font-size: 16px !important;
	line-height: 26px !important;
	font-weight: 400;
	color: var(--wp--preset--color--text, #222) !important;
	text-decoration: none;
}

.rw-header .wp-block-navigation a {
	color: var(--wp--preset--color--text, #222);
	font-weight: 400;
}

/* USP tiles — Figma: icon 50px, gap 50→copy, gap 16 title→body, all left */
.rw-usp__lead {
	font-size: clamp(1.75rem, 3.3333vw, 48px) !important;
	line-height: 1.2917 !important;
	font-weight: 500;
	max-width: 100%;
	margin: 0 !important;
}

.rw-usp {
	padding-top: 50px !important;
	padding-bottom: 100px !important;
}


.rw-usp__row {
	flex-wrap: nowrap !important;
	gap: 24px !important;
	align-items: flex-start !important;
}

@media (max-width: 900px) {
	.rw-usp__row {
		flex-wrap: wrap !important;
	}
}

.rw-tile.rw-tile--icon {
	border: 0 !important;
	border-radius: 12px;
	padding: 0 !important;
	gap: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	align-items: flex-start !important;
	text-align: left;
}

.rw-tile.rw-tile--icon::before {
	display: none !important;
}

.rw-tile--icon .rw-tile__icon-img,
.rw-tile--icon figure.wp-block-image {
	width: 50px !important;
	max-width: 50px !important;
	margin: 0 0 50px 0 !important;
	margin-inline: 0 !important;
	align-self: flex-start !important;
}

.rw-tile--icon .rw-tile__icon-img img,
.rw-tile--icon figure.wp-block-image img {
	width: 50px !important;
	height: 50px !important;
	object-fit: contain;
	display: block;
	margin: 0 !important;
}

.rw-tile--icon .rw-tile__label {
	font-size: 24px !important;
	font-weight: 600;
	line-height: 30px !important;
	color: var(--wp--preset--color--primary, #ea1c24);
	hyphens: none;
	white-space: nowrap;
	margin: 0 0 16px 0 !important;
	text-align: left;
}

.rw-tile--icon > p:not(.rw-tile__label) {
	font-size: 18px !important;
	line-height: 30px !important;
	color: var(--wp--preset--color--text, #222);
	margin: 0 !important;
	text-align: left;
}

.rw-header .wp-block-navigation .current-menu-item > a,
.rw-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
.rw-header .wp-block-navigation .current-menu-item > .wp-block-navigation-item__content:hover {
	color: var(--wp--preset--color--primary, #ea1c24) !important;
	font-weight: 500 !important;
}

/* ==========================================================================
   Mobile nav — hamburger + fullscreen overlay
   No Figma spec for mobile; designed to extend the desktop nav chrome.
   Shares the 900px breakpoint already used for the header/logo shrink.
   ========================================================================== */

/* Toggle buttons (WP core swaps open ⇄ close, both get styled the same way) */
.rw-header .wp-block-navigation__responsive-container-open,
.rw-header .wp-block-navigation__responsive-container-close {
	display: none;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border: 1.5px solid var(--wp--preset--color--text, #222);
	border-radius: 50%;
	background: #fff;
	flex-shrink: 0;
	transition: background-color 0.15s ease, border-color 0.15s ease;
}

.rw-header .wp-block-navigation__responsive-container-open svg,
.rw-header .wp-block-navigation__responsive-container-close svg {
	width: 20px !important;
	height: 20px !important;
}

.rw-header .wp-block-navigation__responsive-container-open:hover,
.rw-header .wp-block-navigation__responsive-container-close:hover {
	background: var(--wp--preset--color--text, #222);
	border-color: var(--wp--preset--color--text, #222);
	color: #fff !important;
}

/* Below 900px only: core reuses this same container/content/item markup for
   both the desktop nav and the mobile overlay, so every overlay-specific
   rule (background, spacing, typography) has to stay scoped inside this
   media query — unscoped, it also restyles the desktop nav. */
@media (max-width: 900px) {
	.rw-header .wp-block-navigation__responsive-container-open:not(.always-shown),
	.rw-header .wp-block-navigation__responsive-container-close {
		display: flex !important;
	}

	.rw-header .wp-block-navigation__responsive-container:not(.is-menu-open) {
		display: none !important;
	}

	.rw-header .wp-block-navigation__responsive-container-close {
		/* Core positions this absolute within the overlay wrapper,
		   which doesn't line up with the open button in the header. Pin it to the
		   viewport instead, at the same spot the open button sits. */
		position: fixed !important;
		top: 22px;
		right: 24px;
		border-color: var(--wp--preset--color--primary, #ea1c24);
		color: var(--wp--preset--color--primary, #ea1c24);
		z-index: 100002;
	}

	.rw-header .wp-block-navigation__responsive-container-close:hover {
		background: var(--wp--preset--color--primary, #ea1c24);
		border-color: var(--wp--preset--color--primary, #ea1c24);
	}

	/* Fullscreen overlay panel */
	.rw-header .wp-block-navigation__responsive-container.is-menu-open {
		background: #fff !important;
		color: var(--wp--preset--color--text, #222) !important;
	}

	.rw-header .wp-block-navigation__responsive-container .wp-block-navigation__container {
		gap: 0 !important;
		width: 100%;
	}

	.rw-header .wp-block-navigation__responsive-container-content .wp-block-navigation-item {
		width: 100%;
		border-bottom: 1px solid var(--wp--preset--color--border, #e3e8ef);
	}

	.rw-header .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content {
		display: block;
		width: 100%;
		padding: 20px 4px !important;
		font-size: 24px !important;
		line-height: 1.3 !important;
		font-weight: 500 !important;
	}

	.rw-header .wp-block-navigation__responsive-container-content .wp-block-navigation-item:first-child {
		border-top: 1px solid var(--wp--preset--color--border, #e3e8ef);
	}

	/* Keep the logo visible above the fixed overlay so there's always a way back */
	.rw-header .custom-logo-link,
	.rw-header .wp-block-site-logo {
		position: relative;
		z-index: 100001;
	}

	.rw-header .wp-block-navigation__responsive-container-content {
		padding-top: 40px;
	}
}

/* USP / static tiles */
.rw-tile {
	border: 1px solid var(--wp--preset--color--border, #e3e8ef);
	border-radius: var(--rw-radius-md);
	padding: var(--wp--preset--spacing--lg, 1.5rem);
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.rw-tile__label {
	display: block;
	font-size: var(--wp--preset--font-size--sm, 14px);
	font-weight: 600;
	color: var(--wp--preset--color--primary, #ea1c24);
	margin-bottom: 0.25rem;
	text-transform: none;
	letter-spacing: 0;
}

.rw-why-split__img img {
	width: 100%;
	height: auto;
	aspect-ratio: 645 / 689;
	object-fit: cover;
}

.rw-tile--why {
	border: 0 !important;
	border-bottom: 1px solid var(--wp--preset--color--border, #e3e8ef) !important;
	border-radius: 0 !important;
	padding: 0 0 24px !important;
	margin: 0 0 24px !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	gap: 16px !important;
	align-items: flex-start !important;
	background: transparent !important;
	box-shadow: none !important;
}

.rw-tile--why:last-child {
	margin-bottom: 0 !important;
}

.rw-tile--why .rw-tile__icon,
.rw-tile--why .rw-tile__icon-img,
.rw-tile--why figure.rw-tile__icon-img {
	flex: 0 0 44px !important;
	width: 44px !important;
	height: 44px !important;
	min-width: 44px !important;
	max-width: 44px !important;
	margin: 0 !important;
	margin-inline: 0 !important;
	padding: 10px !important;
	border-radius: 8px;
	background: var(--wp--preset--color--shd-light, #fafafa);
	box-sizing: border-box;
	display: flex !important;
	align-items: center;
	justify-content: center;
}

.rw-tile--why .rw-tile__icon-img img,
.rw-tile--why figure.rw-tile__icon-img img {
	width: 24px !important;
	height: 24px !important;
	object-fit: contain;
	display: block;
	margin: 0 !important;
}

.rw-tile--why > .wp-block-group {
	flex: 1;
	min-width: 0;
	gap: 8px !important;
}

.rw-tile--why .wp-block-heading {
	color: var(--wp--preset--color--primary, #ea1c24);
	font-size: 24px !important;
	font-weight: 500;
	line-height: 36px !important;
	margin: 0 !important;
}

.rw-tile--why > .wp-block-group > p {
	font-size: 18px !important;
	line-height: 30px !important;
	margin: 0 !important;
	color: var(--wp--preset--color--text, #222);
}

.rw-tile--icon .rw-tile__label {
	color: var(--wp--preset--color--primary, #ea1c24);
}

.rw-stats {
	display: flex;
	gap: 3rem;
	flex-wrap: wrap;
	margin-top: 2rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--wp--preset--color--border, #e3e8ef);
}

.rw-stats__value {
	font-size: var(--wp--preset--font-size--h-2, 36px);
	font-weight: 600;
	line-height: 1.1;
	margin: 0;
}

.rw-stats__label {
	font-size: var(--wp--preset--font-size--sm, 14px);
	color: var(--wp--preset--color--shd-mid, #648c83);
	margin: 0.25rem 0 0;
}

/* Cards (Query Loop post template) */
.rw-card {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	overflow: hidden;
	height: 100%;
}

.rw-card__body {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
	padding: 0;
	flex: 1;
}

.rw-card--blog .wp-block-post-featured-image img {
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 11;
	object-fit: cover;
	border-radius: 0;
}

.rw-card--blog .wp-block-post-title {
	font-size: 24px;
	font-weight: 600;
	line-height: 1.25;
	margin: 0;
}

.rw-card--blog .wp-block-post-title a {
	color: inherit;
	text-decoration: none;
}

.rw-card--blog .wp-block-post-date {
	color: #666;
}

.rw-card--category {
	position: relative;
	/* Fallback voor posts zonder uitgelichte afbeelding: de foto ligt eroverheen,
	   dus dit is alleen zichtbaar als er geen thumbnail is (anders wit-op-wit). */
	background-color: var(--wp--preset--color--shd-dark, #222222);
	height: 400px !important;
	min-height: 400px !important;
	max-height: 400px !important;
	border-radius: 0;
	overflow: hidden;
	color: #fff;
	display: flex !important;
	flex-direction: column !important;
	justify-content: flex-end !important;
	align-items: stretch !important;
	padding: 24px !important;
	gap: 0 !important;
	box-sizing: border-box;
}

.rw-card--category .wp-block-post-featured-image {
	position: absolute !important;
	inset: 0 !important;
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	z-index: 0;
}

.rw-card--category .wp-block-post-featured-image a,
.rw-card--category .wp-block-post-featured-image img {
	display: block;
	width: 100% !important;
	height: 100% !important;
	aspect-ratio: auto !important;
	border-radius: 0 !important;
	object-fit: cover !important;
}

.rw-card--category .wp-block-post-featured-image::after {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.2);
	pointer-events: none;
}

.rw-card--category .rw-card__body {
	position: relative;
	z-index: 1;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
	color: #fff;
	gap: 8px !important;
	text-align: left !important;
	align-items: flex-start !important;
	width: 100%;
	flex: 0 0 auto !important;
}

.rw-card--category .wp-block-post-title {
	font-size: 30px !important;
	font-weight: 600;
	line-height: 36px !important;
	margin: 0 !important;
	text-align: left !important;
}

.rw-card--category .wp-block-post-title a,
.rw-card--category .wp-block-post-excerpt,
.rw-card--category .wp-block-post-excerpt p {
	color: #fff !important;
	text-decoration: none;
	margin: 0 !important;
	text-align: left !important;
}

.rw-card--category .wp-block-post-excerpt,
.rw-card--category .wp-block-post-excerpt p {
	font-size: 24px !important;
	line-height: 36px !important;
	font-weight: 400;
}

@media (max-width: 781px) {
	.rw-card--category .wp-block-post-title {
		font-size: 22px !important;
		line-height: 28px !important;
	}

	.rw-card--category .wp-block-post-excerpt,
	.rw-card--category .wp-block-post-excerpt p {
		font-size: 18px !important;
		line-height: 26px !important;
	}
}

.rw-card--review {
	padding: var(--wp--preset--spacing--lg, 1.5rem);
	border: 1px solid var(--wp--preset--color--border, #e3e8ef);
	border-radius: var(--rw-radius-md);
}

/* Projects: row1 = 2×658; row2 = 658 + 317 + 317; alle kaarten 400px */
.rw-projects {
	padding-top: 100px !important;
	padding-bottom: 100px !important;
	background-color: #ffcbcc;
}

/* Kill WP constrained centering + global padding inside these components */
.rw-tile--icon.is-layout-constrained > *,
.rw-hero-rail.is-layout-constrained > *,
.rw-card--category.is-layout-constrained > *,
.rw-card__body.is-layout-constrained > *,
.rw-hero-rail__meta.is-layout-constrained > * {
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: none !important;
}

.rw-tile--icon.has-global-padding,
.rw-card__body.has-global-padding {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

/* Figma: heading frame ends y=173, card grid starts y=223 → 50px gap */
.rw-projects__heading {
	align-items: flex-end !important;
	gap: 40px !important;
	margin-bottom: 50px !important;
}

.rw-projects__heading .wp-block-heading {
	font-size: clamp(2rem, 3.5vw, 48px) !important;
	font-weight: 500;
	line-height: 1.2917 !important;
	margin: 0 !important;
}

.rw-projects__heading p {
	font-size: 24px !important;
	line-height: 36px !important;
	margin: 0 !important;
}

.rw-query-projects {
	margin-top: 0;
}

.rw-query-projects .wp-block-post-template {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px !important;
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: stretch;
}

.rw-query-projects .wp-block-post-template > li {
	height: 400px !important;
	min-height: 400px !important;
	max-height: 400px !important;
	margin: 0 !important;
	overflow: hidden;
}

.rw-query-projects .wp-block-post-template > li:nth-child(1),
.rw-query-projects .wp-block-post-template > li:nth-child(2),
.rw-query-projects .wp-block-post-template > li:nth-child(3) {
	grid-column: span 2;
}

.rw-query-projects .wp-block-post-template > li:nth-child(4),
.rw-query-projects .wp-block-post-template > li:nth-child(5) {
	grid-column: span 1;
}

.rw-query-projects .rw-card--category {
	height: 100% !important;
	min-height: 100% !important;
	max-height: 100% !important;
}

/* Archive asymmetric: 894+422 / 3×435 / 2×658 @ 500px (Figma Projecten/Nieuws) */
.rw-query-asymmetric .wp-block-post-template {
	display: grid !important;
	grid-template-columns: repeat(12, minmax(0, 1fr));
	gap: 24px !important;
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: stretch;
}

.rw-query-asymmetric .wp-block-post-template > li {
	height: 500px !important;
	min-height: 500px !important;
	max-height: 500px !important;
	margin: 0 !important;
	overflow: hidden;
}

/* Figma rhythm = 8+4 / 4+4+4 / 6+6 per 7 cards; cycles so load-more keeps it. */
.rw-query-asymmetric .wp-block-post-template > li:nth-child(7n + 1) {
	grid-column: span 8;
}

.rw-query-asymmetric .wp-block-post-template > li:nth-child(7n + 2),
.rw-query-asymmetric .wp-block-post-template > li:nth-child(7n + 3),
.rw-query-asymmetric .wp-block-post-template > li:nth-child(7n + 4),
.rw-query-asymmetric .wp-block-post-template > li:nth-child(7n + 5) {
	grid-column: span 4;
}

.rw-query-asymmetric .wp-block-post-template > li:nth-child(7n + 6),
.rw-query-asymmetric .wp-block-post-template > li:nth-child(7n) {
	grid-column: span 6;
}

.rw-query-asymmetric .rw-card--category {
	height: 100% !important;
	min-height: 100% !important;
	max-height: 100% !important;
}

/* Discover: featured + 2 */
.rw-query-discover .wp-block-post-template {
	display: grid;
	grid-template-columns: 641fr 325.5fr 325.5fr;
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
	align-items: start;
}

.rw-query-discover .wp-block-post-template > li:first-child .rw-card--blog .wp-block-post-featured-image img {
	aspect-ratio: 641 / 450;
}

/* Figma: kleine kaarten 325.5×313 beeld */
.rw-query-discover .wp-block-post-template > li:not(:first-child) .rw-card--blog .wp-block-post-featured-image img {
	aspect-ratio: 325.5 / 313;
}

/* Figma: titel lh 36 · datum 20/34 · desc 36+8+34 = 78 */
.rw-discover .rw-card--blog .wp-block-post-title,
.rw-discover .rw-card--blog .wp-block-post-title a {
	font-size: 24px !important;
	line-height: 36px !important;
	font-weight: 500 !important;
}

.rw-discover .rw-card--blog .wp-block-post-date {
	font-size: 20px !important;
	line-height: 34px !important;
}

.rw-discover .rw-heading-primary {
	font-size: clamp(2rem, 3.5vw, 48px);
	font-weight: 500;
	/* Figma heading box is 62 tall at 48px, not 55.2 */
	line-height: 1.2917;
}

.rw-btn-primary-text .wp-block-button__link {
	color: var(--wp--preset--color--primary, #ea1c24) !important;
}

/* Latest news inverse cards */
.rw-latest .rw-card--blog .wp-block-post-title a,
.rw-latest .rw-card--blog .wp-block-post-date {
	color: #fff;
}

.rw-latest .rw-card--blog .wp-block-post-featured-image img {
	aspect-ratio: 658 / 450;
}

@media (max-width: 781px) {
	.rw-query-projects .wp-block-post-template,
	.rw-query-asymmetric .wp-block-post-template,
	.rw-query-discover .wp-block-post-template {
		grid-template-columns: 1fr;
	}

	.rw-query-projects .wp-block-post-template > li,
	.rw-query-asymmetric .wp-block-post-template > li {
		grid-column: auto !important;
	}
}

/* Company info — 2×2 panel */
.rw-company-info__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 1rem;
}

.rw-company-info--tiles .rw-company-info__list,
.rw-company-info--panel .rw-company-info__list {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}

.rw-company-info__label {
	display: block;
	font-size: var(--wp--preset--font-size--md, 16px);
	font-weight: 600;
	color: var(--wp--preset--color--text, #222);
	margin-bottom: 0.25rem;
}

.rw-company-info__item {
	padding-bottom: 1.5rem;
	border-bottom: 1px solid var(--wp--preset--color--border, #e3e8ef);
}

.rw-company-info--panel {
	border: 0;
	border-radius: 0;
	padding: 0;
	background: transparent;
}

.rw-company-info--empty {
	opacity: 0.7;
	font-style: italic;
}

.rw-company-info__call {
	margin-top: 1.25rem;
	margin-bottom: 0;
}

.rw-contact-form {
	border: 1px solid var(--wp--preset--color--border, #e3e8ef);
	border-radius: 20px;
	padding: 2rem;
	background: #fff;
	box-shadow: 0 8px 32px rgba(14, 17, 9, 0.06);
}

.rw-contact-form .wpcf7 label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.rw-company-info__item a {
	color: var(--wp--preset--color--primary, #ea1c24);
}

/* design-fix contact */
.rw-contact.rw-section--padded {
	padding-top: 50px !important;
	padding-bottom: 50px !important;
	background-color: #fff;
}

.rw-contact .wp-block-columns {
	gap: 50px !important;
	align-items: stretch;
}

.rw-contact__info {
	display: flex !important;
	flex-direction: column;
	justify-content: space-between;
	gap: 24px;
}

.rw-contact__info > .wp-block-heading {
	margin: 0 0 24px !important;
}

.rw-contact__info > .has-lead-font-size {
	margin: 0 !important;
	line-height: 36px !important;
}

.rw-company-info--panel .rw-company-info__list {
	gap: 24px;
	row-gap: 24px;
	column-gap: 24px;
}

.rw-company-info--panel .rw-company-info__label {
	font-size: 18px;
	line-height: 24px;
	font-weight: 600;
	margin-bottom: 8px;
}

.rw-company-info--panel .rw-company-info__value,
.rw-company-info--panel .rw-company-info__value a {
	font-size: 18px;
	line-height: 30px;
	font-weight: 400;
	color: #222;
	text-decoration: none;
}

.rw-company-info--panel .rw-company-info__item {
	padding-bottom: 24px;
	border-bottom: 1px solid #e3e8ef;
}

.rw-company-info--panel .rw-company-info__value {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.rw-company-info--panel .rw-social-circle {
	color: #222;
	text-decoration: none;
	width: 40px;
	height: 40px;
	border-color: #222;
}

.rw-contact-form {
	display: flex;
	flex-direction: column;
	gap: 24px;
	padding: 32px !important;
	box-shadow: none;
}

.rw-contact-form > .wp-block-heading,
.rw-contact-form h2 {
	margin: 0 !important;
	font-family: var(--wp--preset--font-family--primary, "Geist", sans-serif);
	font-size: 48px !important;
	line-height: 62px !important;
	font-weight: 500 !important;
	color: #222 !important;
}

.rw-contact-form .wpcf7 form,
.rw-contact-form .wpcf7-form {
	display: flex;
	flex-direction: column;
	gap: 24px;
	margin: 0;
}

.rw-contact-form .wpcf7-form > p {
	margin: 0;
}

.rw-contact-form .wpcf7 label {
	font-family: var(--wp--preset--font-family--primary, "Geist", sans-serif);
	font-size: 16px;
	font-weight: 500;
	line-height: 26px;
	color: #0e1109;
	margin-bottom: 8px;
}

.rw-contact-form .wpcf7-form input[type="text"],
.rw-contact-form .wpcf7-form input[type="email"],
.rw-contact-form .wpcf7-form textarea {
	box-sizing: border-box;
	width: 100%;
	height: 48px;
	min-height: 48px;
	padding: 8px 16px;
	border: 0.5px solid #e3e8ef;
	border-radius: 8px;
	background: #fff;
	font-size: 16px;
	line-height: 26px;
	color: #222;
}

.rw-contact-form .wpcf7-form textarea {
	height: 120px;
	min-height: 120px;
	resize: vertical;
}

.rw-contact-form .wpcf7-form .wpcf7-submit {
	box-sizing: border-box;
	width: 100%;
	height: 46px;
	min-height: 46px;
	padding: 14px 24px 16px;
	border-radius: 8px;
	background: #222;
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	line-height: 26px;
}

/* design-fix over-ead — hero gallery */
.rw-hero-gallery {
	padding-top: 50px !important;
	padding-bottom: 50px !important;
}

.rw-hero-gallery__images {
	align-items: stretch !important;
}

.rw-hero-gallery__images .wp-block-column,
.rw-hero-gallery__images .wp-block-image,
.rw-hero-gallery__images .wp-block-image img {
	height: 100%;
}

.rw-hero-gallery .wp-block-columns:last-child .wp-block-image img,
.rw-hero-gallery__images .wp-block-image img {
	width: 100%;
	height: 600px;
	min-height: 600px;
	max-height: 600px;
	object-fit: cover;
	border-radius: 0;
}

@media (max-width: 781px) {
	.rw-hero-gallery .wp-block-columns:last-child .wp-block-image img,
	.rw-hero-gallery__images .wp-block-image img {
		height: 280px;
		min-height: 280px;
		max-height: 280px;
	}
}

.rw-social-circle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border: 1px solid currentColor;
	border-radius: 99px;
	font-family: var(--wp--preset--font-family--secondary);
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

/* Cover hero */
.rw-hero-cover {
	min-height: 630px;
	display: flex;
	align-items: flex-end;
}

/* Figma: 50px side inset + 1340 content = 1440 frame. The 50px inline padding
   sits inside this box, so the cap is the frame width, not the content width. */
.rw-hero-cover .wp-block-cover__inner-container {
	width: 100%;
	max-width: 1440px;
	padding: 50px var(--wp--preset--spacing--gutter, 2rem) 40px;
	box-sizing: border-box;
}

.rw-hero-cover.alignfull {
	padding-left: 0 !important;
	padding-right: 0 !important;
}

.rw-hero-cover h1,
.rw-hero-cover h1.has-text-color,
.rw-hero-cover .has-white-color {
	color: #fff !important;
}

.rw-hero-cover__row {
	align-items: flex-end !important;
	gap: 40px;
}

/* Hero rail — Figma: pad 32/24, gap 32 title→list, gap 24 items, title LEFT */
.rw-hero-rail {
	background: #fff;
	border-radius: 12px;
	padding: 32px 24px !important;
	width: 100%;
	max-width: 347px;
	margin-left: auto;
	margin-right: 0;
	color: #181818;
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	gap: 32px !important;
	text-align: left !important;
	box-sizing: border-box;
}

.rw-hero-rail.wp-block-group {
	justify-content: flex-start !important;
}

.rw-hero-rail > * {
	max-width: 100% !important;
	width: 100%;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.rw-hero-rail h3,
.rw-hero-rail .wp-block-heading {
	color: #000 !important;
	margin: 0 !important;
	font-size: 18px !important;
	font-weight: 500 !important;
	line-height: normal !important;
	text-align: left !important;
	width: 100%;
	align-self: flex-start !important;
}

.rw-hero-rail .wp-block-query,
.rw-hero-rail__list,
.rw-hero-rail .wp-block-post-template {
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 24px !important;
	width: 100%;
}

.rw-hero-rail .wp-block-post-template > li {
	margin: 0 !important;
	padding: 0 !important;
}

.rw-hero-rail__item,
.rw-hero-rail .wp-block-post-template > li > .wp-block-group {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	gap: 16px !important;
	align-items: flex-start !important;
	width: 100%;
}

.rw-hero-rail__thumb,
.rw-hero-rail .wp-block-post-featured-image {
	flex: 0 0 40px !important;
	width: 40px !important;
	height: 40px !important;
	margin: 0 !important;
}

.rw-hero-rail .wp-block-post-featured-image a {
	display: block;
	width: 40px;
	height: 40px;
}

.rw-hero-rail .wp-block-post-featured-image img,
.rw-hero-rail__thumb img {
	width: 40px !important;
	height: 40px !important;
	object-fit: cover;
	border-radius: 0;
	background: #dedede;
}

.rw-hero-rail__meta {
	flex: 1;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 4px !important;
}

.rw-hero-rail .wp-block-post-title,
.rw-hero-rail .wp-block-post-title a {
	color: #181818 !important;
	text-decoration: none;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: normal !important;
	margin: 0 !important;
	text-align: left !important;
}

.rw-hero-rail .wp-block-post-excerpt,
.rw-hero-rail .wp-block-post-excerpt p {
	color: #666 !important;
	font-size: 13px !important;
	line-height: normal !important;
	margin: 0 !important;
	text-align: left !important;
}

.rw-hero-rail .wp-block-post-excerpt .wp-block-post-excerpt__more-link {
	display: none !important;
}

/* Map band */
.rw-map-band {
	padding: 0 !important;
	overflow: hidden;
	background-color: var(--wp--preset--color--primary, #ea1c24);
}

.rw-map-band.has-global-padding {
	padding: 0 !important;
}

.rw-map-band__cols {
	margin: 0 !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
	width: 100% !important;
	max-width: none !important;
	gap: 0 !important;
	min-height: 694px;
	align-items: stretch !important;
}

/* Figma: map 694 of 1440 (48.194%), copy takes the rest. The 48% flex-basis
   from the pattern gets shrunk by the copy column, so pin shrink to 0. */
.rw-map-band__media {
	padding: 0 !important;
	background-color: var(--wp--preset--color--primary, #ea1c24);
	display: flex !important;
	align-items: stretch;
	flex: 0 0 48.194% !important;
	min-width: 0;
}

.rw-map-band__cols > .rw-map-band__copy {
	flex: 1 1 auto !important;
	min-width: 0;
}

.rw-map-band__img {
	width: 100% !important;
	height: 100% !important;
	margin: 0 !important;
	flex: 1;
}

.rw-map-band__img img {
	width: 100%;
	height: 100%;
	min-height: 694px;
	object-fit: cover;
	object-position: center;
	border-radius: 0;
	margin: 0;
	display: block;
}

.rw-map-band__copy {
	padding: 50px 50px 50px 50px !important;
}

.rw-map-band__copy .wp-block-heading {
	font-size: clamp(1.75rem, 2.5vw, 36px);
	font-weight: 500;
	margin: 0 0 1.5rem;
	color: #fff;
}

.rw-map-band__copy p {
	font-size: 18px;
	line-height: 1.6;
	color: #fff;
}

/* Video banner — edge-to-edge, no padding/margin (Figma full bleed) */
.rw-video-banner,
.rw-video-banner.has-global-padding {
	position: relative;
	padding: 0 !important;
	margin: 0 !important;
	min-height: 0;
	background: transparent;
}

.rw-video-banner__cover,
.rw-video-banner .wp-block-cover {
	position: relative !important;
	min-height: 509px !important;
	padding: 0 !important;
	margin: 0 !important;
	width: 100% !important;
	max-width: none !important;
}

.rw-video-banner .wp-block-cover__inner-container,
.rw-video-banner .wp-block-cover__inner-container.has-global-padding,
.rw-video-banner .wp-block-cover-is-layout-constrained {
	position: absolute !important;
	inset: 0 !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	width: 100% !important;
	max-width: none !important;
	padding: 0 !important;
	margin: 0 !important;
	box-sizing: border-box;
}

/* Figma (2288:1697): button 70x70 at x=685, y=157 in the 509-tall frame, so its
   centre sits at 37.72% — above the vertical middle, clear of the walkers. */
.rw-video-banner .rw-video-play {
	position: absolute;
	top: 37.72%;
	left: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	margin: 0 !important;
	width: auto;
}

.rw-video-play__btn {
	width: 70px;
	height: 70px;
	border-radius: 500px;
	background: #fff;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	color: #222;
	padding: 18px 0 18px 4px;
	box-sizing: border-box;
}

.rw-video-play__btn img {
	width: 32px;
	height: 32px;
	display: block;
}

/* design-fix over-ead — text-stats inverse band */
/* Figma over-ead: this band is #FAFAFA with a red heading and #222 body —
   it was built as a red rw-section--primary band. Divider is the border token. */
.rw-text-stats {
	padding-top: 50px !important;
	padding-bottom: 50px !important;
	background-color: #fafafa;
}

.rw-text-stats .wp-block-heading {
	color: var(--wp--preset--color--primary, #ea1c24);
}

.rw-text-stats .rw-stats {
	border-top-color: var(--wp--preset--color--border, #e3e8ef);
	margin-top: 2rem;
	padding-top: 2rem;
	width: 100%;
	justify-content: space-between;
}

.rw-text-stats .rw-stats__value {
	color: var(--wp--preset--color--text, #222);
	font-size: 48px;
	font-weight: 500;
	line-height: 1.1;
}

.rw-text-stats .rw-stats__label {
	color: var(--wp--preset--color--text, #222);
	font-size: 18px;
}

/* design-fix over-ead — map areas overlay pins */
.rw-map-areas {
	padding-top: 64px !important;
	padding-bottom: 64px !important;
}

.rw-map-areas__stage {
	position: relative;
	/* Figma: map stage is 820x985, not 640 tall */
	min-height: 985px;
}

.rw-map-areas__map,
.rw-map-areas__map img {
	width: 100%;
	/* was capped at the 720px contentSize; Figma map is 820 wide, 807 tall */
	max-width: none !important;
	height: 807px;
	object-fit: cover;
	/* map image itself stays square-cornered; only the pin cards are rounded */
	border-radius: 0;
	display: block;
	margin: 0;
}

/* Figma 2288:1702 places these four cards at fixed points over the map — two of
   them hang below the map image — so they are an absolute overlay, not a grid.
   Offsets are measured from the map origin (570,64), as % of the 820x985 stage. */
.rw-map-pins {
	position: absolute;
	inset: 0;
	display: block;
	pointer-events: none;
	max-width: none !important;
	width: auto !important;
	margin: 0 !important;
}

.rw-map-pin {
	position: absolute;
	pointer-events: auto;
	background: #fff;
	border: 1px solid var(--wp--preset--color--border, #e3e8ef);
	border-radius: 12px;
	padding: 10px 10px 14px;
	box-shadow: 0 8px 24px rgba(14, 17, 9, 0.12);
	width: 221px;
	max-width: 221px;
}

/* DOM order: Eindhoven Airport · Bedrijventerrein · Vliegbasis · Flight Forum */
.rw-map-pin:nth-child(1) {
	left: 4.63%;
	top: 22.4%;
}

.rw-map-pin:nth-child(2) {
	left: 23%;
	top: 50.2%;
}

.rw-map-pin:nth-child(3) {
	left: 5.73%;
	top: 77.3%;
}

.rw-map-pin:nth-child(4) {
	left: 58.3%;
	top: 64.6%;
}

/* Figma card image is 200x108 inside the 221 card (10px inset) */
.rw-map-pin .wp-block-image,
.rw-map-pin .wp-block-image img {
	width: 100%;
	margin: 0;
	border-radius: 8px;
	aspect-ratio: 200 / 108;
	object-fit: cover;
}

.rw-map-pin .wp-block-heading {
	color: var(--wp--preset--color--primary, #ea1c24);
	margin: 0.5rem 0 0.5rem;
	font-size: 14px !important;
	font-weight: 600;
	line-height: 1.3;
}

.rw-map-pin p {
	margin: 0;
	font-size: 12x;
	line-height: 1.45;
	color: #777;
}

/* design-fix over-ead — pillar tiles white cards */
.rw-pillar-tiles {
	padding-top: 100px !important;
	/* Figma: tile copy ends 3736 in a frame ending 3841 → ~100, not 50 */
	padding-bottom: 100px !important;
}

.rw-pillar-tiles__row {
	align-items: flex-start !important;
}

/* Figma 2288:1702 pillar tiles: full-bleed image (315x350) straight on the red
   band with white copy under it — no white card, no padding, and all four
   columns share one image band (3145-3494), so no stagger either. */
.rw-pillar-card {
	background: transparent;
	color: #fff;
	border-radius: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 24px;
	height: 100%;
	/* Figma: the copy under each image is centred, not left-aligned */
	text-align: center;
}

.rw-pillar-card .wp-block-image,
.rw-pillar-card .wp-block-image img {
	width: 100%;
	margin: 0;
	border-radius: 0;
	aspect-ratio: 315 / 350;
	object-fit: cover;
}

.rw-pillar-card .wp-block-heading {
	color: #fff !important;
	font-size: 24px !important;
	line-height: 1.5 !important;
	font-weight: 600;
	margin: 0 !important;
	text-align: center;
}

.rw-pillar-card p {
	color: #fff !important;
	/* Figma title and body ink are both 21 tall at 36 line spacing — same 24px,
	   differing only in weight. */
	font-size: 24px;
	line-height: 1.5;
	margin: 0 !important;
	text-align: center;
}

/* design-fix over-ead — living lab zigzag */
.rw-living-lab-section {
	padding-top: 108px !important;
	padding-bottom: 100px !important;
}

.rw-living-lab__intro .rw-heading-primary {
	font-size: clamp(1.75rem, 2.4vw, 36px);
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.rw-living-lab {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	max-width: none !important;
	width: 100% !important;
}

.rw-living-lab__col {
	display: flex !important;
	flex-direction: column !important;
	gap: 70px !important;
	height: 100%;
}

.rw-living-lab__copy {
	background: var(--wp--preset--color--shd-light, #fafafa);
	border-radius: 12px;
	padding: 24px;
	min-height: 287px;
	display: flex !important;
	flex-direction: column !important;
	justify-content: space-between;
	box-sizing: border-box;
}

.rw-living-lab__copy .wp-block-heading {
	color: var(--wp--preset--color--primary, #ea1c24);
	font-size: 20px !important;
	font-weight: 600;
	margin: 0 !important;
	line-height: 1.3;
}

.rw-living-lab__copy p {
	margin: 0 !important;
	font-size: 16px;
	line-height: 1.45;
	color: var(--wp--preset--color--text, #222);
}

.rw-living-lab__col .wp-block-image,
.rw-living-lab__col .wp-block-image img {
	width: 100%;
	margin: 0;
	border-radius: 0;
	aspect-ratio: 1 / 1;
	object-fit: cover;
	min-height: 287px;
}

/* design-fix over-ead — PPS band */
.rw-text-pps {
	padding-top: 50px !important;
	padding-bottom: 50px !important;
}

.rw-text-pps__body {
	max-width: none !important;
	width: 100% !important;
	padding-top: 32px;
}

.rw-text-pps__body p {
	max-width: none;
	margin: 0;
	font-size: 18px;
	line-height: 1.6;
}

/* design-fix over-ead — logo strip */
.rw-logo-strip-section {
	padding-top: 50px !important;
	padding-bottom: 50px !important;
}

.rw-logo-strip {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	align-items: center;
	justify-content: space-between;
	width: 100%;
}

.rw-logo-strip img {
	max-height: 41px;
	width: auto;
	filter: brightness(0) invert(1);
	opacity: 0.95;
}

@media (max-width: 781px) {
	.rw-living-lab,
	.rw-map-pins,
	.rw-company-info--panel .rw-company-info__list {
		grid-template-columns: 1fr;
	}

	.rw-map-pins {
		position: static;
		inset: auto;
		margin-top: 1.25rem !important;
	}

	.rw-map-pin {
		max-width: none;
		justify-self: stretch !important;
		align-self: stretch !important;
	}

	.rw-map-areas__stage {
		min-height: 0;
	}

	.rw-map-areas__map img {
		min-height: 280px;
	}

	.rw-pillar-tiles__row .wp-block-column .rw-pillar-card {
		margin-top: 0 !important;
	}
}

/* Footer wrap — background photo + fade spans both the CTA band and the footer nav below it */
.rw-footer-wrap {
	position: relative;
	background-color: #222;
}

.rw-footer-wrap::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0), #222 65%);
	pointer-events: none;
}

.rw-footer-wrap > * {
	position: relative;
	z-index: 1;
	margin-block-start: 0 !important;
}

/* Footer CTA band — Figma: py 100 / px 50, gap 32 */
.rw-footer-cta {
	text-align: center;
	padding: 100px 50px !important;
	color: #fff;
	background-size: cover;
	background-position: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 32px;
}

.rw-footer-cta .rw-heading-display,
.rw-footer-cta h2 {
	color: #fff !important;
	letter-spacing: -3px;
	max-width: 803px;
	margin: 0 auto !important;
}

.rw-footer-cta .wp-block-buttons {
	margin: 0 !important;
}

.rw-footer-cta .wp-block-button__link {
	min-height: 46px;
	padding: 10px 24px !important;
	border-radius: 8px !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	line-height: 26px !important;
}

/* Footer band */
.rw-footer {
	padding: 50px !important;
	box-sizing: border-box;
}

.rw-footer.has-global-padding {
	padding: 50px !important;
}

.rw-footer__cols {
	align-items: stretch !important;
	min-height: 421px;
	gap: 0 !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
}

/* Figma kolom-x binnen 1340: about 0 · nav 610 · social 833.5 · news 995 (breedte incl. tussenruimte) */
.rw-footer__cols > .rw-footer__about {
	flex: 0 0 45.5224% !important;
}

.rw-footer__cols > .rw-footer__nav-col {
	flex: 0 0 16.6791% !important;
}

.rw-footer__cols > .rw-footer__social-col {
	flex: 0 0 12.0522% !important;
}

.rw-footer__cols > .rw-footer__news-col {
	flex: 0 0 25.7463% !important;
}

.rw-footer__about-inner,
.rw-footer__news-inner {
	height: 100%;
	min-height: 421px;
	justify-content: space-between !important;
	gap: 40px !important;
}

/* Figma: Left Container tekst is 381 breed binnen de 610 kolom */
.rw-footer__about-inner {
	max-width: 381px;
}

.rw-footer__brand {
	font-size: 32px !important;
	font-weight: 600 !important;
	letter-spacing: -0.03em;
	line-height: 1.15 !important;
	margin: 0 !important;
	color: #fff !important;
}

.rw-footer__lead,
.rw-footer__news-lead {
	font-size: 16px !important;
	line-height: 26px !important;
	opacity: 0.7;
	margin: 0 !important;
	color: #fff !important;
}

.rw-footer__heading {
	font-size: 18px !important;
	font-weight: 600 !important;
	line-height: 24px !important;
	margin: 0 0 20px 0 !important;
	color: #fff !important;
}

.rw-footer__nav .wp-block-navigation__container,
.rw-footer__nav {
	gap: 16px !important;
	align-items: flex-start !important;
}

.rw-footer__nav .wp-block-navigation-item__content {
	font-size: 16px !important;
	line-height: 26px !important;
	color: #fff !important;
	opacity: 0.9;
	padding: 0 !important;
	text-decoration: none;
}

.rw-footer__nav .wp-block-navigation-item__content:hover {
	opacity: 1;
}

.rw-company-info--footer {
	display: flex;
	flex-direction: column;
	gap: 24px;
	opacity: 0.7;
}

.rw-company-info--footer .rw-company-info__row {
	display: flex;
	align-items: center;
	gap: 12px;
}

.rw-company-info--footer .rw-company-info__icon {
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	display: block;
}

.rw-company-info--footer .rw-company-info__value,
.rw-company-info--footer .rw-company-info__value a {
	font-size: 16px;
	line-height: 26px;
	color: #fff;
	text-decoration: none;
	white-space: nowrap;
}

.rw-footer__copy {
	font-size: 16px !important;
	line-height: 26px !important;
	opacity: 0.7;
	margin: 0 !important;
	color: #fff !important;
}

.rw-newsletter .wpcf7-form input[type="email"]::placeholder {
	color: #648c83;
}

.rw-footer .rw-social-circle {
	color: #fff;
}

.rw-company-info--social {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

@media (max-width: 900px) {
	.rw-header {
		padding-left: 24px !important;
		padding-right: 24px !important;
	}

	.rw-header .custom-logo-link img,
	.rw-header .wp-block-site-logo img {
		width: 110px !important;
		height: 58px !important;
	}

	.rw-footer,
	.rw-footer-cta {
		padding-left: 24px !important;
		padding-right: 24px !important;
	}

	.rw-footer__about-inner,
	.rw-footer__news-inner {
		min-height: 0;
	}

	/* Figma-kolombreedtes zijn desktop-only — mobiel stapelen */
	.rw-footer__cols > .wp-block-column,
	.rw-latest__heading > .wp-block-column,
	.rw-projects__heading > .wp-block-column {
		flex: 1 1 100% !important;
	}

	/* Kolommen krijgen op desktop bewust gap:0 (eigen 40px kolom-gap via flex-basis) —
	   maar zodra ze mobiel stapelen is er zonder gap geen ruimte tussen de secties. */
	.rw-footer__cols {
		gap: 40px !important;
	}

	.rw-footer__about-inner {
		max-width: none;
	}

	.rw-company-info--footer .rw-company-info__value,
	.rw-company-info--footer .rw-company-info__value a {
		white-space: normal;
	}

	/* Rechts uitgelijnde copyright-regel oogt scheef zodra hij de volle breedte krijgt */
	.rw-footer__copy {
		text-align: left !important;
	}
}

/* Quote banner */
.rw-quote {
	text-align: center;
	max-width: 40rem;
	margin-left: auto;
	margin-right: auto;
}

.rw-quote blockquote {
	font-size: var(--wp--preset--font-size--h-3, 24px);
	font-weight: 600;
	margin: 0;
}

/* ead-footer-bg */
.rw-footer-wrap{background-image:url('https://new.eindhovenairportdistrict.nl/wp-content/uploads/2026/08/ead-footer-bg.jpeg');background-size:cover;background-position:top center;}

/* Subpage heroes */
.rw-hero-title-image__media img,
.rw-hero-image-text__img img {
	width: 100%;
	height: 600px;
	object-fit: cover;
	display: block;
	border-radius: 0;
}

.rw-hero-title-image .rw-heading-display,
.rw-hero-image-text .rw-heading-display,
.rw-hero-nieuws__intro .rw-heading-display {
	letter-spacing: -3px;
	line-height: 0.95 !important;
	margin: 0 0 1rem !important;
}

.rw-hero-image-text .rw-heading-display {
	margin-bottom: 24px !important;
}

/* Figma 2137:268: the title sits at the top of the hero, level with the intro —
   not on the intro's baseline. In the 1440 frame the intro's first line starts at
   y=157 and the title's cap at y=210, so the h1 keeps a ~42px top offset. */
.rw-hero-title-image__copy {
	align-items: flex-start !important;
}

.rw-hero-title-image__copy .rw-heading-display {
	margin-top: clamp(0px, 2.9vw, 42px) !important;
}

.rw-faciliteit-rail .rw-heading-primary {
	margin: 0 0 16px !important;
	font-size: clamp(2rem, 3.5vw, 48px) !important;
}

.rw-tools-grid .rw-heading-primary {
	margin: 0 0 16px !important;
}

/* Rail cards: title only (archive asymmetric keeps Figma excerpts) */
.rw-query-rail .rw-card--category .wp-block-post-excerpt {
	display: none !important;
}

.rw-query-asymmetric .rw-card--category,
.rw-query-rail .rw-card--category {
	height: 100% !important;
	min-height: 100% !important;
	max-height: 100% !important;
}

.rw-hero-nieuws__cover,
.rw-hero-nieuws__cover.wp-block-cover {
	min-height: 610px !important;
	padding: 0 !important;
	margin: 0 !important;
}

.rw-hero-nieuws__cover .wp-block-cover__inner-container {
	display: none;
}

.rw-projects-archive__heading {
	text-align: left;
	max-width: 900px;
	margin-bottom: 0;
}

.rw-projects-archive__heading .wp-block-heading {
	margin-bottom: 16px !important;
}

/* design-fix projecten — heading / lead / CTA / asymmetric card chrome */
.rw-projects-archive__heading .wp-block-heading {
	font-size: 48px !important;
	line-height: 62px !important;
	font-weight: 500 !important;
	color: var(--wp--preset--color--primary, #ea1c24) !important;
	max-width: 100%;
text-align: center;
}

.rw-projects-archive__heading p {
	color: var(--wp--preset--color--shd-mid, #648c83) !important;
	font-size: 24px !important;
	line-height: 36px !important;
	margin: 0 auto 50px !important;
	max-width: 100%;
	text-align: center;
}

.rw-projects-archive .wp-block-button__link,
.rw-projects-archive .rw-btn-primary .wp-block-button__link {
	background-color: var(--wp--preset--color--primary, #ea1c24) !important;
	color: #fff !important;
	border-radius: 8px !important;
	padding: 14px 24px 16px !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	line-height: 26px !important;
	min-height: 46px;
}

.rw-projects-archive {
	row-gap: 50px !important;
}

.rw-query-asymmetric .rw-card--category .wp-block-post-featured-image::after {
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.8) 100%) !important;
}

.rw-query-asymmetric .rw-card--category .rw-card__body {
	flex-direction: row !important;
	align-items: flex-end !important;
	justify-content: space-between !important;
	gap: 32px !important;
	width: 100% !important;
}

.rw-query-asymmetric .rw-card__copy {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	gap: 8px !important;
	flex: 1 1 auto !important;
	min-width: 0;
	margin: 0 !important;
	padding: 0 !important;
}

.rw-query-asymmetric .rw-card--category .wp-block-post-title {
	font-size: 24px !important;
	line-height: 30px !important;
	font-weight: 600 !important;
}

.rw-query-asymmetric .rw-card--category .wp-block-post-excerpt,
.rw-query-asymmetric .rw-card--category .wp-block-post-excerpt p {
	display: block !important;
	font-size: 18px !important;
	line-height: 30px !important;
	font-weight: 400 !important;
	opacity: 0.9;
}

.rw-query-asymmetric .rw-card__more {
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	line-height: 26px !important;
	text-decoration: none !important;
	white-space: nowrap;
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
}

.rw-query-asymmetric .rw-card__more::after {
	content: "";
	display: inline-block;
	width: 24px;
	height: 24px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%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 24 24' fill='none'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.rw-latest__heading {
	align-items: flex-end !important;
	gap: 40px !important;
}

/* Figma: title 724 + 40 gap + omschrijving 576 = 1340 */
.rw-projects__heading {
	gap: 40px !important;
}

.rw-latest__heading > .wp-block-column:first-child,
.rw-projects__heading > .wp-block-column:first-child {
	flex: 1 1 724px !important;
}

.rw-latest__heading > .wp-block-column:last-child,
.rw-projects__heading > .wp-block-column:last-child {
	flex: 1 1 576px !important;
}

.rw-latest__heading .wp-block-heading {
	font-size: 48px !important;
	line-height: 62px !important;
	font-weight: 500 !important;
	color: #fff !important;
	margin: 0 !important;
}

.rw-latest__heading p {
	font-size: 24px !important;
	line-height: 36px !important;
	color: #fff !important;
	margin: 0 !important;
}

.rw-latest {
	row-gap: 50px !important;
}

/* Beat home hide + nieuws featured-title overrides on Projecten */
.rw-projects-archive .rw-card__more {
	display: inline-flex !important;
}

.rw-projects-archive .rw-query-asymmetric .wp-block-post-template > li .wp-block-post-title,
.rw-projects-archive .rw-query-asymmetric .rw-card--category .wp-block-post-title {
	font-size: 24px !important;
	line-height: 30px !important;
	font-weight: 600 !important;
}

.rw-query-rail {
	max-height: 500px;
	overflow: hidden;
}

.rw-query-rail .wp-block-post-template {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: nowrap !important;
	grid-template-columns: none !important;
	gap: 24px !important;
	overflow-x: auto;
	overflow-y: hidden;
	max-height: 500px;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: none;
	padding: 0 !important;
	margin: 0 !important;
	list-style: none !important;
}

.rw-query-rail .wp-block-post-template::-webkit-scrollbar {
	display: none;
}

.rw-query-rail .wp-block-post-template > li {
	flex: 0 0 calc((100% - 48px) / 3) !important;
	width: calc((100% - 48px) / 3) !important;
	max-width: calc((100% - 48px) / 3) !important;
	height: 500px !important;
	min-height: 500px !important;
	max-height: 500px !important;
	scroll-snap-align: start;
	margin: 0 !important;
	grid-column: auto !important;
}

.rw-query-rail .rw-card--category {
	min-height: 500px !important;
	height: 500px !important;
	max-height: 500px !important;
}

/* Faciliteit rail head — title, then intro + arrows on one full-width row (Figma 1340) */
.rw-faciliteit-rail__head {
	width: 100% !important;
	max-width: var(--wp--style--global--wide-size, 1340px) !important;
	display: flex !important;
	flex-direction: column !important;
	gap: 16px !important;
	margin: 0 !important;
}

.rw-faciliteit-rail__head > .wp-block-heading {
	margin: 0 !important;
	max-width: none !important;
}

.rw-faciliteit-rail__intro {
	width: 100% !important;
	max-width: none !important;
	gap: 24px 50px !important;
	align-items: flex-end !important;
	justify-content: space-between !important;
	margin: 0 !important;
	box-sizing: border-box;
}

.rw-faciliteit-rail__lead {
	flex: 1 1 auto;
	min-width: 0;
	max-width: none !important;
	margin: 0 !important;
}

.rw-rail-nav {
	gap: 16px !important;
	margin: 0 0 0 auto !important;
	flex-shrink: 0;
	align-self: flex-end;
}

.rw-rail-nav .wp-block-button {
	margin: 0 !important;
}

.rw-rail-nav__btn .wp-block-button__link {
	display: inline-flex !important;
	align-items: center;
	justify-content: center;
	box-sizing: border-box !important;
	width: 50px !important;
	height: 50px !important;
	min-height: 50px !important;
	min-width: 50px !important;
	padding: 0 !important;
	border-radius: 500px !important;
	font-size: 0 !important;
	line-height: 0 !important;
	text-decoration: none !important;
	box-shadow: none !important;
	background-image: none !important;
}

.rw-rail-nav__btn .wp-block-button__link::before {
	content: "";
	display: block;
	width: 24px;
	height: 24px;
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-position: center;
	mask-position: center;
	-webkit-mask-size: 24px 24px;
	mask-size: 24px 24px;
}

.rw-rail-nav__btn--prev .wp-block-button__link,
.rw-rail-nav__btn--prev.is-style-outline .wp-block-button__link,
.rw-rail-nav .is-style-outline .wp-block-button__link {
	background-color: #fff !important;
	border: 1px solid #222 !important;
	color: transparent !important;
	opacity: 1 !important;
}

.rw-rail-nav__btn--prev .wp-block-button__link::before {
	background-color: #222;
	-webkit-mask-image: url('../icons/arrow-left.svg');
	mask-image: url('../icons/arrow-left.svg');
}

.rw-rail-nav__btn--next .wp-block-button__link {
	background-color: #222 !important;
	border: 1px solid #222 !important;
	color: transparent !important;
}

.rw-rail-nav__btn--next .wp-block-button__link::before {
	background-color: #fff;
	-webkit-mask-image: url('../icons/arrow-right.svg');
	mask-image: url('../icons/arrow-right.svg');
}

.rw-rail-nav__btn .wp-block-button__link.is-disabled {
	opacity: 0.35;
	pointer-events: none;
}

/* GAC team tiles — columns + image + heading + paragraph */
.rw-team-tiles {
	gap: 24px !important;
}

.rw-team-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 16px;
}

.rw-team-card__img,
.rw-team-card__img img {
	width: 100% !important;
	height: 350px !important;
	object-fit: cover !important;
	border-radius: 0 !important;
	margin: 0 !important;
}

.rw-team-card__name {
	font-size: 24px !important;
	font-weight: 500 !important;
	line-height: 30px !important;
	color: #0e1109 !important;
	margin: 0 !important;
	text-transform: capitalize;
}

.rw-team-card__org {
	font-size: 18px !important;
	line-height: 30px !important;
	color: #677489 !important;
	margin: 0 !important;
}

.rw-gac .wp-block-buttons {
	justify-content: center;
}

@media (max-width: 781px) {
	.rw-query-rail .wp-block-post-template > li {
		flex-basis: 85%;
		max-width: 85%;
	}

	.rw-team-tiles {
		flex-direction: column;
	}

	.rw-team-card__img,
	.rw-team-card__img img {
		height: 280px !important;
	}
}

/* Primary CTA bands — Figma #ea1c24, pt80/pb100, gap40, white type */
.rw-cta-band {
	text-align: center;
	padding-top: 80px !important;
	padding-bottom: 100px !important;
	padding-left: 50px !important;
	padding-right: 50px !important;
}

.rw-cta-band__title {
	font-size: clamp(2rem, 4vw, 48px) !important;
	font-weight: 500 !important;
	line-height: 1.2917 !important;
	letter-spacing: -0.02em;
	color: #fff !important;
	margin: 0 auto !important;
	max-width: 724px;
}

.rw-cta-band__body {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	gap: 0 !important;
	max-width: 900px;
	margin: 0 auto !important;
}

.rw-cta-band__text {
	font-size: 24px !important;
	line-height: 36px !important;
	font-weight: 400 !important;
	color: #fff !important;
	margin: 0 0 36px !important;
}

.rw-cta-band__link {
	margin: 24px auto 0 !important;
}

.rw-cta-band__link a {
	font-size: 30px !important;
	font-weight: 500 !important;
	line-height: 36px !important;
	color: #fff !important;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.rw-cta-band__link a:hover {
	opacity: 0.9;
}

.rw-gac .rw-heading-primary {
	margin: 0 !important;
}

/* design-fix home — hero inner pad matches Figma 50px gutters */
.rw-hero-cover .wp-block-cover__inner-container {
	padding-left: 50px !important;
	padding-right: 50px !important;
}

/* design-fix home — strategisch map band type (48/62 · 24/36) */
.rw-map-band__copy .wp-block-heading {
	font-size: clamp(2rem, 3.5vw, 48px) !important;
	line-height: 1.2917 !important;
	letter-spacing: 0;
	margin: 0 0 24px !important;
}

.rw-map-band__copy p {
	font-size: 24px !important;
	line-height: 36px !important;
	margin: 0 0 1em !important;
}

.rw-map-band__copy p:last-child {
	margin-bottom: 0 !important;
}

/* design-fix home — ontdek: white band, red intro, dark CTA */
.rw-discover {
	padding-top: 56px !important;
	/* Figma 2091:5510: content ends y=954 in a 1010 frame → 56px bottom */
	padding-bottom: 56px !important;
	background-color: #fff;
}

.rw-discover__intro {
	color: var(--wp--preset--color--primary, #ea1c24) !important;
	font-size: 24px !important;
	line-height: 36px !important;
	max-width: 100%;
}

.rw-discover .rw-btn-primary-text .wp-block-button__link,
.rw-discover .rw-btn-text .wp-block-button__link {
	color: #222 !important;
}

/* design-fix home — laatste nieuws card type on primary */
.rw-latest .rw-card--blog .wp-block-post-title,
.rw-latest .rw-card--blog .wp-block-post-title a {
	font-size: 36px !important;
	line-height: 42px !important;
	font-weight: 500 !important;
	color: #fff !important;
}

.rw-latest .rw-card--blog .wp-block-post-date {
	font-size: 20px !important;
	line-height: 34px !important;
	color: #fff !important;
}

/* design-fix home — Figma project cards: title+excerpt only (not Projecten archive) */
.rw-projects .rw-query-projects .rw-card__more {
	display: none !important;
}

/* design-fix nieuws */
.rw-hero-nieuws {
	padding-top: 50px;
}

.rw-hero-nieuws__intro .rw-heading-display {
	line-height: 90px !important;
	margin: 0 !important;
}

.rw-hero-nieuws__intro .has-lead-font-size,
.rw-hero-nieuws__intro p {
	font-size: 24px !important;
	line-height: 36px !important;
	margin: 0 !important;
}

.rw-news-archive {
	padding-top: 39px !important;
	padding-bottom: 50px !important;
}

.rw-news-archive .rw-card--category .wp-block-post-featured-image::after {
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.5));
}

.rw-news-archive .rw-card--category .wp-block-post-title {
	font-size: 30px !important;
	line-height: 36px !important;
	font-weight: 500 !important;
}

.rw-news-archive .rw-card--category .wp-block-post-excerpt,
.rw-news-archive .rw-card--category .wp-block-post-excerpt p {
	display: block !important;
	font-size: 18px !important;
	line-height: 30px !important;
	font-weight: 400 !important;
	opacity: 0.9;
}

/* Featured wide card — Figma 56/64 */
.rw-news-archive .wp-block-post-template > li:nth-child(1) .wp-block-post-title {
	font-size: 56px !important;
	line-height: 64px !important;
}

.rw-news-archive .rw-card__more {
	display: inline-flex !important;
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	line-height: 26px !important;
	text-decoration: none !important;
	white-space: nowrap;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
}

/* Figma: "Laad meer" is the primary red button — the link is core/query-pagination-next,
   so it only renders while another page exists. */
.rw-load-more {
	justify-content: center;
	margin-top: 50px !important;
}

.rw-load-more .wp-block-query-pagination-next {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: var(--wp--preset--color--primary, #ea1c24);
	color: #fff !important;
	border-radius: 8px;
	padding: 14px 24px 16px;
	font-size: 16px;
	font-weight: 500;
	line-height: 26px;
	min-height: 46px;
	margin: 0;
	text-decoration: none;
}

.rw-load-more .wp-block-query-pagination-next:hover,
.rw-load-more .wp-block-query-pagination-next:focus {
	background-color: var(--wp--preset--color--primary-dark, #c4161d);
}

.rw-load-more.is-loading {
	opacity: 0.6;
	pointer-events: none;
}

/* Legacy: static button markup kept the same look before the pagination swap */
.rw-news-archive .wp-block-buttons .wp-block-button__link {
	background-color: var(--wp--preset--color--primary, #ea1c24) !important;
	color: #fff !important;
	border-radius: 8px !important;
	padding: 14px 24px 16px !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	line-height: 26px !important;
	min-height: 46px;
}

/* design-fix meedoen */
.rw-tools-grid {
	padding-top: 50px !important;
	padding-bottom: 100px !important;
}

.rw-tools-grid .rw-heading-primary {
	margin: 0 0 16px !important;
}

.rw-tools-grid .has-lead-font-size {
	margin: 0 0 50px !important;
}

.rw-tools-grid__query,
.rw-tools-grid .rw-tools-grid__query {
	max-height: none !important;
	overflow: visible !important;
}

.rw-tools-grid .wp-block-post-template {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 24px !important;
	max-height: none !important;
	overflow: visible !important;
	flex-wrap: unset !important;
	padding: 0 !important;
	margin: 0 !important;
	list-style: none !important;
}

.rw-tools-grid .wp-block-post-template > li {
	flex: unset !important;
	width: auto !important;
	max-width: none !important;
	height: 500px !important;
	min-height: 500px !important;
	max-height: 500px !important;
	margin: 0 !important;
	grid-column: auto !important;
}

.rw-tools-grid .rw-card--category {
	min-height: 500px !important;
	height: 500px !important;
	max-height: 500px !important;
}

.rw-tools-grid .rw-card--category .wp-block-post-excerpt {
	display: none !important;
}

.rw-tools-grid .rw-card--category .rw-card__body {
	flex-direction: row !important;
	align-items: flex-end !important;
	justify-content: space-between !important;
	gap: 32px !important;
	width: 100%;
}

.rw-tools-grid .rw-card--category .wp-block-post-title {
	font-size: var(--wp--preset--font-size--lead, 24px) !important;
	line-height: 1.25 !important;
	font-weight: 600 !important;
}

.rw-tools-grid .rw-card--category .rw-card__copy {
	flex: 1 1 auto;
	gap: 0 !important;
	margin: 0 !important;
}

.rw-tools-grid .rw-card__more {
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	line-height: 26px !important;
	text-decoration: none !important;
	text-transform: uppercase;
	white-space: nowrap;
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
}

.rw-tools-grid .rw-card__more::after {
	content: "";
	display: inline-block;
	width: 24px;
	height: 24px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%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 24 24' fill='none'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.rw-gac {
	background-color: #fff !important;
	padding-top: 100px !important;
	padding-bottom: 50px !important;
}

.rw-gac__intro {
	font-weight: 600 !important;
	line-height: 30px !important;
	color: #222 !important;
	margin: 0 0 0.5rem !important;
}

.rw-gac__subhead {
	color: var(--wp--preset--color--primary, #ea1c24) !important;
	/* Fluid like the h2 above it (WP fluid curve for 32px), so the section
	   title never ends up smaller than its own subheads on narrow screens. */
	font-size: clamp(20px, 1.25rem + ((1vw - 3.2px) * 1.071), 32px) !important;
	font-weight: 500 !important;
	line-height: 1.9375 !important;
	margin: 0 !important;
}

.rw-gac__list {
	margin: 0 0 0.5rem !important;
	padding-left: 1.25em !important;
	color: #222;
}

.rw-gac__list li {
	font-size: var(--wp--preset--font-size--lead, 24px) !important;
	line-height: 1.5 !important;
	margin: 0 !important;
}

.rw-gac__copy > p:last-child {
	margin: 0 !important;
	font-size: var(--wp--preset--font-size--lead, 24px) !important;
	line-height: 1.5 !important;
}

.rw-gac .rw-gac__btn .wp-block-button__link,
.rw-gac .wp-block-button.rw-gac__btn .wp-block-button__link {
	background-color: var(--wp--preset--color--primary, #ea1c24) !important;
	color: #fff !important;
	border-radius: 8px !important;
	padding: 14px 24px 16px !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	line-height: 26px !important;
	min-height: 46px;
}

@media (max-width: 781px) {
	.rw-tools-grid .wp-block-post-template {
		grid-template-columns: 1fr !important;
	}

	.rw-tools-grid .wp-block-post-template > li {
		height: auto !important;
		min-height: 360px !important;
		max-height: none !important;
	}

	.rw-tools-grid .rw-card--category {
		min-height: 360px !important;
		height: 360px !important;
		max-height: 360px !important;
	}
}

/* design-fix ontdek */
.rw-faciliteit-rail {
	padding-top: 50px !important;
	padding-bottom: 50px !important;
}

.rw-faciliteit-rail .rw-heading-primary {
	margin: 0 0 16px !important;
}

.rw-query-rail .rw-card--category .wp-block-post-excerpt {
	display: none !important;
}

.rw-query-rail .rw-card--category .wp-block-post-featured-image::after {
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%) !important;
}

.rw-query-rail .rw-card--category .rw-card__body {
	flex-direction: row !important;
	align-items: flex-end !important;
	justify-content: space-between !important;
	gap: 32px !important;
	width: 100% !important;
}

.rw-query-rail .rw-card--category .rw-card__copy {
	flex: 1 1 auto;
	gap: 0 !important;
	margin: 0 !important;
	min-width: 0;
}

.rw-query-rail .rw-card--category .wp-block-post-title {
	font-size: 24px !important;
	line-height: 30px !important;
	font-weight: 600 !important;
	opacity: 0.9;
}

.rw-query-rail .rw-card__more {
	color: #fff !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	line-height: 26px !important;
	text-decoration: none !important;
	text-transform: uppercase;
	white-space: nowrap;
	display: inline-flex !important;
	align-items: center;
	gap: 8px;
	flex: 0 0 auto;
}

.rw-query-rail .rw-card__more::after {
	content: "";
	display: inline-block;
	width: 24px;
	height: 24px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%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 24 24' fill='none'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.rw-cta-band.rw-section--primary {
	background-color: var(--wp--preset--color--primary, #ea1c24) !important;
	color: #fff !important;
}

/* design-fix home — Voor ondernemers intro (Figma node 2167:2301).
   Heading 42/50 and body 24/36 measured against the Figma render; the block
   was inheriting the global h2 (36) and paragraph (16/26) sizes. Figma keeps
   heading and body as one text block, then 24px before the first Why-Us row. */
.rw-why-section .rw-why-split > .wp-block-column > .rw-heading-primary {
	font-size: 43px;
	line-height: 1.2;
	margin: 0 !important;
}

.rw-why-section .rw-why-split > .wp-block-column > p {
	font-size: 24px;
	line-height: 1.5;
	margin: 0 0 24px !important;
}

/* design-fix home — Ontdek het gebied link row (Figma 3309:1627).
   Figma puts a 30px text+arrow row 14px under the card grid; the text button
   was carrying 13px of vertical padding on top of a 48px gap. */
.rw-discover .wp-block-buttons {
	margin-top: 14px !important;
}

.rw-discover .rw-btn-text .wp-block-button__link {
	padding-top: 0 !important;
	padding-bottom: 0 !important;
}

/* design-fix over-ead — section backgrounds sampled from Figma node 2288:1702.
   The light bands on this page are #FAFAFA (not #FFF as on home), and the
   Gebieden/map band sits on #FFD8E4. Kept here rather than as a palette token
   since #FFD8E4 is not an approved token in the plan. */
/* Figma bands this page as #FFFFFF down to y=1074 (hero) then #FAFAFA — the two
   are different sections, not a rounding difference. */
.rw-hero-gallery {
	background-color: #fff;
}

.rw-living-lab-section {
	background-color: #fafafa;
}

.rw-map-areas {
	background-color: #ffd8e4;
}

/* design-fix over-ead — section intro type (Figma node 2288:1702).
   Every section heading on this page measures 48/62 and every intro body
   24/36; these blocks were falling back to the global h2 (36) and paragraph
   (16/26), which cost ~180px on the stats band alone. Card/tile copy nested
   deeper (rw-pillar-card, rw-living-lab__copy, rw-map-pin) keeps its own sizes. */
.rw-text-stats > .wp-block-columns > .wp-block-column > .wp-block-heading,
.rw-map-areas > .wp-block-columns > .wp-block-column > .wp-block-heading,
.rw-pillar-tiles > .wp-block-columns:not(.rw-pillar-tiles__row) > .wp-block-column > .wp-block-heading,
.rw-living-lab__intro > .wp-block-column > .wp-block-heading,
.rw-text-pps > .wp-block-columns > .wp-block-column > .wp-block-heading {
	font-size: 48px !important;
	line-height: 1.2917 !important;
	letter-spacing: 0;
	margin: 0 !important;
}

.rw-text-stats > .wp-block-columns > .wp-block-column > p,
.rw-map-areas > .wp-block-columns > .wp-block-column > p,
.rw-pillar-tiles > .wp-block-columns:not(.rw-pillar-tiles__row) > .wp-block-column > p,
.rw-living-lab__intro > .wp-block-column > p,
.rw-text-pps__body p {
	font-size: 24px;
	line-height: 1.5;
}

/* design-fix over-ead — map-areas colours (Figma 2288:1702).
   Section heading is red in Figma; the pattern's heading carries no
   rw-heading-primary class so it fell back to dark. Card titles are the
   inverse: dark in Figma, red in the theme. */
.rw-map-areas > .wp-block-columns > .wp-block-column > .wp-block-heading {
	color: var(--wp--preset--color--primary, #ea1c24);
}

.rw-map-pin .wp-block-heading {
	color: var(--wp--preset--color--text, #222) !important;
}

/* Figma inks this heading's line 1 at 466px; live advances 511 untracked at the
   same 48px (line spacing 62 confirms the size). -0.045em reproduces 466 and is
   what lets "Gebieden in Eindhoven" hold one line in the 481 column. */
.rw-map-areas > .wp-block-columns > .wp-block-column > .wp-block-heading {
	letter-spacing: -0.045em;
}

/* ==========================================================================
   Gebied side panel — Ontdek het gebied faciliteit cards open here instead
   of navigating to the single /gebied/{slug}/ page.
   ========================================================================== */

.rw-gebied-panel-open {
	overflow: hidden;
}

.rw-gebied-panel {
	position: fixed;
	inset: 0;
	z-index: 100010;
	visibility: hidden;
	pointer-events: none;
}

.rw-gebied-panel[aria-hidden="false"] {
	visibility: visible;
	pointer-events: auto;
}

.rw-gebied-panel__overlay {
	position: absolute;
	inset: 0;
	background: rgba(17, 17, 17, 0.55);
	opacity: 0;
	transition: opacity 0.25s ease;
}

.rw-gebied-panel.is-open .rw-gebied-panel__overlay {
	opacity: 1;
}

.rw-gebied-panel__dialog {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	width: min(560px, 92vw);
	background: #fff;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	transform: translateX(100%);
	transition: transform 0.3s ease;
	outline: none;
}

.rw-gebied-panel.is-open .rw-gebied-panel__dialog {
	transform: translateX(0);
}

.rw-gebied-panel__close {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 1;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	border: none;
	background: #fff;
	color: var(--wp--preset--color--text, #222);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color 0.15s ease, color 0.15s ease;
}

.rw-gebied-panel__close:hover {
	background: var(--wp--preset--color--primary, #ea1c24);
	color: #fff;
}

.rw-gebied-panel__media {
	position: relative;
	width: 100%;
	aspect-ratio: 4 / 3;
	background: var(--wp--preset--color--border, #e3e8ef);
	flex-shrink: 0;
}

.rw-gebied-panel__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.rw-gebied-panel__title {
	background: var(--wp--preset--color--primary, #ea1c24);
	padding: 24px 32px;
}

.rw-gebied-panel__title h2 {
	margin: 0;
	color: #fff;
	font-size: var(--wp--preset--font-size--lg, 28px);
	font-weight: 600;
	line-height: 1.3;
}

.rw-gebied-panel__body {
	padding: 32px;
	color: var(--wp--preset--color--text, #222);
	font-size: 16px;
	line-height: 1.6;
}

.rw-gebied-panel__body > :first-child {
	margin-top: 0;
}

.rw-gebied-panel__loading {
	padding: 32px;
	color: var(--wp--preset--color--text, #222);
}

@media (max-width: 600px) {
	.rw-gebied-panel__dialog {
		width: 100vw;
	}
}

/* ------------------------------------------------------------------ *
 * Detail pages (project + nieuws) — Figma 3575:1500 / 3587:1132
 * Wide featured image on top, red title left, intro + body right.
 * ------------------------------------------------------------------ */

.rw-detail-hero__media,
.rw-detail-hero__media img {
	width: 100%;
	margin: 0;
	border-radius: 0;
	display: block;
}

.rw-detail-hero__media img {
	height: 600px;
	object-fit: cover;
}

.rw-detail-hero__copy {
	align-items: flex-start !important;
	/* 50px gutter between the red title and the body copy, same rhythm as the
	   other heroes. The title column absorbs it so the body column keeps the
	   Figma width (815 of 1340). */
	gap: 50px !important;
}

/* Desktop only — below 782px core stacks the columns at 100% width and that
   must keep winning. */
@media (min-width: 782px) {
	.rw-detail-hero__copy > .wp-block-column:first-child {
		flex-basis: calc(38% - 50px) !important;
	}

	.rw-detail-hero__copy > .wp-block-column:last-child {
		flex-basis: 62% !important;
	}
}

/* Figma has 74/80 here, but real titles are far longer than the mock-up's and
   ran into the body column. 54px still towers over the 36px lead and 18px body. */
.rw-detail-hero__title {
	font-size: clamp(2rem, 3.75vw, 54px) !important;
	line-height: 1.111 !important;
	letter-spacing: -0.5px;
	margin: 0 !important;
	overflow-wrap: break-word;
	hyphens: none;
}

.rw-detail-hero__body {
	font-size: 18px;
	line-height: 30px;
	color: #222;
}

.rw-detail-hero__body > * {
	max-width: 100%;
}

.rw-detail-hero__body > * + * {
	margin-top: 24px;
}

/* Figma: the opening paragraph is the 36/42 lead above the body copy */
.rw-detail-hero__body > h3:first-child,
.rw-detail-hero__body > p:first-child {
	font-size: clamp(1.5rem, 2.5vw, 36px) !important;
	line-height: 1.167 !important;
	font-weight: 500;
	color: #222;
	margin: 0 0 30px !important;
}

.rw-detail-hero__body p,
.rw-detail-hero__body li {
	font-size: 18px;
	line-height: 30px;
}

.rw-detail-hero__body ul,
.rw-detail-hero__body ol {
	padding-left: 20px;
}

.rw-detail-hero__body li + li {
	margin-top: 8px;
}

.rw-detail-hero__body a {
	color: inherit;
	text-decoration: underline;
}

.rw-detail-hero__body figure,
.rw-detail-hero__body img {
	width: 100%;
	max-width: 100%;
	height: auto;
	border-radius: 0;
}

.rw-detail-hero__body figure {
	margin: 40px 0;
}

/* "Lees ook" — Figma 3575:1523: grey band, 3 cards, 60px gutter */
.rw-read-also__title {
	font-size: 48px !important;
	line-height: 62px !important;
	font-weight: 500;
	color: var(--wp--preset--color--primary, #ea1c24) !important;
	margin: 0 !important;
}

.rw-query-read-also .wp-block-post-template {
	gap: 60px !important;
}

.rw-read-also .rw-card--blog {
	gap: 24px !important;
}

.rw-read-also .rw-card--blog .wp-block-post-featured-image img {
	aspect-ratio: 405 / 251;
	border-radius: 0;
}

.rw-read-also .rw-card__body {
	gap: 8px !important;
}

.rw-read-also .rw-card--blog .wp-block-post-title,
.rw-read-also .rw-card--blog .wp-block-post-title a {
	font-size: 36px !important;
	line-height: 42px !important;
	font-weight: 500 !important;
	color: var(--wp--preset--color--primary, #ea1c24) !important;
}

.rw-read-also .rw-card--blog .wp-block-post-date {
	font-size: 20px !important;
	line-height: 34px !important;
	color: var(--wp--preset--color--primary, #ea1c24) !important;
}

@media (max-width: 781px) {
	.rw-detail-hero__media img {
		height: 280px;
	}

	.rw-detail-hero__copy {
		gap: 24px !important;
	}

	.rw-query-read-also .wp-block-post-template {
		grid-template-columns: 1fr;
		gap: 40px !important;
	}
}
