/* current version 2026-10-27 */
/* YouTube click-to-load placeholder — alleen ingeladen als er een placeholder op de pagina staat */

.yt-facade {
	position: relative;
	display: block;
	box-sizing: border-box;
	width: 100% !important;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	cursor: pointer;
	background: #f2f2f3;
}
/* binnen bestaande ratio-container: vlak vullen (zoals de iframe) */
.video-container .yt-facade,
.embeddedContent .yt-facade {
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	aspect-ratio: auto;
}
/* !important: anders winnen o.a. #act-content img { height:inherit } en img.act-img { padding-left } */
.yt-facade-thumb {
	position: absolute;
	inset: 0;
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	margin: 0 !important;
	padding: 0 !important;
	object-fit: cover;
	display: block;
}
/* geen thumbnail: logo als placeholder */
.yt-facade--noimg {
	background: #f2f2f3 url(../images/logo_bw.png) no-repeat center 35%;
	background-size: 166px auto;
}

.yt-facade-play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 68px;
	height: 48px;
	margin: -24px 0 0 -34px;
	padding: 0;
	border: 0;
	border-radius: 12px;
	background: rgba(0, 0, 0, .75);
	cursor: pointer;
	transition: background-color .2s;
}
.yt-facade-play::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	margin: -10px 0 0 -7px;
	border-style: solid;
	border-width: 10px 0 10px 18px;
	border-color: transparent transparent transparent #fff;
}
.yt-facade:hover .yt-facade-play,
.yt-facade-play:focus-visible {
	background: #e00;
}
.yt-facade-play:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
}

.yt-facade-notice {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	padding: 8px 12px;
	background: rgba(0, 0, 0, .65);
	color: #fff;
	font-size: 13px;
	line-height: 1.4;
	text-align: center;
}
