/* =====================================================================
   Nha Khoa Santé — Skin Bootstrap 5 (bản mẫu tĩnh)
   Nguồn Design DNA: web/src/app/globals.css (Phương án 2 — teal-emerald)
   Đè lên Bootstrap để ra "chất" Santé: xanh brand, mint, airy, bo góc 1rem.
   ===================================================================== */

:root {
  /* ===== Bảng màu Santé (khớp token PA2) ===== */
  --sante-brand: #0a7a63;        /* BRAND — cụm CTA chủ đạo */
  --sante-brand-hover: #075f4d;  /* hover đậm */
  --sante-brand-deep: #064b3c;   /* dải sâu / footer */
  --sante-brand-soft: #dcefe9;   /* nền brand nhạt */
  --sante-teal: #138a70;         /* teal phụ (nút Zalo…) */
  --sante-teal-dark: #075f4d;
  --sante-mint: #eef7f4;         /* mint surface */
  --sante-mint-200: #d9ece4;
  --sante-ink: #16241e;          /* chữ chính */
  --sante-ink-soft: #51635b;     /* chữ phụ */
  --sante-muted: #6c7b75;        /* chữ mờ */
  --sante-border: #e3e9e7;
  --sante-border-strong: #cdd8d2;
  --sante-surface: #ffffff;
  --sante-surface-soft: #f7faf9;
  --sante-promotion: #e2703a;    /* cam khuyến mãi */
  --sante-warning: #c98a23;      /* sao đánh giá */
  --sante-error: #d64545;

  /* Nhịp khoảng cách thoáng (airy) — mobile → desktop */
  --sante-section-mobile: 3.5rem;
  --sante-section-desktop: 6rem;

  --sante-shadow-soft: 0 1px 2px rgba(16, 36, 30, 0.03), 0 6px 18px -14px rgba(16, 36, 30, 0.12);
  --sante-shadow-hover: 0 20px 44px -24px rgba(16, 36, 30, 0.34);

  /* ===== Override biến Bootstrap ===== */
  --bs-primary: #0a7a63;
  --bs-primary-rgb: 10, 122, 99;
  --bs-body-color: #16241e;
  --bs-body-color-rgb: 22, 36, 30;
  --bs-body-font-family: "Be Vietnam Pro", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --bs-body-font-size: 1rem;
  --bs-border-color: #e3e9e7;
  --bs-border-radius: 0.85rem;
  --bs-border-radius-lg: 1rem;
  --bs-border-radius-xl: 1.25rem;
  --bs-link-color: #0a7a63;
  --bs-link-color-rgb: 10, 122, 99;
  --bs-link-hover-color: #075f4d;
  --bs-emphasis-color: #16241e;
}

