.afg-hero[data-afg-hero] {
	position: relative;
	margin-top: 0;
	height: clamp(360px, 47.27vw, 720px);
	min-height: 360px;
	border-top: 0;
	background: #102a61;
	box-shadow: none;
	color: #fff;
	overflow: hidden;
	touch-action: pan-y;
}

.afg-hero-track,
.afg-hero[data-afg-hero] .afg-hero-slide {
	position: absolute;
	inset: 0;
}

.afg-hero[data-afg-hero] .afg-hero-slide {
	z-index: 0;
	display: block;
	opacity: 0;
	pointer-events: none;
	transform: none;
	transition: opacity .72s ease;
}

.afg-hero[data-afg-hero] .afg-hero-slide.is-active {
	z-index: 1;
	opacity: 1;
	pointer-events: auto;
	transform: none;
}

.afg-hero[data-afg-hero] .afg-hero-image-trigger {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: #102a61;
	color: inherit;
	cursor: zoom-in;
	overflow: hidden;
}

.afg-hero-slide__image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	background: #102a61;
	object-fit: cover;
	object-position: center;
	transition: transform .7s cubic-bezier(.16, 1, .3, 1);
}

.afg-hero[data-afg-hero] .afg-hero-image-trigger:hover .afg-hero-slide__image {
	transform: scale(1.012);
}

.afg-hero[data-afg-hero] .afg-hero-slide::after {
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: linear-gradient(180deg, rgba(7, 18, 45, .02) 40%, rgba(7, 18, 45, .52) 100%);
}

.afg-hero[data-afg-hero] .afg-hero__grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: end;
	justify-items: center;
	width: min(1460px, calc(100% - 96px));
	height: 100%;
	min-height: 0;
	padding: 0 0 86px;
	pointer-events: none;
}

.afg-hero[data-afg-hero] .afg-hero-copy {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: visible;
	width: fit-content;
	max-width: min(560px, 100%);
	min-height: 48px;
	margin: 0;
	padding: 9px 20px;
	border: 1px solid rgba(255, 255, 255, .12);
	border-radius: 12px;
	background: rgba(38, 43, 51, .94);
	box-shadow: 0 10px 26px rgba(5, 13, 32, .28);
	backdrop-filter: none;
	-webkit-backdrop-filter: none;
	opacity: 0;
	transform: none;
	transition: opacity .4s .18s ease;
	pointer-events: auto;
}

.afg-hero[data-afg-hero] .afg-hero-copy::before {
	display: none;
}

.afg-hero[data-afg-hero] .is-active .afg-hero-copy {
	opacity: 1;
	transform: none;
}

.afg-hero[data-afg-hero] :is(h1, h2) {
	max-width: 520px;
	margin: 0;
	color: #fff;
	font-size: clamp(15px, 1.2vw, 18px);
	font-weight: 900;
	line-height: 1.65;
	text-align: center;
	text-wrap: balance;
}

.afg-hero[data-afg-hero] .afg-hero-copy > p {
	display: none;
}

.afg-hero[data-afg-hero] .afg-hero-preview-btn {
	display: none;
}

.afg-hero[data-afg-hero] .afg-hero-cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 44px;
	margin-right: 12px;
	padding: 8px 14px;
	border: 1px solid rgba(255, 255, 255, .34);
	border-radius: 9px;
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease;
}

.afg-hero[data-afg-hero] .afg-hero-cta:hover {
	border-color: #fff;
	background: rgba(255, 255, 255, .14);
	color: #fff;
}

.afg-hero[data-afg-hero] .afg-hero-dots {
	position: absolute;
	bottom: 22px;
	left: 50%;
	z-index: 5;
	display: flex;
	align-items: center;
	gap: 0;
	min-height: 50px;
	padding: 3px 5px;
	border: 1px solid rgba(255, 255, 255, .28);
	border-radius: 999px;
	background: rgba(7, 18, 45, .34);
	box-shadow: 0 8px 24px rgba(5, 13, 32, .2), inset 0 1px 0 rgba(255, 255, 255, .1);
	backdrop-filter: blur(14px) saturate(135%);
	-webkit-backdrop-filter: blur(14px) saturate(135%);
	transform: translateX(-50%);
}

