* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Montserrat Alternates", Arial, sans-serif;
}

body {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background-color: #f5f5f5;
    align-items: flex-start;
}
.sidebar::before {
    content: "";
    position: absolute;
    top: -100px; /* Выступает над sticky-элементом */
    left: 0;
    width: 100%;
    height: 110%;
    background: linear-gradient(90deg, #abbfb2 0%, #6a8373 100%);
}

header {
    background: rgba(255, 255, 255, 0.5);
    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
    border-radius: 0px 0px 20px 20px;
    filter: drop-shadow(0px 4px 21.4px rgba(0, 0, 0, 0.25));
    padding: 15px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 100;
    backdrop-filter: blur(2px);
    margin-left: 320px;
}

.desktop-header {
    display: flex;
    width: 100%;
    height: 70px;
}

.header-left {
    display: flex;
    align-items: center;
    width: 30%;
    margin-left: 20px;
}

.menu-toggle {
    width: 50px;
    height: 50px;
    cursor: pointer;
    filter: drop-shadow(0px 3px 4px rgba(0, 0, 0, 0.25));
}

.logo {
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40%;
    color: #333;
}

.logo img {
    height: 90px;
    margin-right: 10px;
}

.header-right {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    width: 30%;
    gap: 20px;
}

/* Обновленные стили для кнопки Контакты */
.contacts-btn {
    background: #ffffff;
    box-shadow: inset 0px 4px 4px 1px rgba(0, 0, 0, 0.15);
    border-radius: 0px 25px;
    border: none;
    padding: 8px 15px;
    cursor: pointer;
    font-size: 20px;
    color: #aaaaaa;
    font-family: "Montserrat Alternates", sans-serif;
    font-weight: 400;
    text-shadow: 0px 1px 3.4px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
}

.contacts-btn:hover {
    background: #f0f0f0;
    transform: translateY(-1px);
}

.home-icon {
    cursor: pointer;
    height: 50px;
}

.mobile-header {
    display: none;
}
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(102, 102, 102, 0.41);
    backdrop-filter: blur(10.3px);
    z-index: 1000;
    justify-content: center;
    align-items: center;
}

.modal-content {
    width: 1232px;
    height: 835px;
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0px 4px 16px rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(10.95px);
    border-radius: 30px;
    padding: 40px;
    position: relative;
    overflow: auto;
}
.modal-content.cinema {
    display: flex;
    gap: 10px;
}
.close, .close-cinema {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
}
.modal-text {
    max-width: 900px;
    margin: 0 auto;
    padding-top: 30px;
    font-size: 18px;
    line-height: 1.6;
}
.modal-text.cinema {
    display: flex;
    flex-direction: column;
    width: 60%;
    padding: 30px;
    background: #FFFFFF;
    box-shadow: 0px 4px 18.7px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;
    color: #5B2812;
    text-shadow: 0px 4.0795px 4.0795px rgba(0, 0, 0, 0.25);
}
.modal-text h2 {
    margin-bottom: 30px;
    text-align: center;
    font-weight: 400;
    font-size: 64px;
    line-height: 78px;
    color: #83B2B6;
    text-shadow: 0px 4px 6.3px rgba(0, 0, 0, 0.26);
}
.modal-desc-text {
    font-style: normal;
    font-weight: 400;
    font-size: 30px;
    line-height: 44px;
    color: #5b2812;
    margin-top: 20px;
}
.modal-desc-text.cinema {
    font-size: 20px;
}
.modal-img-cinema {
    display: flex;
    width: 40%;
    height: 100%;
    min-height: 100%;
    flex-direction: column;
    align-self: center;
    align-items: center;
    justify-content: center;
    margin: auto;
}
.modal-img-cinema-screen {
    display: block;
    width: 100%;
    height: 100%;
    max-height: 900px;
    margin: auto;
    border-radius: 10px;
}

@media (max-width: 900px) and (min-width: 800px) {
    /* Сохраняем десктопный header без изменений */
    .contacts-btn {
        display: none;
    }
}

@media (max-width: 799px) and (min-width: 699px) {
    /* Сохраняем десктопный header без изменений */
    header {
        padding: 15px 20px;
        background: rgba(255, 255, 255, 0.5);
        box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.2);
        border-radius: 0px 0px 20px 20px;
        filter: drop-shadow(0px 4px 21.4px rgba(0, 0, 0, 0.25));
        backdrop-filter: blur(5px);
    }
}

