@keyframes move {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes fp-circle-fill-anim{0%{transform:rotate(0) scale(.7) skew(1deg);opacity:.2}50%{transform:rotate(0) scale(1) skew(1deg);opacity:.2}100%{transform:rotate(0) scale(.7) skew(1deg);opacity:.2}}@-moz-keyframes fp-circle-img-anim{0%{transform:rotate(0) scale(1) skew(1deg)}10%{transform:rotate(-25deg) scale(1) skew(1deg)}20%{transform:rotate(25deg) scale(1) skew(1deg)}30%{transform:rotate(-25deg) scale(1) skew(1deg)}40%{transform:rotate(25deg) scale(1) skew(1deg)}50%{transform:rotate(0) scale(1) skew(1deg)}100%{transform:rotate(0) scale(1) skew(1deg)}}@-webkit-keyframes fp-circle-img-anim{0%{transform:rotate(0) scale(1) skew(1deg)}10%{transform:rotate(-25deg) scale(1) skew(1deg)}20%{transform:rotate(25deg) scale(1) skew(1deg)}30%{transform:rotate(-25deg) scale(1) skew(1deg)}40%{transform:rotate(25deg) scale(1) skew(1deg)}50%{transform:rotate(0) scale(1) skew(1deg)}100%{transform:rotate(0) scale(1) skew(1deg)}}@-o-keyframes fp-circle-img-anim{0%{transform:rotate(0) scale(1) skew(1deg)}10%{transform:rotate(-25deg) scale(1) skew(1deg)}20%{transform:rotate(25deg) scale(1) skew(1deg)}30%{transform:rotate(-25deg) scale(1) skew(1deg)}40%{transform:rotate(25deg) scale(1) skew(1deg)}50%{transform:rotate(0) scale(1) skew(1deg)}100%{transform:rotate(0) scale(1) skew(1deg)}}@keyframes fp-circle-img-anim{0%{transform:rotate(0) scale(1) skew(1deg)}10%{transform:rotate(-25deg) scale(1) skew(1deg)}20%{transform:rotate(25deg) scale(1) skew(1deg)}30%{transform:rotate(-25deg) scale(1) skew(1deg)}40%{transform:rotate(25deg) scale(1) skew(1deg)}50%{transform:rotate(0) scale(1) skew(1deg)}100%{transform:rotate(0) scale(1) skew(1deg)}}
/* Định dạng header */
#header {
    position: relative;
}
.header-bg {
    background-color: #fff;
    box-shadow: 0 4px 2px -2px rgba(0, 0, 0, .1);
    position: sticky;
    top: 0;
    z-index: 1050;
}
.header-info {
    background: rgba(var(--bs-primary-rgb), 1); /* Sử dụng biến màu Bootstrap */
    height: 40px;
        padding-top: 7px;
}
.header-info a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    transition: opacity 0.3s ease;
}

.header-info a:hover {
    opacity: 0.8;
}

.header-info .header-info-link {
    display: flex;
    align-items: center;
    color: #fff;
}

.header-info .header-info-link img {
    height: 20px;
    margin-right: 5px;
}

.header-info .header-info-tel {
    font-weight: bold;
    color: #fff;
    gap: 5px;
    align-items: center;
}

.social-text {
    color: #fff;
    font-size: 12px;
}

.social-list a img {
    filter: brightness(0) invert(1); /* Làm icon trắng nếu ảnh gốc tối */
    transition: transform 0.3s ease;
}
.social-list a:hover img {
    transform: scale(1.1);
}

/* Định dạng logo */
.logo img {
    margin: 5px auto 5px;
    max-width: 70%;
}

/* Định dạng thông tin liên hệ */
.contact-info p {
    margin: 5px 0;
}

.contact-info a {
    color: #007bff; /* Màu cho liên kết */
    text-decoration: none;
}
.contact-info a:hover {
    text-decoration: underline;
}

.contact-info {
    --bs-bg-opacity: 1;
    background-color: rgba(var(--bs-primary-rgb), var(--bs-bg-opacity)) !important;
    display: flex;
    padding-top: 15px;
    padding-right: 40px;
    padding-left: 8rem;
}
.contact-info p, .contact-info a {
    color: #fff;
    padding: 0px 7px;
}
.hotline:before {
    content: "";
    position: absolute;
    border-left: solid 1px;
    height: 20%;
    left: 68%;
}

/*MENU */
/* Định dạng danh sách menu */
.menu-list {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: center;
}

/* Định dạng các mục menu */
.menu-list li {
    display: inline-block;
    margin: 0 15px;
}

/* Định dạng liên kết trong menu */
.menu-list li a {
    text-decoration: none;
    color: #333;
    font-size: 13px;
    padding: 10px 15px;
    display: inline-block;
}

