.section-gallery {
    color: var(--primary-beige);
    background: var(--primary-dark);
    overflow-x: hidden;
}

.section-gallery .container {
    max-width: 1841px;
}

.section-gallery .section-heading {
    max-width: 100%;
}

.section-gallery .section-heading p:not(.title) {
    font-size: 16px;
}

.section-gallery .swiper {
    overflow: visible;
}

.section-gallery .swiper-slide {
    position: relative;
    transition: opacity 0.3s ease-in-out;
}

.section-gallery .swiper-slide-prev {
    opacity: 0;
}

.section-gallery .swiper-wrapper .swiper-slide-next + .swiper-slide {
    opacity: 0.5;
}

.section-gallery .swiper-wrapper .swiper-slide-active ,
.section-gallery .swiper-wrapper .swiper-slide-active + .swiper-slide-next {
    opacity: 1;
}

.section-gallery .gallery-slider .swiper-slide a {
    cursor: pointer;
}

.section-gallery .swiper-information {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding-top: 16px;
}

.section-gallery .swiper-information p {
    font-size: 14px;
    color: var(--secondary-gras);
    line-height: 1.285;
    letter-spacing: 0.14px;
    margin: 0;
    padding: 0;
}

.section-gallery .gallery-slider-thumbs {
    padding: 40px 0;
}

.section-gallery .gallery-slider-thumbs .swiper-wrapper {
    align-items: center;
    justify-content: center;
}

.section-gallery .gallery-slider-thumbs .swiper-slide {
    width: 100px !important;
    height: 100px !important;
    flex-shrink: 0;
    overflow: hidden;
    cursor: pointer;
}

.section-gallery .gallery-slider-thumbs img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.section-gallery .gallery-slider-thumbs .swiper-slide {
    position: relative;
    width: 100px !important;
    height: 100px !important;
    flex-shrink: 0;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.section-gallery .gallery-slider-thumbs .swiper-slide {
    opacity: 0.7;
}

.section-gallery .gallery-slider-thumbs .swiper-slide.swiper-slide-thumb-active {
    opacity: 1;
}

@media (max-width: 992px) {
    .section-gallery .section-heading p:not(.title) {
        font-size: 14px;
    }

    .section-gallery .swiper-information p {
        font-size: 12px;
    }

    .section-gallery .gallery-slider .swiper-slide-next a::before,
    .section-gallery .gallery-slider .swiper-slide-prev a::before{
        background: rgba(16, 70, 58, 0.75);
    }

    .section-gallery .gallery-slider-thumbs .swiper-slide {
        width: 58px !important;
        height: 58px !important;
    }

    .section-gallery .gallery-slider-thumbs .swiper-wrapper {
        padding: 24px 0 0 0;
    }

    .section-gallery .gallery-slider-thumbs {
        padding: 0;
    }
}

@media (max-width: 576px) {
    .section-gallery .gallery-slider {
        overflow: visible;
        margin-left: -24px;
    }
    .section-gallery .swiper-wrapper .swiper-slide:not(.swiper-slide-active),
    .section-gallery .swiper-wrapper .swiper-slide.swiper-slide-active + .swiper-slide-next {
        opacity: 0.5;
    }

    .section-gallery .swiper-wrapper .swiper-slide-next:last-of-type {
        opacity: 1;
    }

    .section-gallery .gallery-slider .swiper-slide {
        width: 350px;
    }
}