/* ===================== Nền tảng typography ===================== */
html { scroll-behavior: smooth; scroll-padding-top: 8rem; }
body {
  font-family: var(--bs-body-font-family);
  color: var(--sante-ink);
  background: var(--sante-surface);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6, .fw-display { font-weight: 700; letter-spacing: -0.01em; }
h1, .h1 { font-weight: 800; }
.text-muted-soft { color: var(--sante-ink-soft) !important; }
a { text-decoration: none; }

/* Focus ring — accessibility */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, [tabindex]:focus-visible {
  outline: 2px solid var(--sante-brand);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===================== Màu nền / chữ tiện ích ===================== */
.text-brand { color: var(--sante-brand) !important; }
.text-brand-deep { color: var(--sante-brand-deep) !important; }
.text-ink { color: var(--sante-ink) !important; }
.text-ink-soft { color: var(--sante-ink-soft) !important; }
.text-promotion { color: var(--sante-promotion) !important; }
.bg-mint { background-color: var(--sante-mint) !important; }
.bg-mint-200 { background-color: var(--sante-mint-200) !important; }
.bg-surface-soft { background-color: var(--sante-surface-soft) !important; }
.bg-brand { background-color: var(--sante-brand) !important; }
.bg-brand-deep { background-color: var(--sante-brand-deep) !important; }
.border-brand-soft { border-color: rgba(10, 122, 99, 0.2) !important; }

/* ===================== Nút thương hiệu ===================== */
.btn-brand {
  --bs-btn-color: #fff;
  --bs-btn-bg: var(--sante-brand);
  --bs-btn-border-color: var(--sante-brand);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--sante-brand-hover);
  --bs-btn-hover-border-color: var(--sante-brand-hover);
  --bs-btn-active-bg: var(--sante-brand-deep);
  --bs-btn-active-border-color: var(--sante-brand-deep);
  --bs-btn-focus-shadow-rgb: 10, 122, 99;
  font-weight: 600;
  border-radius: 999px;
}
.btn-outline-brand {
  --bs-btn-color: var(--sante-brand);
  --bs-btn-bg: transparent;
  --bs-btn-border-color: var(--sante-brand);
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: var(--sante-brand);
  --bs-btn-hover-border-color: var(--sante-brand);
  --bs-btn-active-bg: var(--sante-brand-hover);
  --bs-btn-active-border-color: var(--sante-brand-hover);
  --bs-btn-focus-shadow-rgb: 10, 122, 99;
  font-weight: 600;
  border-radius: 999px;
}
.btn-white-brand {
  --bs-btn-color: var(--sante-brand);
  --bs-btn-bg: #fff;
  --bs-btn-border-color: #fff;
  --bs-btn-hover-color: var(--sante-brand);
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.9);
  --bs-btn-hover-border-color: rgba(255, 255, 255, 0.9);
  font-weight: 600;
  border-radius: 999px;
}

/* ===================== Khoảng cách section thoáng ===================== */
.section { padding-block: var(--sante-section-mobile); }
.section-tight { padding-block: 2.5rem; }
@media (min-width: 992px) {
  .section { padding-block: var(--sante-section-desktop); }
  .section-tight { padding-block: 4rem; }
}

/* Tiêu đề section canh giữa */
.section-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--sante-brand);
}
.section-title { font-weight: 700; color: var(--sante-ink); }

/* ===================== Thẻ tương tác + hiệu ứng ===================== */
.card-soft {
  background: var(--sante-surface);
  border: 1px solid var(--sante-border);
  border-radius: 1rem;
  box-shadow: var(--sante-shadow-soft);
}

/* Thẻ nâng nhẹ + bóng sâu + viền brand mờ khi hover */
.card-interactive {
  background: var(--sante-surface);
  border: 1px solid var(--sante-border);
  border-radius: 1rem;
  box-shadow: var(--sante-shadow-soft);
  transition: transform .4s cubic-bezier(.22, 1, .36, 1), box-shadow .4s ease, border-color .4s ease;
  will-change: transform;
  height: 100%;
}
.card-interactive:hover {
  transform: translateY(-6px);
  box-shadow: var(--sante-shadow-hover);
  border-color: rgba(10, 122, 99, 0.38);
}

/* Icon tròn trong thẻ — phóng nhẹ khi hover thẻ cha */
.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 999px;
  background: var(--sante-mint);
  color: var(--sante-brand);
  font-size: 1.5rem;
  transition: transform .4s cubic-bezier(.22, 1, .36, 1), background-color .3s ease;
}
.icon-badge.rounded-square { border-radius: 1rem; }
.card-interactive:hover .icon-badge { transform: scale(1.1) rotate(-3deg); }

/* Sheen: vệt sáng quét qua bề mặt khi hover */
.sheen { position: relative; overflow: hidden; }
.sheen::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  background: linear-gradient(115deg, transparent 32%, rgba(255, 255, 255, 0.45) 50%, transparent 68%);
  transform: translateX(-130%);
  transition: transform .85s ease;
}
.sheen:hover::after { transform: translateX(130%); }