/* Đổi màu khi hover */
#menu-item-6 {
    background-image: linear-gradient(to right, #0997e5, #3561d9);
    border-radius: 25px;
    color: #fff;
    box-shadow: 0 9px 9px 1px rgba(0, 111, 215, 0.4);
    -webkit-box-shadow: 0 9px 9px 1px rgba(0, 111, 215, 0.4) -moz-box-shadow: 0 9px 9px 1px rgba(0, 111, 215, 0.4);
}
#menu-item-6 a{
    color: #fff;
}
.menu-list li a:hover {
    background-image: linear-gradient(to right, #0997e5, #3561d9);
    border-radius: 25px;
    color: #fff;
    box-shadow: 0 9px 9px 1px rgba(0, 111, 215, 0.4);
    -webkit-box-shadow: 0 9px 9px 1px rgba(0, 111, 215, 0.4) -moz-box-shadow: 0 9px 9px 1px rgba(0, 111, 215, 0.4);
}

/* Định dạng menu con (sub-menu) */
.menu-list li ul {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ddd;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.menu-list li:hover > ul {
    display: block;
}

/* Định dạng các mục con */
.menu-list li ul li {
    display: block;
    margin: 5px 0;
}

/* Định dạng liên kết con */
.menu-list li ul li a {
    padding: 5px 10px;
    font-size: 14px;
}

.menu-list li ul li a:hover {
    color: #fff;

}
/* Định dạng phần chứa thanh tìm kiếm */
#search-container {
    display: inline-block;
    position: relative;
    margin-left: 20px; /* Khoảng cách giữa menu và search */
}

/* Định dạng form tìm kiếm */
.search-form {
    display: flex;
    align-items: center;
}

/* Định dạng ô nhập liệu (input) */
.search-field {
    padding: 8px;
    font-size: 16px;
    width: 200px;
    border: 1px solid #ddd;
    border-radius: 5px;
}

/* Định dạng nút tìm kiếm */
.search-submit {
    background-color: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 12px;
    cursor: pointer;
    margin-left: 10px;
}

.search-submit:hover {
    background-color: #0056b3;
}

/* Hiển thị biểu tượng tìm kiếm */
.search-submit i {
    font-size: 16px;
}
/* Ẩn khung tìm kiếm ban đầu */
#search-container {
    display: none;
}

/* Hiển thị khi lớp active được thêm vào */
#search-container.active {
    display: block;
}

/* Menu chứa icon tìm kiếm */
#main-menu {
    display: flex;
    justify-content: space-between; /* Căn giữa hoặc phân chia không gian giữa các phần tử */
    align-items: center; /* Căn giữa theo chiều dọc */
    padding: 20px 20px; /* Điều chỉnh padding của menu */
}

/* Định dạng icon tìm kiếm */
#search-button {
    display: flex;
    align-items: center; /* Căn giữa icon và text */
    background-color: transparent; /* Không nền */
    border: none; /* Xóa đường viền */
    padding: 5px 10px; /* Điều chỉnh khoảng cách */
    cursor: pointer;
}

/* Thêm khoảng cách giữa các phần tử menu */
.menu-list {
    display: flex;
    align-items: center;
}

/* Định dạng icon trong nút tìm kiếm */
#search-button i {
    font-size: 20px;
    color: #007bff; /* Màu icon */
    margin-right: 5px; /* Khoảng cách giữa icon và chữ */
}

/* Định dạng các liên kết menu */
.menu-list li {
    list-style: none;
    margin-right: 20px;
}

/* Định dạng liên kết trong menu */


.menu-list li a:hover {
    color: #fff;
    background-color: #f1f1f1;
}

