/* Gustavia Places Map */
.ghm {
	--ghm-ink: #0b2a3c;
	--ghm-muted: #5b6b78;
	--ghm-line: #dfe7ec;
	--ghm-sea: #0e7ddc;
	margin: 1.5em 0;
	font-size: 15px;
	line-height: 1.4;
	color: var(--ghm-ink);
}

.ghm-bar {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 10px;
}

.ghm-chips {
	display: flex;
	gap: 6px;
	overflow-x: auto;
	padding-bottom: 2px;
	scrollbar-width: none;
	-webkit-overflow-scrolling: touch;
}
.ghm-chips::-webkit-scrollbar { display: none; }

.ghm .ghm-chip {
	--ghm-c: var(--ghm-ink);
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin: 0;
	padding: 7px 12px;
	border: 1px solid var(--ghm-line);
	border-radius: 999px;
	background: #fff;
	color: var(--ghm-ink);
	font: inherit;
	font-size: 13.5px;
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	cursor: pointer;
	box-shadow: none;
	text-transform: none;
	letter-spacing: 0;
}
.ghm .ghm-chip:hover { border-color: var(--ghm-c); }
.ghm .ghm-chip[aria-pressed="true"] {
	background: var(--ghm-c);
	border-color: var(--ghm-c);
	color: #fff;
}
.ghm .ghm-chip:focus-visible { outline: 3px solid var(--ghm-sea); outline-offset: 2px; }

.ghm-tools {
	display: flex;
	align-items: center;
	gap: 12px;
}

.ghm .ghm-search {
	flex: 0 1 280px;
	min-width: 0;
	margin: 0;
	padding: 8px 12px;
	border: 1px solid var(--ghm-line);
	border-radius: 8px;
	background: #fff;
	font: inherit;
	font-size: 14px;
	color: var(--ghm-ink);
}
.ghm .ghm-search:focus { outline: 3px solid rgba(14, 125, 220, 0.25); border-color: var(--ghm-sea); }

.ghm-count {
	font-size: 13px;
	color: var(--ghm-muted);
}

.ghm-canvas {
	width: 100%;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid var(--ghm-line);
	background: #aad3df;
	z-index: 0;
}

/* Markers */
.ghm-pin-wrap { background: none; border: 0; }
.ghm-pin {
	--ghm-c: #0369a1;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: #fff;
	border: 3px solid var(--ghm-c);
	box-shadow: 0 2px 6px rgba(11, 42, 60, 0.35);
	font-size: 16px;
	line-height: 1;
	transition: transform 0.15s ease;
}
.ghm-pin--focus {
	font-size: 22px;
	border-width: 4px;
	box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.7), 0 3px 10px rgba(11, 42, 60, 0.45);
}
.leaflet-marker-icon:hover .ghm-pin { transform: scale(1.12); }

/* Popups */
.ghm-popup .leaflet-popup-content-wrapper { padding: 0; border-radius: 12px; overflow: hidden; }
.ghm-popup .leaflet-popup-content { margin: 0; width: auto !important; }
.ghm-pop { font-size: 14px; line-height: 1.45; color: var(--ghm-ink, #0b2a3c); }
.ghm-pop-img { display: block; aspect-ratio: 16 / 9; background: #e8eef2; }
.ghm-pop-img img { display: block; width: 100%; height: 100%; object-fit: cover; margin: 0; }
.ghm-pop-body { padding: 10px 14px 14px; }
.ghm-pop-tag {
	display: inline-block;
	margin-bottom: 4px;
	font-size: 11.5px;
	font-weight: 700;
	color: var(--ghm-c, #0369a1);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}
.ghm-pop .ghm-pop-title { margin: 0 0 4px; font-size: 16px; line-height: 1.3; }
.ghm-pop .ghm-pop-title a { color: inherit; text-decoration: none; }
.ghm-pop .ghm-pop-title a:hover { text-decoration: underline; }
.ghm-pop .ghm-pop-text { margin: 0 0 8px; color: #5b6b78; font-size: 13px; }
.ghm-pop .ghm-pop-link {
	font-weight: 700;
	color: #0e7ddc;
	text-decoration: none;
}
.ghm-pop .ghm-pop-link:hover { text-decoration: underline; }

@media (max-width: 600px) {
	.ghm-canvas { max-height: 70vh; }
	.ghm .ghm-search { flex-basis: 100%; }
	.ghm-tools { flex-wrap: wrap; gap: 6px; }
}
