@import "css/normalize.css";

@font-face {
    font-family: 'Montserrat';
    font-weight: 400;
    src: url('fonts/Montserrat-Regular.ttf') format('truetype');
}
@font-face {
    font-family: 'Montserrat';
    font-weight: 500;
    src: url('fonts/Montserrat-Medium.ttf') format('truetype');
}
@font-face {
    font-family: 'Montserrat';
    font-weight: 600;
    src: url('fonts/Montserrat-SemiBold.ttf') format('truetype');
}
@font-face {
    font-family: 'Montserrat';
    font-weight: 700;
    src: url('fonts/Montserrat-Bold.ttf') format('truetype');
}


:root {
    --dark-gray-text-color: #2F2F2F;
    --blue-text-color: #007bff;
    --main-text-color: #2c3e50;
}

h1{
    font-weight: 700;
    font-size: 56px;
    line-height: 110%;
    color: #fff;
}

button{
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;

    background: transparent;
}

.button-white{
    background: #fff;
    color: var(--blue-text-color);
    padding: 24px 64px;
    border-radius: 18px;
    font-size: 20px;
    font-weight: 600;

    transition: all 0.3s;
}
.button-blue{
    box-shadow: 0 8px 48px 0 rgba(0, 0, 0, 0.1);
    font-size: 18px;
    line-height: 1;
    color: #fff;
    border-radius: 12px;
    padding: 12px 32px;

    background: linear-gradient(270deg, #7535ff, #0123d2, #7535ff);
    background-size: 400% 400%;
    animation: gradientFlow 5s ease infinite;
    border: none;
    cursor: pointer;
}
@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}
.button-white:hover{
    background: #c94eff;
    color: #fff;
}

