.header .header_container{
	row-gap: var(--default-margin-bottom);
}

.header h1{
	line-height: 1;
}

.header .header_afbeelding{
	position: relative;
	/* Match the ACF crop while keeping the image fluid within its six columns. */
	aspect-ratio: 630 / 390;
}

.header .header_label{
	position: absolute;
	left: calc(var(--spacing_3) / 2);
	bottom: calc(var(--spacing_3) / 2);
	max-width: calc(100% - var(--spacing_3));
	/* The image badge uses the design's 10px radius at the spacing token maximum. */
	border-radius: calc(var(--spacing_3) / 3);
}

.header .header_label i{
	color: var(--zwart);
}

.header .header_afbeelding picture{
	display: flex;
	width: 100%;
	height: 100%;
}

.header .header_afbeelding img{
	object-fit: cover;
	width: 100%;
	height: 100%;
}

.header .header_met_alt{
	/* Figma 16811:5876 uses a 630 x 422 panel; longer ALT text can grow it. */
	aspect-ratio: 630 / 422;
	container-type: inline-size;
	display: grid;
	background: var(--zwart);
}

.header .header_met_alt > img,
.header .header_met_alt > picture{
	position: absolute;
	inset: 0;
	opacity: 0.32;
}

.header .header_met_alt::after{
	content: '';
	position: absolute;
	/* Figma border inset: 14px vertically and 15px horizontally. */
	inset: calc(100% * 14 / 422) calc(100% * 15 / 630);
	border: 0.1rem solid var(--beige);
	pointer-events: none;
}

.header .header_alt{
	position: relative;
	align-self: end;
	/* Figma: 40px side inset and 35px below the text at 630px wide. */
	padding: calc(100% * 40 / 630) calc(100% * 40 / 630) calc(100% * 35 / 630);
	color: var(--beige);
	font-family: var(--heading-font);
	font-weight: 400;
	font-size: 20.634921cqw; /* 130 / 630: scale with the actual image column. */
	line-height: 1;
	hyphens: auto;
	word-break: break-word;
}

.header .header_alt span{
	display: block;
	/* Figma text occupies 498px of the 550px padded content width. */
	width: calc(100% * 498 / 550);
}

.header .header_caption{
	display: flex;
	align-items: baseline;
	/* Figma: 12px above the caption, 9px between the 10px star and text. */
	margin-top: calc(var(--default-margin-bottom) / 2);
	gap: calc(1em * 9 / 14);
}

.header .header_caption > i{
	flex-shrink: 0;
	/* Figma star is 10px next to the shared 14px small text. */
	font-size: calc(1em * 10 / 14);
	width: 1em; /* Keep the design's 10px icon slot despite the font glyph's advance width. */
	margin-right: 0;
}