@media only screen and (max-width: 699px) {
    /* Скрыть десктопную шапку */
    .desktop-header {
        display: none;
    }

    /* Показать мобильную шапку */
    .mobile-header {
        display: block;
    }

    /* Стили для header */
    header {
        height: 253.12px;
        background: none;
        padding: 0;
        position: relative;
        overflow: hidden;
        /* Убираем новые стили для мобильной версии */
        background: none;
        box-shadow: none;
        border-radius: 0;
        filter: none;
        backdrop-filter: none;
        margin-left: 0px;
    }

    /* Фон шапки */
    .mobile-header {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url("/static/img/home/family.jpg") no-repeat center center;
        background-size: cover;
        z-index: -1;
    }

    /* Кнопка меню слева */
    .mobile-menu-btn {
        position: absolute;
        width: 86px;
        height: 31.68px;
        left: 0;
        top: 8px;
        background: #dfc070;
        box-shadow: 0px 4.52632px 9.05263px rgba(0, 0, 0, 0.25);
        border-radius: 0px 117.684px 117.684px 0px;
        border: none;
        color: white;
        font-family: "Montserrat Alternates", sans-serif;
        font-size: 14px;
        z-index: 10;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    /* Кнопка справа с иконками */
    .mobile-right-btn {
        position: absolute;
        width: 86px;
        height: 31.68px;
        right: 0;
        top: 8px;
        background: #dfc070;
        box-shadow: 0px 4.52632px 9.05263px rgba(0, 0, 0, 0.25);
        border-radius: 117.684px 0px 0px 117.684px;
        border: none;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 15px;
        z-index: 10;
    }

    .mobile-right-btn i {
        color: #333;
        font-size: 16px;
    }

    /* Логотип по центру */
    .mobile-logo {
        position: absolute;
        width: 118px;
        height: 65px;
        left: 50%;
        top: 12px;
        transform: translateX(-50%);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 10;
    }

    .mobile-logo img {
        max-width: 100%;
        max-height: 100%;
    }
    .modal-desc-text {
        font-size: 20px;
    }
    .modal {
        background: linear-gradient(0deg, #749da1 17.5%, rgba(153, 208, 213, 0) 100%);
        border-radius: 0px;
        backdrop-filter: blur(100px);
        height: 100vh;
        width: 100vw;
    }
    .modal-content {
        width: 90%;
        height: 100vh;
        background: none;
        box-shadow: none;
        backdrop-filter: none;
        border-radius: 30px;
        padding: 40px;
        position: relative;
        overflow: auto;
    }
}
.menu {
    /* Исходные стили */
    width: 320px;
    height: 24px;
    font-family: "Montserrat Alternates";
    font-style: normal;
    font-weight: 400;
    font-size: 20px;
    line-height: 24px;
    color: #ffffff;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    margin: 33px 0;
    padding-left: 38px;
    box-sizing: border-box;
    display: flex;
    position: relative;
    cursor: pointer;
    transition: color 0.3s;
    z-index: 1;
    overflow: hidden;
}

.menu > span {
    display: inline-block;
    position: relative;
    transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.menu::before {
    /* Стили для фона */
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    background: linear-gradient(90deg, #f2faff 0%, rgba(255, 255, 255, 0) 100%);
    transform: rotate(-180deg);
    opacity: 0;
    transition: opacity 0.3s;
    z-index: -1;
}

.menu:hover {
    color: #868686;
}

.menu:hover > span {
    /* Сдвигаем на половину ширины блока минус начальный отступ */
    transform: translateX(calc(160px - 38px - 50%));
}

.menu:hover::before {
    opacity: 1;
}

.n1 {
    order: 1;
}
.n2 {
    order: 2;
}

.main-1 {
    position: relative;
    flex: 1;
    top: 0px;
    background-size: cover;
    justify-content: center;
    align-items: center;
    padding-bottom: 50px;
}

.main-1-gr {
    width: 100%;
    display: flex;

    background: linear-gradient(90.03deg, #6c8474 0.02%, rgba(255, 255, 255, 0) 99.98%);
    font-family: "Montserrat Alternates";
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 39px;
    text-align: center;
    align-items: center;
    color: #5b2812;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.17);
    padding: 20px 100px 20px 100px;
    margin-top: 100px;
}

.main-1-content {
    display: flex;
    margin-top: 100px;
}

.main-1-left {
    width: 50%;
    display: flex;
    justify-items: center;
    flex-direction: column;
    align-items: center;
    padding-left: 50px;
    padding-right: 50px;
}

.main-1-left p {
    font-family: "Montserrat Alternates";
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 39px;
    color: #5b2812;
}
.main-1-left h1, .main-1-left h2 {
    margin-bottom: 5%;
    font-family: "Montserrat Alternates";
    font-style: normal;
    font-weight: 400;
    font-size: 64px;
    line-height: 78px;
    color: #686868;
    text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.26);
}

.main-1-right {
    width: 50%;
    display: flex;
    align-items: center;
    padding-right: 0px;
}
.main-1-img {
    width: 80%;
    margin-left: auto;
}

.main-2 {
    position: relative;
    flex: 1;
    background: url("/static/img/cinema-club/main-2.png");
    background-size: cover;
    display: flex;
    padding-bottom: 20px;
}

.main-2-left {
    width: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.main-2-left h2 {
    font-family: "Montserrat Alternates";
    font-style: normal;
    font-weight: 400;
    font-size: 64px;
    line-height: 78px;
    margin-top: 200px;
    color: #595959;

    text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.26);
}
.main-2-left-gr {
    margin-top: 30%;
    margin-bottom: 20%;
    width: 100%;
    padding: 30px 50px 30px 50px;
    background: linear-gradient(90.06deg, #6a8272 8.81%, rgba(255, 255, 255, 0) 99.96%);
    font-family: "Montserrat Alternates";
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;
    color: #ffffff;
    text-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}
.main-2-left-button {
    width: 40%;
    height: 70px;
    background: linear-gradient(180deg, #ffffff 0%, #d8d8d8 100%);
    box-shadow: 1.46141e-15px 5px 14.3px rgba(51, 51, 51, 0.25), inset -4.44919e-16px -7.26607px 7.26607px #cecece, inset 4.44919e-16px 7.26607px 7.26607px #ffffff;
    border-radius: 96px;
    border: none;
    font-family: "Montserrat Alternates";
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;
    color: #666666;
    text-shadow: 0px 4.0795px 4.0795px rgba(0, 0, 0, 0.25);
}

.main-2-right {
    width: 50%;
    justify-items: center;
}
.main-2-right p {
    width: 80%;
    height: 70px;
    background: linear-gradient(180deg, #ffffff 0%, #d8d8d8 100%);
    box-shadow: 1.46141e-15px 5px 14.3px rgba(51, 51, 51, 0.25), inset -4.44919e-16px -7.26607px 7.26607px #cecece, inset 4.44919e-16px 7.26607px 7.26607px #ffffff;
    border-radius: 96px;
    font-family: "Montserrat Alternates";
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;
    color: #5b2812;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    padding-left: 30px;
    padding-right: 30px;
}
.main-2-right h2 {
    margin-top: 200px;
    margin-bottom: 150px;
    font-family: "Montserrat Alternates";
    font-style: normal;
    font-weight: 400;
    font-size: 64px;
    line-height: 78px;
    color: #595959;
    text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.26);
}
.main-3 {
    position: relative;
    flex: 1;
    background: url("/static/img/cinema-club/main-3.png");
    background-size: cover;
    padding-top: 30px;
}
.main-3-title {
    font-family: "Montserrat Alternates";
    font-style: normal;
    font-weight: 400;
    font-size: 64px;
    line-height: 78px;
    color: #595959;
    width: 100%;
    text-align: center;
    text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.26);
    margin-top: 50px;
}
.main-3-container {
    display: flex;
    width: 100%;
    flex-direction: row;
    padding-top: 100px;
    padding-bottom: 100px;
}
.main-3-left {
    width: 50%;
    justify-items: center;
    align-items: center;
}
.main-3-right {
    width: 50%;
    display: flex;
    justify-content: end;
}
.cinema-club-crack {
    display: block;
}
.cinema-club-crack-wrapper {
    display: inline-block;
    position: relative;
}
.cinema-club-crack-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.5);
    pointer-events: none;
    border-radius: 60px 0 0 60px;
}
.events-list {
    display: block;
    position: relative;
    z-index: 1;
}
.main-3-button {
    width: 105%;
    height: 70px;
    background: linear-gradient(180deg, #eccf86 0%, #d5b460 100%);
    box-shadow: 0px 6.11925px 9.17887px rgba(0, 0, 0, 0.25), inset 0px 5.09937px 11.9325px rgba(255, 255, 255, 0.25);
    border-radius: 10.1987px;
    font-family: "Montserrat Alternates";
    font-style: normal;
    font-weight: 400;
    font-size: 28px;
    line-height: 34px;
    border: none;
    color: #ffffff;
    text-shadow: 0px 4.0795px 4.0795px rgba(0, 0, 0, 0.25);
}

.main-4 {
    position: relative;
    flex: 1;
    background: url("/static/img/cinema-club/main-4.png");
    background-size: cover;
    display: flex;
    justify-items: center;
    flex-direction: column;
    padding-bottom: 30px;
}

.main-4-title {
    font-family: "Montserrat Alternates";
    font-style: normal;
    font-weight: 400;
    font-size: 64px;
    line-height: 78px;
    color: #595959;
    width: 100%;
    text-align: center;
    text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.26);
    margin-top: 100px;
}

.main-4-container {
    display: flex;
    width: 100;
}
.main-4-left {
    width: 50%;
    padding: 0 3% 0 3%;
}
.main-4-right {
    width: 50%;
    padding: 0 3% 0 3%;
}
.main-4-dot {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffe294 0%, #c0aa6f 100%);
    box-shadow: 0px 4.66667px 9.33333px rgba(46, 40, 26, 0.25), inset 0px -1.55556px 1.55556px #b7a26a, inset 0px 1.55556px 1.55556px #ffea99;
}
.main-4-tl {
    margin-top: 100px;
    font-family: "Montserrat Alternates", sans-serif;
    font-style: normal;
    font-weight: 400;
    font-size: 64px;
    line-height: 78px;
    color: #c19e43;
    text-shadow: 0px 4px 6px rgba(0, 0, 0, 0.26);
    text-align: center;
    margin-bottom: 40px;
}

.main-4-item {
    display: flex;
    gap: 50px;
    align-items: center;
}
.main-4-text {
    display: flex;
    width: 80%;
    font-family: "Montserrat Alternates";
    font-style: normal;
    font-weight: 400;
    font-size: 28px;
    line-height: 34px;

    color: #5b2812;

    text-shadow: 0px 4.0795px 4.0795px rgba(0, 0, 0, 0.25);
}
.main-4-items {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-left: 50px;
}

.main-5 {
    position: relative;
    flex: 1;
    background: url("/static/img/cinema-club/main-5.png");
    background-size: cover;
    padding-top: 50px;
}
.main-4-card {
    width: 272px;
    height: 272px;
    border-radius: 20px;
    cursor: url("/static/img/main/pointer-aprequ.png"), pointer;
}
.main-4-carousel-container {
    position: relative;
    width: 100%;
    margin: 100px auto;
    padding: 0 50px;
}
.main-4-carousel {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    height: 550px;
    perspective: 1500px;
}
.main-4-carousel-card {
    position: absolute;
    top: 50%;
    left: 50%;
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}
.main-4-carousel-card.left,
.main-4-carousel-card.right {
    width: 334px;
    height: 334px;
    box-shadow: 0px -2px 19.1px rgba(0, 0, 0, 0.25);
    z-index: 1;
    opacity: 0.9;
    filter: brightness(0.9);
}
.main-4-carousel-card.center {
    width: 518px;
    height: 518px;
    background: #ffffff;
    box-shadow: 0px 37px 40.7px rgba(0, 0, 0, 0.25);
    transform: translateX(-50%) translateY(-50%);
    z-index: 3;
}
.main-4-carousel-card.left {
    transform: translateX(calc(-50% - 550px)) translateY(-50%);
}
.main-4-carousel-card.right {
    transform: translateX(calc(-50% + 550px)) translateY(-50%);
}
.main-4-carousel-card:hover .card-image {
    transform: scale(1.05);
}
.main-4-carousel-card.hidden {
    display: none;
}
.main-4-carousel-card:hover .card-image {
    transform: scale(1.05);
}
.main-4-carousel-card.hidden {
    display: none;
}
.main-4-carousel-btn {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    border: none;
    cursor: pointer;
    z-index: 10;
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.16));
    background-color: transparent;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.9;
    transition: all 0.3s ease;
}
.main-4-carousel-btn.prev {
    width: 64px;
    height: 64px;
    background: url("/static/img/home/left-arrow.svg");
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.16));
}
.main-4-carousel-btn.next {
    margin-left: 90%;
    width: 64px;
    height: 64px;
    background: url("/static/img/home/right-arrow.svg");
    filter: drop-shadow(0px 4px 4px rgba(0, 0, 0, 0.16));
}
.main-5-msg {
    width: 70%;
    height: 10vh;
    margin: auto;
    border: none;
    background: #ffffff;
    box-shadow: inset 0px 7px 15.5px rgba(0, 0, 0, 0.25);
    border-radius: 20px;
    font-family: "Montserrat Alternates";
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 39px;
    /* identical to box height */
    text-align: center;

    margin-bottom: 30px;
}
.main-5-msg::placeholder {
    color: rgba(91, 40, 18, 0.35);
}

