.xleb-button-wrapper:has(a.mg-bottom-auto){
  margin-bottom: auto;
}

.buttons-row > .vc_column_container{
    display: flex;
    flex-direction: row;
    gap: var(--gapX4);
}

.xleb-button-wrapper.text-right:not(.xleb-button-wrapper.text-right.right, .xleb-button-wrapper.text-right.center){
    margin-right: auto;
}

@media (min-width: 768px) {
    .slider-controls:has(> .navigation-slider.ver-bottom.pos-together) {
        margin-top: 0;
    }

    .slider-controls > .navigation-slider.ver-bottom.pos-together {
        position: static;
        width: fit-content;
        height: var(--swiper-navigation-size);
        margin-top: 40px;
        margin-left: auto;
    }

    .slider-controls > .navigation-slider.ver-bottom.pos-together > :is(.swiper-button-prev, .swiper-button-next) {
        margin-top: 0;
    }
}

.vc_section.fixed-height-1st-layer{
    height: 810px;
    background-size: 100% !important;
    background-position: bottom !important;
    background-repeat: no-repeat !important;
}

.vc_section.fixed-height-1st-layer :is(.vc_row, .vc_column_container:first-child):has(.mg-top-auto){
    height: 100%;
}

.vc_section.fixed-height-1st-layer .vc_column_container:last-child:not(:first-child){
    height: fit-content;
}

@media(min-width:992px){
    .vc_section.fixed-height-1st-layer > .vc_row > .vc_column_container:first-child{
        max-width: 660px;
    }
}

@media(min-width:767px) and (max-width:991px){
    .vc_section.fixed-height-1st-layer{
        height: 1042px;
        background-size: cover;
        background-position: top;
    }
}


@media(max-width:991px){
    .order-xs-1{
        order: -1;
    }
}

@media(max-width:767px){
    .buttons-row > .vc_column_container{
        flex-direction: column;
        gap: unset;
        row-gap: var(--gapX3);
    }

    .link.xs-left{
        margin-left: unset !important;
    }

    .buttons-row > .vc_column_container :is(.xleb-button-wrapper, .xleb-button-wrapper > a){
        width: 100%;
    }

    .vc_section.fixed-height-1st-layer{
        height: 699px;
    }

    .vc_section.fixed-height-1st-layer .xleb-button-wrapper,
    .vc_section.fixed-height-1st-layer .xleb-button-wrapper > .btn{
        width: 100%;
    }
}
