/* ---------------------------------------------------------------
   Nimblemindz — homepage stats strip + map-side stats
   Scoped to the new Elementor elements on page 7534.
   --------------------------------------------------------------- */

/* Stats strip ---------------------------------------------------- */
.nm-stats {
	width: 100%;
	background-color: #f8fafc;
}

.nm-stats-grid {
	width: min(1140px, calc(100% - 48px));
	max-width: 1140px;
	margin-inline: auto;
}

.nm-stat {
	min-width: 0;
}

.nm-stat .elementor-heading-title {
	margin: 0;
}

.nm-stat-number .elementor-heading-title {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.nm-stat-label .elementor-heading-title {
	text-wrap: balance;
}

/* Dividers: vertical only on the four-column desktop row. */
@media (min-width: 1025px) {
	.nm-stat + .nm-stat {
		border-left: 1px solid #e6ebf2;
	}
}

/* Tablet / mobile: 2 x 2 with an internal cross divider. */
@media (max-width: 1024px) {
	.nm-stat {
		border-left: 0 !important;
		border-top: 0 !important;
	}

	.nm-stat:nth-child(2n) {
		border-left: 1px solid #e6ebf2 !important;
	}

	.nm-stat:nth-child(n + 3) {
		border-top: 1px solid #e6ebf2 !important;
	}
}

/* Map-side stats ------------------------------------------------- */

/* The "product title + map" containers are flex columns. The map widget
   sizes itself with a percentage padding (aspect-ratio box), so its
   intrinsic minimum height resolves to 0 and flex shrinks the widget away.
   The map then overflows its box and covers the stats underneath it.
   Block flow keeps the map at its natural height so the stats can sit
   below it. */
.elementor-element-045eba6,
.elementor-element-85d8282 {
	display: block !important;
}

@supports selector(:has(*)) {
	.elementor-element-39825f9 .e-con:has(> .elementor-widget-shortcode) {
		display: block !important;
	}
}

.nm-map-stats {
	width: 100%;
}

.nm-map-stat {
	min-width: 0;
}

.nm-map-stat .elementor-heading-title {
	margin: 0;
}

.nm-map-stat .nm-stat-number .elementor-heading-title {
	font-variant-numeric: tabular-nums;
	white-space: nowrap;
}

.nm-map-stat .nm-stat-label .elementor-heading-title {
	text-wrap: balance;
}

/* Keep the 2000+ figure from crowding its label on narrow columns. */
@media (max-width: 767px) {
	.nm-map-stat .nm-stat-number .elementor-heading-title {
		font-size: 18px;
	}
}
