/* CE Reis Hero 1.1
 * De widget reageert op zijn eigen breedte (container queries op .ceh-wrap), niet alleen op de schermbreedte.
 */

.ceh-wrap {
	container-type: inline-size;
	container-name: ceh;
	width: 100%;
	max-width: 100%;
}

.ceh {
	--ceh-h: 540px;
	--ceh-gap: 12px;
	--ceh-radius: 14px;
	--ceh-shade: .55;
	--ceh-ov: #000;
	--ceh-ov-dir: to top;
	--ceh-text: #fff;
	--ceh-panel: #1f3d33;
	--ceh-btn-bg: #fff;
	--ceh-btn-color: #1f3d33;

	position: relative;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.ceh *,
.ceh *::before,
.ceh *::after {
	box-sizing: border-box;
}

/* ---------- Basis: tegels en foto's ---------- */

.ceh figure {
	margin: 0;
	padding: 0;
}

.ceh .ceh-tile,
.ceh .ceh-slide {
	position: relative;
	overflow: hidden;
	border-radius: var(--ceh-radius);
	background: #d9d6cf;
	min-width: 0;
	min-height: 0;
}

.ceh .ceh-img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	border-radius: 0;
	margin: 0;
}

.ceh .ceh-open {
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: none;
	cursor: zoom-in;
	appearance: none;
}

.ceh .ceh-open .ceh-img {
	transition: transform .6s ease;
}

.ceh .ceh-open:hover .ceh-img {
	transform: scale(1.03);
}

.ceh .ceh-open:focus-visible {
	outline: 3px solid #fff;
	outline-offset: -6px;
}

/* ---------- Overlay op de foto ---------- */

.ceh:not(.ceh--split) .ceh-tile--main::after,
.ceh .ceh-slide::after,
.ceh--fullbleed .ceh-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

.ceh--text-top {
	--ceh-ov-dir: to bottom;
}

/* Verloop onderaan */
.ceh--ov-gradient:not(.ceh--split) .ceh-tile--main::after,
.ceh--ov-gradient .ceh-slide::after,
.ceh--ov-gradient .ceh-bg::after {
	background: linear-gradient(var(--ceh-ov-dir),
		color-mix(in srgb, var(--ceh-ov) calc(var(--ceh-shade) * 90%), transparent) 0%,
		color-mix(in srgb, var(--ceh-ov) calc(var(--ceh-shade) * 40%), transparent) 45%,
		transparent 78%);
}

/* Licht verloop */
.ceh--ov-soft:not(.ceh--split) .ceh-tile--main::after,
.ceh--ov-soft .ceh-slide::after,
.ceh--ov-soft .ceh-bg::after {
	background: linear-gradient(var(--ceh-ov-dir),
		color-mix(in srgb, var(--ceh-ov) calc(var(--ceh-shade) * 60%), transparent) 0%,
		transparent 55%);
}

/* Gelijkmatig */
.ceh--ov-even:not(.ceh--split) .ceh-tile--main::after,
.ceh--ov-even .ceh-slide::after,
.ceh--ov-even .ceh-bg::after,
.ceh--ov-gradient.ceh--text-center:not(.ceh--split) .ceh-tile--main::after,
.ceh--ov-gradient.ceh--text-center .ceh-slide::after,
.ceh--ov-gradient.ceh--text-center .ceh-bg::after {
	background: color-mix(in srgb, var(--ceh-ov) calc(var(--ceh-shade) * 60%), transparent);
}

/* Vignet */
.ceh--ov-vignette:not(.ceh--split) .ceh-tile--main::after,
.ceh--ov-vignette .ceh-slide::after,
.ceh--ov-vignette .ceh-bg::after {
	background:
		radial-gradient(ellipse at 50% 40%, transparent 40%,
			color-mix(in srgb, var(--ceh-ov) calc(var(--ceh-shade) * 85%), transparent) 100%),
		linear-gradient(var(--ceh-ov-dir),
			color-mix(in srgb, var(--ceh-ov) calc(var(--ceh-shade) * 45%), transparent) 0%,
			transparent 50%);
}

/* Kleurfilter */
.ceh--ov-tint:not(.ceh--split) .ceh-tile--main::after,
.ceh--ov-tint .ceh-slide::after,
.ceh--ov-tint .ceh-bg::after {
	background: color-mix(in srgb, var(--ceh-ov) calc(var(--ceh-shade) * 75%), transparent);
	mix-blend-mode: multiply;
}

