/* === Estilos del widget de MAPA (scopeados) === */

.maplots-contenedor-padre {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.maplots-contenedor-principal {
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 1500px;
}

.maplots-columna-uno {
    display: flex;
    flex-direction: column;
    gap: 50px;
}

.maplots-titulo {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.maplots-titulo h2 {
    text-align: center;
}

.maplots-titulo img {
    width: 25px;
}

.maplots-comunidades {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.maplots-estado {
    display: flex;
    flex-direction: column;
}

.maplots-estado:not(:last-of-type) {
    padding-bottom: 30px;
    border-bottom: 1px solid #c3ab7b;
}

.maplots-estado_nombre {
    color: #c3ab7b !important;
    font-size: 28px !important;
    font-style: normal;
    font-weight: 500 !important;
    text-transform: uppercase !important;
    text-align: center;
    margin: 0;
}

.maplots-estado ul {
    padding: 0;
    margin: 0;
}

.maplots-click-comunidad {
    color: #1f2424 !important;
    font-size: 22px !important;
    font-style: normal;
    font-weight: 500 !important;
    line-height: 1.5 !important;
    text-align: center;
    list-style-type: none;
    padding-left: 0;
    margin-left: 0;
}

.maplots-click-comunidad:hover {
    color: #000 !important;
    cursor: pointer !important;
}

/* === Columna del mapa === */
.maplots-columna-mapa {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 700px;
}

.maplots-acf-map {
    width: 100%;
    height: 100%;
    border-radius: 50px;
    border: 4px solid #c3ab7b;
    position: relative;
    /* necesario para absolute hijos */
    overflow: visible;
}

.maplots-cont-int-map {
    display: none;
    /* oculto por defecto */
    background: #fff;
    border-radius: 30px;
    backdrop-filter: blur(2px);
    padding: 30px;
    flex-direction: column;
    align-items: flex-start;
    max-width: 350px;
    z-index: 9999 !important;
    position: absolute;
    bottom: 10px;
    gap: 20px;
}

.maplots-cont-int-map h4 {
    font-size: 24px;
    font-weight: 400;
    margin: 0 !important;
}

.maplots-cont-int-map p {
    font-size: 16px;
    font-weight: 400;
    margin: 0;
    line-height: 1.2;
}

.maplots-cont-int-map a {
    border-radius: 30px;
    background: #ebe4d4;
    width: fit-content;
    padding: 12px 40px;
    border: none !important;
    font-size: 16px !important;
    transition: 300ms;
    text-decoration: none !important;
    color: #121316;
    text-align: center;
}

.maplots-cont-int-map a:hover {
    background: #c3ab7b;
    color: #fff;
    cursor: pointer;
}

/* === Tablet === */
@media (min-width: 768px) {
    .maplots-contenedor-padre {
        /* background: red; */
        flex-direction: column;
        justify-content: center;
    }

    .maplots-contenedor-principal {
        /* background: red; */
        width: 100%;
    }

    .maplots-cont-int-map {
        right: 20px;
        bottom: 20px;
    }

    .maplots-estado_nombre {
        text-align: center;
    }
}

/* === Desktop ≥1200px === */
@media (min-width: 1200px) {
    .maplots-contenedor-principal {
        display: flex;
        flex-direction: row;
        /* justify-content: space-between; */
    }

    .maplots-columna-uno {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }

    .maplots-columna-mapa {
        display: flex;
        flex-direction: column;
        width: 60%;
        height: 100%;
        aspect-ratio: 16/12;
    }

    .maplots-acf-map {
        width: 100%;
        height: 100%;
    }

    .maplots-titulo {
        align-items: flex-start;
        max-width: 400px;
    }

    .maplots-titulo h2 {
        text-align: start;
    }

    .maplots-click-comunidad {
        text-align: start;
    }

    .maplots-estado_nombre {
        text-align: start;
    }
}