:root {
  --navy: #0b1f3a;
  --navy-deep: #07162a;
  --navy-soft: #142f54;
  --teal: #0d9488;
  --teal-dark: #0f766e;
  --cyan: #0891b2;
  --gold: #c9a227;
  --surface: #f2f7fc;
  --surface-alt: #e8f1fa;
  --surface-card: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --border: #dce7f3;
  --accent-pink: #ec4899;
  --accent-sky: #0284c7;
  --accent-violet: #7c3aed;
  --accent-emerald: #059669;
}

html {
  scroll-behavior: smooth;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

body {
  color: var(--ink);
  background-color: var(--surface);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-heading {
  font-family: 'Plus Jakarta Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

.dental-container {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.25rem;
  padding-right: 1.25rem;
}
@media (min-width: 1024px) {
  .dental-container {
    padding-left: 2.25rem;
    padding-right: 2.25rem;
  }
}
@media (min-width: 1536px) {
  .dental-container {
    padding-left: 3rem;
    padding-right: 3rem;
  }
}

/* Multi-tier Sticky Header & Dark Navy Navigation */
.site-header {
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  background: linear-gradient(180deg, rgba(11, 31, 58, 0.98) 0%, rgba(8, 22, 42, 0.96) 100%);
  border-bottom: 1px solid rgba(56, 189, 248, 0.14);
  transition: box-shadow 0.25s ease, background 0.25s ease;
}

.site-header.scrolled {
  box-shadow: 0 14px 36px -12px rgba(7, 22, 42, 0.42);
}

.nav-pill-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.5rem 0.85rem;
  border-radius: 0.75rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: rgba(226, 232, 240, 0.92);
  transition: color 0.18s ease, background-color 0.18s ease, transform 0.18s ease;
}

.nav-pill-link:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.1);
}

.nav-pill-link.active {
  color: #ffffff;
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.28) 0%, rgba(2, 132, 199, 0.24) 100%);
  border: 1px solid rgba(45, 212, 191, 0.32);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.mega-dropdown {
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}

.mega-trigger:hover .mega-dropdown,
.mega-trigger:focus-within .mega-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}

/* Academic Surface & Section Patterns */
.dental-hero-grid {
  background-color: #07162a;
  background-image:
    radial-gradient(circle at 18% 20%, rgba(13, 148, 136, 0.24), transparent 46%),
    radial-gradient(circle at 82% 76%, rgba(2, 132, 199, 0.22), transparent 48%),
    radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 26px 26px;
}