/* Định dạng cho Slick Slider */
.slick-slider {
    position: relative;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.slick-slide img {
    width: 100%;
    border-radius: 10px;
}

/* Điều chỉnh các mũi tên điều hướng */
.slick-prev, .slick-next {
    font-size: 20px;
    color: #fff;
    z-index: 10;
}

/* Điều chỉnh các dot điều hướng dưới slide */
.slick-dots {
    bottom: 10px;
    text-align: center;
}

.slick-dots li button {
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
}

.slick-dots li.slick-active button {
    background-color: #007bff;
}
/* Định dạng mũi tên điều hướng trái và phải */
.slick-prev, .slick-next {
    font-size: 40px;               /* Tăng kích thước mũi tên */
    color: #fff;                   /* Màu sắc mũi tên */
    background-color: rgba(0, 0, 0, 0.7); /* Nền màu tối với độ mờ */
    border-radius: 50%;            /* Tạo hình tròn cho mũi tên */
    padding: 15px;                 /* Thêm khoảng cách bên trong để làm mũi tên lớn hơn */
    z-index: 10;                   /* Đảm bảo mũi tên hiển thị trên các phần tử khác */
    transition: background-color 0.3s ease; /* Thêm hiệu ứng mượt mà khi hover */
}

.slick-prev:hover, .slick-next:hover {
    background-color: rgba(0, 0, 0, 0.9); /* Màu nền khi hover */
    cursor: pointer;                   /* Thêm hiệu ứng con trỏ khi hover */
}

/* Vị trí mũi tên bên trái và bên phải */
.slick-prev {
    left: 10px!important;               /* Vị trí mũi tên trái */
    z-index: 10;              /* Đảm bảo mũi tên không bị che khuất */
}

.slick-next {
    right: 10px!important;              /* Vị trí mũi tên phải */
    z-index: 10;              /* Đảm bảo mũi tên không bị che khuất */
}
/* Tùy chỉnh hiệu ứng khi hover */
.slick-prev:hover, .slick-next:hover {
    background-color: #007bff;  /* Thay đổi nền khi hover với màu xanh */
    color: #fff; /* Màu chữ trắng khi hover */
}

/* Điều chỉnh mũi tên sao cho đẹp hơn */
.slick-prev:before, .slick-next:before {
    font-size: 50px; /* Tăng kích thước của mũi tên */
    color: white;   /* Đảm bảo màu mũi tên là trắng */
}
.d_contact {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    top: -100px;
    padding: 30px;
    border-radius: 62px;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    background: #fff;
    width: 70%;
    margin: 0 auto;
    text-align: center;
}
.d_contact input, .d_contact select {
    height: 52px;
    border: 1px solid #0997e5;
    border-radius: 30px;
    background: #fff;
    padding: 0 20px;
    line-height: 50px;
    width: 100%;
    margin-right: 1.8%;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    border: none;
    height: 52px;
    border-radius: 30px;
    background-image: linear-gradient(to right, #098ce5, #2170e5);
    box-shadow: 0 9px 9px 1px rgba(0, 111, 215, 0.4);
    -webkit-box-shadow: 0 9px 9px 1px rgba(0, 111, 215, 0.4) -moz-box-shadow: 0 9px 9px 1px rgba(0, 111, 215, 0.4);
    color: #fff;
    font-size: 16px;
    text-transform: uppercase;
    position: relative;
    padding-right: 29px;
    width: 100%;
}
.d_contact p {
    display: inline-block;
    width: 20%;
}
span.wpcf7-spinner {
    display: none;
}
/* Style cho popup */
.popup {
    display: none; /* Ẩn popup mặc định */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Màu nền mờ */
    z-index: 1000;
    justify-content: center;
    align-items: center;
}
.popup p {
    font-size: 20px;
}
.popup-content {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    max-width: 400px;
    width: 100%;
    position: relative;
}

.popup-close {
    font-size: 30px;
    color: #aaa;
    cursor: pointer;
    position: absolute;
    top: 10px;
    right: 10px;
}

.popup-close:hover {
    color: #000;
}

/*Why US*/

.item-icon {
    width: 60px;
    margin-bottom: 16px;
}

h2.title-line {
    font-size: 35px;
    line-height: 1.2;
    position: relative;
    padding-bottom: 12px;
    margin-bottom: 20px;
}
h3.item-title {
    font-size: 20px;
    color: #3274ba;
    margin-bottom: 10px;
    line-height: 1.2;
}

.chay1 {
    position: relative;
}
.hinh2 {
    position: absolute;
    bottom: -1%;
    right: 5%;
    animation: move 4s infinite;
    animation-delay: 0s;
}
.hinh3 {
    position: absolute;
    bottom: 12%;
    left: 75%;
    animation: move 6s infinite;
    animation-delay: 0s;
}
.hinh4 {
    position: absolute;
    top: -4%;
    left: 53%;
    animation: move 3s infinite;
    animation-delay: 0.5s;
}

figure.thumb {
    position: relative;
}
.hinh5 {
    position: absolute;
    bottom: 7%;
    left: 39%;
    animation: move 5s infinite;
    animation-delay: 1s;
}

/*TEAM DOCTOR*/
section.doingubacsi {
    background: url(/wp-content/themes/familyhealthvn/assets/images/bg_01.png) top center;
    padding: 60px 0 126px 0;
    margin: 30px 0 0 0;
}
.team-fh p:nth-child(1) {
    color: #b28305;
    text-align: center;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 20px;
}
h2.title {
    position: relative;
    z-index: 1;
    margin: 6px 0 35px;
    font-size: 40px;
    font-weight: bold;
    color: #272e4a;
    text-transform: uppercase;
    line-height: 50px;
    text-align: center;
}
.t1 {
    font-size: 25px;
    color: #000000;
    text-align: center;
    margin: 20px 0 30px;
    display: block;
}

.doctor {
    background: url(/wp-content/themes/familyhealthvn/assets/images/bgbs.png) #fff top center no-repeat;
    position: relative;
    margin: 10px;
}
.doctor {
    border-radius: 22px;
    padding: 30px 22px 20px 22px;
    -webkit-box-shadow: -2px 0px 15px -5px rgba(0, 0, 0, 0.20);
    -moz-box-shadow: -2px 0px 15px -5px rgba(0, 0, 0, 0.20);
    box-shadow: -2px 0px 15px -5px rgba(0, 0, 0, 0.20);
    height: 680px!important;
}
.doctor h3 {
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 21px;
}
.doctor p {
    position: relative;
    padding-left: 10px;
    margin: 8px 0;
    font-size: 16px;
}
.doctor span {
    display: block;
    text-align: center;
    font-size: 16px;
    color: #fff;
    text-transform: initial;
    font-weight: 200;
    margin-bottom: 5px;
}
.doctor p:before {
    content: "";
    position: absolute;
    display: inline-block;
    background: url(/wp-content/themes/familyhealthvn/assets/images/star.png) center no-repeat;
    width: 12px;
    height: 12px;
    left: -12px;
    top: 21%;
}
.doctor div p {
    color: #000!important;
    text-align: left!important;
    font-weight: normal!important;
    text-transform: unset!important;
    font-size: 16px!important;
    line-height: 25px;
}
.btncd {
        display: flex;
        margin-top: 2rem;
        position: absolute;
        bottom: -30px;
        left: 50%;
        transform: translateX(-50%);
}
.btncd a {
    background: url(/wp-content/themes/familyhealthvn/assets/images/nut-bs.png) center no-repeat;
    width: 154px;
    display: block;
    height: 69px;
    font-size: 16px;
    color: #fff !important;
    position: relative;
    transition: all 0.4s;
    margin: 0px 6px;
    padding: 19px 7px 8px 63px;
}
.btncd a:before {
    content: "";
    position: absolute;
    display: inline-block;
}
.btncd a:nth-child(1):before {
    background: url(/wp-content/themes/familyhealthvn/assets/images/tv.png) center no-repeat;
    width: 24px;
    height: 19px;
    left: 19px;
    -webkit-animation: fp-circle-img-anim 1s infinite ease-in-out;
    -moz-animation: fp-circle-img-anim 1s infinite ease-in-out;
    -ms-animation: fp-circle-img-anim 1s infinite ease-in-out;
    -o-animation: fp-circle-img-anim 1s infinite ease-in-out;
    animation: fp-circle-img-anim 1s infinite ease-in-out;
}
.btncd a:nth-child(2):before {
    background: url(/wp-content/themes/familyhealthvn/assets/images/dh.png) center no-repeat;
    width: 20px;
    height: 21px;
    left: 20px;
    top: 17px;
    -webkit-animation: fp-circle-img-anim 1s infinite ease-in-out;
    -moz-animation: fp-circle-img-anim 1s infinite ease-in-out;
    -ms-animation: fp-circle-img-anim 1s infinite ease-in-out;
    -o-animation: fp-circle-img-anim 1s infinite ease-in-out;
    animation: fp-circle-img-anim 1s infinite ease-in-out;
}
#cosovatchat {
    position: relative;
    margin-bottom: 5rem;
    padding-top: 50px;
}
#cosovatchat:before {
    content: "";
    position: absolute;
    display: inline-block;
    background: url(/wp-content/themes/familyhealthvn/assets/images/shadow-cong.png) center no-repeat;
    width: 100%;
    height: 64px;
    top: -273%;
    top: -9%;
}
.title1 {
    position: absolute;
    left: 49%;
    transform: translateX(-50%);
    top: 37%;
    z-index: 1;
    margin: 6px 0 35px;
    font-size: 60px;
    font-family: mbx;
    font-weight: 700;
    color: #272e4a;
    text-transform: uppercase;
    line-height: 70px;
    text-align: center;
}
.cmd3 {
    width: 25%;
}
#csm1 > .cmd3:nth-child(1) > .item {
    padding-top: 16rem;
    margin-left: 2rem;
    zoom: .9;
}
#csm1 .item a, .item-cmd3 a {
    position: relative;
    display: inline-block;
    vertical-align: middle;
    transition: all 0.4s;
    -moz-transition: all 0.4s;
    -webkit-transition: all 0.4s;
    border-radius: 31px;
    display: flex;
    justify-content: center;
}
#csm1 img {
    transition: all 0.4s;
    -moz-transition: all 0.4s;
    -webkit-transition: all 0.4s;
    width: 100%;
    border-radius: 62px;
    border: 2px solid #b28305;
    box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.2);
    background: #fff;
}
#csm1 img:hover {
    transform: scale(1.2);
    transition: 3s;
}
.cmd6 {
    width: 50%;
}
.cmd4 {
    width: 33.33333333%;
}
#csm1 .item a p,#csm1 .item-cmd3 a p  {
    border-radius: 37px;
    font-family: 'op';
    font-style: italic;
    background-image: linear-gradient(to right, #098ce5, #2170e5);
    padding: 8px 20px;
    color: #fff;
    bottom: 0;
    position: absolute;
}
.item-cmd3 {
    padding-top: 18rem;
    margin-right: 4rem;
    zoom: .9;
}