body{
    font-family: 'Montserrat',sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: var(--main-text-color);
    /*overflow-x: hidden;*/
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.clamp-text {
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.container{
    max-width: 1558px;
    margin: 0 auto;
    padding: 0 20px;
}
.header-banner{
    color: #fff;
    margin-bottom: 76px;
}
.header-banner__inner{
    background:
            url("assets/header-banner.png"),
            linear-gradient(198deg, #00d2ff 0%, #7535ff 100%);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    border-radius: 40px;
    padding: 40px 0 146px 0 ;
}
.container__inner{
    max-width: 1278px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-banner__content{
    max-width: 700px;
}
.header-banner__logo{
    margin-bottom: 56px;
}
.header-banner__title{
    margin-bottom: 12px;
}
.landings{
    margin-bottom: 100px;
}
/*.landings .container__inner{*/
/*    padding: 0;*/
/*}*/
.landings__wrapper{
    display: flex;
    flex-direction: column;
}
.landings__title{
    margin-bottom: 56px;
    color: #151618;
}

.landings__list{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 24px;
    margin-bottom: 72px;
    cursor: grab;
}
.landings__item{
    flex: 0 0 auto;
    width: 396px;
    min-width: 340px;
    height: 506px;
    border-radius: 32px;
    box-shadow: 0 8px 18px 0 rgba(0, 0, 0, 0.1);
    background: #fff;

    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.landings__item--large{
    width: 30%;
}
.landings__item-img{
    height: 230px;
    background: #c0c0c0;
    border-radius: 32px;

}
.landings__item-img img{
    box-shadow: 0 8px 48px 0 rgba(0, 0, 0, 0.1);
    height: 100%;
    width: 100%;
    object-fit: cover;
    border-radius: 32px;
}
.landings__item-info{
    padding: 16px 24px 32px 24px;
    display: flex;
    flex: 1;
    flex-direction: column;

}
.landings__tag{
    margin-bottom: 24px;
}
.landings__item-name{
    margin-bottom: 8px;
    font-weight: 700;
    font-size: 24px;
    color: #151618;
}
.landings__item-desc{
    color: #151618;
}

.landings__item-link{
    margin-top:30px;
    width: max-content;
}
.landings__more-link{
    color: #151618;
    align-self: flex-end;
    transition: all 0.3s;
}
.landings__more-link:hover{
    color: #282828;
}
.landings-recently{
    padding: 80px 0 124px 0;
    background: #F7F7F8;
}
.landings-recently__list{
    flex-wrap: nowrap;
    margin-bottom: 50px;
}
.landings-recently__list .slick-track{
    max-width: 100% !important;
    padding-bottom: 25px;
    display: flex;
    flex-wrap: nowrap;
}
.landings-recently__list .slick-prev, .slick-next {
    background: #C0C0C0;
    border: none;
    color: #fff;
    font-size: 56px;
    padding-bottom: 10px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    z-index: 10;
    transition: 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 8px 48px 0 rgba(0, 0, 0, 0.1);

}
.landings-recently__list .slick-prev:hover, .slick-next:hover {
    background: #007BFF;
    color: white;
}
.landings-recently__list .slick-prev {
    padding-right: 3px;
    left: -80px;
}
.landings-recently__list .slick-next {
    padding-left: 3px;

    right: -80px;
}
.landings-recently__list .slick-prev:before, .slick-next:before{
    content: none;
}
.landings-recently__list .landings__item {
    margin: 0 12px;
}

.landings-recently__list .slick-list {
    margin: 0 5px;
    overflow-x: hidden;
}
.slick-initialized .slick-slide{
    display: flex !important;
    width: 371px !important;
}
.landings__filters{

    display: grid;
    grid-template-columns: 187px 156px 166px 1fr;
    max-width: 922px;
    gap: 12px;
    margin-bottom: 82px;
}
.filter__search{
    padding: 15px 25px;
    background: #F0F0F3;
    border-radius: 10px;
    display: flex;
    gap: 20px;
    margin-left: 20px;
}
.filter__search-input{
    line-height: 1;
    width: 100%;
    background: transparent;
}
.filter__search-input:placeholder{
    color: #c0c0c0;
}
.item-input {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 7px;
}
.air-datepicker{
    margin-top: 16px;
    box-shadow: 2px 16px 19px 0 rgba(0, 0, 0, 0.09);
    background: #e8f5ff;
    border: none;
    border-radius: 12px;
    padding:18px;
}
.air-datepicker-nav{
    border-bottom: none;
}
.air-datepicker-body--day-name{
    color: #4a5660;
}
.-top-left- .air-datepicker--pointer, .-bottom-left- .air-datepicker--pointer{
    display: none;
}
.item-input__box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    border-radius: 100px;
    padding: 16px 24px;
    font-size: 19px;
    gap: 10px;
}
.item-input__box .item-input__box-input {
    width: 100%;
    background: transparent;
    line-height: 1;
    cursor: pointer;
}
.item-input__box-arrow {
    transition: .3s;
}
.flatpickr-calendar{
    margin-top: 32px;
    margin-left: 0;
}
.item-input__box-dropdown {
    position: absolute;
    top: 100%;  /* Располагаем список сразу под инпутом */
    left: 0;
    width: 500px;  /* Делаем список на всю ширину блока */
    display: none;
    z-index: 2;
    padding: 0;
    margin-top: 16px;
}
/* Список элементов в дропдауне */
.item-input__box-dropdown-list {
    display: flex;
    flex-direction: column;
    gap: 22px;
    border-radius: 12px;
    background: #FFF;
    max-height: 210px;
    overflow-y: auto;
    width: 100%;  /* Ширина на всю ширину родительского контейнера */
    padding: 24px;  /* Убираем отступы для точности */
}
.item-input__box-dropdown-list::-webkit-scrollbar-button {
    display: none !important;
}

.item-input__box-dropdown-list::-webkit-scrollbar {
    width: 8px;
}

.item-input__box-dropdown-list::-webkit-scrollbar-track {
    background: transparent;
}

.item-input__box-dropdown-list::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
}



.item-input__box-dropdown-list {
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.3) transparent;
}
.item-input__box-dropdown-list-item {
    cursor: pointer;
    color: #22211B;
    font-size: 19px;
    font-weight: 400;
    transition: .3s;
}
.item-input__box--blue{
    background: rgba(201, 232, 255, 0.9);
}
.item-input__box--blue .item-input__box-dropdown-list{
    background: rgba(201, 232, 255, 1);
}
.item-input__box--green{
    background: #e2fcc6;
}
.item-input__box--green .item-input__box-dropdown-list{
    background: #e2fcc6;
}

.item-input__box--pink{
    background: #f5e0ff;
}
.item-input__box--pink .item-input__box-dropdown-list{
    background: #f5e0ff;
}
.not-found{
    background-image: url("./assets/404-desk.png");
    background-color: #4eb5e6;
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
    padding: 115px 0 0 0;
    height: 100vh;
}
.not-found__wrapper{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    align-items: center;
}
.not-found__info{
    display: flex;
    flex-direction: column;
    gap: 40px;
    max-width: 680px;
}
.not-found__title{
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 46px;
}
.not-found__desc{
    font-weight: 500;
    font-size: 24px;
    line-height: 140%;
    color: #fff;
}
.not-found__desc a{
    font-weight: 700;
    text-decoration: underline;
    text-decoration-skip-ink: none;
}
.not-found__actions{
    gap: 24px;
    display: flex;
}
.not-found__button{
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 24px 34px;
    white-space: nowrap;
}
@media screen and (max-width: 1428px){
    .landings-recently__list{
        overflow-x: auto;
        -ms-overflow-style: none;
        scrollbar-width: none;
        padding-bottom: 20px;
        margin-left: -20px;
        margin-right: -20px;
        gap: 12px;
        justify-content: unset;
    }

    .landings__list::-webkit-scrollbar {
        display: none;
    }
    .landings-recently__list .landings__item{
        margin: 0;
    }
    .landings-recently__list .landings__item:first-child{
        margin-left: 12px;
    }
    .landings-recently__list .landings__item:last-child{
        margin-right: 12px;
    }

}

@media screen and (max-width: 1392px){
    .not-found__title{
        font-size: 38px;
    }
    .not-found__desc{

        font-size: 22px;

    }
}


@media screen and (max-width: 1107px) {
    .landings__item--large{
        width: 46%;
    }
    .landings__item{
        width: 340px;
    }
    .not-found{
        padding: 72px 0 0 0 ;
    }
    .not-found__wrapper{
        display: flex;
        flex-direction: column;
        gap: 24px;
    }
    .not-found__image img{
        width: 777px;
        height: 401px;
    }
    .not-found__info{
        gap: 24px;
    }

}

@media screen and (max-width: 1024px){
    .header-banner .container{
        padding: 0px;
    }
    .header-banner__inner{
        border-radius: 0px;
    }
    .header-banner{
        margin-bottom: 40px;
    }
    .item-input__box{
        font-size: 15px;
        padding: 13px 20px;
    }
    .landings__filters{
        gap: 8px;
    }
    .filter__search{
        padding: 13px 20px;
        margin-left: 0;
    }
    .filter__search img{
        width: 18px;
        height: 18px;
    }
    .filter__search-input{
        font-size: 15px;
    }
    .filter__search-input::placeholder{
        font-size: 15px;
    }
}
@media screen and (max-width: 860px) {
    .header-banner__logo img{
        width: 149px;
    }
    .landings__list{
        gap: 12px;
    }
    .landings__item{
        width: 320px;
        height: 450px;
    }
    .landings__item-name{
        font-size: 18px;
    }
    .landings__item-desc{
        font-size: 16px;
    }
    /*.landings__item-img{*/
    /*    height: 180px;*/
    /*}*/
    /*.landings__item-img img{*/
    /*    height: 180px;*/
    /*}*/
    .landings__item-link {
        font-size: 16px;
    }
    .item-input__box-dropdown-list-item{
        font-size: 16px;
    }
    .item-input__box-dropdown-list{
        padding: 15px;
    }
    .item-input__box-dropdown{
        width: 100%;
        margin-top:  8px;
    }
    .landings__filters{
        grid-template-columns: 1fr 1fr 1fr;
        margin-bottom: 50px;
    }
    .filter__search{
        grid-column: 1/ 4;
    }
    .header-banner__title{
        font-size: 46px;
    }
    .landings__more-link{
        font-size: 18px;
    }
    .item-input__box-dropdown-list{
        gap: 12px;
    }
    .not-found{
        background-image: url("./assets/404-tablet.png");
    }
}

@media screen and (max-width: 731px){
    .landings{
        margin-bottom: 50px;
    }
    .landings-recently{
        padding: 50px 0;
    }
    .landings__filters{
        display: flex;
        flex-direction: column;
    }
    .air-datepicker{
        margin-top: 8px;
    }
    .item-input__box{
        border-radius: 12px;
    }
    .header-banner__title{
        font-size: 36px;
    }
    .header-banner__subtitle{
        font-size: 18px;
    }
    .header-banner__inner{
        padding-bottom: 80px;
    }
}

@media screen and (max-width: 680px){
    .not-found{
        background-image: url("./assets/404-mobile.png");
    }
    .not-found__title{
        font-size: 24px;
    }
    .not-found__desc{
        font-size: 16px;
        margin-bottom: 8px;
    }
    .not-found__actions{
        display: flex;
        flex-direction: column;
    }
    .not-found__button{
        padding: 16px;
        font-size: 18px;
    }
    .not-found__button svg{
        height: 20px;
        width: 20px;
    }
    .not-found__image{
        display: flex;
    }
    .not-found__image img{
        flex-shrink: 0  ;
        width: 498px;
        height: 257px;
    }
}



.pdf-wrap{
    margin-left: -10px;
    /*padding-bottom: 400px;*/
    width: 1200px;
}

.pdf-wrap .program-event__list{
    margin: 0;
    flex-wrap: wrap;
    height: auto;
}

.pdf-wrap .program-event__item:first-child{
    margin: 0;
}

.pdf-wrap .program-event__item, .event-col{
    flex: 1
}

.pdf-wrap .program-event__item{
    width: 100%;
}

.pdf-wrap .event-banner, .pdf-wrap .map{
    margin-top: 20px;
}

.pdf-wrap .header__logo{
    margin: 20px 0;
}

/*
h1,h2,h3,h4, .map{
    page-break-inside: avoid;
    break-inside: avoid;
}
*/


.qr-desc{
    color: #fff;
}

.qr{
    display: block;
    margin: auto;
    width: 300px;
    max-width: 100%;
}