/**
 * Video Section Block Styles
 */

.ttlt-video-aspect-ratio {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%; /* 16:9 aspect ratio */
	background: #000;
}

.ttlt-video-aspect-ratio iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

.ttlt-video-placeholder {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, #1a2d37 0%, #2d5961 100%);
	cursor: pointer;
	transition: opacity 0.3s ease;
}

.ttlt-video-placeholder:hover {
	opacity: 0.9;
}

.ttlt-video-play-icon {
	color: #f2c66f;
	margin-bottom: 1rem;
	filter: drop-shadow(0 0 12px rgba(242, 198, 111, 0.4));
}

.ttlt-video-placeholder-text {
	color: #c3d1cf;
	font-size: 0.875rem;
	font-weight: 500;
}

.ttlt-video-lazy-load.loaded .ttlt-video-placeholder {
	display: none;
}

/* Editor Styles */
.ttlt-block-video-section {
	padding: 2rem 0;
}

.ttlt-block-video-section .ttlt-section-wrapper {
	border: 1px solid #e2e8f0;
	border-radius: 0.5rem;
	padding: 1rem;
	background: #f8fafc;
}

.ttlt-block-video-section .ttlt-video-placeholder {
	min-height: 200px;
	background: #fff;
	border: 2px dashed #cbd5e1;
	border-radius: 0.5rem;
	cursor: default;
}

.ttlt-block-video-section .ttlt-video-placeholder.ttlt-video-error {
	border-color: #ef4444;
	background: #fef2f2;
	color: #dc2626;
}

.ttlt-block-video-section .ttlt-video-placeholder .dashicons {
	font-size: 48px;
	width: 48px;
	height: 48px;
	margin-bottom: 0.5rem;
	color: #64748b;
}

.ttlt-block-video-section .ttlt-video-placeholder.ttlt-video-error .dashicons {
	color: #dc2626;
}

.ttlt-video-caption {
	margin-top: 1rem;
	text-align: center;
	font-size: 0.875rem;
	color: #64748b;
}
