/*==========  Media  ==========*/
@media only screen and (max-width : 1366px) {
    .our_team_item_image{
        padding: 73% 0%;
    }
}

@media only screen and (max-width : 1220px) {
    .header__menu{
        display: none;
    } 
    .header-contact--phone{
        margin-right: auto;
    }
    .menu_close {
        width: 32px;
        height: 32px;
    }
    .menu_show {
        width: 100%;
        height: 100%;
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }
    .menu_show.hidden {
        display: none;
    }
    .menu_close.active{
        display: block;
    }
    .header__menu.active {
        display: block;
        position: absolute;
        right: 0;
        top: 100%;
        background: var(--boxed-color);
        width: 100%;
        max-width: 400px;
        padding: 16px;
        border-radius: 0 0 0 var(--block-radius);
        box-shadow: 0 2px 5px #0000004d;
    }
    .menu_group--header{
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        margin-bottom: 24px;
    }
    .menu_group--header .menu_group__link{
        padding: 0;
    }
    .callback{
        width: max-content;
    }
    body.active:before {
        content: "";
        display: block;
        width: 100%;
        height: 100%;
        background: #1e1e1e;
        opacity: .9;
        position: absolute;
        z-index: 6;
        left: 0;
        top: 0;
    }
    body.active {
        overflow: hidden;
    }
    .faq__question > span {
        min-height: 56px;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
    }
    .menu_group--header .menu_eventer .menu_group__list--2{
        position: relative;
        width: 100%;
        min-width: 100%;
        left: 0;
        border-radius: 0;
        box-shadow: none;
    }
    .menu_group--header .menu_group__item{
        flex-direction: column;
    }
   
}

@media only screen and (max-width : 1025px) {
    .dental_services_list,
    .article_list_grid{
        grid-template-columns: repeat(3, 1fr);
    }
    .section_services, 
    .section_articles,
    .section_our_team, 
    .section_faq {
        padding: 50px 0;
    }
    .footer_consultation_content::after, 
    .footer_consultation_content::before{
        content: none;
    }
    .footer_consultation{
        background: var(--second-company);
    }
    .footer_consultation_content{
        margin-top: 0;
        padding: 20px 0 20px 0px;
    }
    .our_team_list{
        padding-bottom: 20px;
    }
    .fn_blog_content{
        padding-bottom: 100px;
    }
    .feedback_image{
        display: none;
    }
    .services_item:nth-last-child(-n+2){
        grid-column-start: auto;
    }
    .section_counters{
        padding: 0 0 80px;
        gap: 24px;
    }
    .header__logo{margin-right: 50px;}
    .our_team_list{
        grid-template-columns: repeat(3, 1fr);
    }
}

@media only screen and (max-width : 991px) {
    .section_description{
        flex-direction: column;
        gap: 70px;
        padding: 50px 0 0;
        margin-bottom: 50px;
    }
    .section_counters{
        padding-bottom: 50px;
        gap: 24px;
    }
    .counter_name{
        font-size: 20px;
        line-height: 22px;
        -webkit-line-clamp: 2;
        min-height: 44px;
        text-align: center;
    }
    .block__abouts_us {
        width: 100%;
        max-width: 650px;
    }
    .post_container__header {
        display: flex;
        align-items: center;
        flex-direction: row-reverse;
        width: 100%;
        justify-content: space-between;
    }
    .sidebar__header--close{
        display: -webkit-inline-box;
        display: -webkit-inline-flex;
        display: -ms-inline-flexbox;
        display: inline-flex;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        cursor: pointer;
        font-size: 14px;
        font-weight: 400;
        height: 35px;
        color: #fff;
        -webkit-flex-basis: 0;
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        -webkit-box-flex: 1;
        -webkit-flex-grow: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
    }
    .sidebar__header--close svg {
        margin-right: 5px;
        display: inline-block;
        height: 18px;
        position: relative;
        width: 18px;
    }
    .sidebar__header--reset{
        -webkit-flex-basis: 0;
        -ms-flex-preferred-size: 0;
        flex-basis: 0;
        -webkit-box-flex: 1;
        -webkit-flex-grow: 1;
        -ms-flex-positive: 1;
        flex-grow: 1;
        max-width: 100%;
    }
    .mobile_filter__reset{
        display: -webkit-inline-box;
        display: -webkit-inline-flex;
        display: -ms-inline-flexbox;
        display: inline-flex;
        -webkit-box-pack: center;
        -webkit-justify-content: center;
        -ms-flex-pack: center;
        justify-content: center;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        cursor: pointer;
        font-size: 14px;
        font-weight: 400;
        background: transparent;
        border: none;
        height: 35px;
        color: #fff;
        width: 100%;
    }
    .mobile_filter__reset svg {
        margin-right: 8px;
        display: inline-block;
        height: 15px;
        position: relative;
        width: 15px;
    }
    .post_sidebar{
        position: fixed;
        z-index: 10000;
        top: 0;
        right: -320px;
        width: 320px;
        max-width: calc(100vw - 50px);
        height: 100vh;
        display: block;
        padding: 70px 16px 16px;
        overflow-y: auto;
        transition: .3s;
        background: #fceeee;
    }
    .post_sidebar .sidebar__header{
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -webkit-align-items: center;
        -ms-flex-align: center;
        align-items: center;
        -webkit-box-pack: justify;
        -webkit-justify-content: space-between;
        -ms-flex-pack: justify;
        justify-content: space-between;
        position: fixed;
        top: 0px;
        width: 310px;
        right: -320px;
        transition: .3s;
        height: 45px;
        background: var(--basic-company);
        box-shadow: 0 2px 5px rgba(0, 0, 0, .3);
        color: #fff;
        border-radius: 0px;
        padding: 5px 5px;
        max-width: calc(100vw - 55px);
    }
    .post_sidebar.opened{
        right: 0;
        overscroll-behavior: none;
    }
    .post_sidebar .sidebar__header.opened {
        right: 5px;
        z-index: 5;
    }
    .main_banner .banner_group__title{
        font-size: 28px;
    }
    .main_banner .banner_group__description{
        font-size: 18px;
    }
    .other_article_item_image{
        padding: 15% 0;
        min-width: 140px;
    }
    .other_article__title {
        overflow: hidden;
        text-overflow: ellipsis;
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
    }

}

