/* ============================================================
   ÁNH TRĂNG THẦN KINH CHUYÊN SÂU — Brand CSS
   Colors: Venice Blue #045497 | Shakespeare #4AA0D3 | Light Moon #EDD6A5
   Font: Roboto (system fallback)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,300;0,400;0,500;0,700;0,900;1,300;1,400&display=swap');

/* ---------- CSS Variables ---------- */
:root {
  --venice-blue:    #045497;
  --venice-dark:    #033a6b;
  --shakespeare:    #4AA0D3;
  --shakespeare-lt: #7BBFE5;
  --light-moon:     #EDD6A5;
  --light-moon-dk:  #D6B381;
  --white:          #FFFFFF;
  --off-white:      #F7F9FB;
  --text-dark:      #1A2D45;
  --text-muted:     #6B7E97;
  --border:         #DCDEE1;

  --font-main: 'Roboto', 'Segoe UI', Arial, sans-serif;

  --shadow-sm: 0 2px 8px rgba(4,84,151,0.10);
  --shadow-md: 0 6px 24px rgba(4,84,151,0.14);
  --shadow-lg: 0 16px 48px rgba(4,84,151,0.18);

  --radius: 12px;
  --radius-lg: 20px;
  --transition: 0.28s ease;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-main);
  font-size: 15px;
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.7;
}

/* ---------- Global Container ---------- */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none !important; transition: color var(--transition); }
ul { list-style: none; }

/* ---------- Typography Scale (60% step) ---------- */
.at-h1 { font-size: clamp(28px, 4vw, 48px); font-weight: 700; line-height: 1.2; }
.at-h2 { font-size: clamp(22px, 3vw, 36px); font-weight: 700; line-height: 1.3; }
.at-h3 { font-size: clamp(18px, 2.5vw, 26px); font-weight: 600; line-height: 1.4; }
.at-h4 { font-size: clamp(15px, 2vw, 20px); font-weight: 600; }
.at-body { font-size: 15px; font-weight: 400; }
.at-small { font-size: 12px; font-weight: 300; }

/* ---------- Utility ---------- */
.at-text-blue   { color: var(--venice-blue); }
.at-text-sky    { color: var(--shakespeare); }
.at-text-moon   { color: var(--light-moon-dk); }
.at-text-white  { color: var(--white); }
.at-text-muted  { color: var(--text-muted); }
.at-bg-blue     { background: var(--venice-blue); }
.at-bg-sky      { background: var(--shakespeare); }
.at-bg-moon     { background: var(--light-moon); }
.at-bg-off      { background: var(--off-white); }

.at-section     { padding: 80px 0; }
.at-section-sm  { padding: 48px 0; }
.at-content-section { padding: 60px 0 100px; }
.at-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--shakespeare);
  margin-bottom: 10px;
}
.at-divider {
  width: 56px; height: 4px;
  background: linear-gradient(90deg, var(--venice-blue), var(--shakespeare));
  border-radius: 2px;
  margin: 12px 0 24px;
}
.at-divider.center { margin: 12px auto 24px; }

