/* Type */

.ew-hero__title {
	font-family: var(--ew-font-heading);
	font-weight: var(--ew-weight-semibold);
	letter-spacing: var(--ew-tracking-tight);
	text-wrap: balance;
}

.ew-page-intro h1 {
	color: var(--ew-color-heading);
}

/* Eyebrow: the handwritten accent of the design direction (1.24). */
.ew-eyebrow {
	margin: 0 0 0.4rem;
	color: var(--ew-pp-eyebrow);
	font-family: var(--ew-font-script);
	font-size: var(--ew-pp-script-size);
	font-weight: var(--ew-weight-semibold);
	letter-spacing: 0;
	line-height: 1.05;
	text-transform: none;
}

[data-scheme="dark"] .ew-eyebrow {
	color: var(--ew-color-cta-on-dark);
}

.ew-prose {
	color: var(--ew-color-text-secondary);
	font-size: var(--ew-text-body);
	line-height: var(--ew-leading-body);
}

.ew-prose > * + * {
	margin-top: 1rem;
}

.ew-prose h2,
.ew-prose h3 {
	margin-top: 2rem;
	color: var(--ew-color-text-primary);
	font-family: var(--ew-font-heading);
	font-weight: var(--ew-weight-medium);
	letter-spacing: var(--ew-tracking-tight);
	line-height: var(--ew-leading-heading);
	text-wrap: balance;
}

.ew-prose h2 {
	font-size: var(--ew-text-heading-2);
}

.ew-prose h3 {
	font-size: var(--ew-text-heading-3);
}

.ew-prose a {
	color: var(--ew-palette-body);
	text-underline-offset: 0.16em;
}

.ew-prose ul,
.ew-prose ol {
	padding-left: 1.15rem;
}

.ew-prose img,
.ew-prose .wp-block-image img {
	height: auto;
}

.ew-entry .ew-prose {
	color: var(--ew-color-text-primary);
}

.ew-entry .ew-prose > p:first-of-type::first-letter {
	float: left;
	padding: 0.15rem 0.45rem 0 0;
	color: var(--ew-color-text-primary);
	font-family: var(--ew-font-heading);
	font-size: 3.35rem;
	font-weight: var(--ew-weight-medium);
	line-height: 0.8;
}

/* Buttons */

.ew-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.9rem 1.35rem;
}

.ew-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	min-height: 2.75rem;
	padding: var(--ew-button-padding-y) var(--ew-button-padding-x);
	border: var(--ew-button-border) solid transparent;
	border-radius: var(--ew-button-radius);
	background: transparent;
	color: var(--ew-button-text-fg);
	font-family: var(--ew-button-font);
	font-size: var(--ew-button-size);
	font-weight: var(--ew-button-weight);
	line-height: 1;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition:
		background-color var(--ew-button-duration) var(--ew-motion-ease),
		color var(--ew-button-duration) var(--ew-motion-ease),
		border-color var(--ew-button-duration) var(--ew-motion-ease);
}

.ew-button:hover {
	color: var(--ew-button-text-fg-hover);
}

.ew-button:focus-visible {
	outline: 2px solid var(--ew-button-focus);
	outline-offset: 3px;
}

.ew-button:active {
	opacity: 0.92;
}

.ew-button:disabled,
.ew-button:disabled:hover,
.ew-button:disabled:active {
	opacity: 0.45;
	cursor: not-allowed;
}

.ew-button--primary {
	background: var(--ew-button-primary-bg);
	border-color: var(--ew-button-primary-border);
	color: var(--ew-button-primary-fg);
}

.ew-button--primary:hover {
	background: var(--ew-button-primary-bg-hover);
	border-color: var(--ew-button-primary-bg-hover);
	color: var(--ew-button-primary-fg-hover);
}

.ew-button--secondary {
	background: var(--ew-button-secondary-bg);
	border-color: var(--ew-button-secondary-border);
	color: var(--ew-button-secondary-fg);
}

.ew-button--secondary:hover {
	background: var(--ew-button-secondary-bg-hover);
	border-color: var(--ew-button-secondary-bg-hover);
	color: var(--ew-button-secondary-fg-hover);
}

/* Design direction 1.24: on the light page the secondary action is an
   underlined text link; on a photograph or an ink surface it is a light
   outline. Never two filled buttons side by side. */
.ew-button--secondary {
	padding-inline: 0;
	border-color: transparent;
	background: transparent;
	color: var(--ew-color-heading);
	font-weight: var(--ew-weight-semibold);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 5px;
}

.ew-button--secondary:hover {
	border-color: transparent;
	background: transparent;
	color: var(--ew-color-accent-text);
}

.ew-hero .ew-button--secondary,
[data-scheme="dark"] .ew-button--secondary {
	padding-inline: var(--ew-button-padding-x);
	border-color: rgb(255 255 255 / 0.45);
	color: var(--ew-color-text-on-dark);
	text-decoration: none;
}

.ew-hero .ew-button--secondary:hover,
[data-scheme="dark"] .ew-button--secondary:hover {
	border-color: var(--ew-color-text-on-dark);
	background: rgb(255 255 255 / 0.08);
	color: var(--ew-color-white);
}

.ew-button--outline {
	background: var(--ew-button-outline-bg);
	border-color: var(--ew-button-outline-border);
	color: var(--ew-button-outline-fg);
}

.ew-button--outline:hover {
	background: var(--ew-button-outline-bg-hover);
	border-color: var(--ew-button-outline-bg-hover);
	color: var(--ew-button-outline-fg-hover);
}

.ew-button--text,
.ew-button--tertiary {
	min-height: 2.75rem;
	padding-inline: 0;
	border-color: transparent;
	background: transparent;
	color: var(--ew-button-text-fg);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.ew-button--text:hover,
.ew-button--tertiary:hover {
	background: transparent;
	color: var(--ew-button-text-fg-hover);
}

@media (forced-colors: active) {
	.ew-button {
		border: 2px solid ButtonText;
		background: ButtonFace;
		color: ButtonText;
	}
}

/* Solid: no wrapper box so sticky nav is not clipped by a short parent. */
.ew-masthead[data-header="solid"] {
	display: contents;
}

.ew-masthead[data-header="transparent"] {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	z-index: var(--ew-z-header);
	color: var(--ew-color-paper-50);
}

.ew-announce {
	position: static;
	font-size: var(--ew-text-caption);
	line-height: 1.45;
	letter-spacing: 0.01em;
}

.ew-announce__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem 1.75rem;
	padding-block: 0.55rem;
}

.ew-masthead[data-scheme="dark"] .ew-announce {
	background: var(--ew-color-announce-bg);
	border-bottom: 1px solid var(--ew-color-announce-line);
	color: var(--ew-color-announce-fg);
}

.ew-announce {
	background: var(--ew-color-announce-bg);
	border-bottom: 1px solid var(--ew-color-announce-line);
	color: var(--ew-color-announce-fg);
}

.ew-announce__text {
	margin: 0;
	font-size: var(--ew-text-caption);
	font-weight: var(--ew-weight-medium);
	letter-spacing: var(--ew-tracking-eyebrow);
	text-transform: uppercase;
}

/* Top bar: phone, rotating headlines, availability. Scrolls away with the
   page (it is the .ew-announce row, so it never sticks). */
.ew-topbar a {
	color: inherit;
	text-decoration: none;
	text-underline-offset: 0.2em;
}

.ew-topbar a:hover,
.ew-topbar a:focus-visible {
	text-decoration: underline;
}

.ew-topbar__row {
	display: grid;
	/* Equal flexible side columns keep the headlines centred on the
	   container, independent of the phone and status widths. */
	grid-template-columns: minmax(auto, 1fr) minmax(0, auto) minmax(auto, 1fr);
	grid-template-areas: "phone news status";
	align-items: center;
	gap: 0.3rem 1.5rem;
	min-height: var(--ew-topbar-height);
	padding-block: 0.45rem;
}

.ew-topbar__status {
	grid-area: status;
	justify-self: end;
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
	white-space: nowrap;
}

.ew-topbar__dot {
	width: 0.45rem;
	height: 0.45rem;
	border-radius: 50%;
	background: var(--ew-color-status-closed);
	flex: none;
}

.ew-topbar__status[data-state="open"] .ew-topbar__dot {
	background: var(--ew-color-status-open);
	box-shadow: 0 0 0 3px var(--ew-color-status-open-ring);
}

.ew-topbar__status[data-state="open"] .ew-topbar__state--closed,
.ew-topbar__status[data-state="closed"] .ew-topbar__state--open {
	display: none;
}

.ew-topbar__state--closed a {
	text-decoration: underline;
	text-decoration-color: rgba(243, 241, 236, 0.35);
}

.ew-topbar__state--closed a:hover,
.ew-topbar__state--closed a:focus-visible {
	text-decoration-color: currentColor;
}

/* Phone: phone number and availability on one row, headlines below. */
@media (max-width: 40rem) {
	.ew-topbar__row {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas:
			"phone status"
			"news news";
		row-gap: 0.25rem;
		padding-block: 0.5rem;
	}
}

.ew-top {
	position: relative;
	z-index: var(--ew-z-header);
	color: var(--ew-color-header-fg);
	transition:
		background-color var(--ew-motion-duration-normal) var(--ew-motion-ease),
		border-color var(--ew-motion-duration-normal) var(--ew-motion-ease),
		box-shadow var(--ew-motion-duration-normal) var(--ew-motion-ease),
		color var(--ew-motion-duration-normal) var(--ew-motion-ease);
}

.ew-top[data-header="solid"] {
	position: sticky;
	top: 0;
	background: var(--ew-color-header-bg);
	border-bottom: 1px solid var(--ew-color-border);
}

