.companies-carousel-section{
    max-width: 1920px;
    margin: 0 auto;
    width: 100%;
    background: var(--d-dark-80);
    padding: 20px 60px;
    position: relative;
    display: flex;
    flex-direction: column;
}

.companies-carousel-section.without-padding{
    padding: 0 60px;
}

.companies-carousel-section-title-wrapper{
    max-width: 1920px;
    margin: 0 auto;
    width: 100%;
    background: var(--d-dark-80);
    display: flex;
    align-items: center;
    justify-content: center;
    padding-bottom: 60px;
}

.companies-carousel-section.dark-block,
.companies-carousel-section-title-wrapper.dark-block{
    background: var(--d-dark-80);
}

.companies-carousel-section.transparent, .companies-carousel-section-title-wrapper.transparent{
    background: transparent;
}

.companies-carousel-section.light-block {
border-bottom: 1px solid #DFE5ED
}

.companies-carousel-section-title-wrapper .main-h3{
    text-align: center;
    color: var(--n-white);
}

.companies-carousel-section-title-wrapper ~ .companies-carousel-section{
    padding-bottom: 120px;
}

.companies-carousel-section::before,
.companies-carousel-section::after{
    position: absolute;
    top: 0;
    height: 100%;
    width: 124px;
    content: '';
    display: block;
    z-index: 2;
}


.companies-carousel-section::after{
    left: 0;
    right: auto;
    background: linear-gradient(270deg, rgba(3, 20, 60, 0.00) 0%, #03143C 100%);
}

.companies-carousel-section.dark-block::after{
    background: linear-gradient(270deg, rgba(1, 11, 37, 0.00) 0%, #010B25 100%);
}

.companies-carousel-section::before{
    right: 0;
    left: auto;
    background: linear-gradient(90deg, rgba(3, 20, 60, 0.00) 0%, #03143C 100%);
}

.companies-carousel-section.dark-block::before{
    background: linear-gradient(90deg, rgba(1, 11, 37, 0.00) 0%, #010B25 100%);
}

.companies-carousel-section.transparent::before,
.companies-carousel-section.transparent::after{
    display: none;
}

.companies-carousel-section .swiper-container{
    width: 100%;
}

.companies-carousel-section .swiper-wrapper {
  pointer-events: none;
  transition-timing-function: linear;
}

.companies-carousel-section .swiper-slide{
    padding: 0 20px;
    width: 280px;
    aspect-ratio: 280 / 136;
    height: auto;
    position: relative;
}

.companies-carousel-section .swiper-slide img{
    width: 100%;
    height: 100%;
    object-position: center;
}

.companies-carousel-section .swiper-slide svg{
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
}

@media (max-width: 1919px) {
    .companies-carousel-section{
        padding: 12px 60px;
    }

    .companies-carousel-section-title-wrapper ~ .companies-carousel-section{
        padding-bottom: 80px;
    }

    .companies-carousel-section-title-wrapper{
        padding-bottom: 48px;
    }

    .companies-carousel-section .swiper-slide{
        width: 240px;
        aspect-ratio: 240 / 116;
    }

    .companies-carousel-section::before,
    .companies-carousel-section::after{
        width: 97px;
    }
}

@media (max-width: 1439px) {
    .companies-carousel-section-title-wrapper{
        padding-bottom: 40px;
    }

    .companies-carousel-section-title-wrapper ~ .companies-carousel-section{
        padding-bottom: 60px;
    }
}

@media (max-width: 577px) {
    .companies-carousel-section{
        padding: 0 60px;
    }

    .companies-carousel-section-title-wrapper ~ .companies-carousel-section{
        padding-bottom: 80px;
    }

    .companies-carousel-section .swiper-slide{
        padding: 0;
    }

    .companies-carousel-section::before,
    .companies-carousel-section::after{
        width: 80px;
    }
}