@media(max-width: 1450px) {
    .test_block_wrapper {
        margin-top: 3rem;
    }
    .test_block_global_wrapper {
        padding: 3rem 2rem 0 3rem;
        overflow: hidden;
    }
    .col_2 {
        grid-gap: 1.875rem 3rem;
    }
    .tests__item {
        padding-top: 30px;
    }
    .tests__item_content {
        padding: 0 15px 40px 15px;
    }
    .tests__item_title {
        margin-bottom: 30px !important;
    }
}
@media(max-width: 1200px) {
    .text_block__wrapper {
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
        grid-gap: 50px;
    }
    .tests__item_title {
        font-size: 22px;
    }
    .about_us_block_content {
        grid-gap: 100px;
    }
    .about_us_title {
        font-size: 59px;
    }
    .course_block_main_wrapper h1 {
        font-size: 59px;
    }
    .wrapper__footer {
        -ms-grid-columns: 1fr 1fr 1fr;
        grid-template-columns: 1fr 1fr 1fr;
    }
    .previous_event__wrapper_items {
        grid-gap: 90px;
    }
    .course_block_main_wrapper .event_bottom_wrap {
        margin-top: 100px;
    }
    .bg_block_text {
        font-size: 50px;
    }
    .course_block_main_top {
        padding-bottom: 20px;
    }
    .course_block_main_wrapper .event_bottom_wrap .btn {
        width: 100%;
    }
    .text_block__col:first-child {
        margin-bottom: 50px;
    }
    .mini_gallery__wrapper {
        grid-gap: 120px;
    }
    .text_block_col_grid {
        grid-gap: 25px;
    }
}
@media(min-width: 991px) {
    .first_block,
    .main_block,
    .pr_press_wrapper {
        min-height: 450px;
        height: calc(100vh - var(--header-height));
    }
    .wrapper_back_block,
    .wrapper_slider .slider_item,
    .block_text_bottom,
    .default_photo {
        min-height: 750px;
        height: 100vh;
    }
}
@media(max-width: 991px) {
    .main_block,
    .first_block {
        min-height: 750px;
        height: calc(100vh - var(--header-height));
    }
    .first_block video,
    .first_block img {
        aspect-ratio: 375/328;
    }
    .block_text_bottom {
        min-height: 450px;
        height: 100vh;
    }
    .header__col:last-child {
        display: none;
    }
    .tests__item {
        padding-top: 17px;
    }
    .reservation_form_wrapper .event_information__bottom_item_wrap {
        margin-bottom: 25px;
        grid-gap: 10px;
    }
    .tests__item_content {
        padding: 0 10px 10px 10px;
    }
    .tests__item_content .btn {
        width: 100%;
        text-align: center;
    }
    .tests__item_title br {
        display: none;
    }
    .tests__item_title.border:after {
        position: relative;
        margin: 12px auto 0;
        display: block;
    }
    .tests__item_title {
        text-align: center;
        padding-bottom: 0;
        font-size: 24px;
    }
    .tests__item img {
        max-width: 220px;
        min-height: auto;
    }
    .cf__wrapper_item.cf_col_2 {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }
    .pr_press__form_right {
        width: 100%;
    }
    .pr_press__form_left_select {
        margin-left: auto;
        margin-right: 0;
    }
    .pr_press__form_left {
        margin-bottom: 25px;
    }
    .pr_press__form_left ul {
        right: 0;
        left: auto;
    }
    .pr_press__form_left ul li {
        text-align: right;
    }
    .wrapper__tests {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    .reservation_form_wrapper .event_information__bottom_item {
        display: block;
    }
    .reservation_title p {
        font-size: 14px;
    }
    .footer_col ul {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }
    .footer_col.row_2 {
        grid-column: 1/3;
        text-align: center;
    }
    .first_block_text .title, .first_block_text .text {
        color: #FFF;
    }
    .first_block_text .title {
        font-size: 24px;
    }
    .first_block_text .text {
        font-size: 12px;
    }
    .first_block_text .border::after {
        background: var(--Active, #BF7B54);
    }
    .first_block_text {
        bottom: 0;
        padding: 0 10px;
        margin-top: 70px;
        margin-bottom: 140px;
    }
    .first_block::before {
        height: 100%;
        content: '';
        background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.00)), to(#000000));
        background: -o-linear-gradient(rgba(0, 0, 0, 0.00) 0%, #000000  100%);
        background: linear-gradient(rgba(0, 0, 0, 0.00) 0%, #000000  100%);
        width: 100%;
        position: absolute;
        bottom: 0;
    }
    .title_v2 {
        font-size: 18px;
    }
    .slick-slide img,
    .slick-slide video {
        width: 100%;
        aspect-ratio: 375/271;
        -o-object-fit: cover;
           object-fit: cover;
    }
    .next {
        bottom: auto;
        top: 130px;
        right: 10px;
    }
    .prev {
        bottom: auto;
        top: 130px;
        left: 10px;
    }
    .video_wrapper {
        font-size: 14px;
    }
    .video_wrapper {
        max-width: 100%;
        min-width: 100%;
        position: inherit;
    }
    .video_block .bg_text {
        display: none;
    }
    .video_block__col .btn {
        width: 100%;
        display: block;
        text-align: center;
        z-index: 2;
        margin-top: 30px;
        position: relative;
    }
    .video_block__col:first-child {
        z-index: 1;
        margin-bottom: 0;
        position: relative;
        padding: 410px 10px 65px 10px;
    }
    .text_block__col:last-child {
        -webkit-box-ordinal-group: 0;
            -ms-flex-order: -1;
                order: -1;
    }
    .video_block__col .title {
        color: #ffffff;
        margin-bottom: 15px;
        z-index: 2;
        position: relative;
    }
    .video_block__col:first-child:before {
        content: '';
        width: 100%;
        height: 100%;
        position: absolute;
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.00)), to(#000));
        background: -o-linear-gradient(top, rgba(0, 0, 0, 0.00) 0%, #000 100%);
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, #000 100%);
    }
    .video_block__col .text {
        color: #ffffff;
        z-index: 2;
        position: relative;
    }
    .video_block__wrapper {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }
    .header__logo svg {
        max-width: 189px;
    }
    .video_block {
        margin-top: 115px;
        margin-bottom: 0;
    }
    .footer_socials ul {
        -ms-grid-columns: 1fr 1fr 1fr;
        grid-template-columns: 1fr 1fr 1fr;
    }
    .copy {
        text-align: center;
        margin-top: 20px;
    }
    .wrapper__footer {
        -ms-grid-columns: 1fr 30px 1fr;
        grid-template-columns: 1fr 1fr;
        -webkit-box-align: start;
            -ms-flex-align: start;
                align-items: flex-start;
        grid-gap: 30px;
    }
    .footer_col:nth-child(2) {
        -ms-grid-column: 1;
        -ms-grid-column-span: 2;
        grid-column: 1/3;
        -ms-grid-row: 1;
        grid-row: 1/1;
    }
    .footer_title.border::after {
        width: 100%;
    }
    .footer_info {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
        grid-gap: 20px;
    }
    .mini_gallery__wrapper {
        grid-gap: 10px;
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
        padding: 0 10px;
    }
    .block_text_bottom img {
        min-height: 528px;
        -o-object-fit: cover;
           object-fit: cover;
    }
    .about_us_block {
        margin-top: 85px;
        margin-bottom: 85px;
    }
    .photo_2_col__item:last-child {
        margin-top: 25px;
    }
    .photo_2_col__item__content_col:not(:last-child) {
        margin-right: 0;
        margin-bottom: 20px;
    }
    .photo_2_col__item__content_col {
        margin-right: 0;
        width: 100%;
    }
    .widget_block__title {
        font-size: 40px;
    }
    .widget_block_content {
        top: 0;
        margin-top: 9px;
        padding: 0 10px;
    }
    .widget_block__text {
        font-size: 12px;
    }
    .widget_block {
        margin: 85px 0;
    }
    .photo_2_col__item:first-child {
        padding-right: 0;
    }
    .photo_2_col {
        padding: 0 10px;
        margin-bottom: 85px;
    }
    .photo_2_col__wrapper {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }
    .about_us_block__item:last-child {
        -webkit-box-ordinal-group: 0;
            -ms-flex-order: -1;
                order: -1;
        margin-left: -10px;
        width: calc(100% + 20px);
    }
    .photo_2_col__item__content {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }
    .default_photo {
        padding: 0;
        margin-bottom: 85px;
    }
    .default_photo img {
        min-height: 369px;
        -o-object-fit: cover;
           object-fit: cover;
    }
    .footer_info_col a {
        font-size: 14px;
    }
    .about_us_block_content {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
        padding: 0 10px;
        grid-gap: 25px;
    }
    .wpcf7-form input:not(input[type=submit]), .wpcf7-form textarea {
        font-size: 14px;
        -webkit-appearance: none;
           -moz-appearance: none;
                appearance: none;
    }
    .pr_press__form_left {
        margin-right: 0;
        display: -ms-grid;
        display: grid;
        -ms-grid-columns: 1fr 1fr;
        grid-template-columns: 1fr 1fr;
        width: 100%;
    }
    .pr_press__form_left_title.border {
        padding-bottom: 0;
        margin-bottom: 0;
    }
    .pr_press__form_left_title.border:after {
        display: none;
    }
    .about_us_title, .about_us_subtitle {
        font-size: 33px;
    }
    .pr_press_wrapper {
        padding: 20px 10px;
    }
    .pr_press__form {
        margin-top: 50px;
        margin-bottom: 45px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
    }
    .about_us_title:last-of-type {
        padding-right: 0;
    }
    .block_text_bottom_content {
        right: 0;
        font-size: 18px;
        max-width: 355px;
        bottom: 50px;
        left: 10px;
    }
    .footer_info_col_title {
        margin-bottom: 3px;
    }
    .footer {
        margin-top: 85px;
        padding: 0 10px 50px 10px;
    }
    .mini_gallery__item:first-child {
        margin-left: 0;
    }
    .mini_gallery__item:last-child {
        margin-top: 0;
        padding-right: 0;
    }
    .mini_gallery {
        margin-top: 85px;
    }
    .text_block__wrapper {
        -ms-grid-columns: 1fr !important;
        grid-template-columns: 1fr !important;
        padding: 0;
    }
    .video_wrapper .tel_bg {
        display: none;
    }
    .text_block_col_grid > div {
        font-size: 14px;
    }
    .text_block__col:first-child {
        padding: 0 10px;
    }
    .text_block_col_grid {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
    }
    .slider_content .title, .slider_content .text {
        color: var(--Black, #080808);
    }
    .slider_content .border::after {
        background: var(--Active, #BF7B54);
    }
    .slider_content .btn {
        width: 100%;
        text-align: center;
        display: block;
        margin-top: 30px;
    }
    .text {
        font-size: 12px;
    }
    .title {
        font-size: 24px;
    }
    .slider_content {
        position: relative;
        bottom: 0;
        margin-top: 15px;
        padding: 0 10px;
        left: 0;
    }
    .back_block_col .btn {
        width: 100%;
        display: block;
        text-align: center;
    }
    .back_text_block {
        margin-bottom: 85px;
    }
    p {
        font-size: 12px;
    }
    .wrapper_back_block img {
        z-index: 2;
        position: relative;
    }
    .back_block_col:last-child {
        padding: 0 10px;
        margin-top: 40px;
    }
    .back_text_block .bg_text {
        font-size: 60px;
        top: 24px;
        -webkit-box-align: end;
            -ms-flex-align: end;
                align-items: flex-end;
        z-index: 1;
        color: #ffffff;
    }
    .header__wrapper {
        padding-left: 10px;
        padding-right: 10px;
    }
    .video_wrapper img:not(.tel_bg),
    .video_wrapper video {
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        -o-object-fit: cover;
           object-fit: cover;
        max-width: 100%;
    }
    .main_block_content {
        left: 0;
        top: 10px;
        padding: 0 10px;
        width: 100%;
    }
    .event_top_wrap > span:last-child > span:first-child {
        margin-right: 4px;
    }
    .event_top_wrap > span:first-child {
        margin-right: 10px;
        padding-right: 10px;
    }
    .footer_logo img {
        max-width: 72px;
    }
    .previous_event__wrapper__item_title {
        font-size: 14px;
    }
    .subtitle {
        font-size: 12px;
    }
    .previous_event__wrapper__item:nth-child(odd) {
        padding-top: 0;
    }
    .previous_event__wrapper_items {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
        grid-gap: 25px;
        padding: 0 10px;
    }
    .event_bottom_wrap .btn {
        width: 100%;
        text-align: center;
    }
    .previous_event__wrapper {
        padding: 0 10px;
    }
    .main_block_content .nav-xt {
        margin-top: 9px;
    }
    .event_top_wrap {
        top: 0;
        margin-top: 0;
        padding: 8px 10px;
        position: absolute;
        right: 10px;
    }
    .event_information {
        margin-bottom: 85px;
    }
    .event_information__bottom_item {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-pack: center;
            -ms-flex-pack: center;
                justify-content: center;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        -webkit-box-align: center;
            -ms-flex-align: center;
                align-items: center;
    }
    .event_information__bottom_item_wrap {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
        grid-gap: 40px;
    }
    .event_information__wrapper {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
        padding: 0 10px;
        grid-gap: 25px;
    }
    .event_information {
        margin-top: 10px;
    }
    .event_information__item:last-child {
        -webkit-box-ordinal-group: 0;
            -ms-flex-order: -1;
                order: -1;
    }
    .event_bottom_wrap > span:not(.btn) {
        margin-right: 0;
        margin-bottom: 13px;
    }
    .event_bottom_wrap {
        right: 0;
        left: 0;
        margin: 0 10px;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
            -ms-flex-direction: column;
                flex-direction: column;
        bottom: 140px;
    }
    .sidebar_logo svg {
        max-width: 35px;
    }
    .sidebar_logo {
        top: 15px;
        right: 10px;
    }
    .back_block_col:first-child {
        background: #F5F5F5;
        padding-top: 80px;
    }
    .footer_col:last-child ul {
        margin-top: 0;
    }
    .wrapper_back_block {
        -ms-grid-columns: 1fr;
        grid-template-columns: 1fr;
		position: relative;
		z-index: 2;
    }
    #menu, #reservation {
        padding: 10px;
        min-width: 100%;
    }
    .header__col:nth-child(2) {
        -webkit-box-ordinal-group: 0;
            -ms-flex-order: -1;
                order: -1;
    }
    .test_block_img {
        display: none;
    }
    .test_block_global_wrapper {
        padding: 0.88rem 0.62rem 0;
        overflow: hidden;
    }
    .test_block_wrapper {
        margin-top: 3.38rem;
        padding: 1.25rem 0.625rem;
        width: 100%;
    }
    .test_block_item_question_number {
        font-size: 0.8125rem;
    }
    .test_block_item_question_title {
        font-size: 1.3125rem;
    }
    .test_block_item_question_items {
        margin-top: 1.56rem;
    }
    .col_2 {
        grid-template-columns: 1fr;
        grid-gap: 0.94rem;
    }
    .test_block_item__bottom {
        flex-direction: column;
        margin-top: 2.81rem;
    }
    .test_block_item__bottom_progress {
        width: 100%;
        margin-right: 0;
        margin-bottom: 1.56rem;
    }
    .test_block_item__bottom .btn {
        max-width: 100%;
    }
    .result_intro {
        padding: 0.62rem 0.62rem 0 0.62rem;
        min-height: auto;
    }
    .result_intro_block {
        padding: 1.25rem 0.62rem;
        margin-top: 0;
    }
    .result_intro_title {
        font-size: 1.3125rem;
        margin-top: 2rem;
        max-width: 13.0625rem;
        line-height: normal;
    }
    .result_intro_block_bottom {
        margin-top: 1.25rem;
        flex-direction: column;
    }
    .result_intro_block_bottom .btn {
        padding: 0.94rem 1.25rem;
        margin-bottom: 0.35rem;
        width: 100%;
    }
    .result_intro_block_text > * {
        font-size: 0.8125rem;
    }
    .result_intro_block_title {
        font-size: 1.3125rem;
    }
    .result_intro_wrapper {
        grid-template-columns: 1fr;
        grid-gap: 0;
    }
    .result_intro_bottom {
        margin-top: 4.2rem;
        width: min-content;
    }
    .steeps_container {
        padding: 0 0.625rem;
    }
    .steeps {
        margin: 5.3125rem 0;
    }
    .steeps_top_title {
        font-size: 1.5rem;
    }
    .steeps_top_subtitle {
        font-size: 1.5rem;
    }
    .steeps_body {
        grid-template-columns: repeat(1, 1fr);
        grid-gap: 1.56rem;
    }
    .steeps_body_col_title {
        font-size: 1.3125rem;
        margin-bottom: 0.6rem;
    }
    .steeps_body_item {
        padding: 0.625rem;
        flex-direction: column;
        align-items: flex-start;
    }
    .steeps_body_item_count {
        margin-right: 0;
        margin-bottom: 0.62rem;
    }
    .steeps_body_item_text p {
        font-size: 0.875rem;
    }
    .steeps_body_item_text span {
        font-size: 0.875rem;
    }
    .steeps_body_col_center .steeps_body_col_title {
        text-align: left;
    }
    .steeps_body_items_2 {
        order: 2;
    }
    .steeps_body_items_pink {
        padding: 1.25rem 0.625rem;
    }
    .steeps_body_items_pink li {
        font-size: 0.875rem;
    }
    .lifehack {
        margin-top: 5.31rem;
        padding: 1.25rem 0.625rem 3.75rem 0.625rem;
    }
    .lifehack_items {
        flex-direction: column;
    }
    .lifehack_border {
        width: 100%;
        height: 0.0625rem;
        margin: 1.56rem 0;
    }
    .others_tests_title {
        font-size: 2.5rem;
        text-align: center;
    }
    .others_tests_wrapper {
        grid-template-columns: 1fr;
        grid-gap: 2rem;
    }
    .others_tests_container {
        padding: 0 0.62rem;
    }
    .others_tests_btn {
        position: static;
        margin: 1rem auto 0;
    }
    .others_tests {
        margin-top: 0;
    }
    .prof {
        padding: 0.9375rem 0.625rem;
        margin-top: 5.31rem;
    }
    .wrapper_404 {
        font-size: 2.5rem;
        padding: 7rem 0.62rem;
    }
    .left_right_item {
        grid-template-columns: 1fr;
    }
    .left_right_item:nth-child(even) {
        grid-template-columns: 1fr;
    }
    .left_right_item:nth-child(even) .left_right_photo {
        order: 0;
    }
    .left_right_item_info_body * {
        font-size: 0.875rem;
    }
    .left_right_items_var_2 .left_right_item {
        grid-template-columns: 1fr;
    }
    .steeps_body_numbers_title {
        font-size: 1.3125rem;
    }
    .steeps_body_number {
        flex-direction: column;
        align-items: flex-start;
    }
    .info_block_container {
        margin: 0 0 5rem 0;
        padding: 1.25rem 0.62rem;
        background-image: none !important;
    }
    .info_block_content * {
        font-size: 0.875rem;
    }
    .info_block_bottom {
        padding: 1.25rem;
    }
    .info_block_bottom_wrapper {
        flex-direction: column;
    }
    .info_block_bottom_wrapper .splitter {
        height: 0.0625rem;
        width: 100%;
        margin: 1.5625rem 0;
    }
    .info_block {
        margin-top: 0;
    }
    .info_block_bottom_title {
        font-size: 1.25rem;
        text-align: left;
    }
    .result_block_img {
        justify-content: flex-end;
        margin-top: -12rem;
    }
    .result_block_img img {
        max-width: 15.56rem;
    }
}