/* =========================================
   ESTILOS GLOBALES DE MAPAS (Para páginas regulares)
========================================= */
.mapa-grande {
    height: 550px; 
    width: 100%;
    border-radius: 8px; 
    border: 1px solid #ccc; 
    z-index: 1;
    background: #e0e0e0;
}

.mapa-pequeno {
    height: 350px; 
    width: 100%;
    border-radius: 8px; 
    border: 1px solid #ccc; 
    z-index: 1;
    background: #e0e0e0;
}

.titulo-mapa {
    font-size: 1.6rem; 
    color: var(--color-plomo-oscuro, #333);
    margin-bottom: 20px; 
    font-weight: 700;
}

/* Efectos de los puntos de Leaflet */
.marker-blur-effect {
    filter: blur(2px); 
    -webkit-filter: blur(2px);
    transition: all 0.3s ease;
}
.marker-blur-effect:hover {
    filter: blur(0px);
    -webkit-filter: blur(0px);
    opacity: 1;
    cursor: pointer;
    stroke: #333; 
    stroke-width: 1px;
}

/* Estilos de la Leyenda de Tipos */
.map-legend-control {
    background: rgba(255, 255, 255, 0.9);
    padding: 10px 15px;
    border-radius: 8px;
    box-shadow: 0 1px 5px rgba(0,0,0,0.4);
    font-size: 0.8rem;
    color: #333;
    line-height: 1.4;
    font-family: var(--fuente-roboto, sans-serif);
}
.map-legend-control .legend-item { display: flex; align-items: center; margin-bottom: 6px; }
.map-legend-control .legend-item:last-child { margin-bottom: 0; }
.map-legend-control span {
    width: 14px; height: 14px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    flex-shrink: 0;
}

/* Responsive Mapas Integrados */
@media (max-width: 960px) {
    .mapa-grande { height: 400px; }
    .mapa-pequeno { height: 300px; } 
}

@media (max-width: 768px) {
    .map-legend-control { font-size: 0.7rem; padding: 8px 10px; max-height: 200px; overflow-y: auto; }
}