/* ╔══════════════════════════════════════════╗
   ║  YouTube Featured Video – Widget Styles  ║
   ╚══════════════════════════════════════════╝ */

/* ── Wrapper ── */
.yfv-video-wrapper {
	overflow: hidden;
	position: relative;
}

.yfv-video-wrapper iframe {
	position: relative;
	display: block;
	border: 0;
}

/* ── Lazy Thumbnail ── */
.yfv-lazy .yfv-lazy-thumbnail {
	position: relative;
	display: block;
}

.yfv-lazy .yfv-lazy-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

/* ── Play Button ── */
.yfv-play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 2;
	pointer-events: none;
	transition: opacity 0.25s ease, transform 0.25s ease;
}

.yfv-play-btn svg {
	width: 68px;
	height: 48px;
	display: block;
	filter: drop-shadow(0 2px 8px rgba(0,0,0,0.4));
}

/* Hover animation */
.yfv-lazy:hover .yfv-play-btn {
	transform: translate(-50%, -50%) scale(1.1);
	opacity: 0.9;
}

/* ── Overlay darken on hover ── */
.yfv-lazy::after {
	content: '';
	position: absolute;
	top: 0; left: 0; right: 0; bottom: 0;
	background: rgba(0,0,0,0);
	transition: background 0.3s ease;
	pointer-events: none;
	z-index: 1;
}

.yfv-lazy:hover::after {
	background: rgba(0,0,0,0.08);
}

/* ── Editor placeholder ── */
.yfv-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 40px;
	background: #1a1a2e;
	border-radius: 8px;
}
