/* =========================================
   EDALOM CUSTOM - MODALES Y MAPAS
   ========================================= */

/* Visor Modal (Panzoom) */
.map-modal {
    display: none;
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.98) !important;
    z-index: 9999;
    overflow: hidden;
}

#panzoom-container {
    width: 100vw; height: 100vh;
    display: flex; align-items: center; justify-content: center;
}

#imgAmpliada {
    max-width: 95vw; max-height: 90vh;
    cursor: grab; display: block;
    box-shadow: 0 0 50px rgba(0,0,0,0.8);
}
#imgAmpliada:active { cursor: grabbing; }

.close-map {
    position: absolute; top: 25px; right: 35px;
    color: #fff; font-size: 60px; font-weight: bold;
    z-index: 10001; cursor: pointer; line-height: 1;
    transition: 0.3s;
}
.close-map:hover { color: var(--gold); transform: scale(1.2); }

.map-instructions {
    position: absolute; bottom: 30px; left: 50%;
    transform: translateX(-50%);
    color: white; background: rgba(185, 14, 10, 0.9);
    padding: 10px 25px; border-radius: 50px; font-size: 13px;
    z-index: 10001; pointer-events: none;
    letter-spacing: 1px; font-weight: bold;
}

/* Forzamos que los textos en modo claro de Edalom se lean bien */
body.edalom.light-theme .title,
body.edalom.light-theme h1,
body.edalom.light-theme h2,
body.edalom.light-theme p {
    color: #212529 !important;
}

/* Footer Editorial (Copiado de la versión anterior corregida) */
.footer-editorial {
    padding: 100px 0 60px 0;
    background-color: #0a0a0a !important;
    border-top: 1px solid #222;
    text-align: center;
}
.newsletter-title { font-family: 'Playfair Display', serif; font-size: 2.2rem; color: #fff !important; }
.minimal-form { max-width: 500px; margin: 0 auto; }
.minimal-form .form-control { border: none !important; border-bottom: 2px solid #444 !important; background: transparent; color: #fff; text-align: center; }
.btn-subscribe { background: none; border: 2px solid #fff; color: #fff; padding: 12px 40px; text-transform: uppercase; margin-top: 30px; }