.section {
    width: 100%;
    display: flex;
    background-color: #FFF;
}

.main__top {
    max-width: 1256px;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    margin: 0 auto;
}

.main-slider {
    max-width: 1920px;
    width: 100%;
    padding: 0 20px 154px;
    box-sizing: border-box;
    margin: 0 auto;
}

#broning .form__field-warning {
    top: -16px;
}

.main-slider__item-info__top {
    font-size: 52px;
}

.main-slider__item-info__top.right {
    max-width: 600px;
    margin: 0px 0px 0px 470px;
}

.main-slider__item-info__bottom.right {
    max-width: 600px;
    margin: 0px 0px 0px 470px;
}

.main-slider__item-info__bottom li {
    font-size: 22px;
    line-height: 28px;
    text-transform: initial;
    left: 26px;
    list-style-type: disc;
    font-family: 'Roboto';
    position: relative;
}

.main-slider__item-info__bottom span {
    font-size: 22px !important;
}

.main-slider__block {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    position: relative;

    & .swiper-button-prev {
        width: 64px;
        height: 64px;
        display: flex;
        justify-content: center;
        align-items: center;
        background-color: rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(4px);
        border-radius: 50%;
        border: none;
        top: 50%;
        left: 5%;
        transition: background-color .2s;

        &:after {
            content: none;
        }

        &:hover {
            background-color: rgba(118, 0, 0, .3);
        }
    }

    & .swiper-button-next {
        width: 64px;
        height: 64px;
        display: flex;
        justify-content: center;
        align-items: center;
        background: rgba(255, 255, 255, 0.3);
        backdrop-filter: blur(4px);
        border-radius: 50%;
        border: none;
        top: 50%;
        right: 5%;
        transition: background-color .2s;

        &:after {
            content: none;
        }

        &:hover {
            background-color: rgba(118, 0, 0, .3);
        }
    }

    & .swiper-pagination {
        display: none;
    }
}

.main-slider__item {
    width: 100%;
    height: 625px;
    display: flex;
    padding: 114px 0;
    background: linear-gradient(270deg, rgba(25, 34, 49, 0) 41.9%, rgba(25, 34, 49, 0.286584) 49.24%, rgba(25, 34, 49, 0.3) 60.95%, rgba(25, 34, 49, 0.4) 84.12%) center/cover no-repeat;
    background-blend-mode: overlay;
}

.main-slider__item-info {
    max-width: 1216px;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    gap: 19px;

     div {
        font: 20px/26px "Roboto";
        color: #FFF;
        max-width: 420px;

        &:first-of-type {
            font: 52px/57px "Libra Serif Modern";
            max-width: 672px;
            text-transform: uppercase;
        }
    }
}

.main-rooms {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 48px;
    /* padding: 30px 0; */
    overflow-x: hidden;
}

.main-rooms__title-block {
    display: flex;
    align-items: center;
    max-width: 1256px;
    width: 100%;
    padding: 0 20px;
    margin: 0 auto;

    & h2 {
        font: 48px/62px "Libra Serif Modern";
        color: #333333;
        text-transform: uppercase;
    }

    & span {
        font: 300 20px/26px Roboto;
        color: #333333;
        margin-left: 219px;
        max-width: 469px;
    }
}

.main-rooms__block {
    max-width: 1256px;
    width: 100%;
    padding: 0 36px;
    box-sizing: border-box;
    margin: 0 auto;
}

.main-rooms__item {
    max-width: 384px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 25px;
    position: relative;

    &:hover {
        & .main-rooms__item-info-title {
            color: #760000;
        }
    }
}

.main-rooms__item-image {
    width: 100%;
    aspect-ratio: 384 / 400;
    display: flex;
    border-radius: 12px;
    overflow-x: hidden;
    position: relative;

    & img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    & .swiper-pagination {
        bottom: 12px;
        display: flex;
        width: calc(100% - 34px);
        left: 17px;
        right: 17px;

        & .swiper-pagination-bullet {
            width: 100%;
            height: 2px;
            background-color: #FFF;
            opacity: .3;
            border-radius: 6px;
            transition: opacity .3s;
        }

        & .swiper-pagination-bullet-active {
            opacity: .6;
        }
    }
}

.main-rooms__item-info {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 29px;
    padding: 0 12px;
    box-sizing: border-box;
}

