@media print,
(max-width: 1023px)
{
    /*-------------------
        Global styles
    -------------------*/
    :root
    {
        --font_size_title_l: 44px;
        --font_size_title: 34px;
        --font_size_title_s: 28px;
        --font_size_title_xs: 22px;
    }



    /*-------------------
        First section
    -------------------*/
    .first_section
    {
        .cont
        {
            align-content: center;
            align-items: center;

            padding-block: 128px 80px;
        }


        .btn
        {
            margin-top: 56.5vw;
        }


        .image
        {
            top: auto;
            bottom: 80px;

            width: 100%;
            height: auto;


            &:after
            {
                position: absolute;
                bottom: 0;
                left: 0;

                display: block;

                width: 100%;
                height: 170px;
                max-height: 100%;

                content: '';
                pointer-events: none;

                background: linear-gradient(180deg, rgba(4, 4, 4, .00) 0%, #040404 100%);
            }


            img
            {
                display: block;

                width: 100%;
                height: auto;
            }
        }
    }



    /*-----------
        Stats
    -----------*/
    .stats
    {
        padding-block: 0 var(--outside_gap);


        .items
        {
            margin-inline: auto;
        }


        .image
        {
            position: relative;
            left: 0;

            width: calc(100% + 160px);
            max-width: calc(100% + 160px);
            margin-inline: -80px;
        }
    }



    /*--------------
        For whom
    --------------*/
    .for_whom
    {
        .grid_row
        {
            --items_per_line: 1;
            --gap_x: var(--inner_gap);
            --gap_y: var(--inner_gap);
        }
    }



    /*-------------
        Reviews
    -------------*/
    .reviews
    {
        .swiper
        {
            &:not(.swiper-initialized)
            {
                .swiper-wrapper
                {
                    gap: var(--spaceBetween-768);
                }


                .swiper-slide
                {
                    width: calc(100% / var(--slidesPerView-768) - var(--spaceBetween-768));
                }
            }
        }
    }



    /*---------------------
        Best techniques
    ---------------------*/
    .best_techniques
    {
        .items
        {
            font-size: var(--font_size_title_xs);
        }


        .image
        {
            width: 900px;
            margin-right: -700px;
        }
    }



    /*----------------
        About info
    ----------------*/
    .about_info
    {
        .row
        {
            justify-content: space-between;
            gap: 0;
        }


        .item
        {
            .desc
            {
                font-size: var(--font_size);
            }
        }
    }



    /*-------------
        Tariffs
    -------------*/
    .tariffs
    {
        .grid_row
        {
            --items_per_line: 2;
        }


        .tariff
        {
            &.primary
            {
                --width_multiplier: 2;
            }
        }


        .contacts
        {
            padding-block: 0 var(--block_padding_l);


            .cont
            {
                flex-direction: column;
                gap: var(--inner_gap);
            }


            .title
            {
                width: 332px;

                text-align: center;
            }


            .btn
            {
                margin-inline: auto;
                margin-top: var(--inner_gap_xs);
            }
        }
    }



    /*------------------
        About author
    ------------------*/
    .about_author
    {
        .grid_row
        {
            --items_per_line: 1;
        }


        .data
        {
            order: 2;


            .title,
            .btn
            {
                /*display: none;*/
            }


            .image
            {
                margin-inline: 0;
            }
        }


        .info
        {
            .desc
            {
                width: 468px;
            }
        }
    }



    /*---------------
        Education
    ---------------*/
    .education
    {
        .grid_row
        {
            --items_per_line: 1;
        }
    }



    /*-------------
        Experts
    -------------*/
    .experts
    {
        .swiper
        {
            width: 480px;
            max-width: 100%;
            margin-inline: auto;


            &:not(.swiper-initialized)
            {
                .swiper-wrapper
                {
                    gap: var(--spaceBetween-768);
                }


                .swiper-slide
                {
                    width: calc(100% / var(--slidesPerView-768) - var(--spaceBetween-768));
                }
            }
        }
    }



    /*-----------
        Based
    -----------*/
    .based
    {
        .data
        {
            .image1
            {
                bottom: 0;

                width: 180px;
            }


            ul
            {
                width: calc(100% - 400px);
                margin-right: 0;
            }


            .image2
            {
                right: auto;
                bottom: 0;
                left: 204px;

                width: 200px;
            }
        }
    }



    /*------------
        Footer
    ------------*/
    footer
    {
        .links
        {
            justify-content: flex-start;
            gap: var(--inner_gap) var(--block_padding_l);
        }
    }
}