/* ---------- Buttons ---------- */
.at-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all var(--transition);
  border: 2px solid transparent;
}
.at-btn-primary {
  background: var(--venice-blue);
  color: var(--white);
  border-color: var(--venice-blue);
}
.at-btn-primary:hover {
  background: var(--venice-dark);
  border-color: var(--venice-dark);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
.at-btn-outline {
  background: transparent;
  color: var(--venice-blue);
  border-color: var(--venice-blue);
}
.at-btn-outline:hover {
  background: var(--venice-blue);
  color: var(--white);
  transform: translateY(-2px);
}
.at-btn-moon {
  background: var(--light-moon);
  color: var(--venice-blue);
  border-color: var(--light-moon);
}
.at-btn-moon:hover {
  background: var(--light-moon-dk);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.at-btn-sm {
  padding: 8px 15px;
  font-size: 11px;
  letter-spacing: 0.8px;
  border-radius: 50px; /* Keep consistent pill shape */
}

/* Remove default browser focus outline for a cleaner look */
a:focus, button:focus {
  outline: none;
}


/* ============================================================
   TOP BAR (Consolidated)
   ============================================================ */
.at-topbar {
  background: #03467d; /* Slightly deeper blue */
  color: rgba(255, 255, 255, 0.9);
  font-size: 12px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden; /* Prevent overflow */
}
.at-topbar-info { 
  display: inline-flex; 
  align-items: center; 
  gap: 6px; 
  white-space: nowrap;
}
.at-topbar-legal {
  margin-left: 20px;
  padding-left: 20px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--light-moon);
  font-weight: 300;
  white-space: nowrap;
}

/* MARQUEE EFFECT */
.at-topbar-marquee-wrapper {
  overflow: hidden;
  width: 100%;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}
.at-topbar-marquee-content {
  display: flex;
  align-items: center;
  gap: 40px;
  width: max-content;
  animation: at-marquee-left 30s linear infinite;
}
.at-topbar-marquee-content:hover {
  animation-play-state: paused;
}
@keyframes at-marquee-left {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.at-topbar-link {
  color: #fff;
  font-weight: 500;
  transition: all var(--transition);
  white-space: nowrap;
}
.at-topbar-link:hover {
  color: var(--light-moon);
  transform: translateY(-1px);
}
.at-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.at-topbar-info-group {
  display: flex;
  align-items: center;
  gap: 40px;
}
.at-topbar-left, .at-topbar-right {
  display: flex;
  align-items: center;
  gap: 15px; /* Reduced gap to fit more */
}
.at-topbar i { color: var(--light-moon); font-size: 14px; }

/* Legal strip removed - consolidated into topbar */
.at-legal-strip { display: none; }

/* ============================================================
   HEADER / NAVBAR
   ============================================================ */
.at-navbar {
  background: var(--white);
  box-shadow: 0 2px 15px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease;
}
.at-nav .dropdown {
  height: stretch;
  display: flex;
  position: relative; /* Anchors the absolute positioned dropdown-menu */
}
.at-nav .active {
  background: #f0daa7 !important;
}
.at-nav .active a {
    color: #0361a0 !important;
}

.at-nav a:hover, 
.at-nav a.active {
    color: #0361a0 !important;
  background: #f0daa7 !important;
}
.at-header-main {
  background: var(--white);
  padding: 16px 0;
  border-bottom: 1px solid rgba(4,84,151,0.05);
}
.at-navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.at-logo {
  flex-shrink: 0;
}
.at-logo img { height: 48px; width: auto; }

/* Header Slogan Enhancement */
.at-header-slogan {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  flex: 1.5; /* Give it more room to be prominent */
  transition: all 0.3s ease;
}
.at-header-slogan:hover {
  transform: translateY(-2px);
  opacity: 0.9;
}

.at-header-slogan .line-1 {
  font-size: 13px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: var(--text-muted);
  margin-bottom: 2px;
  line-height: 1;
}

.at-header-slogan .line-2 {
  font-family: 'Outfit', var(--font-main);
  font-size: 1.6em;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.2;
  background: linear-gradient(90deg, var(--venice-blue) 0%, var(--shakespeare) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  white-space: nowrap;
}

/* Header Search bar */
.at-header-search {
  display: flex;
  align-items: center;
  background: var(--off-white);
  border-radius: 50px;
  padding: 2px;
  border: 1px solid rgba(4,84,151,0.1);
  height: 44px;
  transition: all var(--transition);
  flex: 1;
  max-width: 500px;
}
.at-header-search:focus-within {
  border-color: var(--shakespeare);
  background: #fff;
  box-shadow: var(--shadow-sm);
}
.at-search-select {
  background: transparent;
  border: none;
  font-size: 12px;
  font-weight: 700;
  color: var(--venice-blue);
  padding: 0 10px 0 18px;
  cursor: pointer;
  outline: none;
  border-right: 1px solid rgba(4,84,151,0.15);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.at-search-input-wrap {
  display: flex;
  align-items: center;
  flex: 1;
}
.at-search-input-wrap input {
  background: transparent;
  border: none;
  padding: 0 15px;
  font-size: 14px;
  color: var(--text-dark);
  width: 100%;
  outline: none;
}
.at-search-input-wrap button {
  background: var(--venice-blue);
  color: var(--white);
  border: none;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}
.at-search-input-wrap button:hover {
  background: var(--shakespeare);
  transform: scale(1.05);
}

/* Header Hotline */
.at-header-hotline {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 20px;
  border-left: 1px solid rgba(4,84,151,0.1);
  border-right: 1px solid rgba(4,84,151,0.1);
}
.hotline-icon {
  width: 40px;
  height: 40px;
  background: rgba(4,84,151,0.05);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--venice-blue);
  font-size: 18px;
}
.hotline-info {
  display: flex;
  flex-direction: column;
}
.hotline-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.hotline-number {
  font-size: 17px;
  font-weight: 800;
  color: #f15a24; /* Thu Cuc style orange */
  line-height: 1.2;
}
.index-faq{
  display:grid;grid-template-columns:1fr 1fr;gap:40px;align-items:start
}
.index-contact{
  display:flex;justify-content: center; gap: 40px;width: 100%;
}

/* Nav Strip Row */
.at-nav-strip {
  background: var(--venice-dark); /* Deeper blue to distinguish from banner */
  padding: 0;
}
.at-nav {
  display: flex;
  align-items: center;
  justify-content: center; /* Center navigation in the strip */
}
.at-nav a {
  padding: 12px 24px;
  font-weight: 600;
  font-size: 13.5px;
  color: rgba(255,255,255,0.9) !important;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  transition: all 0.3s ease;
}
.at-nav a::after { display: none !important; } /* Remove the underline since we have background hover */

/* Dropdown overrides for dark strip */
.at-nav .dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 320px; /* Increased to reduce text wrapping V25 */
  display: block !important; /* Override Bootstrap's display: none */
  visibility: hidden;
  opacity: 0;
  transform: translateY(10px);
  background: var(--white);
  border-top: 4px solid var(--shakespeare);
  border-radius: 0 0 8px 8px; /* Slightly softer corners */
  box-shadow: 0 10px 35px rgba(4,84,151,0.15); /* More premium shadow */
  padding: 12px 0; /* More vertical breathing room */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
}
.at-nav .dropdown:hover .dropdown-menu {
  display: block !important;
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}
.at-nav .dropdown-menu a {
  display: block; 
  color: #1e293b !important; /* Slightly darker slate 800 for better contrast */
  text-transform: none;
  font-family: 'Inter', var(--font-main); /* Cleaner font pairing */
  font-weight: 600; /* Bolder weight for consistency */
  font-size: 14px; /* Refined size */
  line-height: 1.2; /* Tighter for single line */
  padding: 14px 24px; /* Increased vertical padding for premium feel */
  border-bottom: 1px solid rgba(0,0,0,0.04);
  white-space: nowrap; /* Prevent wrapping to ensure even rows V26 */
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.at-nav .dropdown-menu a:last-child {
  border-bottom: none;
}

.at-nav .dropdown-menu a:hover {
  background: rgba(4,84,151,0.04) !important;
  color: var(--venice-blue) !important;
  padding-left: 28px; /* Subtle directional nudge on hover */
}

/* Sticky Header Refinements */
.at-header-main {
  transition: padding var(--transition), background var(--transition), box-shadow var(--transition);
}

.at-logo img {
  transition: height var(--transition);
}

.at-navbar.scrolled .at-header-main {
  padding: 8px 0;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
}

.at-navbar.scrolled .at-logo img {
  height: 40px;
}

/* Mobile Hamburger Style */
.at-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  margin-left: auto;
}
.at-hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--venice-blue);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */
@media (max-width: 1399px) { /* Extra large desktops */
  .at-header-search { max-width: 350px; }
  .at-header-hotline { padding: 0 15px; }
}


@media (max-width: 991px) { /* Tablets */
  .at-nav-strip,
  .at-header-search,
  .at-nav-cta{
    display: none !important;
  }

  .at-header-slogan {
    display: none !important;
  }
  .at-hamburger {
    display: flex !important;
  }
  .at-header-main {
    border-bottom: none;
    padding: 12px 0;
  }
  .at-navbar {
    padding: 0;
  }
  .at-navbar-inner {
    gap: 0px;
  }
  .at-logo img {
    height: 48px;
  }
  .at-posts-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 575px) { /* Mobile */
  .at-logo img { height: 44px; }
  .at-header-main { padding: 8px 0; }
  .at-header-slogan {
    display: none !important;
  }
  .at-navbar-inner {
    gap: 10px;
  }

  /* Shrink FABs on mobile to avoid overlap */
  .at-float-btn {
    width: 44px;
    height: 44px;
    font-size: 16px;
  }
  .at-float-btn span { font-size: 10px; }
  .at-float-group { bottom: 15px; right: 15px; }

  /* Sticky header mobile height */
  .at-navbar.scrolled .at-header-main { padding: 6px 0; }
  .at-navbar.scrolled .at-logo img { height: 36px; }
  .index-faq {
      display: grid;
      grid-template-columns: 1fr;
      gap: 30px;
      align-items: start;
  }
  .index-contact {
      display: flex;
      justify-content: center;
      flex-direction: column;
      gap: 10px;
      width: 100%;
  }
  .at-header-search, .at-header-hotline {
    display: none !important;
  }
}

/* Mobile Search in Drawer */
.at-mobile-search-wrap {
  padding: 15px 20px;
  background: rgba(4,84,151,0.02);
  border-bottom: 1px solid rgba(4,84,151,0.05);
  margin-bottom: 5px;
}
.at-mobile-search {
  display: flex;
  align-items: center;
  background: var(--off-white);
  border-radius: 8px;
  padding: 2px;
  border: 1px solid rgba(4,84,151,0.1);
  height: 44px;
}
.at-mobile-search input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 0 15px;
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
}
.at-mobile-search button {
  background: var(--venice-blue);
  color: var(--white);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile Submenus */
.at-mobile-drop-toggle {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
}
.at-mobile-drop-toggle i {
  font-size: 10px;
  transition: transform 0.3s ease;
}
.at-mobile-dropdown.open .at-mobile-drop-toggle i {
  transform: rotate(180deg);
}
.at-mobile-submenu {
  display: none;
  background: rgba(4,84,151,0.03);
  padding: 4px 0;
}
.at-mobile-dropdown.open .at-mobile-submenu {
  display: block;
}
.at-mobile-submenu a {
  padding-left: 36px !important;
  font-size: 13.5px !important;
  font-weight: 500 !important;
  color: #64748b !important;
  text-transform: none !important;
}
.at-mobile-submenu a:hover {
  color: var(--venice-blue) !important;
  background: rgba(4,84,151,0.05) !important;
}

/* ============================================================
   HERO / BANNER
   ============================================================ */
.at-stat-label { font-size: 12px; color: var(--white); opacity: 1; }

.at-hero {
  position: relative;
  display: flex;
  align-items: stretch; /* Stretch to allow inner flex grounding V15 */
  overflow: hidden;
  background: linear-gradient(135deg, #022a4d 0%, #045497 100%);
  padding-top: 60px; /* Reduced for V17 tight layout */
}

.at-hero-inner-flex {
  display: flex;
  align-items: stretch; /* Stretch to allow grounding V15 */
  justify-content: space-between;
  gap: 60px;
  width: 100%;
  height: 100%; /* Fill the section height */
}

.at-hero-text {
  flex: 1.2; /* Favor text width */
  display: flex;
  flex-direction: column;
  justify-content: center; /* Internal vertical center V16 */
  padding-bottom: 50px;
  z-index: 10;
}

.at-hero-right-side {
  flex: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end; /* Grounded to bottom */
  align-items: flex-end;
  position: relative;
  z-index: 5;
}

/* Aligned Modular Suite V15 - Stable Grounded Pillar */
.at-hero-suite {
  display: flex;
  flex-direction: column;
  gap: 0 !important; /* Force unification */
  width: 100%;
  max-width: 650px;
  margin-top: auto !important; /* Force to bottom of stretched container */
}

/* Base Card Styling (Sharp Edges V14) */
.at-suite-card {
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(35px);
  -webkit-backdrop-filter: blur(35px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 !important; /* Sharp edges */
  box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.3); /* Reversed shadow for ground effect */
  overflow: hidden;
  transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.at-suite-card:hover {
  transform: translateY(-5px);
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.2);
}

/* Card 1: Doctor Identity (Signature Panel) */
.at-doctor-identity-card {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px 25px;
  width: 100% !important; /* Force consistent width for pillar stability */
  border-bottom: none; /* Merge with card below */
  margin: 0 !important; /* Remove any legacy gaps */
}

.at-doctor-portrait-mini {
  width: 60px;
  height: 60px;
  border-radius: 0 !important; /* Sharp signature edges */
  overflow: hidden;
  border: 2px solid var(--white);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.at-hero-dr-name {
  font-size: 16px;
  font-weight: 850;
  color: #fff;
  letter-spacing: 0.5px;
  background: linear-gradient(180deg, #FFFFFF 0%, #BBDDFF 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.at-hero-dr-title {
  font-size: 12px; /* Increased for V13 clarity */
  margin-top: -2px;
  font-weight: 700;
  color: var(--light-moon);
  opacity: 1; /* Maximum clarity */
}

/* Card 2: Panoramic Team Banner (Central Anchor) */
.at-team-banner-card {
  padding: 0; /* Full bleed into the pillar */
  width: 100% !important;
  border-bottom: none; /* Merge with stats below */
  border-top: none; /* Merge with doctor above */
  margin: 0 !important; /* Remove any legacy gaps */
}

.at-panoramic-wrap {
  height: 320px !important; /* Adjusted to 350px as requested for better visibility */
  position: relative;
  overflow: hidden;
}

/* Slick adjustments for team banner */
.at-team-slider {
  margin-bottom: 0 !important;
}

.at-team-slider .slick-list,
.at-team-slider .slick-track {
  height: 100%;
}

/* Card 3: Foundation Stats Ribbon (Panel Foundation) */
.at-stats-ribbon-card {
  padding: 15px 20px;
  width: 100%;
  border-top: none; /* Merge with team above */
  background: rgba(255, 255, 255, 0.05); /* High contrast footing */
  margin-bottom: 0 !important;
}

.at-suite-stats-grid {
  display: flex;
  align-items: center;
  justify-content: center; /* Center horizontally as grounded */
  gap: 30px;
}

.at-panoramic-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.at-team-banner-card:hover .at-panoramic-wrap img {
  transform: scale(1.1);
}

.at-banner-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
  padding: 15px 20px;
  text-align: center;
}

.at-banner-overlay span {
  font-size: 13px;
  color: var(--white);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* Cleanup: Removed duplicate Dr Name/Title styles that were overriding suite styles */

.at-hero-image {
  width: 100%;
  position: relative;
  z-index: 2;
  padding: 10px;
  align-self: center; /* Central as per sketch */
}
.at-hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
  object-fit: cover;
}
.at-hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.18;
}
.at-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(4,84,151,0.98) 0%, rgba(4,84,151,0.90) 40%, rgba(4,84,151,0.3) 100%);
  z-index: 1;
}
.at-hero::after {
  content: '';
  position: absolute;
  top: -20%;
  left: -10%;
  width: 140%;
  height: 140%;
  background: radial-gradient(circle at 20% 20%, rgba(255,255,255,0.05) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}
.at-hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  max-width: 750px;
}
.at-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(237, 214, 165, 0.4);
  color: var(--light-moon);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 8px 18px;
  border-radius: 100px;
  margin-bottom: 25px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.at-hero-content h1 {
  font-size: 50px;
  font-weight: 800;
  line-height: 1.5;
  margin: 25px 0;
  text-shadow: 0 10px 30px rgba(0,0,0,0.5);
  letter-spacing: -1.5px;
}
.at-hero h1 span { color: var(--light-moon); }
.at-hero p {
  font-size: 16px;
  opacity: 0.9;
  margin-bottom: 32px;
  max-width: 500px;
}
.at-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.at-stat-item { 
  text-align: left; 
  padding: 0 15px;
  border-left: 1px solid rgba(255,255,255,0.1);
}
.at-stat-item:first-child { border-left: none; padding-left: 0; }
.at-stat-number {
  font-size: 28px;
  font-weight: 800;
  color: var(--light-moon);
  display: block;
  line-height: 1;
  margin-bottom: 4px;
}
.at-stat-label { font-size: 10px; color: var(--white); opacity: 0.7; text-transform: uppercase; font-weight: 600; }