.clinical-surface {
  background: linear-gradient(180deg, #eef5fc 0%, #f5f9fd 100%);
}

.clinical-surface-deep {
  background: linear-gradient(180deg, #e5eff9 0%, #eff6fd 100%);
}

.academic-card {
  background: #ffffff;
  border: 1px solid #d8e5f2;
  box-shadow: 0 8px 26px -14px rgba(11, 31, 58, 0.14);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.academic-card:hover {
  border-color: rgba(13, 148, 136, 0.45);
  box-shadow: 0 16px 36px -14px rgba(11, 31, 58, 0.18);
}

/* Tab & Category Sidebar Styling */
.dental-tab-btn {
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.dental-tab-btn.is-active {
  background: linear-gradient(135deg, #0b1f3a 0%, #0f766e 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 10px 24px -8px rgba(13, 148, 136, 0.45);
}

.tab-panel-fade {
  animation: dentalFadeIn 0.24s ease-out;
}

@keyframes dentalFadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Numbered FAQ Accordions */
.faq-accordion-item {
  background: #ffffff;
  border: 1px solid #d8e5f2;
  border-radius: 1rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.faq-accordion-item[open] {
  border-color: rgba(13, 148, 136, 0.55);
  box-shadow: 0 10px 28px -12px rgba(11, 31, 58, 0.14);
}

.faq-accordion-item[open] .faq-chevron {
  transform: rotate(180deg);
  background-color: #0d9488;
  color: #ffffff;
}

/* Custom Sleek Scrollbars */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.04);
  border-radius: 9999px;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(100, 116, 139, 0.35);
  border-radius: 9999px;
}

.custom-scrollbar::-webkit-scrollbar-thumb:hover {
  background: rgba(13, 148, 136, 0.65);
}

/* Prose formatting inside Treatment & Blog detail content */
.dental-prose h2:not([class]):not([style]) {
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--navy);
  margin-top: 1.85rem;
  margin-bottom: 0.75rem;
  padding-bottom: 0.45rem;
  border-bottom: 1px solid #e2ecf6;
}

.dental-prose h3 {
  font-size: 1.18rem;
  font-weight: 600;
  color: var(--navy-soft);
  margin-top: 1.35rem;
  margin-bottom: 0.5rem;
}

.dental-prose p {
  color: #334155;
  line-height: 1.82;
  margin-bottom: 1rem;
}

.dental-prose ul, .dental-prose ol {
  margin-left: 1.25rem;
  margin-bottom: 1.25rem;
  color: #334155;
}

.dental-prose ul { list-style-type: disc; }
.dental-prose ol { list-style-type: decimal; }
.dental-prose li { margin-bottom: 0.45rem; line-height: 1.72; }

.dental-prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.9rem;
  border-radius: 0.75rem;
  overflow: hidden;
  border: 1px solid #dce7f3;
}

.dental-prose th {
  background: #0b1f3a;
  color: #ffffff;
  text-align: left;
  padding: 0.7rem 0.9rem;
  font-weight: 600;
}

.dental-prose td {
  padding: 0.65rem 0.9rem;
  border-top: 1px solid #e2ecf6;
  background: #ffffff;
}

.dental-prose blockquote {
  border-left: 4px solid var(--teal);
  background: #eef7f6;
  padding: 1rem 1.25rem;
  border-radius: 0 0.75rem 0.75rem 0;
  margin: 1.25rem 0;
  color: var(--navy);
  font-weight: 500;
}

.dental-prose a.auto-treatment-link {
  color: var(--teal-dark);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(13, 148, 136, 0.35);
  text-underline-offset: 3px;
}

.dental-prose a.auto-treatment-link:hover {
  color: var(--navy);
  text-decoration-color: var(--teal);
}

/* Before/After Image Comparison Slider */
.ba-slider {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  user-select: none;
  background: #0f172a;
}

.ba-slider img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ba-overlay {
  position: absolute;
  inset: 0;
  overflow: hidden;
  width: 50%;
}

.ba-divider {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 3px;
  background: #ffffff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.ba-handle {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  border-radius: 9999px;
  background: #ffffff;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  font-weight: 700;
  font-size: 13px;
  pointer-events: none;
}


/* ================= HEADER & MEGA MENU (dislaravel style tokens) ================= */
.hd{--g:#b5833f;--ink:#1d2822;--mut:#667066;--b:rgba(255,255,255,.95);--sh:rgba(40,70,110,.32);
  --p1:rgba(255,255,255,.94);--p2:rgba(226,238,249,.8);--pill:linear-gradient(180deg,rgba(255,255,255,.96),rgba(255,255,255,.6));
  --line:rgba(60,85,110,.14);--sheen:rgba(255,255,255,.6);
  --sp1:rgba(255,255,255,.86);--sp2:rgba(236,243,250,.8);--spr:rgba(235,243,250,.9);
  font-family:'Inter',system-ui,sans-serif}
.dark .hd{--g:#d4b07a;--ink:#ece8dc;--mut:#9aa398;--b:rgba(255,255,255,.13);--sh:rgba(0,0,0,.75);
  --p1:rgba(30,46,37,.9);--p2:rgba(15,23,18,.88);--pill:rgba(255,255,255,.07);
  --line:rgba(255,255,255,.12);--sheen:rgba(255,255,255,.1);
  --sp1:rgba(32,48,38,.9);--sp2:rgba(15,23,18,.88);--spr:rgba(255,255,255,.08)}
.hd *{box-sizing:border-box}
.hd a{text-decoration:none}

/* ÜST BAR (inci cam) */
.hd-top{position:relative;z-index:60;overflow:hidden;
  background:linear-gradient(115deg,var(--p1),var(--p2));
  backdrop-filter:blur(20px) saturate(170%);-webkit-backdrop-filter:blur(20px) saturate(170%);
  border-bottom:1px solid var(--b);
  box-shadow:0 20px 40px -28px var(--sh),inset 0 1px 0 var(--b)}
.hd-top::after{content:"";position:absolute;inset:0;pointer-events:none;
  background:linear-gradient(180deg,var(--sheen) 0,transparent 48%),linear-gradient(118deg,transparent 38%,var(--sheen) 46%,transparent 54%);}
.hd-top>*{position:relative;z-index:1}
.hd-logo{width:100%;height:100%;border-radius:50%;padding:5px;background:linear-gradient(145deg,#fff,#e4edf6);
  border:1px solid var(--b);box-shadow:0 10px 20px -10px var(--sh),inset 0 1px 0 #fff}
.hd-role{font-size:10px;font-weight:700;letter-spacing:.2em;text-transform:uppercase;color:var(--g)}
.hd-name{font-family:'Gelasio',Georgia,serif;font-weight:400;letter-spacing:-.01em;color:var(--ink);transition:color .2s}
a:hover>.flex>.hd-name{color:var(--g)}
.hd-pill{background:var(--pill);border:1px solid var(--b);border-radius:14px;
  box-shadow:0 10px 18px -12px var(--sh),inset 0 1px 0 var(--b);backdrop-filter:blur(10px)}
.hd-lbl{font-size:9px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:var(--mut)}
.hd-val{font-size:15px;font-weight:700;color:var(--ink);white-space:nowrap;margin:0}
.hd-div{width:1px;height:34px;background:linear-gradient(transparent,var(--line),transparent)}
.hd-circ{width:42px;height:42px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;
  box-shadow:0 12px 20px -10px var(--sh),inset 0 1px 0 rgba(255,255,255,.35);transition:transform .2s}
.hd-circ.ph{background:linear-gradient(145deg,#3d4f45,#293b30);color:#d8b17d;border:1px solid rgba(216,177,125,.5)}
.hd-circ.wa{background:linear-gradient(145deg,#3ee07f,#1fb457);color:#fff}
.hd-circ.loc{width:34px;height:34px;background:var(--pill);border:1px solid var(--b);color:var(--mut)}
a:hover>.hd-circ{transform:scale(1.07)}
.hd-seg{display:flex;align-items:center;gap:2px;padding:5px}
.hd-seg a{padding:6px 12px;border-radius:10px;font-size:12px;font-weight:800;color:var(--mut);transition:all .2s}
.hd-seg a:hover{color:var(--ink)}
.hd-seg a.on{color:var(--g);background:linear-gradient(180deg,#fff,rgba(255,255,255,.7));box-shadow:0 6px 12px -6px var(--sh)}
.dark .hd-seg a.on{background:rgba(255,255,255,.12)}
.hd-theme{width:42px;height:42px;display:flex;align-items:center;justify-content:center;color:var(--g);cursor:pointer;transition:transform .2s}
.hd-theme:hover{transform:rotate(14deg) scale(1.05)}

/* NAV BAR (yeşil cam) */
.hd-nav{position:sticky;top:0;z-index:50;color:#fff;overflow:visible;
  background:linear-gradient(135deg,rgba(43,59,48,.96),rgba(61,79,69,.9));
  backdrop-filter:blur(18px) saturate(150%);-webkit-backdrop-filter:blur(18px) saturate(150%);
  border-top:1px solid rgba(255,255,255,.14);border-bottom:1px solid rgba(212,176,122,.4);
  box-shadow:0 22px 34px -22px rgba(10,20,14,.7),inset 0 1px 0 rgba(255,255,255,.14)}
.dark .hd-nav{background:linear-gradient(135deg,rgba(22,34,27,.97),rgba(12,18,14,.95))}
.hd-nav::before{content:"";position:absolute;inset:0 0 50% 0;pointer-events:none;background:linear-gradient(180deg,rgba(255,255,255,.1),transparent)}
.hd-nav>*{position:relative}
.hd-link{display:flex;align-items:center;gap:5px;padding:9px 16px;border-radius:999px;font-size:14px;font-weight:600;letter-spacing:.02em;
  color:rgba(255,255,255,.82);transition:all .2s;border:1px solid transparent}
.hd-link:hover,.hd-link.active,.mega-menu-trigger:hover .hd-link{color:#d8b17d;background:rgba(255,255,255,.09);border-color:rgba(255,255,255,.14)}
.hd-cta{display:inline-flex;align-items:center;gap:8px;padding:10px 24px;border-radius:999px;font-size:12px;font-weight:800;color:#293b30;
  background:linear-gradient(180deg,#ecc994,#d8b17d);border:1px solid rgba(255,255,255,.4);
  box-shadow:0 12px 22px -10px rgba(216,177,125,.8),inset 0 1px 0 rgba(255,255,255,.6);transition:transform .2s}
.hd-cta:hover{transform:translateY(-2px)}

/* ARAMA KUTUSU + PANEL (cam) */
.hd-s{position:relative;display:flex;align-items:center}
.hd-s .ic{position:absolute;left:14px;z-index:2;color:rgba(255,255,255,.7);pointer-events:none;display:flex}
.hd-s input{width:8rem;padding:10px 16px 10px 40px;border-radius:999px;font:600 12px 'Inter',sans-serif;color:#fff;outline:0;
  background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.18);backdrop-filter:blur(10px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.18);transition:width .3s,border-color .2s,box-shadow .2s}
.hd-s input::placeholder{color:rgba(255,255,255,.6)}
.hd-s input:focus,.hd-s input.wide{width:17rem;border-color:#d8b17d;box-shadow:0 0 0 4px rgba(216,177,125,.2),inset 0 1px 0 rgba(255,255,255,.2)}
.hd-sp{position:absolute;top:calc(100% + 14px);right:0;width:410px;z-index:80;padding:12px;border-radius:24px;max-height:70vh;overflow-y:auto;
  background:linear-gradient(135deg,var(--sp1),var(--sp2));border:1px solid var(--b);
  backdrop-filter:blur(26px) saturate(180%);-webkit-backdrop-filter:blur(26px) saturate(180%);
  box-shadow:0 38px 64px -26px var(--sh),inset 0 1px 0 var(--b);color:var(--ink);
  opacity:0;visibility:hidden;transform:translateY(-8px) scale(.98);transform-origin:top right;transition:all .22s ease}
.hd-sp.open{opacity:1;visibility:visible;transform:none}
.hd-sp::before{content:"";position:absolute;left:18%;right:18%;top:0;height:1px;background:linear-gradient(90deg,transparent,var(--g),transparent)}
.hd-sh{font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--mut);padding:8px 10px;margin-bottom:2px;border-bottom:1px solid var(--line)}
.hd-sh.t{margin-top:12px}
.hd-none{padding:10px 10px 12px;font-size:12px;font-style:italic;color:var(--mut)}
.hd-chips{display:grid;grid-template-columns:1fr 1fr;gap:8px;padding:10px 4px 4px}
.hd-chip{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:8px 8px 8px 12px;border-radius:999px;font-size:12px;font-weight:600;
  color:var(--ink);background:var(--spr);border:1px solid var(--b);box-shadow:0 8px 14px -10px var(--sh);min-width:0}
.hd-chip a{color:inherit;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
.hd-chip:hover{border-color:var(--g)}
.hd-chip button{width:18px;height:18px;border-radius:50%;border:0;background:rgba(128,128,128,.2);color:var(--mut);cursor:pointer;font-size:13px;line-height:1;flex-shrink:0}
.hd-chip button:hover{background:rgba(220,60,60,.3);color:#e55}
.hd-row{display:flex;align-items:center;gap:14px;padding:11px 10px;color:var(--ink);font-size:14px;font-weight:600;border-bottom:1px solid var(--line);transition:background .2s,transform .2s}
.hd-row:last-child{border-bottom:0}
.hd-row:hover{background:var(--spr);border-radius:14px;border-bottom-color:transparent;transform:translateX(3px)}
.hd-ic{width:36px;height:36px;border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;color:var(--g);
  background:var(--spr);border:1px solid var(--b);box-shadow:0 6px 12px -6px var(--sh),inset 0 1px 0 rgba(255,255,255,.5);transition:all .2s}
.hd-row:hover .hd-ic{background:var(--g);color:#fff;border-color:var(--g)}
.hd-rt{min-width:0;display:flex;flex-direction:column;line-height:1.25}
.hd-rt small{font-size:10.5px;font-weight:700;letter-spacing:.06em;text-transform:uppercase;color:var(--g);margin-top:2px}
.hd-empty{text-align:center;padding:28px 12px;font-size:13px;color:var(--mut)}

/* MEGA MENÜ (cam) */
.mega-menu-container{position:fixed;left:0;width:100%;z-index:999;background:transparent;opacity:0;visibility:hidden;transform:translateY(-15px);transition:all .25s ease}
.mega-menu-container.open{opacity:1;visibility:visible;transform:none}
.mega-menu-inner{max-width:1520px;margin:-25px auto;padding:0 36px}
.mega-menu-grid-4{position:relative;display:grid;grid-template-columns:repeat(4,1fr);gap:36px;padding:40px;margin:24px 0;border-radius:26px;overflow:hidden;
  background:linear-gradient(140deg,rgba(43,59,48,.94),rgba(22,32,26,.96));
  backdrop-filter:blur(26px) saturate(160%);-webkit-backdrop-filter:blur(26px) saturate(160%);
  border:1px solid rgba(216,177,125,.25);box-shadow:0 40px 70px -24px rgba(0,0,0,.65),inset 0 1px 0 rgba(255,255,255,.14)}
.mega-menu-grid-4::before{content:"";position:absolute;inset:0 0 55% 0;pointer-events:none;background:linear-gradient(180deg,rgba(255,255,255,.08),transparent)}
.mega-col{position:relative;min-width:0;display:flex;flex-direction:column;gap:18px}
.mega-col[data-cat-index="0"]{--m:#d8b17d;--mg:rgba(216,177,125,.22);--mb:rgba(216,177,125,.1)}
.mega-col[data-cat-index="1"]{--m:#e5c39a;--mg:rgba(229,195,154,.22);--mb:rgba(229,195,154,.1)}
.mega-col[data-cat-index="2"]{--m:#c49a6c;--mg:rgba(196,154,108,.22);--mb:rgba(196,154,108,.1)}
.mega-col[data-cat-index="3"]{--m:#f3d5b5;--mg:rgba(243,213,181,.22);--mb:rgba(243,213,181,.1)}
.mega-col-title{position:relative;margin:0;padding:0 0 16px;font-size:14px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--m);border-bottom:1px solid var(--mg)}
.mega-col-title::after{content:"";position:absolute;bottom:-1px;left:0;width:56px;height:2px;border-radius:2px;background:linear-gradient(90deg,var(--m),transparent)}
.mega-col-list{display:flex;flex-direction:column;max-height:520px;overflow-y:auto;padding-right:4px;margin-right:-4px}
.mega-tedavi-item{display:flex;align-items:center;gap:14px;padding:13px 12px;border-radius:12px;color:#d5dcd7;font-size:14.5px;font-weight:500;line-height:1.4;
  border-bottom:1px solid rgba(255,255,255,.08);border-left:2px solid transparent;transition:all .2s}
.mega-tedavi-item:last-child{border-bottom:0}
.mega-tedavi-item:hover{background:var(--mb);color:#fff;border-left-color:var(--m);padding-left:18px;border-bottom-color:transparent}
.mega-tedavi-icon{width:34px;height:34px;flex-shrink:0;border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--m);
  background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.16);transition:all .2s}
.mega-tedavi-icon svg{width:17px;height:17px}
.mega-tedavi-item:hover .mega-tedavi-icon{background:var(--m);color:#1d2822;border-color:var(--m)}
.mega-tedavi-name{flex:1;min-width:0}
.mega-tedavi-arrow{width:15px;height:15px;color:var(--m);flex-shrink:0;opacity:0;transform:translateX(-4px);transition:all .25s}
.mega-tedavi-item:hover .mega-tedavi-arrow{opacity:1;transform:none}
@media(max-width:1400px){.mega-menu-inner{padding:0 32px}.mega-menu-grid-4{gap:24px;padding:32px 28px}}
@media(max-width:1024px){.mega-menu-grid-4{grid-template-columns:repeat(2,1fr);gap:28px}}
@media(max-width:640px){.mega-menu-inner{padding:0 14px}.mega-menu-grid-4{grid-template-columns:1fr;padding:20px 16px}.mega-col-list{max-height:none}}
@media(max-width:1024px){.hd-sp{width:min(410px,92vw)}}
/* HEADER ARAMA PANELİ — OPAK */
.hd .hd-sp{
  backdrop-filter:none;-webkit-backdrop-filter:none;
  background:linear-gradient(135deg,#ffffff 0%,#f6f9fc 55%,#eaf1f8 100%);
  border:1px solid #dfe8f1;
  --line:#e3ebf3;--spr:#eef4fa;
}
.dark .hd .hd-sp{
  background:linear-gradient(140deg,#1f3026 0%,#141e18 100%);
  border:1px solid #2e4236;
  --line:#34493c;--spr:#2a3d32;
}
@media(prefers-reduced-motion:reduce){.hd *{transition:none!important}}


/* ================= SITE-WIDE DARK MODE (FOREST SAGE & CHAMPAGNE GOLD) ================= */
html.dark body {
  background-color: #0d1510 !important;
  color: #ece8dc !important;
}

html.dark .dental-hero-grid {
  background-color: #101a14;
  background-image:
    radial-gradient(circle at 18% 22%, rgba(216, 177, 125, 0.16), transparent 46%),
    radial-gradient(circle at 84% 74%, rgba(61, 79, 69, 0.35), transparent 50%),
    radial-gradient(rgba(216, 177, 125, 0.08) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 26px 26px;
}

html.dark .clinical-surface,
html.dark .clinical-surface-deep,
html.dark section.bg-white,
html.dark section.bg-slate-50 {
  background: linear-gradient(180deg, #101914 0%, #0c1410 100%) !important;
  border-color: rgba(216, 177, 125, 0.16) !important;
}

html.dark main .academic-card,
html.dark main .faq-accordion-item,
html.dark main .bg-white,
html.dark main .bg-slate-50,
html.dark main .bg-slate-100,
html.dark main .bg-teal-50,
html.dark main .bg-sky-50,
html.dark main .bg-sky-100,
html.dark main .bg-amber-50,
html.dark main .bg-\[\#F4F9FE\],
html.dark main .bg-\[\#F6FAFF\],
html.dark main .bg-\[\#F7FBFF\],
html.dark main .bg-\[\#F8FBFF\],
html.dark main .bg-\[\#F9FBFE\],
html.dark main .bg-\[\#EEF6FF\],
html.dark main .bg-teal-50\/70,
html.dark main .bg-teal-50\/80,
html.dark main .bg-teal-50\/90 {
  background-color: #17231c !important;
  background-image: none !important;
  border-color: rgba(216, 177, 125, 0.2) !important;
  box-shadow: 0 12px 30px -16px rgba(0, 0, 0, 0.65) !important;
}

html.dark main .academic-card:hover,
html.dark main .faq-accordion-item[open] {
  background-color: #1c2a22 !important;
  border-color: rgba(216, 177, 125, 0.45) !important;
}

html.dark main .text-\[\#0B1F3A\],
html.dark main .text-slate-900,
html.dark main .text-slate-800,
html.dark main .text-slate-700,
html.dark .dental-prose h2,
html.dark .dental-prose h3,
html.dark .dental-prose strong,
html.dark .dental-prose th {
  color: #f3efe4 !important;
}

html.dark main .text-slate-600,
html.dark main .text-slate-500,
html.dark main .text-slate-400,
html.dark .dental-prose p,
html.dark .dental-prose li,
html.dark .dental-prose td {
  color: #b7c0b5 !important;
}

html.dark .dental-prose td {
  background-color: #141f18 !important;
  border-color: rgba(216, 177, 125, 0.16) !important;
}

html.dark .dental-prose h2:not([class]):not([style]) {
  border-bottom-color: rgba(216, 177, 125, 0.22);
}

html.dark .dental-prose blockquote {
  background-color: #1d2b22 !important;
  border-left-color: #d8b17d !important;
  color: #f3efe4 !important;
}

html.dark .dental-prose article[style],
html.dark .dental-prose div[style*="background"] {
  background-color: #121c16 !important;
  color: #d4dcd4 !important;
  border-color: rgba(216, 177, 125, 0.22) !important;
  box-shadow: none !important;
}

html.dark .dental-prose header[style] {
  border-bottom-color: rgba(216, 177, 125, 0.35) !important;
}

html.dark .dental-prose section[style*="background"] {
  background-color: #1a2820 !important;
  border-color: rgba(216, 177, 125, 0.28) !important;
  border-left-color: #d8b17d !important;
  color: #d4dcd4 !important;
}

html.dark .dental-prose h1,
html.dark .dental-prose h4 {
  color: #f3efe4 !important;
}

html.dark .dental-prose header h2:last-of-type {
  color: #d8b17d !important;
}

html.dark .dental-prose article[style] p,
html.dark .dental-prose article[style] li,
html.dark .dental-prose article[style] em {
  color: #cbd5cb !important;
}

html.dark main .text-teal-700,
html.dark main .text-teal-800,
html.dark main .text-sky-700,
html.dark main .text-sky-800,
html.dark main .text-pink-600,
html.dark main .text-violet-600,
html.dark main .text-emerald-600,
html.dark .dental-prose a.auto-treatment-link {
  color: #d8b17d !important;
}

html.dark main .border-sky-200,
html.dark main .border-sky-200\/70,
html.dark main .border-sky-200\/80,
html.dark main .border-sky-200\/90,
html.dark main .border-sky-300,
html.dark main .border-slate-200,
html.dark main .border-slate-200\/80,
html.dark main .border-slate-200\/90,
html.dark main .border-slate-100,
html.dark main .border-teal-200,
html.dark main .border-teal-100,
html.dark main .border-rose-200\/80,
html.dark main .border-teal-200\/80 {
  border-color: rgba(216, 177, 125, 0.2) !important;
}

html.dark .dental-tab-btn.is-active,
html.dark main .bg-\[\#0B1F3A\]:not(section):not(.rounded-3xl) {
  background: linear-gradient(135deg, #2b3b30 0%, #3d4f45 100%) !important;
  color: #ecc994 !important;
  border-color: rgba(216, 177, 125, 0.35) !important;
}

html.dark .faq-accordion-item[open] .faq-chevron {
  background-color: #d8b17d !important;
  color: #18231c !important;
}

html.dark main .faq-chevron {
  background-color: #233329 !important;
  color: #d8b17d !important;
}

html.dark main input:not([type="checkbox"]):not([type="radio"]),
html.dark main textarea,
html.dark main select {
  background-color: #0e1611 !important;
  color: #f3efe4 !important;
  border-color: rgba(216, 177, 125, 0.28) !important;
}

html.dark #homeEncyclopediaFade,
html.dark #corpEncyFade {
  background: linear-gradient(to top, #0c1410, transparent) !important;
}

/* Dark Mode for Modals, Banner, Pre-Footer & Footer */
html.dark #smartSearchModal > div,
html.dark #cookieConsentBanner {
  background-color: #15211a !important;
  border-color: rgba(216, 177, 125, 0.3) !important;
  color: #ece8dc !important;
}

html.dark #smartSearchModal #smartSearchDiscovery .bg-\[\#F6FAFF\],
html.dark #smartSearchModal #smartSearchDiscovery .bg-\[\#EEF6FF\],
html.dark #smartSearchModal .bg-\[\#F2F7FC\] {
  background-color: #1d2c23 !important;
  border-color: rgba(216, 177, 125, 0.22) !important;
  color: #f3efe4 !important;
}

html.dark #smartSearchModal .text-\[\#0B1F3A\],
html.dark #cookieConsentBanner .text-slate-600 {
  color: #e4dfd2 !important;
}

html.dark .pre-footer-cta-card {
  background: linear-gradient(135deg, #1b2820 0%, #101914 100%) !important;
  border-color: rgba(216, 177, 125, 0.32) !important;
}

html.dark .site-footer {
  background-color: #090f0c !important;
  border-top-color: rgba(216, 177, 125, 0.25) !important;
}

html.dark .site-footer-notice {
  background-color: #101914 !important;
}
