* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Onest';
}

html {
    scroll-behavior: smooth
}

.container {
    margin: 0 auto;
    max-width: 1920px;
    padding: 0 48px;
}

.hide {
    display: none;
}

.show {
    display: block;
}

/* Общий flex класс */
.flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Общий класс для кнопки */
.btn {
    display: inline-block;
    border-radius: 88px;
    text-decoration: none;
    color: #fff;
    font-size: 18px;
    font-weight: 400;
    padding: 11px 20px 11px 24px;
    text-align: center;
}

/* Общий класс для иконки в кнопке */
.btn_img {
    margin-left: 12px;
}

.btn .flex {
    height: 100%;
    flex-wrap: wrap;
}

/* Шапка */
.header {
    padding: 24px 0;
}

.header .header_logo {
    display: block;
    width: 153px;
    height: 56px;
}

.header .header_logo img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

/* Общий класс меню */
.menu {
    list-style-type: none;
}

.menu .menu_item {
    display: flex;
    text-decoration: none;
    padding: 0 20px;
    height: 36px;
    align-items: center;
    margin-left: 8px;
    margin-right: 8px;
    border-radius: 35px;
    font-size: 16px;
    font-weight: 400;
    color: #fff;
    transition: 0.1s all;
}

.menu .button_menu_mobail {
    display: none;
}

/* меню в шапке */
.header .container {
    height: 100%;
}

.header .flex {
    height: 100%;
}

.header .menu {
    list-style-type: none;
}

.header .menu .menu_item {
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.header .menu .menu_item:hover {
    background-color: rgba(255, 255, 255, 0.3);
    border-color: #fff;
}

.header .menu .menu_item:last-child {
    margin-right: 0px;
}

.header .menu_hamburger {
    display: none;
}

.mobail_menu_substrate {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(33, 33, 33, 0.3);
    backdrop-filter: blur(8px);
    z-index: 4;
}

.speaker {
    cursor: pointer;
}

.speaker_modal {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background: rgba(33, 33, 33, 0.3);
    backdrop-filter: blur(8px);
    z-index: 6;
}

.speaker_modal .modal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 8;
    width: 897px;
    border-radius: 20px;
}

.speaker_modal .modal .modal_header {
    background: #00A6DE;
    width: 100%;
    height: 72px;
    border-radius: 20px 20px 0 0;
    padding: 24px;
    text-align: right;
}

.speaker_modal .modal .modal_header .modal_close {
    cursor: pointer;
}

.speaker_modal .modal .modal_main {
    display: flex;
    justify-content: space-between;
    align-items: start;
    padding: 32px 76px 32px 48px;
    background: #fff;
    border-radius: 0 0 20px 20px;
}

.speaker_modal .modal .modal_main .main_info {
    width: 449px;
}

.speaker_modal .modal .modal_main .main_info .main_title {
    font-weight: 700;
    line-height: 32px;
    font-size: 24px;
}

.speaker_modal .modal .modal_main .main_info .main_descr {
    margin-top: 32px;
    font-size: 16px;
    line-height: 24px;
    font-weight: 300;
}

.speaker_modal .modal .modal_main .main_img {
    width: 300px;
    height: auto;
}

.speaker_modal .modal .modal_main .main_img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}

/* Конец стилей шапки */
/* Первый блок */
.promo {
   background: #00A6DE;
}

.promo .promo_info {
    padding: 160px 0 64px 0;
}

.promo .promo_title {
    font-weight: 700;
    font-size: 56px;
    color: #fff;
}

.promo .promo_subtitle {
    margin-top: 16px;
    font-weight: 200;
    font-size: 20px;
    line-height: 32px;
    color: #fff;
    width: 900px;
}

.promo .btn {
    margin-top: 32px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    transition: 0.1s all;
}

.promo .btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* предстоящие мероприятие на первом экране */
.promo_event {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
}

.promo_event .events_last {
    padding: 85px 0 98px 0;
    grid-row: 1;
    grid-column: 1;
}