/* Premium Glass Card for Right Side */
.at-hero-glass-panel {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(20px);
  padding: 25px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Massive Doctor focal point V7 */
.at-doctor-single-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 25px;
  padding: 50px 60px;
  width: auto;
  min-width: 420px;
  align-self: flex-end;
  z-index: 4; /* Highest depth */
  background: rgba(10, 25, 47, 0.4); /* Deeper blue for contrast */
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.at-doctor-badge-img-large {
  width: 240px; /* Massive presence */
  height: 240px;
  border-radius: 50%;
  overflow: hidden;
  border: 8px solid rgba(255, 255, 255, 0.1);
  box-shadow: 
    0 0 40px rgba(0, 0, 0, 0.6),
    0 0 100px rgba(100, 210, 255, 0.2); /* Halo effect */
  background: #fff;
  transition: all 0.6s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.at-doctor-single-badge:hover .at-doctor-badge-img-large {
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 
    0 0 60px rgba(0, 0, 0, 0.7),
    0 0 140px rgba(100, 210, 255, 0.4);
}

.at-doctor-badge-img-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.at-doctor-name {
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 2px;
  text-transform: uppercase;
  text-shadow: 0 5px 15px rgba(0,0,0,0.6);
  background: linear-gradient(180deg, #FFFFFF 0%, #BBDDFF 100%);
  -webkit-background-clip: text;
  background-clip: text; /* Standard property for compatibility */
  -webkit-text-fill-color: transparent;
}

/* Doctor Badge Hero */
.at-doctor-badge-wrapper {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 15px;
  width: 100%;
}

.at-doctor-badge {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.03);
  padding: 15px 10px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.at-doctor-badge:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-8px);
  border-color: rgba(255, 255, 255, 0.2);
}

.at-doctor-badge-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--light-moon);
}

