/* wz_youtube.css — 콘텐츠 유튜브 파사드(반응형 16:9) */
.wz-yt {
	position: relative;
	width: 100%;
	max-width: none;
	margin: 20px 0;
	aspect-ratio: 16 / 9;
	background: #000;
	border-radius: 6px;
	overflow: hidden;
}

/* aspect-ratio 미지원 구형 브라우저 폴백 */
@supports not (aspect-ratio: 16 / 9) {
	.wz-yt {
		height: 0;
		padding-bottom: 56.25%;
	}
}

.wz-yt__btn {
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	margin: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
	position: absolute;
	inset: 0;
}

.wz-yt__thumb {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wz-yt__play {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 68px;
	height: 48px;
	border-radius: 12px;
	background: rgba(0, 0, 0, 0.65);
	transition: background 0.2s ease, transform 0.2s ease;
	pointer-events: none;
}

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

.wz-yt__btn:hover .wz-yt__play,
.wz-yt__btn:focus-visible .wz-yt__play {
	background: #ff0000;
	transform: translate(-50%, -50%) scale(1.08);
}

.wz-yt__iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}
