/* ── Legacy section layout (kept for backwards compatibility) ── */
.map-section {
	display: flex;
	gap: 20px;
	align-items: center;
	margin-top: 50px;
	margin-bottom: 50px;

	@media screen and (max-width: 1200px) {
		flex-direction: column;
	}

	.map-text-content {
		width: 50%;

		@media screen and (max-width: 1200px) {
			width: 100%;
		}
	}

	.map-container {
		width: 50%;

		@media screen and (max-width: 1200px) {
			width: 100%;
		}

		#osm-map {
			height: 500px;
			width: 100%;
			border-radius: 12px;
			z-index: 1;

			@media screen and (max-width: 450px) {
				height: 300px;
			}
		}
	}
}

/* ── [lokaciok] shortcode map ── */
#lokaciok-map {
	width: 100%;
	height: 520px;
	border-radius: 12px;
	z-index: 1;
	display: block;

	@media screen and (max-width: 768px) {
		height: 380px;
		border-radius: 8px;
	}

	@media screen and (max-width: 450px) {
		height: 300px;
		border-radius: 6px;
	}
}

/* ── Cluster icon ── */
.gp-cluster {
	background: transparent;
}

.gp-cluster-inner {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--wp--preset--color--primary, #e87722);
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 3px solid #fff;
	box-shadow: 0 2px 8px rgba(0, 0, 0, .25);
}

/* ── Popup ── */
.gp-popup {
	font-family: sans-serif;
	min-width: 160px;
	max-width: 240px;
}

.gp-popup-title {
	display: block;
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 4px;
}

.gp-popup-desc {
	font-size: 13px;
	color: #555;
	margin: 0 0 6px;
	line-height: 1.4;
}

.gp-popup-link {
	font-size: 13px;
	font-weight: 600;
	color: #5F79BB;
	text-decoration: none;
}

.gp-popup-link:hover {
	color: #5F79BB;
	text-decoration: none;
}