.ew-top[data-header="transparent"] {
	color: var(--ew-header-over-photo-fg);
	background: transparent;
	border-bottom: 1px solid var(--ew-color-border);
}

.ew-top[data-header="transparent"] .ew-eyebrow,
.ew-top[data-scheme="dark"] .ew-brand,
.ew-top[data-header="transparent"] .ew-nav--desktop a,
.ew-top[data-header="transparent"] .ew-nav-toggle,
.ew-top[data-header="transparent"] .ew-lang a,
.ew-top[data-header="transparent"] .ew-lang span,
.ew-top[data-header="transparent"] .ew-lang__sep {
	color: inherit;
}

.ew-top[data-header="solid"] .ew-brand,
.ew-top[data-header="transparent"] .ew-brand {
	color: var(--ew-palette-heading);
}

.ew-nav--desktop .ew-nav__item.is-current > a,
.ew-nav--desktop .ew-nav__item.is-ancestor > a {
	color: var(--ew-palette-heading);
}

.ew-top.is-stuck {
	position: fixed;
	top: 0;
	right: 0;
	left: 0;
	background: var(--ew-color-header-bg);
	color: var(--ew-color-text);
	border-bottom: 1px solid var(--ew-color-border);
}

.ew-top.is-nav-open {
	background: var(--ew-color-header-bg);
	color: var(--ew-color-text);
	border-bottom: 1px solid var(--ew-color-border);
}

.ew-top.is-stuck .ew-brand,
.ew-top.is-nav-open .ew-brand,
.ew-top.is-stuck .ew-nav--desktop a,
.ew-top.is-nav-open .ew-nav--desktop a,
.ew-top.is-stuck .ew-nav-toggle,
.ew-top.is-nav-open .ew-nav-toggle,
.ew-top.is-stuck .ew-lang a,
.ew-top.is-nav-open .ew-lang a {
	color: var(--ew-palette-heading);
}

.ew-top.is-stuck .ew-nav__item.is-current > a,
.ew-top.is-stuck .ew-nav__item.is-ancestor > a,
.ew-top.is-nav-open .ew-nav__item.is-current > a,
.ew-top.is-nav-open .ew-nav__item.is-ancestor > a,
.ew-top.is-stuck .ew-brand,
.ew-top.is-nav-open .ew-brand {
	color: var(--ew-palette-heading);
}

/* Menu open (dropdown op desktop of het mobiele paneel): de headerbalk wordt
   wit, zodat balk en menu één vlak zijn. :has() volgt aria-expanded van de
   uitklapknop (gezet door navigation.js, ook bij hover); zonder :has() blijft
   de balk zijn eigen kleur. */
.ew-top.is-nav-open,
.ew-top[data-header]:has(.ew-nav--desktop .ew-nav__expand[aria-expanded="true"]) {
	background: var(--ew-color-surface);
}

.ew-top[data-header="transparent"].is-nav-open,
.ew-top[data-header="transparent"].is-nav-open .ew-brand,
.ew-top[data-header="transparent"].is-nav-open .custom-logo-link,
.ew-top[data-header="transparent"].is-nav-open .ew-nav-toggle {
	color: var(--ew-color-text-primary);
}

.admin-bar {
	--ew-admin-bar-height: 32px;
}

.admin-bar .ew-top[data-header="solid"],
.admin-bar .ew-top.is-stuck {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar {
		--ew-admin-bar-height: 46px;
	}

	.admin-bar .ew-top[data-header="solid"],
.admin-bar .ew-top.is-stuck {
		top: 46px;
	}
}

.ew-header {
	position: relative;
	z-index: 2;
}

/* One row: logo left, navigation centered, language + CTAs right. The two
   outer columns are equally wide (1fr each, at least their own content), so
   the menu sits in the middle of the container itself, not in the middle of
   the space the logo and the buttons leave over. Where the bar gets too
   narrow for that, the outer columns grow to their content and the menu
   takes what remains. */
.ew-header__bar {
	display: grid;
	grid-template-columns: minmax(auto, 1fr) minmax(0, auto) minmax(auto, 1fr);
	grid-template-areas: "logo nav actions";
	align-items: center;
	column-gap: clamp(1rem, 0.2rem + 1.4vw, 2rem);
	min-height: var(--ew-header-height);
	height: auto;
	padding-block: 0.25rem;
}

.ew-logo-link {
	grid-area: logo;
	justify-self: start;
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.ew-logo {
	width: auto;
	height: 3.5rem;
	max-width: min(12rem, 46vw);
	object-fit: contain;
}

/* Het logo kleurt mee met het thema (tokens.css). */
.ew-logo,
.custom-logo {
	filter: var(--ew-logo-filter);
}

.ew-nav--desktop {
	grid-area: nav;
}

.ew-header__actions {
	grid-area: actions;
	justify-self: end;
}

.ew-brand,
.custom-logo-link {
	display: inline-flex;
	align-items: center;
	max-width: 16rem;
	padding: 0.4rem 0.2rem;
	color: inherit;
	font-family: var(--ew-font-heading);
	font-size: 1.3rem;
	font-weight: var(--ew-weight-bold);
	letter-spacing: 0.14em;
	line-height: 1.05;
	text-decoration: none;
	text-transform: uppercase;
}

.custom-logo {
	width: auto;
	height: auto;
	max-width: 100%;
	max-height: 3.5rem;
	object-fit: contain;
}

.ew-nav--desktop {
	justify-self: center;
}

.ew-nav--desktop .ew-nav__list {
	flex-wrap: nowrap;
	justify-content: center;
	gap: clamp(1rem, 0.25rem + 1.1vw, 2rem);
}

.ew-nav--desktop .ew-nav__list > .ew-nav__item > a {
	white-space: nowrap;
}

.ew-nav__list {
	display: flex;
	align-items: center;
	gap: clamp(0.7rem, 0.2rem + 1.1vw, 1.6rem);
	list-style: none;
}

.ew-nav__item {
	position: relative;
	display: flex;
	align-items: center;
}

.ew-nav--desktop .ew-nav__list > .ew-nav__item > a {
	padding-block: 0.4rem;
	font-size: var(--ew-nav-link-size);
	white-space: nowrap;
	text-decoration: none;
	transition: color var(--ew-motion-duration-fast) var(--ew-motion-ease);
}

.ew-nav--desktop .ew-nav__list > .ew-nav__item > a:hover {
	color: var(--ew-palette-body);
}

/* Current page: heading colour with an accent underline. */
.ew-nav--desktop .ew-nav__item.is-current > a,
.ew-nav--desktop .ew-nav__item.is-ancestor > a {
	color: var(--ew-palette-heading);
	text-decoration: underline;
	text-decoration-color: var(--ew-palette-accent);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.45em;
}

/* Gedeelde streep onder het hoofdmenu (navigation.js). Eén element dat van
   item naar item glijdt en zijn breedte aanpast; het rust onder de huidige
   pagina. Alleen transform en opacity. Met de streep vervalt de eigen
   onderstreping van het huidige item; zonder JavaScript of op een scherm
   zonder hover blijft die staan. De streep staat op 0,0 van zijn
   offsetParent en krijgt zijn plek in pixels, zodat het menu zelf niet
   gepositioneerd hoeft te worden (het megamenu hangt aan de headerbalk). */
.ew-nav--desktop.heeft-streep .ew-nav__item.is-current > a,
.ew-nav--desktop.heeft-streep .ew-nav__item.is-ancestor > a {
	text-decoration: none;
}

.ew-nav__streep {
	position: absolute;
	top: 0;
	left: 0;
	width: 1px;
	height: 1px;
	background: var(--ew-palette-accent);
	opacity: 0;
	pointer-events: none;
	transform: translate3d(var(--ew-streep-x, 0), var(--ew-streep-y, 0), 0) scaleX(var(--ew-streep-b, 0));
	transform-origin: 0 50%;
	transition:
		transform var(--ew-motion-duration-medium) var(--ew-motion-ease-out),
		opacity var(--ew-motion-duration-fast) var(--ew-motion-ease);
}

.ew-nav__streep.is-zichtbaar {
	opacity: 1;
}

.ew-nav__streep.is-direct {
	transition: none;
}

/* De header blijft staan (position: sticky hierboven). In het donkere
   thema krijgt de balk een zachte schaduw zodra de pagina schuift, gestuurd
   door de scrollpositie zelf: geen script, geen listener. Het lichte thema
   heeft geen schaduw (--ew-shadow-header-scroll is daar none). Browsers
   zonder scroll-tijdlijn houden de balk zoals hij is. */
@supports (animation-timeline: scroll()) {
	.ew-top[data-header="solid"] {
		animation: ew-top-schuif linear both;
		animation-timeline: scroll(root block);
		animation-range: 0 5rem;
	}

	@keyframes ew-top-schuif {
		to {
			box-shadow: var(--ew-shadow-header-scroll);
		}
	}
}

.ew-nav__expand {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	margin-left: 0.1rem;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
}

.ew-nav__expand::before {
	content: "";
	width: 0.4rem;
	height: 0.4rem;
	border-right: 1.5px solid currentColor;
	border-bottom: 1.5px solid currentColor;
	transform: translateY(-1px) rotate(45deg);
}

.ew-nav__expand[aria-expanded="true"]::before {
	transform: translateY(2px) rotate(225deg);
}

.ew-nav--desktop .ew-nav__sub {
	position: absolute;
	top: calc(100% + 0.55rem);
	left: -0.75rem;
	z-index: var(--ew-z-dropdown);
	min-width: 13rem;
	padding: 0.45rem 0;
	background: var(--ew-nav-dropdown-bg);
	color: var(--ew-nav-dropdown-fg);
	border: 1px solid var(--ew-color-line);
	border-radius: var(--ew-radius-sm);
	box-shadow: var(--ew-shadow-popover);
	animation: ew-sub-enter var(--ew-motion-duration-normal) var(--ew-motion-ease-out);
}

@keyframes ew-sub-enter {
	from {
		opacity: 0;
		transform: translateY(-0.5rem);
	}
}

/* Invisible bridge over the gap between trigger and panel, so the pointer
   can travel down without the dropdown losing hover. */
.ew-nav--desktop .ew-nav__sub::before {
	content: "";
	position: absolute;
	top: -0.6rem;
	right: 0;
	left: 0;
	height: 0.6rem;
}

/* Items follow the panel in with a soft stagger. */
.ew-nav--desktop .ew-nav__sub > li {
	animation: ew-sub-item-enter var(--ew-motion-duration-normal) var(--ew-motion-ease-out) backwards;
}

.ew-nav--desktop .ew-nav__sub > li:nth-child(1) { animation-delay: 30ms; }
.ew-nav--desktop .ew-nav__sub > li:nth-child(2) { animation-delay: 65ms; }
.ew-nav--desktop .ew-nav__sub > li:nth-child(3) { animation-delay: 100ms; }
.ew-nav--desktop .ew-nav__sub > li:nth-child(4) { animation-delay: 135ms; }
.ew-nav--desktop .ew-nav__sub > li:nth-child(n + 5) { animation-delay: 170ms; }

@keyframes ew-sub-item-enter {
	from {
		opacity: 0;
		transform: translateY(-0.3rem);
	}
}

/* Leaving: the panel fades back up, then JavaScript hides it. */
.ew-nav--desktop .ew-nav__sub.is-leaving {
	animation: ew-sub-leave var(--ew-motion-duration-fast) var(--ew-motion-ease) forwards;
	pointer-events: none;
}

.ew-nav--desktop .ew-nav__sub.is-leaving > li {
	animation: none;
}

@keyframes ew-sub-leave {
	to {
		opacity: 0;
		transform: translateY(-0.4rem);
	}
}

.ew-nav__item:nth-last-child(-n + 2) .ew-nav__sub {
	right: 0;
	left: auto;
}

.ew-nav--desktop .ew-nav__sub a {
	display: block;
	padding: 0.55rem 1.1rem;
	color: var(--ew-nav-dropdown-fg);
	font-size: var(--ew-nav-link-size);
	text-decoration: none;
	transition:
		background-color var(--ew-motion-duration-fast) var(--ew-motion-ease),
		color var(--ew-motion-duration-fast) var(--ew-motion-ease);
}

.ew-nav--desktop .ew-nav__sub a:hover {
	background: color-mix(in srgb, var(--ew-palette-band) 70%, transparent);
	color: var(--ew-palette-body);
}

.ew-nav--desktop .ew-nav__sub .is-current > a {
	color: var(--ew-palette-body);
}

.ew-header__actions {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 0.65rem 0.9rem;
}

.ew-header__desktop-tools {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem 1rem;
}

.ew-header__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.85rem;
}

