.Gallery_News_container{
    width: 100%;
    position: relative;
    z-index: 10;


    /* Лента слайдов */
    .swiper-wrapper {
        display: flex;
        gap: 1.25rem;
        transition: transform 0.4s ease;
        justify-content: flex-start;
    }

    /* Каждый слайд фиксированного размера */
    .swiper-slide{
        flex: 0 0 375px;
        aspect-ratio: 375 / 252;
        display: flex;
        align-items: center;

            @media (max-width: 500px){
                flex: 0 0 100%;
                padding-bottom: 1.5rem;
            }
        }

    /* Картинка внутри */
    .swiper-slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 1rem;
    }

    .gallery-slider__arrow{
        position: absolute;
        top: 50%;
        z-index: 1000;
        transform: translateY(50%);

        @media (max-width: 500px){
             display: none;
        }
    }

    .gallery-slider__arrow-next{
        rotate: -90deg;
    }

    .gallery-slider__arrow-prev{
        rotate: 90deg;
    }
}

@media (max-width: 500px){
        .gallery{
            overflow-x: auto;
            scroll-snap-type: x mandatory;
            -webkit-overflow-scrolling: touch;

            &::-webkit-scrollbar {
                height: .3125rem;
            }

            &::-webkit-scrollbar-track {
                background: var(--color-gray);
                border-radius: 3.125rem;
            }

            &::-webkit-scrollbar-thumb {
                background: var(--color-dark-gray);
                border-radius: 3.125rem;
            }
        }

        .gallery .swiper-wrapper{
            transform: none;
            transition: none;
        }
       
    }