/**
 * YouTube facade — click-to-load placeholder for Woodmart inline YouTube embeds.
 * Fills the existing Woodmart video container (which carries its own height via
 * the generated wd-rs-* class); aspect-ratio is a fallback if none is set.
 */
.voltride-yt-facade {
	position: relative;
	display: block;
	width: 100%;
	height: 100%;
	min-height: 100%;
	aspect-ratio: 16 / 9; /* fallback sizing if the container has no fixed height */
	margin: 0;
	padding: 0;
	border: 0;
	background: #000;
	cursor: pointer;
	overflow: hidden;
}

.voltride-yt-facade__thumb {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border: 0;
}

/* YouTube-style play button */
.voltride-yt-facade__btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 68px;
	height: 48px;
	border-radius: 14px;
	background: rgba(20, 20, 20, 0.75);
	transition: background 0.2s ease, transform 0.2s ease;
	pointer-events: none;
}

.voltride-yt-facade__btn::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-38%, -50%);
	border-style: solid;
	border-width: 11px 0 11px 19px;
	border-color: transparent transparent transparent #fff;
}

.voltride-yt-facade:hover .voltride-yt-facade__btn,
.voltride-yt-facade:focus-visible .voltride-yt-facade__btn {
	background: var(--sales-red, #cc0000);
	transform: translate(-50%, -50%) scale(1.05);
}

.voltride-yt-facade:focus-visible {
	outline: 2px solid var(--new-green, #0F3F36);
	outline-offset: 2px;
}