.ceh--ov-none .ceh-tile--main::after,
.ceh--ov-none .ceh-slide::after,
.ceh--ov-none .ceh-bg::after {
	content: none;
}

/* ---------- Tekst ---------- */

.ceh .ceh-text {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	padding: clamp(1.25rem, 4cqi, 3rem);
	color: var(--ceh-text);
	pointer-events: none;
}

.ceh .ceh-text-in {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: .5rem;
	max-width: 100%;
}

.ceh .ceh-text a,
.ceh .ceh-text button {
	pointer-events: auto;
}

.ceh .ceh-eyebrow {
	margin: 0;
	font-size: .95rem;
	font-weight: 500;
	letter-spacing: .01em;
	opacity: .9;
	color: inherit;
}

.ceh .ceh-title {
	margin: 0;
	max-width: 18ch;
	font-size: clamp(2rem, 6cqi, 4rem);
	line-height: 1.02;
	font-weight: 700;
	letter-spacing: -.015em;
	color: inherit;
	text-wrap: balance;
	text-shadow: 0 1px 24px rgba(0, 0, 0, .18);
}

.ceh .ceh-sub {
	margin: .25rem 0 0;
	max-width: 46ch;
	font-size: clamp(1rem, 1.6cqi, 1.15rem);
	line-height: 1.5;
	color: inherit;
	opacity: .92;
}

.ceh .ceh-actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: .75rem 1.25rem;
	margin-top: 1rem;
}

.ceh .ceh-price {
	margin: 0;
	font-weight: 600;
	font-size: 1.05rem;
	color: inherit;
}

.ceh .ceh-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: .8rem 1.5rem;
	border-radius: 999px;
	background: var(--ceh-btn-bg);
	color: var(--ceh-btn-color);
	font-weight: 600;
	font-size: 1rem;
	line-height: 1.2;
	text-decoration: none;
	transition: transform .2s ease, box-shadow .2s ease;
}

.ceh .ceh-btn:hover,
.ceh .ceh-btn:focus-visible {
	color: var(--ceh-btn-color);
	transform: translateY(-1px);
	box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
}

.ceh .ceh-btn:focus-visible {
	outline: 3px solid var(--ceh-btn-bg);
	outline-offset: 3px;
}

/* Titelstijl: linksboven */
.ceh .ceh-text--top {
	justify-content: flex-start;
}

/* Titelstijl: gecentreerd */
.ceh .ceh-text--center {
	justify-content: center;
	align-items: center;
	text-align: center;
}
.ceh .ceh-text--center .ceh-text-in {
	align-items: center;
}
.ceh .ceh-text--center .ceh-actions {
	justify-content: center;
}

/* Titelstijl: extra grote titel */
.ceh .ceh-text--big .ceh-title {
	max-width: none;
	font-size: clamp(3rem, 10.5cqi, 8rem);
	line-height: .9;
	letter-spacing: -.035em;
}
.ceh .ceh-text--big .ceh-eyebrow {
	font-size: 1.05rem;
}

/* Titelstijl: tekstkaart */
.ceh .ceh-text--card .ceh-text-in {
	max-width: min(34rem, 100%);
	padding: clamp(1.25rem, 3cqi, 2rem);
	border-radius: calc(var(--ceh-radius) * .85);
	background: color-mix(in srgb, var(--ceh-panel) 86%, transparent);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
}
.ceh .ceh-text--card .ceh-title {
	font-size: clamp(1.8rem, 4.2cqi, 3rem);
	text-shadow: none;
}

/* Titelstijl: balk onderaan */
.ceh .ceh-text--band {
	padding: 0;
}
.ceh .ceh-text--band .ceh-text-in {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: end;
	column-gap: 2rem;
	row-gap: .4rem;
	width: 100%;
	padding: clamp(1.1rem, 3cqi, 1.75rem) clamp(1.25rem, 4cqi, 2.5rem);
	background: var(--ceh-panel);
}
.ceh .ceh-text--band .ceh-text-in > * {
	grid-column: 1;
}
.ceh .ceh-text--band .ceh-actions {
	grid-column: 2;
	grid-row: 1 / span 3;
	align-self: end;
	justify-content: flex-end;
	margin-top: 0;
}
.ceh .ceh-text--band .ceh-title {
	max-width: none;
	font-size: clamp(1.8rem, 4cqi, 2.8rem);
	text-shadow: none;
}

