.zb-place-map,
.zb-place-map * {
	box-sizing: border-box;
}

.zb-place-map {
	--zb-map-forest: #173f30;
	--zb-map-gold: #bd8a36;
	--zb-map-ink: #20231f;
	--zb-map-muted: #666a65;
	--zb-map-border: #e6e1d8;
	--zb-map-surface: #ffffff;
	width: 100%;
	min-width: 0;
	color: var(--zb-map-ink);
}

.zb-place-map__toolbar {
	margin-bottom: 12px;
}

.zb-place-map .zb-place-map__count {
	margin: 0;
	padding: 0;
	color: var(--zb-map-muted);
	font-size: 0.875rem;
	font-weight: 600;
	line-height: 1.4;
}

.zb-place-map .zb-place-map__place:focus-visible {
	outline: 3px solid rgba(189, 138, 54, 0.45);
	outline-offset: 2px;
}

.zb-place-map__layout {
	display: grid;
	grid-template-columns: minmax(260px, 320px) minmax(0, 1fr);
	gap: 14px;
	align-items: stretch;
	min-width: 0;
}

.zb-place-map .zb-place-map__list {
	display: flex;
	height: 560px;
	min-width: 0;
	overflow-x: hidden;
	overflow-y: auto;
	margin: 0 !important;
	padding: 0 6px 0 0 !important;
	flex-direction: column;
	gap: 8px;
	list-style: none !important;
	scrollbar-color: #c8cec9 transparent;
	scrollbar-width: thin;
}

.zb-place-map .zb-place-map__list-item {
	display: block;
	min-width: 0;
	margin: 0;
	padding: 0;
	list-style: none !important;
}

.zb-place-map .zb-place-map__list-item::marker {
	content: "" !important;
	font-size: 0;
}

