/**
 * Heading Band — Frame 16
 * Sizing, colors, and typography are controlled in Elementor (not hardcoded here).
 */

.elementor-column > .elementor-element-populated:has(.elementor-widget-agency-heading-band) {
	padding: 0 !important;
}

.e-con:has(.elementor-widget-agency-heading-band) {
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
}

.aew-heading-band {
	--aew-heading-band-bg: transparent;
	position: relative;
	isolation: isolate;
	width: 100%;
	box-sizing: border-box;
}

.aew-heading-band::before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	max-width: 100vw;
	transform: translateX(-50%);
	background-color: var(--aew-heading-band-bg);
	z-index: -1;
	pointer-events: none;
}

.aew-heading-band__inner {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	margin: 0 auto;
	box-sizing: border-box;
}

.aew-heading-band__content {
	display: flex;
	flex-direction: column;
	/* Content alignment — driven by the "Content alignment" control via
	   --aew-hb-align (start | center | end), valid for both align-items and
	   text-align. Defaults to center. */
	align-items: var(--aew-hb-align, center);
	justify-content: center;
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
	text-align: var(--aew-hb-align, center);
}

.aew-heading-band__eyebrow {
	margin: 0 0 16px;
	width: 100%;
	font-family: var(--aew-font-body, Poppins, sans-serif);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.3;
	text-transform: uppercase;
	color: var(--aew-color-blue, #305b83);
	text-align: var(--aew-hb-align, center);
}

.aew-heading-band__title {
	margin: 0;
	width: 100%;
	white-space: pre-line;
}

.aew-heading-band__paragraphs {
	display: flex;
	flex-direction: column;
	align-items: var(--aew-hb-align, center);
	/* gap + margin-top owned by the "Gap between paragraphs" / "Space above
	   paragraphs" controls (defaults 16 / 24). */
	gap: 16px;
	width: 100%;
	margin: 24px auto 0;
}

.aew-heading-band__paragraph {
	margin: 0;
	width: 100%;
	font-family: var(--aew-font-body, Poppins, sans-serif);
	font-size: 18px;
	font-weight: 400;
	line-height: 1.5;
	color: var(--aew-color-blue-dark, #252f37);
	text-align: var(--aew-hb-align, center);
}

.aew-heading-band__paragraph strong {
	font-weight: 700;
}

.aew-heading-band__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin: 24px 0 0;
	padding: 16px 24px;
	border: 0;
	border-radius: 8px;
	background-color: var(--aew-color-yellow, #ebc543);
	color: var(--aew-color-blue-dark, #252f37);
	font-family: var(--aew-font-body, Poppins, sans-serif);
	font-size: 18px;
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: opacity 0.2s ease;
}

.aew-heading-band__button:hover,
.aew-heading-band__button:focus-visible {
	opacity: 0.9;
	text-decoration: none;
}

/* Footnote — small line under the button. */
.aew-heading-band__footnote {
	margin: 16px 0 0;
	font-family: var(--aew-font-body, Poppins, sans-serif);
	font-size: 15px;
	font-weight: 700;
	line-height: 1.4;
	color: #252f37;
}

@media (max-width: 1023px) {
	.aew-heading-band__paragraph {
		font-size: 14px;
	}
}