/* Đốm sáng nền dịu sau hero */
.glow-blob {
  position: absolute;
  border-radius: 999px;
  filter: blur(40px);
  background: radial-gradient(circle, rgba(10, 122, 99, 0.16), transparent 70%);
  pointer-events: none;
}

/* Zoom ảnh nhẹ khi hover thẻ */
.img-zoom { overflow: hidden; }
.img-zoom img { transition: transform .5s ease; }
.img-zoom:hover img { transform: scale(1.05); }

/* Ảnh phủ khung tỉ lệ */
.ratio-cover { width: 100%; height: 100%; object-fit: cover; }

/* ===================== HEADER ===================== */
.top-bar { background: var(--sante-surface-soft); border-bottom: 1px solid var(--sante-border); font-size: 0.78rem; color: var(--sante-ink-soft); }
.top-bar a { color: var(--sante-ink-soft); }
.top-bar a:hover { color: var(--sante-brand); }
.top-bar .top-hotline { color: var(--sante-brand); font-weight: 600; }
.top-search input { width: 9rem; border-radius: 999px; border: 1px solid var(--sante-border); font-size: 0.78rem; transition: width .3s ease; }
.top-search input:focus { width: 11rem; border-color: var(--sante-brand); box-shadow: 0 0 0 0.2rem rgba(10, 122, 99, 0.15); }
.lang-toggle { border: 1px solid var(--sante-border); border-radius: 999px; overflow: hidden; }
.lang-toggle button { border: 0; background: transparent; font-size: 0.72rem; font-weight: 600; padding: 0.2rem 0.6rem; color: var(--sante-ink-soft); }
.lang-toggle button.active { background: var(--sante-brand); color: #fff; }

.brand-row { background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(6px); border-bottom: 1px solid var(--sante-border); }
.brand-logo { height: 2.75rem; width: auto; }
@media (min-width: 992px) { .brand-logo { height: 3rem; } }

/* Thanh nav ngang full-width */
.main-nav { background: #fff; border-bottom: 1px solid var(--sante-border); }
.main-nav .navbar-nav { gap: 0.15rem; }
.main-nav .nav-link {
  position: relative;
  font-size: 0.82rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: rgba(22, 36, 30, 0.75);
  padding: 0.85rem 1rem;
}
.main-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 1rem; right: 1rem; bottom: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--sante-brand);
  transform: scaleX(0);
  transition: transform .25s ease;
}
.main-nav .nav-link:hover,
.main-nav .nav-item.show .nav-link,
.main-nav .nav-link.active { color: var(--sante-brand); }
.main-nav .nav-link.active::after,
.main-nav .nav-item:hover .nav-link::after { transform: scaleX(1); }

/* Dropdown thường */
.main-nav .dropdown-menu {
  border: 1px solid var(--sante-border);
  border-radius: 0.85rem;
  box-shadow: var(--sante-shadow-hover);
  padding: 0.5rem;
  margin-top: 0.2rem;
}
.main-nav .dropdown-item {
  border-radius: 0.5rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--sante-ink-soft);
  padding: 0.5rem 0.75rem;
}
.main-nav .dropdown-item:hover,
.main-nav .dropdown-item:focus { background: var(--sante-mint); color: var(--sante-brand); }

/* Mega menu dịch vụ — full width */
.mega-menu {
  width: min(1180px, calc(100vw - 2rem));
  border: 1px solid var(--sante-border);
  border-radius: 1rem;
  box-shadow: var(--sante-shadow-hover);
  padding: 1.5rem;
}
.mega-col-title { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--sante-brand); margin-bottom: 0.6rem; }
.mega-link { display: block; border-radius: 0.5rem; padding: 0.4rem 0.5rem; font-size: 0.88rem; color: var(--sante-ink-soft); }
.mega-link:hover { background: var(--sante-mint); color: var(--sante-brand); }
.mega-foot { border-top: 1px solid var(--sante-border); margin-top: 1rem; padding-top: 0.9rem; }

/* Hover mở dropdown trên desktop (thay vì phải click) */
@media (min-width: 992px) {
  .main-nav .nav-item.dropdown:hover > .dropdown-menu { display: block; }
}