.at-doctor-badge-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.at-doctor-badge-info {
  display: flex;
  flex-direction: column;
}

/* Background Decorations V3 - Neurological Pattern */
.at-hero-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 35c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm57-13c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM58 58c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM33 66c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm52 20c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM21 10c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm63 31c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM8 40c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm44 31c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM25 90c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm71-42c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm-8 44c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM24 46c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zm57-39c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM57 15c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-18 8c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-29 4c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm76 45c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM78 15c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-7 4c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-13 40c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-21 2c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm-8 56c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm6 11c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm24-3c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm26-5c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM16 59c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm41 36c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm22-39c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM9 58c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm29 27c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM18 10c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm24 25c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm13-32c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM70 70c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zm4-37c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1zM24 71c.552 0 1-.448 1-1s-.448-1-1-1-1 .448-1 1 .448 1 1 1z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
  opacity: 0.15;
  z-index: 1;
  pointer-events: none;
}

.at-hero-deco-1 {
  position: absolute;
  top: -100px;
  right: -100px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
  border-radius: 50%;
  z-index: 0;
  filter: blur(40px);
}
.at-hero-deco-2 {
  position: absolute;
  bottom: -150px;
  left: -100px;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(4,84,151,0.4) 0%, transparent 60%);
  border-radius: 50%;
  z-index: 0;
  filter: blur(60px);
}

.at-mini-number {
  font-size: 18px !important; /* High legibility boost V13 */
  font-weight: 900 !important;
  color: #FFFFFF !important; /* Forced white for V13 contrast */
}

.at-mini-label {
  font-size: 11px !important; /* High legibility boost V13 */
  color: var(--white) !important;
  opacity: 1 !important; /* Maximum tack-sharp clarity */
  text-transform: uppercase !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

.at-doctor-badge-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
}

.at-doctor-badge-tag {
  font-size: 10px;
  color: var(--light-moon);
  opacity: 0.8;
  display: block;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

@media (max-width: 1200px) {
    .at-hero-right-side { gap: 20px; }
    .at-hero-image { flex-basis: 380px; }
}

@media (max-width: 991px) {
  .at-hero-inner-flex {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 40px;
    margin-top: 20px;
  }

.at-hero-badge { 
  font-size: 20px;
}

.at-hero-suite { 
  width: 95vw;
}
  .at-hero-text {
    max-width: 100%;
    padding-bottom: 10px;
  }
  .at-hero-right-side {
    flex-direction: column-reverse;
    align-items: center;
    gap: 30px;
  }
  .at-hero-stats {
    flex-direction: row;
    padding: 0;
    margin-top: 0;
  }
  .at-hero-image {
    max-width: 320px;
    flex-basis: auto;
  }
  .at-hero-actions {
    justify-content: center;
  }
}

/* Slider dots */
.at-hero-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 3;
}
.at-hero-dots span {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all var(--transition);
}
.at-hero-dots span.active {
  background: var(--light-moon);
  width: 24px;
  border-radius: 4px;
}

/* ============================================================
   SECTION: THÔNG ĐIỆP / INTRO STRIP
   ============================================================ */
.at-strip {
  background: var(--light-moon);
  padding: 24px 0;
}
.at-strip-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  text-align: center;
}
.at-strip-icon { font-size: 24px; color: var(--venice-blue); }
.at-strip p {
  font-size: 1.4em;
  font-weight: 500;
  color: var(--venice-blue);
  font-style: italic;
  margin-bottom: 0px;
}

/* ============================================================
   SECTION: CÁC MŨI NHỌN CHUYÊN MÔN
   ==============================================/* Services Grid Responsiveness */
.at-services-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 30px !important;
  margin-bottom: 50px;
}

.at-service-item {
  display: flex !important;
  flex-direction: column !important;
}

.at-service-card {
  position: relative;
  background: var(--white);
  border-radius: 24px;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  border: 1px solid var(--border);
  box-shadow: 0 4px 15px rgba(0,0,0,0.02);
  display: flex;
  flex-direction: column;
  padding: 0;
  overflow: hidden;
  height: 100%;
}

.at-service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(4, 84, 151, 0.12);
  border-color: var(--venice-blue);
}

.at-service-img-wrap {
  width: 100%;
  height: 240px;
  background: #f8fafc;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.at-service-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 45%;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.at-service-card:hover .at-service-img-wrap img {
  transform: scale(1.1);
}

