@media (max-width: 1230px) {
     /*
    --------------
    General styles
    --------------
    */

    .underline-mobile-none::after {
        display: none;
    }
    .underline-desktop-none::after {
        display: block;
    }

    .img-size_rezus {
        width: 72px;
        height: 24px;
    }
     .img-size_telomera {
        width: 105px;
        height: 22px;
    }
     .img-size_entafarma {
        width: 48px;
        height: 44px;
    }
     .img-size_capital {
        width: 99px;
        height: 17px;
    }
    /*
    -----------
    Menu
    -----------
    */

    .line-block-menu {
        padding-bottom: 40px;
        padding-top:70px;
        
    }
    
    .logo {
        height: 32px;
        vertical-align: middle;
        transition: ease all .5s;
    }

    .menu {
        width: calc(100% - 2* var(--padding));
    }

    .menu > a {
        margin:0;
        transition: ease all .5s;
    }
    .menu > a > .button {
        border-radius: 7px;
        background: var(--clr-blue);
        padding: 0;
        width: 36px;
        height: 36px;
        justify-content: center;
        border: 1px solid var(--clr-blue);
        background-image: url('/img/main/carbon_menu.png');
        background-repeat: no-repeat;
        background-position: center;
        font-size: 0;
        transition: ease all .5s;
    }
    .menu > a > .button > div {
        content: "";
    }
    .menu > a > .button > .img-wrapper {
        display: none;
    }


    /*
    ------------
    Line blocks
    ------------
    */

    .header {
        margin-top:0px;
        font-size: 24px;
        line-height: 40px;
        width: 352px;
    }

    /* .line-block {
        padding-bottom:0px;
    } */

    /*
    ------------
    First block
    ------------
    */

    .blocks-top {
        padding-top: 15px;
        grid-template-columns: 1fr;
        grid-template-rows: auto 338px auto auto;
        grid-template-areas:
          "a"
          "b"
          "d"
          "c";

          text-align: center;
          margin: auto;
    }
    .big-cart {
        width: var(--std-width);
    }
    .block-a {
        margin-top:-30px;
      
    }
    .block-a > * {
        margin: auto;
    }
    .block-a > .caption {
        color: var(--clr-bluedark);
        font-size: 34px;
        line-height: 40px;
        width:  250px;
    }
    .block-a > .text {
        line-height: 22px;
        /* width: var(--std-width); */
        /* width: 330px; */
        width: 340px;
    }
    .block-b {
        margin-top:-20px;

    }
    .block-b > img {
        width:calc(var(--std-width) - 80px);
        margin: 30px auto;
    }
    .block-d > a > .button {
        margin:0px auto;
    }
    .block-c { 
        margin-top: -23px;
        width:100%;
    }
    .block-c > .img {
        margin:auto;
        width: var(--std-width);
    }
    .block-c > .img > img {
        display: block ;
        margin-left: 40px;
    }
    .rated {
        margin: 50px auto;
    }

    /*
    ------------
    2nd block
    ------------
    */

    .line-block-2 {
        padding-bottom: 60px;
    }

    .block-2 {
        max-width:500px;
    }

    .big-cart {
        width:  var(--std-width);
        overflow: hidden;
        margin-bottom: 10px;
    }
    .big-cart > .caption {
        width:315px;
        font-size: 22px;
        line-height: 26px;
    }
    .big-cart > .text, .mailer-text {
        width:315px;
        font-size: 16px;
        line-height: 26px;
    }
    .big-cart > img { 
        width: auto;
        height: 268px;
    }

    .big-cart > .mailerbox {
        --img-offset: 20px;
        width: calc(var(--std-width) + (2 * var(--img-offset)));
        margin-left: calc(-1 *  var(--img-offset));
        height: auto;
        /* margin-left:-38px  !important; */
    }

    .big-cart > .btn {
        margin-top: 40px;;
    }

    /*
    ------------
    3 block
    ------------
    */

    .line-block-3 {
        padding-bottom: 0;
    }

    .block-3-content {
        margin-top: 40px;
        padding-bottom: 0;
    }

    .medium-cart {
        height: 360px;
    }

    .medium-cart > img {
        height: 211px;
    }

    .medium-cart {
        margin: 0 auto;
    }

    .underline-block-3-exception::after {
        bottom: -8px;
    }

    
    /*
    ------------
    4 block
    ------------
    */

    .line-block-4 {
        padding-bottom: 18px !important;
    }

    .block-4 {
        width: var(--std-width);
    }

    .block-4-grid  {
        margin-top:0;
        grid-template-columns: 100%;
        grid-template-areas:
          "a"
          "b"
          "c"
          "d"
          "e";
    }
    .block-4-grid > .text {
        width: var(--std-width);
    }
    .block-4-grid > .text > div {
        margin-top: 10px;
    }
   
    .block-4-grid > * > * {
        text-align: left;
        
    }
    .block-4-grid > .image > img {
        width: var(--std-width);
        height: 265px;
        margin:auto;
        margin: 45px 0 45px 0;
    }
    .block-4-grid > .text > .text-top {
        margin-top: 0;
    }
    .block-4-grid > .text > .text-middle {
        font-size: 24px;
        line-height: 34px; /* 121.053% */
    }
    .block-4-grid > .text > .text-bottom {
        margin-top: 18px;
        font-size: 16px;
        line-height: 26px;
    }
    .block-4-grid > .btn {
        margin: 0 auto;
    }


     /*
    ------------
    5 block
    ------------
    */

    .block-5 > .header {
        color: var(--clr-black);
        width: var(--std-width);
    }

    .block-5-content {
        width: var(--std-width);
        grid-template-columns: 450px;
        grid-template-rows: auto auto;
    }

    .block-5-content > .side {
        width: 35px ;
        width:  var(--std-width);
        min-width:  calc(var(--std-width) - var(--padding));
    }
    .block-5-content > .side > .card {
        margin: 0;
        padding: 30px 0;
    }
    .block-5-content > .side > .card:nth-last-child(1) {
        border-bottom: none;
    }
    .block-5-content > .side > .card > .caption {
        font-size: 18px;
        line-height: 34px;
    }
    .block-5-content > .rigth-side {
        margin-top: 20px;
    }
    .block-5-content > .rigth-side > .card {
        background-color: var(--clr-white);
        border-bottom: 2px solid var(--clr-bonewhite);
    }
    .block-5-content > .rigth-side > .card:nth-child(1) {
        margin-top: 10px;
    }
    .block-5-content > .side > .btn > a > .button {
        font-size: 18px;
        line-height: 34px;
        padding: 6px 20px;
    }

    /*
    ------------
    6 block
    ------------
    */

    .line-block-6 {
        padding-bottom: 40px;;
    }

    .block-6-grid {
        margin-top:45px;
        padding-bottom: 0;
        grid-template-columns: auto;
        grid-template-rows: auto auto auto auto auto;
        grid-template-areas:
            "a"
            "b"
            "e"
            "c"
            "d";
    }
    .block-6-grid > * {
        margin: auto;
        width: calc(var(--std-width) - (2 * var(--padding)));
    }
    .block-6-grid > .text {
        width: var(--std-width);
    }
    .block-6-grid > .text > .caption {
        font-size: 20px;
        line-height: 34px;
 
    }

    .block-6-grid > .text > .text {
        width:  var(--std-width);
        color: #777;
        padding-bottom: 30px;
    }

    .block-6-grid > .review > .text {
        width: 281px;
    }

    .block-6-grid > .peoples {
        width: var(--std-width);
    }
    .block-6-grid > .peoples > img {
        object-fit: cover;
        border-radius: 12px;
    }

    .block-6-grid > .rating {
        width: 300px;
    }

    .block-6-grid > .rating > .subcard > .big-text {
        font-size: 72px;
        font-weight: 600;
        line-height: 89px;
        padding-top: 19px;
    }
    .block-6-grid > .rating > .subcard > .text {
        width:273px;
    }
    .block-6-grid > .rating > .subcard > .caption {
        font-size: 24px;
        line-height: 34px
    }

    .block-6-grid > .btn {
        display: none;
    }

    /*
    ------------
    7 block
    ------------
    */

    .block-7-flex {
        margin-top: 50px;
    }

    .block-7-flex > .text {
        
        max-width:var(--std-width);
        font-size: 16px;
        line-height: 26px;
        color: var(--clr-bluedark)
    }
    
    .block-7-flex > img {
        width: var(--std-width);
        height: 245px;
        object-fit: cover;
        border-radius: 12px;
    }

    .block-7-flex > .btn {
        margin-top:40px !important;
    }

    /*
    ------------
    8 block
    ------------
    */

    .block-8 {
        margin: 0 auto;
        overflow:hidden;
        height: 350px;
    }

    .block-8 > .formula-container {
        margin-top: 20px;
    }
    
    .block-8 > .formula-container > .formula {
        display: inline-block;
        width: 218px;
        height: 66px;
        margin-left: 12px;
        border-radius: 12px;
        padding: 40px 20px 16px 20px;
    }

    .block-8 > .formula-container > .formula > .caption {
        font-size: 20px;
        line-height: 34px;
    }

    .block-8 > .formula-container > .formula > .text {
        font-size: 14px;
        line-height: 30px;
    }

    .block-8 > .scroll-buttons {
        padding-top: 250px;
    }
    /*
    ------------
    9 block
    ------------
    */

    .block-9-content {
        /* margin: 0px auto; */
        height: 135px;

    }

    .block-9-content > .block {
        --width: 680px;
        width: auto;
        margin-top: -20px;
        background-color: none;
        background-color: var(--clr-white);
        justify-content: center;
        gap:20px;
    }
    
    /*
    ------------
    Footer
    ------------
    */
    .line-block-footer {
        padding-top: 20px;
        padding-bottom: 55px;
    }
    .footer-grid {
        width: var(--std-width);
        padding-top:0;
        grid-template-columns: auto;
        grid-template-rows: 40px 121px 125px 82px 60px 30px;
        grid-template-areas:
            "logo"
            "text"
            "login"
            "social"
            "cookie"
            "copyrigth";
        text-align: center;
    }

    .footer-grid > * {
        text-align: center;
    }
    
    .footer-grid > .logo {
        grid-area: logo;
    }

    .footer-grid > .text {
        grid-area: text;
    }
    .footer-grid > .login {
        grid-area: login;
        font-size: 20px;
        line-height: 40px;
    }
    .footer-grid > .login > .become-partner {
        display: block;
    }
    .footer-grid > .login > .doctor-login {
        display: none;
    }
    .footer-grid > .social {
        grid-area: social;
    }
    .footer-grid > .cookie {
        grid-area: cookie;
        font-size: 14px;
        line-height: 18px;
    }
    .footer-grid > .copyrigth {
        grid-area: copyrigth;
        font-size: 14px;
        line-height: 18px;
        
    }
    .footer-grid > .social > a > .spotify {
        content:url('/img/main/spotify_y.svg');
    }
    .footer-grid > .social > a > .podcast {
        content:url('/img/main/podcast_y.svg');
    }
    .footer-grid > .social > a > .facebook {
        content:url('/img/main/facebook_y.svg');
    }
    .footer-grid > .social > a > .instagram {
        content:url('/img/main/instagram_y.svg');
    }
    .footer-grid > .social > a > .youtube {
        content:url('/img/main/youtube_y.svg');
    }
    

}