/* OPENGRADIENT feature video ([og_feature_video]). */
.og-fv {
	position: relative;
	width: 100%;
	margin: 0;
	aspect-ratio: var(--og-fv-ratio, 16 / 9);
	overflow: hidden;
	border-radius: 12px;
	background-color: #3A1018;
}

.og-fv__video {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

/* Scoped under .og-fv: the theme styles every <button> (position, padding, background). */
.og-fv .og-fv__toggle {
	position: absolute;
	top: auto;
	right: 14px;
	bottom: 14px;
	left: auto;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	min-width: 44px;
	height: 44px;
	min-height: 44px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background-color: rgba(17, 18, 17, 0.72);
	box-shadow: none;
	color: #FFF;
	line-height: 1;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

.og-fv .og-fv__toggle:hover {
	background-color: rgba(17, 18, 17, 0.9);
	color: #FFF;
}

.og-fv .og-fv__toggle:focus-visible {
	outline: 2px solid #FFF;
	outline-offset: 2px;
	box-shadow: 0 0 0 4px #111211;
}

.og-fv .og-fv__icon {
	flex: 0 0 auto;
	width: 20px;
	height: 20px;
	fill: currentColor;
}

.og-fv .og-fv__icon--play,
.og-fv.is-paused .og-fv__icon--pause {
	display: none;
}

.og-fv.is-paused .og-fv__icon--play {
	display: block;
}

/* Background mode: fills its positioned parent; crop, zoom and shading come from variables. */
.og-fv.og-fv--bg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
	border-radius: 0;
}

.og-fv--bg .og-fv__video {
	object-fit: cover;
	object-position: var(--og-fv-pos, 50% 50%);
	transform: scale(var(--og-fv-zoom, 1));
	transform-origin: var(--og-fv-origin, 50% 50%);
}

.og-fv--bg::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: var(--og-fv-shade, none);
	pointer-events: none;
}

/* Banarasi hero: one video across the whole box, copy on top. */
.og-banarasi-hero {
	position: relative;
	overflow: hidden;
	isolation: isolate;
}

.og-banarasi-hero > .og-hero-media {
	position: absolute;
	inset: 0;
	z-index: 0;
	width: 100% !important;
	max-width: none;
	height: 100%;
	margin: 0;
	padding: 0;
}

.og-banarasi-hero > .og-hero-media > .elementor-widget,
.og-banarasi-hero > .og-hero-media .elementor-shortcode {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.og-banarasi-hero > .og-hero-copy {
	position: relative;
	z-index: 2;
}

.og-banarasi-hero .og-fv--bg {
	/* Desktop: zoom from the left edge so the face and gold border sit in the right half. */
	--og-fv-zoom: 1.35;
	--og-fv-origin: 0% 0%;
	--og-fv-pos: 50% 0%;
	--og-fv-shade: linear-gradient(90deg, rgba(22, 6, 10, 0.86) 0%, rgba(22, 6, 10, 0.7) 28%, rgba(22, 6, 10, 0.32) 48%, rgba(22, 6, 10, 0) 64%);
}

.og-banarasi-hero .og-hero-copy .wd-btn-text,
.og-banarasi-hero .og-hero-copy .btn {
	white-space: nowrap;
}

@media (max-width: 767px) {
	.og-banarasi-hero .og-fv--bg {
		/* Mobile: the tall box crops the sides; keep the face centred above the copy. */
		--og-fv-zoom: 1;
		--og-fv-origin: 50% 0%;
		--og-fv-pos: 45% 0%;
		--og-fv-shade: linear-gradient(0deg, rgba(22, 6, 10, 0.9) 0%, rgba(22, 6, 10, 0.78) 38%, rgba(22, 6, 10, 0.3) 55%, rgba(22, 6, 10, 0) 66%);
	}

	.og-banarasi-hero .og-fv--bg .og-fv__toggle {
		top: 14px;
		bottom: auto;
	}
}

/* Feature box buttons: comfortable tap targets when stacked on phones. */
@media (max-width: 767px) {
	.og-feature-actions .btn {
		min-height: 48px;
	}
}
