.scroll-video-wrapper {
	position: relative;
	width: 100%;
}

.scroll-video-container {
	position: relative;
	width: 100%;
	overflow: hidden;
	/* Aspect ratio is handled dynamically via Elementor controls */
}

.scroll-video-container video {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	pointer-events: none; /* Allow events to pass through to overlay/container */
}

.scroll-video-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	pointer-events: none; /* Allow clicks to pass to underlying elements, but re-enable for buttons */
	display: flex;
	flex-direction: column;
	justify-content: flex-end; /* Align content to bottom */
	padding: 20px;
	box-sizing: border-box;
	z-index: 2;
	background: linear-gradient(to bottom, transparent 50%, rgba(0,0,0,0.7) 100%); /* Slight gradient for readability */
}

.scroll-video-content {
	width: 60% !important;
	pointer-events: auto; /* Enable interaction for content */
}

.scroll-video-title {
	margin: 0 0 10px 0;
	/* Typography handled by Elementor */
}

.scroll-video-bottom-row {
	display: flex;
	align-items: center; /* Vertically center items */
	justify-content: space-between; /* Space out description and button */
	flex-wrap: wrap;
	gap: 20px;
}

.scroll-video-description {
	margin: 0;
	flex: 1; /* Take up available space */
	min-width: 200px;
	/* Typography handled by Elementor */
}

.scroll-video-button {
	display: inline-block;
	text-decoration: none;
	transition: all 0.3s ease;
	/* Typography, colors, padding handled by Elementor */
	white-space: nowrap;
}

/* Responsive adjustments if needed */
@media (max-width: 767px) {
	.scroll-video-bottom-row {
		flex-direction: column;
		align-items: flex-start;
	}
	
	.scroll-video-button {
		width: 100%;
		text-align: center;
	}
	
}
@media (max-width: 992px) {
.scroll-video-content {
		width: 100% !important;
	}
}