.main-5-p {
    font-family: "Montserrat Alternates";
    font-style: normal;
    font-weight: 400;
    font-size: 32px;
    line-height: 39px;
    text-align: center;

    color: #5b2812;
    width: 50%;
    margin: auto;
    margin-bottom: 50px;
}

.main-5-button {
    width: 288px;
    height: 58px;
    background: linear-gradient(180deg, #ffffff 0%, #d8d8d8 100%);
    box-shadow: 1.46141e-15px 5px 14.3px rgba(51, 51, 51, 0.25), inset -4.44919e-16px -7.26607px 7.26607px #cecece, inset 4.44919e-16px 7.26607px 7.26607px #ffffff;
    border-radius: 20px;
    border: none;
    margin: auto;
    font-family: "Montserrat Alternates";
    font-style: normal;
    font-weight: 400;
    font-size: 24px;
    line-height: 29px;
    text-align: center;
    margin-bottom: 50px;
    color: #5b2812;
}

.full-block-calendar-wrapper {
    display: flex;
}
.block-column-wrapper {
    display: flex;
    flex-direction: column;
    margin: 0;
    gap: 50px;
}

.list-button.events {
    width: 100%;
}

.cab-calendar-container-block-back {
    position: relative;
    z-index: 1;
}

.cab-calendar-container-block-full {
    position: relative;
    width: fit-content;
    max-width: 400px;
    box-sizing: border-box;
    margin: 0 auto;
}

.cab-calendar-container-block {
    position: relative;
    width: fit-content;
    box-sizing: border-box;
    z-index: 1;
    border-radius: 12px;
    padding: 10px 10px 10px 0;
}

.cab-calendar-container-block::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("../../img/cabinet/union.png") center/contain no-repeat;
    background-size: 100% 100%;
    opacity: 0.8;
    z-index: -1;
    border-radius: 12px;
}