.service-hover-overlay {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(4, 84, 151, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  backdrop-filter: blur(2px);
  z-index: 2;
}

.at-service-card:hover .service-hover-overlay {
  opacity: 1;
  visibility: visible;
}

.service-hover-btn {
  background: var(--white);
  color: var(--venice-blue);
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transform: translateY(10px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  box-shadow: 0 10px 20px rgba(0,0,0,0.15);
}

.at-service-card:hover .service-hover-btn {
  transform: translateY(0);
}

.at-service-content {
  padding: 30px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.at-service-content h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--venice-blue);
  margin-bottom: 15px;
  line-height: 1.4;
  transition: color 0.3s;
  min-height: 56px; /* Ensuring title alignment (approx 2 lines) */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.at-service-card:hover .at-service-content h3 {
  color: var(--shakespeare);
}

.at-service-content p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 45px; /* Ensuring description alignment (2 lines) */
}

.at-service-img-v2 {
  width: 100%;
  height: 220px;
  background: #f8fafc;
  display: flex !important;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.at-service-img-v2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Featured Image for Detail Page */
.at-post-featured-img {
  width: 100%;
  height: 400px;
  border-bottom: 1px solid #f1f5f9;
  overflow: hidden;
}

.at-post-featured-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.at-post-detail:hover .at-post-featured-img img {
  transform: scale(1.03);
}

@media (max-width: 768px) {
  .at-post-featured-img {
    height: 250px;
  }
}

/* Services Grid Responsiveness */
@media (max-width: 1199px) {
  .at-services-grid { grid-template-columns: repeat(2, 1fr) !important; }
}
@media (max-width: 767px) {
  .at-services-grid { grid-template-columns: 1fr !important; }
}

/* New Premium Doctor Card */
.at-doctor-card-new {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 1px solid rgba(4,84,151,0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.at-doctor-card-new:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--shakespeare);
}
.at-doctor-card-img {
  position: relative;
  padding-top: 120%;
  overflow: hidden;
  background: #f0f4f8;
}
.at-doctor-card-img img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s ease;
}
.at-doctor-card-new:hover .at-doctor-card-img img {
  transform: scale(1.05);
}
.at-doctor-card-info {
  padding: 24px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.at-doctor-card-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--shakespeare);
  text-transform: uppercase;
  margin-bottom: 6px;
  letter-spacing: 1px;
}
.at-doctor-card-name {
  font-size: 18px;
  font-weight: 700;
  color: var(--venice-blue);
  margin-bottom: 8px;
  line-height: 1.3;
}
.at-doctor-card-role {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============================================================
   SECTION: WHY CHOOSE US
   ============================================================ */
.at-why {
  background: linear-gradient(135deg, var(--venice-blue) 0%, #0B6DC2 100%);
  color: var(--white);
}
.at-why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.at-why-features { display: flex; flex-direction: column; gap: 24px; }
.at-feature-item {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}
.at-feature-icon-wrap {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 12px;
  background: rgba(237,214,165,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: var(--light-moon);
}
.at-feature-text h4 { font-size: 16px; font-weight: 600; margin-bottom: 4px; }
.at-feature-text p { font-size: 13px; opacity: 0.8; }

/* ============================================================
   SECTION: DỊCH VỤ (2 tabs: Khám & Kỹ thuật)
   ============================================================ */
.at-tabs {
  display: flex;
  gap: 4px;
  background: var(--off-white);
  border-radius: 50px;
  padding: 4px;
  width: fit-content;
  margin: 0 auto 40px;
}
.at-tab-btn {
  padding: 10px 28px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  background: transparent;
  color: var(--text-muted);
  transition: all var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.at-tab-icon {
    font-size: 18px;
    filter: grayscale(1);
    opacity: 0.7;
    transition: all 0.3s ease;
}
.at-tab-btn.active .at-tab-icon {
    filter: grayscale(0);
    opacity: 1;
    transform: scale(1.1);
}
.at-tab-btn.active {
  background: var(--venice-blue);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}

/* ============================================================
   SECTION: THÔNG TIN BỆNH NHÂN (News)
   ============================================================ */
/* ============================================================
   SECTION: THÔNG TIN BỆNH NHÂN & TIN TỨC (Content Cards)
   ============================================================ */
.at-posts-grid {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important; /* Premium grid: 3 items per row */
  gap: 32px 24px !important;
  width: 100% !important;
  max-width: 100% !important;
}

.at-post-card.vn-style-card {
  background: transparent !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
  border: none !important;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
  padding: 20px !important;
  padding-bottom: 10px !important;
  border-radius: 12px !important;
}

.vn-style-card .at-post-header h3 {
  margin: 0 !important;
  font-family: 'Merriweather', serif !important;
  font-size: 16px !important;
  font-weight: 700 !important;
  color: #222222 !important;
  line-height: 1.5 !important;
  transition: color 0.3s ease !important;
}

.vn-style-card:hover .at-post-header h3 a {
  color: var(--shakespeare) !important;
}

.vn-style-card .at-post-header h3 a {
  color: inherit !important;
  text-decoration: none !important;
  /* dot ... */
  display: -webkit-box !important;
  -webkit-line-clamp: 1 !important;
  line-clamp: 1 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

.at-card-content {
  display: flex !important;
  gap: 12px !important;
}

.vn-style-card .at-post-thumb {
  overflow: hidden !important;
  background: #f1f5f9 !important;
  position: relative !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.05) !important;
}

.vn-style-card .at-post-thumb img {
  height: 100px;
  object-fit: cover !important;
  transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1) !important;
}
.vn-style-card .at-post-body {
  margin: 0 !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.vn-style-card .at-post-cat {
  font-size: 11px !important;
  font-weight: 800 !important;
  color: var(--shakespeare) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
}

.vn-style-card .at-post-body p {
  margin: 0 !important;
  font-size: 16px !important;
  line-height: 1.6 !important;
  color: #4b5563 !important;
  display: -webkit-box !important;
  -webkit-line-clamp: 4 !important;
  line-clamp: 4 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
  text-transform: lowercase;
}

.vn-style-card .at-post-footer {
  margin-top: 4px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 12px !important;
  color: #94a3b8 !important;
}

@media (max-width: 1300px) {
  .at-posts-grid {
    grid-template-columns: repeat(3, 1fr) !important;
  }
}
@media (max-width: 991px) {
  .at-posts-grid {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 640px) {
  .at-posts-grid {
    grid-template-columns: 1fr !important;
  }
}

.at-post-body {
  flex: 1 !important;
  display: flex;
  flex-direction: column;
}

.at-post-cat {
  font-size: 11px;
  font-weight: 700;
  color: var(--shakespeare);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.at-post-body p {
  font-size: 14px;
  color: #4b5563;
  line-height: 1.5;
  margin-bottom: 0 !important;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.at-post-footer {
  padding-top: 15px;
  margin-top: auto;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.at-post-footer span {
  font-size: 12px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
}

.at-post-footer a {
  font-weight: 700;
  color: var(--venice-blue);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.3s ease;
}

.at-post-footer a i {
  transition: transform 0.3s ease;
}

.at-post-card:hover .at-post-footer a {
  color: var(--shakespeare);
}

.at-post-card:hover .at-post-footer a i {
  transform: translateX(4px);
}

/* CONTENT GRID RESPONSIVENESS */
@media (max-width: 1199px) {
  .at-posts-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 30px 20px !important;
  }
}
@media (max-width: 767px) {
  .at-posts-grid {
    grid-template-columns: 1fr !important;
    display: grid !important;
  }
  .at-post-card.horizontal-card { padding: 0 !important; }
  .at-post-thumb { width: 100% !important; height: auto !important; aspect-ratio: 5 / 3 !important; }
}

/* ============================================================
   SECTION: CTA BANNER
   ============================================================ */
.at-cta-banner {
  background: linear-gradient(135deg, var(--light-moon) 0%, #F5E8C8 100%);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  /* flex-wrap: wrap; */
}
.at-cta-banner h2 { color: var(--venice-blue); margin-bottom: 8px; }
.at-cta-banner p { color: var(--text-dark); opacity: 0.8; }
.at-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }

/* ============================================================
   SECTION: LIÊN HỆ
   ============================================================*/
/* ---------- Contact Page (Ultra-Premium) ---------- */
.at-contact-header {
  margin-bottom: 72px;
  position: relative;
  text-align: center;
}
.at-contact-header h1 {
  font-size: 42px;
  font-weight: 700;
  color: var(--venice-blue);
  margin-bottom: 12px;
}
.at-contact-header h1 span {
  color: var(--shakespeare);
  font-weight: 700;
}
.at-contact-header p {
  margin: 0 auto;
  font-size: 19px;
  line-height: 1.8;
  color: #64748b;
}

.at-contact-split {
  display: flex;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 48px;
}
.at-contact-side {
  flex: 0 0 420px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.at-contact-main-map {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0,0,0,0.08);
  border: 1px solid #e2e8f0;
  background: var(--white);
}

.at-contact-grid {
  display: grid;
  grid-template-columns: 1fr; /* Stack vertically for split view */
  gap: 16px;
  margin-bottom: 0px;
}

/* Simplification: Basic cards without glassmorphism/heavy effects */
.at-cinfo-card {
  background: var(--white);
  padding: 16px 24px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: row; /* Horizontal for side column */
  align-items: center;
  text-align: left;
  gap: 16px;
  transition: all 0.3s ease;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}
.at-cinfo-card:hover {
  border-color: var(--venice-blue);
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.at-cinfo-card-icon {
  width: 48px;
  height: 48px;
  background: #f1f5f9;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--venice-blue);
  font-size: 20px;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.at-cinfo-card:hover .at-cinfo-card-icon {
  background: var(--venice-blue);
  color: var(--white);
}

/* Q&A Form Card - Vertical focus */
.at-qa-form-card {
    background: var(--white);
    padding: 40px 32px;
    border-radius: 24px;
    box-shadow: 0 10px 40px rgba(4,84,151,0.08);
    border: 1px solid rgba(4,84,151,0.05);
    display: flex;
    flex-direction: column;
}
@media (max-width: 767px) {
    .at-qa-form-card {
        padding: 24px;
        box-shadow: none;
        border: none;
    }
}

.at-contact-cta-card {
  grid-column: span 2;
  background: var(--venice-blue);
  padding: 40px;
  border-radius: 16px;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(4,84,151,0.2);
}
.at-contact-cta-card h3 {
  color: var(--white);
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 12px;
}
.at-contact-cta-card p {
  color: rgba(255,255,255,0.9);
  font-size: 15px;
  margin: 0;
}
.at-contact-cta-card .at-btn-white {
  background: var(--white);
  color: var(--venice-blue) !important;
  border-radius: 8px;
  padding: 0 32px;
  height: 50px;
  font-weight: 700;
}

/* Sidebar Map Widget */
.at-sidebar-map {
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

@media (max-width: 1200px) {
  .at-contact-split { flex-direction: column; }
  .at-contact-side { flex: 1; }
  .at-contact-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .at-contact-grid { grid-template-columns: 1fr; }
  .at-contact-cta-card { flex-direction: column; text-align: center; }
}

/* Category List */
/* ============================================================
   FORM ĐẶT LỊCH
   ============================================================ */
.at-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 40px;
}
.at-form-card h3 { color: var(--venice-blue); margin-bottom: 24px; }
.at-form-group { margin-bottom: 18px; }
.at-form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.at-form-control {
  width: 100%;
  padding: 11px 16px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 14px;
  color: var(--text-dark);
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
}
.at-form-control:focus {
  outline: none;
  border-color: var(--shakespeare);
  box-shadow: 0 0 0 3px rgba(74,160,211,0.15);
}
.at-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

/* ============================================================
   FOOTER
   ============================================================ */
.at-footer {
  background: var(--text-dark);
  color: rgba(255,255,255,0.8);
  padding-top: 60px;
}
.at-footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.at-footer-brand h3 {
  color: var(--white);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 4px;
}
.at-footer-brand p { font-size: 13px; line-height: 1.8; margin-top: 16px; }
.at-footer-col h4 {
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.at-footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.at-footer-col a { color: rgba(255,255,255,0.7); font-size: 13px; }
.at-footer-col a:hover { color: var(--light-moon); padding-left: 4px; }
.at-footer-social { display: flex; gap: 10px; margin-top: 20px; }
.at-footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 14px;
  transition: all var(--transition);
}
.at-footer-social a:hover {
  background: var(--venice-blue);
  transform: translateY(-2px);
}
.at-footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
}
.at-legal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(74,160,211,0.15);
  border: 1px solid rgba(74,160,211,0.3);
  color: var(--shakespeare-lt);
  font-size: 12px;
  padding: 4px 12px;
  border-radius: 50px;
}

/* ============================================================
   FLOATING BUTTONS
   ============================================================ */
.at-float-group {
  position: fixed;
  right: 20px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}
.at-float-btn {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-size: 22px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.2);
  transition: all var(--transition);
  cursor: pointer;
}
.at-float-btn:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(0,0,0,0.25); }
.at-float-phone { background: #27AE60; }
.at-float-zalo  { background: #0068FF; }
.at-float-appt  { background: var(--venice-blue); width: auto; border-radius: 50px; padding: 0 18px; font-size: 13px; font-weight: 600; gap: 8px; }

/* ============================================================
   SECTION HEADING (centered)
   ============================================================ */
.at-section-heading {
  text-align: center;
  margin-bottom: 48px;
}
.at-section-heading h2 { color: var(--text-dark); margin-bottom: 12px; }
.at-section-heading p { color: var(--text-muted); max-width: 600px; margin: 0 auto; }

/* ============================================================
   LEGAL STRIP (below header)
   ============================================================ */
.at-legal-strip {
  background: #F0F5FB;
  border-bottom: 1px solid var(--border);
  padding: 6px 0;
  font-size: 12px;
  color: var(--text-muted);
}
.at-legal-strip strong { color: var(--venice-blue); }

/* ============================================================
   SUBPAGES: BREADCRUMBS & INNER LAYOUT
   ============================================================ */
.at-breadcrumb {
  background: linear-gradient(135deg, var(--venice-blue) 0%, var(--shakespeare) 100%);
  padding: 60px 0;
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.at-breadcrumb-bg {
  position: absolute;
  inset: 0;
  background-image: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><g fill="%23ffffff" fill-opacity="0.05" fill-rule="evenodd"><circle cx="3" cy="3" r="3"/><circle cx="13" cy="13" r="3"/></g></svg>');
  opacity: 0.3;
}
.at-breadcrumb-content { position: relative; z-index: 2; }
.at-breadcrumb h1 { margin-bottom: 12px; }
.at-breadcrumb-links {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  opacity: 0.9;
}
.at-breadcrumb-links a:hover { color: var(--light-moon); }
.at-breadcrumb-links span { opacity: 0.6; }

.at-inner-container {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  align-items: start;
}
@media (max-width: 991px) {
  .at-inner-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }
}

/* ---------- Sidebar Widgets ---------- */
.at-sidebar { display: flex; flex-direction: column; gap: 32px; }
.at-widget {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--border);
}
.at-widget-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--venice-blue);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--off-white);
  position: relative;
}
.at-widget-title::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 40px; height: 2px;
  background: var(--shakespeare);
}

.at-cat-list li { margin-bottom: 10px; }
.at-cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-dark);
}
.at-cat-list a:hover { color: var(--venice-blue); transform: translateX(4px); }
.at-cat-count {
  font-size: 11px;
  background: var(--off-white);
  padding: 2px 8px;
  border-radius: 10px;
  color: var(--text-muted);
}

