.gnt-hero {
	--gnt-accent: #b48b45;
	position: relative;
	min-height: clamp(34rem, 72vh, 52rem);
	overflow: hidden;
	background: #102a43;
	color: #fff;
	isolation: isolate;
}

.gnt-hero__slides,
.gnt-hero__slide {
	position: absolute;
	inset: 0;
}

.gnt-hero__slide {
	display: grid;
	align-items: center;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: opacity 700ms ease, visibility 700ms;
}

.gnt-hero__slide.is-active {
	z-index: 1;
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.gnt-hero__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: var(--gnt-position, center center);
}

.gnt-hero__overlay {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(
			90deg,
			rgba(8, 28, 48, calc(var(--gnt-overlay, .45) + .18)) 0%,
			rgba(8, 28, 48, var(--gnt-overlay, .45)) 55%,
			rgba(8, 28, 48, calc(var(--gnt-overlay, .45) - .12)) 100%
		);
}

.gnt-hero__content {
	position: relative;
	z-index: 2;
	width: min(90%, 72rem);
	margin-inline: auto;
	padding: 6rem 4.5rem;
	text-align: center;
}

.gnt-hero__title {
	max-width: 19ch;
	margin: 0 auto .65em;
	color: inherit;
	font-size: clamp(2.3rem, 5vw, 4.8rem);
	line-height: 1.06;
	text-wrap: balance;
}

.gnt-hero__text {
	max-width: 48rem;
	margin-inline: auto;
	font-size: clamp(1.05rem, 2vw, 1.35rem);
	line-height: 1.65;
}

.gnt-hero__text p:last-child {
	margin-bottom: 0;
}

.gnt-hero__button {
	display: inline-flex;
	margin-top: 1.75rem;
	padding: .9rem 1.5rem;
	border: 2px solid #fff;
	border-radius: .2rem;
	color: #fff;
	font-weight: 700;
	text-decoration: none;
	transition: background-color 180ms ease, color 180ms ease;
}

.gnt-hero__button:hover,
.gnt-hero__button:focus-visible {
	background: #fff;
	color: #102a43;
}

.gnt-hero__arrow,
.gnt-hero__dot {
	position: absolute;
	z-index: 3;
	border: 0;
	cursor: pointer;
}

.gnt-hero__arrow {
	top: 50%;
	display: grid;
	width: 3rem;
	height: 3rem;
	padding: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .26);
	color: #fff;
	font-size: 2.35rem;
	line-height: 1;
	place-items: center;
	transform: translateY(-50%);
	transition: background-color 180ms ease;
}

.gnt-hero__arrow:hover,
.gnt-hero__arrow:focus-visible {
	background: rgba(0, 0, 0, .62);
}

.gnt-hero__arrow--prev {
	left: 1.2rem;
}

.gnt-hero__arrow--next {
	right: 1.2rem;
}

.gnt-hero__dots {
	position: absolute;
	z-index: 3;
	bottom: 1.35rem;
	left: 50%;
	display: flex;
	gap: .7rem;
	transform: translateX(-50%);
}

.gnt-hero__dot {
	position: relative;
	width: .75rem;
	height: .75rem;
	padding: 0;
	border: 2px solid #fff;
	border-radius: 50%;
	background: transparent;
}

.gnt-hero__dot.is-active {
	background: #fff;
}

.gnt-hero :focus-visible {
	outline: 3px solid var(--gnt-accent);
	outline-offset: 3px;
}

@media (max-width: 767px) {
	.gnt-hero {
		min-height: 38rem;
	}

	.gnt-hero__content {
		padding: 5rem 3.25rem;
	}

	.gnt-hero__arrow {
		width: 2.6rem;
		height: 2.6rem;
	}

	.gnt-hero__arrow--prev {
		left: .45rem;
	}

	.gnt-hero__arrow--next {
		right: .45rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.gnt-hero__slide {
		transition: none;
	}
}