.main-rooms__item-info-title-block {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.main-rooms__item-info-title {
    font: 500 24px/24px Roboto;
    color: #333333;
    transition: color .3s;
}

.main-rooms__item-info-subtitle {
    width: 100%;
    display: flex;
    gap: 12px;

    & span {
        font: 300 14px/14px Roboto;
        color: #333333;
    }
}

.main-rooms__item-info-specs-block {
    width: 100%;
    display: flex;
    gap: 24px;
}

.main-rooms__item-info-spec {
    display: flex;
    gap: 8px;
    align-items: center;

    & span {
        font: 16px/16px Roboto;
        color: #333333;
    }
}

.main-rooms__item-info-price {
    width: 100%;
    display: flex;
    gap: 4px;
    align-items: baseline;

    & span:first-of-type {
        font: 20px/20px Roboto;
        color: #333333;
    }

    & span:last-of-type {
        font: 300 16px/16px Roboto;
        color: #333333;
    }
}

.main-rooms__item-tag {
    width: fit-content;
    display: flex;
    padding: 6px 12px;
    box-sizing: border-box;
    font: 14px / 18px "Libra Serif Modern";
    color: #333333;
    background-color: #FFFFFF;
    border-radius: 6px;
    position: absolute;
    top: 12px;
    left: 12px;
    right: 12px;
    z-index: 50;
    text-transform: uppercase;
}

.main-rooms__item-photo {

}

.main-specials {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding: 40px 0 80px;
    overflow-x: hidden;
}

.main-specials__title {
    max-width: 1256px;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    margin: 0 auto;

    & h2 {
        font: 48px/62px "Libra Serif Modern";
        color: #333333;
        text-transform: uppercase;
    }
}

.main-specials__block {
    width: 100%;
    max-width: calc(547px * 2 + 16px);
    margin: 0 auto;
}

.main-specials__item {
    max-width: 547px;
    width: 100%;
    aspect-ratio: 547 / 547;
    border-radius: 12px;
    overflow: hidden;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.4);
    background-blend-mode: overlay;
    display: flex;
    padding: 42px;
    box-sizing: border-box;
    justify-content: center;
    align-items: center;
    text-align: center;
    transition: 2s;

    & span {
        font: 36px/46px "Libra Serif Modern";
        color: #FFFFFF;
        text-transform: uppercase;
    }

    &:hover {
        scale: 103%;
    }
}

.main-comfort {
    width: 100%;
    display: flex;
    padding: 0 20px;
}

.main-comfort__inner {
    max-width: 1880px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding: 80px;
    margin: 0 auto;
    box-sizing: border-box;
    background-color: #F8F5F1;
    border-radius: 20px;
}

.main-comfort__title {
    max-width: 1256px;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    margin: 0 auto;

    & h2 {
        font: 48px/62px "Libra Serif Modern";
        color: #333333;
        text-transform: uppercase;
    }
}