.at-recent-posts { display: flex; flex-direction: column; gap: 16px; }
.at-recent-item { display: flex; gap: 12px; align-items: center; }
.at-recent-thumb { width: 64px; height: 64px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.at-recent-thumb img { width: 100%; height: 100%; object-fit: cover; }
.at-recent-text h5 {
  font-size: 13px;
  line-height: 1.4;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.at-recent-text span { font-size: 11px; color: var(--text-muted); }

/* ---------- Content Styling ---------- */
.at-content { color: var(--text-dark); }
.at-content h2, .at-content h3 { color: var(--venice-blue); margin: 24px 0 16px; }
.at-content blockquote {
  padding: 24px;
  background: var(--off-white);
  border-left: 4px solid var(--venice-blue);
  font-style: italic;
  font-size: 16px;
  margin: 32px 0;
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ---------- Pagination ---------- */
.at-pagination, .my-pagination {
  display: flex !important;
  align-items: center;
  gap: 10px;
  margin-top: 40px;
  list-style: none !important;
  padding: 0 !important;
}

.at-pagination a, 
.at-pagination span,
.my-pagination a,
.my-pagination b {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 600;
  transition: all var(--transition);
  text-decoration: none !important;
  color: var(--text-dark);
}

.at-pagination a:hover,
.my-pagination a:hover {
  background: var(--venice-blue);
  color: var(--white) !important;
  border-color: var(--venice-blue);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(4,84,151,0.2);
}

.at-btn-white {
  background: var(--white);
  color: var(--venice-blue) !important;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.at-btn-white:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.at-pagination .active,
.my-pagination .my-active a,
.my-pagination b {
  background: var(--venice-blue) !important;
  color: var(--white) !important;
  border-color: var(--venice-blue) !important;
  box-shadow: 0 5px 15px rgba(4,84,151,0.2);
}

.at-tab-wrapper {
  position: relative;
  width: 100%;
  min-height: 420px; /* Give it enough room */
}

.at-tab-content {
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
}

.at-tab-content.active {
  opacity: 1;
  visibility: visible;
  position: relative; /* Allow this to define container height */
  pointer-events: all;
  z-index: 1;
}
.at-pagination a, .at-pagination span {
  width: 40px; height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  font-size: 14px;
  font-weight: 500;
  transition: all var(--transition);
}
.at-pagination a:hover {
  background: var(--venice-blue);
  color: var(--white);
  border-color: var(--venice-blue);
  transform: translateY(-2px);
}
.at-pagination .active {
  background: var(--venice-blue);
  color: var(--white);
  border-color: var(--venice-blue);
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .at-topbar-legal { display: none; }
  .at-nav a { padding: 10px 6px; font-size: 12px; }
}

@media (max-width: 1024px) {
  .at-why-grid { grid-template-columns: 1fr; }
  .at-footer-grid { grid-template-columns: 1fr 1fr; }
  .at-contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .at-nav, .at-nav-cta { display: none; }
  .at-hamburger { display: flex; }
  .at-hero { min-height: 460px; }
  .at-cta-banner { padding: 36px 24px; }
  .at-form-row { grid-template-columns: 1fr; }
  .at-footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .at-footer-brand { order: -1; }
  .at-doctors-grid { grid-template-columns: repeat(2,1fr); }
  .at-services-grid { grid-template-columns: repeat(2,1fr); }
}

@media (max-width: 480px) {
  .at-doctors-grid { grid-template-columns: 1fr; }
  .at-services-grid { grid-template-columns: 1fr; }
  .at-hero h1 { font-size: 26px; }
  .at-float-appt span { display: none; }
  .at-float-appt { width: 52px; padding: 0; border-radius: 50%; font-size: 20px; }
}

/* Mobile Nav Drawer */
.at-mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1100;
}
.at-mobile-nav.open { display: block; }
.at-mobile-nav-drawer {
  position: absolute;
  top: 0; right: 0;
  width: 300px;
  height: 100%;
  background: var(--white);
  padding: 24px;
  overflow-y: auto;
  animation: slideIn 0.28s ease;
}
@keyframes slideIn {
  from { transform: translateX(100%); }
  to   { transform: translateX(0); }
}
.at-mobile-nav-close {
  position: absolute;
  top: 16px; right: 16px;
  background: none; border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--text-dark);
}
.at-mobile-nav-links { display: flex; flex-direction: column; gap: 4px; margin-top: 8px; }
.at-mobile-nav-links a {
  display: block;
  padding: 12px 16px;
  font-weight: 500;
  border-radius: 8px;
  color: var(--text-dark);
}
.at-mobile-nav-links a:hover {
  background: rgba(4,84,151,0.07);
  color: var(--venice-blue);
}

/* ============================================================
   SLICK SLIDER CUSTOM STYLES
   ============================================================ */
/* Standardize circular slider arrows */
.slick-prev, .slick-next {
  position: absolute;
  top: 45%; 
  transform: translateY(-50%);
  z-index: 10;
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  padding: 0 !important;
  line-height: normal !important;
  background: var(--white) !important;
  color: var(--venice-blue) !important;
  border: 1px solid rgba(4,84,151,0.2) !important;
  border-radius: 50% !important;
  flex-shrink: 0;
  box-sizing: border-box !important;
  overflow: hidden !important;
  font-size: 0;
  cursor: pointer;
  display: flex !important;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  transition: all var(--transition);
}

.slick-prev { left: -22px; }
.slick-next { right: -22px; }

.slick-prev:hover, .slick-next:hover {
  background: var(--venice-blue) !important;
  color: var(--white) !important;
  border-color: var(--venice-blue) !important;
  transform: translateY(-50%) scale(1.1);
}

.slick-prev::before, .doctor-slider .slick-prev::before {
  content: '\f104' !important;
  font-family: 'FontAwesome' !important;
  font-size: 26px !important;
  font-weight: normal !important;
  display: block !important;
}
.slick-next::before, .doctor-slider .slick-next::before {
  content: '\f105' !important;
  font-family: 'FontAwesome' !important;
  font-size: 26px !important;
  font-weight: normal !important;
  display: block !important;
}

/* Specific position adjustments for service slider if needed */
.service-slider {
  margin: 0 -10px;
}

.service-slider .slick-slide {
  height: inherit !important;
  display: flex !important;
}

.service-slider .slick-slide > div {
  width: 100%;
  display: flex;
}

.service-slider .slick-track {
  display: flex !important;
  align-items: stretch;
}

.service-slider .slick-prev { left: -10px; }
.service-slider .slick-next { right: -10px; }
@media (max-width: 768px) {
  .service-slider .slick-prev, .service-slider .slick-next { top: auto; bottom: -50px; transform: none; }
  .service-slider .slick-prev { left: 35%; }
  .service-slider .slick-next { right: 35%; }
}

.slick-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 30px 0 0 0;
}
.slick-dots li { margin: 0; }
.slick-dots li button {
  font-size: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  border: 1px solid rgba(0,0,0,0.05);
  padding: 0;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: inset 0 1px 2px rgba(0,0,0,0.1);
}
.slick-active button {
  background: var(--venice-blue) !important;
  transform: scale(1.3);
  box-shadow: 0 2px 4px rgba(4,84,151,0.3);
}



/* RLVĐ Team Slider */
.at-rlvd-slider {
    position: relative;
    background: #f8f9fa;
}
.at-rlvd-slide img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 3/2;
}
.at-rlvd-slider .slick-dots {
    bottom: 20px;
}
.at-rlvd-slider .slick-dots li button:before {
    color: #fff;
    opacity: 0.5;
    font-size: 10px;
}
.at-rlvd-slider .slick-dots li.slick-active button:before {
    color: #fff;
    opacity: 1;
}