/* ---------- Knop "Alle foto's" en teller ---------- */

.ceh .ceh-all {
	position: absolute;
	right: clamp(.75rem, 2cqi, 1.25rem);
	bottom: clamp(.75rem, 2cqi, 1.25rem);
	z-index: 3;
	display: inline-flex;
	align-items: center;
	gap: .5rem;
	min-height: 40px;
	padding: .55rem 1rem;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, .94);
	color: #1c1c1c;
	font: inherit;
	font-size: .9rem;
	font-weight: 600;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}

.ceh .ceh-all:hover {
	background: #fff;
}

.ceh .ceh-all:focus-visible {
	outline: 3px solid #1c1c1c;
	outline-offset: 2px;
}

.ceh .ceh-count {
	display: none;
}

/* ---------- 1. Mozaïek ---------- */

.ceh--mosaic5 .ceh-grid,
.ceh--mosaic3 .ceh-grid {
	position: relative;
	display: grid;
	gap: var(--ceh-gap);
	height: var(--ceh-h);
}

.ceh--mosaic5 .ceh-grid {
	grid-template-columns: 2fr 1fr 1fr;
	grid-template-rows: 1fr 1fr;
}

.ceh--mosaic3 .ceh-grid {
	grid-template-columns: 2fr 1fr;
	grid-template-rows: 1fr 1fr;
}

.ceh--mosaic5 .ceh-tile--main,
.ceh--mosaic3 .ceh-tile--main {
	grid-row: 1 / -1;
}

.ceh--mosaic5 .ceh-rest,
.ceh--mosaic3 .ceh-rest {
	display: contents;
}

.ceh .ceh-tile--extra {
	display: none;
}

.ceh--mosaic5.ceh--count-4 .ceh-rest > .ceh-tile:nth-child(3) {
	grid-column: span 2;
}

.ceh--mosaic5.ceh--count-3 .ceh-grid,
.ceh--mosaic5.ceh--count-2 .ceh-grid,
.ceh--mosaic3.ceh--count-2 .ceh-grid {
	grid-template-columns: 2fr 1fr;
}

.ceh--mosaic5.ceh--count-2 .ceh-rest > .ceh-tile,
.ceh--mosaic3.ceh--count-2 .ceh-rest > .ceh-tile {
	grid-row: 1 / -1;
}

.ceh.ceh--count-1 .ceh-grid {
	grid-template-columns: 1fr;
}

/* ---------- 2. Grote titelfoto + fotostrip ---------- */

.ceh--strip .ceh-grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: var(--ceh-gap);
}

.ceh--strip .ceh-tile--main {
	height: var(--ceh-h);
}

.ceh--strip .ceh-rest {
	display: grid;
	grid-auto-flow: column;
	grid-auto-columns: minmax(0, 1fr);
	gap: var(--ceh-gap);
}

.ceh--strip .ceh-rest > .ceh-tile {
	aspect-ratio: 3 / 2;
}

.ceh--strip .ceh-all {
	top: clamp(.75rem, 2cqi, 1.25rem);
	bottom: auto;
}

/* ---------- 3. Diavoorstelling ---------- */

.ceh--slider {
	height: var(--ceh-h);
}

.ceh .ceh-track {
	position: relative;
	display: flex;
	gap: var(--ceh-gap);
	height: 100%;
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	border-radius: var(--ceh-radius);
}

.ceh .ceh-track::-webkit-scrollbar {
	display: none;
}

.ceh .ceh-track:focus-visible {
	outline: 3px solid currentColor;
	outline-offset: 3px;
}

.ceh .ceh-slide {
	flex: 0 0 100%;
	height: 100%;
	scroll-snap-align: start;
}

.ceh .ceh-arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin-top: -22px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .92);
	color: #1c1c1c;
	cursor: pointer;
	box-shadow: 0 2px 10px rgba(0, 0, 0, .18);
}

.ceh .ceh-arrow--prev { left: 1rem; }
.ceh .ceh-arrow--next { right: 1rem; }

.ceh .ceh-arrow:focus-visible {
	outline: 3px solid #1c1c1c;
	outline-offset: 2px;
}

