/* header */

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: #ffffff;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
}

/* Custom thanh cuộn chuẩn y khoa */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--medical-primary);
}

:root {
    --medical-primary: #047857;
    /* Xanh ngọc bảo lục lâm sàng */
    --medical-secondary: #0ea5e9;
    /* Xanh biển công nghệ y tế */
    --medical-dark: #0f172a;
    /* Xám đá phiến sâu thẳm uy tín */
    --medical-light: #f8fafc;
    /* Nền trắng phòng thí nghiệm cực sạch */
    --medical-warning: #d97706;
    /* Vàng hổ phách cảnh báo chính trực */
    --medical-danger: #e11d48;
    /* Đỏ cánh sen y tế nghiêm ngặt */
    --medical-gradient: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
    --medical-gradient-dark: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    --medical-card-shadow: 0 10px 30px -10px rgba(15, 23, 42, 0.08);
    --medical-transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);


    --med-primary: #059669;
    /* Emerald Green - Xanh lá cây y tế chuẩn */
    --med-primary-dark: #047857;
    /* Emerald đậm hơn cho hiệu ứng hover */
    --med-primary-light: #f0fdf4;
    /* Nền xanh nhạt thanh khiết */
    --med-slate-900: #0f172a;
    /* Màu chữ tiêu đề chính */
    --med-slate-800: #1e293b;
    /* Màu chữ tiêu đề phụ, widget */
    --med-slate-700: #334155;
    /* Màu chữ nội dung chính */
    --med-slate-500: #64748b;
    /* Màu chữ phụ, thông tin meta */
    --med-slate-200: #e2e8f0;
    /* Màu đường kẻ, viền phân cách */
    --med-slate-100: #f1f5f9;
    /* Màu nền bổ trợ */
    --med-shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05), 0 1px 2px rgba(0, 0, 0, 0.03);
    --med-shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -1px rgba(0, 0, 0, 0.03);
    --med-font-serif: 'Times New Roman', Georgia, Cambria, serif;
    --med-font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;


}

.navbar-custom {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
}

.nav-link-custom {
    color: #1e293b;
    font-weight: 600;
    font-size: 10px;
    text-transform: uppercase;
    transition: color 0.2s;
}

.nav-link-custom:hover,
.nav-link-custom:focus {
    color: #16a34a;
}

/* Hiệu ứng Dropdown mượt mà trên PC */
@media (min-width: 1200px) {
    .navbar-custom img {
        height: 40px;
    }

    .navbar-nav .dropdown:hover .dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    .dropdown-menu-custom {
        display: block;
        opacity: 0;
        visibility: hidden;
        transform: translateY(10px);
        transition: all 0.25s ease;
        border: none;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
        border-radius: 8px;
        padding: 8px 0;
        min-width: 220px;
    }
}

.dropdown-item-custom {
    font-size: 13.5px;
    font-weight: 500;
    color: #334155;
    padding: 10px 20px;
    transition: all 0.2s;
}

.dropdown-item-custom:hover {
    background-color: #f1f5f9;
    color: #16a34a;
    padding-left: 24px;
    /* Nhích nhẹ tạo hiệu ứng động */
}

.btn-action-primary {
    background-color: #0f172a;
    color: #ffffff;
    font-weight: bold;
    font-size: 13px;
    border-radius: 6px;
    padding: 10px 20px;
    border: none;
    transition: all 0.2s;
}

.btn-action-primary:hover {
    background-color: #1e293b;
    color: #ffffff;
}

/* =========================================================================
           2. CSS ĐẶC QUYỀN CHO GIAO DIỆN DI ĐỘNG (MOBILE LAYOUT)
           ========================================================================= */
.mobile-header-bar {
    display: none;
    background-color: #ffffff;
    padding: 10px 16px;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 1030;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.mobile-brand-title {
    font-family: sans-serif;
    font-weight: 800;
    color: #0f172a;
    font-size: 18px;
    margin-bottom: 0;
}

.mobile-brand-sub {
    font-size: 8px;
    letter-spacing: 1px;
    font-weight: bold;
    color: #64748b;
}

.mobile-toggle-btn {
    background: none;
    border: none;
    font-size: 26px;
    color: #0f172a;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1040;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.show {
    display: block;
}

.mobile-drawer-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100%;
    background-color: #ffffff;
    z-index: 1050;
    box-shadow: -4px 0 25px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 24px;
    transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.mobile-drawer-menu.open {
    right: 0;
}

.mobile-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 16px;
    margin-bottom: 20px;
}

.mobile-drawer-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #64748b;
    cursor: pointer;
}

.mobile-nav-wrapper {
    max-height: calc(100vh - 240px);
    overflow-y: auto;
    padding-right: 4px;
}

.mobile-nav-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mobile-nav-link {
    color: #334155;
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 10px 12px;
    border-radius: 8px;
    transition: all 0.2s;
}

