@media screen and (max-width: 1366px) {
    .post_info {
        width: 90%;
        margin: 0 auto 40px;
    }
}

@media screen and (max-width: 1266px) {
    .main_banner .banner .banner_title {
        font-size: 47px;
    }

    #slider {
        right: -10px;
    }

    .dp-wrap {
        width: 480px;
        height: 540px;
    }

    #dp-slider, .dp-img img {
        height: 540px;
    }

    .admin_assistance-content .admin_assistance-btns button {
        font-size: 16px;
        line-height: 21px;
        padding: 10px;
    }

    .admin_assistance-content .admin_assistance-btns button img {
        width: 40px;
    }

    footer .footer-content .footer-content_bottom .footer_soc p,
    footer .footer-content .footer-content_bottom .footer-copyright p {
        font-size: 14px;
    }
}

@media screen and (max-width: 1024px) {
    .dp-wrap {
        width: 450px;
    }

    .main_banner .banner .banner_title {
        font-size: 40px;
    }

    .banner .banner_content .double_btns button {
        width: 100%;
    }

    .banner .banner_content .double_btns {
        flex-direction: column;
        gap: 15px;
    }

    .double_btns {
        justify-content: center;
    }

    .services-dp,
    .сontacts_section,
    .singleNews,
    .news_section,
    .jobs_section {
        padding: 0 0 50px;
    }

    .partner_section {
        padding-top: 0;
    }

    .service_container {
        flex-direction: column;
    }

    .services-sidebar {
        display: none;
    }

    .servicesMob-block {
        display: flex;
    }

    .services-content {
        width: 100%;
    }

    .news_section .news_list .news_list-item {
        max-width: 33%;
        width: calc(33% - 19px);
    }

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

@media screen and (min-width: 991px) {
    .header-navigation_wrapper .mega-menu .mega-sub-menu {
        background: #F8F9FF !important;
        box-shadow: 0 8px 15px rgba(64, 73, 108, 0.2) !important;
        border-radius: 25px !important;
        padding: 10px 0 !important;
    }
}

@media screen and (max-width: 991px) {
    .main_banner .banner {
        flex-direction: column-reverse;
        height: fit-content;
    }

    .main_banner .banner .banner_title,
    .main_banner .banner .banner_subtitle,
    .main_banner .banner .banner_description {
        text-align: center;
    }

    .main_banner .banner .banner_description {
        margin: 0 auto 40px;
    }

    .main_banner .banner .banner_description:after {
        right: 0;
        left: 0;
        margin: auto;
    }

    .main_banner .banner,
    .main_banner .banner .banner_content,
    .main_banner .banner .banner_slider {
        width: 100%;
    }

    .main_banner .banner .banner_content {
        padding: 70px 35px 35px;
    }

    .main_banner .banner .banner_slider {
        padding: 35px 35px 0;
    }

    .dp_item:not(:first-of-type) {
        display: none !important;
    }

    .dp_item {
        width: 100%;
    }

    #dp-next {
        right: 15px;
    }

    #dp-slider,
    .dp-wrap,
    .dp-img,
    .dp-img img {
        width: 100%;
    }

    #dp-dots {
        margin: 15px auto;
        width: fit-content;
    }

    #slider {
        position: unset;
    }

    .all_info {
        display: flex;
    }

    .admin_assistance {
        width: 100%;
    }

    .admin_assist {
        padding-top: 40px;
        padding-bottom: 45px;
    }

    .admin_assistance-img > img {
        margin-left: -24px;
        height: 450px;
    }

    .admin_assistance-img .header-logo {
        top: 39px;
        right: 39px;
    }

    .admin_assistance-content .admin_assistance-btns {
        gap: 5px;
        flex-direction: column;
    }

    .admin_assistance-content .admin_assistance-btns button {
        width: 100%;
    }

    .main_news {
        padding-top: 15px;
        padding-bottom: 50px;
    }

    .post_title {
        font-size: 28px;
        line-height: 38px;
    }

    .singleNews_header .post_date {
        font-size: 21px;
        line-height: 28px;
    }

    .nav-links .post-arrow p {
        font-size: 14px;
        line-height: 21px;
    }
}

