/* Video Embed Wrapper */
.pf-video-wrap {
	margin: 16px 0;
	border-radius: 12px;
	overflow: hidden;
	background: #0f0f0f;
	max-width: 640px;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.pf-video-preview {
	position: relative;
	padding-top: 56.25%;
	cursor: pointer;
	overflow: hidden;
}

.pf-video-thumb {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.3s;
}

.pf-video-preview:hover .pf-video-thumb {
	transform: scale(1.03);
}

.pf-video-placeholder {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #1a1a2e;
	color: #fff;
	font-size: 18px;
	font-weight: 600;
}

.pf-video-play-btn {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 64px;
	height: 64px;
	background: rgba(255, 0, 0, 0.85);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	color: #fff;
	transition: transform 0.2s, background 0.2s;
	z-index: 2;
}

.pf-video-wrap.pf-video-youtube .pf-video-play-btn {
	background: rgba(255, 0, 0, 0.9);
}

.pf-video-wrap.pf-video-tiktok .pf-video-play-btn {
	background: rgba(0, 0, 0, 0.85);
}

.pf-video-wrap.pf-video-facebook .pf-video-play-btn {
	background: rgba(24, 119, 242, 0.9);
}

.pf-video-wrap.pf-video-vimeo .pf-video-play-btn {
	background: rgba(26, 183, 234, 0.9);
}

.pf-video-preview:hover .pf-video-play-btn {
	transform: translate(-50%, -50%) scale(1.12);
}

.pf-video-badge {
	position: absolute;
	bottom: 10px;
	left: 10px;
	background: rgba(0, 0, 0, 0.65);
	color: #fff;
	padding: 3px 10px;
	border-radius: 20px;
	font-size: 11px;
	font-weight: 700;
	z-index: 2;
}

.pf-video-iframe-wrap {
	position: relative;
	padding-top: 56.25%;
}

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

.pf-video-fallback {
	display: block;
	padding: 8px 14px;
	font-size: 12px;
	color: #94a3b8;
	text-align: right;
	text-decoration: none;
}

.pf-video-fallback:hover {
	color: #40916c;
}

.pf-video-error {
	background: #fff0f0;
	color: #dc2626;
	padding: 10px 14px;
	border-radius: 8px;
	font-size: 13px;
}

.pf-video-tiktok {
	max-width: 380px;
}

@media (max-width: 600px) {
	.pf-video-wrap {
		max-width: 100%;
	}
}
