/*
 * Hero CTA (inc/integration/acf/hero-cta.php).
 * Only loaded on pages where "Show Hero CTA" is on.
 */

/* Centered layout: title + CTA stack in the middle of the hero. */
.has-hero-cta .page-hero-section-wrap .page-title-wrapper {
	position: relative;
	bottom: auto;
	left: auto;
	padding: 200px 0 100px;
	text-align: center;
}

.has-hero-cta .page-hero-section-wrap .page-title-container {
	max-width: 900px;
}

.hero-cta {
	max-width: 640px;
	margin: 28px auto 0;
	text-align: center;
}

.hero-cta__text {
	margin: 0 0 32px;
	font-size: 19px;
	line-height: 1.6;
	color: #333;
}

.hero-cta__btn {
	display: inline-block;
	min-width: 280px;
	padding: 18px 36px;
	background-color: #ff7031;
	color: #fff !important;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	text-decoration: none !important;
	transition: background-color .2s ease, transform .2s ease;
}

.hero-cta__btn:hover,
.hero-cta__btn:focus-visible {
	background-color: #244894;
	transform: translateY(-2px);
}

.hero-cta__secondary {
	margin: 24px 0 0;
	font-size: 15px;
	color: #333;
}

.hero-cta__label {
	margin-right: 10px;
}

.hero-cta__secondary a {
	color: #ff7031;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .03em;
	text-decoration: none;
	white-space: nowrap;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	vertical-align: middle;
}

.hero-cta__arrow {
	flex-shrink: 0;
	transition: transform .2s ease;
}

.hero-cta__secondary a:hover .hero-cta__arrow,
.hero-cta__secondary a:focus-visible .hero-cta__arrow {
	transform: translateX(3px);
}

.hero-cta__secondary a:hover,
.hero-cta__secondary a:focus-visible {
	color: #244894;
}

.hero-cta__badges {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	row-gap: 4px;
	max-width: 100%;
	margin: 32px 0 0;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	color: #244894;
}

.hero-cta__badge {
	white-space: nowrap;
}

.hero-cta__dot {
	margin: 0 8px;
	color: #ff7031;
}

/* Image header (style 2): white text on the dark photo, like the screenshot. */
.has-hero-cta .hero-section__style2 .hero-cta__text,
.has-hero-cta .hero-section__style2 .hero-cta__secondary {
	color: #fff;
}

.has-hero-cta .hero-section__style2 .hero-cta__badges {
	color: #ff7031;
}

@media (max-width: 991px) {
	.has-hero-cta .page-hero-section-wrap .page-title-wrapper {
		padding: 170px 0 70px;
	}
}

@media (max-width: 767px) {
	.has-hero-cta .page-hero-section-wrap .page-title-wrapper {
		padding: 130px 0 50px;
	}

	.hero-cta__text {
		font-size: 16px;
		margin-bottom: 24px;
	}

	.hero-cta__btn {
		display: block;
		min-width: 0;
		padding: 16px 20px;
	}

	.hero-cta__label {
		display: block;
		margin: 0 0 6px;
	}

	.hero-cta__badges {
		font-size: 12px;
		letter-spacing: .06em;
		line-height: 1.9;
	}
}
