/* SIBUS-IN video hero — matches sibusin.com home section */

.sibus-video-hero {
	--sibus-hero-overlay: 0.15;
	--sibus-hero-min-height: 691px;
	--sibus-hero-logo-width: min(257px, 66vw);
	--sibus-hero-tagline-color: #fff;

	isolation: isolate;
	min-height: var(--sibus-hero-min-height);
	position: relative;
	width: 100%;
}

@media (min-width: 768px) {
	.sibus-video-hero {
		--sibus-hero-min-height: clamp(640px, 43.5vw, 835px);
		--sibus-hero-logo-width: min(350px, 25vw);
	}
}

.sibus-video-hero__media {
	height: 100%;
	left: 0;
	min-height: inherit;
	overflow: hidden;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 0;
}

.sibus-video-hero__poster,
.sibus-video-hero__video {
	display: block;
	height: 100%;
	left: 0;
	object-fit: cover;
	object-position: center center;
	position: absolute;
	top: 0;
	width: 100%;
}

.sibus-video-hero__poster {
	z-index: 0;
	transition: opacity 600ms ease;
}

.sibus-video-hero__video {
	opacity: 0;
	transition: opacity 600ms ease;
	z-index: 1;
}

.sibus-video-hero__video.is-playing {
	opacity: 1;
}

.sibus-video-hero.is-video-playing .sibus-video-hero__poster {
	opacity: 0;
}

@media (prefers-reduced-motion: reduce) {
	.sibus-video-hero__poster,
	.sibus-video-hero__video {
		transition: none;
	}
}

.sibus-video-hero__overlay {
	background: rgba(0, 0, 0, var(--sibus-hero-overlay));
	height: 100%;
	left: 0;
	pointer-events: none;
	position: absolute;
	top: 0;
	width: 100%;
	z-index: 2;
}

.sibus-video-hero__content {
	align-items: center;
	bottom: 8%;
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: 10px;
	left: 50%;
	max-width: 720px;
	padding: 0 24px;
	position: absolute;
	text-align: center;
	transform: translateX(-50%);
	width: 100%;
	z-index: 3;
}

.sibus-video-hero__logo {
	display: block;
	height: auto;
	margin: 0 auto;
	width: var(--sibus-hero-logo-width);
}

.sibus-video-hero__tagline {
	color: var(--sibus-hero-tagline-color);
	font-family: "Segoe UI", system-ui, -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
	font-size: 13px;
	font-style: italic;
	font-weight: 400;
	line-height: 1.5;
	margin: 0;
}

.sibus-video-hero__tagline em {
	font-style: italic;
}

@media (max-width: 767px) {
	.sibus-video-hero__content {
		bottom: 6%;
		gap: 8px;
	}
}
