/* Everest Custom Elements — cities-served.css
   Single-market coverage board: hub plate + pin chips. No JS. */

.ehf-cities {
	display: grid;
	grid-template-columns: minmax(260px, 0.92fr) minmax(0, 1.2fr);
	gap: 48px;
	align-items: center;
	width: 100%;
}

.ehf-cities__plate {
	position: relative;
	margin: 0;
	border-radius: 16px;
	overflow: hidden;
	min-height: 420px;
	aspect-ratio: 4 / 5;
	background: linear-gradient(160deg, #0b6993 0%, #084f70 55%, #063a52 100%);
	box-shadow: 0 18px 40px rgba(11, 105, 147, 0.18);
}

.ehf-cities .ehf-cities__photo {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100% !important;
	object-fit: cover;
	object-position: center;
}

.ehf-cities__photo--fallback {
	min-height: 420px;
}

.ehf-cities__plate::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(6, 58, 82, 0.05) 30%, rgba(6, 58, 82, 0.78) 100%);
	pointer-events: none;
}

.ehf-cities__plate-meta {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
	padding: 24px;
	color: #ffffff;
}

.ehf-cities__kicker {
	margin: 0 0 4px;
	font-family: "Nunito Sans", sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #eaf6fc;
}

.ehf-cities__plate-name {
	margin: 0;
	font-family: "Nunito", sans-serif;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: #ffffff;
}

.ehf-cities__plate-count {
	margin: 8px 0 0;
	font-family: "Nunito Sans", sans-serif;
	font-size: 14px;
	font-weight: 600;
	color: #eaf6fc;
}

.ehf-cities__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	min-width: 0;
}

.ehf-cities__eyebrow {
	margin: 0;
	font-family: "Nunito Sans", sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #0b6993;
}

.ehf-cities__heading {
	margin: 0;
	font-family: "Nunito", sans-serif;
	font-size: 32px;
	font-weight: 700;
	line-height: 1.2;
	color: #111827;
}

.ehf-cities__lede {
	margin: 0;
	font-family: "Nunito Sans", sans-serif;
	font-size: 16px;
	line-height: 1.55;
	color: #5c6570;
	max-width: 46em;
}

.ehf-cities__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	list-style: none;
	margin: 8px 0 0;
	padding: 0;
	width: 100%;
}

.ehf-cities__chip {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: #ffffff;
	color: #111827;
	border: 1px solid #eef1f3;
	border-radius: 999px;
	padding: 8px 14px;
	font-family: "Nunito Sans", sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.3;
	box-shadow: 0 1px 2px rgba(17, 24, 39, 0.04);
	max-width: 100%;
}

.ehf-cities__chip span {
	overflow-wrap: anywhere;
}

.ehf-cities__chip svg {
	width: 12px;
	height: 12px;
	flex-shrink: 0;
	fill: #0b6993;
}

.ehf-cities__chip--hub {
	background: #0b6993;
	border-color: #0b6993;
	color: #ffffff;
	box-shadow: 0 6px 16px rgba(11, 105, 147, 0.28);
}

.ehf-cities__chip--hub svg {
	fill: #ffffff;
}

.ehf-cities__cta {
	margin-top: 8px;
}

@media (max-width: 900px) {
	.ehf-cities {
		grid-template-columns: 1fr;
		gap: 32px;
	}

	.ehf-cities__plate {
		min-height: 0;
		aspect-ratio: 16 / 10;
	}

	.ehf-cities__heading {
		font-size: 26px;
	}

	.ehf-cities__plate-name {
		font-size: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ehf-cities * {
		transition-duration: 0.001ms !important;
	}
}