@media screen and (max-width: 767px) {
    .section_title {
        padding-right: 120px;
    }

    .section_title:after {
        width: 70px;
        height: 47px;
        right: 30px;
    }

    header {
        box-shadow: 0 8px 15px rgba(64, 73, 108, 0.2);
        margin-bottom: 20px;
    }

    .header-logo img,
    .footer-logo img {
        width: 60px;
    }

    header .header_wrapper {
        padding: 10px 0;
    }

    .header-navigation_wrapper .mega-menu {
        border-radius: 0 20px 20px 0 !important;
        display: flex !important;
        flex-direction: column;
        align-items: flex-start !important;
    }

    .header-navigation_wrapper .mega-menu li:not(:last-of-type) {
        margin-bottom: 5px !important;
    }

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

    .admin_assistance-content,
    .admin_assistance-img {
        width: 100%;
    }

    .admin_assistance-img {
        margin: 0 auto 25px;
        padding: 0 25px;
    }

    .admin_assistance-img > img {
        margin-left: 0;
        height: 450px;
    }

    .admin_assistance-content p {
        text-align: center;
    }

    .post_info {
        padding: 0;
    }

    .post_title {
        font-size: 21px;
        line-height: 32px;
    }

    .post_content {
        font-size: 16px;
        line-height: 35px;
    }

    .singleNews_navi .post-navigation .nav-previous {
        left: -25px;
    }

    .singleNews_navi .post-navigation .nav-next {
        right: -25px;
    }

    .singleNews_navi .post-navigation .nav-previous span, .singleNews_navi .post-navigation .nav-next span {
        width: 50px;
        height: 50px;
        border-radius: 10px;
        background-color: #FFFFFF;
        box-shadow: 0 0 10px rgba(28, 53, 94, 0.20);
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
    }

    .services-content .yellow_btn {
        padding: 10px 15px;
        font-size: 15px;
        line-height: 20px;
        border-radius: 15px;
    }

    .news_section .news_list .news_list-item {
        max-width: 50%;
        width: calc(50% - 16px);
    }

    .сontacts_box {
        flex-direction: column;
    }

    .сontacts_box .contacts_block {
        width: 100%;
        max-width: 100%;
    }

    .jobs_box {
        flex-direction: column;
    }

    .jobs_box .wpcf7-form {
        margin: 50px auto 0;
    }

    .jobs_box .jobs_box-info .jobs_box-descr {
        font-size: 16px;
        line-height: 35px;
    }

    .wpcf7-form {
        padding: 15px;
    }

    .wpcf7-form .form_title {
        font-size: 21px;
        line-height: 32px;
    }

    .wpcf7-form input, .wpcf7-form select {
        font-size: 16px;
    }

    .wpcf7-form input[type='submit'] {
        padding: 10px 15px;
        font-size: 15px;
        line-height: 20px;
        border-radius: 15px;
    }

    .wpcf7-form .form_descr {
        font-size: 14px;
        line-height: 18px;
    }

    .popmake .wpcf7-form,
    .to_cabinet {
        margin: 15px;
    }

    .popmake .wpcf7-form .form_title {
        font-size: 18px;
        line-height: 24px;
    }

    .popmake .wpcf7-form .form_subtitle {
        margin-bottom: 10px;
        font-size: 14px;
        line-height: 16px;
    }

    .popmake .wpcf7-form .file-input__label p span {
        font-size: 14px;
        line-height: 18px;
    }

    footer .footer-content .footer-content_bottom {
        padding-right: 100px;
    }

    footer .footer-content .footer-content_bottom .footer_img {
        right: 25px;
        height: 49px;
        width: 70px;
    }

    footer .footer-content .footer-content_bottom .footer_soc p,
    footer .footer-content .footer-content_bottom .footer-copyright p {
        font-size: 12px;
    }
}

