/**
 * HTG CTA Band
 */

.htg-cta-band {
	position: relative;
	overflow: hidden;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	padding: 78px var(--container-pad-x) 64px;
	color: var(--c-white);
}

.htg-cta-band--navy { background: var(--c-navy); }
.htg-cta-band--black { background: var(--c-ink); }
.htg-cta-band--red { background: var(--c-red); }
.htg-cta-band--light-grey { background: #f1f1f1; color: var(--c-ink); }
.htg-cta-band--white { background: var(--c-white); color: var(--c-ink); }

.htg-cta-band__background,
.htg-cta-band__overlay {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.htg-cta-band__background {
	z-index: 0;
}

.htg-cta-band__background svg {
	display: block;
	width: 100%;
	height: 100%;
}

.htg-cta-band__overlay {
	z-index: 1;
	background: var(--c-navy);
}

.htg-cta-band__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 18px;
	max-width: 1260px;
	margin-inline: auto;
}

.htg-cta-band__heading {
	margin: 0;
	font-size: clamp(42px, 4.4vw, 64px);
	line-height: 1.08;
	max-width: 100%;
}

.htg-cta-band__subhead {
	max-width: 680px;
	margin: 0;
	font-family: var(--ff-serif);
	font-size: 24px;
	line-height: 32px;
	color: currentColor;
	opacity: 0.82;
}

.htg-cta-band__button {
	margin-top: 4px;
	min-height: 56px;
}

.htg-cta-band__button-arrow {
	display: inline-block;
	transition: transform var(--dur-base) var(--ease-out);
}

.htg-cta-band__button:hover .htg-cta-band__button-arrow,
.htg-cta-band__button:focus-visible .htg-cta-band__button-arrow {
	transform: translateX(4px);
}

@media (max-width: 760px) {
	.htg-cta-band {
		padding: 56px 24px;
	}

	.htg-cta-band__inner {
		gap: 16px;
	}

	.htg-cta-band__heading {
		max-width: 342px;
		font-size: 40px;
		line-height: 44px;
	}

	.htg-cta-band__heading .hl-headline__text {
		max-width: 100%;
		overflow-wrap: anywhere;
	}

	.htg-cta-band__subhead {
		max-width: 342px;
		font-size: 20px;
		line-height: 28px;
	}

	.htg-cta-band__button {
		width: 100%;
		min-height: 56px;
		justify-content: center;
	}
}

@media (max-width: 390px) {
	.htg-cta-band__heading {
		font-size: 36px;
		line-height: 40px;
	}
}

.editor-styles-wrapper .htg-cta-band {
	width: 100%;
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}
