.anmt-hero-carousel-section,
.anmt-site .et_pb_section.anmt-hero-carousel-section {
	background: var(--anmt-deep-teal);
	border-bottom: 1px solid rgba(255, 255, 255, 0.22);
	padding: 0 !important;
}

.anmt-hero-carousel-section .et_pb_row,
.anmt-hero-carousel-row {
	max-width: none !important;
	padding: 0 !important;
	width: 100% !important;
}

.anmt-hero-carousel-section .et_pb_column,
.anmt-hero-carousel-module,
.anmt-hero-carousel-module .et_pb_text_inner {
	margin: 0 !important;
	padding: 0 !important;
	width: 100% !important;
}

.anmt-hero-carousel {
	background: var(--anmt-deep-teal);
	color: var(--anmt-white);
	height: clamp(520px, 58vw, 720px);
	min-height: 520px;
	overflow: hidden;
	position: relative;
	width: 100%;
}

.anmt-hero-carousel__track,
.anmt-hero-slide {
	height: 100%;
	width: 100%;
}

.anmt-hero-slide {
	align-items: center;
	background-image: var(--anmt-slide-image);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
	display: flex;
	inset: 0;
	opacity: 0;
	pointer-events: none;
	position: absolute;
	transition: opacity 220ms cubic-bezier(.4, 0, .2, 1);
	visibility: hidden;
	z-index: 1;
}

.anmt-hero-slide.is-active,
.anmt-hero-slide.is-exiting {
	visibility: visible;
}

.anmt-hero-slide.is-active {
	opacity: 1;
	pointer-events: auto;
	transition-duration: 320ms;
	z-index: 2;
}

.anmt-hero-slide.is-exiting {
	opacity: 0;
	z-index: 1;
}

.anmt-hero-slide::before {
	background:
		linear-gradient(90deg, rgba(35, 73, 76, var(--anmt-slide-overlay, 0.62)) 0%, rgba(35, 73, 76, 0.58) 42%, rgba(15, 17, 19, 0.22) 100%),
		linear-gradient(180deg, rgba(15, 17, 19, 0.06), rgba(15, 17, 19, 0.32));
	content: "";
	inset: 0;
	position: absolute;
	z-index: 2;
}

.anmt-hero-media,
.anmt-hero-video {
	height: 100%;
	inset: 0;
	position: absolute;
	width: 100%;
}

.anmt-hero-media {
	z-index: 1;
}

.anmt-home .anmt-hero-carousel .anmt-hero-media,
.anmt-site .anmt-hero-carousel .anmt-hero-media {
	background: transparent !important;
	inset: 0 !important;
	max-width: none !important;
	position: absolute !important;
	width: 100% !important;
	z-index: 1 !important;
}

.anmt-hero-video {
	object-fit: cover;
}

.anmt-hero-content {
	margin-inline: auto;
	max-width: var(--anmt-container);
	padding: clamp(54px, 7vw, 90px) var(--anmt-gutter);
	position: relative;
	width: 100%;
	z-index: 3;
}

.anmt-hero-label {
	color: var(--anmt-white);
	display: block;
	font-family: var(--anmt-font-heading);
	font-size: clamp(14px, 1.5vw, 22px);
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1.2;
	margin-bottom: 18px;
	text-transform: uppercase;
}

.anmt-hero-slide .anmt-hero-label,
.anmt-hero-slide .anmt-hero-content > h1,
.anmt-hero-slide .anmt-hero-content > p,
.anmt-hero-slide .anmt-hero-actions {
	animation: none;
	opacity: 0;
	transform: translateY(14px);
	will-change: opacity, transform;
}

.anmt-hero-slide.is-active .anmt-hero-label {
	animation: anmtHeroFadeUp 600ms cubic-bezier(.4, 0, .2, 1) 100ms forwards;
}

.anmt-hero-slide.is-active .anmt-hero-content > h1 {
	animation: anmtHeroFadeUp 650ms cubic-bezier(.4, 0, .2, 1) 220ms forwards;
}

.anmt-hero-slide.is-active .anmt-hero-content > p {
	animation: anmtHeroFadeUp 650ms cubic-bezier(.4, 0, .2, 1) 360ms forwards;
}

.anmt-hero-slide.is-active .anmt-hero-actions {
	animation: anmtHeroFadeUp 650ms cubic-bezier(.4, 0, .2, 1) 500ms forwards;
}

.anmt-hero-slide.is-exiting .anmt-hero-label,
.anmt-hero-slide.is-exiting .anmt-hero-content > h1,
.anmt-hero-slide.is-exiting .anmt-hero-content > p,
.anmt-hero-slide.is-exiting .anmt-hero-actions {
	animation: none;
	opacity: 1;
	transform: translateY(0);
}