.ew-header__cta .ew-button,
.ew-header__cta-compact .ew-button {
	min-height: 2.75rem;
	padding: 0.45rem 1rem;
	font-size: 0.8125rem;
	white-space: nowrap;
}

/* Compact primary action in the bar, shown when the desktop tools hide. */
.ew-header__cta-compact {
	display: none;
}

.ew-lang {
	display: flex;
	align-items: center;
	gap: 0.25rem;
	font-size: var(--ew-text-label);
	letter-spacing: 0.08em;
}

.ew-lang a,
.ew-lang span {
	padding: 0.15rem 0.1rem;
	color: var(--ew-color-text-muted);
	text-decoration: none;
	transition: color var(--ew-motion-duration-fast) var(--ew-motion-ease);
}

.ew-lang [aria-current="true"],
.ew-top[data-header] .ew-lang [aria-current="true"] {
	color: var(--ew-color-brand);
	font-weight: var(--ew-weight-semibold);
}

.ew-lang a:hover,
.ew-top[data-header] .ew-lang a:hover {
	color: var(--ew-color-brand);
}

.ew-lang__sep {
	color: var(--ew-color-text-muted);
}

.ew-nav-panel__meta .ew-lang {
	order: -1;
}

.ew-nav-panel__meta .ew-lang a,
.ew-nav-panel__meta .ew-lang [aria-current="true"] {
	display: inline-flex;
	align-items: center;
	min-width: 2.75rem;
	min-height: 2.75rem;
	justify-content: center;
}

.ew-nav-toggle {
	display: none;
	align-items: center;
	justify-content: center;
	width: 2.75rem;
	height: 2.75rem;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	flex: none;
}

.ew-nav-toggle__box {
	position: relative;
	display: block;
	width: 1.25rem;
	height: 0.75rem;
}

.ew-nav-toggle__line {
	position: absolute;
	left: 0;
	display: block;
	width: 100%;
	height: 1.5px;
	background: currentColor;
	border-radius: 1px;
	transform-origin: center;
	transition:
		transform var(--ew-motion-duration-normal) var(--ew-motion-ease),
		top var(--ew-motion-duration-normal) var(--ew-motion-ease),
		opacity var(--ew-motion-duration-fast) var(--ew-motion-ease);
}

.ew-nav-toggle__line:first-child {
	top: 0.1rem;
}

.ew-nav-toggle__line:last-child {
	top: 0.5rem;
}

.ew-nav-toggle[aria-expanded="true"] .ew-nav-toggle__line:first-child {
	top: 0.3rem;
	transform: rotate(45deg);
}

.ew-nav-toggle[aria-expanded="true"] .ew-nav-toggle__line:last-child {
	top: 0.3rem;
	transform: rotate(-45deg);
}

.ew-nav-panel {
	position: absolute;
	top: 100%;
	right: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	max-width: 100vw;
	overflow-x: hidden;
	overflow-y: hidden;
	background: var(--ew-palette-surface);
	color: var(--ew-palette-heading);
	border-bottom: 1px solid var(--ew-color-border);
	box-shadow: var(--ew-shadow-panel);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-0.4rem);
	pointer-events: none;
	transition:
		opacity var(--ew-motion-duration-normal) var(--ew-motion-ease),
		transform var(--ew-motion-duration-normal) var(--ew-motion-ease),
		visibility 0s linear var(--ew-motion-duration-normal);
}

.ew-nav-panel.is-open {
	opacity: 1;
	visibility: visible;
	transform: none;
	pointer-events: auto;
	transition-delay: 0s;
}

.ew-nav-panel__inner {
	display: grid;
	gap: var(--ew-space-6);
	padding-block: var(--ew-space-5) var(--ew-space-6);
	max-height: min(70vh, 36rem);
	overflow: auto;
}

.ew-nav-panel__meta {
	display: grid;
	gap: var(--ew-space-5);
	padding-top: var(--ew-space-5);
	border-top: 1px solid var(--ew-color-border);
}

.ew-nav-panel__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem;
}

.ew-nav--mobile .ew-nav__list {
	flex-direction: column;
	align-items: flex-start;
	gap: 0;
}

.ew-nav--mobile .ew-nav__item {
	flex-wrap: wrap;
	align-items: center;
	width: 100%;
	opacity: 0;
	transform: translateY(0.45rem);
}

.ew-nav-panel.is-open .ew-nav--mobile .ew-nav__item {
	opacity: 1;
	transform: none;
	transition:
		opacity var(--ew-motion-duration-normal) var(--ew-motion-ease),
		transform var(--ew-motion-duration-normal) var(--ew-motion-ease);
}

.ew-nav-panel.is-open .ew-nav--mobile .ew-nav__item:nth-child(1) { transition-delay: 40ms; }
.ew-nav-panel.is-open .ew-nav--mobile .ew-nav__item:nth-child(2) { transition-delay: 70ms; }
.ew-nav-panel.is-open .ew-nav--mobile .ew-nav__item:nth-child(3) { transition-delay: 100ms; }
.ew-nav-panel.is-open .ew-nav--mobile .ew-nav__item:nth-child(4) { transition-delay: 130ms; }
.ew-nav-panel.is-open .ew-nav--mobile .ew-nav__item:nth-child(5) { transition-delay: 160ms; }
.ew-nav-panel.is-open .ew-nav--mobile .ew-nav__item:nth-child(6) { transition-delay: 190ms; }
.ew-nav-panel.is-open .ew-nav--mobile .ew-nav__item:nth-child(7) { transition-delay: 220ms; }
.ew-nav-panel.is-open .ew-nav--mobile .ew-nav__item:nth-child(8) { transition-delay: 250ms; }

.ew-nav--mobile .ew-nav__list > .ew-nav__item > a {
	display: inline-flex;
	align-items: center;
	min-height: 2.75rem;
	padding-block: 0.35rem;
	font-family: var(--ew-font-heading);
	font-size: clamp(1.45rem, 1.15rem + 1.2vw, 1.9rem);
	font-weight: var(--ew-weight-medium);
	letter-spacing: var(--ew-tracking-tight);
	line-height: 1.2;
	text-decoration: none;
}

/* Mobile accordion: the expand button folds the categories open below. */
.ew-nav--mobile .ew-nav__expand {
	width: 2.75rem;
	height: 2.75rem;
	margin-left: auto;
}

.ew-nav--mobile .ew-nav__expand::before {
	width: 0.5rem;
	height: 0.5rem;
}