.promo_event .hide {
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.promo_event .show {
    opacity: 1;
    transition: opacity 0.5s ease;
}

.promo_event .events_last .img {
    width: 528px;
    height: 297px;
}

.promo_event .events_last .title {
    margin-top: 24px;
    font-size: 36px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    word-break: break-word;
}

.promo_event .events_last .descr {
    margin-top: 24px;
    font-size: 24px;
    line-height: 32px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
    word-break: break-word;
}

.promo_event .events_last .btn {
    margin-top: 32px;
}

.promo .promo_event .promo_info {
    padding: 128px 0 120px 0;
    grid-row: 1;
    grid-column: 1;
}

.promo .promo_event .promo_title,
.promo .promo_event .promo_subtitle {
    word-break: break-word;
}

.promo_event .advertising_nav {
    bottom: 30px;
}

/* Рекламный баннер */
.advertising {
    position: relative;
    display: grid;
    grid-template-columns: 1fr;
    overflow: hidden;
    margin-top: 48px;
    min-height: 100px;
    width: 100%;
    border-radius: 20px;
    transition: height 0.5s ease-in-out;
    will-change: transform, height;
    word-wrap: break-word;
}

.advertising_gradiend {
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
    z-index: 2;
}

.advertising .advertising_item {
    padding: 48px;
    padding-bottom: 0;
    width: 100%;
    height: 100%;
    color: #fff;
    grid-row: 1;
    grid-column: 1;
    opacity: 0;
    visibility: hidden;
    transition: all 0.5s ease-in-out;
}

.advertising .advertising_item.active {
    opacity: 1;
    visibility: visible;
}

.advertising_item .advertising_item-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    position: relative;
    width: 852px;
    z-index: 3;
}

