/* eKosmos Hero Video — sits behind the theme's .ek-hero content */
.ek-hero-video {
	position: absolute;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	background: #070B1F center / cover no-repeat;
}
.ek-hero-video video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 70% 50%;
	display: block;
	/* Overlay settings above 70% darken the video itself as well */
	filter: brightness(calc(1 - max(0, var(--ek-hero-scrim, .7) - .7) * 2));
}
/* Readability scrim: darker behind the headline, lighter behind the form card */
.ek-hero-video::after {
	content: "";
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(5, 10, 30, .82) 0%, rgba(5, 10, 30, .55) 45%, rgba(5, 10, 30, .25) 100%),
		linear-gradient(0deg, rgba(5, 10, 30, .55), transparent 30%);
	/* Settings → Hero Video → Darkening overlay (0–1, default .7 = as designed) */
	opacity: calc(var(--ek-hero-scrim, .7) / .7);
}
@media (max-width: 991.98px) {
	.ek-hero-video::after { background: rgba(5, 10, 30, 1); opacity: var(--ek-hero-scrim, .7); }
}
@media (prefers-reduced-motion: reduce) {
	.ek-hero-video video { display: none; }
}