.ew-nav--mobile .ew-nav__sub {
	display: grid;
	gap: 0.1rem;
	width: 100%;
	margin: 0.1rem 0 0.65rem;
	padding: 0;
	animation: ew-sub-item-enter var(--ew-motion-duration-normal) var(--ew-motion-ease-out) backwards;
}

.ew-nav--mobile .ew-nav__sub[hidden] {
	display: none;
}

.ew-nav--mobile .ew-nav__sub .ew-nav__item {
	opacity: 1;
	transform: none;
}

.ew-nav--mobile .ew-nav__sub a {
	display: inline-flex;
	align-items: center;
	min-height: 2.5rem;
	color: var(--ew-color-text-muted);
	font-size: var(--ew-text-body);
	text-decoration: none;
	transition: color var(--ew-motion-duration-fast) var(--ew-motion-ease);
}

.ew-nav--mobile .ew-nav__sub a:hover {
	color: var(--ew-palette-body);
}

.ew-nav-panel__cta {
	flex: 1 1 12rem;
}

/* Mobile menu panel (to 48rem, and low landscape screens): exactly the visible screen below the header
   bar. --ew-nav-top is the bottom edge of .ew-top, set by navigation.js when
   the menu opens (topbar, admin bar and sticky header included); the
   fallback is the admin bar plus the header. Height uses 100dvh, so folding
   the address bar in or out leaves no gap. The panel is a flex column: the
   navigation list takes the free space and scrolls on its own, the CTA block
   sits at the bottom and never scrolls away, also when an accordion opens.
   The header bar (logo and close button) stays above the panel and acts as
   its head. A phone in landscape is wider than 48rem but low, so the same
   panel applies up to the menu-toggle breakpoint (68rem) when the screen is
   at most 32rem high. Tablets and desktop keep the dropdown above. */
@media (max-width: 48rem), (max-width: 68rem) and (max-height: 32rem) {
	.ew-nav-panel {
		--ew-nav-panel-top: var(--ew-nav-top, calc(var(--ew-admin-bar-height) + var(--ew-header-height)));
		position: fixed;
		top: var(--ew-nav-panel-top);
		bottom: auto;
		display: flex;
		flex-direction: column;
		height: calc(100vh - var(--ew-nav-panel-top));
		height: calc(100dvh - var(--ew-nav-panel-top));
		border-bottom: 0;
		box-shadow: none;
		overscroll-behavior: contain;
		/* The panel itself never moves: it starts flush under the header bar
		   and only fades. The content slides in and is clipped at the panel's
		   top edge, so nothing shows over the header during the fade. */
		transform: none;
		transition:
			opacity var(--ew-motion-duration-normal) var(--ew-motion-ease),
			visibility 0s linear var(--ew-motion-duration-normal);
	}

	.ew-nav-panel.is-open {
		transition-delay: 0s;
	}

	.ew-nav-panel[hidden] {
		display: none;
	}

	.ew-nav-panel__inner {
		display: flex;
		flex: 1 1 auto;
		flex-direction: column;
		gap: 0;
		min-height: 0;
		max-height: none;
		padding-block: 0;
		overflow: visible;
		transform: translateY(-0.4rem);
		transition: transform var(--ew-motion-duration-normal) var(--ew-motion-ease);
	}

	.ew-nav-panel.is-open .ew-nav-panel__inner {
		transform: none;
	}

	.ew-nav--mobile {
		flex: 1 1 auto;
		min-height: 0;
		padding-block: var(--ew-space-5);
		overflow-y: auto;
		overscroll-behavior: contain;
	}

	.ew-nav-panel__meta {
		flex: none;
		margin-top: auto;
		padding-bottom: calc(var(--ew-space-5) + env(safe-area-inset-bottom, 0px));
	}
}

/* Desktop: more breathing room around the header logo. */
@media (min-width: 68.0625rem) {
	.ew-header .ew-logo-link,
.ew-header .custom-logo-link {
		padding-block: var(--ew-logo-padding-block-desktop);
		padding-inline: var(--ew-logo-padding-inline-desktop);
	}
}

@media (max-width: 68rem) {
	.ew-nav--desktop,
.ew-header__desktop-tools {
		display: none;
	}

	.ew-nav-toggle {
		display: inline-flex;
	}

	.ew-header__cta-compact {
		display: inline-flex;
	}

	/* Tablet: the 4.15rem logo plus 2 x 0.45rem padding. */
	:root {
		--ew-header-height: 5.05rem;
	}

	.ew-header__bar {
		grid-template-columns: minmax(0, 1fr) auto;
		grid-template-areas: "logo actions";
		padding-block: 0.45rem;
	}

	.ew-logo {
		height: 4.15rem;
	}

	.ew-announce__row {
		justify-content: flex-start;
	}
}

@media (max-width: 40rem) {
	/* Phone: 3.5rem logo nudged 3px down, and a two-row top bar. */
	:root {
		--ew-header-height: 4.6rem;
		--ew-topbar-height: 4.25rem;
	}

	.ew-announce__row {
		padding-block: 0.4rem;
	}

	/* Phone: smaller header logo, nudged down from the top edge. */
	.ew-header .ew-logo-link {
		padding-top: 3px;
	}

	.ew-header .ew-logo {
		height: 3.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ew-top,
.ew-nav-toggle__line,
.ew-nav-panel,
.ew-nav-panel.is-open .ew-nav--mobile .ew-nav__item {
		transition: none;
	}

	.ew-nav-panel,
.ew-nav-panel__inner {
		transform: none;
		transition: none;
	}

	.ew-nav--mobile .ew-nav__item {
		opacity: 1;
		transform: none;
	}

	.ew-nav--desktop .ew-nav__sub,
.ew-nav--desktop .ew-nav__sub > li,
.ew-nav--desktop .ew-nav__sub.is-leaving,
.ew-nav--mobile .ew-nav__sub {
		animation: none;
	}
}

/* Footer: four quiet columns on the page colour. The shell never animates.
   Page and footer share one background, so a single hairline separates them. */

.ew-footer {
	background: var(--ew-color-footer-bg);
	color: var(--ew-color-footer-fg);
	border-top: 1px solid var(--ew-color-footer-line);
	padding-block: var(--ew-footer-pad-top) var(--ew-footer-pad-bottom);
	font-size: var(--ew-footer-text-size);
	line-height: 1.6;
}

.ew-footer__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) repeat(4, minmax(9rem, 1fr));
	gap: var(--ew-space-6) var(--ew-footer-gap);
	padding-bottom: var(--ew-space-7);
}

.ew-footer .ew-logo-link,
.ew-footer .custom-logo-link {
	padding: 0;
}

.ew-footer .custom-logo,
.ew-footer .ew-logo {
	height: 2.75rem;
	max-height: none;
	max-width: 12rem;
}

.ew-footer__description {
	max-width: 22rem;
	margin-top: var(--ew-space-4);
	color: var(--ew-color-footer-fg);
}

.ew-footer__label {
	margin-bottom: var(--ew-space-4);
	color: var(--ew-color-footer-muted);
	font-size: var(--ew-footer-heading-size);
	font-weight: var(--ew-weight-medium);
	letter-spacing: var(--ew-tracking-eyebrow);
	text-transform: uppercase;
}

.ew-footer-nav__list,
.ew-footer__links {
	display: grid;
	gap: 0.45rem;
	list-style: none;
}

.ew-footer__address {
	font-style: normal;
}

.ew-footer__address p + p {
	margin-top: 0.1rem;
}

.ew-footer__note {
	margin-top: var(--ew-space-3);
	color: var(--ew-color-footer-muted);
}

.ew-footer a {
	color: var(--ew-color-footer-fg);
	text-decoration: none;
	text-underline-offset: 0.18em;
	transition: color var(--ew-motion-duration-fast) var(--ew-motion-ease);
}

.ew-footer a:hover {
	text-decoration: underline;
}

.ew-footer a:focus-visible {
	outline: 2px solid var(--ew-color-focus);
	outline-offset: 3px;
	border-radius: var(--ew-radius-xs);
}

.ew-footer__base {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: var(--ew-space-3) var(--ew-space-6);
	padding-top: var(--ew-space-5);
	border-top: 1px solid var(--ew-color-footer-line);
	color: var(--ew-color-footer-muted);
	font-size: var(--ew-text-label);
}

.ew-footer__meta {
	margin: 0;
}

.ew-footer__privacy {
	color: var(--ew-color-footer-muted);
}

.ew-footer__base .ew-lang {
	margin-inline-start: auto;
}

/* Themaschakelaar: twee woorden in de maat van de voetregel. Het actieve
   thema staat in de tekstkleur met een dunne lijn eronder; het teken ervoor
   is een cirkel die in het donkere thema volloopt. De stijl volgt
   data-thema op het html-element, zodat hij bij de eerste paint al klopt.
   Zonder JavaScript doet de schakelaar niets en blijft hij verborgen. */
.ew-thema {
	display: none;
	align-items: baseline;
	gap: 0.15rem;
}

.ew-js .ew-thema {
	display: inline-flex;
}

.ew-thema__teken {
	position: relative;
	align-self: center;
	flex: none;
	width: 0.625rem;
	height: 0.625rem;
	margin-inline-end: 0.35rem;
	overflow: hidden;
	border: 1px solid var(--ew-color-footer-fg);
	border-radius: 50%;
}

.ew-thema__teken::before {
	content: "";
	position: absolute;
	inset: 0;
	background: var(--ew-color-footer-fg);
	transform: translateX(-101%);
	transition: transform var(--ew-thema-wissel-duur) var(--ew-motion-ease-out);
}