/* ============================================================
   DOCTOR TEAM PAGE REDESIGN (REF: THU CUC)
   ============================================================ */

/* Filter Bar */
.at-doctor-filter-bar {
    background: var(--venice-blue);
    padding: 30px 20px;
    border-radius: 16px;
    margin-bottom: 50px;
    box-shadow: var(--shadow-md);
}
.at-filter-row {
    display: flex;
    gap: 15px;
    align-items: flex-end;
}
.at-filter-group {
    flex: 1;
}
.at-filter-group label {
    display: block;
    color: var(--white);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 8px;
    opacity: 0.9;
}
.at-filter-group select, .at-filter-group input {
    width: 100%;
    padding: 12px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.2);
    background: var(--white);
    font-size: 14px;
    color: var(--text-dark);
    outline: none;
    transition: all var(--transition);
}
.at-filter-group select:focus, .at-filter-group input:focus {
    border-color: var(--light-moon);
    box-shadow: 0 0 0 3px rgba(237,214,165,0.2);
}
.at-filter-btn-wrap {
    flex: 0 0 160px;
}
.at-filter-btn {
    width: 100%;
    background: var(--light-moon);
    color: var(--venice-blue);
    border: none;
    padding: 13px;
    border-radius: 8px;
    font-weight: 700;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.at-filter-btn:hover {
    background: var(--light-moon-dk);
    transform: translateY(-2px);
}

/* Banner Slider (Prominent) */
.at-doctor-banner-slider-wrap {
    margin-bottom: 60px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.at-doctor-banner-slide {
    position: relative;
    aspect-ratio: 1200 / 450;
    background: var(--off-white);
}
.at-doctor-banner-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.at-doctor-banner-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 60px 40px 40px;
    background: linear-gradient(to top, rgba(0,0,0,0.85), transparent);
    color: var(--white);
}
.at-doctor-banner-content h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--light-moon);
}
.at-doctor-banner-content p {
    font-size: 16px;
    opacity: 0.9;
    max-width: 600px;
}