.mobile-nav-link:hover {
    background-color: #f1f5f9;
    color: #16a34a;
}

/* Phong cách riêng cho Menu phân cấp trên Mobile */
.mobile-submenu {
    list-style: none;
    padding-left: 20px;
    margin-top: 4px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-left: 2px solid #e2e8f0;
    margin-left: 22px;
}

.mobile-submenu-link {
    color: #64748b;
    font-size: 13.5px;
    font-weight: 500;
    text-decoration: none;
    display: block;
    padding: 6px 12px;
    border-radius: 6px;
    transition: all 0.2s;
}

.mobile-submenu-link:hover {
    color: #16a34a;
    background-color: #f8fafc;
}

.mobile-nav-link-cart {
    justify-content: space-between !important;
    width: 100%;
}

.mobile-nav-link i {
    font-size: 18px;
    color: #16a34a;
}

.mobile-drawer-footer {
    border-top: 1px solid #f1f5f9;
    padding-top: 20px;
    margin-top: auto;
}

/* end header  */



/* home  */

  /* =========================================================================
       1. CSS ĐỊNH DẠNG BANNER CHUẨN MÁY TÍNH (DESKTOP HERO BANNER)
       ========================================================================= */
    .hero-section {
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        min-height: 700px;
        display: flex;
        align-items: center;
        position: relative;
        z-index: 1;
    }

    .hero-overlay {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, rgba(240, 247, 255, 0.95) 0%, rgba(240, 247, 255, 0.7) 40%, rgba(240, 247, 255, 0.1) 100%);
        z-index: 2;
    }

    .hero-title {
        font-family: 'Times New Roman', Georgia, sans-serif;
        font-size: 64px;
        font-weight: 800;
        color: #0f172a;
        margin-bottom: 5px;
    }

    .hero-subtitle {
        font-size: 18px;
        font-weight: 700;
        color: #16a34a;
        letter-spacing: 1px;
        margin-bottom: 20px;
    }

    .hero-desc {
        font-size: 16px;
        color: #475569;
        line-height: 1.6;
        margin-bottom: 30px;
        max-width: 500px;
    }

    .btn-hero-datlich {
        background-color: #0f172a;
        color: #ffffff;
        font-weight: bold;
        padding: 12px 25px;
        border-radius: 6px;
        border: none;
    }

    .btn-hero-datlich:hover {
        background-color: #1e293b;
        color: #ffffff;
    }

    .btn-hero-kienthuc {
        background-color: #ffffff;
        color: #0f172a;
        font-weight: bold;
        padding: 12px 25px;
        border-radius: 6px;
        border: 1px solid #ced4da;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    }

    .btn-hero-kienthuc:hover {
        background-color: #f8fafc;
        color: #0f172a;
    }

    .review-stars {
        color: #f59e0b;
        font-size: 16px;
    }

 /* ==================== CẢI TIẾN CỘT THẾ MẠNH (PROFESSIONAL HEALTH THEME) ==================== */
    /* Tiêu đề nhóm thẻ thế mạnh bên phải [1] */
   /* ==================== CẢI TIẾN CỘT THẾ MẠNH (DỊCH PHẢI & PHÔNG CHỮ SERIF SANG TRỌNG) ==================== [1] */
    /* Tiêu đề nhóm thẻ thế mạnh bên phải */
    .cards-section-title {
        color: #0f172a !important; /* Xanh Navy đậm */
        /* ÁP DỤNG PHÔNG CHỮ CÓ CHÂN SANG TRỌNG ĐỒNG BỘ VỚI TIÊU ĐỀ CHÍNH DR. LUYẾN */
        font-family: 'Playfair Display', 'Times New Roman', Georgia, sans-serif !important; 
        font-size: 19px !important;
        font-weight: 700 !important;
        text-transform: none !important; /* Bỏ viết hoa toàn bộ giúp phông chữ trông mềm mại, tinh tế */
        margin-bottom: 22px !important;
        position: relative;
        display: inline-block;
        text-align: right !important; /* CĂN LỀ PHẢI CHỮ */
        width: 100%;
        max-width: 320px;
    }
    
    /* Vạch gạch chân màu xanh lá y khoa dưới tiêu đề được căn về bên phải */
    .cards-section-title::after {
        content: '';
        position: absolute;
        bottom: -8px;
        right: 0; /* CĂN LỀ PHẢI VẠCH XANH HOÀN TOÀN KHỚP KHÍT */
        left: auto;
        width: 50px;
        height: 3px;
        background-color: #16a34a; /* Xanh lá thương hiệu */
        border-radius: 2px;
    }

    /* Thẻ thế mạnh nâng cấp */
    .feature-card {
        background-color: #ffffff;
        border: 1px solid #f1f5f9;
        border-radius: 12px;
        padding: 12px 18px;
        box-shadow: 0 4px 15px rgba(15, 23, 42, 0.02);
        display: flex;
        align-items: center;
        gap: 15px;
        width: 100%;
        max-width: 320px;
        transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    }
    /* Hiệu ứng trượt nhẹ sang bên trái khi di chuột để tránh đè lề phải */
    .feature-card:hover {
        transform: translateY(-3px) translateX(-3px);
        box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
        border-color: #cbd5e1;
    }
    .feature-card-icon {
        font-size: 20px;
        color: #16a34a;
        background-color: rgba(22, 163, 74, 0.08); /* Nền xanh lá cực nhạt */
        width: 42px;
        height: 42px;
        border-radius: 50%; /* Bo tròn trịa */
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }
    .feature-card-title {
        font-size: 14px;
        font-weight: 700;
        color: #0f172a;
        margin-bottom: 2px;
    }
    .feature-card-desc {
        font-size: 12px;
        color: #64748b;
        margin-bottom: 0;
    }

    .z-3 {
        z-index: 3;
    }


    /* 1. Mở rộng tối đa khung chứa hai bên rìa màn hình */
        .custom-container-wide {
            max-width: 1440px !important;
            width: 100% !important;
            margin-right: auto !important;
            margin-left: auto !important;
            padding-right: 24px !important;
            padding-left: 24px !important;
        }

        .section-title {
            color: #0f172a;
            font-size: 24px;
            font-weight: 800;
            margin-bottom: 20px;
        }

        .section-link-all {
            color: #1e293b;
            font-weight: 600;
            font-size: 13px;
            text-transform: uppercase;
            letter-spacing: 0.5px;
            text-decoration: none;
            transition: color 0.2s;
        }

        .section-link-all:hover {
            color: #16a34a;
        }

        /* 2. Cấu hình 6 thẻ dịch vụ nền Pastel nhẹ chuẩn nguyên mẫu */
        .service-box-card {
            border: 1px solid transparent;
            border-radius: 12px;
            padding: 24px 10px;
            text-align: center;
            height: 100%;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
            transition: all 0.3s ease;
        }

        .service-box-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
        }

        .service-icon-circle {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 16px auto;
            font-size: 22px;
            background-color: #ffffff;
            /* Giữ màu trắng cho phao tròn chứa icon */
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
        }

        .service-card-title {
            font-size: 14px;
            font-weight: 700;
            color: #0f172a;
            margin-bottom: 8px;
        }

        .service-card-desc {
            font-size: 11px;
            color: #64748b;
            line-height: 1.5;
            margin-bottom: 0;
        }

        /* 3. Cấu hình khối lý do lựa chọn bên phải */
        .why-choose-box {
            display: flex;
            align-items: center;
            gap: 16px;
            margin-bottom: 25px;
        }

        .why-choose-icon {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 18px;
            flex-shrink: 0;
            box-shadow: 0 2px 6px rgba(0, 0, 0, 0.02);
        }

        .why-choose-title {
            font-size: 15px;
            font-weight: 700;
            color: #0f172a;
            margin-bottom: 2px;
        }

        .why-choose-desc {
            font-size: 12px;
            color: #475569;
            line-height: 1.4;
            margin-bottom: 0;
        }


         /* Thống kê bổ sung tăng tính y khoa và quy mô */
        .medical-stat-box {
            text-align: center;
            padding: 30px 20px;
            border-radius: 16px;
            background-color: var(--medical-light);
            border: 1px solid #e2e8f0;
            height: 100%;
            transition: var(--medical-transition);
        }

        .medical-stat-box:hover {
            background-color: #ffffff;
            border-color: var(--medical-secondary);
            box-shadow: var(--medical-card-shadow);
            transform: translateY(-5px);
        }

        .medical-stat-number {
            font-size: 36px;
            font-weight: 800;
            color: var(--medical-primary);
            margin-bottom: 6px;
        }

        .medical-stat-label {
            font-size: 14px;
            font-weight: 600;
            color: var(--medical-dark);
            margin-bottom: 4px;
        }

        .medical-stat-desc {
            font-size: 12px;
            color: #64748b;
            margin-bottom: 0;
        }


           .custom-blog-container {
            max-width: 1440px !important;
            width: 100% !important;
            margin-right: auto !important;
            margin-left: auto !important;
            padding-right: 24px !important;
            padding-left: 24px !important;
        }

        /* Thẻ bài viết nổi bật bên trái */
        .feat-blog-card {
            background-color: #f8fafc;
            border-radius: 12px;
            overflow: hidden;
            display: flex;
            /* height: 100%; */
            min-height: 290px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.02);
            border: 1px solid #f1f5f9;
            transition: transform 0.2s;
        }

        .feat-blog-card:hover {
            transform: translateY(-3px);
        }

        .feat-blog-img-area {
            width: 50%;
            min-height: 290px;
            background-size: cover;
            background-position: center;
        }

        .feat-blog-content-area {
            width: 50%;
            padding: 30px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .feat-blog-category {
            color: #16a34a;
            /* Xanh lá thương hiệu */
            font-size: 11px;
            font-weight: bold;
            letter-spacing: 0.5px;
            text-transform: uppercase;
            margin-bottom: 10px;
        }

        .feat-blog-title {
            font-size: 20px;
            font-weight: 800;
            color: #0f172a;
            line-height: 1.4;
            margin-bottom: 12px;
        }

        .feat-blog-summary {
            font-size: 13px;
            color: #64748b;
            line-height: 1.6;
            margin-bottom: 20px;
        }

       .feat-blog-meta {
            font-size: 11px;
            color: #94a3b8;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 12px;
            font-weight: 500;
            margin-top: auto; /* Đẩy toàn bộ hàng này dính sát xuống đáy Card */
            flex-wrap: wrap; /* Tự động xuống hàng thông minh trên các màn hình hẹp */
        }

         .feat-blog-author-img {
            width: 26px !important;
            height: 26px !important;
            border-radius: 50% !important;
            object-fit: cover !important;
            flex-shrink: 0 !important; /* KHÓA CHẶT: Giữ ảnh luôn tròn trịa, không bị bóp méo [1] */
            margin-right: 8px !important; /* Tạo khoảng cách an toàn rộng rãi với chữ [1] */
            border: 1px solid #dee2e6;
            display: inline-block;
        }

        /* Lưới 8 chủ đề nổi bật bên phải */
        .topic-grid-item {
            background-color: #ffffff;
            border: 1px solid #f1f5f9;
            border-radius: 12px;
            padding: 20px 10px;
            text-align: center;
            height: 100%;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
            transition: all 0.2s ease-in-out;
            text-decoration: none;
            display: block;
        }

        .topic-grid-item:hover {
            border-color: #cbd5e1;
            transform: translateY(-2px);
        }

        .topic-icon-area {
            width: 45px;
            height: 45px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            margin: 0 auto 12px auto;
            font-size: 20px;
        }

        .topic-title {
            font-size: 13px;
            font-weight: 700;
            color: #0f172a;
            margin-bottom: 0;
            line-height: 1.4;
        }


          .custom-video-container {
            max-width: 1440px !important;
            width: 100% !important;
            margin-right: auto !important;
            margin-left: auto !important;
            padding-right: 24px !important;
            padding-left: 24px !important;
        }

        .video-item-card {
            background-color: #ffffff;
            border: 1px solid #f1f5f9;
            border-radius: 12px;
            overflow: hidden;
            height: 100%;
            transition: transform 0.2s;
            text-decoration: none;
            display: block;
        }
        .video-item-card:hover {
            transform: translateY(-3px);
        }
        
        .video-thumbnail-wrapper {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 9;
            background-size: cover;
            background-position: center;
            border-radius: 10px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .video-play-btn-overlay {
            width: 45px;
            height: 45px;
            background-color: rgba(15, 23, 42, 0.75);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            font-size: 20px;
            transition: transform 0.2s, background-color 0.2s;
        }
        .video-item-card:hover .video-play-btn-overlay {
            transform: scale(1.1);
            background-color: #16a34a;
        }
        .video-duration-badge {
            position: absolute;
            bottom: 8px;
            right: 8px;
            background-color: rgba(0,0,0,0.8);
            color: #ffffff;
            font-size: 10px;
            padding: 2px 6px;
            border-radius: 4px;
            font-weight: bold;
        }
        .video-card-title {
            font-size: 14px;
            font-weight: 700;
            color: #0f172a;
            line-height: 1.4;
            margin-top: 10px;
            margin-bottom: 4px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            height: 38px;
        }
        .video-card-views {
            font-size: 11px;
            color: #94a3b8;
            font-weight: 500;
        }

        .podcast-badge-link {
            border: 1px solid #e2e8f0;
            background-color: #ffffff;
            border-radius: 8px;
            padding: 10px 14px;
            display: flex;
            align-items: center;
            gap: 12px;
            text-decoration: none;
            transition: border-color 0.2s, box-shadow 0.2s;
            height: 100%;
        }
        .podcast-badge-link:hover {
            border-color: #cbd5e1;
            box-shadow: 0 4px 12px rgba(0,0,0,0.03);
        }
        .podcast-platform-icon {
            font-size: 28px;
            flex-shrink: 0;
        }
        .podcast-platform-title {
            font-size: 14px;
            font-weight: 700;
            color: #0f172a;
            margin-bottom: 1px;
        }
        .podcast-platform-sub {
            font-size: 10px;
            color: #64748b;
            margin-bottom: 0;
        }

        .podcast-audio-player-box {
            background-color: #f8fafc;
            border: 1px solid #f1f5f9;
            border-radius: 12px;
            padding: 20px;
            display: flex;
            align-items: center;
            gap: 20px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.01);
        }
        .podcast-audio-thumbnail {
            width: 80px;
            height: 80px;
            border-radius: 8px;
            background-color: #0f172a;
            color: #ffffff;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }
        .podcast-audio-title {
            font-size: 15px;
            font-weight: 700;
            color: #0f172a;
            margin-bottom: 4px;
        }
        .podcast-audio-desc {
            font-size: 11px;
            color: #64748b;
            line-height: 1.4;
            margin-bottom: 10px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }
        .podcast-progress-bar-wrapper {
            display: flex;
            align-items: center;
            gap: 15px;
        }
        .podcast-progress-track {
            flex-grow: 1;
            height: 3px;
            background-color: #cbd5e1;
            position: relative;
            border-radius: 2px;
        }
        .podcast-progress-fill {
            width: 40%;
            height: 100%;
            background-color: #0f172a;
            border-radius: 2px;
        }



          .custom-wide-grid-container {
            max-width: 1440px !important;
            width: 100% !important;
            margin-right: auto !important;
            margin-left: auto !important;
            padding-right: 24px !important;
            padding-left: 24px !important;
        }

        /* 1. CSS Cột Nghiên cứu khoa học */
        .research-item-row {
            display: flex;
            align-items: center;
            gap: 15px;
            padding: 10px 0;
            border-bottom: 1px solid #f1f5f9;
            text-decoration: none;
            transition: background-color 0.2s;
        }

        .research-item-row:hover {
            background-color: #f8fafc;
        }

        .research-item-icon {
            width: 34px;
            height: 34px;
            border-radius: 6px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            flex-shrink: 0;
        }

        .research-item-title {
            font-size: 13px;
            font-weight: 700;
            color: #0f172a;
            margin-bottom: 2px;
        }

        .research-item-desc {
            font-size: 11px;
            color: #94a3b8;
            margin-bottom: 0;
        }

        /* 2. CSS Cột Khóa học nhỏ */
        .course-menu-item-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 10px 0;
            border-bottom: 1px solid #f1f5f9;
            text-decoration: none;
        }

        .course-menu-item-row:hover {
            background-color: #f8fafc;
        }

        .course-menu-title-area {
            display: flex;
            align-items: center;
            gap: 15px;
            width: 75%;
        }

        .course-menu-icon-circle {
            width: 34px;
            height: 34px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            flex-shrink: 0;
        }

        .course-menu-title {
            font-size: 13px;
            font-weight: 700;
            color: #0f172a;
            margin-bottom: 2px;
            display: -webkit-box;
            -webkit-line-clamp: 1;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .course-menu-desc {
            font-size: 11px;
            color: #94a3b8;
            margin-bottom: 0;
        }

        .course-menu-thumbnail {
            width: 65px;
            height: 45px;
            background-size: cover;
            background-position: center;
            border-radius: 6px;
            border: 1px solid #e2e8f0;
            flex-shrink: 0;
        }

        /* 3. CSS Cấu hình Ebook tránh lỗi tràn đè ảnh sang cột khác [1] */
        .ebook-promo-card {

            border-radius: 12px;
            padding: 5px;
            display: flex;
            /* align-items: center; */
            justify-content: space-between;
            gap: 15px;
            height: 100%;

            overflow: hidden;
            /* Cắt góc ảnh nếu tràn viền */
        }

        .ebook-form-area {
            width: 65%;
            /* Sửa tỷ lệ văn bản */
        }

        .ebook-title-text {
            font-size: 16px;
            font-weight: 800;
            color: #0f172a;
            line-height: 1.4;
            margin-bottom: 8px;
        }

        .ebook-desc-text {
            font-size: 11.5px;
            color: #64748b;
            line-height: 1.5;
            margin-bottom: 12px;
        }

        /* KHỐI SỬA BẢO VỆ AN TOÀN KÍCH THƯỚC ẢNH [1] */
        .ebook-image-area {
            width: 40%;
            /* Đóng khung tỷ lệ 35% */
            display: flex;
            /* align-items: center; */
            justify-content: center;
            flex-shrink: 0;
            /* CHỐNG CO BÓP VÙNG CHỨA ẢNH [1] */
        }

        .ebook-cover-img {
            max-width: 100% !important;
            /* Khóa chiều rộng ảnh tối đa bằng khít 35% khung [1] */
            height: auto !important;
            max-height: 140px !important;
            /* Khóa chiều cao tối đa của ảnh */
            object-fit: contain;
            border-radius: 6px;
            filter: drop-shadow(2px 4px 8px rgba(15, 23, 42, 0.08));
        }



         .custom-testimonial-container {
            max-width: 1440px !important;
            width: 100% !important;
            margin-right: auto !important;
            margin-left: auto !important;
            padding-right: 24px !important;
            padding-left: 24px !important;
        }

        /* 1. Thiết kế Thẻ đánh giá khách hàng (Video) */
        .testimonial-box-card {
            background-color: #ffffff;
            border: 1px solid #f1f5f9;
            border-radius: 12px;
            overflow: hidden;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            padding: 12px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
            transition: transform 0.2s;
        }

        .testimonial-box-card:hover {
            transform: translateY(-3px);
        }

        .testimonial-video-wrapper {
            position: relative;
            width: 100%;
            aspect-ratio: 16 / 10;
            background-size: cover;
            background-position: center;
            border-radius: 8px;
            overflow: hidden;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #000000;
        }

        .testimonial-play-btn {
            position: absolute;
            z-index: 10;
            width: 40px;
            height: 40px;
            background-color: rgba(15, 23, 42, 0.8);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: #ffffff;
            font-size: 18px;
            transition: transform 0.2s, background-color 0.2s;
            cursor: pointer;
        }

        .testimonial-box-card:hover .testimonial-play-btn {
            transform: scale(1.1);
            background-color: #16a34a;
        }

        .testimonial-quote-text {
            font-size: 13px;
            font-weight: 500;
            color: #334155;
            line-height: 1.5;
            margin-top: 14px;
            margin-bottom: 14px;
            font-style: italic;
            display: -webkit-box;
            -webkit-line-clamp: 3;
            -webkit-box-orient: vertical;
            overflow: hidden;
        }

        .testimonial-user-meta {
            display: flex;
            align-items: center;
            gap: 10px;
            border-top: 1px solid #f1f5f9;
            padding-top: 10px;
        }

        .testimonial-user-avatar {
            width: 28px;
            height: 28px;
            border-radius: 50%;
            object-fit: cover;
            border: 1px solid #dee2e6;
        }

        .testimonial-user-name {
            font-size: 12px;
            font-weight: 700;
            color: #0f172a;
            margin-bottom: 1px;
        }

        .testimonial-user-sub {
            font-size: 10px;
            color: #94a3b8;
            margin-bottom: 0;
        }

        /* 2. Thiết kế Form đặt lịch hẹn & Cuốn lịch dọc */
        .booking-card-panel {
            background-color: #ffffff;
            /* border: 1px solid #f1f5f9; */
            border-radius: 12px;
            padding: 5px;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
            /* height: 100%; */
        }

        .booking-input-field {
            font-size: 13px;
            padding: 10px 12px;
            border-color: #e2e8f0;
        }

        .booking-input-field:focus {
            border-color: #cbd5e1;
            box-shadow: none;
        }

        .btn-booking-submit {
            background-color: #0f172a;
            color: #ffffff;
            font-weight: bold;
            font-size: 14px;
            letter-spacing: 0.5px;
            border-radius: 6px;
            padding: 12px;
            border: none;
            transition: background-color 0.2s;
        }

        .btn-booking-submit:hover {
            background-color: #1e293b;
        }

        .booking-calendar-img-container {
            width: 100%;
            height: 100%;
            min-height: 200px;
            background-size: cover;
            background-position: center;
            border-radius: 8px;
            border: 1px solid #f1f5f9;
        }



           .product-card-box {
            background-color: #ffffff;
            border: 1px solid #f1f5f9;
            border-radius: 12px;
            overflow: hidden;
            height: 100%;
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.01);
            transition: all 0.3s ease;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
        }

        .product-card-box:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
            border-color: #cbd5e1;
        }

        .product-img-container {
            width: 100%;
            height: 200px;
            display: flex;
            align-items: center;
            justify-content: center;
            background-color: #f8fafc;
            /* padding: 15px; */
            overflow: hidden;
        }

        .product-thumbnail-img {
            max-width: 100%;
            max-height: 100%;
            object-fit: contain;
            transition: transform 0.3s;
        }

        .product-card-box:hover .product-thumbnail-img {
            transform: scale(1.05);
        }

        .product-info-area {
            padding: 16px 20px;
        }

        .product-name-title {
            font-size: 15px;
            font-weight: 700;
            color: #0f172a;
            line-height: 1.4;
            margin-bottom: 8px;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
            overflow: hidden;
            height: 42px;
            /* Cố định chiều cao để tên thẳng hàng */
        }

        .product-price-red {
            margin-bottom: 15px;
            display: flex;
            align-items: baseline;
            gap: 8px;
        }





          .partners-marquee-section {
            background-color: #ffffff;
            border-top: 1px solid #f1f5f9;
            border-bottom: 1px solid #f1f5f9;
            overflow: hidden;
            position: relative;
        }
        
        .marquee-section-heading {
            position: relative;
            text-align: center;
            margin-bottom: 35px;
        }
        .marquee-section-heading::before {
            content: '';
            position: absolute;
            top: 50%; left: 0; width: 100%; height: 1px;
            background-color: #e2e8f0;
            z-index: 1;
        }
        .marquee-heading-text {
            background-color: #ffffff;
            color: #16a34a;
            font-size: 14px;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
            padding: 0 20px;
            position: relative;
            z-index: 2;
            display: inline-block;
        }

        /* Khung chứa */
        .marquee-viewport-container {
            width: 100%;
            overflow: hidden;
            white-space: nowrap;
            position: relative;
            display: flex;
        }

        /* KHỐI 1: Bố cục trượt vô cực động (Chỉ chạy khi có nhiều đối tác từ 6 cái trở lên) [1] */
        .marquee-slide-track {
            display: inline-flex;
            gap: 60px;
            animation: marqueeInfinityScroll 22s linear infinite; /* Tốc độ trượt từ từ mượt mà */
            align-items: center;
            padding: 15px 0;
            will-change: transform;
        }
        .marquee-viewport-container:hover .marquee-slide-track {
            animation-play-state: paused; /* Di chuột vào sẽ tạm dừng trượt */
        }

        /* KHỐI 2: Bố cục Tĩnh đứng im (Khi có ít đối tác <= 5) [1] */
        .marquee-static-track {
            display: flex;
            justify-content: center; /* Căn đều ra chính giữa màn hình */
            align-items: center;
            gap: 60px;
            flex-wrap: wrap;
            width: 100%;
            padding: 15px 0;
        }
        
        /* ĐÃ SỬA: Tăng chiều cao lên 70px để Logo hiển thị TO RÕ RÀNG [1] */
        .marquee-logo-item {
            flex-shrink: 0;
            height: 120px !important; 
            display: flex;
            align-items: center;
            justify-content: center;
            text-decoration: none !important;
        }
        
        /* ĐÃ SỬA: Tăng độ hiển thị màu xám lên 0.75 để ảnh đậm màu sắc nét [1] */
        .marquee-partner-logo {
            max-height: 100%;
            max-width: 230px !important; /* Tăng rộng tối đa của logo */
            object-fit: contain;
            filter: grayscale(100%);
            opacity: 0.75; 
            transition: all 0.3s ease-in-out;
        }
        .marquee-logo-item:hover .marquee-partner-logo {
            filter: none;
            opacity: 1;
        }

        @keyframes marqueeInfinityScroll {
            0% { transform: translate3d(0, 0, 0); }
            100% { transform: translate3d(-50%, 0, 0); }
        }



        
         .modal-partner-card {
            background-color: #ffffff;
            border: 1px solid #e2e8f0;
            border-radius: 12px;
            padding: 18px 10px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            height: 100%;
            min-height: 120px;
            transition: all 0.25s ease-in-out;
            box-shadow: 0 2px 8px rgba(0,0,0,0.01);
        }
        
        .modal-partner-card:hover {
            transform: translateY(-3px);
            box-shadow: 0 8px 24px rgba(0,0,0,0.05);
            border-color: #cbd5e1;
        }

        /* Giữ nguyên màu sắc rực rỡ gốc của Logo đối tác trong Modal [1] */
        .modal-partner-img {
            max-height: 105px;
            max-width: 100%;
            object-fit: contain;
            transition: transform 0.25s;
        }
        
        .modal-partner-card:hover .modal-partner-img {
            transform: scale(1.05);
        }