section#quytrinhthamkham {
    position: relative;
}


.billing-process-icon img {
    height: 80px;
    width: 80px;
}

.mw-100 {
    max-width: 100% !important;
}

.billing-process-icon {
    display: inline-block;
    text-align: center;
}

p {
    font-size: 18px;
}

.billing-process-icon.position-relative p {
    font-size: 14px;
    text-align: center;
    width: 99%;
}
#s5 {
    background: #edf5ff;
    padding: 36px;

}
.billing-process-wrapper {
    border-radius: 24px;
}
span.position-absolute {
    background-image: url(/wp-content/themes/familyhealthvn/assets/images/290e92bc-new-arrow.svg);
    background-repeat: no-repeat;
    background-size: contain;
    content: "";
    height: 14px;
    right: -25px;
    width: 75px;
    z-index: 99;
}
.top-25 {
    top: 25%;
}

.home-whydiag-static-logos img {
    height: 50px;
}
.mw-100 {
    max-width: 100% !important;
}
/* Container chứa tất cả các bài viết */
.news-posts-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); /* Các bài viết sẽ tự động căn lề */
    gap: 20px;
    margin: 20px 0;
}

/* Style cho mỗi bài viết */
.news-post {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    height: 450px!important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Thêm hiệu ứng hover: khi di chuột vào sẽ có shadow và phóng to */
.news-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* Hình ảnh bài viết */
.news-post .post-thumbnail {
    flex-shrink: 0; /* Ngăn không cho hình ảnh bị co lại */
}

.news-post .post-thumbnail img {
    width: 100%;
    height: 200px; /* Đặt chiều cao cố định cho hình ảnh */
    object-fit: cover;
    border-bottom: 2px solid #f0f0f0;
    border-radius: 8px 8px 0 0; /* Bo góc trên */
}

/* Phần nội dung của bài viết */
.news-post .post-content {
    padding: 15px;
    flex-grow: 1; /* Cho phần nội dung có thể giãn ra để chiếm không gian còn lại */
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Đảm bảo khoảng cách giữa các phần tử */
}

/* Tiêu đề bài viết */
.news-post .post-title {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
    transition: color 0.3s ease;
}
.post-content a {
    text-decoration: none;
}
.news-post .post-title:hover {
    color: #0073e6; /* Màu khi hover */
}

/* Ngày đăng bài viết */
.news-post .post-date {
    font-size: 0.9rem;
    color: #888;
    margin-bottom: 10px;
}

/* Mô tả ngắn */
.news-post .post-excerpt {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
}

/* Thêm style cho Slick Slider */
.slick-slide {
    padding: 10px; /* Khoảng cách giữa các bài viết trong slider */
}

.slick-prev, .slick-next {
    font-size: 18px;
    color: #0073e6;
}

.slick-prev:hover, .slick-next:hover {
    color: #005bb5;
}

.blogfh {
    position: relative;
    background: url(/wp-content/themes/familyhealthvn/assets/images/bg_01.png) top center;
    padding: 60px 0 126px 0;
    margin: 30px 0 0 0;
}

.blogfh:before {
    content: "";
    position: absolute;
    display: inline-block;
    background: url(/wp-content/themes/familyhealthvn/assets/images/shadow-cong.png) center no-repeat;
    width: 100%;
    height: 64px;
    bottom: 0;
}
footer#ft {
     margin-top: -13rem;
     position: relative;
}
#f1 {
    background: url(/wp-content/themes/familyhealthvn/assets/images/fb.png) no-repeat center bottom;
    padding-top: 300px;
    color: #fff;
    margin-top: 40px;
}
#f1 .f11 .logo {
    display: block;
    margin: 0 0 40px;
}
#f1 .f11 ul li {
    margin: 10px 0;
    position: relative;
    color: #fff;
    padding-left: 31px;
}
#f1 .f11 ul li a{
  color: #fff;
 text-decoration: none;
}
.tg_lv {
    /* font-size: 22px; */
}
#f1 .tg_lv span {
    /* display: block; */
}
#f2 {
    background: #074ab7;
    height: 59px;
    display: flex;
    justify-content: center;
    align-items: center;
}