.ceh .ceh-dots {
	position: absolute;
	right: 1.25rem;
	bottom: 1.25rem;
	z-index: 3;
	display: flex;
	gap: 6px;
}

.ceh--no-text .ceh-dots,
.ceh--text-center .ceh-dots,
.ceh--text-top .ceh-dots {
	right: 50%;
	transform: translateX(50%);
}

.ceh--text-band .ceh-dots {
	top: 1.25rem;
	bottom: auto;
}

.ceh .ceh-dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: rgba(255, 255, 255, .55);
	cursor: pointer;
	transition: width .3s ease, background .3s ease;
}

.ceh .ceh-dot[aria-current="true"] {
	width: 26px;
	background: #fff;
}

.ceh--slider .ceh-text:not(.ceh-text--band) {
	padding-bottom: clamp(2.75rem, 6cqi, 4rem);
	padding-left: clamp(4.5rem, 6cqi, 5.5rem);
	padding-right: clamp(4.5rem, 6cqi, 5.5rem);
}

.ceh--slider .ceh-text--band .ceh-text-in {
	border-radius: 0 0 var(--ceh-radius) var(--ceh-radius);
}

/* ---------- 4. Volledige hero ---------- */

.ceh--fullbleed {
	height: var(--ceh-h);
	min-height: 360px;
	overflow: hidden;
	border-radius: var(--ceh-radius);
	background: #2a2a2a;
}

