/*
 * Hero banner — self-contained, no JS-calculated height.
 *
 * Colors/fonts below are guesses at the live site's palette based on the
 * reference screenshot; the theme's own default.css uses an orange button
 * (#EA5501) the client has clearly overridden via Elementor's Global Kit,
 * which isn't inspectable from this offline copy of the repo. Update the
 * custom properties below to match — that's the only place values need to
 * change. The arrows intentionally use Elementor's --e-global-color-primary/
 * --e-global-color-secondary variables directly (with a fallback to the
 * properties here) so they always track the site's actual Global Colors.
 */
.dc-hero {
	--dc-hero-media-bg: #0c1b2e;
	--dc-hero-overlay: rgba(8, 18, 32, 0.55);
	--dc-hero-eyebrow-color: #ffffff;
	--dc-hero-heading-color: #ffffff;
	--dc-hero-desc-color: #f0f0f0;
	--dc-hero-btn-bg: #0e3178;
	--dc-hero-btn-bg-hover: #113b90;
	--dc-hero-btn-color: #ffffff;
	--dc-hero-btn-radius: 3px;
	--dc-hero-font-heading: "Ubuntu", Arial, sans-serif;
	--dc-hero-font-body: "Ubuntu", Arial, sans-serif;
	--dc-hero-container-max-width: 1340px;
	--dc-hero-container-gutter: 30px;

	position: relative;
	width: 100%;
	min-height: 78vh; /* overridden per-instance/per-breakpoint by the widget's Banner Height control */
	overflow: hidden;
	isolation: isolate;
	box-sizing: border-box;
}

.dc-hero,
.dc-hero *,
.dc-hero *::before,
.dc-hero *::after {
	box-sizing: border-box;
}

@media (max-width: 767px) {
	.dc-hero {
		min-height: 62vh;
	}
}

.dc-hero__track {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: inherit;
}

.dc-hero__slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	min-height: inherit;
	opacity: 0;
	visibility: hidden;
	z-index: 0;
	transition: opacity 0.6s ease;
}

.dc-hero__slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
}

/* "Slide" transition: the track becomes a flex row and moves via transform;
   individual slides no longer fade, they just sit side by side. */
.dc-hero--transition-slide .dc-hero__track {
	display: flex;
	transition: transform 0.6s ease;
	will-change: transform;
}

.dc-hero--transition-slide .dc-hero__slide {
	position: relative;
	inset: auto;
	flex: 0 0 100%;
	max-width: 100%;
	opacity: 1;
	visibility: visible;
}

.dc-hero__media {
	position: absolute;
	inset: 0;
	z-index: 0;
	background: var(--dc-hero-media-bg);
	overflow: hidden;
}

.dc-hero__media img,
.dc-hero__media video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* The background video is purely decorative: it must never intercept
   pointer/hover events (that's also what stops Chrome/Edge from showing
   their hover-triggered Picture-in-Picture control on it), and its native
   controls must never render even if a browser ignores our attributes. */
.dc-hero__bg-video {
	pointer-events: none;
}

.dc-hero__bg-video::-webkit-media-controls,
.dc-hero__bg-video::-webkit-media-controls-enclosure,
.dc-hero__bg-video::-webkit-media-controls-panel,
.dc-hero__bg-video::-webkit-media-controls-start-playback-button {
	display: none !important;
	-webkit-appearance: none;
}

.dc-hero__yt-bg {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

/* Injected by JS only after the iframe has actually loaded; until then (or
   if it never loads) the fallback poster <img> underneath stays visible. */
.dc-hero__yt-iframe {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 177.78vh; /* 16:9 cover trick */
	height: 56.25vw;
	min-width: 100%;
	min-height: 100%;
	transform: translate(-50%, -50%);
	border: 0;
	pointer-events: none;
	opacity: 0;
	transition: opacity 0.6s ease;
}

.dc-hero__yt-iframe.is-loaded {
	opacity: 1;
}

.dc-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: var(--dc-hero-overlay);
}

.dc-hero__container {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: var(--dc-hero-container-max-width);
	margin: 0 auto;
	padding: 0 var(--dc-hero-container-gutter);
}

.dc-hero__content {
	width: 70%;
	padding: 40px 0;
	color: var(--dc-hero-heading-color);
	font-family: var(--dc-hero-font-body);
}

.dc-hero__eyebrow {
	margin: 0 0 18px;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--dc-hero-eyebrow-color);
}

.dc-hero__heading {
	margin: 0 0 22px;
	font-family: var(--dc-hero-font-heading);
	font-weight: 700;
	font-size: clamp(28px, 4.2vw, 52px);
	line-height: 1.15;
	color: var(--dc-hero-heading-color);
}

.dc-hero__description {
	max-width: 560px;
	margin: 0 0 26px;
	font-size: 16px;
	line-height: 1.6;
	color: var(--dc-hero-desc-color);
}

.dc-hero__description p {
	margin: 0 0 1em;
}

.dc-hero__description p:last-child {
	margin-bottom: 0;
}

.dc-hero__button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 16px 30px;
	background: var(--dc-hero-btn-bg);
	color: var(--dc-hero-btn-color);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
	text-decoration: none;
	border-radius: var(--dc-hero-btn-radius);
	transition: background-color 0.3s ease;
}

.dc-hero__button:hover,
.dc-hero__button:focus {
	background: var(--dc-hero-btn-bg-hover);
	color: var(--dc-hero-btn-color);
}

.dc-hero__button-arrow {
	line-height: 1;
}

/* Slider controls (only present in the markup when there's more than one slide).
   Modeled on Slick's .slick-arrow/.slick-prev/.slick-next: a plain circular/
   rounded button positioned at mid-height, disabled state when loop is off. */

.dc-hero__arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	margin-top: -22px;
	padding: 0;
	border: 0;
	border-radius: 5px 5px 5px 5px;
	background-color: var(--dc-hero-btn-bg) !important;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.dc-hero__arrow::before {
	font-family: "remixicon";
	font-style: normal;
	font-weight: normal;
	content: "\ea60";
	font-size: 20px;
	color: #ffffff;
	line-height: 1;
}

/* The "\ea60" glyph points left by default; mirror it for "next" instead of
   "previous" so left = points left, right = points right. */
.dc-hero__arrow--next::before {
	display: inline-block;
	transform: scaleX(-1);
}

.dc-hero__arrow:hover,
.dc-hero__arrow:focus {
	background-color: var(--dc-hero-btn-bg-hover) !important;
}

.dc-hero__arrow:disabled {
	opacity: 0.35;
	cursor: default;
	pointer-events: none;
}

.dc-hero__arrow--prev {
	left: 20px;
}

.dc-hero__arrow--next {
	right: 20px;
}

.dc-hero__dots {
	position: absolute;
	bottom: 24px;
	left: 50%;
	z-index: 3;
	display: flex;
	gap: 10px;
	transform: translateX(-50%);
}

.dc-hero__dot {
	width: 15px;
	height: 15px;
	padding: 0;
	border: 2px solid #0e3178;
	border-radius: 50%;
	background: #0e3178;
	cursor: pointer;
}

.dc-hero__dot.is-active {
	background: #ffffff;
	border-color: #ffffff;
}

@media (max-width: 767px) {
	.dc-hero__content {
		width: 100%;
	}
}

@media (max-width: 599px) {
	.dc-hero__arrow {
		width: 36px;
		height: 36px;
		margin-top: -18px;
		font-size: 18px;
	}

	.dc-hero {
		--dc-hero-container-gutter: 24px;
	}

	.dc-hero__content {
		padding: 32px 0;
	}
}