.cab-calendar-container {
    display: flex;
    width: 100%;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.cab-calendar-container::-webkit-scrollbar {
    display: none;
}

.cab-calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    width: 100%;
    padding-bottom: 15px;
}

.cab-calendar-title {
    font-size: 12px;
    font-weight: 400;
    color: rgba(255, 255, 255, 1);
    padding: 6px 12px;
    border-radius: 6px;
    background: linear-gradient(180deg, #dfc070 0%, #d5b460 100%);
    box-shadow: 0px 6.12px 9.18px 0px rgba(0, 0, 0, 0.25), 0px 5.1px 11.93px 0px rgba(255, 255, 255, 0.25) inset;
    position: relative;
    width: 38%;
    text-align: center;
    z-index: 1;
}

.cab-month-navigation {
    display: flex;
    align-items: center;
    position: absolute;
    left: 60%;
    transform: translateX(-50%);
    z-index: 2;
}

.cab-month-title {
    font-size: 18px;
    font-weight: 400;
    color: rgba(255, 255, 255, 1);
    text-align: center;
    margin: 0 5px;
    white-space: nowrap;
}

.cab-nav-arrow {
    width: 10px;
    height: 10px;
}

.cab-calendar-grid {
    display: flex;
    min-width: 100%;
    position: relative;
}

.cab-weekdays-column {
    width: 65px;
    position: absolute;
    left: 0;
    top: 0;
    height: calc(100% - 40px);
    margin-top: 40px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    border-radius: 8px 0 0 8px;
    overflow: hidden;
    background: linear-gradient(180deg, #e4ca87 0%, #d5b562 100%);
    box-shadow: 0px 2px 5px rgba(0, 0, 0, 0.1);
}

.cab-weeks-container {
    display: flex;
    flex-grow: 1;
    justify-content: center;
    min-width: calc(100% - 50px);
    margin-left: 60px;
}

.cab-week-column {
    width: 50px;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

.cab-week-header {
    padding: 7px 7px 1px 7px;
    text-align: center;
    font-weight: bold;
    color: #5c4a1a;
    font-size: 0.7em;
}

.cab-week-header-main {
    text-align: center;
    font-size: 0.7em;
    margin-top: 17px;
}

.cab-week-header-block {
    text-align: center;
    font-size: 0.7em;
    padding: 2px;
}

.cab-day-cell {
    padding: 10px 5px;
    text-align: center;
    position: relative;
    border-radius: 4px;
    height: 30px;
    box-sizing: border-box;
    cursor: pointer;
    flex-shrink: 0;
}

/* Выходные (суббота и воскресенье) - красные */
.cab-day-cell.cab-weekend .cab-day-number {
    color: rgba(221, 0, 0, 1) !important;
}

/* Праздничные дни - красные */
.cab-day-cell.cab-holiday .cab-day-number {
    color: rgba(221, 0, 0, 1) !important;
    font-weight: bold;
}

/* Дни предыдущего и следующего месяцев (серые) */
.cab-day-cell.cab-other-month .cab-day-number {
    color: #aaa !important;
    opacity: 0.7;
}

/* Текущий день (акцентное оформление) */
.cab-day-cell.cab-current-day .cab-day-number {
    color: #000 !important;
    background: linear-gradient(180deg, #e4ca87 0%, #d5b562 100%);
    border-radius: 50px;
}

.cab-day-cell.cab-has-event .cab-day-number {
    font-size: 18px;
    font-weight: 400;
    text-shadow: 0px 0px 69.7521px #ffffff, 0px 0px 39.8583px #ffffff, 0px 0px 23.2507px #ffffff, 0px 0px 11.6253px #ffffff, 0px 0px 3.32153px #ffffff, 0px 0px 1.66076px #ffffff;
}

.cab-weekdays-column .cab-day-cell {
    color: #5c4a1a;
    font-weight: bold;
}

.cab-day-number {
    font-weight: 500;
    color: #ffffff;
    text-shadow: 0px 4.0795px 4.0795px rgba(0, 0, 0, 0.25);
}

.cab-day-number.cab-end {
    color: rgba(221, 0, 0, 1);
}

.cab-other-month {
    color: #aaa;
}

.cab-has-event {
    position: relative;
}

.cab-weekday {
    color: rgba(255, 255, 255, 1);
}

.cab-weekend,
.cab-holiday {
    color: rgba(221, 0, 0, 1);
}
.modal-cal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 30;
    justify-content: center;
    align-items: center;
}



.basement-back {
    background: linear-gradient(90deg, #6A8373 16.5%, rgba(147, 155, 150, 0.56) 100%);
    border-radius: 0px 20px 0px 0px;
    height: 348px;
    position: relative;
    transform-origin: 0 0;
    transform: rotate(0deg) scale(1, 1);
}

.footer {
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.56) 26.5%, rgba(159, 159, 159, 0.56) 100%);
    opacity: 0.62;
    box-shadow: 0px -12px 20px rgba(0, 0, 0, 0.25), inset 0px 7px 8px rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(3px);
    border-radius: 20px 20px 0px 0px;
    z-index: 100;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 348px;
    padding-left: 320px;
    padding-top: 150px;
    display: flex;
    gap: 15px;
}
.footer-icon {
    width: 50px;
    height: 50px;
    margin-right: 20px;
}
.footer-icons {
    position: absolute;
    bottom: 160px;
    left: 320px;
    z-index: 101;
}

@media (max-width: 1400px) {

    .basement-back {
        border-radius: 20px 20px 0px 0px;
    }
    header {
        margin-left: 0px;
    }
}
@media (min-width: 1401px) {
    .midi-title {
        font-size: 60px;
    }
}
@media (min-width: 1401px) and (max-width: 1800px) {
    header {
        margin-left: 250px;
    }

}

@media (max-width: 1000px) {
    .main-2 {
        flex-direction: column;
    }
    .main-3-title, .main-4-title, .main-2-right h1, .main-2-left h1, .main-1-left h1, .main-4-tl {
        font-size: 34px;
        line-height: 48px;
    }
    .main-3-title {
        margin-top: 0px;
    }
    .main-4-items {
        margin-left: 0px;
    }
    .main-4-item {
        gap: 15px;
    }
    .main-4-text {
        font-size: 15px;
        line-height: 21px;
        width: 75%;
    }
    .main-4-title {
        margin-top: 0px;
    }
    .main-4-tl {
        margin-top: 20px;
        margin-bottom: 10px;
    }
    .main-2-left {
        width: 100%;
    }
    .main-2-right {
        width: 100%;
        justify-items: center;
    }
    .main-1-gr {
        padding: 0;
        font-size: 28px;
        line-height: 34px;
    }
    .main-1 p {
        font-size: 18px;
        line-height: 24px;
    }
    .main-1-content {
        flex-direction: column;
    }
    .main-1-left {
        width: 100%;
    }
    .main-1-right, .main-3-right {
        display: none;
    }
    .main-2-left h1 {
        margin-top: 30px;
        margin-bottom: 30px;
        text-align: center;
    }
    .main-2-left-gr {
        margin-top: 30px;
    }
    .main-2-right h1 {
        margin-top: 30px;
        margin-bottom: 30px;
        text-align: center;
    }
    .main-2-right p {
        font-size: 16px;
        line-height: 21px;
    }
    .main-3-left {
        width: 100%;
    }
    .main-4-card {
        width: 90px;
        height: 90px;
    }
    .main-4-carousel-btn {
        display: none;
    }
    .main-4-carousel {
        height: 150px;
    }
    .main-3-button {
        width: 100%;
        font-size: 17px;
        line-height: 24px;
    }
    .main-5-p {
        width: 80%;
        font-size: 22px;
        line-height: 29px;
    }
    .footer-icons {
        bottom: 80px;
        left: 50px;
    }
    .footer {
        height: 200px;
    }
    .basement-back {
        height: 200px;
        border-radius: 20px 20px 0px 0px;
    }
    .main-5-msg {
        font-size: 18px;
        line-height: 25px;
        padding: 0px 10px 15px 10px;
    }
    .main-5-msg::placeholder {
        font-size: 15px;
        line-height: 22px;
        white-space: wrap;
        display: flex;
    }
}
@media (max-width: 1200px) {
    .modal-img-cinema {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        opacity: 0.3;
        z-index: -1;
    }
    .modal-text.cinema {
        width: 100%;
    }
}

@media (max-width: 800px) {
    .modal-content.cinema {
        padding: 10px;
    }
    .modal-text.cinema {
        background: linear-gradient(45deg, #e4ca87, transparent);
        min-height: fit-content;
    }
    .modal-desc-text.cinema {
        color: #0d0603;
    }
}
@media (max-width: 700px) {
    .modal-desc-title.midi {
        font-size: 46px;
    }
    .modal.cinema {
        padding: 0;
    }
    .modal-content.cinema {
        width: 100vw;
        height: 100vh;
    }
    .modal-img-cinema {
        height: 100vh;
        width: auto;
    }
    .modal-img-cinema-screen {
        height: 100vh;
        width: 100vw;
        max-height: 100vh;
    }
}
@media (max-width: 500px) {
  .main-4-tl.midi {
      font-size: 24px;
  }
    .main-2-right h2, .main-2-left h2, .main-1-left h2 {
      font-size: 46px;
  }
    .main-4-text {
      font-size: 12px;
  }    
}

@media (max-width: 400px) {
    .modal-desc-text.cinema {
        font-size: 16px;
    }
    .modal-content.cinema {
        padding: 0;
    }
    .modal-desc-title.midi {
        font-size: 32px;
    }
}
@media (max-width: 600px) {
    .midi-title {
        font-size: 30px;
    }
}