.ceh--fullbleed .ceh-bg {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.ceh--fullbleed .ceh-layer {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1.4s ease;
}

.ceh--fullbleed .ceh-layer.is-active {
	opacity: 1;
}

.ceh--fullbleed .ceh-layer .ceh-img {
	transform: scale(1);
	transition: transform 9s linear;
}

.ceh--fullbleed .ceh-layer.is-active .ceh-img {
	transform: scale(1.06);
}

.ceh--fullbleed .ceh-text:not(.ceh-text--band) {
	padding: clamp(1.5rem, 6cqi, 4.5rem);
}

.ceh--fullbleed .ceh-text--bottom .ceh-title,
.ceh--fullbleed .ceh-text--top .ceh-title,
.ceh--fullbleed .ceh-text--center .ceh-title {
	font-size: clamp(2.4rem, 8cqi, 5.5rem);
}

.ceh--fullbleed .ceh-all {
	top: clamp(.75rem, 2cqi, 1.25rem);
	bottom: auto;
}

.ceh--fullbleed.ceh--text-top .ceh-all {
	top: auto;
	bottom: clamp(.75rem, 2cqi, 1.25rem);
}

/* ---------- 5. Gesplitst ---------- */

.ceh--split {
	display: grid;
	grid-template-columns: 5fr 7fr;
	height: var(--ceh-h);
	overflow: hidden;
	border-radius: var(--ceh-radius);
	background: var(--ceh-panel);
}

.ceh--split .ceh-panel {
	position: relative;
	display: flex;
	align-items: center;
	color: var(--ceh-text);
}

.ceh--split .ceh-text {
	position: static;
	justify-content: center;
	pointer-events: auto;
	padding: clamp(1.5rem, 5cqi, 3.5rem);
}

.ceh--split .ceh-title {
	font-size: clamp(2rem, 5cqi, 3.75rem);
	text-shadow: none;
}

.ceh--split .ceh-media {
	position: relative;
	min-width: 0;
}

.ceh--split .ceh-tile--main {
	height: 100%;
	border-radius: 0;
}

.ceh--split .ceh-tile--inset {
	position: absolute;
	left: calc(-1 * clamp(1.5rem, 4cqi, 3rem));
	bottom: clamp(1.25rem, 3cqi, 2rem);
	z-index: 2;
	width: 34%;
	aspect-ratio: 4 / 5;
	border: 6px solid var(--ceh-panel);
	border-radius: calc(var(--ceh-radius) * .8);
}

.ceh--split .ceh-all {
	top: clamp(.75rem, 2cqi, 1.25rem);
	bottom: auto;
}

/* ---------- Tablet / smalle kolom ---------- */

@container ceh (max-width: 900px) {
	.ceh--mosaic5 .ceh-grid {
		grid-template-columns: 3fr 2fr;
		grid-template-rows: 1fr 1fr;
	}
	.ceh--mosaic5 .ceh-rest > .ceh-tile:nth-child(n+3) {
		display: none;
	}
	.ceh--mosaic5.ceh--count-4 .ceh-rest > .ceh-tile:nth-child(3) {
		grid-column: auto;
	}

	.ceh .ceh-text--band .ceh-text-in {
		grid-template-columns: minmax(0, 1fr);
	}
	.ceh .ceh-text--band .ceh-actions {
		grid-column: 1;
		grid-row: auto;
		justify-content: flex-start;
		margin-top: .5rem;
	}

	.ceh--split {
		grid-template-columns: 1fr 1fr;
	}
	.ceh--split .ceh-tile--inset {
		display: none;
	}
}

/* ---------- Mobiel / smal (onder 640px widgetbreedte) ---------- */

@container ceh (max-width: 640px) {

	/* Tekst algemeen */
	.ceh .ceh-title,
	.ceh .ceh-text--card .ceh-title,
	.ceh .ceh-text--band .ceh-title {
		font-size: clamp(1.9rem, 9cqi, 2.6rem);
	}
	.ceh .ceh-text--big .ceh-title {
		font-size: clamp(2.6rem, 14cqi, 3.6rem);
	}
	.ceh .ceh-actions {
		width: 100%;
	}
	.ceh--mt-overlay .ceh-text--bottom .ceh-btn,
	.ceh--mt-overlay .ceh-text--big .ceh-btn {
		flex: 1 1 100%;
	}
	.ceh .ceh-text--card {
		padding: .75rem;
	}
	.ceh .ceh-text--card .ceh-text-in {
		max-width: 100%;
		padding: 1rem 1.1rem 1.15rem;
	}

	/* Titel compact op de foto */
	.ceh--mt-compact .ceh-sub,
	.ceh--mt-compact .ceh-price {
		display: none;
	}
	.ceh--mt-compact .ceh-text-in {
		gap: .35rem;
	}
	.ceh--mt-compact .ceh-actions {
		margin-top: .6rem;
	}
	.ceh--mt-compact .ceh-btn {
		min-height: 44px;
		padding: .65rem 1.2rem;
		font-size: .95rem;
	}

	/* Mozaïek en strip: gemeenschappelijk */
	.ceh--mosaic5 .ceh-grid,
	.ceh--mosaic3 .ceh-grid,
	.ceh--strip .ceh-grid {
		height: auto;
		grid-template-rows: none;
	}
	.ceh--mosaic5 .ceh-tile--main,
	.ceh--mosaic3 .ceh-tile--main,
	.ceh--strip .ceh-tile--main {
		grid-row: auto;
		height: auto;
		aspect-ratio: 4 / 3;
	}
	.ceh--has-text.ceh--mt-overlay .ceh-tile--main {
		aspect-ratio: 4 / 5;
	}
	.ceh--has-text.ceh--mt-compact .ceh-tile--main {
		aspect-ratio: 1 / 1;
	}
	.ceh--mosaic5 .ceh-rest > .ceh-tile:nth-child(n+3) {
		display: block;
	}
	.ceh--mosaic5 .ceh-rest > .ceh-tile.ceh-tile--extra,
	.ceh--strip .ceh-rest > .ceh-tile.ceh-tile--extra {
		display: none;
	}

	/* A. Raster eronder */
	.ceh--m-stack .ceh-grid {
		grid-template-columns: 1fr 1fr;
	}
	.ceh--strip.ceh--m-stack .ceh-rest {
		display: contents;
	}
	.ceh--m-stack .ceh-tile--main {
		grid-column: 1 / -1;
	}
	.ceh--m-stack .ceh-rest > .ceh-tile {
		aspect-ratio: 1 / 1;
		grid-column: auto !important;
		grid-row: auto !important;
	}
	.ceh--m-stack.ceh--count-2 .ceh-rest > .ceh-tile,
	.ceh--m-stack.ceh--count-4 .ceh-rest > .ceh-tile:nth-child(3) {
		grid-column: 1 / -1 !important;
		aspect-ratio: 16 / 9;
	}
	.ceh--m-stack.ceh--count-1 .ceh-grid {
		grid-template-columns: 1fr;
	}
	.ceh--m-stack .ceh-all {
		top: .75rem;
		bottom: auto;
	}

	/* B. Rij om door te vegen */
	.ceh--m-swipe .ceh-grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.ceh--m-swipe .ceh-rest {
		display: flex;
		gap: var(--ceh-gap);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
	}
	.ceh--m-swipe .ceh-rest::-webkit-scrollbar {
		display: none;
	}
	.ceh--m-swipe .ceh-rest > .ceh-tile {
		flex: 0 0 42%;
		aspect-ratio: 1 / 1;
		scroll-snap-align: start;
		grid-column: auto !important;
		grid-row: auto !important;
	}
	.ceh--m-swipe .ceh-rest > .ceh-tile.ceh-tile--extra {
		display: block;
	}
	.ceh--m-swipe .ceh-all {
		bottom: auto;
		top: .75rem;
	}

	/* C. Alles als veegbare diavoorstelling */
	.ceh--m-slider .ceh-grid {
		display: flex;
		gap: var(--ceh-gap);
		height: var(--ceh-h);
		overflow-x: auto;
		scroll-snap-type: x mandatory;
		overscroll-behavior-x: contain;
		scrollbar-width: none;
		border-radius: var(--ceh-radius);
	}
	.ceh--m-slider .ceh-grid::-webkit-scrollbar {
		display: none;
	}
	.ceh--m-slider .ceh-rest {
		display: contents;
	}
	.ceh--m-slider .ceh-tile--main,
	.ceh--m-slider.ceh--has-text .ceh-tile--main,
	.ceh--m-slider .ceh-rest > .ceh-tile,
	.ceh--m-slider .ceh-rest > .ceh-tile.ceh-tile--extra {
		display: block;
		flex: 0 0 100%;
		height: 100%;
		aspect-ratio: auto;
		scroll-snap-align: start;
	}
	.ceh--m-slider .ceh-count {
		position: absolute;
		top: .75rem;
		right: .75rem;
		z-index: 3;
		display: block;
		padding: .35rem .7rem;
		border-radius: 999px;
		background: rgba(0, 0, 0, .55);
		color: #fff;
		font-size: .85rem;
		font-weight: 600;
		line-height: 1.2;
	}
	.ceh--m-slider .ceh-all {
		display: none;
	}

	/* D. Alleen hoofdfoto */
	.ceh--m-single .ceh-grid {
		grid-template-columns: 1fr;
	}
	.ceh--m-single .ceh-rest {
		display: none;
	}
	.ceh--m-single .ceh-all {
		top: .75rem;
		bottom: auto;
	}

	/* Diavoorstelling */
	.ceh .ceh-arrow {
		display: none;
	}
	.ceh--slider .ceh-text:not(.ceh-text--band) {
		padding-left: 1.25rem;
		padding-right: 1.25rem;
	}
	.ceh--slider .ceh-dots {
		right: 50%;
		bottom: .9rem;
		transform: translateX(50%);
	}
	.ceh--slider.ceh--text-band .ceh-dots {
		top: .9rem;
		bottom: auto;
	}

	/* Volledige hero */
	.ceh--fullbleed {
		min-height: 420px;
	}
	.ceh--fullbleed .ceh-text--bottom .ceh-title,
	.ceh--fullbleed .ceh-text--top .ceh-title,
	.ceh--fullbleed .ceh-text--center .ceh-title {
		font-size: clamp(2.1rem, 11cqi, 3rem);
	}

	/* ---- Titel onder de foto ---- */
	.ceh.ceh--mt-below .ceh-text,
	.ceh.ceh--mt-below .ceh-text:not(.ceh-text--band) {
		position: static;
		padding: 0;
		pointer-events: auto;
		text-align: left;
	}
	.ceh.ceh--mt-below .ceh-text .ceh-text-in {
		display: flex;
		flex-direction: column;
		align-items: flex-start;
		width: 100%;
		max-width: none;
		padding: 1.25rem 1.25rem 1.5rem;
		border-radius: 0;
		background: var(--ceh-panel);
		-webkit-backdrop-filter: none;
		backdrop-filter: none;
	}
	.ceh.ceh--mt-below .ceh-text .ceh-actions {
		justify-content: flex-start;
		margin-top: .75rem;
	}
	.ceh.ceh--mt-below .ceh-title {
		max-width: none;
		text-shadow: none;
	}

	.ceh.ceh--mt-below:not(.ceh--split) .ceh-tile--main::after,
	.ceh.ceh--mt-below .ceh-slide::after,
	.ceh.ceh--mt-below .ceh-bg::after {
		content: none;
	}

	/* mozaïek / strip */
	.ceh.ceh--mt-below .ceh-tile--main,
	.ceh--has-text.ceh.ceh--mt-below .ceh-tile--main {
		display: flex;
		flex-direction: column;
		aspect-ratio: auto;
		background: var(--ceh-panel);
	}
	.ceh.ceh--mt-below .ceh-tile--main > .ceh-open,
	.ceh.ceh--mt-below .ceh-tile--main > .ceh-img {
		height: auto;
		aspect-ratio: 4 / 3;
	}
	.ceh--m-slider.ceh.ceh--mt-below .ceh-tile--main {
		display: flex;
	}
	.ceh--m-slider.ceh.ceh--mt-below .ceh-tile--main > .ceh-open,
	.ceh--m-slider.ceh.ceh--mt-below .ceh-tile--main > .ceh-img {
		flex: 1 1 auto;
		min-height: 0;
		aspect-ratio: auto;
	}

	/* diavoorstelling */
	.ceh--slider.ceh.ceh--mt-below {
		height: auto;
		overflow: hidden;
		border-radius: var(--ceh-radius);
	}
	.ceh--slider.ceh.ceh--mt-below .ceh-track {
		height: var(--ceh-h);
		border-radius: 0;
	}
	.ceh--slider.ceh.ceh--mt-below .ceh-slide {
		border-radius: 0;
	}
	.ceh--slider.ceh.ceh--mt-below .ceh-dots,
	.ceh--slider.ceh.ceh--mt-below.ceh--text-band .ceh-dots {
		top: calc(var(--ceh-h) - 1.75rem);
		bottom: auto;
	}

	/* volledige hero */
	.ceh--fullbleed.ceh.ceh--mt-below {
		height: auto;
		min-height: 0;
		background: var(--ceh-panel);
	}
	.ceh--fullbleed.ceh.ceh--mt-below .ceh-bg {
		position: relative;
		aspect-ratio: 4 / 3;
	}

	/* Gesplitst: foto boven, tekst onder */
	.ceh--split {
		grid-template-columns: 1fr;
		height: auto;
	}
	.ceh--split .ceh-media {
		order: -1;
		aspect-ratio: 4 / 3;
	}
	.ceh--split .ceh-tile--main {
		position: absolute;
		inset: 0;
	}
	.ceh--split .ceh-text {
		padding: 1.5rem 1.25rem 1.75rem;
	}
}

/* Titel linksboven: knop "Alle foto's" naar onderen zodat hij de titel niet raakt */
.ceh.ceh--has-text.ceh--text-top:not(.ceh--all-tile) .ceh-all,
.ceh.ceh--fullbleed.ceh--text-top .ceh-all {
	top: auto;
	bottom: clamp(.75rem, 2cqi, 1.25rem);
}

/* Knop "Alle foto's" midden op de laatste foto van het mozaïek */
.ceh.ceh--all-tile .ceh-all {
	top: auto;
	bottom: calc((var(--ceh-h) - var(--ceh-gap)) / 4);
	right: calc((100% - 2 * var(--ceh-gap)) / 8);
	transform: translate(50%, 50%);
}
.ceh.ceh--all-tile.ceh--mosaic3 .ceh-all,
.ceh.ceh--all-tile.ceh--mosaic5.ceh--count-3 .ceh-all {
	right: calc((100% - var(--ceh-gap)) / 6);
}
.ceh.ceh--all-tile.ceh--mosaic5.ceh--count-4 .ceh-all {
	right: calc((100% - 2 * var(--ceh-gap)) / 4 + var(--ceh-gap) / 2);
}
.ceh.ceh--all-tile.ceh--count-2 .ceh-all {
	right: calc((100% - var(--ceh-gap)) / 6);
	bottom: calc(var(--ceh-h) / 2);
}

@container ceh (max-width: 900px) {
	.ceh.ceh--all-tile.ceh--mosaic5 .ceh-all,
	.ceh.ceh--all-tile.ceh--mosaic5.ceh--count-4 .ceh-all {
		right: calc((100% - var(--ceh-gap)) / 5);
	}
}

@container ceh (max-width: 640px) {
	.ceh.ceh--all-tile .ceh-all,
	.ceh.ceh--all-tile.ceh--mosaic3 .ceh-all,
	.ceh.ceh--all-tile.ceh--mosaic5 .ceh-all,
	.ceh.ceh--all-tile.ceh--mosaic5.ceh--count-3 .ceh-all,
	.ceh.ceh--all-tile.ceh--mosaic5.ceh--count-4 .ceh-all,
	.ceh.ceh--all-tile.ceh--count-2 .ceh-all {
		top: .75rem;
		bottom: auto;
		right: .75rem;
		transform: none;
	}
}

/* ---------- Fotoviewer ---------- */

.ceh-lb {
	position: fixed;
	inset: 0;
	z-index: 999999;
	display: none;
	align-items: center;
	justify-content: center;
	background: rgba(12, 14, 13, .95);
	color: #fff;
	touch-action: pan-y;
}

.ceh-lb.is-open {
	display: flex;
}

.ceh-lb-img {
	display: block;
	max-width: min(92vw, 1600px);
	max-height: 84vh;
	max-height: 84svh;
	width: auto;
	height: auto;
	object-fit: contain;
	border-radius: 6px;
	user-select: none;
}

.ceh-lb button {
	position: absolute;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	cursor: pointer;
}

.ceh-lb button:hover {
	background: rgba(255, 255, 255, .22);
}

.ceh-lb button:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
}

