@media print,
(max-width: 1023px)
{
    /*-------------------
        Global styles
    -------------------*/
    :root
    {
        --font_size_h1: 38px;
        --header_h: 76px;
    }


    .cont
    {
        padding: 0 24px;
    }



    /*------------
        Header
    ------------*/
    header .topbar
    {
        display: none;
    }

    header .main_header .cont
    {
        height: 76px;
    }

    header .logo .text
    {
        font-size: 13px;
    }

    header .logo .mark
    {
        height: 46px;
    }


    /* Мобільне меню - виїзна панель */
    header .menu
    {
        position: fixed;
        z-index: 300;
        top: 0;
        right: 0;

        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;

        width: 360px;
        max-width: 86%;
        height: 100%;
        height: 100dvh;
        padding: 96px 32px 32px;

        transition: .35s;
        transform: translateX(100%);
        overflow-y: auto;
        background: var(--bg);
        box-shadow: -20px 0 50px rgba(6,42,62,.18);
    }

    body.menu_open header .menu
    {
        transform: translateX(0);
    }

    header .menu a
    {
        font-size: 17px;

        width: 100%;
        padding: 15px 0;

        border-bottom: 1px solid var(--line);
    }

    header .menu a:after
    {
        display: none;
    }


    /* Випадаюче підменю "Про нас" */
    header .menu .item.has_dropdown
    {
        width: 100%;
    }

    header .menu .item.has_dropdown .row
    {
        width: 100%;
        border-bottom: 1px solid var(--line);
    }

    header .menu .item.has_dropdown .row a
    {
        flex: 1;

        width: auto;
        padding: 15px 0;

        border-bottom: none;
    }

    header .menu .dropdown_toggle
    {
        width: 44px;
        height: 50px;

        color: var(--text_soft);
    }

    header .menu .dropdown_toggle .icon
    {
        width: 14px;
        height: 14px;
    }

    header .menu .dropdown
    {
        position: static;

        display: none;
        overflow: hidden;
        margin-top: 0;
        padding: 0;

        opacity: 1;
        transform: none;
        visibility: visible;
        border-radius: 0;
        background: none;
        box-shadow: none;
    }

    header .menu .dropdown:before
    {
        content: none;
    }

    header .menu .item.has_dropdown.open .dropdown
    {
        display: block;
    }

    header .menu .item.has_dropdown.open .dropdown_toggle .icon
    {
        transform: rotate(180deg);
    }

    header .menu .dropdown a
    {
        font-size: 15px;

        padding: 12px 0 12px 18px;

        color: var(--text_soft);
    }

    header .menu .close_btn
    {
        position: absolute;
        top: 24px;
        right: 24px;

        display: flex;
        align-items: center;
        justify-content: center;

        width: 40px;
        height: 40px;

        font-size: 22px;

        border-radius: 50%;
        background: var(--bg_soft);
    }

    header .menu .menu_mob_foot
    {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;

        width: 100%;
        margin-top: 28px;
    }

    header .menu .menu_mob_foot .mob_phone
    {
        font-size: 19px;
        font-weight: 800;

        color: var(--primary);
    }

    header .menu .menu_mob_foot .mob_langs
    {
        font-size: 15px;
        font-weight: 700;

        display: flex;
        align-items: center;
        gap: 10px;
    }

    header .menu .menu_mob_foot .mob_langs a
    {
        font-size: 15px;

        width: auto;
        padding: 0;

        color: var(--text_soft);
        border-bottom: none;
    }

    header .menu .menu_mob_foot .mob_langs span
    {
        color: var(--text_soft);
    }

    header .menu .menu_mob_foot .mob_langs .mob_social
    {
        width: 34px;
        margin-left: 10px;

        color: var(--primary);
    }

    header .menu .menu_mob_foot .mob_langs a.active
    {
        color: var(--primary);
    }

    header .menu .menu_mob_foot .btn
    {
        width: 100%;
    }


    header .header_right
    {
        flex-direction: row;
        align-items: center;
        gap: 0;
    }

    header .header_trust
    {
        display: none;
    }

    header .header_btns
    {
        gap: 16px;
    }

    header .header_btns .phone,
    header .header_btns > .btn
    {
        display: none;
    }

    header .mob_phone_btn
    {
        font-size: 16px;
        font-weight: 800;
        white-space: nowrap;

        display: block;

        color: var(--primary);
    }

    header .mob_menu_btn
    {
        display: block;
    }

    body.menu_open header .mob_menu_btn span
    {
        background: transparent;
    }

    body.menu_open header .mob_menu_btn span:before
    {
        top: 0;
        transform: rotate(45deg);
    }

    body.menu_open header .mob_menu_btn span:after
    {
        top: 0;
        transform: rotate(-45deg);
    }



    /*------------------
        Hero slider
    ------------------*/
    .hero .slide
    {
        min-height: 620px;
    }

    .hero .slide .overlay
    {
        background: linear-gradient(180deg, rgba(6,42,62,.35) 0%, rgba(6,42,62,.55) 45%, rgba(6,42,62,.92) 100%);
    }

    .hero .slide
    {
        align-items: flex-end;

        padding-bottom: 56px;
    }

    .hero .slide .info
    {
        max-width: 560px;
    }

    .hero .slide .desc
    {
        font-size: 16px;

        max-width: 460px;
    }

    .hero .hero_bottom
    {
        position: static;

        border-top: none;
        background: var(--primary_dark);
    }

    .hero .hero_bottom .cont
    {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;

        height: auto;
        padding-top: 24px;
        padding-bottom: 24px;
    }

    .hero .stats
    {
        gap: 30px;
    }

    .hero .swiper-button-prev,
    .hero .swiper-button-next
    {
        top: 40%;

        width: 44px;
        height: 44px;
        margin-top: -22px;
    }

    .hero .swiper-button-prev
    {
        left: 16px;
    }

    .hero .swiper-button-next
    {
        right: 16px;
    }



    /*------------
        Block head
    ------------*/
    .block
    {
        padding: 60px 0;
    }

    .block_head
    {
        margin-bottom: 32px;
    }

    .block_head .title
    {
        font-size: 28px;
    }

    .block_head.row
    {
        flex-wrap: wrap;
        gap: 20px;
    }



    /*------------
        Лікарі
    ------------*/
    .doctors_slider,
    .articles_slider
    {
        padding: 0 24px;
    }

    .doctor_card .avatar
    {
        width: 195px;
        height: 195px;

        font-size: 24px;
    }



    /*------------
        Акція
    ------------*/
    .promo_card
    {
        border-radius: 22px;
    }

    .promo_card .info
    {
        padding: 36px 28px;
    }

    .promo_img
    {
        min-height: 200px;
    }

    .promo_card .title
    {
        font-size: 24px;
    }

    .promo_card .price span
    {
        font-size: 34px;
    }



    /*------------
        Модалки
    ------------*/
    .modal
    {
        max-width: 560px;
        padding: 36px 28px 28px;
    }

    .booking_modal .row
    {
        flex-direction: column;
        gap: 28px;
    }

    .booking_modal .info,
    .booking_modal .form
    {
        width: 100%;
    }



    /*------------
        Наші філії
    ------------*/
    .clinics_map iframe
    {
        height: 340px;
    }

    .filii_cards
    {
        grid-template-columns: 1fr;
    }

    .filii_layout
    {
        grid-template-columns: 1fr;
    }

    .filii_allmap
    {
        position: static;

        order: -1;

        height: 340px;
        min-height: 0;
    }



    /*------------
        Плаваюча кнопка
    ------------*/
    .fab
    {
        right: 20px;
        bottom: 20px;

        width: 54px;
        height: 54px;
    }



    /*------------
        Сторінка лікарів
    ------------*/
    .page_head
    {
        padding-top: calc(var(--header_h) + 32px);
        padding-bottom: 32px;
    }

    .page_head .title
    {
        font-size: 26px;
    }

    .doctors_grid_full
    {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;

        margin-bottom: 36px;
    }

    .doctors_cta
    {
        flex-direction: column;
        align-items: flex-start;

        padding: 28px;
    }

    .doctors_cta .btn
    {
        width: 100%;
        text-align: center;
    }

    .doctors_cta .btns
    {
        flex-direction: column;
        width: 100%;
    }



    /*------------
        Сторінка філій
    ------------*/
    .filii_perks
    {
        padding: 40px 0;
    }

    .filii_perks_grid
    {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .clinics.block
    {
        padding-top: 60px;
    }
}