@media screen and (max-width: 639px) {
    .admin_assistance-content .admin_assistance-btns button {
        font-size: 15px;
        line-height: 20px;
    }

    .banner .double_btns {
        flex-direction: column;
        align-items: start;
        gap: 15px 0;
    }

    .section_title,
    .admin_assistance-content .admin_assistance-title {
        font-size: 24px;
        line-height: 33px;
        margin-bottom: 30px;
    }

    .section_subtitle {
        font-size: 14px;
    }

    .admin_assistance-img {
        max-width: 100%;
    }

    .admin_assistance-content {
        padding: 25px;
    }

    .news_section .news_list .news_list-item {
        max-width: 100%;
        width: 100%;
    }

    .main-carousel .owl-nav button {
        width: 50px;
        height: 50px;
        border-radius: 15px !important;
    }

    footer .footer-content .footer-content_top .footer_btn {
        gap: 5px;
    }

    footer .footer-content .footer-content_top .footer_btn .main_btn {
        padding: 5px;
        font-size: 16px;
    }

    footer .footer-content .footer-content_bottom .footer-copyright {
        flex-direction: column;
        gap: 10px;
    }

    footer .footer-content .footer-content_bottom .footer-copyright p:not(:last-of-type):after {
        display: none;
    }
}

@media screen and (max-width: 539px) {
    .header-logo img, .footer-logo img {
        width: 45px;
    }

    .main-carousel {
        margin: 0 auto;
        width: 100% !important;
    }

    .main-carousel .owl-nav {
        position: inherit;
        justify-content: center;
    }

    .main-carousel .owl-nav button {
        width: 80px;
        height: 80px;
        border-radius: 25px !important;
    }

    .admin_assistance-img .header-logo {
        top: 39px;
        right: 40px;
    }

    .сontacts_section .contacts_block .contacts_info {
        flex-direction: column;
        gap: 0;
    }

    footer .footer_wrapper {
        border-radius: 10px;
        padding: 20px 20px 24px 20px;
        max-width: 1216px;
        margin: 0 auto;
        display: flex;
        gap: 0 48px;
        background-color: #1C355E;
    }
}

@media screen and (max-width: 479px) {
    .main_banner .banner .banner_slider {
        padding: 15px 15px 0;
    }

    .main_banner .banner .banner_content {
        padding: 45px 15px 15px;
    }

    .main_banner .banner .banner_content .banner_more {
        margin-top: 15px;
    }

    .main_banner .banner .banner_title {
        font-size: 30px;
    }

    #dp-slider, .dp-img img, .dp-wrap {
        height: 400px;
    }

    .section_title {
        padding-right: 0;
    }

    .section_title:after {
        display: none;
    }

    .double_btns {
        flex-direction: column;
        gap: 5px;
    }

    .double_btns button {
        width: 100%;
    }

    .сontacts_box .contacts_block {
        width: 100%;
    }

    .popmake .wpcf7-form input,
    .popmake .wpcf7-form select {
        border-radius: 10px;
        padding: 10px 10px;
        font-size: 14px;
        line-height: 16px;
    }

    .to_cabinet .to_cabinet-title {
        flex-direction: column;
    }

    .to_cabinet .to_cabinet-btn {
        flex-direction: column;
        gap: 15px 0;
    }

    .to_cabinet .to_cabinet-btn button {
        width: 100%;
    }

    footer .footer_wrapper {
        padding-bottom: 60px;
    }

    footer .footer-content:after {
        bottom: -50px;
    }

    footer .footer-content .footer-content_bottom {
        padding-right: 0;
    }

    footer .footer-content .footer-content_top .footer_btn {
        flex-direction: column;
        align-items: end;
    }

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

    footer .footer-content .footer-content_bottom .footer_img {
        bottom: -50px;
    }
}