.ceh-lb-close { top: 1rem; right: 1rem; }
.ceh-lb-prev  { left: 1rem; top: 50%; margin-top: -24px; }
.ceh-lb-next  { right: 1rem; top: 50%; margin-top: -24px; }

.ceh-lb-count {
	position: absolute;
	left: 50%;
	bottom: 1.25rem;
	transform: translateX(-50%);
	font-size: .95rem;
	font-weight: 600;
	opacity: .85;
}

@media (max-width: 640px) {
	.ceh-lb-prev,
	.ceh-lb-next {
		top: auto;
		bottom: .75rem;
		margin-top: 0;
	}
	.ceh-lb-img {
		max-width: 100vw;
		border-radius: 0;
	}
}

html.ceh-lb-lock,
html.ceh-lb-lock body {
	overflow: hidden;
}

/* ---------- Editor ---------- */

.ceh-empty {
	padding: 2.5rem 1.5rem;
	border: 2px dashed #c8c4bb;
	border-radius: 12px;
	text-align: center;
	color: #6b675f;
	font-size: 15px;
}

/* ---------- Minder beweging ---------- */

@media (prefers-reduced-motion: reduce) {
	.ceh *,
	.ceh-lb * {
		transition: none !important;
		scroll-behavior: auto !important;
	}
	.ceh--fullbleed .ceh-layer.is-active .ceh-img {
		transform: none;
	}
}