@media only screen and (max-width : 768px) {
    .dental_services_list,
    .article_list_grid{
        grid-template-columns: repeat(2, 1fr);
    }
    .our_team_list{
        padding-bottom: 0;
    }
    .faq_wrapper{
        column-gap: 24px;
        grid-template-columns: repeat(1, 1fr);
    }
    .faq__question > span{
        min-height: auto;
    }
    .footer_consultation{
        border-bottom: 1px solid #676767;
    }
    .footer .f_col-lg{
        margin-bottom: 24px;
    }
    .our_team_list{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media only screen and (max-width : 767px) {
    .header-contact--phone{
        display: none;
    }
    .section_counters{
        flex-direction: column;
        gap: 24px;
    }
    .banner_collage_wrapper .img_left-top{
        width: 90px;
        height: 90px;
        top: 0%;
        left: 10%;
    }
    .banner_collage_wrapper .img_left-bottom,
    .banner_collage_wrapper .img_right-top{
        width: 110px;
        height: 110px;
    }
    .banner_collage_wrapper .img_left-bottom{
        left: 10%;
        bottom: 10%;
    }
    .banner_collage_wrapper .img_right-top{
        top: 0;
        right: 10%;
    }

    .banner_collage_wrapper .img_center{
        width: 130px;
        height: 130px;
        left: 30%;
        top: 18%;
    }
    .banner_collage_wrapper .img_right-bottom{
        width: 86px;
        height: 86px;
        bottom: 18%;
        right: 12%;
    }
    .banner_collage_wrapper{
        width: 100%;
        max-width: 400px;
        height: 300px;
    }
    .counter_name{
        line-height: 24px;
    }
    .counters_counter{
        padding: 16px;
        gap: 0;
        border-right: none;
        border-bottom: 1px solid #E9E9E9;
    }
    .counters_counter:last-child{border-bottom: none;}
    .dental_services_list, 
    .article_list_grid{
        grid-template-columns: repeat(1, 1fr);
    }
    .header__menu.active{
        border-radius: 0;
        height: auto;
        max-height: 470px;
        overflow: auto;
    }
    .main_banner .banner_group__title{
        font-size: 18px;
    }
    .footer_consultation_content{
        flex-direction: column;
        align-items: flex-start;
    }
    .main_banner .banner_group__description{
        font-size: 14px;
        -webkit-line-clamp: 4;
    }
    .footer_consultation_text{
        margin: 0 0 16px 0;
    }
    .block__title{
        font-size: 24px;
        line-height: 28px;
    }
    .main_text_animation{
        padding-bottom: 100px;
        padding-top: 50px;
    }
    .main_banner_image{
        padding: 50% 0%;
    }
    .services_view_all{
        display: block;
        text-align: center;
        font-weight: 700;
        font-size: 20px;
        margin-top: 12px;
    }
    .services_item.closed,
    .article_item.closed{
        display: none;
    }
    .fn_view_content.opened .services_item.closed,
    .fn_view_content.opened .article_item.closed{
        display: block;
    }
    .section_description{
        gap: 40px;
    }
    .comments_wrapper .comment-wrap{
        flex-direction: column;
        gap: 28px;
    }
    .comments_wrapper{
        padding-top: 50px;
        padding-bottom: 100px;
    }
    .post_container__wallpaper{
        padding: 30% 0;
    }
    blockquote{
        padding: 24px 24px 24px 70px;
    }
    .feedback_wrapper{
        padding: 24px;
        margin-bottom: 100px;
    }
    .header__logo{margin-right: 0;}
    .main_banner .banner_group__annotation{font-size: 14px;}
}

@media only screen and (max-width : 480px) {
    .our_team_list{
        grid-template-columns: repeat(1, 1fr);
    }
}

@media only screen and (max-width : 360px) {}
