@media (max-width: 1360px) {
    .header_nav ul {
        margin-right: 15px;
    }

    .header_nav ul li {
        margin-left: 20px;
    }

    .header_nav ul li a {
        font-size: 11px;
    }

    .header .language_btn {
        padding: 0 15px;
        font-size: 11px;
    }
}

@media (max-width: 1199px) {
    .custom-logo-link {
        max-width: 200px;
    }

    .custom-logo-link svg {
        width: 100%;
    }

    .main_screen_slider_arrows {
        margin-right: -467px;
    }

    .topic_s {
        margin-top: 50px;
    }

    .topic_s .right {
        padding-top: 0;
    }

    .topic_s .container {
        align-items: center;
    }

    .main_screen_slider .main_screen_item .container {
        padding-bottom: 98px;
    }

    .discover_clme_item {
        width: calc(50% - 42px);
    }

    .chapter_item.w_33,
    .chapter_item.w_66 {
        width: calc(50% - 18px);
    }

    .header_nav ul li {
        margin-left: 13px;
    }

    .chapter_item.w_33 img, .chapter_item.w_66 img {
        height: 524px;
    }
}

@media (min-width: 992px) {
    .share-list {
        right: 100%;
        margin-right: 5px;
        margin-left: auto;
        left: auto;
    }
}

@media (max-width: 991px) {
    .wp-block-columns.has-2-columns {
        flex-direction: column;
    }
    .wp-block-column:not(:first-child) {
        margin-left: 0;
    }

    .wp-block-column {
        margin-bottom: 0;
    }
    body {
        padding-top: 50px;
    }

    .header {
        height: 50px;
        padding: 0 15px;
    }
    .warning {
        top: 50px;
        padding: 15px 15px;
    }

    .header_nav {
        position: absolute;
        right: -100%;
        top: 50px;
        width: 100%;
        height: calc(100vh - 50px);
        display: flex;
        justify-content: center;
        align-items: center;
        background: #fff;
        transition: all 0.3s ease-in-out;
    }

    .header_nav.active {
        right: 0;
    }

    .rcd-page .header_nav.active > ul {
        visibility: visible;
        opacity: 1;
    }

    .header_nav ul {
        display: flex;
        flex-direction: column;
    }

    .header_nav ul li {
        margin: 10px 0;
    }

    .header_nav ul li a {
        font-size: 14px;
    }

    .nav_btn {
        display: block;
        width: 40px;
        height: 40px;
        padding: 0;
        background: transparent;
        border: 0;
        z-index: 2;
        overflow: hidden;
        margin-left: 20px;
    }

    .nav_btn span {
        width: 100%;
        height: 4px;
        display: block;
        margin-bottom: 5px;
        background: #333333;
        transition: all 0.3s ease-in-out;
    }

    .nav_btn span:last-child {
        margin-bottom: 0;
    }

    .nav_btn.active span:nth-child(2) {
        transform: translateX(40px);
    }

    .nav_btn.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 7px);
    }

    .nav_btn.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -8px);
    }

    .main_screen_slider_arrows {
        margin-right: -360px;
        bottom: 35px;
    }

    .search_input_wrpr {
        min-width: initial;
    }

    .tab-content-item .little_col,
    .tab-content-item .big_col {
        width: 100%;
    }

    .introd_title {
        max-width: 100%;
    }

    .chapter_item.w_33 img, .chapter_item.w_66 img {
        height: 404px;
    }
     
    .share-list {
        flex-direction: column;
        box-shadow: 0 4px 25px rgba(0, 0, 0, 0.06);
        transform: none;
        bottom: auto;
        top: -3px;
        left: 100%;
        padding: 0;
    }

    .share-list li {
        margin: 5px;
    }
}

@media (max-width: 767px) {
    .main_screen_slider_arrows {
        margin-right: -270px;
    }

    .main_screen_slider .main_screen_item .main_title {
        max-width: 100%;
    }

    .main_title {
        font-size: 28px;
    }

    .topic_s .left,
    .topic_s .right {
        width: 100%;
        padding: 0;
    }

    .topic_s .left {
        padding-bottom: 30px;
    }

    .discover_clme_item {
        width: calc(100% - 42px);
    }

    .chapters_search {
        flex-direction: column;
    }

    .search_input_wrpr {
        width: 100%;
        margin-bottom: 20px;
    }

    .chapters_search .filters {
        justify-content: space-between;
        width: 100%;
    }

    .chapters_search .select {
        margin-left: 0;
        WIDTH: 100%;
    }

    .chapter_item.w_33, .chapter_item.w_66 {
        width: calc(100% - 18px);
    }

    .grey-block.double_col .left,
    .grey-block.double_col .right {
        width: 100%;
    }

    .grey-block.double_col {
        padding: 20px;
    }

    .tab-content-item .grey-block p.fsz_24 {
        font-size: 18px;
        margin-top: 10px;
    }

    .grey-block h4 {
        line-height: 140%;
    }

    .share-list .mob-share {
        display: block;
    }

    .chapter_item.w_33 img, .chapter_item.w_66 img {
        height: 586px;
    }
}

@media (max-width: 576px) {
    .main_screen_slider_arrows {
        margin-right: -50px;
    }

    .custom-logo-link {
        max-width: 150px;
    }

    .chapters_search .filters {
        flex-direction: column;
    }

    .chapters_search .select {
        width: 100%;
        margin: 10px 0;
    }

    .select select {
        width: 100%;
    }

    .search_input_wrpr {
        margin-bottom: 10px;
    }

    .discover_clme_wrpr {
        margin: -21px 0;
    }

    .discover_clme_item {
        width: 100%;
        margin: 21px 0;
    }

    .main_screen .share-list {
        top: -350%;
    }

    .chapter_item_inner {
        height: 350px;
    }

    .chapter_item.w_33 img, .chapter_item.w_66 img {
        height: 350px;
    }
}

@media (max-width: 400px) {
    .main_title {
        font-size: 22px;
    }

    .def_title {
        font-size: 26px;
        line-height: 36px;
    }

    .discover_clme_item {
        flex-direction: column;
    }

    .nav_btn {
        margin-left: 10px;
    }

    .header {
        padding: 0 10px;
    }

    .custom-logo-link {
        max-width: 130px;
    }

    .discover_clme_item .icon_wrpr {
        margin: 0 0 10px;
    }
}