/* end home  */














/* about giới thiệu */



/* Khối Header Hero Banner Chuyển Sắc */
.about-hero-banner {
    background: var(--medical-gradient);
    padding: 120px 0 90px 0;
    border-bottom: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.about-hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(14, 165, 233, 0.1) 0%, rgba(255, 255, 255, 0) 70%);
    border-radius: 50%;
}

.about-banner-title {
    font-family: 'Playfair Display', 'Times New Roman', sans-serif;
    color: var(--medical-dark);
    font-size: 54px;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
}

.about-banner-desc {
    color: var(--medical-primary);
    font-size: 18px;
    font-weight: 700;
    max-width: 750px;
    margin: 0 auto;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* Thiết kế thẻ Card Tầm nhìn & Sứ mệnh song song */
.about-card-box {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 45px 40px;
    box-shadow: var(--medical-card-shadow);
    height: 100%;
    transition: var(--medical-transition);
    position: relative;
    top: 0;
}

.about-card-box:hover {
    top: -8px;
    box-shadow: 0 20px 40px -15px rgba(4, 120, 87, 0.12);
    border-color: rgba(4, 120, 87, 0.2);
}

.about-card-icon {
    width: 65px;
    height: 65px;
    border-radius: 18px;
    background-color: rgba(4, 120, 87, 0.06);
    color: var(--medical-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin-bottom: 28px;
    transition: var(--medical-transition);
}

.about-card-box:hover .about-card-icon {
    transform: scale(1.1) rotate(5deg);
    background-color: var(--medical-primary);
    color: #ffffff;
}

.about-card-title {
    font-size: 24px;
    font-weight: 800;
    color: var(--medical-dark);
    margin-bottom: 16px;
}

.about-card-text {
    font-size: 15.5px;
    color: #475569;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Khối trích dẫn Triết lý hành động */
.philosophy-quote-box {
    background-color: var(--medical-light);
    border-left: 5px solid var(--medical-primary);
    border-radius: 4px 24px 24px 4px;
    padding: 40px 45px;
    font-style: italic;
    color: #1e293b;
    font-size: 18px;
    line-height: 1.8;
    box-shadow: inset 0 2px 4px 0 rgba(0, 0, 0, 0.02);
    position: relative;
}

.philosophy-quote-box::before {
    content: '“';
    font-family: sans-serif;
    font-size: 80px;
    color: rgba(4, 120, 87, 0.08);
    position: absolute;
    top: -10px;
    left: 20px;
}

/* Danh sách Giá trị cốt lõi số thứ tự */
.value-item-row {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 32px;
    padding-bottom: 24px;
    border-bottom: 1px solid #f1f5f9;
    transition: var(--medical-transition);
}

.value-item-row:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.value-item-row:hover {
    transform: translateX(5px);
}

.value-item-number {
    background-color: var(--medical-dark);
    color: #ffffff;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
    flex-shrink: 0;
    margin-top: 2px;
    box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
}

.value-item-row:hover .value-item-number {
    background-color: var(--medical-primary);
}

.value-item-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--medical-dark);
    margin-bottom: 6px;
}

.value-item-desc {
    font-size: 15px;
    color: #475569;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Khối lưới Huy hiệu Quy tắc ưu tiên hoạt động */
.priority-badge-box {
    background-color: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px 20px;
    text-align: center;
    height: 100%;
    transition: var(--medical-transition);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.priority-badge-box:hover {
    border-color: currentColor;
    box-shadow: var(--medical-card-shadow);
    transform: scale(1.03);
}

.priority-badge-text-top {
    font-size: 14px;
    font-weight: 800;
    color: var(--medical-primary);
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.priority-badge-text-bottom {
    font-size: 12.5px;
    color: #64748b;
    font-weight: 500;
}

/* Bảng giải pháp biểu đồ lâm sàng */
.medical-table-container {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--medical-card-shadow);
    border: 1px solid #e2e8f0;
}

.table-medical-head {
    background-color: var(--medical-dark);
    color: #ffffff;
}

.table-medical-head th {
    padding: 20px 24px !important;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.5px;
    border-bottom: none;
}

.table-medical-body td {
    padding: 18px 24px !important;
    font-size: 15px;
    border-bottom: 1px solid #f1f5f9;
}

/* Khối cấu trúc Kim Tự Tháp đồ họa */
.pyramid-section-box {
    background-color: var(--medical-light);
    border: 1px solid #e2e8f0;
    border-radius: 24px;
    padding: 45px;
}

.pyramid-img-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.pyramid-img-frame {
    max-width: 100%;
    max-height: 480px;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(15, 23, 42, 0.08));
    border-radius: 12px;
    transition: var(--medical-transition);
}

.pyramid-img-frame:hover {
    transform: scale(1.02);
}

.pyramid-list-item {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 16px 20px;
    transition: var(--medical-transition);
}

.pyramid-list-item:hover {
    border-color: var(--medical-primary);
    transform: translateX(5px);
    box-shadow: var(--medical-card-shadow);
}

/* Khối cam kết Y đức "KHÔNG làm gì" */
.dont-do-card {
    background-color: #fffbfa;
    border: 1px solid #ffe4e6;
    border-left: 6px solid var(--medical-danger) !important;
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--medical-card-shadow);
}

.dont-do-list-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 20px;
    font-size: 15px;
    color: #334155;
}