@keyframes anmtHeroFadeUp {
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.anmt-hero-carousel h1 {
	color: var(--anmt-white);
	font-family: var(--anmt-font-heading);
	font-size: clamp(48px, 6.2vw, 92px);
	font-weight: 800;
	letter-spacing: 0;
	line-height: 0.94;
	margin: 0 0 22px;
	max-width: 780px;
	overflow-wrap: normal;
	text-transform: uppercase;
	white-space: normal;
	word-break: normal;
}

.anmt-hero-carousel p {
	color: var(--anmt-white);
	font-size: clamp(18px, 1.5vw, 22px);
	line-height: 1.35;
	margin: 0;
	max-width: 590px;
}

.anmt-hero-carousel .anmt-hero-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 24px;
	margin-top: 34px;
}

.anmt-hero-dots {
	align-items: center;
	bottom: 28px;
	display: flex;
	gap: 12px;
	left: 50%;
	position: absolute;
	transform: translateX(-50%);
	z-index: 4;
}

.anmt-hero-dot {
	background: rgba(255, 255, 255, 0.42);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
	height: 3px;
	padding: 0;
	transition: background-color 250ms ease, width 250ms ease;
	width: 34px;
}

.anmt-hero-dot:hover,
.anmt-hero-dot:focus-visible,
.anmt-hero-dot.is-active {
	background: var(--anmt-white);
	width: 54px;
}

.anmt-hero-control {
	align-items: center;
	background: rgba(15, 17, 19, 0.18);
	border: 1px solid rgba(255, 255, 255, 0.52);
	border-radius: 999px;
	color: var(--anmt-white);
	cursor: pointer;
	display: inline-flex;
	height: 44px;
	justify-content: center;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	transition: background-color 250ms ease, border-color 250ms ease, transform 250ms ease;
	width: 44px;
	z-index: 4;
}

.anmt-hero-control:hover,
.anmt-hero-control:focus-visible {
	background: var(--anmt-primary);
	border-color: var(--anmt-white);
	transform: translateY(calc(-50% - 2px));
}

.anmt-hero-control span {
	border-right: 2px solid currentColor;
	border-top: 2px solid currentColor;
	display: block;
	height: 12px;
	width: 12px;
}

.anmt-hero-control--prev {
	left: 28px;
}

.anmt-hero-control--prev span {
	transform: rotate(-135deg) translate(-1px, -1px);
}

.anmt-hero-control--next {
	right: 28px;
}

.anmt-hero-control--next span {
	transform: rotate(45deg) translate(-1px, 1px);
}

@media (max-width: 980px) {
	.anmt-hero-slide {
		background-image: var(--anmt-slide-tablet);
	}

	.anmt-hero-carousel {
		height: 620px;
		min-height: 620px;
	}
}

/* Keep the complete hero message visible on short desktop viewports and browser zoom. */
@media (min-width: 981px) and (max-height: 760px) {
	.anmt-hero-carousel {
		height: max(500px, calc(100svh - var(--anmt-sticky-offset, 137px)));
		min-height: 500px;
	}

	.anmt-hero-content {
		padding-block: clamp(28px, 5vh, 40px);
	}

	.anmt-hero-label {
		font-size: clamp(13px, 1.15vw, 17px);
		margin-bottom: 12px;
	}

	.anmt-hero-carousel h1 {
		font-size: clamp(46px, 5.1vw, 76px);
		max-width: 720px;
	}

	.anmt-hero-carousel p {
		font-size: clamp(16px, 1.25vw, 19px);
		max-width: 560px;
	}

	.anmt-hero-carousel .anmt-hero-actions {
		margin-top: 22px;
	}

	.anmt-hero-dots {
		bottom: 18px;
	}
}

@media (max-width: 767px) {
	.anmt-hero-slide {
		background-image: var(--anmt-slide-mobile);
	}

	.anmt-hero-carousel {
		height: 640px;
		min-height: 640px;
	}

	.anmt-hero-content {
		padding-inline: 24px;
	}

	.anmt-hero-carousel h1 {
		font-size: clamp(40px, 13vw, 58px);
	}

	.anmt-hero-carousel .anmt-hero-actions {
		align-items: stretch;
		flex-direction: column;
		gap: 14px;
		max-width: 280px;
	}

	.anmt-hero-carousel .anmt-button {
		width: 100%;
	}

	.anmt-hero-control {
		display: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.anmt-hero-slide,
	.anmt-hero-slide.is-active,
	.anmt-hero-slide.is-exiting {
		transition: none;
	}

	.anmt-hero-slide .anmt-hero-label,
	.anmt-hero-slide .anmt-hero-content > h1,
	.anmt-hero-slide .anmt-hero-content > p,
	.anmt-hero-slide .anmt-hero-actions,
	.anmt-hero-slide.is-active .anmt-hero-label,
	.anmt-hero-slide.is-active .anmt-hero-content > h1,
	.anmt-hero-slide.is-active .anmt-hero-content > p,
	.anmt-hero-slide.is-active .anmt-hero-actions {
		animation: none;
		opacity: 1;
		transform: none;
		will-change: auto;
	}

	.anmt-hero-video {
		display: none;
	}
}
