/* ── Map canvas ─────────────────────────────────────────── */

.uk-map-wrap {
	position: relative;
}

.uk-map-canvas {
	position: relative;
	display: inline-block;
	width: 100%;
}

.uk-map-svg {
	display: block;
	width: 100%;
	height: auto;
}

/* ── Pins ───────────────────────────────────────────────── */

.uk-map-pin {
	position: absolute;
	transform: translate(-50%, -100%);
	width: 17px;
	height: 25px;
	padding: 0;
	border: none;
	background: transparent;
	cursor: pointer;
	z-index: 2;
	filter: drop-shadow(0 2px 4px rgba(0,0,0,.35));
	transition: transform .2s ease, filter .2s ease;
}

.uk-map-pin__svg {
	display: block;
	width: 100%;
	height: 100%;
}

.uk-map-pin:hover,
.uk-map-pin:focus {
	transform: translate(-50%, -100%) scale(1.25);
	filter: drop-shadow(0 3px 6px rgba(0,0,0,.45));
}

.uk-map-pin:focus {
	outline: none;
}

.uk-map-pin:focus-visible {
	filter: drop-shadow(0 0 4px rgba(78, 94, 115, .8));
}

/* ── Overlay ────────────────────────────────────────────── */

.uk-map-overlay {
	position: fixed;
	inset: 0;
	background: rgba(0,0,0,.5);
	z-index: 100;
}

/* ── Modal ──────────────────────────────────────────────── */

.uk-map-modal {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 101;
	width: 90%;
	max-width: 1060px;
}

.uk-map-modal__inner {
	background: #4E5E73;
	overflow: hidden;
	position: relative;
	display: flex;
	align-items: stretch;
	color: #fff;
}

.uk-map-modal__map-image {
	flex: 0 0 42%;
	padding: 28px 0 28px 28px;
	display: flex;
	align-items: stretch;
}

.uk-map-modal__map-image img {
	display: block;
	width: 100%;
	object-fit: cover;
}

.uk-map-modal__content {
	flex: 1;
	padding: 36px 40px 36px 36px;
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.uk-map-modal__close {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 28px;
	height: 28px;
	padding: 4px;
	border: none;
	background: transparent;
	cursor: pointer;
	color: rgba(255,255,255,.6);
	transition: background .15s, color .15s;
}

.uk-map-modal__close:hover {
	background: rgba(255,255,255,.1);
	color: #fff;
}

.uk-map-modal__close svg {
	display: block;
	width: 100%;
	height: 100%;
}

.uk-map-modal__title {
	margin: 0 0 14px;
	font-size: 20px;
	font-weight: bold;
	color: #fff;
}

.uk-map-modal__body {
	font-size: 15px;
	line-height: 1.7;
	color: rgba(255,255,255,.9);
}

.uk-map-modal__body p:last-child {
	margin-bottom: 0;
}

.uk-map-modal__detail {
	margin: 0 0 4px;
	padding-left: 0;
}

.uk-map-modal__detail::before {
	display: none;
}

.uk-map-modal__detail a {
	color: rgba(255,255,255,.9);
	text-decoration: none;
}

.uk-map-modal__detail a:hover {
	opacity: .75;
}

.uk-map-modal__detail--maps {
	margin-top: 10px;
}

.uk-map-modal__detail--maps a {
	font-size: 14px;
	color: rgba(255,255,255,.85);
	text-decoration: underline;
	text-underline-offset: 2px;
}

.uk-map-modal__notes {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid rgba(255,255,255,.2);
	font-size: 14px;
	color: rgba(255,255,255,.7);
}

.uk-map-modal__notes p:last-child {
	margin-bottom: 0;
}

/* ── Responsive ─────────────────────────────────────────── */

@media screen and (max-width: 768px) {

	.uk-map-modal {
		inset: 0;
		transform: none;
		width: 100%;
		max-width: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
		font-size: 14px;
	}

	.uk-map-modal[hidden] {
		display: none;
	}

	.uk-map-modal__inner {
		width: 100%;
		flex-direction: column;
	}

	.uk-map-modal__map-image {
		flex: initial;
		padding: 0;
	}

	.uk-map-modal__body * {
		font-size: 14px;
	}

	.uk-map-modal__content {
		padding: 40px 24px 40px;
	}

}
