
@media (min-width: 920px) {
    .lista-eventos-real .owl-nav {
        left: 0 !important;                                                                             
        transform: translateX(0px);
    }

    .lista-eventos-real .owl-dots {
        left:  0px !important;
        transform: translateX(45px);
    }
}





/* Estilos para a modal galeria */
.evento-gallery-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.evento-gallery-modal.hidden {
    display: none;
}

.evento-gallery-modal .close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    color: white;
    font-size: 30px;
    cursor: pointer;
    z-index: 10;
}

.evento-gallery-modal .gallery-carousel {
    width: 80%;
    max-width: 1000px;
}

.evento-gallery-modal .owl-carousel .owl-item img {
    width: auto;
    max-height: 80vh;
    margin: 0 auto;
}

/* Contador de imagens */
.gallery-counter {
    color: white;
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
}

/* Estilos para os controles de navegação na modal de galeria */
.evento-galeria-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
    margin-top: 0;
    display: flex;
    justify-content: space-between;
    z-index: 10;
}

.evento-galeria-carousel .owl-nav button.owl-prev,
.evento-galeria-carousel .owl-nav button.owl-next {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3) !important;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    transition: all 0.2s ease;
}

.evento-galeria-carousel .owl-nav button.owl-prev {
    left: -60px;
}

.evento-galeria-carousel .owl-nav button.owl-next {
    right: -60px;
}

.evento-galeria-carousel .owl-nav button.owl-prev:hover,
.evento-galeria-carousel .owl-nav button.owl-next:hover {
    background: rgba(0, 0, 0, 0.6) !important;
    transform: scale(1.1);
}

.evento-galeria-carousel .owl-nav svg {
    width: 24px;
    height: 24px;
    color: white;
}

.evento-galeria-carousel .owl-dots {
    position: absolute;
    bottom: -30px;
    width: 100%;
    text-align: center;
}

.evento-galeria-carousel .owl-dots .owl-dot {
    width: 10px;
    height: 10px;
    margin: 0 5px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.4) !important;
    transition: all 0.2s ease;
    display: inline-block;
}

.evento-galeria-carousel .owl-dots .owl-dot.active {
    background-color: white !important;
    transform: scale(1.2);
}

#evento-gallery-modal {
    z-index: 999999;
}

#close-gallery-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000000;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

#close-gallery-modal:hover {
    background: rgba(0, 0, 0, 0.6);
    transform: scale(1.1);
}

#gallery-counter {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-size: 14px;
    padding: 5px 10px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 20px;
}

@media (max-width: 768px) {
    .evento-galeria-carousel .owl-nav button.owl-prev {
        left: 10px;
    }
    
    .evento-galeria-carousel .owl-nav button.owl-next {
        right: 10px;
    }
}