/* 4-Column Grid */
.at-doctors-grid-4col {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

/* Premium Card (Inspired by Thu Cuc) */
.at-doctor-card-premium {
    background: var(--white);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.4s ease;
    border: 1px solid #f0f0f0;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.at-doctor-card-premium:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(4,84,151,0.12);
    border-color: var(--shakespeare);
}
.at-doctor-card-premium .doc-hover-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(4, 84, 151, 0.75);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    z-index: 10;
    backdrop-filter: blur(4px);
    padding: 20px;
}
.at-doctor-card-premium:hover .doc-hover-overlay {
    opacity: 1;
    visibility: visible;
}
.at-doctor-card-premium .doc-hover-btn {
    width: 100%;
    max-width: 180px;
    padding: 10px 15px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    transform: translateY(20px);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.at-doctor-card-premium:hover .doc-hover-btn {
    transform: translateY(0);
}
.at-doctor-card-premium .doc-hover-btn:nth-child(2) {
    transition-delay: 0.1s;
}
.at-doctor-card-premium .btn-hover-book {
    background: var(--white);
    color: var(--venice-blue);
}
.at-doctor-card-premium .btn-hover-book:hover {
    background: var(--light-moon);
    color: var(--venice-blue);
    transform: translateY(-3px);
}
.at-doctor-card-premium .btn-hover-quick {
    background: transparent;
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.8);
}
.at-doctor-card-premium .btn-hover-quick:hover {
    background: rgba(255,255,255,0.2);
    border-color: var(--white);
    transform: translateY(-3px);
}
.at-doctor-card-premium .img-wrap {
    position: relative;
    padding-top: 100%; /* Square aspect ratio */
    overflow: hidden;
    background: #f8fafc;
}
.at-doctor-card-premium .img-wrap img {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    object-position: top;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.at-doctor-card-premium:hover .img-wrap img {
    transform: scale(1.08);
}
.at-doctor-card-premium .info-wrap {
    padding: 24px 20px;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.at-doctor-card-premium .doc-title {
    font-size: 12px;
    color: #64748b;
    margin: 4px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.at-doctor-card-premium .doc-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--venice-blue);
    margin: 0px;
    line-height: 1.4;
    transition: color 0.3s;
}
.at-doctor-card-premium:hover .doc-name {
    color: var(--shakespeare);
}
.at-doctor-card-premium .doc-role {
    font-size: 13.5px;
    color: #64748b;
    margin: 4px;
    line-height: 1.5;
    height: 40px;
    overflow: hidden;
}
.at-doctor-card-premium .btn-book {
    display: none !important;
}
.at-doctor-card-premium .view-quick-info {
    display: none !important;
}

@media (max-width: 1200px) {
    .at-doctor-banner-content h2 { font-size: 28px; }
}

@media (max-width: 1024px) {
    .at-doctors-grid-4col { grid-template-columns: repeat(3, 1fr); }
    .at-filter-row { flex-wrap: wrap; }
    .at-filter-group { flex: 1 1 45%; }
    .at-filter-btn-wrap { flex: 1 1 100%; }
}
@media (max-width: 768px) {
    .at-doctors-grid-4col { grid-template-columns: repeat(2, 1fr); }
    .at-doctor-banner-slide { aspect-ratio: 16 / 9; }
    .at-doctor-banner-content { padding: 30px 20px; }
    .at-doctor-banner-content h2 { font-size: 24px; }
    .at-doctor-banner-content p { font-size: 14px; }
}
@media (max-width: 480px) {
    .at-doctors-grid-4col { grid-template-columns: 1fr; }
    .at-filter-group { flex: 1 1 100%; }
}


/* Company Info Modal License Slider Refined Styles */
.at-license-slider-container {
    position: relative;
    overflow: hidden;
}

.at-modal-license-slider .slick-list {
    margin: 0 -10px;
}

.at-modal-license-slider .at-license-slide {
    padding: 0 10px;
    outline: none;
}

.at-modal-slider-nav button:hover {
    background: var(--venice-blue) !important;
    color: white !important;
    transform: scale(1.1);
}

.at-modal-slider-nav button:active {
    transform: scale(0.9);
}

.at-modal-license-slider .slick-track {
    display: flex !important;
}

.at-modal-license-slider .slick-slide {
    height: inherit !important;
}

/* Doctor Info Modal Accordion */
.at-doctor-accordion .at-acc-item {
    border: 1px solid #f1f5f9;
    border-radius: 12px;
    margin-bottom: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}
.at-doctor-accordion .at-acc-item:has(.collapse.show) {
    border-color: var(--shakespeare-lt);
    box-shadow: 0 4px 12px rgba(74, 160, 211, 0.08);
}
.at-doctor-accordion .at-acc-header {
    background: #fff;
}
.at-doctor-accordion .at-acc-btn {
    width: 100%;
    padding: 15px 20px;
    border: none;
    background: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    color: var(--venice-blue);
    font-weight: 700;
    font-size: 15px;
    transition: all 0.3s;
}
.at-doctor-accordion .at-acc-btn i.fa:not(.arrow) {
    width: 20px;
    margin-right: 10px;
    color: var(--shakespeare);
    font-size: 16px;
}
.at-doctor-accordion .at-acc-btn .arrow {
    font-size: 12px;
    transition: transform 0.3s;
    opacity: 0.5;
}
.at-doctor-accordion .at-acc-btn:not(.collapsed) {
    background: rgba(74, 160, 211, 0.03);
    color: var(--shakespeare);
}
.at-doctor-accordion .at-acc-btn:not(.collapsed) .arrow {
    transform: rotate(180deg);
    opacity: 1;
}
.at-doctor-accordion .at-acc-body {
    padding: 15px 20px 20px;
    font-size: 14px;
    line-height: 1.7;
    color: #475569;
    background: #fff;
    border-top: 1px dashed #f1f5f9;
}
.at-doctor-accordion .at-acc-body ul {
    padding-left: 20px;
    margin-bottom: 0;
}
.at-doctor-accordion .at-acc-body ul li {
    margin-bottom: 8px;
}
