@media (max-width: 990px) {

    body {
        overflow-x: hidden;
    }

    .mpdp-buttons {
        justify-content: center;
    }
    
    .mpdp-text {
        padding-left: 0px;
        padding-right: 0px;
    }
    .mphglan-nav a {
        display: none;
    }

    .mpfgli-logo a {
        width: 60%;
    }

    .mphglan-nav a:first-child {
        display: block;
    }

    .mpmmg-group {
        gap: 25px !important;
        flex-direction: column; 
    }

    .mp-possibilities-t-a-v {
        padding: 0px !important;
    }

    .mppbg-pos {
        padding-left: 0px !important;
        padding-right: 0px !important;
    }

    .vb-reverse {
        flex-direction: column-reverse !important;
    }

    .mpfgrn-nav img {
        width: 100% !important;
        padding-top: 30px !important;
        padding-bottom: 30px;
    }

    .morg-head-pagin {
        display: none;
    }

    .mpp-blocks-group {
        flex-wrap: nowrap;
        flex-direction: column;
        padding-left: 15px;
        padding-right: 15px;
    }
    .mp-possibilities {
        max-width: 900px;
    }

    .mpdp-text span {
        font-size: 39px;
        line-height: 40px;
    }

    .mpfgli-messangers {
        justify-content: center;
        padding-bottom: 50px;
    }

    .mptlarg-right {
        display: none;
    }

    .morgrv-block {
        min-height: 250px !important;
        flex: 0 0 80%;
        margin-left: 17px;
    }

    .mpfgrn-nav {
            max-width: 200px;
            width: 100%;
            /* flex: 0 0 50%; */
    }

    .mpfg-right-nav {
        width: 100%;
        flex-direction: column;
        align-items: center;
        gap: 40px;
        /* flex-wrap: wrap; */
        /* padding-left: 50px;
        padding-right: 50px; */
        text-align: center;
    }

    .mp-try-for-free {
        padding-bottom: 80px;
    }


    .mpfgli-logo {
        display: flex;
        justify-content: center;
    }

    .mpfgli-text {
            text-align: center;
    }

    .mpfg-left-info {
        width: 100% !important;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .mpfgli-logo img {
        width: 60%;
    }

    .mp-footer-group {
        flex-direction: column;
    }

    .mtffg-tags {
        flex-direction: column;
        align-items: baseline;
        padding-bottom: 0px;
        /* gap: 30px !important; */
        padding-left: 30px;
    }

    .mtffg-form {
        padding-left: 50px;
        padding-right: 50px;
    }

    .mpag-right {
        width: 100%;
    }

    .mpag-left {
        width: 100%;
        padding: 25px;
    }

    .mpag-left-and-right-group {
        flex-direction: column;
        padding-left: 40px;
        padding-right: 87px;
    }

    .mpt-left-and-right-group {
        flex-direction: column;
    }

    .all-tariffs-group {
        flex-direction: column;
        padding-left: 50px;
        padding-right: 50px;
    }

    .mppa-main-panel-lk {
        overflow: auto;
        max-width: 353px;
    }

    .main-table-of-sotr {
        overflow: auto;
    }
    .menu-table-sotr-group {
        flex-direction: column;
    }

    .menu-table-sotrudniki {
        justify-content: space-between;
    }

    .menu-table-search {
        width: auto;
    }

    .mp-digital-platform {
        /* padding-left: 30px; */
        /* max-width: 350px; */
        width: 93%;
    }

    .mpdp-buttons {
        flex-direction: column;
        text-align: center;
    }

    .index-register-modal, .index-auth-modal, .index-respas-modal {
        display: flex;
        flex-direction: column;
        align-items: center;
        padding: 100px 0px;
    }

    .index-register-modal form, .index-auth-modal form, .index-respas-modal form {
        /* max-width: 375px; */
        width: 80%;
    }

    /* Страница О Компании */

    .mppa-main-panel-lk {
        overflow: auto;
        max-width: 320px;
    }

    .mptc-about {
        padding: 80px 50px;
    }

    .mpdp-buttons a {
        white-space: nowrap;
    }
    
    .mpawpg-content {
        flex-direction: column;
    }

    .mp-about-what-predl {
        padding: 50px;
    }

    .mptcg-about-content {
        flex-direction: column;
    }

    .main-table-of-sotr {
        overflow: auto;
    }
    .menu-table-sotr-group {
        flex-direction: column;
    }

    .menu-table-sotrudniki {
        justify-content: space-between;
    }

    .menu-table-search {
        width: auto;
    }

    .mpdp-about-group {
        flex-direction: column;
        padding-top: 0px;
    }

    .mpdp-about-company {
        padding-bottom: 50px;
    }

    /* Страница Статья */

    .mp-tariff-constructor-article {
        padding: 50px;
    }

    .mpdp-article span {
        font-size: 35px;
        line-height: 44px;
    }


    .mphgraa-buttons a:last-child {
        padding: 10px 7px;
        white-space: nowrap;
    }

    .mpagr-block {
        flex: 0 0 100% !important;
    }
    
    .banner-main {
        width: 90% !important;
    }
    .mpdp-text span {
        font-size: 35px;
        line-height: 50px;
    }

    .mppb-text p {
        text-align: justify;
    }
    .banner-main-block img {
        width: 100%;
        height: auto !important;
        object-fit: cover !important;
    }
    .morgrb-slider-mobile {
        display: block !important;
    }

    .morgrb-slider {
        display: none !important;
    }

    .mtffg-head-button {
        /* margin-left: 20px;
        margin-right: 20px; */
        width: 92%;
    }

    .mpawpg-first {
        max-width: none;
        width: 100%;
    }

    .mpawpg-medium {
                max-width: none;
        width: 100%;
    }

    .mpawpg-last {
        max-width: none;
        width: 100%;
    }

    .mppbg-flex-center {
        gap: 10px;
    }

    .vozmozhnosti-blocks .mppb-icon {
        width: 11%;
        padding: 5px !important;
    }

    .cookie-banner {
        flex-direction: column;
        width: 80%;
    }

    .cookie-banner p {
        font-size: 12px;
    }

    .swiper-pagination-bullet {
        margin-bottom: 0px !important;
        margin-top: 20px !important;
    }

    /* Сайдбар меню */
    .mobile-menu {
        position: fixed;
        top: 0;
        right: -100%; /* спрятано за пределами окна */
        width: 91%;
        height: 100vh;
        background-color: #181818;
        box-shadow: -3px 0px 5px rgba(0,0,0,.1);
        display: flex;
        flex-direction: column;
        padding: 20px;
        transition: right 0.3s ease;
        z-index: 1000;
    }

    .mobile-menu a {
        padding: 15px 0;
        text-decoration: none;
        font-family: "Inter", sans-serif;
        font-weight: 600;
        font-size: 15px;
        line-height: 22px;
        letter-spacing: 0px;
        text-decoration: none;
        color: white;
    }

    .mobile-menu.open {
        right: 0;
    }

    .menu-close {
        font-size: 30px;
        cursor: pointer;
        color: white;
        font-family: "Inter", sans-serif;
        font-weight: 600;
        font-size: 40px;
        line-height: 22px;
        letter-spacing: 0px;
        text-decoration: none;
    }

    .menu-header {
        display: flex;
        justify-content: flex-end;
    }

    .mphg-burger {
        display: block;
    }

    .mphg-burger {
        width: 20%;
        display: flex;
        flex-direction: column;
        gap: 11px;
        align-items: end;
    }

    .mphgb-line {
        height: 3px;
        background: white;
        width: 50%; 
        max-width: 50px;
    }

    .mpdp-about-company p {
        max-width: max-content;
    }

    #back-button {
        padding-top: 50px;
    }

    .image-modal__prev {
        display: none;
    }

    .image-modal__next {
        display: none;
    }
    .mphgraa-buttons p {
        display: none;
    }
    .vozmozhnosti-blocks {
        flex-direction: column;
    }

    .mail_header {
        display: none !important;
    }
}

@media (max-width: 768px) {
    .morgrv-block {
        min-height: 250px !important;
        flex: unset;
        margin-left: 0;
    }

    .morg-reviews-blocks {
        padding-bottom: 30px;
    }
}

@media (max-width: 375px) {
    header {
        padding: 15px 5px;
    }
    .mp-digital-platform {
        /* padding-left: 13px; */
    }
}
