/* Everest Custom Elements — service-area.css
   Native <details> accordion of regions + city chips. No JS. */

.ehf-service-area {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.ehf-service-area__region {
	background: #ffffff;
	border: 1px solid #eef1f3;
	border-radius: var(--ehf-r-md, 12px);
	overflow: hidden;
}

.ehf-service-area__region > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 24px;
	background: var(--ehf-c-tint-50, #f4f8fa);
	cursor: pointer;
	list-style: none;
	transition: background 0.15s ease;
}

.ehf-service-area__region > summary::-webkit-details-marker {
	display: none;
}

.ehf-service-area__region > summary::after {
	content: "";
	flex-shrink: 0;
	width: 8px;
	height: 8px;
	margin-top: -4px;
	border-right: 2px solid #0b6993;
	border-bottom: 2px solid #0b6993;
	transform: rotate(45deg);
	transition: transform 0.15s ease;
}

.ehf-service-area__region[open] > summary::after {
	margin-top: 2px;
	transform: rotate(-135deg);
}

.ehf-service-area__region > summary:hover {
	background: #eaf4f9;
}

.ehf-service-area__region > summary:focus-visible {
	outline: 2px solid #0b6993;
	outline-offset: 2px;
}

.ehf-service-area__heading {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.ehf-service-area__title {
	font-family: "Nunito", sans-serif;
	font-size: 18px;
	font-weight: 700;
	line-height: 1.3;
	color: #111827;
	text-decoration: none;
}

a.ehf-service-area__title:hover,
a.ehf-service-area__title:focus-visible {
	color: #0b6993;
}

a.ehf-service-area__title:focus-visible {
	outline: 2px solid #0b6993;
	outline-offset: 2px;
	border-radius: 4px;
}

.ehf-service-area__note {
	font-family: "Nunito Sans", sans-serif;
	font-size: 14px;
	line-height: 1.45;
	color: #5c6570;
}

.ehf-service-area__cities {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 0;
	padding: 16px 24px 24px;
	background: #ffffff;
}

.ehf-service-area__chip {
	background: var(--ehf-c-tint-50, #f4f8fa);
	color: #111827;
	border-radius: 999px;
	padding: 6px 14px;
	font-family: "Nunito Sans", sans-serif;
	font-size: 14px;
	line-height: 1.4;
}

.ehf-service-area__more a,
.ehf-service-area__more span {
	display: inline-block;
	background: #eaf4f9;
	color: #0b6993;
	border-radius: 999px;
	padding: 6px 14px;
	font-family: "Nunito Sans", sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
}

.ehf-service-area__more a:hover,
.ehf-service-area__more a:focus-visible {
	background: #0b6993;
	color: #ffffff !important;
}

.ehf-service-area__more a:focus-visible {
	outline: 2px solid #0b6993;
	outline-offset: 2px;
}

@media (max-width: 767px) {
	.ehf-service-area__region > summary {
		padding: 16px 18px;
	}

	.ehf-service-area__title {
		font-size: 16px;
	}

	.ehf-service-area__cities {
		padding: 12px 18px 18px;
	}
}

/* ---- Hover lock (moved here from hover.css in 1.4.0: Hello Elementor a:hover{color:#336} reset) ---- */
a.ehf-service-area__title:hover,
a.ehf-service-area__title:focus-visible,
a.ehf-service-area__title:active {
	color: #084f70 !important;
}

.ehf-service-area__more a:hover,
.ehf-service-area__more a:focus-visible,
.ehf-service-area__more a:active {
	color: #ffffff !important;
}

/* ---- 1.4.0: card variant (office cards). The list variant above is unchanged. ---- */
.ehf-service-area--card {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--ehf-gap-grid, 24px);
}

.ehf-service-area--card.ehf-service-area--cols-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ehf-service-area__card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	overflow: hidden;
	background: var(--ehf-c-surface, #ffffff);
	border: var(--ehf-border, 1px solid #e5e7eb);
	border-radius: var(--ehf-r-lg, 16px);
	box-shadow: var(--ehf-shadow-1, 0 1px 2px rgba(17, 24, 39, 0.06));
}

.ehf-service-area__photo {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--ehf-c-tint-100, #eaf4f9);
}

.ehf-service-area .ehf-service-area__img {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ehf-service-area__card-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 10px;
	padding: var(--ehf-s-3, 24px);
}

.ehf-service-area__card-title {
	margin: 0;
	font-family: var(--ehf-ff-head, "Nunito", sans-serif);
	font-size: var(--ehf-fs-h3, 20px);
	font-weight: 700;
	line-height: 1.3;
	color: var(--ehf-c-ink, #111827);
}

.ehf-service-area__card-title a,
.ehf-service-area__card-title a:link,
.ehf-service-area__card-title a:visited {
	color: var(--ehf-c-ink, #111827);
	text-decoration: none;
}

.ehf-service-area__card-title a:hover,
.ehf-service-area__card-title a:focus-visible {
	color: var(--ehf-c-primary-700, #084f70) !important;
	text-decoration: underline;
}

.ehf-service-area__address {
	margin: 0;
	font-family: var(--ehf-ff-body, "Nunito Sans", sans-serif);
	font-size: var(--ehf-fs-small, 14px);
	font-style: normal;
	line-height: 1.5;
	color: var(--ehf-c-body, #5c6570);
}

.ehf-service-area__contact {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ehf-service-area__contact a,
.ehf-service-area__contact a:link,
.ehf-service-area__contact a:visited {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 32px;
	font-family: var(--ehf-ff-head, "Nunito", sans-serif);
	font-size: 15px;
	font-weight: 700;
	color: var(--ehf-c-primary, #0b6993);
	text-decoration: none;
	overflow-wrap: anywhere;
}

.ehf-service-area__contact a:hover,
.ehf-service-area__contact a:focus-visible {
	color: var(--ehf-c-primary-700, #084f70) !important;
	text-decoration: underline;
}

.ehf-service-area__contact svg {
	width: 16px;
	height: 16px;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.ehf-service-area__communities summary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 32px;
	cursor: pointer;
	font-family: var(--ehf-ff-body, "Nunito Sans", sans-serif);
	font-size: var(--ehf-fs-small, 14px);
	font-weight: 600;
	color: var(--ehf-c-body, #5c6570);
}

.ehf-service-area__communities summary:focus-visible {
	outline: 2px solid var(--ehf-c-primary, #0b6993);
	outline-offset: 2px;
}

.ehf-service-area__communities .ehf-service-area__cities {
	padding: 12px 0 0;
	background: transparent;
}

.ehf-service-area__view,
.ehf-service-area__view:link,
.ehf-service-area__view:visited {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 6px;
	min-height: 44px;
	align-self: flex-start;
}

.ehf-service-area__view:hover,
.ehf-service-area__view:focus-visible {
	color: var(--ehf-c-primary-700, #084f70) !important;
}

.ehf-service-area__view svg {
	width: 16px;
	height: 16px;
	fill: none;
	stroke: currentColor;
	stroke-width: 2;
	stroke-linecap: round;
	stroke-linejoin: round;
}

@media (max-width: 1024px) {
	.ehf-service-area--card,
	.ehf-service-area--card.ehf-service-area--cols-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.ehf-service-area--card,
	.ehf-service-area--card.ehf-service-area--cols-2 {
		grid-template-columns: minmax(0, 1fr);
	}

	.ehf-service-area__card-body {
		padding: var(--ehf-s-2, 16px);
	}

	.ehf-service-area__contact a {
		min-height: 44px;
	}
}

/* ---- 1.4.0: card variant section wrapper (own padding, container, background) ---- */
.ehf-sa-section {
	box-sizing: border-box;
	padding-block: var(--ehf-pad-section);
	background: var(--ehf-c-surface, #ffffff);
}

.ehf-sa-section--bg-tint {
	background: var(--ehf-c-tint-50, #f4f8fa);
}

.ehf-sa-section__inner {
	box-sizing: border-box;
	max-width: var(--ehf-container, 1200px);
	margin-inline: auto;
	padding-inline: var(--ehf-gutter, 24px);
}

.ehf-sa-section__intro {
	display: flex;
	flex-direction: column;
	gap: var(--ehf-s-1, 8px);
	max-width: var(--ehf-container-narrow, 800px);
	margin-bottom: var(--ehf-s-5, 48px);
	margin-inline: auto;
	text-align: center;
	align-items: center;
}

.ehf-sa-section__eyebrow {
	margin: 0;
	font-size: var(--ehf-fs-eyebrow);
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ehf-c-primary, #0b6993);
}

.ehf-sa-section__heading {
	margin: 0;
	font-family: var(--ehf-ff-head);
	font-size: var(--ehf-fs-h2);
	font-weight: 800;
	line-height: 1.15;
	color: var(--ehf-c-ink, #111827);
	text-wrap: balance;
}

/* 1.4.1 N11: the "N communities" disclosure shows its marker (summary is inline-flex, which hides the native one) */
.ehf-service-area__communities summary {
	list-style: none;
}

.ehf-service-area__communities summary::-webkit-details-marker {
	display: none;
}

.ehf-service-area__communities summary::before {
	content: "";
	flex: 0 0 auto;
	width: 7px;
	height: 7px;
	border-right: 2px solid var(--ehf-c-primary, #0b6993);
	border-bottom: 2px solid var(--ehf-c-primary, #0b6993);
	transform: rotate(-45deg);
	transition: transform var(--ehf-dur, 180ms) var(--ehf-ease, ease);
}

.ehf-service-area__communities[open] > summary::before {
	transform: rotate(45deg);
}

@media (prefers-reduced-motion: reduce) {
	.ehf-service-area__communities summary::before {
		transition: none;
	}
}
