.container {
    width: 100%;
    margin: 0;
    padding: 0;
    /* box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); */
}

/* SPINNER DE "CARGANDO MURO" _________________________________ */
.spinner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: sans-serif;
    font-size: 1.1em;
    color: #333;
}

.spinner {
    border: 6px solid #f3f3f3;
    border-top: 6px solid #333;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 0.9s linear infinite;
    margin-bottom: 10px;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* BOTONES DE FILTRADO _________________________________ */
#filtros {
    /* position: relative; */
    /* top: 10px; */
    /* left: 50%; */
    /* transform: translateX(-50%); */
    margin: 0 auto;
    padding: 15px 0 5px 0;
    z-index: 1000;
    display: flex;
    justify-content: center;
    gap: 20px;
}

#filtros button {
    padding: 12px 12px;
    margin: 4px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7.5px;
    transition: background-color 0.2s;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.15);
}

.filtro {
    display: flex;
}

.activo {
    background-color: rgb(240, 110, 24);
    color: white;
}

.inactivo {
    background-color: #f0f0f0;
    color: #000;
    border: 1px solid #ccc;
}

/* PUBLICACIONES ___________________________________________________________________________________ */
.muro-publicaciones {
    padding: 0 10em;
}

.publicacion {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 8px;
    padding: 12px 38px;
    margin: 10px 0;
    box-shadow: 0 2px 7px rgba(0, 0, 0, 0.2);
    text-align: center;
}

.publicacion h4 {
    margin: 0.5em;
}

.publicacion img {
    width: 100%;
    /* max-width: 400px; */
    height: 250px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 8px;
}

.publicacion .info {
    margin: 0.2em;
}

.publicacion .info .direccion {
    font-size: 0.9em;
    color: #555;
}

.publicacion .info .descripcion {
    margin: 1em;
}

.publicacion .pie {
    margin-top: 10px;
    text-align: right;
    font-size: 0.85em;
    color: #777;
}

/* RESPONSIVE CSS*/
/*-------------------------------------------------------------------------------------------------------------------- */

@media (max-width: 575px) {

    /* BOTONES DE FILTRADO _________________________________ */
    #filtros {
        display: flex;
        flex-direction: column;
        gap: 0;
        /* opcional, separación entre botones */
    }

    .filtro {
        justify-content: center;
    }

    /* PUBLICACIONES ___________________________________________________________________________________ */
    .muro-publicaciones {
        padding: 0;
    }

    .publicacion {
        border-radius: 0;
        padding: 0.25em 1em 1em 1em;
    }

    .publicacion img {
        width: 100%;
        height: 250px;
    }

}

/*-------------------------------------------------------------------------------------------------------------------- */

@media (min-width: 576px) and (max-width: 767px) {
    /* PUBLICACIONES ___________________________________________________________________________________ */
    .muro-publicaciones {
        padding: 0 4em;
    }
}

/*-------------------------------------------------------------------------------------------------------------------- */
/* Estilos para tablets grandes */
@media (min-width: 768px) and (max-width: 991px) {
    /* PUBLICACIONES ___________________________________________________________________________________ */
    .muro-publicaciones {
        padding: 0 6em;
    }
}

/*-------------------------------------------------------------------------------------------------------------------- */
/* 6. Escritorio */
@media (min-width: 992px) {
    /* PUBLICACIONES ___________________________________________________________________________________ */
    .muro-publicaciones {
        padding: 0 20em;
    }
}