.paginated-gallery-wrapper {
    position: relative;
    width: 100%;
}

.swiper-container {
    width: 100%;
    overflow: hidden;
}

/* A grelha dentro de cada slide */
.gallery-grid {
    display: grid;
    gap: 15px; /* Espaçamento entre as imagens */
}

.gallery-item {
    width: 100%;
    height: 0;
    padding-bottom: 75%; /* Proporção 4:3. Ajuste se necessário */
    position: relative;
    overflow: hidden;
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Garante que a imagem preencha o espaço sem distorcer */
}


.slider-gallery .swiper-button-next, .slider-gallery .swiper-button-prev {
    position: inherit;
    /* transform: translateY(-50%); */
    transform: none!important;
    margin: 0!Important;
}

.slider-gallery .gallery-navigation {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 80px;

}

.slider-gallery .swiper-pagination {
    margin-top: 0;
    transform: none!important;
    min-height: 100%;
    /* background: red; */
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto!important;
    gap: 30px;
}

.slider-gallery .swiper-button-prev:after,  .slider-gallery .swiper-button-next:after {
    font-size: 21px;
    color: #57BDBD;
}

.slider-gallery .swiper-pagination-bullet {
    min-height: 40px!Important;
    min-width: 40px!important;
    color: #57BDBD!important;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: transparent!important;
    border: 1px solid #57BDBD;
    opacity: 1;
}

.slider-gallery span.swiper-pagination-bullet.swiper-pagination-bullet-active {
    background: #57BDBD!important;
    color: white!important;
    font-weight: 700;
}

.slider-gallery .gallery-item img {height: 100%;}