.amc-office-map,
.amc-office-map * {
	box-sizing: border-box;
}

.amc-office-map {
	--amc-office-blue: #436c8a;
	--amc-office-blue-dark: #31566f;
	--amc-office-ink: #15212a;
	--amc-office-paper: #fbfcfd;
	position: relative;
	width: 100%;
	margin: 0;
	background: var(--amc-office-paper);
}

.amc-office-map__canvas {
	width: 100%;
	height: var(--amc-office-map-height, 500px);
	min-height: 360px;
	background: #e7eef3;
	z-index: 1;
}

.amc-office-map__fallback {
	display: grid;
	gap: 6px;
	padding: 18px;
	background: var(--amc-office-blue);
	color: var(--amc-office-paper);
}

.amc-office-map .leaflet-container {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui, sans-serif;
}

.amc-office-map .leaflet-control-zoom {
	overflow: hidden;
	border: 1px solid rgba(67, 108, 138, .28);
	border-radius: 8px;
	box-shadow: 0 14px 34px rgba(21, 33, 42, .16);
}

.amc-office-map .leaflet-control-zoom a {
	width: 36px;
	height: 36px;
	border: 0;
	background: var(--amc-office-paper);
	color: var(--amc-office-blue);
	font-weight: 900;
	line-height: 36px;
}

.amc-office-map .leaflet-control-zoom a:hover,
.amc-office-map .leaflet-control-zoom a:focus {
	background: var(--amc-office-blue);
	color: var(--amc-office-paper);
}

.amc-office-map__marker {
	position: relative;
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	border: 3px solid rgba(251, 252, 253, .98);
	border-radius: 50% 50% 50% 11px;
	background: var(--amc-office-blue);
	box-shadow: 0 18px 42px rgba(21, 33, 42, .24);
	transform: rotate(-45deg);
}

.amc-office-map__marker::after {
	content: "";
	position: absolute;
	inset: 8px;
	border-radius: 999px;
	background: rgba(251, 252, 253, .96);
	box-shadow: inset 0 0 0 1px rgba(67, 108, 138, .14);
}

.amc-office-map__marker-media {
	position: relative;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	transform: rotate(45deg);
}

.amc-office-map__marker-media img {
	display: block;
	max-width: 38px;
	max-height: 38px;
}

.amc-office-map__marker-media span {
	color: var(--amc-office-blue);
	font-size: 12px;
	font-weight: 900;
	line-height: 1;
}

.amc-office-map .leaflet-popup-content-wrapper {
	border-radius: 8px;
	box-shadow: 0 20px 52px rgba(21, 33, 42, .22);
}

.amc-office-map .leaflet-popup-content {
	min-width: 230px;
	margin: 17px;
	color: var(--amc-office-ink);
}

.amc-office-map__popup h3 {
	margin: 0 0 6px;
	color: var(--amc-office-ink);
	font-size: 18px;
	line-height: 1.25;
}

.amc-office-map__popup strong {
	display: inline-flex;
	margin-bottom: 8px;
	padding: 4px 9px;
	border-radius: 999px;
	background: rgba(67, 108, 138, .12);
	color: var(--amc-office-blue-dark);
	font-size: 12px;
	font-weight: 900;
	line-height: 1.2;
}

.amc-office-map__popup p {
	margin: 0;
	color: #536571;
	font-size: 13px;
	line-height: 1.55;
}

@media (max-width: 700px) {
	.amc-office-map__canvas {
		height: min(var(--amc-office-map-height, 500px), 420px);
		min-height: 340px;
	}

	.amc-office-map__marker {
		width: 56px;
		height: 56px;
	}

	.amc-office-map__marker-media {
		width: 34px;
		height: 34px;
	}
}
