.trc-routes-map {
	--trc-routes-map-height: 650px;
	position: relative;
	width: 100%;
}

.trc-routes-map__canvas {
	width: 100%;
	height: var(--trc-routes-map-height);
	min-height: 320px;
	border-radius: 18px;
	overflow: hidden;
	background: #eef2ef;
	box-shadow: 0 12px 34px rgba(23, 57, 47, 0.10);
}

.trc-routes-map__canvas:focus-visible {
	outline: 3px solid rgba(182, 107, 50, 0.45);
	outline-offset: 3px;
}

.trc-routes-map__status {
	margin: 12px 0 0;
	font-size: 0.95rem;
	color: #51605b;
}

.trc-routes-map__status.is-error {
	color: #9a3f32;
}

.trc-routes-map .leaflet-control-attribution {
	font-size: 10px;
}

.trc-routes-map-popup {
	min-width: 210px;
	font-family: inherit;
}

.trc-routes-map-popup__title {
	display: block;
	margin: 0 0 10px;
	font-size: 1rem;
	line-height: 1.3;
	color: #17392f;
}

.trc-routes-map-popup__stats {
	display: grid;
	gap: 6px;
	margin: 0 0 12px;
}

.trc-routes-map-popup__stat {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 14px;
	border-bottom: 1px solid rgba(23, 57, 47, 0.10);
	padding-bottom: 4px;
}

.trc-routes-map-popup__label {
	font-size: 0.78rem;
	color: #6b7773;
}

.trc-routes-map-popup__value {
	font-size: 0.82rem;
	font-weight: 700;
	text-align: right;
	color: #263a33;
}

.trc-routes-map-popup__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	border-radius: 999px;
	background: #17392f;
	color: #fff !important;
	font-size: 0.82rem;
	font-weight: 700;
	text-decoration: none !important;
}

.trc-routes-map-popup__link:hover,
.trc-routes-map-popup__link:focus {
	background: #244f43;
	color: #fff !important;
}

@media (max-width: 767px) {
	.trc-routes-map {
		--trc-routes-map-height: 500px;
	}

	.trc-routes-map__canvas {
		border-radius: 14px;
	}
}
