/* Life Aspects Hero Slider v1.1.0 */
.la-hs {
	--la-speed: 1500ms;
	--la-kb: 9000ms;
	--la-p-from: #12a04a;
	--la-p-to: #cddc29;
	--la-dot: rgba(255, 255, 255, 0.55);
	--la-dot-active: #ffffff;
	position: relative;
	overflow: hidden;
	height: 650px;
	background: #1b1f1d;
	color: #fff;
	isolation: isolate;
}

.la-hs, .la-hs *, .la-hs *::before, .la-hs *::after { box-sizing: border-box; }

.la-hs__track { position: absolute; inset: 0; }

/* Slides: stacked, cross-fade (new slide fades in over the outgoing one) */
.la-hs__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	z-index: 1;
}
.la-hs__slide.is-leaving { opacity: 1; visibility: visible; z-index: 1; }
.la-hs__slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 2;
	transition: opacity var(--la-speed) ease;
}

.la-hs img.la-hs__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	max-height: none !important;
	margin: 0;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	object-fit: cover;
	object-position: center;
	transform-origin: 30% 50%;
	will-change: transform;
}

/* Ken Burns (zoom + drift right), runs through fade-out without jumping */
.la-hs--kb .la-hs__slide.is-active .la-hs__img,
.la-hs--kb .la-hs__slide.is-leaving .la-hs__img {
	animation: laHsKenburns var(--la-kb) linear forwards;
}
@keyframes laHsKenburns {
	from { transform: scale(1) translate3d(0, 0, 0); }
	to   { transform: scale(1.12) translate3d(2%, 0, 0); }
}

.la-hs__overlay {
	position: absolute;
	inset: 0;
	background-color: rgba(0, 0, 0, 0.5);
}

.la-hs__content {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: center;
	z-index: 3;
	padding: 60px 0 70px;
}
.la-hs__container {
	width: 100%;
	max-width: 1170px;
	margin: 0 auto;
	padding: 0 15px;
}
.la-hs__inner { max-width: 820px; text-align: left; }

/* Typography (inherits theme heading font; override in Style tab) */
.la-hs .la-hs__label {
	margin: 0 0 14px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	color: #fff;
}
.la-hs .la-hs__heading {
	margin: 0 0 18px;
	padding: 0;
	font-size: clamp(32px, 5vw, 70px);
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.02em;
	color: #fff;
	text-transform: none;
}
.la-hs .la-hs__text {
	margin: 0 0 30px;
	max-width: 640px;
	font-size: clamp(16px, 1.35vw, 20px);
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.92);
}
.la-hs__inner .la-hs__text { margin-left: inherit; margin-right: inherit; }

/* Buttons */
.la-hs__buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	justify-content: var(--la-justify, flex-start);
}
.la-hs a.la-hs__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	padding: 16px 34px;
	border: 2px solid transparent;
	border-radius: 0;
	font-size: 14px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.5px;
	text-transform: uppercase;
	text-decoration: none;
	box-shadow: none;
	transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, filter 0.25s ease, transform 0.25s ease;
}
.la-hs a.la-hs__btn--primary {
	background: linear-gradient(90deg, var(--la-p-from), var(--la-p-to)) border-box;
	border: 0;
	color: #fff;
}
.la-hs a.la-hs__btn--primary:hover,
.la-hs a.la-hs__btn--primary:focus-visible {
	color: #fff;
	filter: brightness(1.08);
	transform: translateY(-1px);
}
.la-hs a.la-hs__btn--secondary {
	background: transparent;
	border-color: #fff;
	color: #fff;
}
.la-hs a.la-hs__btn--secondary:hover,
.la-hs a.la-hs__btn--secondary:focus-visible {
	background-color: #fff;
	color: #12a04a;
	transform: translateY(-1px);
}

/* Text entrance animations (replays each time a slide becomes active) */
.la-hs__label, .la-hs__heading, .la-hs__text, .la-hs__buttons { opacity: 0; }
.la-hs__slide.is-leaving .la-hs__label,
.la-hs__slide.is-leaving .la-hs__heading,
.la-hs__slide.is-leaving .la-hs__text,
.la-hs__slide.is-leaving .la-hs__buttons { opacity: 1; }

.la-hs__slide.is-active .la-hs__label   { animation: laHsInRight 0.8s ease 0.4s both; }
.la-hs__slide.is-active .la-hs__heading { animation: laHsInLeft 0.8s ease 0.6s both; }
.la-hs__slide.is-active .la-hs__text    { animation: laHsInLeft 0.8s ease 0.8s both; }
.la-hs__slide.is-active .la-hs__buttons { animation: laHsInLeft 0.8s ease 1s both; }

