/* --- STILE MAPPA GENERALE --- */
.mm-map-wrapper {
    display: flex;
    height: 500px; /* Altezza della sezione */
    border: 1px solid #e0e0e0;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 30px;
}

/* Colonna Lista */
.mm-map-list {
    width: 30%;
    background: #fff;
    overflow-y: auto; /* Scroll bar se ci sono tanti musei */
    border-right: 1px solid #e0e0e0;
}

.mm-list-item {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    transition: background 0.2s;
}

.mm-list-item:hover, .mm-list-item.active {
    background-color: #f9f9f9;
    border-left: 4px solid #2B3D52; /* Highlight blu */
}

.mm-list-item h4 {
    margin: 0 0 5px 0;
    font-size: 16px;
    color: #333;
    font-weight: 600;
}

.mm-addr-preview {
    font-size: 12px;
    color: #888;
}

/* Colonna Canvas Mappa */
.mm-map-canvas {
    width: 70%;
    height: 100%;
    background: #eee;
}

/* Popup Stile */
.mm-popup h4 {
    font-size: 18px !important;
    margin: 0 0 8px 0 !important;
    padding: 0;
    color: #425A75;
    font-weight: 700;
    line-height: 1.2;
    border: none;
}

/* Il testo descrittivo */
.mm-popup p { margin: 5px 0; font-size: 14px; line-height: 1.4; }
.mm-popup small { display: block; margin-bottom: 8px; color: #666; font-size: 13px; }
.mm-popup-btn {
    display: inline-block;
    background: #2B3D52;
    color: #fff !important;
    text-decoration: none;
    text-transform: uppercase;
    padding: 3px 8px;
    font-size: 12px;
    border-radius: 3px;
}

/* --- STILE MAPPA SINGOLA --- */
.mm-single-map {
    width: 100%;
    height: 350px; /* Altezza mappa scheda singola */
    border-radius: 8px;
    border: 1px solid #ddd;
    margin-bottom: 10px;
}
.mm-single-address {
    font-size: 18px;
    color: #555;
    font-weight: 600;
    margin-bottom: 20px;
}

/* --- RESPONSIVE MOBILE --- */
@media (max-width: 768px) {
    .mm-map-wrapper {
        flex-direction: column-reverse; /* Mappa sopra, lista sotto su mobile */
        height: 600px;
    }
    .mm-map-list {
        width: 100%;
        height: 40%;
    }
    .mm-map-canvas {
        width: 100%;
        height: 60%;
    }
}