/* Regional feedback and the shared newsletter use the site's navy/teal palette. */
.ea-regions-view .site .site-content #primary.ea-regions-page { padding-bottom: 64px; }

.ea-regions-directory > .ea-regions-directory-intro:last-child {
	margin: 28px 0 0;
}

.ea-regions-directory > .ea-regions-directory-intro > a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 13px 22px;
	border: 2px solid #1ec3c4;
	border-radius: 3px;
	background: #1ec3c4;
	color: #00164f;
	font: 700 15px/1.4 Barlow, Arial, sans-serif;
	letter-spacing: .05em;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
}

.ea-regions-directory > .ea-regions-directory-intro > a:hover {
	border-color: #00164f;
	background: #00164f;
	color: #fff;
}

/* Scope Elementor overrides to the existing shared newsletter container. */
#xpro-theme-builder-footer .elementor-element-eacta01 {
	background: #eef8f9;
	border-top: 4px solid #1ec3c4;
	--padding-top: 64px;
	--padding-bottom: 64px;
}

#xpro-theme-builder-footer .elementor-element-eactc01 {
	--width: 760px;
	max-width: 100%;
}

#xpro-theme-builder-footer .elementor-element-eactey1 .elementor-heading-title {
	color: #116b73;
}

#xpro-theme-builder-footer .elementor-element-eacth20 .elementor-heading-title {
	color: #00164f;
	font-size: clamp(30px, 4vw, 44px);
	line-height: 1.15;
}

#xpro-theme-builder-footer .elementor-element-eactsb0 {
	color: #52647b;
	font-size: 18px;
	line-height: 1.6;
}

#xpro-theme-builder-footer .elementor-element-eactsb0 p { margin-bottom: 0; }

#xpro-theme-builder-footer .elementor-element-eactfw1 {
	--width: 600px;
	max-width: 100%;
}

#xpro-theme-builder-footer #gform_wrapper_7 {
	--gf-color-primary: #1ec3c4;
	--gf-color-primary-rgb: 30, 195, 196;
	--gf-color-primary-contrast: #00164f;
	--gf-color-primary-darker: #00164f;
	--gf-color-in-ctrl-primary: #116b73;
	--gf-ctrl-btn-radius: 3px;
	--gf-ctrl-radius: 3px;
	font-family: Barlow, Arial, sans-serif;
	margin: 0;
	width: 100%;
	max-width: none;
}

#xpro-theme-builder-footer #gform_7 {
	display: flex;
	align-items: flex-start;
	gap: 12px;
}

#xpro-theme-builder-footer #gform_7 .gform-body { flex: 1; min-width: 0; }
#xpro-theme-builder-footer #gform_7 .gform-footer { flex: none; margin: 0; padding: 0; }

#xpro-theme-builder-footer #input_7_1 {
	width: 100%;
	min-height: 52px;
	padding: 12px 16px;
	border: 1px solid #b8cdd5;
	border-radius: 3px;
	background: #fff;
	color: #00164f;
	box-shadow: none;
	font: 400 17px/1.4 Barlow, Arial, sans-serif;
}

/* The legacy newsletter placeholder rule uses !important. */
#xpro-theme-builder-footer #input_7_1::placeholder { color: #63748a !important; opacity: 1; }

#xpro-theme-builder-footer #gform_submit_button_7 {
	min-height: 52px;
	padding: 12px 24px;
	border: 2px solid #1ec3c4;
	border-radius: 3px;
	background: #1ec3c4;
	color: #00164f;
	box-shadow: none;
	font: 700 15px/1.4 Barlow, Arial, sans-serif;
	letter-spacing: .05em;
	text-transform: uppercase;
	cursor: pointer;
}

#xpro-theme-builder-footer #gform_submit_button_7:hover {
	border-color: #00164f;
	background: #00164f;
	color: #fff;
}

.ea-regions-directory > .ea-regions-directory-intro > a:focus-visible,
#xpro-theme-builder-footer #input_7_1:focus-visible,
#xpro-theme-builder-footer #gform_submit_button_7:focus-visible {
	outline: 3px solid #116b73;
	outline-offset: 3px;
}

@media (max-width: 600px) {
	#xpro-theme-builder-footer .elementor-element-eacta01 {
		--padding-top: 44px;
		--padding-bottom: 44px;
	}
	#xpro-theme-builder-footer #gform_7 { flex-direction: column; }
	#xpro-theme-builder-footer #gform_7 .gform-body { width: 100%; }
	/* The existing footer sets width:auto !important. */
	#xpro-theme-builder-footer #gform_7 .gform-footer { width: 100% !important; }
	#xpro-theme-builder-footer #gform_submit_button_7 { width: 100% !important; max-width: none; }
}