[data-thema="donker"] .ew-thema__teken::before {
	transform: none;
}

.ew-thema__knop {
	position: relative;
	padding: 0.35rem 0.2rem;
	border: 0;
	background: none;
	color: var(--ew-color-footer-muted);
	font-size: inherit;
	line-height: inherit;
	transition: color var(--ew-motion-duration-fast) var(--ew-motion-ease);
}

.ew-thema__knop::after {
	content: "";
	position: absolute;
	right: 0.2rem;
	bottom: 0.3rem;
	left: 0.2rem;
	height: 1px;
	background: currentColor;
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform var(--ew-thema-wissel-duur) var(--ew-motion-ease-out);
}

.ew-thema__knop:hover,
:root:not([data-thema="donker"]) .ew-thema__knop[data-thema-keuze="licht"],
[data-thema="donker"] .ew-thema__knop[data-thema-keuze="donker"] {
	color: var(--ew-color-footer-fg);
}

:root:not([data-thema="donker"]) .ew-thema__knop[data-thema-keuze="licht"]::after,
[data-thema="donker"] .ew-thema__knop[data-thema-keuze="donker"]::after {
	transform: none;
}

.ew-thema__sep {
	color: var(--ew-color-footer-muted);
}

/* Overvloeiing van de hele pagina bij het wisselen. thema.js zet tijdens de
   wissel de klasse ew-thema-wissel op het html-element; zo blijft deze
   overgang los van de view transition tussen documenten (de patch, onderaan
   dit bestand), die de pagina zelf juist niet laat overvloeien. */
@keyframes ew-thema-uit {
	to {
		opacity: 0;
	}
}

@keyframes ew-thema-in {
	from {
		opacity: 0;
	}
}

.ew-thema-wissel::view-transition-old(root) {
	animation: ew-thema-uit var(--ew-thema-wissel-duur, 320ms) var(--ew-motion-ease, ease) both;
}

.ew-thema-wissel::view-transition-new(root) {
	animation: ew-thema-in var(--ew-thema-wissel-duur, 320ms) var(--ew-motion-ease, ease) both;
}

@media (forced-colors: active) {
	.ew-thema__teken {
		display: none;
	}
}

.ew-footer__credit {
	display: flex;
	flex-wrap: wrap;
	gap: var(--ew-space-1) var(--ew-space-4);
	margin: 0;
	margin-inline-start: auto;
}

.ew-footer__base .ew-lang + .ew-footer__credit {
	margin-inline-start: 0;
}

@media (max-width: 72rem) {
	.ew-footer__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.ew-footer__brand {
		grid-column: 1 / -1;
	}
}

@media (max-width: 48rem) {
	.ew-footer__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 40rem) {
	.ew-footer__grid {
		grid-template-columns: 1fr;
		gap: var(--ew-space-6);
	}

	.ew-footer__base {
		flex-direction: column;
		align-items: flex-start;
		gap: var(--ew-space-2);
	}

	.ew-footer__credit {
		flex-direction: column;
		gap: 0;
		margin-inline-start: 0;
	}
}

/* Hero and page openings */

.ew-hero {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: 100vh;
	min-height: var(--ew-hero-min-height);
	color: var(--ew-palette-heading);
	background: var(--ew-palette-heading);
}

.ew-hero__media,
.ew-hero__shade {
	position: absolute;
	inset: 0;
}

/* The slideshow zooms its active image slightly; clip that overhang so it
   never widens the page. */
.ew-hero__media {
	overflow: hidden;
}

.ew-hero__media img,
.ew-hero__media video,
.ew-frame img,
.ew-article__media img {
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

/* Hero video: over the slide's image, which stays as poster and fallback.
   Transparent until components.js reports the first frame (is-afspelend),
   so the photograph shows while the file is still loading and when playback
   never starts. Reduced motion or reduced data shows the still image only. */
.ew-hero__video {
	position: absolute;
	inset: 0;
	display: block;
	opacity: 0;
	transition: opacity var(--ew-motion-duration-slow) var(--ew-motion-ease);
}

.ew-hero__video.is-afspelend {
	opacity: 1;
}

/* End image: over the video, transparent until the slide reports that the
   video has ended (is-afgelopen), then a slow fade over the last frame. */
.ew-hero__eind {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1.6s var(--ew-motion-ease);
}

.ew-hero__slide.is-afgelopen .ew-hero__eind {
	opacity: 1;
}

@media (prefers-reduced-motion: reduce), (prefers-reduced-data: reduce) {
	.ew-hero__video {
		display: none;
	}
}

.ew-hero__shade {
	background: var(--ew-color-overlay);
}

.ew-hero__stage {
	position: relative;
	z-index: 1;
	display: grid;
	gap: var(--ew-hero-content-gap);
	width: 100%;
	padding-top: clamp(7.5rem, 6rem + 4vw, 9.5rem);
	padding-bottom: clamp(2rem, 4vh, 3.75rem);
}

.ew-hero__content {
	min-width: 0;
	max-width: min(var(--ew-measure-lede), 100%);
}

/* Finnish compounds in capitals (PÄÄKAUPUNKISEUDULTA) can be wider than a
   phone: hyphenate, and break as a last resort, so the copy never runs
   out of the frame. */
.ew-hero__title {
	overflow-wrap: break-word;
	hyphens: auto;
}

.ew-hero--align-end .ew-hero__content {
	margin-inline-start: auto;
	text-align: end;
}

.ew-hero--align-end .ew-actions {
	justify-content: flex-end;
}

.ew-hero__title {
	max-width: 12ch;
	color: var(--ew-palette-heading);
	font-size: var(--ew-text-display);
	line-height: var(--ew-leading-display);
}

.ew-hero--align-end .ew-hero__title {
	margin-inline-start: auto;
}

.ew-hero__lede {
	max-width: 28rem;
	margin-top: 1rem;
	color: var(--ew-palette-heading);
	font-size: var(--ew-text-body-large);
	line-height: 1.55;
}

.ew-hero--align-end .ew-hero__lede {
	margin-inline-start: auto;
}

.ew-hero .ew-actions {
	margin-top: 1.5rem;
}

.ew-hero .ew-eyebrow {
	color: var(--ew-palette-body);
}

/* The home hero is an inset frame (photograph, scrim, copy, progress marks)
   on the page background, plus an optional floating card. The section keeps
   the page colour so whitespace surrounds the photograph on every side; the
   frame owns the charcoal fallback and the rounded corners. */
.ew-hero--home {
	display: block;
	min-height: 0;
	padding: var(--ew-hero-inset) var(--ew-hero-inset) 0;
	background: var(--ew-color-bg);
	color: var(--ew-color-fg);
}

.ew-hero__frame {
	position: relative;
	display: flex;
	align-items: flex-end;
	min-height: var(--ew-hero-frame-height);
	overflow: hidden;
	border-radius: var(--ew-hero-frame-radius);
	background: var(--ew-color-background-dark);
	color: var(--ew-color-text-on-dark);
	isolation: isolate;
}

/* Pages other than the home open with a lower frame. */
.ew-hero--short .ew-hero__frame {
	min-height: var(--ew-hero-frame-height-short);
}

/* Korte beeldhero: vlakke overlay, witte tekst, de breadcrumb in de kop. */
.ew-hero--home.ew-hero--short .ew-hero__shade {
	background: var(--ew-hero-overlay);
}

.ew-hero--home.ew-hero--short .ew-hero__label,
.ew-hero--home.ew-hero--short .ew-hero__title,
.ew-hero--home.ew-hero--short .ew-hero__lede {
	color: var(--ew-color-text-on-dark);
}

.ew-hero--home.ew-hero--short .ew-hero__title {
	font-size: var(--ew-pp-hero-title-short);
	max-width: var(--ew-hero-titel-breedte);
	text-wrap: balance;
}

.ew-hero__kruimels .ew-crumbs {
	margin-bottom: var(--ew-space-5);
}

.ew-hero__kruimels .ew-crumbs ol {
	color: var(--ew-color-text-on-dark);
}

.ew-hero__kruimels .ew-crumbs a {
	color: inherit;
	text-decoration: none;
	text-underline-offset: 0.2em;
}

.ew-hero__kruimels .ew-crumbs a:hover {
	text-decoration: underline;
	text-decoration-thickness: 1px;
}

.ew-hero__kruimels .ew-crumbs a:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 2px;
}

/* The inset gives the frame a fractional width; bleed the photograph one
   pixel past the rounded edge so the charcoal fallback never shows as a hairline. */
.ew-hero__frame > .ew-hero__media {
	inset: -1px;
}

/* The homepage frame is one screen high with the same page margin on all
   four sides (--ew-hero-frame-height). The title also follows the window
   height (9svh), so on laptop screens (1280x720 to 1536x864) the copy fits
   that frame instead of stretching it past the fold. Phones and wide
   screens keep the shared floor and the 6.5rem cap. */
.ew-hero--home {
	--ew-hero-title-size: clamp(min(3rem, 13.5vw), min(7vw, 9svh), 6.5rem);
}

/* The copy sits flush left in the frame, one gutter from the edge, instead
   of inside the centred page container. */
.ew-hero--home .ew-hero__stage {
	max-width: none;
	padding-top: clamp(5rem, 3rem + 6vh, 8rem);
	padding-inline: var(--ew-gutter);
}

.ew-hero--home .ew-hero__media img,
.ew-hero--home .ew-hero__media video {
	object-position: var(--ew-hero-slide-focus, var(--ew-home-hero-focus));
}

/* Slides stack inside the media shell; only their opacity crossfades.
   The first slide ships with .is-active, so the photo paints without JS. */