.dont-do-list-item:last-child {
    margin-bottom: 0;
}

.dont-do-icon {
    color: var(--medical-danger);
    font-size: 18px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Nguyên tắc hoạt động 5 Câu hỏi vàng */
.principles-dark-card {
    background: var(--medical-gradient-dark);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.15);
}

.principle-list-link {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: #cbd5e1;
    font-size: 15px;
    line-height: 1.6;
}

.principle-list-link strong {
    color: #ffffff;
}

/* Tiêu đề mục chuẩn hóa */
.medical-section-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--medical-dark);
    position: relative;
    margin-bottom: 12px;
}

.medical-section-subtitle {
    font-size: 15px;
    color: #64748b;
    max-width: 700px;
    margin-bottom: 40px;
}

/* Thống kê bổ sung tăng tính y khoa và quy mô */
.medical-stat-box {
    text-align: center;
    padding: 30px 20px;
    border-radius: 16px;
    background-color: var(--medical-light);
    border: 1px solid #e2e8f0;
    height: 100%;
    transition: var(--medical-transition);
}

.medical-stat-box:hover {
    background-color: #ffffff;
    border-color: var(--medical-secondary);
    box-shadow: var(--medical-card-shadow);
    transform: translateY(-5px);
}

.medical-stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--medical-primary);
    margin-bottom: 6px;
}

.medical-stat-label {
    font-size: 14px;
    font-weight: 600;
    color: var(--medical-dark);
    margin-bottom: 4px;
}

.medical-stat-desc {
    font-size: 12px;
    color: #64748b;
    margin-bottom: 0;
}



/* end about giới thiệu */



/* article_detail chi tiết kiến thức khoa học */





/* end article_detail chi tiết kiến thức khoa học */