/* 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: var(--ehf-r-lg, 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(10, 14, 18, 0) 52%, rgba(10, 14, 18, 0.72) 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__plate .ehf-cities__plate-meta {
	font-style: normal;
}

.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: var(--ehf-shadow-1, 0 1px 2px rgba(17, 24, 39, 0.06));
	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: 1024px) {
	.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;
	}
}

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

/* ---- 1.4.0 extensions: map media + media-right layout. Defaults (photo plate, media left) are unchanged. ---- */
.ehf-cities__also {
	margin: 0;
	font-family: var(--ehf-ff-body, "Nunito Sans", sans-serif);
	font-size: var(--ehf-fs-small, 15px);
	line-height: 1.5;
	color: var(--ehf-c-body, #5c6570);
	max-width: 46em;
}

.ehf-cities--media-right {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: var(--ehf-s-5, 48px);
	align-items: center;
	/* Root placement (1.4.0 builder pages): own section padding and the 1200 container edge, like card_grid. */
	box-sizing: border-box;
	padding-block: var(--ehf-pad-section, 4rem);
	padding-inline: max(var(--ehf-gutter, 16px), calc((100% - var(--ehf-container, 1200px)) / 2 + var(--ehf-gutter, 24px))); /* 1.4.1 M1: content edge 144 at 1440 */
	background: var(--ehf-c-surface, #ffffff);
}

.ehf-cities__map {
	position: relative;
	margin: 0;
	min-height: 320px;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	border-radius: var(--ehf-r-lg, 16px);
	background: var(--ehf-c-tint-100, #eaf4f9);
	box-shadow: var(--ehf-shadow-1, 0 1px 2px rgba(17, 24, 39, 0.06));
}

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

.ehf-cities__map-label {
	position: absolute;
	top: var(--ehf-s-2, 16px);
	right: var(--ehf-s-2, 16px);
	z-index: 2;
	max-width: calc(100% - 32px);
	padding: 8px 14px;
	border-radius: var(--ehf-r-md, 12px);
	background: rgba(255, 255, 255, 0.94);
	box-shadow: var(--ehf-shadow-1, 0 1px 2px rgba(17, 24, 39, 0.06));
	font-family: var(--ehf-ff-head, "Nunito", sans-serif);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.3;
	font-style: normal;
	color: var(--ehf-c-ink, #111827);
}

.ehf-cities .ehf-cities__map-btn {
	position: absolute;
	left: 50%;
	bottom: var(--ehf-s-3, 24px);
	z-index: 2;
	transform: translateX(-50%);
	min-height: 48px;
	white-space: nowrap;
	box-shadow: var(--ehf-shadow-2, 0 8px 24px rgba(11, 41, 61, 0.1));
}

/* The theme's generic button rules (pink text, transparent fill) beat .ehf-btn--secondary on a <button>. */
.ehf-cities .ehf-cities__map-btn.ehf-btn--secondary,
.ehf-cities .ehf-cities__map-btn.ehf-btn--secondary:visited {
	background: #ffffff;
	border: 1px solid var(--ehf-c-primary, #0b6993);
	color: var(--ehf-c-primary, #0b6993);
}

.ehf-cities .ehf-cities__map-btn.ehf-btn--secondary:hover,
.ehf-cities .ehf-cities__map-btn.ehf-btn--secondary:focus-visible,
.ehf-cities .ehf-cities__map-btn.ehf-btn--secondary:active {
	background: var(--ehf-c-tint-100, #eaf4f9);
	border-color: var(--ehf-c-primary-700, #084f70);
	color: var(--ehf-c-primary-700, #084f70);
}

.ehf-cities .ehf-cities__map-btn[hidden] {
	display: none;
}

.ehf-cities__map-frame {
	position: absolute;
	inset: 0;
	z-index: 1;
	width: 100%;
	height: 100%;
	border: 0;
}

.ehf-cities__map.is-loaded .ehf-cities__map-img {
	visibility: hidden;
}

/* Chips on map layouts: 44px tap height on touch widths */
@media (max-width: 767px) {
	.ehf-cities--map .ehf-cities__chip {
		min-height: 44px;
		padding-block: 10px;
	}

	.ehf-cities__map {
		min-height: 0;
		aspect-ratio: 4 / 3;
	}
}

@media (max-width: 1024px) {
	.ehf-cities--media-right {
		grid-template-columns: 1fr;
		gap: var(--ehf-s-4, 32px);
	}
}

/* 1.4.1 N6: the section already sits between the hero, band and action-bar CTAs; the legacy pill is hidden here */
.ehf-cities--media-right .ehf-cities__cta {
	display: none;
}

/* 1.4.4 (F1-14): beat the theme's figcaption italic. */
.ehf-cities figcaption.ehf-cities__map-label {
	font-style: normal;
}
