html.page-home-hero,
body.page-home-hero {
	overscroll-behavior: none;
}
.hero-swiper {
    background: #fff;
    height: 100vh;
    height: 100dvh;
    overscroll-behavior: none;
}
.hero-swiper__container {
    display: flex;
    align-items: end;
    justify-content: start;
    height: 100%;
    color: #fff;
}
.hero-swiper .swiper-slide {
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    background-size: cover;
    background-position: top;
    /*transition: bottom 0.8s ease-in-out !important;*/
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background: #fff;
}
.hero-swiper .swiper-slide:after {
    content: '';
    width: 15px;
    height: 7px;
    background-image: url('/local/templates/actebx/images/arr_dwn.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    bottom: 60px;
}
.hero-swiper .swiper-slide.black {
    background-color: #000;
    color: #fff;
}
.hero-swiper .swiper-slide.black:after {
    background-image: url('/local/templates/actebx/images/arr_dwn_wht.svg');
}
.hero-swiper .swiper-slide:last-child {
    background-color: #fff;
    align-items: end;
    flex-wrap: wrap;
    flex-direction: column;
    justify-content: end;
}
.hero-swiper .swiper-slide:last-child .container {
    background-color: #fff;
    padding: 60px 30px;
}
.hero-swiper .swiper-slide.noarrow:after {
    background-image: none;
}
.hero-swiper .swiper-slide:last-child:after {
    background-image: none;
}
.hero-swiper .swiper-slide:last-child .video.__desktop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}
.hero-swiper .swiper-slide:last-child .video.__desktop::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10;
}
.hero-swiper .swiper-slide:last-child .video.__desktop iframe,
.hero-swiper .swiper-slide:last-child .video.__desktop img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
}
.main_cat_sect {
    display: flex;
    gap: 20px;
    flex-direction: row;
    flex-wrap: wrap;
    margin: 0 auto;
    width: fit-content;
    -webkit-transition: all .25s ease-in-out;
    -o-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
    justify-content: center;
    align-items: end;
}
.main_cat_sect_card {
    width: 162px;
    height: 246px;
    -webkit-transition: all .25s ease-in-out;
    -o-transition: all .25s ease-in-out;
    transition: all .25s ease-in-out;
    cursor: pointer;
    position: relative;
}
.main_cat_sect_card_title {
    opacity: 1;
    color: #fff;
    margin-bottom: 10px;
    font-size: 12px;
    text-transform: uppercase;
    position: absolute;
    top: -25px;
    width: 1px;
    overflow: hidden;
}
.main_cat_sect_card_pic {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    -webkit-transition: all 1.25s ease-in-out;
    -o-transition: all 1.25s ease-in-out;
    transition: all 1.25s ease-in-out;
}

