/* Cookiebalk onderaan het scherm, in de opmaak van het thema. */
.wzd-cookiebalk {
	position: fixed;
	z-index: 100000;
	right: 16px;
	bottom: 16px;
	left: 16px;
	display: flex;
	justify-content: center;
	pointer-events: none;
}
.wzd-cookiebalk[hidden] {
	display: none;
}
.wzd-cookiebalk__binnen {
	box-sizing: border-box;
	width: 100%;
	max-width: 760px;
	padding: 20px 24px;
	border-radius: 12px;
	background: var(--wp--preset--color--base, #fff);
	color: var(--wp--preset--color--contrast, #1e1e1e);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
	pointer-events: auto;
}
.wzd-cookiebalk__tekst {
	margin: 0 0 16px;
}
.wzd-cookiebalk__knoppen {
	gap: 12px;
}
.wzd-cookiebalk__knoppen .wp-block-button__link {
	cursor: pointer;
}

/* Tegengehouden externe inhoud (filmpje, kaart). */
.wzd-extern {
	position: relative;
	display: block;
	min-height: 220px;
}
.wp-has-aspect-ratio .wzd-extern {
	position: static;
	min-height: 0;
}
.wzd-extern:not(.is-geladen) iframe {
	visibility: hidden;
}
.wzd-extern.is-geladen .wzd-extern__melding {
	display: none;
}
.wzd-extern__melding {
	position: absolute;
	inset: 0;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 24px;
	border-radius: 12px;
	background: var(--wp--preset--color--deel-zand, #efe3d2);
	color: var(--wp--preset--color--deel-zwart, #1e1e1e);
	text-align: center;
	font-size: 0.9em;
	line-height: 1.4;
}
.wzd-extern__tekst {
	max-width: 480px;
}
.wzd-extern__melding .wp-block-buttons {
	justify-content: center;
}
.wzd-extern__melding .wp-block-button__link {
	cursor: pointer;
}
.wzd-extern__link {
	color: inherit;
}