.ew-hero__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity var(--ew-home-hero-fade) var(--ew-motion-ease);
}

.ew-hero__slide.is-active {
	opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
	.ew-hero--home .ew-hero__slide.is-active img,
.ew-hero--home .ew-hero__slide.is-active video {
		animation: ew-home-hero-settle var(--ew-home-hero-settle-duration) var(--ew-motion-ease-out) both;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ew-hero__slide {
		transition: none;
	}
}

@keyframes ew-home-hero-settle {
	from {
		transform: scale(var(--ew-home-hero-settle-scale));
	}

	to {
		transform: none;
	}
}
.ew-hero--home .ew-hero__shade {
	background: var(--ew-color-overlay-hero);
}

.ew-hero__label {
	margin: 0 0 1rem;
	color: var(--ew-color-white);
	font-family: var(--ew-font-interface);
	font-size: var(--ew-text-eyebrow);
	font-weight: var(--ew-weight-semibold);
	letter-spacing: var(--ew-tracking-eyebrow);
	text-transform: uppercase;
}

/* Copy sits on the scrim, so it reads in a light colour. */
.ew-hero--home .ew-hero__title {
	color: var(--ew-color-white);
}

.ew-hero--home .ew-hero__lede {
	color: var(--ew-color-on-dark-soft);
}

/* Lines are set by the content; each span breaks deliberately. */
.ew-hero--home .ew-hero__content {
	max-width: min(44rem, 100%);
}

.ew-hero--home .ew-hero__title {
	max-width: none;
}

.ew-hero__line {
	display: block;
}

/* Welkomstanimatie van de home-hero: alleen transform en opacity op de copy,
   nooit op beeld, sluier of wiel. De beginstand geldt alleen tijdens de
   vertraging (fill-mode backwards); daarna geldt de gewone stijl, zodat de
   eindstand identiek is aan de hero zonder animatie. Zonder .ew-js of bij
   verminderde beweging blijft alles direct zichtbaar. */
@keyframes ew-hero-welkom-in {
	from {
		opacity: 0;
		transform: translateY(var(--ew-hero-welkom-verschuiving));
	}

	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: no-preference) {
	[data-hero-welkom="eyebrow"] {
		--vertraging: var(--ew-hero-welkom-eyebrow-vertraging);
		--duur: var(--ew-hero-welkom-eyebrow-duur);
	}

	[data-hero-welkom="titel"] {
		--vertraging: var(--ew-hero-welkom-titel-vertraging);
		--duur: var(--ew-hero-welkom-titel-duur);
	}

	[data-hero-welkom="intro"] {
		--vertraging: var(--ew-hero-welkom-intro-vertraging);
		--duur: var(--ew-hero-welkom-intro-duur);
	}

	[data-hero-welkom="knoppen"] {
		--duur: var(--ew-hero-welkom-knoppen-duur);
	}

	[data-hero-welkom="knoppen"] .ew-button {
		--vertraging: calc(var(--ew-hero-welkom-knoppen-vertraging) + var(--ew-hero-welkom-index, 0) * var(--ew-hero-welkom-knoppen-stap));
	}

	html.ew-js [data-hero-welkom]:not([data-hero-welkom="knoppen"]),
html.ew-js [data-hero-welkom="knoppen"] .ew-button {
		animation: ew-hero-welkom-in var(--duur) var(--ew-motion-ease) var(--vertraging) backwards;
	}
}

@media (max-width: 48rem) {
	.ew-hero--home .ew-hero__media img,
.ew-hero--home .ew-hero__media video {
		object-position: var(--ew-hero-slide-focus-mobile, var(--ew-hero-slide-focus, var(--ew-home-hero-focus-mobile)));
	}

	.ew-hero--home .ew-actions {
		width: 100%;
	}

	.ew-hero--home .ew-actions .ew-button {
		flex: 1 1 auto;
		justify-content: center;
	}
}

/* Telefoon: geen tekst op de foto. Het frame wordt een raster van twee rijen:
   de foto in 16:9 op de volle breedte, en daaronder de copy in de eigen
   stage op de donkere band van het frame. De foto staat daarmee heel in
   beeld in plaats van uitgesneden op staand formaat; de streepjes blijven in
   de fotorij, rechtsonder op de foto. */
@media (max-width: 47.99rem) {
	.ew-hero--home .ew-hero__frame {
		display: grid;
		grid-template-areas:
			"media"
			"stage";
		grid-template-columns: minmax(0, 1fr);
		min-height: 0;
	}

	.ew-hero--home .ew-hero__frame > .ew-hero__media {
		position: relative;
		grid-area: media;
		inset: auto;
		aspect-ratio: 16 / 9;
	}

	/* De sluier dient de leesbaarheid van copy op de foto; die staat hier
	   niet meer op de foto. */
	.ew-hero--home .ew-hero__frame > .ew-hero__shade {
		display: none;
	}

	.ew-hero--home .ew-hero__frame > .ew-hero__stage {
		grid-area: stage;
		padding-block: var(--ew-space-6);
	}

	.ew-hero--home .ew-hero__frame > .ew-hero-dots {
		position: relative;
		grid-area: media;
		inset: auto;
		justify-self: end;
		align-self: end;
		margin: var(--ew-space-4);
	}
}

/* Google rating badge: a compact trust marker on a translucent cream surface.
   It sits inside hero content and stays stationary while slides crossfade. */
.ew-hero__rating {
	margin-top: 1.5rem;
}

/* One progress mark per hero photo, in the bottom-right corner.
   The track is white at 40%. Only the active mark widens, and its fill is solid white. */
.ew-hero--home .ew-hero__stage {
	padding-bottom: clamp(4.25rem, 5vh + 1rem, 5.75rem);
}

.ew-hero-dots {
	position: absolute;
	z-index: 2;
	inset-inline-end: var(--ew-space-6);
	inset-block-end: var(--ew-space-6);
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	background: transparent;
	box-shadow: none;
}

.ew-hero-dots__dot {
	position: relative;
	display: block;
	flex: 0 0 auto;
	box-sizing: border-box;
	width: var(--ew-hero-dot-width);
	height: var(--ew-hero-dot-height);
	min-width: 0;
	min-height: 0;
	max-height: var(--ew-hero-dot-height);
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: var(--ew-hero-dot-radius);
	overflow: hidden;
	appearance: none;
	background: var(--ew-color-white);
	box-shadow: none;
	font-size: 0;
	line-height: 0;
	opacity: 0.4;
	-webkit-tap-highlight-color: transparent;
	transition:
		width var(--ew-motion-duration-medium) var(--ew-motion-ease),
		opacity var(--ew-motion-duration-medium) var(--ew-motion-ease),
		background-color var(--ew-motion-duration-medium) var(--ew-motion-ease);
}

.ew-hero-dots__dot.is-active {
	width: var(--ew-hero-dot-width-active);
	background: color-mix(in srgb, var(--ew-color-white) 40%, transparent);
	opacity: 1;
}

@media (hover: hover) and (pointer: fine) {
	.ew-hero-dots__dot:hover {
		opacity: 0.55;
	}
}

.ew-hero-dots__dot.is-active:hover,
.ew-hero-dots__dot.is-active:active {
	opacity: 1;
}

.ew-hero-dots__dot:focus-visible {
	outline: 2px solid var(--ew-color-white);
	outline-offset: 3px;
}

.ew-hero-dots__fill {
	position: absolute;
	inset: 0;
	display: block;
	background: var(--ew-color-white);
	transform: scaleX(0);
	transform-origin: left center;
	transition: transform var(--ew-motion-duration-medium) var(--ew-motion-ease);
}

.ew-hero-dots__dot.is-active .ew-hero-dots__fill {
	transform: scaleX(1);
}

.ew-hero-dots.is-running .ew-hero-dots__dot.is-active .ew-hero-dots__fill {
	animation: ew-hero-dot-fill var(--ew-hero-interval, 6s) linear forwards;
	transition: none;
}

/* The running rule’s animation shorthand would otherwise force play-state back to running. */
.ew-hero-dots.is-running.is-paused .ew-hero-dots__dot.is-active .ew-hero-dots__fill {
	animation-play-state: paused;
}

@keyframes ew-hero-dot-fill {
	from {
		transform: scaleX(0.2);
	}

	to {
		transform: scaleX(1);
	}
}

@media (prefers-reduced-motion: reduce) {
	.ew-hero-dots__fill,
.ew-hero-dots__dot {
		transition: none;
	}

	.ew-hero-dots.is-running .ew-hero-dots__dot.is-active .ew-hero-dots__fill {
		animation: none;
		transform: scaleX(1);
	}
}

/* Phone tracks are shorter. The corner radius stays inside the 4px height. */
@media (max-width: 48rem) {
	.ew-hero--home .ew-hero__stage {
		padding-bottom: calc(4.5rem + env(safe-area-inset-bottom, 0px));
	}

	.ew-hero-dots {
		--ew-hero-dot-radius: 2px;
		--ew-hero-dot-height: 4px;
		--ew-hero-dot-width: 25px;
		--ew-hero-dot-width-active: 36px;
		inset-inline-end: calc(24px + env(safe-area-inset-right, 0px));
		inset-block-end: calc(24px + env(safe-area-inset-bottom, 0px));
		gap: 6px;
	}
}

/* Hero type: the original bold editorial sans, set in capitals by the
   stylesheet so the content stays in sentence case for search and
   assistive tech (restored 1.23.1). Since 1.23.2 the whole site uses this
   face (Instrument Sans); only the hero titles are in capitals. */
.ew-hero--home .ew-hero__label {
	color: var(--ew-hero-label-color);
	letter-spacing: 0.16em;
}

/* The line above every hero title is handwritten (Caveat, design
   direction 1.24), the homepage's and the short frame's alike. Tilted with
   rotate, so the welcome animation (transform) stays separate. */
.ew-hero--home .ew-hero__label {
	margin-bottom: 0.5rem;
	color: var(--ew-color-text-on-dark);
	font-family: var(--ew-font-script);
	font-size: var(--ew-pp-script-size);
	font-weight: var(--ew-weight-medium);
	letter-spacing: 0;
	line-height: 1;
	text-transform: none;
	text-wrap: balance;
	rotate: -2deg;
	transform-origin: 0 100%;
}

.ew-hero--home .ew-hero__title {
	font-size: var(--ew-hero-title-size);
	font-stretch: var(--ew-pp-stretch);
	font-weight: var(--ew-weight-bold);
	letter-spacing: -0.035em;
	/* 1.0, not 0.94: Finnish capitals carry umlauts (Ä, Ö) that touch the
	   line above at a tighter leading. */
	line-height: 1;
	text-transform: uppercase;
	text-wrap: initial;
}

.ew-hero--home .ew-hero__lede {
	max-width: 34rem;
	margin-top: clamp(1.1rem, 0.9rem + 0.6vw, 1.6rem);
}

.ew-hero--home .ew-actions {
	margin-top: clamp(1.6rem, 1.3rem + 0.8vw, 2.25rem);
	gap: 0.75rem;
}

/* Floating card. Below 64rem it sits under the photograph on the charcoal
   hero shell; from 64rem it floats over the bottom-right of the frame. */
.ew-hero__card-shell {
	position: relative;
	z-index: 2;
	padding-block: var(--ew-space-5) 0;
}

/* Below 64rem the card lines up with the photograph's edges, not the gutter. */
.ew-hero__card-row {
	max-width: none;
	padding-inline: 0;
}

.ew-hero__card {
	display: grid;
	gap: var(--ew-space-4);
	width: 100%;
	padding: var(--ew-hero-card-pad);
	border-radius: var(--ew-hero-card-radius);
	background: var(--ew-hero-card-bg);
	color: var(--ew-hero-card-fg);
}

.ew-hero__card-title {
	color: var(--ew-hero-card-fg);
	font-family: var(--ew-font-heading);
	font-size: var(--ew-hero-card-title-size);
	font-weight: var(--ew-weight-bold);
	letter-spacing: -0.01em;
	line-height: 1.08;
	text-transform: uppercase;
}

.ew-hero__card-text {
	color: var(--ew-color-text-muted);
	font-size: var(--ew-text-small);
	line-height: 1.55;
}

.ew-hero__card-action {
	margin-top: var(--ew-space-1);
}

.ew-hero__card-action .ew-button {
	width: 100%;
}

@media (min-width: 48rem) {
	/* Progress marks line up with the copy column, under the buttons. */
	.ew-hero--home .ew-hero-dots {
		inset-inline-start: var(--ew-gutter);
		inset-inline-end: auto;
		inset-block-end: clamp(1.75rem, 3vh + 0.5rem, 2.5rem);
	}

	.ew-hero__card {
		max-width: 30rem;
	}

	.ew-hero--home .ew-actions .ew-button {
		flex: 0 0 auto;
	}
}

@media (min-width: 64rem) {
	.ew-hero--has-card .ew-hero__content {
		max-width: min(52rem, calc(100% - var(--ew-hero-card-width) - var(--ew-grid-gap)));
	}

	/* The card floats inside the frame's bottom-right corner, its base level
	   with the hero buttons. */
	.ew-hero__card-shell {
		position: absolute;
		inset-inline: var(--ew-hero-inset);
		inset-block-end: clamp(4.25rem, 5vh + 1rem, 5.75rem);
		padding: 0;
		pointer-events: none;
	}

	.ew-hero__card-row {
		display: flex;
		justify-content: flex-end;
		max-width: calc(var(--ew-container) + (var(--ew-gutter) * 2));
		padding-inline: var(--ew-gutter);
	}

	.ew-hero__card {
		width: var(--ew-hero-card-width);
		max-width: none;
		box-shadow: var(--ew-shadow-float);
		pointer-events: auto;
	}
}

.ew-grating {
	display: inline-flex;
	align-items: center;
	gap: 0.85rem;
	padding: 0.75rem 1.1rem;
	background: var(--ew-color-surface);
	border: 1px solid var(--ew-color-border);
	border-radius: var(--ew-radius-sm);
	color: var(--ew-palette-heading);
	text-decoration: none;
	transition:
		transform var(--ew-motion-duration-normal) var(--ew-motion-ease),
		box-shadow var(--ew-motion-duration-normal) var(--ew-motion-ease);
}

a.ew-grating:hover,
a.ew-grating:focus-visible {
	transform: translateY(-2px);
	box-shadow: var(--ew-shadow-popover);
}

.ew-grating__mark svg {
	display: block;
	width: 24px;
	height: 24px;
}

.ew-grating__body {
	display: grid;
	gap: 0.2rem;
}

.ew-grating__row {
	display: flex;
	align-items: center;
	gap: 0.5rem;
}

.ew-grating__value {
	color: var(--ew-palette-body);
	font-family: var(--ew-font-heading);
	font-size: 1.3rem;
	font-weight: var(--ew-weight-semibold);
	line-height: 1;
}

.ew-grating__stars {
	position: relative;
	display: inline-flex;
}

.ew-grating__stars-base,
.ew-grating__stars-fill {
	display: inline-flex;
	gap: 2px;
}

.ew-grating__stars-base {
	color: var(--ew-greviews-star-base);
}

.ew-grating__stars-fill {
	position: absolute;
	inset: 0 auto 0 0;
	overflow: hidden;
	color: var(--ew-greviews-star);
}

.ew-grating__stars svg {
	flex: none;
}

.ew-grating__count {
	color: var(--ew-palette-heading);
	font-size: var(--ew-text-small);
	line-height: 1.3;
}

.ew-grating__label {
	color: var(--ew-color-ink-500);
	font-size: var(--ew-text-caption);
	line-height: 1.3;
}

@media (max-width: 48rem) {
	.ew-hero__rating .ew-grating {
		width: 100%;
	}
}

.ew-page-hero {
	padding-top: clamp(3rem, 5vw, 5.75rem);
}

.ew-page-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
	gap: clamp(1.75rem, 3vw, 3.5rem);
	align-items: end;
}