.main_cat_sect_card.active {
    width: 325px;
    height: 487px;
}
.main_cat_sect_card.active .main_cat_sect_card_title {
    color: #000;
    width: auto;
    overflow: visible;
}
/*--- hero only: fill родителя через flex (не height:100% — иначе вылезает за экран) ---*/
.hero-swiper .swiper-slide.noarrow {
    align-items: stretch;
    justify-content: flex-start;
}
.hero-swiper .swiper-slide.noarrow > .container {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
}
.hero-swiper .our-offers {
    display: flex;
    flex: 1 1 auto;
    min-height: 0;
    height: auto !important;
    width: 100%;
    flex-direction: row;
    padding-bottom: 0px;
    align-items: stretch;
    gap: 5px;
    /*justify-content: center !important;*/
    padding-top: 0px;
    max-width: 100%;
    margin: 0;
    box-sizing: border-box;
}
.hero-swiper .our-offer {
    /* сбрасываем styles.css 720px; высоту даёт stretch; ширина как было */
    height: auto !important;
    min-height: 0;
    flex: 0 0 calc(50% - 2.5px);
    width: calc(50% - 2.5px) !important;
    max-width: calc(50% - 2.5px);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
    /*padding-top: 100px;*/
}
.hero-swiper .our-offer img {
    object-position: center !important;
}
.hero-swiper .our-offer.cursor:hover {
    opacity: 0.99;
}
.hero-swiper .our-offer-inner {
    /*background: #000;*/
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
}
.our-offer-content {
    color: #fff;
    width: 100%;
    max-width: 330px;
    margin: 0 auto;
    text-align: center;
    font-size: 13px;
    position: absolute;
    bottom: 40px;
    left: 40px;
    /*right: 0;*/
    text-align: left;
}
.our-offer-title {
    /*margin-bottom: 20px;*/
}
.our-offer-title .link {
    color: #fff;
    display: inline-block;
    margin-top: 5px;
    border-bottom: solid 1px #fff;
    padding-bottom: 2px;
}
.our-offer-preview {
    margin-bottom: 40px;
}
.our-offer-content .btn.btn_white {
    height: 60px;
    background: #fff;
    color: #000;
    text-transform: uppercase;
}
.main_slider_last_img {
    width: 100%;
    height: calc(100% - 316px);
    /*background-image: url('/local/templates/actebx/images/main_footer.png');*/
    background-color: #000;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
}
.swiper-slide:last-child .footer-content {
    height: 316px;
}
.main_slider_last_img .slide-content {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.main_slider_last_img .slide-title {
    color: #fff;
    font-size: 13px;
    z-index: 20;
}
.main_slider_last_img .slide-title .link{
    color: #fff;
    font-size: 13px;
    display: inline-block;
    margin-top: 5px;
    border-bottom: solid 1px #fff;
    padding-bottom: 2px;
}
.swiper-slide {
  will-change: transform;
}
.hero-swiper .our-offer-logo-big {
    position: absolute;
    bottom: 20px;
    width: 100%;
}
.hero-swiper .our-offer .our-offer-logo-big img {
    display: block;
    width: calc(100% - 40px);
    margin: 0 auto;
}
.hero-swiper .swiper-slide:not(:last-child) .container {
    padding: 0px !important;
    max-width: none !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
}
.swiper-slide:last-child .container {
    padding: 0 40px !important;
}
header.header.__hide_logo_md .logo {
    opacity: 0 !important;
    pointer-events: none !important;
}
header.header.__hide_menu_md .header-content__right .main-menu {
    display: none !important;
}
@media (min-width: 767px) {
    .main_cat_sect_card:hover {
        width: 325px;
        height: 487px;
    }
    .main_cat_sect_card:hover .main_cat_sect_card_title {
        color: #000;
        width: auto;
    }
}
@media (max-width: 767px) {
    .hero-swiper {
        background: #fff;
        height: max-content;
    }
    .hero-swiper .swiper-wrapper {
        flex-direction: column;
        overflow: visible;
        /*height: max-content;*/
        height: 100svh;
    }
    .hero-swiper .swiper-slide {
        min-height: 100vh;
        align-items: flex-start;
        height: max-content;
    }
    .main_cat_sect {
        display: flex;
        gap: 20px;
        flex-direction: column;
        align-items: center;
        justify-content: start;
        padding-top: 100px;
        padding-bottom: 60px;
    }
    .main_cat_sect_card {
        width: calc(((100vh - 260px) / 6) / 3 * 2);
        height: calc((100vh - 260px) / 6);
    }
    .hero-swiper .swiper-slide:after {
        background-image: none;
        bottom: 40px;
    }
    .hero-swiper .swiper-slide.black {
        align-items: center;
    }
    .hero-swiper .swiper-slide.black:after {
        background-image: url('/local/templates/actebx/images/arr_dwn_wht.svg');
    }
    /*.hero-swiper .swiper-slide:last-child {
        min-height: max-content !important;
        height: max-content !important;
    }*/
    .hero-swiper .swiper-slide:last-child {
        justify-content: start;
        padding-top: 30px;
    }
    .main_cat_sect_card.active {
        margin-top: 25px;
    }
    .swiper-slide:last-child .container {
        padding: 0 20px !important;
    }
    .our-offer-content {
        width: 100%;
        max-width: 100%;
        padding: 0 20px;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        text-align: center;
        left: 0;
        bottom: 0;
    }
    .hero-swiper .swiper-slide,
    .hero-swiper .our-offers {
        min-height: 100svh !important;
        height: 100svh !important;
    }
    .hero-swiper .our-offer {
        height: 100svh !important;
        width: 100% !important;
    }
    .swiper-slide:last-child .footer-content {
        height: auto !important;
    }
}