h3.tit_f {
    font-size: 22px;
    position: relative;
    padding-bottom: 10px;
    margin-bottom: 26px;
    color: #fff;
    font-weight: normal;
    font-family: ro-b;
}
.f12 p {
    position: relative;
    padding-left: 20px;
}
#f1 .f12 p:before {
    content: "";
    position: absolute;
    background: url(/wp-content/themes/familyhealthvn/assets/images/icc.png) center no-repeat;
    width: 6px;
    height: 11px;
    left: 0;
    top: 7px;
}

.f12 p a {
    color: #fff;
    text-decoration: none;
}
#f2 p:first-child {
    margin-right: 32px;
}
#f2 p {
    color: #fff;
}
.logo-footer img {
    width: 80%;
}


#s9 {
    padding: 109px 0 0;
}
#s9 p {
    text-align: center;
}
.e_contact {
    position: relative;
    background-image: linear-gradient(to right, #098ce5, #2170e5);
    border-radius: 10px;
    -moz-box-shadow: -2px 0px 15px -5px rgba(0, 0, 0, 0.75);
    padding-top: 20px;
    height: 550px;
}

.e_contact select {
    width: 50%;
    background: #fff;
    color: #282828;
    border-radius: 8px;
    font-size: 18px;
    border: 1px solid #eaeaea;
    box-shadow: inset 0px 1px 8px #00000014;
    outline: none;
    padding: 12px 10px;
    -webkit-transition: .18s ease-out;
    -moz-transition: .18s ease-out;
    -o-transition: .18s ease-out;
    transition: .18s ease-out;
     margin-bottom: 10px;
    /* height: 50px; */
}
.e_contact input {
    width: 50%;
    background: #fff;
    color: #282828;
    border-radius: 8px;
    font-size: 18px;
    border: 1px solid #eaeaea;
    box-shadow: inset 0px 1px 8px #00000014;
    outline: none;
    padding: 12px 10px;
    -webkit-transition: .18s ease-out;
    -moz-transition: .18s ease-out;
    -o-transition: .18s ease-out;
    transition: .18s ease-out;
    margin-bottom: 10px;
    height: 50px;
}
.btnd {
    background: url(/wp-content/themes/familyhealthvn/assets/images/dk1.png) center no-repeat;
    color: #fff;
    margin-bottom: 25px;
    cursor: pointer;
    border-radius: 4px;
    text-transform: uppercase;
    align-items: center;
    transition: all 0.3s;
    animation: gradient 2s infinite;
    animation-fill-mode: forwards;
    animation-timing-function: linear;
    text-align: center;
    position: relative;
    display: block;
    margin-top: 1rem;
    font-size: 14px;
    padding-bottom: 15px;
    text-decoration: none;
}
.btnd img {
    right: 0;
    position: absolute;
    left: 35%;
    bottom: 37px;
}
.hinh1_footer {
    position: absolute;
    left: 25%;
    animation: move 3s infinite;
    animation-delay: 0s;
    zoom: .8;
    top: 82%;
}

ul.btncd-price a {
    background: url(/wp-content/themes/familyhealthvn/assets/images/nut-bs.png) center no-repeat;
    width: 154px;
    display: block;
    height: 69px;
    font-size: 16px;
    color: #fff !important;
    position: relative;
    transition: all 0.4s;
    margin: 0px 6px;
    padding: 19px 7px 8px 63px;
    font-family: 'op';
}
.btncd-price a:before {
    content: "";
    position: absolute;
    display: inline-block;
}

.btncd-price a:nth-child(1):before {
    background: url(/wp-content/themes/familyhealthvn/assets/images/dh.png) center no-repeat;
    width: 20px;
    height: 21px;
    left: 20px;
    top: 17px;
    -webkit-animation: fp-circle-img-anim 1s infinite ease-in-out;
    -moz-animation: fp-circle-img-anim 1s infinite ease-in-out;
    -ms-animation: fp-circle-img-anim 1s infinite ease-in-out;
    -o-animation: fp-circle-img-anim 1s infinite ease-in-out;
    animation: fp-circle-img-anim 1s infinite ease-in-out;
}

ul.btncd-price {
     position: absolute;
     bottom: -4%; /* Căn giữa theo chiều dọc */
     left: 50%; /* Căn giữa theo chiều ngang */
     transform: translate(-50%, -50%); /* Dịch chuyển phần tử lại để căn giữa hoàn toàn */
}

section.banggiadichvu.pt-5 {
    position: relative;
}

  #cosovatchat {
    padding: 20px 0;
  }

  #cosovatchat .title1 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 20px;
  }

  .facility-list {
    display: grid;
    grid-template-columns: 1fr; /* Mobile: 1 cột */
    gap: 15px;
  }

  .facility-list .item {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  }

  .facility-list .item img {
    width: 100%;
    height: auto;
    display: block;
  }

  .facility-list .item p {
    margin: 10px 0;
    font-size: 1rem;
    font-weight: 500;
  }
  .destop {
    display: block;
  }
  .mobi {
    display: none;
  }
  @media (max-width: 576px) {
    .destop {
      display: none;
    }
    .mobi {
      display: block;
    }
    .hinh2 {
        width: 40%;
    }
    .hinh3, .hinh4, .hinh5 {
        width: 15%;
    }
    ul.btncd-price {
        bottom: -100px;
    }
     .titlemobi {
        padding-top: 10px;
        position: relative;
        z-index: 1;
        margin: 6px 0 35px;
        font-size: 40px;
        font-weight: bold;
        color: #272e4a;
        text-transform: uppercase;
        line-height: 50px;
        text-align: center;
    }
    #cosovatchat {
        padding: 0;
    }
    .facility-list {
      grid-template-columns: repeat(2, 1fr); /* 2 cột */
    }
     .banggiadichvu img {
       width: 100%;
    }
    .facility-slider .item {
      text-align: center;
      padding: 10px;
        display: flex !important;
        justify-content: center;
    }

    .facility-slider .item img {
      width: 100%;
      height: 400px;
      object-fit: cover;
      border-radius: 8px;
    }

    .facility-slider .item p {
        background-image: linear-gradient(to right, rgb(9, 140, 229), rgb(33, 112, 229));
        color: rgb(255, 255, 255);
        bottom: 5%;
        position: absolute;
        font-weight: 500;
        border-radius: 37px;
        padding: 8px 20px;
    }
    .billing-process-icon {
        text-align: left !important;
        display: flex !important;
    }
    .billing-process-icon img {
        height: 60px;
        width: 60px;
        margin-bottom: 20px;
    }
    .billing-process-icon p {
        font-size: 16px!important;
        text-align: left!important;
        padding-left: 10px;
        padding-top: 5px;
    }
    .position-absolute.top-25 {
        display: none;
    }
    #s9 img.xep {
        width: 100%;
        height: auto;
        padding-top: 50px;
    }
    .e_contact input {
        width: 80%;
    }
    .e_contact select {
        width: 80%;
    }
    .btnd img {
        left: 30%;
    }
    footer#ft {
        margin-top: -4rem;
    }
    #f1 {
        color: #fff;
        margin-top: 40px;
        background: rgba(var(--bs-primary-rgb), 1);
        padding-top: 30px;
        FONT-VARIANT: JIS83;
    }
    #f2 {
        display: block;
        height: auto;
    }
    #f2 p:first-child {
        font-size: 15px;
        padding: 10px;
        margin: 0;
    }
    #f2 p {
        color: #fff;
        font-size: 16px;
        padding: 10px;
        margin: 0;
    }
  }

  @media (min-width: 600px) {
    .facility-list {
      grid-template-columns: repeat(2, 1fr); /* 2 cột */
    }
    #f2 {
        background: #074ab7;
        justify-content: center;
        align-items: center;
    }
    #f2 p:first-child {
        font-size: 16px;
        padding: 10px;
        margin: 0;
    }
    #f2 p {
        color: #fff;
        font-size: 16px;
        padding: 10px;
        margin: 0;
    }
  }

  @media (max-width: 767px) {

  }

  @media (min-width: 992px) {
    .facility-list {
      grid-template-columns: repeat(4, 1fr); /* 4 cột */
    }
  }