@keyframes laHsInRight { from { opacity: 0; transform: translate3d(-40px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes laHsInLeft  { from { opacity: 0; transform: translate3d(40px, 0, 0); }  to { opacity: 1; transform: none; } }

/* Arrows */
.la-hs button.la-hs__arrow {
	position: absolute;
	top: 50%;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
	padding: 10px;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: rgba(255, 255, 255, 0.85);
	cursor: pointer;
	transform: translateY(-50%);
	transition: color 0.2s ease, transform 0.2s ease;
}
.la-hs button.la-hs__arrow:hover { color: #fff; background: transparent; }
.la-hs__arrow svg { display: block; width: auto; height: 60px; aspect-ratio: 1 / 3; }
.la-hs__arrow--prev { left: 12px; }
.la-hs__arrow--next { right: 12px; }

/* Dots + pause */
.la-hs__nav {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 24px;
	z-index: 5;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}
.la-hs button.la-hs__dot {
	width: 12px;
	height: 12px;
	min-height: 0;
	margin: 0;
	padding: 0;
	border: 2px solid var(--la-dot-active);
	border-radius: 50%;
	background: transparent;
	box-shadow: none;
	opacity: 0.75;
	cursor: pointer;
	transition: background-color 0.25s ease, width 0.25s ease, opacity 0.25s ease;
}
.la-hs button.la-hs__dot:hover { opacity: 1; background: var(--la-dot); }
.la-hs button.la-hs__dot.is-active {
	width: 28px;
	border-radius: 6px;
	background: var(--la-dot-active);
	opacity: 1;
}
.la-hs button.la-hs__pause {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	min-height: 0;
	margin: 0 0 0 8px;
	padding: 0;
	border: 1px solid rgba(255, 255, 255, 0.6);
	border-radius: 50%;
	background: rgba(0, 0, 0, 0.25);
	box-shadow: none;
	color: #fff;
	cursor: pointer;
}
.la-hs__pause svg { width: 10px; height: 10px; }
.la-hs__pause .la-hs__icon-play { display: none; }
.la-hs__pause[aria-pressed="true"] .la-hs__icon-play { display: block; }
.la-hs__pause[aria-pressed="true"] .la-hs__icon-pause { display: none; }
.la-hs__pause[hidden] { display: none !important; }

/* Focus */
.la-hs a.la-hs__btn:focus-visible,
.la-hs button:focus-visible {
	outline: 2px solid #fff;
	outline-offset: 3px;
}

/* Tablet */
@media (max-width: 1024px) {
	.la-hs__arrow svg { height: 46px; }
	.la-hs__container { padding: 0 60px; }
}

/* Mobile */
@media (max-width: 767px) {
	.la-hs { height: 560px; }
	.la-hs__content { padding: 40px 0 64px; }
	.la-hs__container { padding: 0 20px; }
	.la-hs .la-hs__label { font-size: 12px; margin-bottom: 10px; }
	.la-hs .la-hs__heading { font-size: 32px; margin-bottom: 14px; }
	.la-hs .la-hs__text { font-size: 16px; margin-bottom: 24px; }
	.la-hs__buttons { gap: 10px; }
	.la-hs a.la-hs__btn { min-height: 44px; padding: 13px 20px; font-size: 13px; }
	.la-hs__arrow svg { height: 36px; }
	.la-hs--no-arrows-mobile .la-hs__arrow { display: none !important; }
	.la-hs--no-arrows-mobile .la-hs__container { padding: 0 20px; }

	/* Stacked mobile layout: image on top, text below */
	.la-hs--stack-mobile img.la-hs__img,
	.la-hs--stack-mobile .la-hs__overlay {
		bottom: auto;
		height: var(--la-stack-h, 260px) !important;
	}
	.la-hs--stack-mobile .la-hs__content {
		top: var(--la-stack-h, 260px);
		align-items: flex-start;
		padding: 24px 0 28px;
		background: var(--la-stack-bg, #14171a);
	}
	.la-hs--stack-mobile .la-hs__nav {
		top: calc(var(--la-stack-h, 260px) - 40px);
		bottom: auto;
	}
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
	.la-hs__slide.is-active { transition-duration: 0.01ms; }
	.la-hs .la-hs__img { animation: none !important; }
	.la-hs__slide.is-active .la-hs__label,
	.la-hs__slide.is-active .la-hs__heading,
	.la-hs__slide.is-active .la-hs__text,
	.la-hs__slide.is-active .la-hs__buttons { animation: none; opacity: 1; }
}
