/*-----------
    Logos
-----------*/
.logos
{
    .grid_row
    {
        --items_per_line: 2;
        --gap_x: var(--block_padding_s);
        --gap_y: var(--block_padding_s);
    }


    .section
    {
        display: flex;
        overflow: hidden;
        flex-direction: column;
        gap: var(--inner_gap_l);

        padding: var(--block_padding);

        background: var(--bg_light);


        &.dark
        {
            color: var(--light_color);
            background: var(--gradient_dark);
        }


        &:first-child
        {
            clip-path: var(--clip_path_corner_top_left);
        }


        &:last-child
        {
            clip-path: var(--clip_path_corner_botton_right);
        }


        .title
        {
            font-family: var(--font_family_secondary);
            font-size: 30px;
            font-weight: 400;
            line-height: 153.333%;
        }


        .swiper
        {
            overflow: visible;

            width: 100%;

            --spaceBetween: 0;
            --slidesPerView: auto;
            --slideWidth: 165px;


            .swiper-wrapper
            {
                --swiper-wrapper-transition-timing-function: linear;
            }


            .swiper-slide
            {
                width: var(--slideWidth);
            }
        }


        .logo
        {
            display: flex;
            align-content: center;
            align-items: center;
            flex-wrap: wrap;
            justify-content: center;

            height: 70px;
            padding-inline: var(--inner_gap);

            border-right: 1px solid #e6e6e6;


            .dark &
            {
                border-color: rgba(255, 255, 255, .1);
            }


            img
            {
                display: block;

                max-width: 100%;
                max-height: 100%;
            }
        }
    }
}



@media print,
(max-width: 1279px)
{
    .logos
    {
        .section
        {
            .title
            {
                font-size: 28px;
            }
        }
    }
}



@media (max-width: 767px)
{
    .logos
    {
        .grid_row
        {
            --items_per_line: 1;
            --gap_x: var(--zero_px);
            --gap_y: var(--inner_gap_xs);
        }


        .section
        {
            gap: var(--inner_gap);

            padding-block: var(--inner_gap_l);
            padding-inline: var(--block_padding_s);


            .title
            {
                font-size: 25px;
            }


            .swiper
            {
                --slideWidth: 112px;
            }


            .logo
            {
                height: 50px;
            }
        }
    }
}
