/* Lumax Hero Slider */
.lhs {
	--lhs-h: 700px;
	--lhs-h-m: 480px;
	--lhs-container: 1200px;
	--lhs-accent: #fb0101;
	--lhs-text: #fff;
	--lhs-overlay: .35;
	--lhs-title: 46px;
	--lhs-speed: 900ms;
	position: relative;
	width: 100%;
	height: var(--lhs-h);
	overflow: hidden;
	background: #111;
	color: var(--lhs-text);
	isolation: isolate;
	touch-action: pan-y;
}

.lhs__track {
	position: relative;
	height: 100%;
}

/* ---------- Slides ---------- */
.lhs__slide {
	position: absolute;
	inset: 0;
	visibility: hidden;
}

.lhs--fade .lhs__slide {
	opacity: 0;
	transition: opacity var(--lhs-speed) ease, visibility 0s linear var(--lhs-speed);
}
.lhs--fade .lhs__slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
	transition: opacity var(--lhs-speed) ease, visibility 0s;
}

.lhs--slide .lhs__track {
	display: flex;
	transition: transform var(--lhs-speed) cubic-bezier(.65, 0, .35, 1);
	will-change: transform;
}
.lhs--slide .lhs__slide {
	position: relative;
	flex: 0 0 100%;
	visibility: visible;
}

/* ---------- Media ---------- */
.lhs__media,
.lhs__media img,
.lhs__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	display: block;
}
.lhs__img {
	object-fit: cover;
	max-width: none;
}
.lhs__media--empty {
	background: linear-gradient(135deg, #2a2a2a, #111);
}

.lhs--kenburns .lhs__img {
	transform: scale(1);
	transition: transform 0s;
}
.lhs--kenburns .lhs__slide.is-active .lhs__img {
	transform: scale(1.08);
	transition: transform 9s ease-out;
}

/* Overlay: dark on the text side, fading out */
.lhs__overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(90deg,
		rgba(0, 0, 0, calc(var(--lhs-overlay) + .2)) 0%,
		rgba(0, 0, 0, var(--lhs-overlay)) 40%,
		rgba(0, 0, 0, calc(var(--lhs-overlay) * .25)) 100%);
}
.lhs--align-center .lhs__overlay { background: rgba(0, 0, 0, var(--lhs-overlay)); }
.lhs--align-right .lhs__overlay  { transform: scaleX(-1); }

/* ---------- Content ---------- */
.lhs__content {
	position: relative;
	z-index: 2;
	height: 100%;
	display: flex;
	align-items: center;
	max-width: var(--lhs-container);
	margin: 0 auto;
	padding: 0 70px;
	box-sizing: border-box;
}
.lhs--align-center .lhs__content { justify-content: center; text-align: center; }
.lhs--align-right .lhs__content  { justify-content: flex-end; text-align: right; }

.lhs__inner {
	max-width: 640px;
}

.lhs__title {
	margin: 0 0 .5em;
	color: inherit;
	font-family: "Open Sans", sans-serif;
	font-weight: 800;
	font-size: var(--lhs-title);
	line-height: 1.25;
	letter-spacing: .01em;
	text-shadow: 0 2px 12px rgba(0, 0, 0, .35);
}

.lhs__subtitle {
	margin: 0 0 1.6em;
	font-size: 18px;
	line-height: 1.6;
	opacity: .92;
}

.lhs__btn {
	display: inline-block;
	padding: 14px 34px;
	background: var(--lhs-accent);
	color: #fff !important;
	font-family: Roboto, sans-serif;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
	text-decoration: none !important;
	border: 2px solid var(--lhs-accent);
	transition: background .25s, color .25s;
}
.lhs__btn:hover,
.lhs__btn:focus-visible {
	background: transparent;
	color: #fff !important;
	border-color: #fff;
}

/* Text entrance animation */
.lhs__title,
.lhs__subtitle,
.lhs__btn {
	opacity: 0;
	transform: translateY(30px);
	transition: opacity .7s ease, transform .7s ease;
}
.lhs--align-left .lhs__title    { transform: translateX(-40px); }
.lhs__slide.is-active .lhs__title,
.lhs__slide.is-active .lhs__subtitle,
.lhs__slide.is-active .lhs__btn {
	opacity: 1;
	transform: none;
}
.lhs__slide.is-active .lhs__title    { transition-delay: .35s; }
.lhs__slide.is-active .lhs__subtitle { transition-delay: .55s; }
.lhs__slide.is-active .lhs__btn      { transition-delay: .75s; }

/* ---------- Arrows ---------- */
.lhs__arrow {
	position: absolute;
	top: 50%;
	z-index: 5;
	width: 50px;
	height: 50px;
	margin-top: -25px;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, .25);
	color: #fff;
	border: 1px solid rgba(255, 255, 255, .5);
	border-radius: 50%;
	cursor: pointer;
	opacity: 0;
	transition: opacity .3s, background .25s, border-color .25s;
}
.lhs__arrow svg { width: 22px; height: 22px; }
.lhs:hover .lhs__arrow,
.lhs__arrow:focus-visible { opacity: 1; }
.lhs__arrow:hover {
	background: var(--lhs-accent);
	border-color: var(--lhs-accent);
}
.lhs__arrow--prev { left: 20px; }
.lhs__arrow--next { right: 20px; }

/* ---------- Dots ---------- */
.lhs__dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 30px;
	z-index: 5;
	display: flex;
	justify-content: center;
	gap: 10px;
}
.lhs__dot {
	width: 30px;
	height: 4px;
	padding: 0;
	border: 0;
	background: rgba(255, 255, 255, .5);
	cursor: pointer;
	transition: background .25s, width .25s;
}
.lhs__dot:hover { background: #fff; }
.lhs__dot.is-active {
	width: 50px;
	background: var(--lhs-accent);
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
	.lhs__title { font-size: calc(var(--lhs-title) * .82); }
}
@media (max-width: 767px) {
	.lhs {
		height: var(--lhs-h-m);
	}
	.lhs__title { font-size: calc(var(--lhs-title) * .6); }
	.lhs__content { padding: 0 20px; }
	.lhs__subtitle { font-size: 15px; }
	.lhs__btn { padding: 11px 24px; }
	.lhs__arrow { display: none; }
	.lhs__dots { bottom: 18px; }
}

@media (prefers-reduced-motion: reduce) {
	.lhs *,
	.lhs--slide .lhs__track {
		transition-duration: 0s !important;
		transition-delay: 0s !important;
	}
	.lhs--kenburns .lhs__slide.is-active .lhs__img { transform: none; }
}

/* WPBakery front-end editor */
.vc_editor .lhs__title,
.vc_editor .lhs__subtitle,
.vc_editor .lhs__btn { opacity: 1; transform: none; }
