.wha-hero-slider {
	position: relative;
	min-height: 640px; /* fallback for browsers/renderers without CSS min() support */
	min-height: min(88vh, 880px);
	display: flex;
	align-items: center;
	overflow: hidden;
	background: var(--wha-background);
}

.wha-hero-slider__slides {
	position: absolute;
	inset: 0;
}

.wha-hero-slider__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 1.2s ease;
}
.wha-hero-slider__slide.is-active {
	opacity: 1;
}
.wha-hero-slider__slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}

.wha-hero-slider__scrim {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(0deg, var(--wha-background) 0%, rgba(5, 5, 5, 0.55) 45%, rgba(5, 5, 5, 0.35) 100%),
		linear-gradient(90deg, rgba(5, 5, 5, 0.35), rgba(5, 5, 5, 0.35));
}

.wha-hero-slider__content {
	position: relative;
	z-index: 2;
	text-align: center;
	max-width: 860px;
	margin-inline: auto;
	padding-block: 6rem;
}
.wha-hero-slider__content .wha-lead {
	max-width: 60ch;
	margin-inline: auto;
}

.wha-hero-slider__actions {
	display: flex;
	gap: 1rem;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 1.5rem;
}

.wha-hero-slider__dots {
	position: absolute;
	z-index: 2;
	bottom: 1.75rem;
	left: 50%;
	transform: translateX(-50%);
	display: flex;
	gap: 0.6rem;
}
.wha-hero-slider__dot {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.35);
	transition: background-color 0.2s ease, transform 0.2s ease;
}
.wha-hero-slider__dot:hover {
	background: rgba(255, 255, 255, 0.6);
}
.wha-hero-slider__dot.is-active {
	background: var(--wha-accent);
	transform: scale(1.3);
}

@media (max-width: 640px) {
	.wha-hero-slider {
		min-height: 80vh;
	}
	.wha-hero-slider__content {
		padding-block: 4rem;
	}
}