@media (max-width: 60rem) {
	.ew-page-hero__grid {
		grid-template-columns: 1fr;
	}
}

.ew-feature-list {
	display: grid;
	list-style: none;
	border-top: 1px solid var(--ew-color-border);
}

.ew-feature-list__item {
	display: grid;
	grid-template-columns: 3.5rem minmax(0, 1fr);
	gap: 0.5rem 1.25rem;
	padding-block: 1.35rem;
	border-bottom: 1px solid var(--ew-color-border);
}

.ew-index {
	display: grid;
	list-style: none;
	border-top: 1px solid var(--ew-color-border);
}

.ew-frame {
	overflow: hidden;
	background: transparent;
	border-radius: var(--ew-frame-radius);
}

.ew-frame--landscape {
	aspect-ratio: 3 / 2;
}

.ew-location__copy .ew-actions {
	margin-top: 1.75rem;
}

.ew-location__media {
	max-width: 34rem;
	margin-inline-start: auto;
}

@media (max-width: 60rem) {
	.ew-location__media {
		margin-inline: 0;
		max-width: 26rem;
	}
}

.ew-contact {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: clamp(2rem, 5vw, 6rem);
}

.ew-contact dt {
	margin-bottom: 0.25rem;
	color: var(--ew-color-text-muted);
	font-size: var(--ew-text-eyebrow);
	letter-spacing: var(--ew-tracking-eyebrow);
	text-transform: uppercase;
}

@media (max-width: 60rem) {
	.ew-contact {
		grid-template-columns: 1fr;
	}
}

/* News, search, single */

.ew-page-intro {
	display: grid;
	gap: 0.8rem;
	margin-bottom: clamp(1.5rem, 3vw, 3rem);
}

.ew-page-intro h1 {
	font-family: var(--ew-font-heading);
	font-size: var(--ew-text-heading-1);
	font-weight: var(--ew-weight-medium);
	letter-spacing: var(--ew-tracking-tight);
	line-height: 1.05;
	text-wrap: balance;
}

.ew-crumbs {
	margin-bottom: 1.25rem;
}

.ew-crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 0.4rem;
	list-style: none;
	color: var(--ew-color-text-muted);
	font-size: 0.875rem;
}

.ew-crumbs li + li::before {
	content: "/";
	margin-right: 0.4rem;
}

.ew-crumbs a {
	text-decoration: none;
}

.ew-crumbs a:hover {
	text-decoration: underline;
	text-underline-offset: 0.15em;
}

.ew-articles {
	border-top: 1px solid var(--ew-color-border);
}

.ew-article {
	display: grid;
	grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
	gap: clamp(1rem, 2vw, 2.5rem);
	align-items: center;
	padding-block: clamp(1.25rem, 2vw, 2rem);
	border-bottom: 1px solid var(--ew-color-border);
}

.ew-article--text {
	grid-template-columns: minmax(0, 1fr);
}

.ew-article__media {
	overflow: hidden;
	aspect-ratio: 3 / 2;
	background: color-mix(in srgb, var(--ew-color-text-primary) 8%, var(--ew-color-bg));
}

.ew-article__media img {
	transition: transform var(--ew-motion-duration-slow) var(--ew-motion-ease);
}