.zb-place-map .zb-place-map__place {
	display: grid;
	grid-template-columns: 76px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
	width: 100%;
	min-height: 84px;
	margin: 0;
	padding: 4px;
	color: inherit;
	background: var(--zb-map-surface);
	border: 1px solid var(--zb-map-border);
	border-radius: 6px;
	box-shadow: 0 2px 9px rgba(32, 35, 31, 0.045);
	cursor: pointer;
	font: inherit;
	letter-spacing: 0;
	text-align: left;
	transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.zb-place-map .zb-place-map__place:hover {
	color: inherit;
	border-color: #d3c8b6;
	box-shadow: 0 6px 16px rgba(32, 35, 31, 0.08);
	transform: translateY(-1px);
}

.zb-place-map .zb-place-map__place.is-active {
	background: #f4f6f2;
	border-color: var(--zb-map-forest);
	box-shadow: inset 3px 0 0 var(--zb-map-gold);
}

.zb-place-map__place-image,
.zb-place-map__place-image-placeholder {
	display: block;
	width: 76px;
	height: 76px;
	margin: 0;
	object-fit: cover;
	background: #edf0eb;
	border-radius: 4px;
}

.zb-place-map__place-content {
	display: block;
	min-width: 0;
	padding-right: 8px;
}

.zb-place-map__place-title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 0.9375rem;
	font-weight: 700;
	line-height: 1.35;
	letter-spacing: 0;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.zb-place-map__place-location {
	display: flex;
	min-width: 0;
	align-items: center;
	gap: 4px;
	margin-top: 7px;
	color: var(--zb-map-muted);
	font-size: 0.8125rem;
	line-height: 1.35;
}

.zb-place-map__place-location > span:last-child {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.zb-place-map__place-location .dashicons {
	width: 15px;
	height: 15px;
	flex: 0 0 15px;
	font-size: 15px;
	line-height: 15px;
}

.zb-place-map__viewport,
.zb-place-map__canvas {
	width: 100%;
	min-width: 0;
	height: 560px;
}

.zb-place-map__viewport {
	position: relative;
	overflow: hidden;
	background: #edf0eb;
	border: 1px solid var(--zb-map-border);
	border-radius: 6px;
}

.zb-place-map__canvas {
	z-index: 0;
	background: #edf0eb;
}

.zb-place-map__canvas:focus-visible {
	outline: 3px solid rgba(189, 138, 54, 0.55);
	outline-offset: -3px;
}

.zb-place-map__marker-shell {
	width: 36px !important;
	height: 44px !important;
	background: transparent;
	border: 0;
}

.zb-place-map__marker-pin {
	position: absolute;
	top: 3px;
	left: 3px;
	display: block;
	width: 30px;
	height: 30px;
	background: var(--zb-map-forest);
	border: 3px solid #ffffff;
	border-radius: 50% 50% 50% 0;
	box-shadow: 0 4px 11px rgba(23, 38, 30, 0.32);
	transform: rotate(-45deg);
	transition: background-color 160ms ease, transform 160ms ease;
}

.zb-place-map__marker-pin::after {
	position: absolute;
	top: 8px;
	left: 8px;
	width: 8px;
	height: 8px;
	background: var(--zb-map-gold);
	border-radius: 50%;
	content: "";
}

.zb-place-map__marker-shell.is-active .zb-place-map__marker-pin {
	background: #0f3326;
	transform: rotate(-45deg) scale(1.12);
}

.zb-place-map .leaflet-control-zoom a {
	color: var(--zb-map-forest);
}

.zb-place-map .leaflet-control-attribution {
	font-size: 10px;
}

.zb-place-map .leaflet-popup-content-wrapper {
	overflow: hidden;
	padding: 0;
	border-radius: 6px;
	box-shadow: 0 12px 30px rgba(23, 38, 30, 0.2);
}

.zb-place-map .leaflet-container a.leaflet-popup-close-button {
	position: absolute;
	top: 8px;
	right: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	padding: 0;
	color: #ffffff;
	background: rgba(20, 47, 37, 0.88);
	border: 1px solid rgba(255, 255, 255, 0.92);
	border-radius: 50%;
	box-shadow: 0 2px 9px rgba(0, 0, 0, 0.48);
	font-size: 0;
	line-height: 0;
	text-decoration: none;
}

.zb-place-map .leaflet-container a.leaflet-popup-close-button::before,
.zb-place-map .leaflet-container a.leaflet-popup-close-button::after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 14px;
	height: 2px;
	background: #ffffff;
	border-radius: 1px;
	content: "";
	transform-origin: center;
}

.zb-place-map .leaflet-container a.leaflet-popup-close-button::before {
	transform: translate(-50%, -50%) rotate(45deg);
}

.zb-place-map .leaflet-container a.leaflet-popup-close-button::after {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.zb-place-map .leaflet-container a.leaflet-popup-close-button:hover,
.zb-place-map .leaflet-container a.leaflet-popup-close-button:focus {
	color: #ffffff;
	background: #123b2c;
}

.zb-place-map .leaflet-container a.leaflet-popup-close-button:focus-visible {
	outline: 3px solid rgba(189, 138, 54, 0.82);
	outline-offset: 2px;
}

.zb-place-map .leaflet-popup-content {
	width: 280px !important;
	margin: 0;
}

.zb-place-map__popup {
	margin: 0;
	background: var(--zb-map-surface);
}

.zb-place-map__popup-image {
	display: block;
	width: 100%;
	height: 138px;
	margin: 0;
	object-fit: cover;
}

.zb-place-map__popup-content {
	padding: 16px;
}

.zb-place-map .zb-place-map__popup-title {
	margin: 0 0 7px;
	padding: 0;
	font-size: 1.0625rem;
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: 0;
}

.zb-place-map__popup-description {
	display: -webkit-box;
	overflow: hidden;
	margin: 0 0 10px;
	color: var(--zb-map-muted);
	font-size: 0.875rem;
	line-height: 1.45;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.zb-place-map__popup-location {
	display: block;
	margin-bottom: 13px;
	color: #515650;
	font-size: 0.8125rem;
	line-height: 1.35;
}

.zb-place-map .zb-place-map__popup-link {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 6px 10px;
	color: #ffffff !important;
	background: var(--zb-map-forest);
	border-radius: 4px;
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.25;
	text-decoration: none;
}

.zb-place-map .zb-place-map__popup-link:hover,
.zb-place-map .zb-place-map__popup-link:focus-visible {
	color: #ffffff !important;
	background: #0f3326;
}

.zb-place-map .zb-place-map__popup-link:focus-visible {
	outline: 3px solid rgba(189, 138, 54, 0.55);
	outline-offset: 2px;
}

.zb-place-map__notice {
	margin: 0;
	padding: 14px 16px;
	color: #4c4f4a;
	background: #f6f6f4;
	border-left: 3px solid var(--zb-map-gold);
}

.zb-place-map.has-error .zb-place-map__canvas {
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 24px;
	color: #4c4f4a;
	font-size: 0.9375rem;
	text-align: center;
}

.zb-place-map--start {
	overflow: hidden;
	background: #f7f3e9;
	border: 1px solid #ebe4d6;
}

.zb-place-map--start .zb-place-map__viewport,
.zb-place-map--start .zb-place-map__canvas {
	height: 340px;
}

.zb-place-map--start .zb-place-map__viewport {
	background: #eee8d9;
	border: 0;
	border-radius: 0;
}

.zb-place-map--start .leaflet-tile-pane {
	filter: sepia(0.28) saturate(0.72) brightness(1.08);
}

.zb-place-map--start .leaflet-control-attribution {
	background: rgba(255, 255, 255, 0.82);
}

.zb-place-map--start .zb-place-map__marker-pin {
	background: #124331;
}

.zb-place-map--start .zb-place-map__popup-image {
	height: 104px;
}

.zb-place-map--start .zb-place-map__popup-content {
	padding: 12px 14px 14px;
}

.zb-place-map--single .zb-place-map__viewport,
.zb-place-map--single .zb-place-map__canvas {
	height: 340px;
}

.zb-place-map--single .zb-place-map__viewport {
	border: 0;
	border-radius: 0;
}

@media (max-width: 780px) {
	.zb-place-map__layout {
		grid-template-columns: 1fr;
	}

	.zb-place-map__viewport {
		grid-row: 1;
	}

	.zb-place-map .zb-place-map__list {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		height: auto;
		max-height: none;
		overflow: visible;
		padding-right: 0 !important;
	}

	.zb-place-map__viewport,
	.zb-place-map__canvas {
		height: 460px;
	}

	.zb-place-map--start .zb-place-map__viewport,
	.zb-place-map--start .zb-place-map__canvas,
	.zb-place-map--single .zb-place-map__viewport,
	.zb-place-map--single .zb-place-map__canvas {
		height: 340px;
	}
}

@media (max-width: 520px) {
	.zb-place-map .zb-place-map__list {
		grid-template-columns: 1fr;
	}

	.zb-place-map__viewport,
	.zb-place-map__canvas {
		height: 400px;
	}

	.zb-place-map--start .zb-place-map__viewport,
	.zb-place-map--start .zb-place-map__canvas,
	.zb-place-map--single .zb-place-map__viewport,
	.zb-place-map--single .zb-place-map__canvas {
		height: 340px;
	}

	.zb-place-map .leaflet-popup-content {
		width: 240px !important;
	}

	.zb-place-map__popup-image {
		height: 118px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.zb-place-map .zb-place-map__place,
	.zb-place-map__marker-pin {
		transition: none;
	}
}
