/* Click-to-load YouTube: keeps the 16:9 box (no layout shift) and stacks the player in it. Visual styling belongs to the theme. */
.video-facade {
	position: relative;
	width: 100%;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background: #000;
}

.wp-has-aspect-ratio .video-facade {
	position: absolute;
	inset: 0;
	aspect-ratio: auto;
}

.video-facade__button {
	position: absolute;
	inset: 0;
	width: 100%;
	padding: 0;
	border: 0;
	background: none;
	cursor: pointer;
}

.video-facade__thumb {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.video-facade__play {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 68px;
	height: 48px;
	border-radius: 12px;
	background: rgb(0 0 0 / 75%);
	transform: translate(-50%, -50%);
}

.video-facade__play::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 54%;
	border-style: solid;
	border-width: 10px 0 10px 17px;
	border-color: transparent transparent transparent #fff;
	transform: translate(-50%, -50%);
}

.video-facade iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