.ew-article:hover .ew-article__media img,
.ew-article:focus-within .ew-article__media img {
	transform: scale(1.03);
}

.ew-article__kicker {
	color: var(--ew-color-text-muted);
	font-size: var(--ew-text-small);
}

.ew-article__kicker a {
	text-decoration: none;
}

.ew-article__title {
	margin-top: 0.35rem;
	font-family: var(--ew-font-heading);
	font-size: clamp(1.55rem, 1.2rem + 0.8vw, 2.15rem);
	font-weight: var(--ew-weight-medium);
	letter-spacing: -0.03em;
	line-height: 1.12;
}

.ew-article__title a {
	text-decoration: none;
}

.ew-article__title a:hover {
	text-decoration: underline;
	text-underline-offset: 0.12em;
}

.ew-article__excerpt {
	margin-top: 0.7rem;
	color: var(--ew-color-text-secondary);
}

@media (max-width: 50rem) {
	.ew-article {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ew-article__media img {
		transform: none;
	}
}

.ew-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1rem;
	margin-top: 2rem;
}

.ew-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	min-height: 44px;
	padding: 0 0.35rem;
	text-decoration: none;
}

.ew-pagination .current {
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.ew-single__header {
	display: grid;
	gap: 0.8rem;
	margin-bottom: 1.75rem;
}

.ew-single__title {
	font-family: var(--ew-font-heading);
	font-size: var(--ew-text-heading-1);
	font-weight: var(--ew-weight-medium);
	letter-spacing: var(--ew-tracking-tight);
	line-height: 1.05;
	text-wrap: balance;
}

.ew-single__media {
	margin-bottom: 2rem;
}

.ew-post-nav {
	margin-top: 3rem;
	padding-top: 1.25rem;
	border-top: 1px solid var(--ew-color-border);
}

.ew-post-nav .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.ew-post-nav a {
	text-decoration: none;
	font-family: var(--ew-font-heading);
	font-size: 1.2rem;
	letter-spacing: -0.02em;
}

@media (max-width: 40rem) {
	.ew-post-nav .nav-links {
		grid-template-columns: 1fr;
	}
}

.ew-comments {
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--ew-color-border);
}

.ew-comment-list {
	display: grid;
	gap: 1.25rem;
	margin: 1.25rem 0 0;
	padding: 0;
	list-style: none;
}

.ew-comment-list .comment-body {
	padding-bottom: 1.25rem;
	border-bottom: 1px solid var(--ew-color-border);
}

.ew-comment-form {
	display: grid;
	gap: 0.9rem;
	margin-top: 1.5rem;
}

.ew-comment-form p {
	margin: 0;
}

.ew-form label {
	display: block;
	margin-bottom: 0.3rem;
	font-size: var(--ew-text-small);
}

.ew-form input[type="text"],
.ew-form input[type="email"],
.ew-form input[type="tel"],
.ew-form input[type="url"],
.ew-form input[type="date"],
.ew-form input[type="number"],
.ew-form input[type="file"],
.ew-form textarea,
.ew-form select {
	width: 100%;
	padding: 0.75rem 0;
	border: 0;
	border-bottom: 1px solid var(--ew-form-border);
	border-radius: var(--ew-form-radius);
	background: transparent;
}

.ew-form select {
	appearance: none;
	background-image: linear-gradient(45deg, transparent 50%, currentColor 50%), linear-gradient(135deg, currentColor 50%, transparent 50%);
	background-position: calc(100% - 0.7rem) 50%, calc(100% - 0.35rem) 50%;
	background-repeat: no-repeat;
	background-size: 0.35rem 0.35rem, 0.35rem 0.35rem;
}

.ew-form input:focus-visible,
.ew-form textarea:focus-visible,
.ew-form select:focus-visible {
	outline: 2px solid var(--ew-color-focus);
	outline-offset: 3px;
}

.ew-form.is-loading .ew-button {
	opacity: 0.65;
}

/* Onderschrift zoals ondertitels in een short: wit op een zachte sluier. */

/* Actief: vult zich in de wisseltijd; bij pauze staat de vulling stil. */

/* Footer feature: materials and equipment (template-parts/footer/patch-feature.php)
   A quiet panel above the footer columns (panel, radius, spacing and
   columns). Left the free-standing Scorpion
   floor sanding machine: a transparent WebP in its own proportions, a soft
   natural shadow from CSS, rising --ew-footer-patch-uit-kone above the panel
   so it seems to stand in it. Right eyebrow, title line, text and the link.
   Only the link is clickable. Hover (mouse only) or focus on the link lifts
   the machine slightly; no movement with prefers-reduced-motion (the
   duration tokens are 0 then). */
.ew-footer-patch {
	--ew-patch-schaduw: var(--ew-schaduw-warm-rgb);
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
	gap: clamp(2rem, 0.5rem + 4.5vw, 5.5rem);
	align-items: center;
	--ew-footer-patch-pad: clamp(1.75rem, 1rem + 2.4vw, 3.25rem);
	/* The machine is upright, so it rises further above the panel than the
	   patch did while the panel keeps its height. */
	--ew-footer-patch-uit: clamp(2.5rem, 1.5rem + 2.8vw, 4.75rem);
	--ew-footer-kone-breedte: clamp(14rem, 8rem + 13vw, 24rem);
	margin-block: calc(var(--ew-footer-patch-uit) + var(--ew-space-4)) var(--ew-space-8);
	padding: var(--ew-footer-patch-pad) clamp(1.5rem, 0.25rem + 4.4vw, 4.5rem);
	border-radius: var(--ew-hero-frame-radius);
	background: var(--ew-vlak-glans) var(--ew-color-background-alt);
}

/* Top aligned and pulled up: the machine rises above the panel. */
.ew-footer-patch__beeld {
	align-self: start;
	justify-self: center;
	width: var(--ew-footer-kone-breedte);
	margin-top: calc((var(--ew-footer-patch-pad) + var(--ew-footer-patch-uit)) * -1);
}

.ew-footer-patch__kone {
	display: block;
	width: 100%;
	height: auto;
	filter:
		drop-shadow(0 2px 2px rgb(var(--ew-patch-schaduw) / 0.22))
		drop-shadow(0.75rem 1.1rem 1.1rem rgb(var(--ew-patch-schaduw) / 0.16));
	transition:
		transform calc(var(--ew-motion-duration-slow) * 1.5) var(--ew-motion-ease-out),
		filter calc(var(--ew-motion-duration-slow) * 1.5) var(--ew-motion-ease-out);
}

.ew-footer-patch__titel {
	max-width: 14ch;
	font-stretch: var(--ew-pp-stretch);
	text-transform: uppercase;
	margin: 0 0 var(--ew-space-4);
	color: var(--ew-color-heading);
	font-family: var(--ew-font-heading);
	font-size: var(--ew-text-heading-2);
	font-weight: var(--ew-weight-heading);
	letter-spacing: var(--ew-tracking-tight);
	line-height: var(--ew-leading-heading);
	text-wrap: balance;
}

.ew-footer-patch__intro {
	max-width: 30rem;
	margin: 0 0 var(--ew-space-5);
	color: var(--ew-color-footer-muted);
	font-size: var(--ew-text-body);
	line-height: var(--ew-leading-body);
}

.ew-footer-patch__link {
	display: inline-flex;
	align-items: center;
	gap: var(--ew-space-2);
	color: var(--ew-color-heading);
	font-size: var(--ew-text-small);
	font-weight: var(--ew-weight-semibold);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.3em;
	/* Larger touch target without moving the layout. */
	margin-block: calc(var(--ew-space-3) * -1);
	padding-block: var(--ew-space-3);
}

.ew-footer-patch__link::after {
	content: "\2192" / "";
	transition: transform var(--ew-motion-duration-normal) var(--ew-motion-ease-out);
}

.ew-footer-patch__link:focus-visible {
	outline: 2px solid var(--ew-color-focus);
	outline-offset: 4px;
}

/* The machine answers the link, not the panel: what moves is what clicks. */
.ew-footer-patch:has(.ew-footer-patch__link:focus-visible) .ew-footer-patch__kone {
	transform: translateY(-0.375rem);
	filter:
		drop-shadow(0 2px 2px rgb(var(--ew-patch-schaduw) / 0.18))
		drop-shadow(0.75rem 1.6rem 1.4rem rgb(var(--ew-patch-schaduw) / 0.14));
}

.ew-footer-patch__link:focus-visible::after {
	transform: translateX(0.25rem);
}

@media (hover: hover) and (pointer: fine) {
	.ew-footer-patch:has(.ew-footer-patch__link:hover) .ew-footer-patch__kone {
		transform: translateY(-0.375rem);
		filter:
			drop-shadow(0 2px 2px rgb(var(--ew-patch-schaduw) / 0.18))
			drop-shadow(0.75rem 1.6rem 1.4rem rgb(var(--ew-patch-schaduw) / 0.14));
	}

	.ew-footer-patch__link:hover::after {
		transform: translateX(0.25rem);
	}
}

/* Phone: the machine above the copy, aligned with it, whole and unclipped. */
@media (max-width: 47.99rem) {
	.ew-footer-patch {
		grid-template-columns: minmax(0, 1fr);
		gap: var(--ew-space-5);
		margin-bottom: var(--ew-space-7);
		padding-bottom: var(--ew-space-6);
	}

	.ew-footer-patch__beeld {
		justify-self: start;
		width: min(60%, 14rem);
	}

	.ew-footer-patch__titel {
		max-width: none;
	}
}

/* The machine in the footer band rises above the container; clip sideways. */
.ew-footer {
	overflow-x: clip;
}