/*PAGE*/
/* ===== PAGE TEMPLATE STYLES ===== */

.single-page {
  background-color: #f8f9fa;
  min-height: 60vh;
  padding: 60px 0;
}

/* Page Section Container */
.page-section {
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 40px;
  margin-bottom: 40px;
  position: relative;
}

.page-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #007bff, #0056b3);
  border-radius: 12px 12px 0 0;
}

/* Page Banner Title */
.page-banner__title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 15px;
  text-align: center;
  line-height: 1.3;
}

.page-banner__title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(90deg, #007bff, #0056b3);
  border-radius: 2px;
}

/* Featured Image Styles */
.page-featured-image {
  text-align: center;
  margin-bottom: 40px;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.page-featured-image img {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.page-featured-image:hover img {
  transform: scale(1.05);
}

/* Generic Content Styles */
.generic-content {
  font-size: 1.1rem;
  line-height: 1.8;
  color: #495057;
}

.generic-content h2,
.generic-content h3,
.generic-content h4,
.generic-content h5,
.generic-content h6 {
  color: #2c3e50;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.generic-content h2 {
  font-size: 2rem;
  border-bottom: 2px solid #e9ecef;
  padding-bottom: 10px;
}

.generic-content h3 {
  font-size: 1.5rem;
  color: #007bff;
}

.generic-content h4 {
  font-size: 1.3rem;
}

.generic-content p {
  margin-bottom: 1.5rem;
  text-align: justify;
}

.generic-content a {
  color: #007bff;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
}

.generic-content a:hover {
  color: #0056b3;
  text-decoration: underline;
}

.generic-content ul,
.generic-content ol {
  margin-left: 20px;
  margin-bottom: 1.5rem;
}

.generic-content li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}

.generic-content blockquote {
  background: #f8f9fa;
  border-left: 4px solid #007bff;
  margin: 2rem 0;
  padding: 20px 30px;
  font-style: italic;
  border-radius: 0 8px 8px 0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.generic-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.generic-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 2rem 0;
  background: white;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.generic-content th,
.generic-content td {
  padding: 12px 15px;
  text-align: left;
  border-bottom: 1px solid #e9ecef;
}

.generic-content th {
  background: #007bff;
  color: white;
  font-weight: 600;
}

.generic-content tr:hover {
  background: #f8f9fa;
}

/* Page Links (Pagination) */
.page-links {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 2px solid #e9ecef;
  text-align: center;
}

.page-links-title {
  font-weight: 600;
  color: #495057;
  margin-right: 15px;
}

.page-links a {
  display: inline-block;
  padding: 8px 15px;
  margin: 0 5px;
  background: #007bff;
  color: white;
  text-decoration: none;
  border-radius: 20px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.page-links a:hover {
  background: #0056b3;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.page-links span {
  display: inline-block;
  padding: 8px 15px;
  margin: 0 5px;
}

/* 404 Error Page Styles */
.single-page .container--narrow h1 {
  color: #dc3545;
  font-size: 2.5rem;
  margin-bottom: 20px;
}

.single-page .container--narrow p {
  font-size: 1.2rem;
  color: #6c757d;
  margin-bottom: 30px;
}

.single-page .btn-primary {
  background: linear-gradient(45deg, #007bff, #0056b3);
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.single-page .btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

/* Responsive Design */
@media (max-width: 768px) {
  .single-page {
    padding: 30px 0;
  }

  .page-section {
    padding: 25px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
  }

  .page-banner__title {
    font-size: 2rem;
    margin-bottom: 20px;
  }

  .generic-content {
    font-size: 1rem;
  }

  .generic-content h2 {
    font-size: 1.5rem;
  }

  .generic-content h3 {
    font-size: 1.3rem;
  }

  .page-featured-image img {
    max-height: 250px;
  }

  .generic-content blockquote {
    padding: 15px 20px;
    margin: 1.5rem 0;
  }

  .generic-content th,
  .generic-content td {
    padding: 8px 10px;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .page-banner__title {
    font-size: 1.8rem;
  }

  .page-section {
    padding: 20px 15px;
  }

  .generic-content {
    font-size: 0.95rem;
    line-height: 1.6;
  }

  .page-links a,
  .page-links span {
    padding: 6px 12px;
    font-size: 0.9rem;
  }
}

/* Special Content Boxes */
.generic-content .info-box {
  background: linear-gradient(135deg, #e3f2fd, #bbdefb);
  border: 1px solid #2196f3;
  border-radius: 10px;
  padding: 20px;
  margin: 2rem 0;
  position: relative;
}

.generic-content .info-box::before {
  content: 'ℹ';
  position: absolute;
  top: -10px;
  left: 20px;
  background: #2196f3;
  color: white;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.generic-content .warning-box {
  background: linear-gradient(135deg, #fff3e0, #ffe0b2);
  border: 1px solid #ff9800;
  border-radius: 10px;
  padding: 20px;
  margin: 2rem 0;
  position: relative;
}

.generic-content .warning-box::before {
  content: '⚠';
  position: absolute;
  top: -10px;
  left: 20px;
  background: #ff9800;
  color: white;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

/*CATEGORY*/
/* ===== CATEGORY ARCHIVE STYLES ===== */

.category-archive {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  min-height: 80vh;
  padding: 40px 0;
}

/* Category Header Section */
.category-header {
  margin-bottom: 60px;
}

.category-banner {
  background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
  border-radius: 20px;
  padding: 60px 40px;
  color: white;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 123, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.category-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: rotate(45deg);
}

.category-banner-content {
  flex: 1;
  z-index: 2;
  position: relative;
}

.category-title {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  line-height: 1.2;
}

.category-description {
  font-size: 1.2rem;
  margin-bottom: 25px;
  line-height: 1.6;
  opacity: 0.95;
}

.category-stats {
  display: flex;
  align-items: center;
  gap: 20px;
}

.post-count {
  background: rgba(255, 255, 255, 0.2);
  padding: 10px 20px;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-weight: 600;
}

.post-count i {
  margin-right: 8px;
}

.category-icon {
  font-size: 8rem;
  opacity: 0.3;
  z-index: 1;
}

/* Quick Services Section */
.quick-services {
  margin-bottom: 60px;
}

.service-card {
  background: white;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  height: 100%;
  border: 1px solid #e9ecef;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 123, 255, 0.1), transparent);
  transition: left 0.5s ease;
}

.service-card:hover::before {
  left: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  border-color: #007bff;
}

.service-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: white;
  box-shadow: 0 8px 25px rgba(0, 123, 255, 0.3);
}

.service-card h4 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 15px;
}

.service-card p {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 25px;
}

.service-card .btn {
  border-radius: 25px;
  padding: 10px 25px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.service-card .btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.3);
}
.single_news,.category-archive, .contact-page {
    padding-bottom: 100px;
}
/* Posts Grid Section */
.posts-grid-section {
  margin-bottom: 60px;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 20px;
}

.section-header h2 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #2c3e50;
  margin: 0;
}

.filter-options {
  display: flex;
  gap: 10px;
}

.filter-btn {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 25px;
  padding: 8px 20px;
  font-weight: 600;
  color: #6c757d;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: #007bff;
  color: white;
  border-color: #007bff;
  transform: translateY(-2px);
}

/* Posts Grid */
.posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.post-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  border: 1px solid #f1f3f4;
}

.post-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.post-thumbnail {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.post-thumbnail .card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.post-card:hover .card-img {
  transform: scale(1.1);
}

.no-thumbnail {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: #adb5bd;
}

.post-meta-overlay {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 8px 12px;
  border-radius: 20px;
  font-size: 0.85rem;
  backdrop-filter: blur(5px);
}

.post-content {
  padding: 25px;
}

.post-meta {
  display: flex;
  justify-content: space-between;
  margin-bottom: 15px;
  font-size: 0.85rem;
  color: #6c757d;
}

.post-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.post-title {
  margin-bottom: 15px;
}

.post-title a {
  color: #2c3e50;
  text-decoration: none;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.post-title a:hover {
  color: #007bff;
}

.post-excerpt {
  color: #6c757d;
  line-height: 1.6;
  margin-bottom: 20px;
}

.read-more-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #007bff;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
}

.read-more-btn:hover {
  color: #0056b3;
  gap: 12px;
}

/* Pagination */
.pagination-wrapper {
  text-align: center;
  margin-top: 50px;
}

.pagination-wrapper .page-numbers {
  list-style: none;
  padding: 0;
  display: inline-flex;
  gap: 10px;
  margin: 0;
}

.pagination-wrapper .page-numbers li {
  display: inline-block;
}

.pagination-wrapper .page-numbers a,
.pagination-wrapper .page-numbers span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 8px;
  color: #6c757d;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  min-width: 45px;
  justify-content: center;
}

.pagination-wrapper .page-numbers a:hover,
.pagination-wrapper .page-numbers .current {
  background: #007bff;
  color: white;
  border-color: #007bff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

/* No Posts Found */
.no-posts-found {
  text-align: center;
  padding: 80px 20px;
  background: white;
  border-radius: 20px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.no-posts-icon {
  font-size: 4rem;
  color: #adb5bd;
  margin-bottom: 30px;
}

.no-posts-found h3 {
  font-size: 2rem;
  color: #2c3e50;
  margin-bottom: 15px;
}

.no-posts-found p {
  font-size: 1.1rem;
  color: #6c757d;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Related Categories */
.related-categories {
  background: white;
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.related-categories h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 30px;
  text-align: center;
}

.categories-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.category-item {
  border: 2px solid #f1f3f4;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.category-item:hover {
  border-color: #007bff;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.15);
}

.category-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  text-decoration: none;
  color: inherit;
}

.category-info h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 5px;
}

.category-info .post-count {
  font-size: 0.9rem;
  color: #6c757d;
  background: #f8f9fa;
  padding: 4px 12px;
  border-radius: 15px;
}

.category-link i {
  font-size: 1.2rem;
  color: #007bff;
  transition: transform 0.3s ease;
}

.category-item:hover .category-link i {
  transform: translateX(5px);
}

/* Responsive Design */
@media (max-width: 768px) {
  .category-archive {
    padding: 20px 0;
  }

  .category-banner {
    padding: 40px 20px;
    flex-direction: column;
    text-align: center;
    gap: 30px;
  }

  .category-title {
    font-size: 2.2rem;
  }

  .category-icon {
    font-size: 5rem;
  }

  .section-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .filter-options {
    width: 100%;
    justify-content: center;
  }

  .posts-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 25px 20px;
    margin-bottom: 20px;
  }

  .related-categories {
    padding: 30px 20px;
  }

  .categories-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .category-banner {
    padding: 30px 15px;
  }

  .category-title {
    font-size: 1.8rem;
  }

  .posts-grid {
    grid-template-columns: 1fr;
  }

  .post-content {
    padding: 20px;
  }

  .service-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}


/* ----- Danh sách bác sĩ ----- */
.doctor-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
    margin: 30px 0;
}

.doctor-item {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
}

.doctor-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.doctor-thumb {
    margin-bottom: 15px;
}

.doctor-thumb img {
    width: 100%;
    height: auto;
    border-radius: 50%;
    max-width: 160px;
    margin: 0 auto;
}

.doctor-item h2,
.doctor-item h3 {
    font-size: 18px;
    font-weight: 600;
    margin: 10px 0;
    color: #333;
}

.doctor-speciality {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
    font-style: italic;
}

.doctor-excerpt {
    font-size: 14px;
    color: #555;
}

/* ----- Trang chi tiết bác sĩ ----- */
.doctor-detail {
    max-width: 900px;
    margin: 40px auto;
    background: #fff;
    padding: 30px;
    border-radius: 16px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.doctor-detail h1 {
    text-align: center;
    margin-bottom: 25px;
    font-size: 26px;
    color: #2c3e50;
}

.doctor-info {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.doctor-avatar img {
    border-radius: 50%;
    max-width: 180px;
    height: auto;
    border: 4px solid #f1f1f1;
}

.doctor-meta {
    font-size: 15px;
    color: #444;
}

.doctor-content {
    margin-top: 20px;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}
/* ===== Expert Feature (Doctor) ===== */
.expert-feature {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    align-items: center;
    gap: 40px;
    padding: 30px;
    border: 1px solid #eaeaea;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(0,0,0,0.06);
    margin: 30px 0;
}

.expert-feature.expert--image-right {
    grid-template-columns: 1.1fr 1fr;
}
.expert-feature.expert--image-right .expert-media {
    order: 2;
}
.expert-feature.expert--image-right .expert-content {
    order: 1;
}

.expert-media {
    position: relative;
    width: 100%;
}
.expert-img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: cover;
    border-radius: 18px;
    transition: transform .35s ease, box-shadow .35s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
}
.expert-img:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.12);
}

.expert-content {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.expert-title {
    font-size: 28px;
    line-height: 1.25;
    margin: 0;
    color: #213547;
    font-weight: 700;
}
.expert-desc {
    font-size: 16px;
    line-height: 1.7;
    color: #444;
    margin: 0;
}

/* Buttons */
.expert-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 18px;
    border-radius: 999px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border: 2px solid transparent;
    transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease, border-color .2s ease;
    cursor: pointer;
    line-height: 1;
}
.btn:active { transform: translateY(1px); }

.btn-primary {
    background: #16a34a;      /* xanh health */
    color: #fff;
    box-shadow: 0 6px 16px rgba(22,163,74,0.25);
}
.btn-primary:hover {
    background: #128a3f;
    box-shadow: 0 8px 22px rgba(18,138,63,0.28);
}

.btn-outline {
    background: #fff;
    color: #0f172a;
    border-color: #d1d5db;
}
.btn-outline:hover {
    border-color: #94a3b8;
    background: #f8fafc;
}

/* Mobile responsive */
@media (max-width: 992px) {
    .expert-feature {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 22px;
    }
    .expert-media, .expert-content {
        order: unset !important; /* đảm bảo không đảo thứ tự ngoài ý muốn */
    }
    .expert-title { font-size: 24px; }
}
@media (max-width: 560px) {
    .expert-desc { font-size: 15px; }
    .btn { width: 100%; }
}