.advertising_item .advertising_item-title {
    word-break: break-all;
    font-weight: 700;
    font-size: 36px;
    line-height: 44px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.advertising_item .advertising_item-descr {
    margin-top: 16px;
    font-size: 24px;
    line-height: 32px;
    font-weight: 200;
    transition: opacity 0.5s ease-in-out;
}

.descr-info {
    word-break: break-all;
}

.descr-info.hide {
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.descr-info.show {
    opacity: 1;
    transition: opacity 0.5s ease-in-out;
}


.advertising_toggle-descr {
    font-weight: 500;
    font-size: 18px;
    cursor: pointer;
}

.advertising_item .advertising_item-btn {
    margin-top: 48px;
    margin-bottom: 48px;
    padding: 11px 12px 11px 24px;
    line-height: 24px;
    font-size: 20px;
    background-color: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: 0.1s all;
    align-self: flex-start;
}

.advertising_item .advertising_item-btn span {
    margin-right: 12px;
}

.advertising_item .advertising_item-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.advertising_nav {
    width: 100%;
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 20px;
    height: 4px;
    z-index: 3;
}

.advertising_nav span {
    margin: 0 8px;
    display: block;
    height: 100%;
    width: 8.5%;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 20px;
    transition: 0.5s all;
}

.advertising_nav span.active {
    background-color: #fff;

}

/*--------------------------------------------------------*/

/* Блок "Анонсы Мероприятий" */
.events {
    background-color: #fff;
    padding: 120px 0;
}

.events .events_title {
    font-size: 36px;
    font-weight: 400;
    color: #212121;
}

/* Предстоящее мероприятие */
.events .events_last {
    margin-top: 48px;
    background-color: #00A6DE;
    border-radius: 20px;
    padding: 40px;
}

/* ОБЩИЙ блок с информацией у мероприятий (время, спикер и т.д.) */
.info {
    list-style-type: none;
}

.item_title {
    font-size: 20px !important;
    line-height: 28px !important;
    font-weight: 500 !important;
}

.info .info_item {
    min-height: 36px;
    margin-right: 12px;
    padding: 6px 12px 6px 14px;
    border-radius: 30px;
    font-weight: 400;
    font-size: 14px;
    margin-top: 8px;
}

.info .info_item .info_icon {
    margin-right: 8px;
}

.info .info_item:nth-child(1) {
    border-radius: 30px 30px 30px 0;
}

.info .info_item:nth-last-child(1) {
    margin-right: 0;
}

/* Блок с информацией у мероприятий (время, спикер и т.д.) */
.events .events_search {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    margin-top: 48px;
    position: relative;
    flex-wrap: wrap;
}

.events .events_search .form_search {
    display: block;
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 10px;
    padding: 0 24px;
    background-color: rgba(0, 0, 0, 0.05);
    outline: none;
    font-weight: 400;
    font-size: 16px;
    color: #656565;
}

.events .events_search input:focus {
    border: 1px solid #00A6DE;
}

.events .events_search .form_item input:focus+.search_button svg path {
    stroke: #00A6DE;
}

.events .events_search .search_speaker input:focus+.search_button {
    transform: rotate(180deg) translateY(50%);
}

.events .events_search .speaker_input_focus {
    border: 1px solid #00A6DE;
}

.search_speaker:focus-within .speaker_count {
    display: block;
}

.events .events_search .form_item {
    position: relative;
    max-width: 100%;
}

.events .events_search .form_item .search_button {
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    height: 24px;
}

.events .events_search .form_item .speaker_btn_focus {
    transform: rotate(180deg) translateY(50%);
}

.events .events_search .form_item:first-child {
    flex: 1;
    min-width: 0;
}

.events .events_search .search_speaker {
    position: relative;
    width: 592px;
    flex-shrink: 0;
}

.events .events_search .speaker_count {
    position: absolute;
    top: 50%;
    left: 24px;
    transform: translateY(-50%);
    color: #00A6DE;
    font-weight: 400;
    font-size: 16px;
}

.search_speaker:focus-within .speaker_count {
    display: none;
}

.events .events_search .search_speaker .speaker_list {
    position: absolute;
    max-height: 300px;
    margin-top: 8px;
    background-color: #fff;
    width: 100%;
    border-radius: 10px;
    box-shadow: 0px 4px 16px 0px #00584729;
    overflow-y: scroll;
    z-index: 10;
}

.events .events_search .search_speaker .speaker_list::-webkit-scrollbar {
    background-color: transparent;
    width: 24px;
}

.events .events_search .search_speaker .speaker_list::-webkit-scrollbar-thumb {
    background-color: #E6F6FC;
    border: 8px solid transparent;
    border-radius: 12px;
    background-clip: content-box;
    width: 8px;
}

.speaker_check {
    display: none;
}

.checkmark {
    position: relative;
    display: block;
    width: 14px;
    height: 14px;
    border: 2px solid #656565;
    border-radius: 4px;
    margin-right: 16px;
    flex-shrink: 0;
}

.speaker_check:checked+.checkmark {
    border-color: #00A6DE;
    background-color: #00A6DE;
}

.speaker_check:checked+.checkmark::after {
    content: "";
    position: absolute;
    width: 4px;
    height: 9px;
    top: -2px;
    left: 3px;
    border: solid white;
    border-width: 0 1px 1px 0;
    transform: rotate(45deg);
}

.list_item {
    padding: 8px 16px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid #F2F2F2;
    transition: 0.2s all;
    cursor: pointer;
}

.list_item.hide {
    display: none;
}

.list_item:not(.empty_speaker):hover {
    background: #E6F6FC;
}

.list_item .item_photo {
    margin-right: 8px;
    height: 32px;
    width: 32px;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid #fff;
    border-radius: 16px;
    flex-shrink: 0;
}

.list_item .item_photo img {
    width: auto;
    height: 100%;
    flex-shrink: 0;
}

.list_item .speaker_name {
    font-weight: 400;
    line-height: 24px;
    font-size: 16px;
    color: #212121;
    word-break: break-all;
}

.empty_speaker {
    padding: 12px 8px;
    color: #21212166;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
}

.filter_tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.tags_item {
    padding: 13px 24px;
    background-color: #F2F2F2;
    font-size: 20px;
    font-weight: 400;
    line-height: 24px;
    color: #656565;
    border-radius: 88px;
    cursor: pointer;
    border: 1px solid #F2F2F2;
    transition: 0.2s all;
    word-break: break-all;
}

.tags_item_active {
    border: 1px solid #00A6DE;
    color: #00A6DE;
    background-color: #E6F6FC;
    transition: 0.2s all;
}

.events_last .desc {
    max-width: 1095px;
}

.events_last .info {
    list-style-type: none;
}

.events_last .flex {
    justify-content: flex-start;
    flex-wrap: wrap;
}

.events_last .info .info_item {
    background-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.events_last .info .info_item .info_icon {
    margin-right: 8px;
}

.events_last .info .info_item:nth-child(1) {
    background-color: #fff;
    color: #00A6DE;
    border-radius: 30px 30px 30px 0;
}

.events_last .title {
    margin-top: 32px;
    font-weight: 700;
    font-size: 32px;
    line-height: 44px;
    color: #fff;
}

.events_last .descr,
.events .events_wrap .wrap_item .item_descr {
    color: #fff;
    font-weight: 200;
    font-size: 16px;
    line-height: 24px;
    margin-top: 20px;
    max-width: 860px;
    overflow-wrap: break-word
}

.show-more-btn {
    background: none;
    border: none;
    color: #00a6de;
    font-weight: 500;
    font-size: 14px;
    cursor: pointer;
    padding: 5px 0;
}

.events_last .descr .show-more-btn {
    color: #fff;
}

/* .events .events_wrap .wrap_item .item_descr .show-more-btn {
    color: #212121;
} */

.events .events_wrap .wrap_item .item_descr {
    margin-top: 16px;
    color: #212121;
}

.events_last .btn {
    margin-top: 64px;
    background-color: #fff;
    color: #00A6DE;
    transition: 0.1s all;
}

.events_last .btn svg {
    margin-left: 12px;
    fill: #00A6DE;
}

.events_last .btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.events_last .btn:hover svg {
    fill: #fff;
}

/* Общий класс для картинки */
.img {
    overflow: hidden;
    border-radius: 20px;
}

.img img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.events_last .img {
    width: 617px;
    height: 347px;
    overflow: hidden;
    border-radius: 20px;
}

.events_last .img img {
    display: block;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.events .events_stub .title {
    margin-top: 0;
}

.events .events_wrap {
    margin-top: 48px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Три колонки одинаковой ширины */
    gap: 24px;
    /* Отступ между элементами */
}

.events .events_wrap .empty_item {
    margin-top: 120px;
    grid-column: 1 / -1;
    text-align: center;
    font-size: 32px;
    color: #21212166;
}

.events .events_wrap .flex {
    align-items: start;
    flex-wrap: wrap;
    justify-content: flex-start;
}

.events .events_wrap .wrap_item {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 18px;
    background-color: rgba(0, 0, 0, 0.03);
    border-radius: 20px;
    min-width: 0;
}

.events .events_wrap .wrap_item .img {
    width: 100%;
    height: 297px;
    /*filter: grayscale(100%);*/
}

.events .events_wrap .wrap_item .item_btns {
    margin-top: 48px;
}

.events .events_wrap .wrap_item .info {
    margin-top: 24px;
}

.events .events_wrap .wrap_item .flex {
    align-items: center;
}

.events .events_wrap .wrap_item .info_item {
    background-color: #E6F6FC;
    color: #00A6DE;
}

.events .events_wrap .wrap_item .info_item:nth-child(1) {
    border: 1px solid rgba(0, 166, 222, 0.6);
}

.events .events_wrap .wrap_item .item_title {
    margin-top: 16px;
    font-weight: 400;
    font-size: 28px;
    line-height: 36px;
    color: #212121;
    /* Ограничение заголовка мероприятия 2 строки */
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
}

.events .events_wrap .wrap_item .btn {
    margin-right: 16px;
    padding: 0 16px 0 20px;
    height: 44px;
    font-size: 15px;
    font-weight: 500;
    background-color: #fff;
    color: #212121;
    transition: 0.1s all;
}

.events .events_wrap .wrap_item .btn:nth-child(3) {
    margin-right: 0;
}

.events .events_wrap .wrap_item .btn_kp {
    background-color: #00A6DE;
    color: #fff;
}

.events .events_wrap .wrap_item .btn svg {
    margin-left: 12px;
}

.events .events_stub .img {
    height: 185px;
    width: 500px;
}

.events .events_wrap .wrap_item .btn_kp:hover {
    background-color: rgba(0, 166, 222, 0.6)
}

.events .events_add {
    display: flex;
    justify-content: center;
    margin-top: 48px;
}

.events .events_add .btn {
    cursor: pointer;
    color: #212121;
    background-color: rgba(0, 0, 0, 0.03);
    font-weight: 500;
    font-size: 16px;
}

.events .events_add .btn svg {
    margin-left: 12px;
}

/* "Подвал" сайта */
.footer {
    padding: 48px 32px;
    background-color: #212121;
}

.footer .footer_logo {
    display: block;
    width: 152px;
}

.footer .footer_logo img {
    width: 100%;
}

.footer .menu_item {
    background-color: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.footer .deverloper {
    display: block;
    width: 173px;
}

.footer .deverloper img {
    width: 100%;
}

/* Получить уведомление о новых мероприятиях */
.subscribe {
    position: relative;
    margin: 40px 0 130px 0;
    background-color: #00A6DE;
    border-radius: 20px;
    padding: 48px;
    overflow: hidden;
}

.subscribe .subscribe_info {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.subscribe .subscribe_title {
    font-weight: 700;
    font-size: 36px;
    line-height: 44px;
    color: #fff;
}

.subscribe .btn {
    margin-top: 48px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background-color: rgba(255, 255, 255, 0.1);
    transition: 0.1s all;
}

.subscribe .btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.subscribe .btn svg {
    margin-left: 12px;
}

.subscribe .subscribe_animation {
    position: absolute;
    right: 112px;
    top: 0;
    width: 943px;
    height: 100%;
    /* background-color: black; */
}


/* стили страниц ошибок */
.error_wrap {
    background: #fff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.error_wrap .error {
    flex: 1;
    padding: 120px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.error_wrap .error .error_title {
    text-align: center;
    font-weight: 700;
    line-height: 160px;
    font-size: 200px;
    color: #00A6DE;
}

.error_wrap .error .error_descr {
    margin: 0 auto;
    margin-top: 16px;
    text-align: center;
    color: #212121;
    font-size: 24px;
    line-height: 32px;
    font-weight: 200;
    max-width: 900px;
}

.error_wrap .error .btn {
    display: block;
    width: fit-content;
    margin: 32px auto 0 auto;
    background-color: #00A6DE;
}

.error_wrap .error .btn span {
    margin-right: 12px;
}

.error_wrap .footer {
    margin-top: auto;
}

/* Экран до 1440 */

@media(max-width: 1919px) {
    .container {
        max-width: 1440px;
    }

    .events_last .desc {
        max-width: 590px;
    }

    .events_last .img {
        width: 592px;
        height: 333px;
    }

    .promo_event .events_last .img {
        width: 450px;
        height: 253px;
    }

    .events .events_stub .img {
        width: auto;
        height: auto;
    }

    .events .events_wrap .wrap_item .img {
        height: 335px;
    }

    .events .events_wrap {
        grid-template-columns: repeat(2, 1fr);
    }

    .subscribe .subscribe_animation {
        right: 0;
        top: 48px;
        width: 677px;
    }
}

@media(max-width: 1439px) {
    .container {
        max-width: 1280px;
    }

    .events_last .img {
        width: 490px;
        height: 277px;
    }

    .events .events_stub .img {
        width: auto;
        height: auto;
    }

    .events .events_wrap .wrap_item .img {
        height: 290px;
    }

    .events .events_wrap .wrap_item .btn:nth-child(3) {
        margin-top: 16px;
    }

    .subscribe .subscribe_animation {
        top: 41px;
        width: 503px;
    }

    .events .events_search .search_speaker {
        width: 300px;
    }
}

@media(max-width: 1279px) {
    .container {
        max-width: 1024px;
    }

    .header .container {
        padding: 0 16px;
    }

    .header {
        position: relative;
        z-index: 6;
        padding: 12px 0;
    }

    .header .menu {
        display: none;
    }

    .header .menu_hamburger {
        display: block;
        height: 24px;
    }

    .menu .button_menu_mobail {
        display: flex;
    }

    .menu .button_menu_desctop {
        display: none;
    }

    .mobail_menu {
        position: relative;
        z-index: 6;
    }

    .mobail_menu .container {
        padding: 0 16px;
    }

    .mobail_menu .menu {
        padding: 32px 0;
        width: 100%;
    }

    .mobail_menu .menu .menu_item:nth-child(1) {
        margin-top: 0;
    }

    .mobail_menu .menu .menu_item {
        padding: 0;
        display: flex;
        justify-content: space-between;
        font-size: 20px;
        font-weight: 400;
        margin-top: 16px;
    }

    .header .header_logo {
        width: 110px;
        height: 20px;
    }

    .promo .promo_info {
        padding: 116px 0 64px 0;
    }

    .promo .promo_title {
        font-size: 40px;
        line-height: 48px;
    }

    .promo .promo_subtitle {
        margin-top: 16px;
        font-size: 16px;
        line-height: 24px;
        font-weight: 300;
        width: 100%;
    }

    .events {
        padding: 80px 0;
    }

    .events .events_title {
        font-size: 40px;
    }

    .info .info_item {
        min-height: 32px;
        font-size: 14px;
    }

    .info .info_item .info_icon {
        width: 20px;
        height: 20px;
    }

    .events_last .title {
        font-size: 24px;
        line-height: 32px;
    }

    .events_last .img {
        width: 288px;
        height: 162px;
    }

    .promo_event .events_last .img {
        width: 270px;
        height: 154px;
    }

    .promo_event .events_last .title {
        font-size: 30px;
        line-height: 38px;
    }

    .promo_event .events_last .descr {
        font-size: 18px;
        line-height: 26px;
    }

    .events .events_stub .img {
        width: auto;
        height: auto;
    }

    .events_last .btn {
        margin-top: 48px;
    }

    .events .events_wrap .wrap_item .img {
        height: 218px;
    }

    .events .events_wrap .wrap_item .item_title {
        font-size: 24px;
        line-height: 32px;
    }

    /* Рекламный баннер */
    .advertising_item .advertising_item-info {
        width: 100%;
    }

    .advertising_item .advertising_item-title {
        font-size: 28px;
        line-height: 36px;
    }

    .advertising_item .advertising_item-descr {
        font-size: 20px;
        line-height: 26px;
    }

    /*----------------------------------------*/

    .subscribe {
        margin: 0 0 95px 0;
    }

    .subscribe .subscribe_title {
        font-size: 24px;
        line-height: 32px;
    }

    .subscribe .subscribe_info {
        max-width: 480px;
    }

    .events .events_wrap .wrap_item .btn:nth-child(2) {
        margin-right: 0;
    }

    .subscribe .subscribe_animation {
        top: 80px;
        width: 502px;
    }

    .events .events_search .search_speaker {
        width: 100%;
    }

    .list_item {
        padding: 8px 8px;
        max-height: 240px;
    }

    .events .events_search .search_speaker .speaker_list::-webkit-scrollbar {
        width: 0;
    }

    .events .events_search {
        gap: 16px;
    }

    .filter_tags {
        margin-top: 16px;
    }

    .tags_item {
        padding: 5px 14px;
        font-size: 14px;
    }

    .events .events_wrap {
        margin-top: 32px;
    }

    .error_wrap .error {
        padding: 60px 0;
    }

    .error_wrap .error .error_title {
        font-size: 150px;
        line-height: 120px;
    }

    .error_wrap .error .error_descr {
        font-size: 22px;
    }

    .footer .flex {
        flex-direction: column;
        align-items: start;
        gap: 15px;
        flex-wrap: wrap;
    }

    .footer .menu.flex {
        flex-direction: row;
        align-items: center;
        row-gap: 0;
    }

    .menu .menu_item {
        margin-left: 0;
    }
}

@media(max-width: 1023px) {
    .container {
        max-width: 768px;
    }

    .promo .promo_info {
        padding: 68px 0 64px 0;
    }

    .header {
        /* padding: 0 16px; */
        height: 48px;
    }

    .events_last {
        flex-direction: column-reverse;
    }

    .events_last .descr,
    .events .events_wrap .wrap_item .item_descr {
        font-size: 20px;
    }

    .events .events_wrap .wrap_item .img {
        height: 342px;
    }

    .events_last .img {
        width: 100%;
        height: 333px;
    }

    .events .events_stub .img {
        width: auto;
        height: auto;
    }

    .events_last .desc {
        max-width: 100%;
        margin-top: 32px;
    }

    .events .events_wrap {
        grid-template-columns: repeat(1, 1fr);
    }

    .events_last .title {
        margin-top: 24px;
    }

    .events .events_wrap .wrap_item {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }

    .events .events_wrap .wrap_item .item_btns {
        margin-top: 88px;
    }

    .subscribe {
        margin: 0 0 80px 0;
    }

    /* .footer .flex {
        flex-wrap: wrap;
    } */

    .footer .logo {
        height: 58px;
        width: 100%;
    }

    .footer .footer_logo img {
        height: 100%;
        object-fit: contain;
    }

    .footer .menu {
        margin-top: 16px;
    }

    .footer .deverloper {
        margin-top: 16px;
    }

    .events .events_wrap .wrap_item .btn:nth-child(2) {
        margin-right: 16px;
    }

    .events .events_wrap .wrap_item .btn:nth-child(3) {
        margin-top: 0;
    }

    .footer .menu_item:nth-child(1) {
        margin-left: 0;
    }

    .subscribe .subscribe_animation {
        top: 97px;
        width: 439px;
    }

    .subscribe .subscribe_animation {
        top: 84px;
        height: 164px;
        width: 100%;
    }

    .speaker_modal .modal {
        padding: 0 100px;
        width: 100%;
    }

    .speaker_modal .modal .modal_header {
        height: 48px;
        padding: 12px 24px;
    }

    .speaker_modal .modal .modal_main {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 32px 24px;
    }

    .speaker_modal .modal .modal_main .main_img {
        max-width: 310px;
        min-width: 100px;
        width: 100%;
    }

    .speaker_modal .modal .modal_main .main_info {
        margin-top: 24px;
        width: 100%;
    }

    .speaker_modal .modal .modal_main .main_info .main_descr {
        margin-top: 16px;
        font-size: 14px;
        line-height: 20px;
    }

    .speaker_modal .modal .modal_main .main_info .main_title {
        font-size: 20px;
        line-height: 28px;
    }

    .promo_event .events_last {
        padding: 70px 0 80px 0;
    }

    .promo_event .events_last .img {
        width: 100%;
        height: 350px;
    }

    .error_wrap .error .error_title {
        font-size: 80px;
        line-height: 64px;
    }

    .error_wrap .error .error_descr {
        font-size: 18px;
        line-height: 24px;
    }
}

@media(max-width: 767px) {
    .container {
        max-width: 100%;
        padding: 0 16px;
    }

    .promo .promo_info {
        padding: 149px 0 48px 0;
    }

    .promo .promo_title {
        font-size: 32px;
        line-height: 40px;
    }

    .promo .btn {
        width: 100%;
    }

    .btn {
        font-size: 16px;
        font-weight: 500;
    }

    .btn .flex {
        justify-content: center;
    }

    .advertising {
        min-height: 200px;
    }

    .advertising .advertising_item {
        padding: 20px;
        padding-bottom: 0;
    }

    .advertising_item .advertising_item-btn {
        width: 100%;
        font-size: 18px;
        margin-bottom: 30px;
    }

    .advertising_nav {
        bottom: 10px;
    }

    .advertising_nav span {
        margin: 0 4px;
    }

    .advertising_item .advertising_item-title {
        font-size: 24px;
        line-height: 30px;
    }

    .advertising_item .advertising_item-descr {
        font-size: 18px;
    }

    .advertising_toggle-descr {
        font-size: 14px;
    }

    .events {
        padding: 105px 0 80px 0;
    }

    .events .events_title {
        font-size: 32px;
        line-height: 40px;
    }

    .events .events_last {
        margin-top: 32px;
    }

    .events_last .descr,
    .events .events_wrap .wrap_item .item_descr {
        font-size: 18px;
        margin-top: 28px;
        max-width: 100%;
    }

    .events .events_wrap .wrap_item .item_descr {
        margin-top: 16px;
    }

    .events .events_last {
        padding: 16px;
    }

    .events_last .img {
        height: 183px;
    }

    .info .info_item {
        margin-top: 4px;
        margin-right: 4px;
        padding: 6px 10px 6px 12px;
    }

    .events_last .title {
        margin-top: 16px;
        font-size: 20px;
        line-height: 28px;
    }

    .events_last .btn {
        margin-top: 32px;
        width: 100%;
    }

    .events_last .btn .flex {
        justify-content: center;
    }

    .events .events_wrap .wrap_item {
        padding: 16px;
    }

    .events .events_wrap .wrap_item .img {
        height: 183px;
    }

    .events .events_wrap .wrap_item .info {
        margin-top: 24px;
    }

    .events .events_wrap .wrap_item .item_title {
        font-size: 20px;
        line-height: 28px;
    }

    .events .events_wrap .wrap_item .item_btns {
        margin-top: 24px;
    }

    .events .events_wrap .wrap_item .btn {
        height: 40px;
        margin-top: 8px;
        margin-right: 8px;
    }

    .events .events_wrap .wrap_item .btn:nth-child(3) {
        margin-top: 8px;
    }

    .events .events_wrap .wrap_item .btn:nth-child(2) {
        margin-right: 8px;
    }

    .events .events_stub .img {
        width: auto;
        height: auto;
    }

    .events .events_add {
        margin-top: 32px;
    }

    .subscribe {
        margin: 0 0 106px 0;
        padding: 16px;
    }

    .subscribe .subscribe_info {
        max-width: 100%;
    }

    .subscribe .btn {
        margin-top: 124px;
        font-size: 20px;
        font-weight: 400;
    }

    .footer .menu_item {
        margin-right: 8px;
        margin-left: 0;
        margin-top: 8px;
    }

    .footer .menu {
        margin-top: 8px;
        justify-content: start;
    }

    .footer {
        padding: 32px 16px;
    }

    .subscribe .subscribe_animation {
        top: 84px;
        height: 164px;
        width: 100%;
    }

    .speaker_modal .modal {
        padding: 0 16px;
        width: 100%;
    }

    .promo_event .events_last {
        margin-top: 0;
    }

    .promo_event .events_last .desc {
        margin-top: 0;
    }

    .promo_event .events_last .title {
        margin-top: 8px;
        font-size: 24px;
        line-height: 32px;
    }

    .promo_event .events_last .descr {
        margin-top: 16px;
        font-size: 16px;
        line-height: 24px;
        font-weight: 300;
    }

    .promo_event .events_last .img {
        display: none;
    }

    .promo .promo_event .promo_info {
        position: absolute;
        bottom: 0;
        padding: 0;
        padding-bottom: 80px;
    }

    .promo_event .advertising_nav span {
        width: 18%;
    }
}

/* Hover эффект на декстопе */
@media (hover: hover) {
    .tags_item:hover {
        border: 1px solid #00A6DE;
        color: #00A6DE;
        background-color: #E6F6FC;
    }
}