/* Genomada Accommodations — Vista de mapa (/alojamientos/mapa/ y shortcode). */

.gacc-map {
	width: 100%;
	height: 68vh;
	min-height: 420px;
	max-height: 900px;
	border-radius: 10px;
	border: 1px solid #e5e7eb;
	z-index: 0; /* por debajo de la cabecera fija de GeneratePress */
}

@supports (height: 100dvh) {
	.gacc-map {
		height: 68dvh;
	}
}

@media (max-width: 600px) {
	.gacc-map {
		height: calc(100dvh - 210px);
		height: calc(100vh - 210px);
		min-height: 320px;
		border-radius: 0;
		border-left: 0;
		border-right: 0;
	}
}

.gacc-map-empty {
	color: #575760;
	text-align: center;
	padding: 1.2rem 0;
}

.gacc-map-filters {
	margin-bottom: 1rem;
}

/* Popups ligeros */
.gacc-popup {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 200px;
	font-family: inherit;
}

.gacc-popup-media img {
	width: 100%;
	height: auto;
	border-radius: 6px;
	display: block;
}

.gacc-popup-title {
	font-size: 1rem;
	line-height: 1.25;
	color: #222;
}

.gacc-popup-loc {
	color: #575760;
	font-size: 0.85rem;
}

.gacc-popup-link {
	display: inline-block;
	margin-top: 4px;
	color: #254336;
	font-weight: 700;
	text-decoration: none;
	border-bottom: 1px solid #B7B597;
}

.gacc-popup-link:hover,
.gacc-popup-link:focus {
	color: #1d3128;
}

/* Clustering con la paleta Genomada (en lugar del azul por defecto). */
.marker-cluster-small  { background-color: rgba(107, 138, 122, 0.55); }
.marker-cluster-small div  { background-color: rgba(37, 67, 54, 0.9); }
.marker-cluster-medium { background-color: rgba(107, 138, 122, 0.65); }
.marker-cluster-medium div { background-color: rgba(37, 67, 54, 0.9); }
.marker-cluster-large  { background-color: rgba(37, 67, 54, 0.55); }
.marker-cluster-large div  { background-color: rgba(29, 49, 40, 0.95); }

.marker-cluster div {
	width: 40px;
	height: 40px;
	text-align: center;
	border-radius: 50%;
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	line-height: 40px;
}

.marker-cluster {
	border-radius: 30px;
	text-align: center;
}

.marker-cluster span {
	line-height: 40px;
}

/* Mapa embebido por shortcode */
.gacc-map-embed {
	border-radius: 10px;
	overflow: hidden;
	border: 1px solid #e5e7eb;
	z-index: 0;
}
