/**
 * Elementor Scroll Video — base styles.
 * Kept intentionally minimal: sizing, fit, radius, alignment, and z-index
 * are all generated dynamically by Elementor's control selectors, so this
 * file only covers structural defaults that must exist regardless of the
 * user's chosen values.
 */

.esv-wrapper {
	width: 100%;
	line-height: 0;
}

.esv-container {
	position: relative;
	width: 100%;
	height: 100vh;
	overflow: hidden;
	background-color: #000;
}

.esv-video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	backface-visibility: hidden;
	-webkit-transform: translateZ(0);
	transform: translateZ(0);
}

/* Editor-only placeholder shown before a video source is chosen. */
.esv-placeholder {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 60px 20px;
	background: #f5f6f8;
	border: 2px dashed #d5d8dc;
	border-radius: 8px;
	color: #6d7882;
	text-align: center;
}

.esv-placeholder .eicon-play-o {
	font-size: 32px;
}

.esv-placeholder p {
	margin: 0;
	font-size: 14px;
}

@media (prefers-reduced-motion: reduce) {
	.esv-video {
		transition: none !important;
	}
}