/* ---------- Video's in de Reis Hero ---------- */
.ceh .ceh-is-video{position:relative}
.ceh .ceh-play{position:absolute;left:50%;top:50%;z-index:3;display:grid;place-items:center;width:64px;height:64px;margin:-32px 0 0 -32px;border-radius:50%;background:rgba(20,20,20,.62);color:#fff;pointer-events:none;box-shadow:0 6px 18px rgba(0,0,0,.25);transition:transform .2s ease,background-color .2s ease}
.ceh .ceh-play svg{margin-left:3px}
.ceh .ceh-is-video:hover .ceh-play,.ceh .ceh-is-video:focus-within .ceh-play{transform:scale(1.08);background:var(--ceh-accent,#b8481a)}
.ceh .ceh-video-placeholder{display:block;width:100%;height:100%;min-height:160px;background:linear-gradient(135deg,#2a2723,#1e1a17)}
.ceh-lb .ceh-lb-video{width:min(92vw,1280px);aspect-ratio:16/9;max-height:84vh;background:#000;border-radius:8px;overflow:hidden}
.ceh-lb .ceh-lb-video.is-portrait{width:auto;height:min(84vh,860px);aspect-ratio:9/16}
.ceh-lb .ceh-lb-video iframe{display:block;width:100%;height:100%;border:0}
.ceh-lb .ceh-lb-img[hidden],.ceh-lb .ceh-lb-video[hidden]{display:none}
@media (prefers-reduced-motion:reduce){.ceh .ceh-play{transition:none}}
