.ppm-map-wrapper {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin: 20px 0;
	font-family: inherit;
}

.ppm-filters {
	flex: 0 0 280px;
	max-width: 100%;
	background: #f7f5f2;
	border: 1px solid #e2ddd6;
	border-radius: 8px;
	padding: 16px;
	box-sizing: border-box;
}

.ppm-filters h3 {
	margin-top: 0;
	font-size: 16px;
}

.ppm-filters label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin: 12px 0 4px;
}

.ppm-filters select,
.ppm-filters input[type="text"] {
	width: 100%;
	padding: 8px;
	border: 1px solid #ccc;
	border-radius: 4px;
	box-sizing: border-box;
	font-size: 14px;
}

.ppm-filtro-reset {
	margin-top: 14px;
	width: 100%;
	padding: 8px;
	background: #8B1E2D;
	color: #fff;
	border: none;
	border-radius: 4px;
	cursor: pointer;
	font-size: 13px;
}

.ppm-filtro-reset:hover {
	background: #6f1723;
}

.ppm-resultados-lista {
	margin-top: 16px;
	max-height: 320px;
	overflow-y: auto;
	font-size: 13px;
}

.ppm-resultados-lista ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.ppm-resultados-lista li {
	border-bottom: 1px solid #e2ddd6;
}

.ppm-resultados-lista li a {
	display: block;
	padding: 6px 2px;
	text-decoration: none;
	color: #333;
}

.ppm-resultados-lista li a:hover {
	color: #8B1E2D;
}

.ppm-num-resultados {
	font-weight: 600;
	margin: 0 0 6px;
}

.ppm-sin-resultados {
	color: #777;
	font-style: italic;
}

.ppm-map {
	flex: 1 1 480px;
	min-height: 600px;
	border-radius: 8px;
	overflow: hidden;
	z-index: 0;
}

.ppm-error {
	padding: 20px;
	color: #a33;
	text-align: center;
}

/* Marcador grande de arciprestazgo */
.ppm-arc-marker {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-weight: 700;
	font-size: 14px;
	border: 3px solid #fff;
	box-shadow: 0 2px 6px rgba(0,0,0,0.35);
}

/* Marcador (grupo) de manifestaciones agrupadas al alejar el zoom */
.ppm-cluster-marker {
	background: #2a6f4b;
	color: #fff;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 14px;
	border: 3px solid #fff;
	box-shadow: 0 2px 6px rgba(0,0,0,0.35);
	text-align: center;
}

/* Marcador individual de manifestación */
.ppm-manif-marker {
	width: 36px;
	height: 36px;
	border-radius: 50% 50% 50% 0;
	background: #fff;
	border: 2px solid #8B1E2D;
	transform: rotate(-45deg);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 4px rgba(0,0,0,0.4);
}

.ppm-manif-marker img {
	transform: rotate(45deg);
	width: 20px;
	height: 20px;
	object-fit: contain;
}

/* --- Bocadillo (popup) de una manifestación: compacto, sin scroll --- */
.leaflet-popup-content-wrapper {
	border-radius: 6px;
}

.leaflet-popup-content {
	margin: 10px 12px;
	line-height: 1.25;
}

.ppm-popup {
	font-size: 12.5px;
	line-height: 1.25;
}

.ppm-popup-titulo {
	margin: 0;
	font-size: 14.5px;
	line-height: 1.2;
}

.ppm-popup-tipo {
	color: #888;
	font-size: 11px;
	margin: 1px 0 5px;
}

.ppm-popup-foto {
	width: 100%;
	height: 90px;
	object-fit: cover;
	border-radius: 4px;
	margin: 0 0 5px;
	display: block;
}

.ppm-popup-linea {
	margin: 3px 0;
	line-height: 1.25;
}

.ppm-popup-fila {
	display: flex;
	flex-wrap: wrap;
	column-gap: 14px;
	row-gap: 2px;
	margin: 3px 0;
}

.ppm-btn-llegar {
	color: #2a6f4b !important;
	font-weight: 600;
	text-decoration: none;
	font-size: 12px;
	white-space: nowrap;
}

.ppm-btn-mas-info {
	display: inline-block;
	background: #8B1E2D;
	color: #fff !important;
	padding: 5px 14px;
	border-radius: 4px;
	text-decoration: none;
	font-size: 12.5px;
	font-weight: 600;
	margin-top: 7px;
}

@media (max-width: 782px) {
	.ppm-filters {
		flex: 1 1 100%;
	}
	.ppm-map {
		min-height: 420px;
	}
}