/* ===================== HERO ===================== */
.hero-title { font-size: 2.25rem; line-height: 1.15; }
@media (min-width: 768px) { .hero-title { font-size: 3rem; } }
.hero-banner { aspect-ratio: 16 / 7; border-radius: 2rem; overflow: hidden; box-shadow: var(--sante-shadow-soft); }
.hero-eyebrow { letter-spacing: 0.22em; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--sante-brand-deep); color: rgba(255, 255, 255, 0.85); }
.site-footer h2 { font-size: 0.85rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.03em; color: #fff; }
.site-footer a { color: rgba(255, 255, 255, 0.8); font-size: 0.9rem; }
.site-footer a:hover { color: #fff; }
.site-footer .footer-social {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.25rem; height: 2.25rem; border-radius: 999px;
  background: rgba(255, 255, 255, 0.12); color: #fff;
  transition: background-color .2s ease;
}
.site-footer .footer-social:hover { background: var(--sante-brand); }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.14); font-size: 0.78rem; color: rgba(255, 255, 255, 0.65); }

/* ===================== NÚT NỔI + STICKY CTA ===================== */
.floating-contact { position: fixed; right: 1.25rem; bottom: 1.25rem; z-index: 1040; display: none; flex-direction: column; gap: 0.75rem; }
@media (min-width: 992px) { .floating-contact { display: flex; } }
.floating-contact a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 3rem; height: 3rem; border-radius: 999px;
  box-shadow: var(--sante-shadow-soft); font-size: 1.25rem;
  transition: transform .2s ease, background-color .2s ease;
}
.floating-contact a:hover { transform: translateY(-2px); }
.fc-call { background: var(--sante-brand); color: #fff; }
.fc-call:hover { background: var(--sante-brand-hover); color: #fff; }
.fc-zalo { background: var(--sante-teal); color: #fff; }
.fc-zalo:hover { background: var(--sante-teal-dark); color: #fff; }
.fc-map { background: #fff; color: var(--sante-brand); border: 1px solid var(--sante-border); }
.fc-map:hover { background: var(--sante-mint); }

/* Thanh CTA cố định đáy — chỉ mobile */
.mobile-cta {
  position: fixed; inset-inline: 0; bottom: 0; z-index: 1040;
  background: rgba(255, 255, 255, 0.98); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--sante-border);
  padding-bottom: max(0.2rem, env(safe-area-inset-bottom, 0px));
}
@media (min-width: 992px) { .mobile-cta { display: none !important; } }
.mobile-cta a, .mobile-cta button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.15rem;
  font-size: 0.72rem; font-weight: 600; line-height: 1.2; border: 0; background: transparent; color: var(--sante-ink-soft);
  padding: 0.35rem 0.2rem; border-radius: 0.75rem; text-decoration: none; white-space: nowrap; overflow: visible;
}
.mobile-cta a span, .mobile-cta button span { display: block; line-height: 1.2; font-size: 0.72rem; }
.mobile-cta .cta-book { background: var(--sante-brand); color: #fff; }
.mobile-cta i { font-size: 1.15rem; margin-bottom: 0; }
/* Chừa chỗ cho thanh CTA mobile để không che nội dung cuối trang */
@media (max-width: 991.98px) { body { padding-bottom: 4.75rem; } }

/* ===================== FORM ===================== */
.form-control, .form-select {
  border-radius: 0.6rem;
  border-color: var(--sante-border-strong);
  font-size: 0.92rem;
}
.form-control:focus, .form-select:focus {
  border-color: var(--sante-brand);
  box-shadow: 0 0 0 0.2rem rgba(10, 122, 99, 0.15);
}

/* Form trên nền xanh (engage band) */
.green-card { background: var(--sante-brand-deep); border-radius: 1rem; color: #fff; }
.green-card .form-control, .green-card .form-select {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}
.green-card .form-control::placeholder { color: rgba(255, 255, 255, 0.6); }
.green-card .form-select option { color: var(--sante-ink); }
.green-card .form-control:focus, .green-card .form-select:focus {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
  box-shadow: none;
}

/* ===================== ACCORDION (FAQ) ===================== */
.accordion { --bs-accordion-border-color: var(--sante-border); --bs-accordion-btn-focus-box-shadow: 0 0 0 0.2rem rgba(10,122,99,0.15); }
.accordion-button { font-weight: 600; color: var(--sante-ink); font-size: 0.95rem; }
.accordion-button:not(.collapsed) { color: var(--sante-brand); background: var(--sante-mint); }
.accordion-button:focus { border-color: var(--sante-brand); }

/* ===================== CHIP / BADGE ===================== */
.chip { display: inline-flex; align-items: center; gap: 0.35rem; font-size: 0.78rem; font-weight: 600; padding: 0.25rem 0.7rem; border-radius: 999px; background: var(--sante-mint); color: var(--sante-brand); }
.badge-degree { position: absolute; left: 0.75rem; top: 0.75rem; background: rgba(255, 255, 255, 0.95); color: var(--sante-brand); font-weight: 600; font-size: 0.72rem; border-radius: 999px; padding: 0.2rem 0.6rem; }

/* Sao đánh giá */
.stars { color: var(--sante-warning); }

/* ===================== LƯỚI AN TOÀN AOS ===================== */
/* Mặc định [data-aos] bị AOS ẩn (opacity:0) tới khi cuộn tới. Nếu AOS KHÔNG chạy
   (thiếu file js / lỗi / JS tắt), class 'aos-on' không được thêm vào <html> -> ép hiện
   toàn bộ nội dung để KHÔNG bao giờ có trang trắng. Khi AOS chạy bình thường thì
   quy tắc này không áp (đã có .aos-on), hiệu ứng reveal hoạt động như thường. */
html:not(.aos-on) [data-aos] { opacity: 1 !important; transform: none !important; }

/* ===================== TÔN TRỌNG prefers-reduced-motion ===================== */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  .card-interactive:hover { transform: none; }
  .sheen::after { display: none; }
}

/* ===================== TIỆN ÍCH BỔ SUNG ===================== */
/* Ảnh cover lấp kín container */
.ratio-cover { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Padding y dành cho hero (lg) */
@media (min-width: 992px) {
  .py-lg-6 { padding-top: 4.5rem !important; padding-bottom: 4.5rem !important; }
}

/* ===================== NỘI DUNG BÀI VIẾT DỊCH VỤ (CMS) ===================== */
.service-content-body h2 { font-size: 1.5rem; font-weight: 700; color: var(--sante-ink); margin-top: 2rem; margin-bottom: 1rem; }
.service-content-body h3 { font-size: 1.25rem; font-weight: 600; color: var(--sante-ink); margin-top: 1.5rem; margin-bottom: 0.75rem; }
.service-content-body p { color: var(--sante-ink-soft); line-height: 1.8; margin-bottom: 1rem; }
.service-content-body ul, .service-content-body ol { color: var(--sante-ink-soft); padding-left: 1.5rem; margin-bottom: 1.25rem; }
.service-content-body li { margin-bottom: 0.5rem; line-height: 1.7; }
.service-content-body img { max-width: 100%; height: auto; border-radius: 0.75rem; margin-block: 1rem; }
.service-content-body table { width: 100%; border-collapse: collapse; margin-block: 1.5rem; border-radius: 0.75rem; overflow: hidden; }
.service-content-body th { background: var(--sante-brand); color: #fff; font-weight: 700; padding: 1rem; text-align: left; }
.service-content-body td { padding: 0.85rem 1rem; border-bottom: 1px solid var(--sante-border); }
.service-content-body blockquote { background: var(--sante-mint); border-left: 4px solid var(--sante-brand); padding: 1rem 1.5rem; border-radius: 0 0.5rem 0.5rem 0; margin-block: 1.5rem; font-style: italic; color: var(--sante-brand-deep); }

/* =====================================================================
   LAPTOP & MACBOOK OPTIMIZATIONS (992px – 1440px)
   Tối ưu hóa hiển thị chuyên biệt cho màn hình Laptop 13", 14", 15", MacBook Air & MacBook Pro
   ===================================================================== */

/* Apple Retina Display Font Smoothing */
body, input, button, select, textarea {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 1. Tự động điều chỉnh khoảng cách Section thoáng vừa phải trên Laptop */
@media (min-width: 992px) and (max-width: 1440px) {
  :root {
    --sante-section-desktop: 4rem; /* Giảm bớt khoảng cách từ 6rem xuống 4rem giúp nội dung vừa vặn màn hình Laptop */
  }
  .section { padding-block: 4rem; }
  .section-tight { padding-block: 2.75rem; }
  
  /* Co gọn padding Hero Banner trên Laptop */
  .py-lg-6 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
}

/* 2. Tối ưu Navigation & Top Bar chuyên biệt cho màn hình 1024px (iPad Pro / Netbook / Laptop nhỏ 992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .main-nav .nav-link {
    font-size: 0.7rem !important;
    padding: 0.65rem 0.35rem !important;
    letter-spacing: -0.01em !important;
  }
  .brand-logo { height: 2.2rem !important; }
  .top-search input { width: 7rem !important; }
  .top-search input:focus { width: 9rem !important; }
  
  .mega-menu {
    width: min(940px, calc(100vw - 2rem));
    padding: 1rem;
  }
  .mega-link { font-size: 0.78rem; padding: 0.25rem 0.35rem; }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  .main-nav .nav-link {
    font-size: 0.78rem;
    padding: 0.75rem 0.6rem;
    letter-spacing: 0.02em;
  }
  .brand-logo { height: 2.65rem; }
  .top-search input { width: 8rem; }
  .top-search input:focus { width: 10rem; }
  
  .mega-menu {
    width: min(1080px, calc(100vw - 2rem));
    padding: 1.25rem;
  }
  .mega-link { font-size: 0.84rem; padding: 0.35rem 0.45rem; }
}

/* 3. Typography co giãn thông minh (Fluid Typography) với clamp() */
.hero-title {
  font-size: clamp(2.15rem, 3.8vw, 3.25rem);
  line-height: 1.16;
}
.section-title {
  font-size: clamp(1.65rem, 2.6vw, 2.35rem);
}
.section-eyebrow {
  font-size: clamp(0.75rem, 1vw, 0.82rem);
}

/* 4. Tối ưu Thẻ dịch vụ & Thẻ Bác sĩ trên màn hình 1024px & Laptop */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .card-interactive {
    padding: 0.85rem !important;
  }
  .card-interactive p {
    font-size: 0.78rem !important;
  }
  .card-interactive h3 {
    font-size: 0.88rem !important;
  }
  .card-interactive span[style*="width: 5.5rem"] {
    width: 3.75rem !important;
    height: 3.75rem !important;
  }
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
  /* Dịch vụ nổi bật 6 ô trên Laptop */
  .card-interactive {
    padding: 1rem !important;
  }
  
  /* Icon dịch vụ co vừa phải không bị chiếm hết diện tích ô */
  .card-interactive span[style*="width: 5.5rem"] {
    width: 4rem !important;
    height: 4rem !important;
  }
  
  /* Bác sĩ & Thẻ ca điều trị */
  .badge-degree {
    font-size: 0.68rem;
    padding: 0.15rem 0.5rem;
  }
}

/* 5. Tối ưu hiển thị Container XL cho Retina màn hình rộng */
@media (min-width: 1200px) {
  .container-xl, .container-lg, .container-md, .container-sm, .container {
    max-width: 1240px;
  }
}
@media (min-width: 1441px) {
  .container-xl, .container-lg, .container-md, .container-sm, .container {
    max-width: 1320px;
  }
}

/* 6. Hiệu ứng mượt cho các nút floating & sticky sidebar trên Laptop */
@media (min-width: 992px) {
  .floating-contact a {
    width: 3.25rem;
    height: 3.25rem;
    font-size: 1.35rem;
  }
}

/* ===================== Custom Styling Phân Trang Santé ===================== */
.pagination,
.pagination-sante {
  display: flex !important;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
  padding-left: 0;
  list-style: none;
  margin: 1.5rem 0 0 0 !important;
}

.pagination .page-item,
.pagination-sante .page-item {
  margin: 0;
  display: inline-block;
}

.pagination .page-link,
.pagination-sante .page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.6rem;
  height: 2.6rem;
  padding: 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--sante-ink, #16241e);
  background-color: var(--sante-surface, #ffffff);
  border: 1px solid var(--sante-border, #e3e9e7);
  border-radius: 0.65rem !important;
  text-decoration: none;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 4px rgba(16, 36, 30, 0.04);
}

.pagination .page-link:hover,
.pagination-sante .page-link:hover {
  color: var(--sante-brand, #0a7a63);
  background-color: var(--sante-mint, #eef7f4);
  border-color: var(--sante-brand-soft, #dcefe9);
  transform: translateY(-2px);
  box-shadow: 0 6px 14px -4px rgba(10, 122, 99, 0.2);
}

.pagination .page-item.active .page-link,
.pagination-sante .page-item.active .page-link {
  color: #ffffff !important;
  background-color: var(--sante-brand, #0a7a63) !important;
  border-color: var(--sante-brand, #0a7a63) !important;
  box-shadow: 0 6px 16px -4px rgba(10, 122, 99, 0.4);
  font-weight: 700;
}

.pagination .page-item.disabled .page-link,
.pagination-sante .page-item.disabled .page-link {
  color: var(--sante-muted, #6c7b75);
  background-color: var(--sante-surface-soft, #f7faf9);
  border-color: var(--sante-border, #e3e9e7);
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
  box-shadow: none;
}

/* ===================== Typography & Spacing Bài Viết Blog Santé ===================== */
#blog-content {
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--sante-ink, #16241e);
  letter-spacing: -0.003em;
}

#blog-content p {
  margin-top: 0;
  margin-bottom: 1.5rem;
  color: #2c3e35;
  line-height: 1.85;
}

#blog-content h2 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--sante-brand, #0a7a63);
  margin-top: 2.25rem;
  margin-bottom: 1rem;
  line-height: 1.4;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--sante-mint-200, #d9ece4);
  position: relative;
}

#blog-content h2::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 3.5rem;
  height: 2px;
  background: var(--sante-brand, #0a7a63);
}

#blog-content h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--sante-ink, #16241e);
  margin-top: 1.85rem;
  margin-bottom: 0.85rem;
  line-height: 1.45;
}

#blog-content h4,
#blog-content h5,
#blog-content h6 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--sante-ink, #16241e);
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}

#blog-content ul,
#blog-content ol {
  margin-top: 0.5rem;
  margin-bottom: 1.5rem;
  padding-left: 1.75rem;
}

#blog-content li {
  margin-bottom: 0.75rem;
  line-height: 1.75;
  color: #2c3e35;
}

#blog-content li strong,
#blog-content li b {
  color: var(--sante-ink, #16241e);
}

#blog-content blockquote {
  background: var(--sante-mint, #eef7f4);
  border-left: 4px solid var(--sante-brand, #0a7a63);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
  border-radius: 0 0.85rem 0.85rem 0;
  font-style: italic;
  color: var(--sante-brand-deep, #064b3c);
}

#blog-content img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
  margin: 1.75rem auto;
  display: block;
  box-shadow: 0 8px 24px -8px rgba(16, 36, 30, 0.12);
}

.related-post-title {
  font-size: 0.9375rem !important; /* 15px */
  line-height: 1.45 !important;
  font-weight: 600 !important;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}