.main-comfort__block {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.main-comfort__item {
    width: 100%;
    min-height: 260px;
    display: flex;
    gap: 24px;
}

.main-comfort__item-image {
    max-width: 932px;
    width: 100%;
    display: flex;
    border-radius: 20px;
    overflow: hidden;

    & img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.main-comfort__item-image-t {
    display: none;
    max-width: 932px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;

    & img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.main-comfort__item-image-m {
    display: none;
    max-width: 932px;
    width: 100%;
    border-radius: 20px;
    overflow: hidden;

    & img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

.main-comfort__item-info {
    max-width: 513px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 0;
    box-sizing: border-box;
    justify-content: center;

    & span {
        font: 36px/46px "Libra Serif Modern";
        color: #333333;
        text-transform: uppercase;
    }

    & p {
        font: 300 24px/36px Roboto;
        color: #333333;
        margin: 0;
    }

    & a {
        font: 300 24px/36px Roboto;
        color: #760000;
    }
}

.main-reviews {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 48px;
    padding: 80px 0 80px;
    overflow-x: hidden;
}

.main-reviews__title-block {
    max-width: 1256px;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
    margin: 0 auto;
    align-items: center;

    & h2 {
        font: 48px/62px "Libra Serif Modern";
        color: #333333;
        text-transform: uppercase;
    }
}

.main-reviews__ratings {
    display: flex;
    gap: 16px;
}

.main-reviews__block {
    width: 100%;
    max-width: calc(384px * 3 + 16px * 2);
    margin: 0 auto;
}
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #333;
    color: white;
    padding: 15px;
    text-align: center;
    z-index: 1000;
    display: none;
}
.cookie-notice button {
    background-color: #f39c12;
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    margin-left: 15px;
}
.main-reviews__item {
    max-width: 384px;
    width: 100%;
    display: flex;
    flex-direction: column;
    padding: 32px;
    gap: 40px;
    box-sizing: border-box;
    border: 1px solid #EBEDF1;
    border-radius: 12px;
    cursor: grab;
}

.main-reviews__item-head {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

.main-reviews__item-head-author {
    max-width: 200px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;

    & span:first-of-type {
        font: 500 16px/16px Roboto;
        color: #333333;
    }

    & span:last-of-type {
        font: 14px/21px Roboto;
        color: #9EA4AD;
    }
}

.main-reviews__stars {
    display: flex;
    gap: 4px;
}

.main-reviews__item-body {
    width: 100%;
    display: flex;

    & p {
        font: 300 16px/24px Roboto;
        color: #333333;
        margin: 0;
    }
}

.main-banner {
    width: 100%;
    display: flex;
    padding: 80px 20px;
    box-sizing: border-box;
}

.main-banner__inner {
    max-width: 1880px;
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 1880 / 744;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 80px;
    box-sizing: border-box;
    background-image: url("/local/templates/b4x64_hotel/static/img/banner-bg.png");
    background-position: center;
    background-size: cover;
    background-blend-mode: overlay;
    border-radius: 20px;

    & span {
        font: 48px/81px "Libra Serif Modern";
        color: #333333;
        text-transform: uppercase;
        max-width: 1190px;
    }
}

.main-feedback {
    max-width: 1256px;
    width: 100%;
    padding: 80px 20px;
    box-sizing: border-box;
    margin: 0 auto;
    display: flex;
    gap: 48px;
}

.main-feedback__title {
    max-width: 543px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 11px;

    & h2 {
        font: 48px/62px "Libra Serif Modern";
        color: #333333;
        text-transform: uppercase;
    }

    & span {
        font: 300 18px/25px Roboto;
        color: #333333;
    }
}

.main-feedback__form {
    width: 100%;
    display: flex;
}

.main-feedback__form-inner {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.main-feedback__inputs {
    width: 100%;
    display: flex;
    gap: 16px;
}

.main-feedback__input {
    width: 100%;
    display: flex;
    border: 2px solid #EBEDF1;
    box-sizing: border-box;
    border-radius: 12px;
    cursor: pointer;
    margin: 0;
    position: relative;
    transition: border .2s;

    & input {
        width: 100%;
        height: 48px;
        border: none;
        outline: none;
        font: 18px/24px Roboto;
        color: #333333;
        padding: 0 16px;
        border-radius: 12px;
        margin: 0;
        cursor: pointer;

        &::placeholder {
            font: 18px/24px Roboto;
            color: #9EA4AD;
        }
    }

    & span {
        display: none;
        position: absolute;
        left: 0;
        bottom: -16px;
        font: 12px/12px Roboto;
        color: #E83838;
    }

    &:hover:not(:focus-within) {
        border: 2px solid #D2D6DC;
    }

    &:focus-within {
        border: 2px solid #760000;
    }
}

.main-feedback__submit-block {
    width: 100%;
    display: flex;
    gap: 16px;
    align-items: center;

    & span {
        /*display: flex;*/
        width: 100%;
        font: 300 13px/18px Roboto;
        color: #9EA4AD;

        & a {
            color: rgb(203, 67, 83);
        }
    }
}

.main-feedback__submit-btn {
    width: 100%;
    display: flex;
    height: 48px;
    background-color: #760000;
    border-radius: 10px;
    justify-content: center;
    align-items: center;
    font: 500 16px/24px Roboto;
    color: #FFFFFF;
    outline: none;
    border: none;
    padding: 0;
    transition: background-color .2s;

    &:hover {
        background-color: #A83232;
    }

    &:active {
        background-color: #4E0000;
    }
}

.main-map {
    width: 100%;
    display: flex;
    padding: 80px 20px 0;
    box-sizing: border-box;
}

.main-map__inner {
    max-width: 1880px;
    width: 100%;
    margin: 0 auto;
    aspect-ratio: 1880 / 744;
    display: flex;
    border-radius: 20px;
    overflow: hidden;

    & #map {
        width: 100%;
        height: 100%;
    }
}

.input-error {
    border: 2px solid #E83838;

    & span {
        display: flex;
    }
}

.services__inner {
    max-width: 1256px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 46px;
    margin: 0 auto;
    padding: 35px 20px 32px;
    box-sizing: border-box;
}

.header__menu-nav-contacts-link {
    font: 18px / 100% Roboto;
    color: #333333;
    text-decoration: none;
    padding: 10px 0;
    display: flex;
    transition: color .3s;
}

.header__menu-nav-contacts-link:hover {
    color: #760000;

}

.section__services-title {
    font-size: 16px;
    font-weight: 400;
    line-height: 22px;
    color: #333333;
    max-width: 260px;
}

.section__services .section__services-block {
    display: flex;
    gap: 12px;
    width: 31%;
    align-items: center;
}

.section__services-right-rows .section__services-block {
    display: flex;
    gap: 12px;
    width: 49%;
}

.section__services {
    display: flex;
    gap: 23px;
    grid-template-columns: 1fr 1fr 1fr;
    margin-bottom: 49px;
    flex-wrap: wrap;
}

.sub-title__services {
    margin-bottom: 32px;
    font-size: 24px;
    font-weight: 500;
    line-height: 43.2px;
    color: #333333;
}

.sub-section__services-right {
    display: flex;
    grid-template-columns: 1fr 1fr;
    gap: 23px;
    width: 709px;
    flex-wrap: wrap;
}

.sub-section__services-right-end {
    gap: 23px;
    display: grid;
    grid-template-columns:  1fr;
}

.section__services-right {
    display: flex;
    justify-content: space-between;
}

.rows-services {
    width: 1069px;
}

.section__services-right-rows .section__services-block {
    display: flex;
    gap: 12px;
    align-items: center;
    width: 47%;
}

.section__services-right-rows-end {
    width: 385px;
}

.section__services-right-rows-end .section__services-block {
    display: flex;
    gap: 12px;
    align-items: center;
}

.contacts__item {
    border: 1px solid #EBEDF1;
    padding: 32px 32px 0px 32px;
    display: flex;
    flex-direction: column;
    height: 100%;
    border-radius: 12px;
}

.contacts__item-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
    color: #333333;
}

.contacts__item-name {
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    color: #333333;
    margin-bottom: 13px;
}

.contacts__item-phone {
    color: #760000;
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
}

.contacts__item-title {
    margin-bottom: 7px;
}

.contacts__item-email {
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    color: #333333;
    margin-bottom: 32px;
    margin-top: 7px;
}

.row.row-contacts {
    row-gap: 16px;
}

.requisites-rows {
    display: flex;
    justify-content: space-between;
    width: 87%;
    padding: 0px 15px;
}

.requisites-block__item {
    display: flex;
    gap: 12px;
    cursor: pointer;
    align-items: center;
}

.requisites-block .requisites-block__item:nth-child(even) {
    margin-bottom: 16px;
}

.rows-about {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    margin-bottom: 80px;
}

.right-block__about p {
    font-family: "Libra Serif Modern";
    font-size: 36px;
    font-weight: 400;
    line-height: 46.8px;
    color: #333333;
}

.right-block__about span {
    font-size: 24px;
    font-weight: 300;
    line-height: 36px;
}

.right-block__about {
    padding: 0px 15px;
}

.requisites-block__item:hover svg path:nth-child(1) {
    fill: #E5252A;
}

.requisites-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 30px;
    color: #333333;
    margin-bottom: 24px;
}

.requisites__name {
    font-size: 16px;
    font-weight: 700;
    line-height: 24px;
    color: #333333;
}

.requisites-block {
    display: flex;
    flex-direction: column;
}

.requisites-block__item a {
    display: flex;
    gap: 12px;
    cursor: pointer;
    align-items: center;
}

.preview-img__about {
    margin-bottom: 72px;
    padding:0px 20px;
}

.title__about {
    font-family: "Libra Serif Modern";
    font-size: 48px;
    font-weight: 400;
    line-height: 81.6px;
    color: #333333;
    text-align: center;
    text-transform: uppercase;
}
.gallery__list.row .gallery__list-item-rows a{
    width: 383px;
}
.gallery__list.row .gallery__list-item-rows a img{
    border-radius: 12px;
    height: 250px;
    object-fit: cover;
    width: 100%;
}
.line-top__about {
    width: 307px;
    height: 1px;
    display: block;
    border: 1px solid #333333;
    margin: 0 auto;
    margin-bottom: 24px;
}

.line-bottom__about {
    width: 307px;
    height: 1px;
    display: block;
    border: 1px solid #333333;
    margin: 0 auto;
    margin-top: 24px;
}

.info-text__about {
    text-align: center;
    font-size: 24px;
    font-weight: 300;
    line-height: 36px;
    margin-top: 32px;
    display: block;
}

.info-block__item {
    display: flex;
    gap: 32px;
    margin-top: 80px;
    margin-bottom: 50px;
}

.info-block__item-img {
    height: 436px;
}

.info-block__item-text {
    font-family: "Libra Serif Modern";
    font-size: 36px;
    font-weight: 400;
    line-height: 46.8px;
    margin-top: 32px;
    text-transform: uppercase;
}

.info-block__item-span {
    font-size: 24px;
    font-weight: 300;
    line-height: 36px;
}

.title__action {
    font-size: 48px;
    font-weight: 400;
    line-height: 62.4px;
    color: #333333;
    text-transform: uppercase;
    margin-bottom: 48px;

}

.rows-block__action {
    display: flex;
    gap: 24px;
}

.main-block__action {
    display: flex;
    width: 50%;
    flex-direction: column;
    gap: 28px;
}

.main-rooms__block {
    margin-bottom: 60px;
}

.preview-img__about.services__img {
    margin-top: 48px;
    width: 100%;
}

.header-block__action {
    background: #760000;
    position: relative;
    border-radius: 20px;
    padding: 38px 48px;
    height: 220px;
}

.header-block__action:before {
    content: url("/local/templates/b4x64_hotel/img/action_title.png");
    position: absolute;
    right: 0px;
    top: 0px;
    z-index: 0;
}

.time-free_action {
    font-size: 14px;
    font-weight: 400;
    line-height: 18.2px;
    color: #333333;
    text-transform: uppercase;
    font-family: "Libra Serif Modern";
    background: #FFFFFF;
    padding: 6px 12px;
    border-radius: 6px;
}

.sub-item__action {
    font-family: 'Roboto';
    font-size: 24px;
    font-weight: 400;
    line-height: 36px;
    color: #333333;
}

.desc__action {
    display: block;
    margin-top: 24px;
    font-family: 'Roboto';
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    color: #333333;

}

.name__action {
    display: block;
    font-family: "Libra Serif Modern";
    margin-top: 32px;
    text-transform: uppercase;
    font-size: 40px;
    font-weight: 400;
    line-height: 52px;
    color: #FFFFFF;
    z-index: 1;
    position: relative;
}

.block-galereya {
    height: 270px;
    background-repeat: no-repeat;
    position: relative;
    border-radius:12px;
}

.block-galereya svg {
    position: absolute;
    right: 15px;
    top: 15px;
    display: none;
}

.block-galereya:hover svg {
    display: block;
}

.link-galereya {
    width: 49%;
}

.rows-galereya {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 32px;
}

.name-galereya {
    font-family: "Libra Serif Modern";
    font-size: 36px;
    font-weight: 400;
    line-height: 46.8px;
    text-transform: uppercase;
    text-align: center;
    color: #FFFFFF;
    width: fit-content;
    margin: 0 auto;
    position: relative;
    top: 43%;
}

.count_photo {
    font-family: Roboto;
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
    text-align: center;
    color: #FFFFFF;
    width: fit-content;
    margin: 0 auto;
    position: relative;
    top: 65%;
}

.form.form--review .checkbox {
    width: 100%;
    margin-top: 15px;
}

.form.form--review .checkbox input {
    display: none;
}

.conference-form-checkbox .checkbox__input:checked + .checkbox__label::before {
    background-color: rgb(203, 67, 83);
    border-color: rgb(203, 67, 83);
    content: '\2713';
    color: white;
    text-indent: 2px;
}

.gallery__list-item-name {
    font-size: 24px;
    font-weight: 500;
    line-height: 43.2px;
    color: #333333;
}

.gallery__list-info {
    display: flex;
    align-items: center;
    gap: 32px;
}

.gallery__list-count {
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
}

.gallery__list-item-overimg-deteil {
    width: 383px;
    display: block;
    position: relative;
    height: 250px;
    overflow: hidden;
}

.gallery__list-item-rows {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    margin-top: 26px;
}

.gallery__list-item-rows a {
    border-radius: 12px;
}

.gallery__list.row {
    margin-top: 30px;
}

.gallery__list-item-rows a {
    position: relative;
}

.gallery__list-item-rows a:hover:before {
    content: '';
    background: #00000066;
    width: 100%;
    height: 100%;
    position: absolute;
}
body.actives:after {
    content: '';
    width: 100%;
    position: absolute;
    z-index: 111111;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.5); /* Добавляем цвет фона */
}


.handler {
    position: absolute;
    top: -10px;
    left: 50%;
    width: 40px;
    padding: 2px 20px;
    display: flex;
    background: white;
    align-items: center;
    border-radius: 20px;
    justify-content: center;
    transform: translateX(-50%);
}

.handler span {
    height: 4px;
    width: 100%;
    background: #fff;
}
.gallery__list-item-rows a:hover:after {
    content: url("/local/templates/b4x64_hotel/img/gallery-magnifier.png");
    position: absolute;
    top: 50%;
    left: 45%;
}

.load_more {
    font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    letter-spacing: 0.02em;
    color: #760000;
    padding: 11px 20px;
    border: 1px solid #760000;
    width: 158px;
    border-radius: 10px;
    cursor: pointer;
}

.rows-pagination {
    display: flex;
    align-items: flex-end;
    width: 100%;
    gap: 300px;
    justify-content: flex-end;
    margin-top: 48px;
}

.rows-pagination .bx-pagination {
    display: flex;
    margin: 0px;
}
.gallery__btn.mobile .header__order-button{
    display: none;
}
.preview-img__about.mobile{
    display: none;
}
@media screen and (max-width: 1100px) {
    .main__top {
        padding: 26px 60px 0;
    }
    .container.container_rows-galereya{
        max-width: 100%;
        padding: 26px 60px 0;
    }
    .link-galereya{
        width: 48%;
    }
    .main-slider {
        padding: 0 20px 120px;
    }

    .main-slider__block {
        & .swiper-button-prev {
            display: none;
        }

        & .swiper-button-next {
            display: none;
        }

        & .swiper-pagination {
            bottom: 135px;
            display: flex;
            width: calc(100% - 124px);
            left: 62px;
            right: 62px;

            & .swiper-pagination-bullet {
                width: 100%;
                height: 2px;
                background-color: #FFF;
                opacity: .3;
                border-radius: 6px;
                transition: opacity .3s;
            }

            & .swiper-pagination-bullet-active {
                opacity: .6;
            }
        }
    }

    .main-slider__item {
        padding: 80px 40px;
        box-sizing: border-box;
        background: linear-gradient(360deg, rgba(25, 34, 49, 0) 35.07%, rgba(25, 34, 49, 0.5) 44.8%, rgba(25, 34, 49, 0.6) 60.32%, rgba(25, 34, 49, 0.7) 91.04%) center / cover no-repeat;
    }

    .main-slider__item-info {
        & span {
            &:first-of-type {
                font: 48px/52px "Libra Serif Modern";
                max-width: unset;
            }
        }
    }

    .main-rooms {
        padding: 60px 0;
    }

    .main-rooms__title-block {
        padding: 0 60px;

        & h2 {
            font: 40px/50px "Libra Serif Modern";
        }

        & span {
            margin-left: 48px;
        }
    }

    .main-rooms__block {
        padding: 0 60px;
    }

    .main-rooms__item {
        max-width: 320px;

        &:hover {
            & .main-rooms__item-info-title {
                color: #333333;
            }
        }

        &:active {
            & .main-rooms__item-info-title {
                color: #760000;
            }
        }
    }

    .main-rooms__item-image {
        aspect-ratio: 320 / 400;
    }

    .main-rooms__item-info-title {
        font: 500 24px/22px Roboto;
    }

    .main-rooms__item-info-specs-block {
        gap: 16px 24px;
        flex-wrap: wrap;
    }

    .main-specials {
        padding: 60px 0;
    }

    .main-specials__title {
        padding: 0 60px;

        & h2 {
            font: 40px/52px "Libra Serif Modern";
        }
    }

    .main-specials__block {
        max-width: unset;
        width: 100%;
        padding: 0 60px;
        box-sizing: border-box;
    }

    .main-specials__item {
        max-width: 420px;
        aspect-ratio: 420 / 547;

        &:hover {
            scale: 100%;
        }

        &:active {
            scale: 103%;
        }
    }

    .main-comfort {
        box-sizing: border-box;
    }

    .main-comfort__inner {
        gap: 56px;
        padding: 60px 40px 47px;
    }

    .main-comfort__title {
        padding: 0;

        & h2 {
            font: 40px/52px "Libra Serif Modern";
        }
    }

    .main-comfort__block {
        gap: 38px;
    }

    .main-comfort__item {
        min-height: unset;
        flex-direction: column;
        gap: 22px;
    }

    .main-comfort__item-image {
        display: none;
        max-width: 932px;
        height: 260px;
    }

    .main-comfort__item-image-t {
        display: flex;
        max-width: 932px;
        height: 260px;
    }

    .main-comfort__item-info {
        max-width: 932px;
        padding: 0;
    }

    .main-reviews {
        padding: 60px 0;
    }

    .main-reviews__title-block {
        padding: 0 60px;
    }

    .main-reviews__block {
        padding: 0 60px;
        box-sizing: border-box;
    }

    .main-reviews__item {
        max-width: 320px;
    }

    .main-reviews__item-head-author {
        max-width: 140px;
    }

    .main-reviews__stars {
        gap: 2px;
    }

    .main-banner {
        padding: 0 20px;
    }

    .main-banner__inner {
        aspect-ratio: unset;
        height: 736px;
        padding: 40px;
        background-image: url("/local/templates/b4x64_hotel/static/img/banner-t.png");

        & span {
            font: 40px/68px "Libra Serif Modern";
        }
    }

    .main-feedback {
        padding: 60px;
        flex-direction: column;
        gap: 41px;
    }

    .main-feedback__title {
        max-width: unset;

        & h2 {
            font: 40px/52px "Libra Serif Modern";
        }
    }

    .main-map {
        padding: 0 20px;
    }

    .main-map__inner {
        aspect-ratio: unset;
        height: 560px;
    }
    .services__inner{
        padding: 34px 60px 0;
    }
    .section__services{
        display:grid;
        grid-template-columns:1fr 1fr;
    }
    .section__services .section__services-block{
        width: fit-content;
    }
    .section__services-right{
        flex-direction:column;
    }
    .section__services-right-rows-end{
        margin-top:48px;
    }
    .rows-services{
        width: 100%;
    }
    .main-rooms__conference{
        flex-direction:column;
        padding-bottom: 32px;
    }
    .main-rooms__item-image.conference{
        width: 100%;
    }

    .rows-block__action{
        flex-direction:column;
    }
    .title__about{
        font-size: 40px;
        line-height: 68px;
    }
    .main-block__action{
        gap:24px;
        width: 100%;
    }
    .name__action{
        width: 374px;
    }
    .preview-img__about.services__img{
        padding:0px 20px;
    }
}

@media screen and (max-width: 768px) {
    .row.row-contacts{
        row-gap:0px;
    }
    .requisites-rows{
        margin-top: 30px;
    }
    .name-galereya{
        font-size:32px;
    }
    .requisites-rows{
        flex-direction:column;
    }
    .requisites-block{
        margin-bottom:28px;
    }
    .requisites-block__item svg path:nth-child(1){
        fill: #E5252A;
    }
    .right-block__about p{
        font-size:32px;
    }
    .right-block__about span{
        font-size:18px;
        line-height:27px;
    }
    .title__about{
        line-height:68px;
    }
    .info-text__about{
        font-size:18px;
        line-height:27px;
        padding:0px 22px;
    }
    .info-block__item-img{
        height: 220px;
    }
    .info-block__item-text{
        font-size:32px;
        line-height:41px;
        margin-bottom:24px;
    }
    .info-block__item-span{
        font-size:18px;
        line-height:27px;
    }
    .rows-about{
        padding: 0px 22px 0;
    }
    .info-block__item{
        padding:0px 22px;
    }
}
@media screen and (max-width: 720px) {
    .main__top {
        padding: 32px 20px 19px;
    }

    .main-slider {
        padding: 0 10px 319px;
    }

    .main-slider__block {
        & .swiper-pagination {
            bottom: 114px;
            width: calc(100% - 70px);
            left: 35px;
            right: 35px;
        }
    }

    .main-slider__item {
        height: 426px;
        padding: 20px;
        background: linear-gradient(359.71deg, rgba(25, 34, 49, 0) 29.7%, rgba(25, 34, 49, 0.5) 45.45%, rgba(25, 34, 49, 0.6) 72.04%, rgba(25, 34, 49, 0.7) 99.68%) center / cover no-repeat;
    }

    .main-slider__item-info {
        gap: 16px;


    }
    .main-slider__item-info div span {
        font: 16px/21px "Roboto";


    }
    .main-slider__item-info__bottom li{
        font-size:18px;
    }

    .main-slider__item-info  .main-slider__item-info__top span{
        font-size: 32px;
        line-height: 32px;
    }
    .main-slider__item-info .main-slider__item-info__bottom  span{
        font-size: 16px;
        line-height: 20px;
    }
    .main-slider__item-info .main-slider__item-info__top{
        font-size: 0px;
    }
    .main-rooms {
        gap: 32px;
        padding: 48px 0;
    }

    .main-rooms__title-block {
        align-items: unset;
        padding: 0 20px;
        flex-direction: column;
        gap: 16px;

        & h2 {
            font: 28px/36px "Libra Serif Modern";
        }

        & span {
            font: 300 16px/21px Roboto;
            margin-left: unset;
            max-width: unset;
        }
    }

    .main-rooms__block {
        padding: 0 20px;
    }

    .main-rooms__item-image {
        aspect-ratio: 320 / 400;
    }

    .main-specials {
        gap: 29px;
        padding: 48px 20px;
        box-sizing: border-box;
    }

    .main-specials__title {
        padding: 0;

        & h2 {
            font: 28px/36px "Libra Serif Modern";
        }
    }

    .main-specials__block {
        padding: 0;

        & .swiper-wrapper {
            width: 100%;
            display: flex;
            flex-direction: column;
            gap: 16px;
            height: auto;
        }
    }

    .main-specials__item {
        max-width: 420px;
        aspect-ratio: 335 / 150;
        padding: 20px;

        & span {
            font: 24px/31px "Libra Serif Modern";
            max-width: 238px;
            width: 100%;
        }
    }

    .main-comfort {
        padding: 0 10px;
    }

    .main-comfort__inner {
        gap: 32px;
        padding: 48px 20px 42px;
    }

    .main-comfort__title {
        padding: 0;

        & h2 {
            font: 28px/36px "Libra Serif Modern";
        }
    }

    .main-comfort__block {
        gap: 42px;
    }

    .main-comfort__item {
        gap: 18px;
    }

    .main-comfort__item-image {
        display: none;
        height: unset;
        aspect-ratio: 315 / 150;
        border-radius: 12px;
    }

    .main-comfort__item-image-t {
        display: none;
    }

    .main-comfort__item-image-m {
        display: flex;
        height: unset;
        aspect-ratio: 315 / 150;
        border-radius: 12px;
    }

    .main-comfort__item-info {
        gap: 8px;
        padding: 0;

        & span {
            font: 22px/29px "Libra Serif Modern";
        }

        & p {
            font: 300 16px/24px Roboto;
        }

        & a {
            font: 300 16px/24px Roboto;
        }
    }

    .main-reviews {
        gap: 32px;
        padding: 48px 0;
    }

    .main-reviews__title-block {
        padding: 0 20px;
        align-items: unset;

        & h2 {
            font: 28px/36px "Libra Serif Modern";
        }
    }

    .main-reviews__block {
        max-width: unset;
        padding: 0 20px;
        box-sizing: border-box;
    }

    .main-reviews__item {
        max-width: 320px;
    }

    .main-banner {
        padding: 0 10px;
    }

    .main-banner__inner {
        aspect-ratio: unset;
        height: 447px;
        padding: 10px;
        background-image: url("/local/templates/b4x64_hotel/static/img/banner-m.png");

        & span {
            font: 24px/40px "Libra Serif Modern";
        }
    }

    .main-feedback {
        padding: 48px 20px;
        gap: 32px;
    }

    .main-feedback__title {
        gap: 18px;

        & h2 {
            font: 28px/36px "Libra Serif Modern";
        }

        & span {
            font: 300 16px/20px Roboto;
        }
    }

    .main-feedback__inputs {
        flex-direction: column;
    }

    .main-feedback__submit-block {
        align-items: unset;
        flex-direction: column;
    }

    .main-map {
        padding: 0 10px;
    }

    .main-map__inner {
        height: 338px;

    }
}
@media screen and (max-width: 578px) {
    .container.container_rows-galereya{
        padding: 0px 20px 0px;
    }
    .main-slider__item-info__bottom span{
        font-size: 19px !important;
    }
    .main-slider__item-info .main-slider__item-info__top span{
        font-size: 24px;
        line-height: 30px;
    }
    .main-slider__item-info__bottom.right{
        margin: 0;
    }
    .main-slider__item-info__top.right{
        margin: 0;
    }
    .rows-about{
        padding:0px 7px;
        margin-bottom:48px;
    }
    .right-block__about span{
        font-size:16px;
        line-height:24px;
    }
    .right-block__about p{
        font-size:28px;
        line-height:36px;
        margin-bottom:24px;
    }

    .link-galereya{
        width: 100%;
    }
    .requisites-rows{
        width: 100%;
        padding: 0px 26px;
    }
    .services__inner{
        padding: 32px 20px 19px;
    }
    .section__services-right-rows .section__services-block{
        width: 100%;
    }
    .section__services.rooms-details__specs-includes{
        padding-left:0px;
    }
    .sub-section__services-right.rooms-details__specs-includes{
        padding-left:0px;
    }
    .title__action{
        font-size:28px;
        margin-bottom:36px;
    }
    .name__action{
        font-size:28px;
        line-height:36.4px;
    }
    .sub-item__action{
        font-size: 18px;
        line-height: 27px;

    }
    .title__about{
        font-size: 24px;
        line-height: 40.8px;
    }
    .info-text__about{
        font-size: 16px;
        line-height: 24px;
    }
    .preview-img__about{

        height: 225px;
    }
    .main__top .preview-img__about{
        margin-bottom:48px;
    }
    .info-text__about{
        padding:0px 6px;
    }
    .info-block__item{
        flex-direction:column;
        margin-top:40px;
    }
    .info-block__item-img{
        width: 100%;
    }
    .info-block__item-text{
        font-size:24px;
        line-height:31px;
    }
    .info-block__item-span{
        font-size:16px;
        line-height:24px;
    }
    .info-block__item{
        padding:0px 6px;
    }
    .name__action{
        width: fit-content;
    }
    .preview-img__about{
        margin-bottom:58px;
    }
    /* .middle-block__conference{
        z-index: 9999999999;
    } */
    .main-rooms__block{
        margin-bottom:25px;
    }
    .gallery__list-item-rows{
        display: block;
    }
    .gallery__list-item-rows a:hover:before{
        width:320px;
        border-radius:20px;
    }
    .gallery__list-item-rows a:hover:after{
        top: 7%;
        right: 12%;
        left: unset;
    }
    .gallery__list-item-rows .slick-slide img{
        width: 320px;
        border-radius:10px;
    }
    .slick-initialized .slick-slide{
        padding-right:16px;
    }
    .gallery__btn .header__order-button{
        display: none;
    }
    .gallery__btn.mobile .header__order-button{
        display: flex;
        width: 100%;
        margin-top: 10px;
    }
    .rows-pagination{
        margin-top:20px;
    }
    .block-galereya{
        height: 221px;
    }
    .name-galereya{
        font-size: 28px;
        font-weight: 400;
        line-height: 36.4px;    

    }
    .preview-img__about.mobile{
        display: block;
    }
    .preview-img__about{
        display: none;
    }
    .sub-title__services{
        font-size: 20px;
    }
    .section__services-right-rows-end{
        width: 100%;
    }
    .header-block__action{
        padding: 24px 24px;
    }

    .contacts__item-title{
        width: 287px;
    }
    .main-slider__item-info__bottom li:last-child{
        max-width: 150px;
    }
    .main-rooms__item-tag{
        width: 100%;
        display: block;
        max-width: 200px;
        font-size: 12px;
    }
    .main-rooms__item-info{
        margin-top: 20px;
        gap:15px;
    }
    .main-slider__item-info {
        max-width: 1216px;
        width: 100%;
        display: flex;
        flex-direction: column;
        margin: 0 auto;
        gap: 19px;
    
         div {
            font: 20px/26px "Roboto";
            color: #FFF;
            max-width: 420px;
    
            &:first-of-type {
                font: 52px/20px "Libra Serif Modern";
                max-width: 672px;
                text-transform: uppercase;
            }
        }
    }
}