.afg-hero[data-afg-hero] .afg-hero-dot {
	position: relative;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}

.afg-hero[data-afg-hero] .afg-hero-dot::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 8px;
	height: 8px;
	border-radius: 999px;
	background: rgba(255, 255, 255, .58);
	transform: translate(-50%, -50%);
	transition: width .28s ease, background-color .2s ease;
}

.afg-hero[data-afg-hero] .afg-hero-dot.is-active::before {
	width: 24px;
	background: #fff;
}

.afg-hero[data-afg-hero] .afg-hero-arrow {
	z-index: 5;
	width: 48px;
	height: 48px;
	border: 1px solid rgba(255, 255, 255, .2);
	background: rgba(7, 18, 45, .42);
	transition: background-color .2s ease, transform .22s ease;
}

.afg-hero[data-afg-hero] .afg-hero-arrow:hover {
	background: rgba(7, 18, 45, .68);
}

.afg-hero[data-afg-hero] :is(.afg-hero-dot, .afg-hero-arrow, .afg-hero-preview-btn, .afg-hero-cta):focus-visible {
	outline: 3px solid #fff;
	outline-offset: 3px;
}

.afg-hero[data-afg-hero] .afg-hero-image-trigger:focus-visible {
	outline: 3px solid #fff;
	outline-offset: -7px;
}

@media screen and (max-width: 991px) {
	.afg-hero[data-afg-hero] {
		height: clamp(320px, 62vw, 480px);
		min-height: 320px;
	}

	.afg-hero[data-afg-hero] .afg-hero__grid {
		grid-template-columns: minmax(0, 1fr);
		width: min(100% - 72px, 900px);
		padding-bottom: 72px;
	}

	.afg-hero[data-afg-hero] .afg-hero-copy {
		width: fit-content;
		max-width: min(480px, 100%);
		min-height: 46px;
		padding: 8px 18px;
	}
}

@media screen and (max-width: 600px) {
	.afg-hero[data-afg-hero] {
		margin-top: 0;
		height: clamp(300px, 76vw, 390px);
		min-height: 300px;
		box-shadow: none;
	}

	.afg-hero[data-afg-hero] .afg-hero__grid {
		align-items: end;
		width: min(100% - 32px, 100%);
		padding-bottom: 68px;
	}

	.afg-hero[data-afg-hero] .afg-hero-copy {
		padding: 8px 16px;
		border-radius: 11px;
	}

	.afg-hero[data-afg-hero] :is(h1, h2) {
		margin: 0;
		font-size: 15px;
		line-height: 1.65;
	}

	.afg-hero[data-afg-hero] .afg-hero-copy > p {
		font-size: 12px;
		line-height: 1.75;
	}

	.afg-hero[data-afg-hero] .afg-hero-preview-btn {
		min-height: 44px;
		margin-top: 10px;
		padding: 7px 12px;
	}

	.afg-hero[data-afg-hero] .afg-hero-dots {
		bottom: 10px;
		min-height: 50px;
	}

	.afg-hero[data-afg-hero] .afg-hero-dot {
		width: 44px;
		height: 44px;
	}

	.afg-hero[data-afg-hero] .afg-hero-arrow {
		top: 44%;
		width: 42px;
		height: 42px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.afg-hero[data-afg-hero] .afg-hero-slide,
	.afg-hero[data-afg-hero] .afg-hero-slide__image,
	.afg-hero[data-afg-hero] .afg-hero-copy,
	.afg-hero[data-afg-hero] .afg-hero-dot::before,
	.afg-hero[data-afg-hero] .afg-hero-arrow {
		transition: none !important;
	}
}
