/* 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: 12px;
	overflow: hidden;
}

.ehf-service-area__region > summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 18px 24px;
	background: #f4f6f8;
	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: #f4f6f8;
	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;
	}
}
