@media screen and (min-width: 992px) and (max-width: 1400px) {
    .header-top .header-inner {
        gap: 20px;
    }

    .header-top .header-action .header-action_item + .header-action_item {
        margin-left: 10px;
        padding-left: 10px;
    }

    .header-top .header-action .header-action_item > a {
        font-size: .925em;
    }

    .header-bottom .header-navigation > ul > li > a,
    .header-bottom .header-navigation > ul > li > button {
        padding: 15px 8px 11px;
        font-size: 0.925em;
    }
}

@media screen and (min-width: 992px) {
    .header-bottom {
        background: var(--primary-color);
    }

    .header-bottom .header-navigation > ul {
        -webkit-box-orient: horizontal;
        -webkit-box-direction: normal;
        -ms-flex-direction: row;
        flex-direction: row;
    }

    .header-bottom .header-navigation > ul > li > ul {
        position: absolute;
        border-radius: 0;
        -webkit-box-shadow: 0 12px 30px rgba(45, 56, 68, .05);
        box-shadow: 0 12px 30px rgba(45, 56, 68, .05);
        -webkit-transform: translateY(15px);
        -ms-transform: translateY(15px);
        transform: translateY(15px);
        -webkit-transform-origin: center top;
        -ms-transform-origin: center top;
        transform-origin: center top;
        -webkit-transition: all .3s cubic-bezier(.645, .045, .355, 1);
        -o-transition: all .3s cubic-bezier(.645, .045, .355, 1);
        transition: all .3s cubic-bezier(.645, .045, .355, 1);
        will-change: transform;
        left: 0;
        top: 100%;
        background-color: var(--bs-white);
        min-width: 200px;
        width: -webkit-max-content;
        width: -moz-max-content;
        width: max-content;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        border: 1px solid rgba(0, 0, 0, .15);
        border-top: 4px solid var(--secondary-color);
        -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
        box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
    }

    .header-bottom .header-navigation > ul > li:hover > a {
        color: var(--secondary-color);
    }

    .header-bottom .header-navigation > ul > li:hover > a > i {
        -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    .header-bottom .header-navigation > ul > li:hover > ul {
        -webkit-transform: translateY(0);
        -ms-transform: translateY(0);
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .header-bottom .header-navigation > ul > li > ul > li + li {
        border-top: 1px solid rgba(0, 0, 0, .15);
    }

    .header-bottom .header-navigation > ul > li > ul > li:hover > a {
        color: var(--bs-white);
        background-color: var(--primary-color);
    }
}

@media screen and (max-width: 991px) {
    .header-top {
        padding: 5px 0;
    }

    .header-top .header-inner {
        flex-wrap: wrap;
        gap: 5px;
    }

    .header-top .header-logo {
        width: 140px;
        flex-shrink: 0;
        order: 1;
    }

    .header-top .header-logo img {
        height: 55px;
    }

    .header-top .header-image {
        order: 3;
        width: 100%;
        flex-shrink: 0;
        display: none;
    }

    .header-top .header-action {
        width: calc(100% - 180px - 5px);
        order: 2;
    }

    .header-top .header-action .header-action_top {
        justify-content: flex-end;
    }

    .header-top .header-action .header-action_item > a {
        white-space: nowrap;
    }

    .header-top .header-action .header-action_item + .header-action_item {
        padding-left: 10px;
        margin-left: 10px;
    }

    .header-top .header-action .header-action_desktop {
        display: none;
    }

    .header-top .header-action .header-action_mobile {
        display: flex;
        padding-left: 0 !important;
        margin-left: 0 !important;
    }

    .header-top .header-action .header-action_mobile:before {
        display: none;
    }

    .header-top .header-action .header-action_bottom {
        display: none;
    }

    .header .header-bottom {
        background: var(--primary-color);
        padding: 10px 0;
    }

    .header-bottom .header-search {
        margin-left: 0 !important;
        width: 100%;
    }

    .header-bottom .header-search .header-search_button {
        display: none;
    }

    .header-bottom .header-search .header-search_form {
        position: static !important;
        opacity: 1 !important;
        visibility: visible !important;
        width: 100%;
        transform: translateY(0) !important;
        min-width: 100%;
        padding: 3px;
        pointer-events: auto !important;
    }

    .header-bottom .header-search .header-search_form .header-search_button {
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1em;
        width: 32px;
        height: 28px;
    }

    .header .header-hamburger {
        margin-left: auto;
    }

    .header .header-hamburger .hamburger-button {
        position: relative;
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        border: 0;
        background: transparent;
        border-radius: 0;
        width: 35px;
        height: 35px;
        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;
        padding: 0;
    }

    .header .header-hamburger .hamburger-button > span {
        display: block;
        position: absolute;
        height: 2px;
        background: var(--bs-white);
        border-radius: 9px;
        opacity: 1;
        left: 4px;
        right: 4px;
        -webkit-transform: rotate(0deg);
        -ms-transform: rotate(0deg);
        transform: rotate(0deg);
        -webkit-transition: .25s ease-in-out;
        -o-transition: .25s ease-in-out;
        transition: .25s ease-in-out;
    }

    .header .header-hamburger .hamburger-button > span:nth-child(1) {
        top: 6px;
    }

    .header .header-hamburger .hamburger-button > span:nth-child(2), .header .header-hamburger .hamburger-button > span:nth-child(3) {
        top: 15px;
    }

    .header .header-hamburger .hamburger-button > span:nth-child(4) {
        top: 24px;
    }

    .is-navigation .header .header-hamburger .hamburger-button > span:nth-child(2) {
        -webkit-transform: rotate(45deg) scale(.9);
        -ms-transform: rotate(45deg) scale(.9);
        transform: rotate(45deg) scale(.9);
    }

    .is-navigation .header .header-hamburger .hamburger-button > span:nth-child(3) {
        -webkit-transform: rotate(-45deg) scale(.9);
        -ms-transform: rotate(-45deg) scale(.9);
        transform: rotate(-45deg) scale(.9);
    }

    .is-navigation .header .header-hamburger .hamburger-button > span:nth-child(1), .is-navigation .header .header-hamburger .hamburger-button > span:nth-child(4) {
        top: 17.5px;
        width: 0;
        left: 50%;
        -webkit-transform: scale(.9);
        -ms-transform: scale(.9);
        transform: scale(.9);
    }

    .header-overlay {
        background: rgba(0, 0, 0, 0.65);
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 12;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        -webkit-transition: var(--transition-default);
        -o-transition: var(--transition-default);
        transition: var(--transition-default);
    }

    .is-navigation .header-overlay {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .is-navigation .header .header-navigation {
        left: 0;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .header .header-navigation {
        position: fixed;
        top: 0;
        width: 90%;
        max-width: 320px;
        background-color: var(--bs-white);
        height: 100vh;
        overflow-y: auto;
        z-index: 13;
        -webkit-transition: var(--transition-default);
        -o-transition: var(--transition-default);
        transition: var(--transition-default);
        left: -150%;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .header .header-navigation > ul {
        -webkit-box-orient: vertical;
        -webkit-box-direction: normal;
        -ms-flex-direction: column;
        flex-direction: column;
        gap: 0;
    }

    .header .header-navigation > ul > li {
        width: 100%;
    }

    .header .header-navigation > ul > li {
        border-bottom: 1px solid var(--bs-gray-200);
        width: 100%;
    }

    .header .header-navigation > ul > li > a,
    .header .header-navigation > ul > li > button {
        color: var(--bs-black);
        padding: 10px 15px;
        border: 0;
        justify-content: space-between;
    }

    .header .header-navigation > ul > li > button > i {
        -webkit-transition: .3s ease-in transform;
        -o-transition: .3s ease-in transform;
        transition: .3s ease-in transform;
        font-size: 1.25em;
    }

    .header .header-navigation > ul > li > button[aria-expanded=true] > i {
        -webkit-transform: rotate(180deg);
        -ms-transform: rotate(180deg);
        transform: rotate(180deg);
    }

    .header .header-navigation > ul .navigation-logo {
        width: 100%;
        background: var(--primary-color);
    }

    .header .header-navigation > ul .navigation-logo > a {
        padding-top: 10px;
        padding-bottom: 10px;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center;
    }

    .header .header-navigation > ul .navigation-logo > a > img {
        height: 45px;
    }

    .header .header-navigation > ul > li > ul {
        position: static;
        box-shadow: none;
        transform: unset;
        left: unset;
        top: unset;
        width: 100%;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        background: #f3f3f3;
        border-top: 1px solid var(--bs-gray-200);
    }

    .header .header-navigation > ul > li > ul > li {
        border-bottom: 1px solid var(--bs-gray-200);
        width: 100%;
    }

    .header .header-navigation > ul > li > ul > li:last-child {
        border-bottom: 0;
    }

    .header .header-navigation > ul > li > ul > li > a,
    .header .header-navigation > ul > li > ul > li > button {
        color: var(--bs-black);
        padding: 8px 15px;
        font-size: 1em;
    }

    .header.is-scroll {
        transform: translateY(-65px);
    }

    .is-overflow {
        overflow: hidden;
    }

    .header.is-scroll .header-navigation,
    .header.is-scroll .header-overlay {
        transform: translateY(65px);
        height: calc(100vh + 65px);
    }

    .button-theme.button-theme_large {
        font-size: 1.075em;
        padding-left: 30px;
        padding-right: 30px;
    }

    .section-banner .slider-buttons {
        display: none;
    }

    .section-banner .slider-theme .slider-pagination {
        bottom: 5px;
    }

    .section-banner .swiper-slide img {
        height: 175px;
    }

    .section-gap {
        padding: 30px 0;
    }

    .section-page .section-gap {
        padding: 15px 0 30px;
    }

    .section-heading {
        flex-direction: column;
        gap: 15px !important;
    }

    .section-heading .heading-title {
        font-size: 1.525em;
    }

    .section-heading .heading-desc {
        font-size: 1em;
    }

    .section-heading .heading-links {
        flex-wrap: nowrap;
        overflow-x: auto;
        width: 100%;
    }

    .port-item {
        padding: 10px;
    }

    .port-item .port-item_image {
        width: 60px;
        height: 60px;
    }

    .port-item .port-item_title,
    .section-introduction .introduction-images .introduction-images_item .introduction-images_item__title,
    .service-card .service-card_title,
    .gallery-item.gallery-item_nohover .gallery-item_title {
        font-size: 1.075em;
    }

    .section-introduction .introduction-images .introduction-images_item .introduction-images_item__title,
    .service-card .service-card_title {
        line-height: 1.3;
    }

    .section-introduction {
        margin-bottom: 30px !important;
        padding-top: 30px !important;
    }

    .service-card {
        padding: 10px;
    }

    .service-card .service-card_icon {
        width: 40px;
        height: 40px;
        padding: 10px;
    }

    .footer-title > span {
        font-size: 1.15em;
    }

    .footer-list .footer-list_item {
        font-size: 1em;
    }

    .section-card .card-title {
        font-size: 1.3em;
    }

    .doctor-card .card-body .card-title {
        font-size: 1.15em;
    }

    .doctor-card .card-body .card-text {
        font-size: 1em;
    }

    .appointment-card .card-header .section-heading .heading-desc {
        padding: 0;
        font-size: 1.075em;
    }

    .appointment-card .card-body {
        padding: 15px;
    }

    .appointment-bg {
        padding: 25px;
    }

    .appointment-bg .appointment-content .appointment-content_title {
        font-size: 1.525em;
    }

    .appointment-bg .appointment-content .appointment-content_title > img {
        width: 38px;
        height: 38px;
    }

    .appointment-bg .appointment-content .appointment-content_desc {
        font-size: 1em;
    }

    .appointment-bg .appointment-content .appointment-content_sub {
        font-size: 1.3em;
    }

    .appointment-bg .appointment-content .appointment-content_sub > img {
        width: 38px;
        height: 38px
    }

    .section-results {
        padding: 20px;
    }

    .section-results .result-title {
        font-size: 1.525em;
        gap: 8px;
        margin-bottom: 20px;
    }

    .section-results .result-title svg {
        height: 40px;
    }

    .section-results .appointment-form .appointment-form_item {
        width: 100%;
        flex-direction: column;
        gap: 5px;
    }

    .section-results .appointment-form .appointment-form_item .appointment-form_label {
        padding-right: 0;
        width: 100%;
        flex-shrink: 0;
    }

    .appointment-form .appointment-form_item .appointment-form_checkbox > span {
        white-space: normal;
    }

    .section-results .result-desc .result-desc_content {
        font-size: 1em;
    }

    .room-list .room-list_item .room-item_content .room-item_content__title > a {
        font-size: 1.15em;
    }

    .room-list .room-list_item .room-item_content .room-item_content__desc,
    .room-sidebar .room-sidebar_list .room-sidebar_list__item {
        font-size: 1em;
    }

    .room-list {
        flex-wrap: wrap;
        display: flex;
        gap: 15px;
    }

    .room-list .room-list_item {
        flex-direction: column;
        padding: 8px;
        width: calc(50% - 7.5px);
    }

    .room-list .room-list_item + .room-list_item {
        border-top: 1px solid var(--bs-gray-300);
    }

    .room-list .room-list_item .room-item_avatar {
        width: 100%;
    }

    .room-list .room-list_item .room-item_content {
        padding: 10px 0;
    }

    .article-detail .article-title {
        font-size: 1.6em;
    }

    .articles-sidebar .article-sidebar_item .article-sidebar_item__title {
        font-size: 1.15em;
    }

    .article-horizontal.article-horizontal_big .article-title {
        font-size: 1.075em;
    }

    .article-horizontal.article-horizontal_big .article-text {
        margin-top: 8px;
    }

    .article-horizontal.article-horizontal_big .article-avatar {
        width: 36%;
    }

}

@media screen and (max-width: 768px) {
    .room-list .room-list_item {
        width: 100%;
    }

    .articles-list.articles-list_category {
        flex-wrap: wrap;
        display: flex;
    }

    .articles-list .article-horizontal.article-horizontal_big {
        flex-direction: column;
    }

    .article-horizontal.article-horizontal_big .article-avatar {
        width: 100%;
    }

    .article-horizontal.article-horizontal_big .article-content {
        padding: 10px 0 0;
        margin-left: 0;
    }
}