﻿/* Europe Dental Clinics â€” site geneli ince ayarlar */

/* ============================================================
   Alt footer menÃ¼leri: 2 kolon, kompakt ve premium
   ============================================================ */
.footer__grid{gap:34px}
.footer__col{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  column-gap:22px;
  row-gap:2px;
  align-content:start;
  padding-top:16px;
  border-top:1px solid rgba(255,255,255,.09);
}
.footer__col .footer__h{
  grid-column:1 / -1;
  margin:0 0 10px;
  font-size:11px;
  letter-spacing:.14em;
}
.footer__col > a{
  display:flex;
  align-items:center;
  gap:6px;
  padding:5px 0;
  font-size:12.5px;
  line-height:1.35;
  opacity:.8;
  transition:opacity .2s var(--ease),transform .2s var(--ease),color .2s;
  border-radius:6px;
}
.footer__col > a::before{
  content:"";
  width:4px;height:4px;border-radius:50%;
  background:currentColor;opacity:0;
  transition:opacity .2s;
  flex:none;
}
.footer__col > a:hover{opacity:1;transform:translateX(2px)}
.footer__col > a:hover::before{opacity:.55}
.footer__col > a.footer__more{
  grid-column:1 / -1;
  margin-top:10px;
  padding-top:10px;
  border-top:1px dashed rgba(255,255,255,.12);
  font-weight:700;
  opacity:.95;
}
.footer__col > a.footer__more::before{display:none}
@media (max-width:520px){
  .footer__col{column-gap:14px}
  .footer__col > a{font-size:12px}
}

/* ============================================================
   Apple-style glassmorphism header
   - iÃ§erik sabit, sadece cam katman iki yana aÃ§Ä±lÄ±r
   - scroll'da ince renkli loading halkasÄ±
   ============================================================ */
@property --edc-ang{syntax:"<angle>";initial-value:0deg;inherits:false}
@keyframes edcAng{to{--edc-ang:360deg}}

.header{position:sticky;top:0;z-index:60;padding-top:10px;background:transparent}

/* barÄ±n kendi zemini kapatÄ±lÄ±r; gÃ¶rsel katman .edc-glass */
.header__bar{
  position:relative;
  isolation:isolate;
  background:transparent!important;
  border:0!important;
  box-shadow:none!important;
  -webkit-backdrop-filter:none!important;
  backdrop-filter:none!important;
}
.edc-glass{
  position:absolute;
  inset:0;
  z-index:-1;
  border-radius:20px;
  background:rgba(255,255,255,.56);
  -webkit-backdrop-filter:blur(26px) saturate(190%);
  backdrop-filter:blur(26px) saturate(190%);
  border:1px solid rgba(255,255,255,.66);
  box-shadow:0 16px 44px -30px rgba(11,31,51,.55), inset 0 1px 0 rgba(255,255,255,.8);
  transition:inset .55s cubic-bezier(.2,.7,.2,1), border-radius .55s, background .35s, box-shadow .35s;
  pointer-events:none;
}
.edc-glass__shine{
  position:absolute;
  inset:0;
  border-radius:inherit;
  background:linear-gradient(115deg,rgba(255,255,255,.55),transparent 30%,transparent 70%,rgba(255,255,255,.28));
  opacity:.5;
  pointer-events:none;
}
.header.is-scrolled .edc-glass{
  background:rgba(255,255,255,.72);
  box-shadow:0 24px 60px -32px rgba(11,31,51,.6), inset 0 1px 0 rgba(255,255,255,.92);
}

/* hover: cam yÃ¼zey iki yana aÃ§Ä±lÄ±r, yazÄ±lar yerinde kalÄ±r */
@media (hover:hover) and (min-width:1025px){
  .header__bar:hover .edc-glass{
    inset:-4px -28px;
    border-radius:25px;
    background:rgba(255,255,255,.8);
    box-shadow:0 30px 70px -34px rgba(11,31,51,.62), inset 0 1px 0 rgba(255,255,255,.95);
  }
}

/* ince renkli dÃ¶nen Ã§izgi */
.edc-ring{
  position:absolute;
  inset:-1.5px;
  z-index:-1;
  border-radius:22px;
  padding:1.5px;
  background:conic-gradient(from var(--edc-ang),
    #38bdf8,#6366f1,#a855f7,#ec4899,#f59e0b,#10b981,#38bdf8);
  -webkit-mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  -webkit-mask-composite:xor;
  mask:linear-gradient(#000 0 0) content-box,linear-gradient(#000 0 0);
  mask-composite:exclude;
  opacity:0;
  transition:opacity .45s var(--ease), inset .55s cubic-bezier(.2,.7,.2,1), border-radius .55s;
  pointer-events:none;
}
.header.is-scrolled .edc-ring{opacity:1;animation:edcAng 5s linear infinite}
@media (hover:hover) and (min-width:1025px){
  .header__bar:hover .edc-ring{inset:-5.5px -29.5px;border-radius:27px}
}

/* mobil Ã§ekmece: cam efektli */
@media (max-width:1024px){
  .header{padding-top:8px}
  .edc-glass{border-radius:18px}
  .nav{
    background:rgba(248,251,254,.88)!important;
    -webkit-backdrop-filter:blur(28px) saturate(180%);
    backdrop-filter:blur(28px) saturate(180%);
    border-left:1px solid rgba(255,255,255,.7);
    box-shadow:-30px 0 80px -30px rgba(11,31,51,.5);
  }
  .nav__head,.nav__foot{
    background:rgba(255,255,255,.55);
    -webkit-backdrop-filter:blur(10px);
    backdrop-filter:blur(10px);
  }
}
@media (prefers-reduced-motion:reduce){
  .edc-glass,.edc-ring{transition:none!important;animation:none!important}
}


/* ------------------------------------------------------------------
   Premium lead card (blog / treatment content)
   ------------------------------------------------------------------ */
.eu-lead-card{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.05fr);gap:28px;align-items:center;margin:34px 0;padding:30px;border-radius:24px;background:linear-gradient(135deg,#0b1f33 0%,#0d5eaf 58%,#3fa9e0 100%);color:#fff;box-shadow:0 34px 80px -46px rgba(11,31,51,.75);overflow:hidden}
.eu-lead-card::before{content:"";position:absolute;right:-90px;top:-110px;width:300px;height:300px;border-radius:999px;background:rgba(255,255,255,.12)}
.eu-lead-card::after{content:"";position:absolute;left:28%;bottom:-130px;width:260px;height:260px;border-radius:999px;background:rgba(63,169,224,.22)}
.eu-lead-card__copy{position:relative;z-index:1}
.eu-lead-card__eyebrow{display:inline-flex;align-items:center;gap:8px;font-size:11px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:#9fd8ff}
.eu-lead-card__eyebrow::before{content:"";width:7px;height:7px;border-radius:999px;background:#6ee7b7;box-shadow:0 0 0 4px rgba(110,231,183,.18)}
.eu-lead-card h3{margin:10px 0 10px!important;font-size:30px!important;line-height:1.12!important;color:#fff!important;letter-spacing:-.02em}
.eu-lead-card p{margin:0!important;color:rgba(255,255,255,.82)!important;font-size:15px!important;line-height:1.65!important}
.eu-lead-card__list{list-style:none!important;margin:18px 0 0!important;padding:0!important;display:grid!important;gap:9px!important}
.eu-lead-card__list li{position:relative;padding-left:25px;color:rgba(255,255,255,.92);font-size:14px;font-weight:600}
.eu-lead-card__list li::before{content:"✓";position:absolute;left:0;top:0;width:18px;height:18px;border-radius:999px;background:rgba(255,255,255,.16);color:#fff;font-size:11px;font-weight:800;display:grid;place-items:center}
.eu-lead-card__form{position:relative;z-index:1;background:#fff;color:var(--ink,#0b1f33);border-radius:18px;padding:20px;box-shadow:0 24px 60px -36px rgba(0,0,0,.5)}
.eu-lead-card__form .field{margin-bottom:12px}
.eu-lead-card__form .field label{font-size:12px;font-weight:700;color:var(--ink,#0b1f33)}
.eu-lead-card__form .field input,.eu-lead-card__form .field textarea{background:#f7fafc;border:1px solid var(--line,#e3ecf3);border-radius:11px;padding:11px 13px;font-size:14px}
.eu-lead-card__form .field input:focus,.eu-lead-card__form .field textarea:focus{outline:2px solid rgba(13,94,175,.22);border-color:var(--brand,#0d5eaf);background:#fff}
.eu-lead-card__form .btn{margin-top:4px}
.eu-lead-card__note{margin:10px 0 0!important;text-align:center;font-size:11px!important;color:var(--muted,#5d7083)!important;line-height:1.5!important}
@media(max-width:820px){.eu-lead-card{grid-template-columns:1fr;padding:22px;gap:20px}.eu-lead-card h3{font-size:24px!important}.eu-lead-card__form{padding:16px}}

/* Desktop mega-menu: keep hover alive across the gap below the header bar */
@media(min-width:1025px){
  .mega::before{top:-36px;height:36px}
  .mega{z-index:70}
}

/* Blog / treatment article images: hepsi aynı genişlikte */
.eu-art .prose img,
.eu-art__main .prose img,
.prose--rich img {
  display: block !important;
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  margin: 26px 0 !important;
  border-radius: 18px;
}

/* Treatment SEO blocks */
.eu-why{margin:38px 0;padding:26px;border:1px solid var(--line,#e3ecf3);border-radius:20px;background:linear-gradient(135deg,#f5fafe,#eaf5fc)}
.eu-why h2{margin:0 0 12px!important;font-size:24px!important;line-height:1.2!important}
.eu-why p{margin:0 0 12px!important}
.eu-why ul{margin:0 0 18px!important;padding:0!important;list-style:none!important;display:grid!important;gap:8px!important}
.eu-why li{position:relative;padding-left:24px;font-size:14.5px;line-height:1.55;color:var(--text,#3f5265)}
.eu-why li::before{content:"✓";position:absolute;left:0;top:1px;width:17px;height:17px;border-radius:999px;background:rgba(13,94,175,.12);color:var(--brand,#0d5eaf);font-size:11px;font-weight:800;display:grid;place-items:center}
.eu-faq{margin:42px 0 10px;padding-top:30px;border-top:1px solid var(--line,#e3ecf3)}
.eu-faq h2{margin:0 0 18px!important;font-size:26px!important;line-height:1.2!important}
.eu-faq__item{padding:16px 0;border-bottom:1px solid var(--line,#e3ecf3)}
.eu-faq__item:first-child{padding-top:0}
.eu-faq__item h3{margin:0 0 7px!important;font-size:17px!important;line-height:1.35!important;color:var(--ink,#0b1f33)!important}
.eu-faq__item p{margin:0!important;font-size:14.5px!important;line-height:1.7!important;color:var(--text,#3f5265)!important}

/* Doctor profile */
.eu-doctor-profile{display:grid;grid-template-columns:320px minmax(0,1fr);gap:44px;align-items:start}
.eu-doctor-profile__media{position:sticky;top:112px;background:linear-gradient(180deg,#f5fafe,#e8f2fa);border:1px solid var(--line,#e3ecf3);border-radius:24px;padding:16px;aspect-ratio:3/4;display:flex;align-items:flex-end;justify-content:center;overflow:hidden}
.eu-doctor-profile__media img{width:100%;height:100%;object-fit:contain;object-position:center bottom;display:block}
.eu-doctor-profile__kicker{display:inline-flex;align-items:center;gap:7px;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--brand,#0d5eaf)}
.eu-doctor-profile__kicker::before{content:"";width:7px;height:7px;border-radius:999px;background:var(--sky,#3fa9e0)}
.eu-doctor-profile h2{margin:10px 0 6px!important;font-size:34px!important;line-height:1.1!important}
.eu-doctor-profile__meta{margin:0 0 20px!important;color:var(--muted,#5d7083)!important;font-size:14px!important;font-weight:600!important}
.eu-doctor-profile__actions{display:flex;flex-wrap:wrap;gap:9px;margin:0 0 26px}
.eu-doctor-profile__sections section{margin-top:28px;padding-top:24px;border-top:1px solid var(--line,#e3ecf3)}
.eu-doctor-profile__sections h3{font-size:20px;margin:0 0 10px;color:var(--ink,#0b1f33)}
.eu-doctor-profile .doctor-prose{font-size:15px;line-height:1.75;color:var(--text,#3f5265)}
.eu-doctor-profile .doctor-tags.large{display:flex;flex-wrap:wrap;gap:8px}
.eu-doctor-profile .doctor-tags.large span{display:inline-flex;padding:7px 12px;border-radius:999px;background:var(--sky-50,#f2f8fd);color:var(--brand,#0d5eaf);font-size:12px;font-weight:700}
.eu-doctor-profile .language-list{display:flex;flex-wrap:wrap;gap:8px}
.eu-doctor-profile .language-list span{display:inline-flex;align-items:center;gap:6px;padding:7px 12px;border-radius:999px;background:#fff;border:1px solid var(--line,#e3ecf3);font-size:12px;font-weight:600;color:var(--text,#3f5265)}

/* Doctor clinic filter */
.eu-doc-filter{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}
.eu-doc-filter button{border:1px solid var(--line,#e3ecf3);background:#fff;color:var(--ink,#0b1f33);border-radius:999px;padding:9px 15px;font-size:12.5px;font-weight:700;line-height:1;cursor:pointer;transition:background .2s,color .2s,border-color .2s}
.eu-doc-filter button:hover{border-color:var(--brand,#0d5eaf);color:var(--brand,#0d5eaf)}
.eu-doc-filter button.is-active{background:var(--brand,#0d5eaf);border-color:var(--brand,#0d5eaf);color:#fff;box-shadow:0 12px 26px -14px rgba(13,94,175,.65)}
a.eu-doc{display:block;color:inherit;text-decoration:none}

/* Mobile / tablet */
html,body{overflow-x:hidden}
img,video{max-width:100%}
@media(max-width:1080px){
  .eu-art--toc{grid-template-columns:1fr!important;gap:22px!important}
  .eu-side{position:static!important;max-height:none!important;overflow:visible!important}
  .eu-doctor-profile{grid-template-columns:1fr;gap:24px}
  .eu-doctor-profile__media{position:static;max-width:340px;margin:0 auto;width:100%}
}
@media(max-width:820px){
  .eu-lead-card{grid-template-columns:1fr!important}
  .eu-doc-filter{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px;-webkit-overflow-scrolling:touch}
  .eu-doc-filter button{flex:none}
  .eu-faq h2{font-size:22px!important}
  .eu-why{padding:20px}
}
@media(max-width:640px){
  .ckb{left:12px!important;right:12px!important;bottom:12px!important;padding:16px!important;border-radius:18px!important}
  .ckb__act{display:grid!important;grid-template-columns:1fr!important;gap:8px!important}
  .ckb__act .btn{width:100%}
  .eu-doctor-profile h2{font-size:27px!important}
  .eu-doctor-profile__media{max-width:280px}
  .eu-lead-card{padding:18px!important}
  .eu-lead-card h3{font-size:22px!important}
}

/* Treatment/blog TOC on tablet & mobile: TOC first, scrollable links */
@media(max-width:1080px){
  .eu-side{order:-1}
  .eu-toc__nav{max-height:280px;overflow:auto;scrollbar-width:thin}
  .eu-author{max-width:520px;margin:0 auto;width:100%}
}

/* Sticky TOC fix: overflow-x:clip keeps position:sticky working */
html,body{overflow-x:clip!important}
@media(max-width:900px){html,body{overflow-x:hidden!important}}

/* 901-1100px: keep the two-column TOC sticky instead of stacking it */
@media(min-width:901px) and (max-width:1100px){
  .eu-art--toc{grid-template-columns:minmax(0,1fr) 280px!important;gap:28px!important}
  .eu-side{position:sticky!important;top:100px!important;order:0!important;max-height:calc(100vh - 120px)!important;overflow:auto!important}
}

/* Buttons inside prose/why sections: text must be white on brand background */
.eu-art .prose .btn,.eu-why .btn,.eu-lead-card__form .btn{color:#fff!important}
.eu-art .prose .btn .ic,.eu-why .btn .ic,.eu-lead-card__form .btn .ic{color:currentColor!important}
.eu-art .prose .btn--line{color:var(--ink,#0b1f33)!important}

/* Doctor detail: remove outer grid, widen the portrait */
.eu-doctor-single{display:block;min-width:0}
.eu-doctor-single .eu-doctor-profile{width:100%}
.eu-doctor-profile{grid-template-columns:380px minmax(0,1fr)}
@media(max-width:1080px){.eu-doctor-profile__media{max-width:360px}}

/* Doctor filters: clinic + specialty groups */
.eu-doc-filter{display:grid!important;gap:10px!important;overflow:visible!important}
.eu-doc-filter__group{display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.eu-doc-filter__label{font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--muted,#5d7083);min-width:76px}
@media(max-width:820px){
  .eu-doc-filter{display:grid!important;gap:8px!important}
  .eu-doc-filter__group{flex-wrap:nowrap!important;overflow-x:auto;padding-bottom:4px;-webkit-overflow-scrolling:touch}
  .eu-doc-filter__label{position:sticky;left:0;background:#fff;z-index:1;flex:none}
  .eu-doc-filter__group button{flex:none}
}

/* Filter active state + result count */
.eu-doc-filter button.is-active,.eu-doc-filter button.is-active:hover{background:var(--brand,#0d5eaf)!important;border-color:var(--brand,#0d5eaf)!important;color:#fff!important}
.eu-doc-count{font-size:12px;font-weight:700;color:var(--muted,#5d7083);margin-top:2px}

/* Compact header mega menu: fixed under the header bar, never above it */
@media(min-width:1025px){
  html.hdr-burger .mega{position:fixed!important;top:calc(var(--bar-h) + 64px)!important;left:40px!important;right:auto!important;width:min(1000px,calc(100vw - 80px))!important;max-width:1000px!important;z-index:90!important}
  html.hdr-burger .mega--corp{width:min(760px,calc(100vw - 80px))!important;max-width:760px!important}
}

/* Active filter must paint instantly (no 0.2s white flash) */
.eu-doc-filter button.is-active{transition:none!important}

/* Mobile: contact grid, forms, filters, language switcher */
@media(max-width:820px){
  .pc__grid--page{grid-template-columns:1fr!important}
  .pc__grid--page>*{min-width:0}
  .eu-doc-filter__group{display:none!important}
  .eu-doc-filter__mobile{display:grid!important;grid-template-columns:1fr 1fr;gap:8px}
  .eu-doc-filter__mobile-field{display:grid;gap:4px;min-width:0}
  .eu-doc-filter__mobile-field span{font-size:10px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;color:var(--muted,#5d7083)}
  .eu-doc-filter__mobile select{width:100%;border:1px solid var(--line,#e3ecf3);background:#fff;border-radius:11px;padding:11px 12px;font-size:13px;font-weight:700;color:var(--ink,#0b1f33);min-height:44px}
}
.eu-doc-filter__mobile{display:none}
@media(max-width:640px){.form__row{grid-template-columns:1fr!important}}
@media(max-width:420px){.eu-doc-filter__mobile{grid-template-columns:1fr}}
@media(max-width:1024px){
  .header__actions .langsw{display:block!important}
  .header__actions .langsw summary{height:38px;padding:0 10px;font-size:.75rem;gap:6px}
  .header__actions .langsw__menu{right:-4px;width:min(290px,calc(100vw - 28px))}
}

/* Buttons inside any prose block (contact page WhatsApp, etc.) */
.prose .btn{color:#fff!important}
.prose .btn .ic{color:currentColor!important}
.prose .btn--line{color:var(--ink,#0b1f33)!important}

/* HTML hidden attribute her zaman görünürlüğü kapatsın (filtre kartları a.da display:block'u ezsin) */
[hidden]{display:none!important}

/* Dental tourism gallery */
.eu-travel-gallery{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin:28px 0}
.eu-travel-gallery figure{position:relative;margin:0;border-radius:18px;overflow:hidden;background:#0b1f33}
.eu-travel-gallery img{display:block!important;width:100%!important;height:235px!important;object-fit:cover;margin:0!important;border-radius:0!important;transition:transform .6s var(--ease,ease)}
.eu-travel-gallery figure:hover img{transform:scale(1.06)}
.eu-travel-gallery figcaption{position:absolute;left:0;right:0;bottom:0;padding:34px 14px 12px;color:#fff;font-size:12px;font-weight:700;background:linear-gradient(180deg,transparent,rgba(0,0,0,.72))}
@media(max-width:900px){.eu-travel-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.eu-travel-gallery img{height:200px!important}}
@media(max-width:520px){.eu-travel-gallery{grid-template-columns:1fr}.eu-travel-gallery img{height:210px!important}}

/* Author box at the top of blog/treatment articles */
.eu-author--top{display:grid!important;grid-template-columns:96px minmax(0,1fr) auto;grid-template-rows:auto auto auto auto;column-gap:16px;row-gap:2px;align-items:center;text-align:left!important;padding:16px 18px!important;margin:0 0 26px!important;border:1px solid var(--line,#e3ecf3)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 22px 55px -42px rgba(11,31,51,.5);overflow:visible!important}
.eu-author--top::before{display:none!important}
.eu-author--top img{grid-column:1;grid-row:1 / span 4;width:96px!important;height:96px!important;margin:0!important;border-radius:14px;background:linear-gradient(160deg,#eaf5fc,#cfe7f7);object-fit:contain;justify-self:center}
.eu-author--top .eu-author__label{grid-column:2;grid-row:1;position:static!important;font-size:9px!important}
.eu-author--top b{grid-column:2;grid-row:2;font-size:16px!important}
.eu-author--top small{grid-column:2;grid-row:3;font-size:11px!important;margin-top:0!important}
.eu-author--top p{grid-column:2;grid-row:4;margin:3px 0 0!important;font-size:12.5px!important;line-height:1.5!important;color:var(--muted,#5d7083)!important}
.eu-author--top a{grid-column:3;grid-row:1 / span 4;align-self:center;display:inline-flex;align-items:center;justify-content:center;background:var(--brand,#0d5eaf);color:#fff!important;border-radius:999px;padding:10px 16px;font-size:12px;font-weight:700;text-decoration:none;white-space:nowrap}
@media(max-width:640px){
  .eu-author--top{grid-template-columns:72px minmax(0,1fr);padding:14px!important}
  .eu-author--top img{width:72px!important;height:72px!important}
  .eu-author--top a{grid-column:1 / -1;grid-row:5;width:100%;margin-top:10px}
}

/* Online consultation canvas (right-side drawer) */
.bookcanvas{position:fixed;inset:0;z-index:140;visibility:hidden;pointer-events:none}
.bookcanvas.is-open{visibility:visible;pointer-events:auto}
.bookcanvas__scrim{position:absolute;inset:0;background:rgba(5,13,24,.58);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);opacity:0;transition:opacity .3s}
.bookcanvas.is-open .bookcanvas__scrim{opacity:1}
.bookcanvas__panel{position:absolute;top:0;right:0;height:100%;width:min(460px,100vw);background:#fff;display:flex;flex-direction:column;overflow-y:auto;transform:translateX(100%);transition:transform .38s cubic-bezier(.22,1,.36,1);box-shadow:-30px 0 80px -30px rgba(0,0,0,.42)}
.bookcanvas.is-open .bookcanvas__panel{transform:none}
.bookcanvas__head{position:sticky;top:0;z-index:2;display:flex;align-items:flex-start;justify-content:space-between;gap:12px;padding:22px 22px 16px;border-bottom:1px solid var(--line,#e3ecf3);background:#fff}
.bookcanvas__kicker{font-size:10px;font-weight:800;letter-spacing:.16em;text-transform:uppercase;color:var(--brand,#0d5eaf)}
.bookcanvas__head h2{margin:4px 0 0;font-size:26px;line-height:1.1;color:var(--ink,#0b1f33)}
.bookcanvas__body{padding:18px 22px 30px}
.bookcanvas__lead{color:var(--muted,#5d7083);font-size:14px;line-height:1.6;margin:0 0 16px}
.bookcanvas .field{display:grid;gap:6px;margin-bottom:12px}
.bookcanvas .field label{font-size:12px;font-weight:700;color:var(--ink,#0b1f33)}
.bookcanvas .field input,.bookcanvas .field select,.bookcanvas .field textarea{width:100%;border:1px solid var(--line,#e3ecf3);background:#f7fafc;border-radius:11px;padding:11px 12px;font-size:14px;color:var(--ink,#0b1f33);min-height:44px}
.bookcanvas .field textarea{min-height:92px;resize:vertical}
.bookcanvas__note{font-size:11px;color:var(--muted,#5d7083);text-align:center;margin:10px 0 0;line-height:1.5}
.bookcanvas__contact{margin-top:20px;padding-top:16px;border-top:1px solid var(--line,#e3ecf3);display:flex;flex-wrap:wrap;gap:10px;font-size:12px;color:var(--muted,#5d7083)}
.bookcanvas__contact a{display:inline-flex;align-items:center;gap:5px;color:var(--brand,#0d5eaf);font-weight:700;text-decoration:none}
body.book-open{overflow:hidden}
@media(max-width:640px){.bookcanvas__head{padding:18px 16px 14px}.bookcanvas__body{padding:14px 16px 24px}.bookcanvas__head h2{font-size:23px}}

/* Topbar: grow/wrap up to 1380px so facts + action links never clip */
@media(max-width:1380px){
  .topbar{height:auto!important}
  .topbar__in{height:auto!important;min-height:0!important;overflow:visible!important;flex-wrap:wrap!important;padding:5px 0!important;gap:4px 1.2rem!important}
  .topbar__links{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;gap:6px 12px!important}
}

/* Mega menu right-side blue feature cards: visible on desktop */
@media(min-width:1025px){
  .mega__feature,html.hdr-burger .mega__feature{display:flex!important}
}

/* Dental tourism: inline clinic & patient figures */
.prose .eu-shot{display:block!important;float:none!important;width:min(100%,620px)!important;margin:28px 0 28px auto!important;padding:0!important;border-radius:20px;overflow:hidden;background:#0b1f33;box-shadow:0 28px 70px -46px rgba(11,31,51,.6)}
.prose .eu-shot--left{margin:28px auto 28px 0!important}
.prose .eu-shot img{display:block!important;width:100%!important;height:auto!important;margin:0!important;border-radius:0!important}
.prose .eu-shot figcaption{display:block!important;padding:11px 15px 12px!important;margin:0!important;background:#0b1f33;color:#fff!important;font-size:11.5px!important;font-weight:700;letter-spacing:.02em;line-height:1.35!important}
.eu-clear{clear:both;height:0;overflow:hidden}
@media(max-width:760px){.prose .eu-shot,.prose .eu-shot--left{width:100%!important;margin:18px 0!important}}
.eu-travel-gallery--four{grid-template-columns:repeat(2,minmax(0,1fr))!important}

/* Dental tourism: 3x2 Istanbul + 4x3 clinic image grids */
.eu-grid{display:grid;gap:12px;margin:34px 0}
.eu-grid figure{margin:0!important;background:#fff;border:1px solid var(--line,#e3ecf3);border-radius:14px;overflow:hidden;box-shadow:0 18px 44px -36px rgba(11,31,51,.5)}
.eu-grid img{display:block!important;width:100%!important;height:auto!important;object-fit:cover;margin:0!important;border-radius:0!important}
.eu-grid figcaption{display:block!important;padding:8px 10px 9px!important;margin:0!important;font-size:10.5px!important;font-weight:700;line-height:1.3!important;color:var(--ink,#0b1f33);background:#fff}
.eu-istanbul-grid{grid-template-columns:repeat(3,minmax(0,1fr))}
.eu-istanbul-grid img{aspect-ratio:4/3}
.eu-clinic-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
.eu-clinic-grid img{aspect-ratio:1/1}
.eu-patient-row{grid-template-columns:repeat(2,minmax(0,1fr))}
.eu-patient-row img{aspect-ratio:4/3}
@media(max-width:900px){.eu-clinic-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){
  .eu-istanbul-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .eu-clinic-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .eu-patient-row{grid-template-columns:1fr}
  .eu-grid{gap:10px;margin:24px 0}
}

/* Consultation form: X-ray + intraoral photo uploads */
.uploadset{border:1px solid var(--line,#e3ecf3);border-radius:16px;padding:13px 14px 12px;margin:14px 0 4px;background:#fbfdff}
.uploadset legend{padding:0 6px;font-size:10px;font-weight:800;letter-spacing:.14em;text-transform:uppercase;color:var(--muted,#5d7083)}
.uploadset legend span{font-weight:600;letter-spacing:0;text-transform:none;color:#8aa0b3}
.uploadgrid{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.uploadbox{position:relative;display:flex;flex-direction:column;gap:3px;border:1.5px dashed #cfe0ee;background:#f7fafc;border-radius:14px;padding:13px 12px 12px;cursor:pointer;transition:border-color .2s,background .2s;min-height:116px}
.uploadbox:hover{border-color:var(--brand,#0d5eaf);background:#f0f8ff}
.uploadbox input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.uploadbox__ic{display:inline-flex;color:var(--brand,#0d5eaf);margin-bottom:2px}
.uploadbox b{font-size:12.5px;line-height:1.25;color:var(--ink,#0b1f33)}
.uploadbox small{font-size:10.5px;line-height:1.4;color:var(--muted,#5d7083)}
.uploadbox__files{font-size:10.5px;font-weight:800;line-height:1.4;color:var(--brand,#0d5eaf);margin-top:2px;word-break:break-word}
.uploadbox.has-files{border-style:solid;border-color:var(--brand,#0d5eaf);background:#eef7ff}
.uploadhint{margin:8px 0 0;font-size:10.5px;line-height:1.5;color:var(--muted,#5d7083)}
@media(max-width:520px){.uploadgrid{grid-template-columns:1fr}}

/* Upload alanlarını forma uyumlu ve daha kompakt hale getir */
.uploadset{border:0!important;padding:0!important;margin:12px 0 2px!important;background:transparent!important;min-width:0}
.uploadset legend{display:block!important;float:none!important;width:100%!important;padding:0!important;margin:0 0 7px!important;font-size:9.5px!important;font-weight:800!important;letter-spacing:.14em!important;text-transform:uppercase!important;color:var(--muted,#5d7083)!important}
.uploadset legend span{font-weight:600!important;letter-spacing:0!important;text-transform:none!important;color:#8aa0b3!important}
.uploadgrid{gap:8px!important}
.uploadbox{min-height:92px!important;padding:10px 11px 9px!important;gap:2px!important;border-radius:12px!important}
.uploadbox b{font-size:11.5px!important}
.uploadbox small{font-size:9.5px!important;line-height:1.35!important}
.uploadbox__files{font-size:9.5px!important;line-height:1.35!important}
.uploadhint{font-size:9.5px!important;line-height:1.45!important;margin-top:6px!important}
.bookcanvas .field textarea{min-height:84px!important}

/* Ana sayfa hero kartı koyu cam zemin: upload alanları da koyu tema */
.bookcard .uploadset legend{color:rgba(255,255,255,.62)!important}
.bookcard .uploadset legend span{color:rgba(255,255,255,.35)!important}
.bookcard .uploadbox{background:rgba(255,255,255,.055)!important;border-color:rgba(255,255,255,.18)!important}
.bookcard .uploadbox:hover{background:rgba(255,255,255,.1)!important;border-color:#7cc4f5!important}
.bookcard .uploadbox b{color:#fff!important}
.bookcard .uploadbox small{color:rgba(255,255,255,.55)!important}
.bookcard .uploadbox__ic{color:#7cc4f5!important}
.bookcard .uploadbox__files{color:#9bd5ff!important}
.bookcard .uploadhint{color:rgba(255,255,255,.5)!important}
.bookcard textarea{min-height:84px!important;height:84px!important;flex:none!important}

/* ================= LIGHT / DARK THEME ================= */
.theme-toggle{display:inline-grid;place-items:center;flex:none;width:40px;height:40px;border-radius:999px;border:1px solid var(--line);background:var(--surface);color:var(--ink);cursor:pointer;transition:background .2s,border-color .2s,color .2s}
.theme-toggle:hover{background:var(--sky-50);border-color:var(--brand);color:var(--brand)}
.theme-toggle .ic{width:18px;height:18px}
.theme-toggle__sun{display:none}
html[data-theme="dark"] .theme-toggle__sun{display:block}
html[data-theme="dark"] .theme-toggle__moon{display:none}
html[data-theme="light"] .theme-toggle__sun{display:none}
html[data-theme="light"] .theme-toggle__moon{display:block}
html[data-theme="dark"]{color-scheme:dark;--bg:#07131f;--surface:#0c1c2b;--surface-2:#102538;--ink:#eaf3fb;--text:#c4d3e0;--muted:#93a8bb;--line:#1d3346;--line-2:#2a445a;--sky-50:#0f2334;--sky-100:#14314a;--sky-200:#1c4564;--brand:#4db3e6;--brand-600:#3fa9e0;--brand-700:#8fd3f7;--shadow:0 24px 60px -28px rgba(0,0,0,.75);--shadow-sm:0 10px 30px -18px rgba(0,0,0,.6)}
html[data-theme="dark"] body{background:var(--bg);color:var(--text)}
html[data-theme="dark"] .header__bar{border-color:rgba(255,255,255,.1)}
html[data-theme="dark"] .header__bar::before{background:rgba(9,24,38,.94)}
html[data-theme="dark"] .sec--panel{background:var(--surface)!important}
html[data-theme="dark"] .founders,
html[data-theme="dark"] .pillar,
html[data-theme="dark"] .founders-inline,
html[data-theme="dark"] .clc,
html[data-theme="dark"] .pc,
html[data-theme="dark"] .clinic,
html[data-theme="dark"] .eu-grid figure,
html[data-theme="dark"] .eu-grid figcaption,
html[data-theme="dark"] .eu-author,
html[data-theme="dark"] .eu-author--top,
html[data-theme="dark"] .eu-toc__card,
html[data-theme="dark"] .eu-lead-card__form,
html[data-theme="dark"] .contact__form,
html[data-theme="dark"] .cnav__in,
html[data-theme="dark"] .ix-form,
html[data-theme="dark"] .cbook__form,
html[data-theme="dark"] .ik__form,
html[data-theme="dark"] .contact--x .contact__form,
html[data-theme="dark"] .appt .form--wide,
html[data-theme="dark"] .bookcanvas__panel,
html[data-theme="dark"] .bookcanvas__head,
html[data-theme="dark"] .ckb,
html[data-theme="dark"] .ckd,
html[data-theme="dark"] .legal__nav{background:var(--surface)!important;color:var(--ink)}
html[data-theme="dark"] .eu-author::before{background:linear-gradient(120deg,rgba(77,179,230,.12),rgba(63,169,224,.08))}
html[data-theme="dark"] .eu-author--top img{background:linear-gradient(160deg,#102538,#0a1a29)}
html[data-theme="dark"] .eu-doctor-profile__media{background:linear-gradient(180deg,#102538,#0a1a29)!important;border-color:var(--line)}
html[data-theme="dark"] .eu-doctor-profile .language-list span,
html[data-theme="dark"] .eu-doc-filter button,
html[data-theme="dark"] .eu-doc-filter__mobile select{background:var(--surface-2)!important;color:var(--ink)!important;border-color:var(--line)}
html[data-theme="dark"] .eu-doc-filter button:hover{border-color:var(--brand);color:var(--brand-700)}
html[data-theme="dark"] .eu-doc-filter button.is-active{background:var(--brand)!important;color:#fff!important;border-color:var(--brand)}
html[data-theme="dark"] .eu-doc-filter__label{background:var(--bg)!important}
html[data-theme="dark"] .field input:focus,
html[data-theme="dark"] .field select:focus,
html[data-theme="dark"] .field textarea:focus,
html[data-theme="dark"] .bookcanvas .field input:focus,
html[data-theme="dark"] .bookcanvas .field select:focus,
html[data-theme="dark"] .bookcanvas .field textarea:focus,
html[data-theme="dark"] .eu-lead-card__form .field input:focus,
html[data-theme="dark"] .eu-lead-card__form .field textarea:focus{background:var(--surface-2)!important;color:var(--ink)!important}
html[data-theme="dark"] .field input[type=file],
html[data-theme="dark"] .searchform input,
html[data-theme="dark"] .bookcanvas .field input,
html[data-theme="dark"] .bookcanvas .field select,
html[data-theme="dark"] .bookcanvas .field textarea,
html[data-theme="dark"] .eu-lead-card__form .field input,
html[data-theme="dark"] .eu-lead-card__form .field textarea{background:var(--sky-50)!important;color:var(--ink)!important;border-color:var(--line-2)}
html[data-theme="dark"] .field select{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2393a8bb' stroke-width='2'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E")}
html[data-theme="dark"] .prose--rich blockquote{background:linear-gradient(135deg,var(--sky-50),var(--surface))!important;border-color:var(--line)}
html[data-theme="dark"] .pc__cat{background:rgba(12,28,43,.92);color:var(--brand-700)}
html[data-theme="dark"] .eu-grid figcaption{color:var(--ink)!important}
html[data-theme="dark"] .eu-faq__item h3,
html[data-theme="dark"] .eu-author--top b,
html[data-theme="dark"] .eu-author b,
html[data-theme="dark"] .eu-toc__link,
html[data-theme="dark"] .pc__t,
html[data-theme="dark"] .clc__title{color:var(--ink)!important}
html[data-theme="dark"] .eu-faq__item p,
html[data-theme="dark"] .eu-author p,
html[data-theme="dark"] .eu-author small,
html[data-theme="dark"] .eu-author--top p,
html[data-theme="dark"] .eu-author--top small{color:var(--muted)!important}
html[data-theme="dark"] .ckb__ic{background:var(--sky-50)!important}
html[data-theme="dark"] .ckd__cat{border-color:var(--line)!important}
html[data-theme="dark"] .bookcanvas__panel{box-shadow:-30px 0 80px -30px rgba(0,0,0,.8)}
html[data-theme="dark"] .bookcard textarea{background:rgba(255,255,255,.08)!important;color:#fff!important;border-color:rgba(255,255,255,.18)!important}
@media(max-width:640px){.theme-toggle{width:36px;height:36px}.theme-toggle .ic{width:16px;height:16px}}

/* Dark mode: header glass + doctor cards + upload boxes */
html[data-theme="dark"] .edc-glass{background:rgba(9,24,38,.55)!important;border-color:rgba(255,255,255,.12)!important;box-shadow:0 16px 44px -30px rgba(0,0,0,.75),inset 0 1px 0 rgba(255,255,255,.06)!important}
html[data-theme="dark"] .header.is-scrolled .edc-glass{background:rgba(9,24,38,.74)!important;box-shadow:0 24px 60px -32px rgba(0,0,0,.8),inset 0 1px 0 rgba(255,255,255,.06)!important}
html[data-theme="dark"] .header__bar:hover .edc-glass{background:rgba(9,24,38,.8)!important}
html[data-theme="dark"] .edc-glass__shine{opacity:.1!important}
html[data-theme="dark"] .eu-doc{background:var(--surface)!important;border-color:var(--line)!important;box-shadow:0 20px 46px -40px rgba(0,0,0,.8)}
html[data-theme="dark"] .eu-doc__photo{background:linear-gradient(180deg,#102538,#0a1a29)!important}
html[data-theme="dark"] .eu-doc__body{background:var(--surface)!important;border-color:var(--line)!important}
html[data-theme="dark"] .eu-doc__body b{color:var(--ink)!important}
html[data-theme="dark"] .eu-doc__body small{color:var(--muted)!important}
html[data-theme="dark"] .bookcanvas .uploadbox,
html[data-theme="dark"] .contact__form .uploadbox{background:var(--surface-2)!important;border-color:var(--line-2)!important}
html[data-theme="dark"] .bookcanvas .uploadbox b,
html[data-theme="dark"] .contact__form .uploadbox b{color:var(--ink)!important}
html[data-theme="dark"] .bookcanvas .uploadbox small,
html[data-theme="dark"] .contact__form .uploadbox small,
html[data-theme="dark"] .bookcanvas .uploadhint,
html[data-theme="dark"] .contact__form .uploadhint{color:var(--muted)!important}
html[data-theme="dark"] .bookcanvas .uploadbox__ic,
html[data-theme="dark"] .contact__form .uploadbox__ic,
html[data-theme="dark"] .bookcanvas .uploadbox__files,
html[data-theme="dark"] .contact__form .uploadbox__files{color:var(--brand-700)!important}
html[data-theme="dark"] .brand img{content:url("/assets/img/uploads/2021/12/euroLogoWhite2.png")}

/* Dark mode: about section (light gradient was washing out text) */
html[data-theme="dark"] .about{
  background:
    radial-gradient(70% 55% at 88% 18%, rgba(77,179,230,.12), transparent 70%),
    radial-gradient(55% 45% at 4% 92%, rgba(13,94,175,.16), transparent 70%),
    linear-gradient(180deg,var(--surface) 0%,var(--bg) 100%)!important;
}
html[data-theme="dark"] .about .avid__frame img{background:linear-gradient(160deg,#102538,#0a1a29)!important}
html[data-theme="dark"] .about .avid__badge{background:rgba(12,28,43,.94)!important;border:1px solid rgba(255,255,255,.1);box-shadow:0 24px 50px -24px rgba(0,0,0,.8)}
html[data-theme="dark"] .about .avid__badge span{color:var(--ink)!important}

/* Dark mode: language switcher */
html[data-theme="dark"] .langsw summary{background:var(--surface-2);border-color:var(--line);color:var(--ink)}
html[data-theme="dark"] .langsw summary:hover,
html[data-theme="dark"] .langsw[open] summary{border-color:var(--brand)}
html[data-theme="dark"] .langsw__menu{background:var(--surface);border-color:var(--line);box-shadow:0 30px 60px -28px rgba(0,0,0,.8),0 4px 14px -6px rgba(0,0,0,.5)}
html[data-theme="dark"] .langsw__menu a{color:var(--ink)}
html[data-theme="dark"] .langsw__menu a:hover{background:linear-gradient(90deg,var(--sky-50),rgba(15,35,52,.4))}
html[data-theme="dark"] .langsw__menu a small{color:var(--muted)}
html[data-theme="dark"] .langsw__txt b{color:var(--ink)}
html[data-theme="dark"] .langsw__menu a[aria-current]{background:var(--sky-50)}
html[data-theme="dark"] .langsw__menu a[aria-current] .langsw__flag{box-shadow:0 0 0 2px var(--surface),0 0 0 4px var(--brand)}
html[data-theme="dark"] .langsw__check{background:#0d5eaf;color:#fff}

/* Dark mode: accent buttons need a darker fill for white text */
html[data-theme="dark"] .btn--accent{background:linear-gradient(135deg,#1670a0,#0d5eaf);color:#fff;box-shadow:0 12px 26px -14px rgba(0,0,0,.7)}
html[data-theme="dark"] .btn--accent:hover{background:linear-gradient(135deg,#1a7fb5,#0a4e93);filter:none}
html[data-theme="dark"] .eu-author a{background:linear-gradient(135deg,#1670a0,#0d5eaf)}
html[data-theme="dark"] .eu-doc-filter button.is-active{background:#0d5eaf!important;border-color:#0d5eaf!important}
html[data-theme="dark"] .eu-chip__ic:hover{background:#0d5eaf;color:#fff}

/* Dark mode: light CTA buttons keep readable text */
html[data-theme="dark"] .btn--light{background:var(--surface-2);color:var(--brand-700)}
html[data-theme="dark"] .btn--light:hover{background:var(--sky-100);color:var(--brand-700)}

/* Dark mode: brand pills and helpdesk (white text needs a darker fill) */
html[data-theme="dark"] .helpdesk{background:linear-gradient(135deg,#3fa9e0,#0d5eaf)}
html[data-theme="dark"] .helpdesk:hover{background:linear-gradient(135deg,#4db3e6,#0a4e93)}
html[data-theme="dark"] .helpdesk__icon::after{border-color:#0d5eaf}
html[data-theme="dark"] .eu-doc__tag,
html[data-theme="dark"] .ba__tag--after{background:#0d5eaf;color:#fff}

/* Dark mode: upload boxes anywhere (contact form, lead forms, booking canvas) */
html[data-theme="dark"] .uploadbox{background:var(--surface-2)!important;border-color:var(--line-2)!important}
html[data-theme="dark"] .uploadbox:hover{background:var(--sky-100)!important;border-color:var(--brand)!important}
html[data-theme="dark"] .uploadbox.has-files{background:var(--sky-100)!important;border-color:var(--brand)!important}
html[data-theme="dark"] .uploadbox b{color:var(--ink)!important}
html[data-theme="dark"] .uploadbox small{color:var(--muted)!important}
html[data-theme="dark"] .uploadbox__ic,
html[data-theme="dark"] .uploadbox__files{color:var(--brand-700)!important}
html[data-theme="dark"] .bookcard .uploadbox{background:rgba(255,255,255,.055)!important;border-color:rgba(255,255,255,.18)!important}
html[data-theme="dark"] .bookcard .uploadbox:hover{background:rgba(255,255,255,.1)!important;border-color:#7cc4f5!important}
html[data-theme="dark"] .bookcard .uploadbox b{color:#fff!important}
html[data-theme="dark"] .bookcard .uploadbox small{color:rgba(255,255,255,.55)!important}
html[data-theme="dark"] .bookcard .uploadbox__ic{color:#7cc4f5!important}
html[data-theme="dark"] .bookcard .uploadbox__files{color:#9bd5ff!important}

/* Dark mode: treatment "why" block, clinic rating/book cards, WhatsApp greet */
html[data-theme="dark"] .eu-why{background:linear-gradient(135deg,var(--sky-50),var(--surface));border-color:var(--line)}
html[data-theme="dark"] .eu-why li{color:var(--text)}
html[data-theme="dark"] .eu-rating{background:linear-gradient(120deg,var(--surface),var(--sky-50));border-color:var(--line);box-shadow:0 16px 34px -30px rgba(0,0,0,.7)}
html[data-theme="dark"] .eu-rating b{color:var(--ink)}
html[data-theme="dark"] .eu-rating small{color:var(--muted)}
html[data-theme="dark"] .eu-bookcard{background:linear-gradient(180deg,var(--surface),var(--surface-2));border-color:var(--line)}
html[data-theme="dark"] .eu-bookcard>b{color:var(--ink)}
html[data-theme="dark"] .eu-bookcard>p{color:var(--muted)}
html[data-theme="dark"] .wa__greet{background:var(--surface);border-color:var(--line);box-shadow:0 30px 70px -24px rgba(0,0,0,.8)}
html[data-theme="dark"] .wa__greet-head b{color:var(--ink)}
html[data-theme="dark"] .wa__greet-head small{color:var(--muted)}
html[data-theme="dark"] .wa__msg{background:var(--sky-50);color:var(--text)}
html[data-theme="dark"] .wa__quick a{color:var(--ink);border-color:var(--line-2)}
html[data-theme="dark"] .wa__quick a:hover{background:var(--sky-50);color:var(--brand-700);border-color:#25d366}
html[data-theme="dark"] .wa__ava i{border-color:var(--surface)}

/* Apple-style header: keep the horizontal grow effect, no extra border/ring */
.header__bar::before{background:transparent!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important}
@media(hover:hover) and (min-width:1025px){
  .header__bar:hover .edc-glass{
    inset:-4px -28px!important;
    border-radius:25px!important;
    border-color:transparent!important;
    background:rgba(255,255,255,.8)!important;
    box-shadow:inset 0 1px 0 rgba(255,255,255,.95)!important;
  }
}
.edc-ring{display:none!important}

/* Inner page hero background (WebP, lightweight) */
.ph{
  background-image:url('/assets/img/hero/page-hero-bg.webp');
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
@media(max-width:768px){
  .ph{background-image:url('/assets/img/hero/page-hero-bg-mobile.webp')}
}

/* Full-width team photo above footer marquee */
body.is-home main > section.sec:last-of-type{padding-bottom:0!important}
.footer-team-photo{display:block;width:100%;margin:0;padding:0;line-height:0}
.footer-team-photo picture{display:block}
.footer-team-photo img{display:block;width:100%;height:auto;margin:0;padding:0}

/* Homepage clinic network (below hero) */
.edc-network{padding-block:clamp(3.5rem,7vw,6rem)}
.edc-network__grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.02fr);gap:clamp(2rem,4vw,4rem);align-items:center}
.edc-network__copy{min-width:0}
.edc-network__pill{display:inline-flex;align-items:center;gap:.5rem;padding:.5rem 1rem;border:1px solid color-mix(in srgb,var(--brand) 45%,transparent);border-radius:999px;background:color-mix(in srgb,var(--brand) 7%,transparent);color:var(--brand);font-size:.78rem;font-weight:800;letter-spacing:.02em}
.edc-network__pill .ic{width:14px;height:14px}
.edc-network__title{font-size:clamp(2.4rem,4.4vw,4.2rem);line-height:1.02;letter-spacing:-.045em;margin:1rem 0 1rem;color:var(--ink)}
.edc-network__title em{font-style:normal;color:var(--brand)}
.edc-network__lead{font-size:clamp(1rem,1.2vw,1.12rem);line-height:1.6;color:var(--muted);max-width:46ch;margin:0 0 1.5rem}
.edc-network__stats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.65rem}
.edc-network__stats>div{padding:1rem 1.1rem;border:1px solid var(--line);border-radius:16px;background:var(--surface);box-shadow:var(--shadow-sm)}
.edc-network__stats strong{display:block;font-size:clamp(1.8rem,2.6vw,2.6rem);line-height:1;letter-spacing:-.04em;color:var(--brand);font-weight:800}
.edc-network__stats span{display:block;margin-top:.3rem;font-size:.8rem;font-weight:750;color:var(--text)}
.edc-network__benefits{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;margin:1.1rem 0 0}
.edc-network__benefits>span{display:flex;align-items:center;gap:.5rem;padding:.5rem .75rem;border:1px solid color-mix(in srgb,var(--brand) 25%,var(--line));border-radius:999px;background:color-mix(in srgb,var(--brand) 4%,transparent);font-size:.78rem;font-weight:700;color:var(--text)}
.edc-network__benefits .ic{width:18px;height:18px;padding:3px;border-radius:50%;background:var(--brand);color:#fff;flex:none}
.edc-network__cta{margin-top:1.4rem}
.edc-network__gallery{position:relative;min-height:560px;border-radius:26px;overflow:hidden;background:var(--surface);border:1px solid var(--line);box-shadow:var(--shadow)}
.edc-network__track{display:flex;height:100%;min-height:560px;transition:transform .6s cubic-bezier(.22,.61,.36,1)}
.edc-network__slide{position:relative;flex:0 0 100%;min-width:0;min-height:560px;margin:0}
.edc-network__slide img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.edc-network__slide::after{content:"";position:absolute;inset:52% 0 0;background:linear-gradient(transparent,rgba(7,19,31,.92));pointer-events:none}
.edc-network__slide figcaption{position:absolute;z-index:1;left:1.4rem;right:1.4rem;bottom:3rem;color:#fff}
.edc-network__slide figcaption b{display:block;font-size:clamp(1.05rem,1.6vw,1.45rem);letter-spacing:-.01em}
.edc-network__slide figcaption span{display:block;margin-top:.2rem;font-size:.85rem;font-weight:600;opacity:.9}
.edc-network__arrow{position:absolute;z-index:2;top:50%;transform:translateY(-50%);width:38px;height:38px;border-radius:50%;border:1px solid rgba(255,255,255,.42);background:rgba(7,19,31,.45);color:#fff;display:grid;place-items:center;cursor:pointer;backdrop-filter:blur(6px)}
.edc-network__arrow .ic{width:16px;height:16px}
.edc-network__prev{left:.8rem}
.edc-network__next{right:.8rem}
.edc-network__dots{position:absolute;z-index:3;left:1rem;right:1rem;bottom:1rem;display:flex;justify-content:center;gap:6px}
.edc-network__dots button{width:8px;height:8px;border:0;border-radius:99px;background:rgba(255,255,255,.55);padding:0;cursor:pointer;transition:width .3s,background .3s}
.edc-network__dots button.is-active{width:26px;background:var(--brand)}
@media(max-width:1024px){.edc-network__grid{grid-template-columns:1fr}.edc-network__gallery,.edc-network__track,.edc-network__slide{min-height:460px}}
@media(max-width:640px){.edc-network__stats{grid-template-columns:1fr 1fr}.edc-network__benefits{grid-template-columns:1fr}.edc-network__gallery,.edc-network__track,.edc-network__slide{min-height:380px}.edc-network__slide figcaption{bottom:2.6rem;left:1rem;right:1rem}.edc-network__title{font-size:clamp(2.2rem,9vw,3rem)}}

/* Footer trust badges + parent brand */
.footer-health-badges{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin:22px 0 0;padding-top:18px;border-top:1px solid rgba(255,255,255,.13)}
.footer-health-badges img{display:block;width:auto;height:58px;max-width:112px;object-fit:contain}
.footer-parent-brand{display:flex;align-items:center;justify-content:flex-start;gap:28px;margin:22px 0 28px;padding:20px 0;border-top:1px solid rgba(255,255,255,.13);border-bottom:1px solid rgba(255,255,255,.13)}
.footer-parent-brand p{margin:0;font-size:13px;line-height:1.5;color:rgba(255,255,255,.72)}
.footer-parent-brand a{display:inline-flex;align-items:center;max-width:160px;text-decoration:none}
.footer-parent-brand img{display:block;width:150px;height:auto;max-height:48px;object-fit:contain}
@media(max-width:640px){
  .footer-health-badges{gap:9px}
  .footer-health-badges img{height:48px;max-width:88px}
  .footer-parent-brand{flex-direction:column;align-items:flex-start;gap:10px;margin-bottom:22px}
  .footer-parent-brand img{width:140px}
}

/* Cookie banner clears the fixed mobile action bar */
@media(max-width:1024px){
  .ckb{bottom:calc(76px + env(safe-area-inset-bottom,0px))!important}
}

/* Dark mode: mobile off-canvas menu */
@media(max-width:1024px){
  html[data-theme="dark"] .nav{background:rgba(9,24,38,.94)!important;border-left-color:rgba(255,255,255,.1);box-shadow:-30px 0 80px -30px rgba(0,0,0,.8)}
  html[data-theme="dark"] .nav__head,
  html[data-theme="dark"] .nav__foot{background:rgba(9,24,38,.6)}
}

/* Dark mode: fixed mobile action bar */
html[data-theme="dark"] .actionbar{background:rgba(9,24,38,.97);border-top-color:rgba(255,255,255,.1);box-shadow:0 -14px 34px -24px rgba(0,0,0,.85)}
html[data-theme="dark"] .actionbar a,
html[data-theme="dark"] .actionbar button{color:var(--ink)}
html[data-theme="dark"] .actionbar .is-accent{background:linear-gradient(135deg,#3fa9e0,#0d5eaf);color:#fff}
html[data-theme="dark"] .actionbar .is-accent .ic{color:#fff}

/* ============================================================
   AI Smile Design — homepage CTA
   ============================================================ */
.smile-cta-sec{padding-top:clamp(56px,7vw,96px);padding-bottom:clamp(20px,3vw,40px)}
.smile-cta{position:relative;display:grid;grid-template-columns:1.15fr .85fr;gap:28px;align-items:stretch;padding:44px;border-radius:28px;overflow:hidden;background:#fff;color:#0b1f33;border:1px solid #e3ecf3;box-shadow:0 30px 80px -40px rgba(7,29,51,.18)}
.smile-cta::before{content:"";position:absolute;inset:0;background-image:linear-gradient(rgba(11,31,51,.055) 1px,transparent 1px),linear-gradient(90deg,rgba(11,31,51,.055) 1px,transparent 1px);background-size:32px 32px;opacity:.55;pointer-events:none}
.smile-cta__copy{position:relative;z-index:1;align-self:center;padding:4px 0}
.smile-cta__badge{display:inline-flex;align-items:center;gap:8px;padding:8px 14px;border-radius:999px;background:#eaf4fc;border:1px solid #cfe6f5;color:#0d5eaf;font-size:11px;font-weight:800;letter-spacing:.14em;text-transform:uppercase}
.smile-cta h2{font-size:clamp(30px,4vw,52px);line-height:1.02;margin:18px 0 14px;letter-spacing:-.03em;color:#0b1f33}
.smile-cta h2 em{font-style:normal;color:#0d5eaf}
.smile-cta p{max-width:520px;color:#526477;font-size:16px;line-height:1.6}
.smile-cta__list{display:flex;flex-wrap:wrap;gap:10px 18px;list-style:none;padding:0;margin:20px 0 26px}
.smile-cta__list li{position:relative;padding-left:20px;font-size:13px;color:#3f5265}
.smile-cta__list li::before{content:"";position:absolute;left:0;top:6px;width:9px;height:9px;border-radius:50%;background:#0d5eaf;box-shadow:0 0 0 4px rgba(13,94,175,.12)}
.smile-cta .btn{display:inline-flex;align-items:center;gap:10px;background:#0d5eaf;color:#fff;border-radius:999px;padding:15px 24px;font-weight:800;text-decoration:none;transition:transform .2s,box-shadow .2s,background .2s}
.smile-cta .btn:hover{transform:translateY(-2px);background:#0a4f95;box-shadow:0 16px 34px -16px rgba(13,94,175,.65)}
.smile-cta__visual{position:relative;z-index:1;align-self:stretch;margin:-44px -44px -44px 0;min-height:0;overflow:hidden;border-radius:0 28px 28px 0;background:#f2f8fd}
.smile-cta__visual img{display:block;width:100%;height:100%;object-fit:cover;object-position:center 32%}
.smile-cta__ai{position:absolute;right:24px;bottom:24px;display:grid;place-items:center;width:74px;height:74px;border-radius:50%;background:linear-gradient(135deg,#43c6ff,#0d5eaf);color:#fff;font-weight:900;font-size:20px;letter-spacing:.06em;box-shadow:0 16px 40px -12px rgba(67,198,255,.7)}
@media(max-width:900px){
  .smile-cta{grid-template-columns:1fr;padding:30px 24px;gap:24px}
  .smile-cta__copy{padding:0}
  .smile-cta__visual{order:-1;margin:-30px -24px 0;height:230px;border-radius:28px 28px 0 0}
  .smile-cta__visual img{height:100%;object-position:center 28%}
  .smile-cta__ai{right:16px;bottom:16px;width:56px;height:56px;font-size:16px}
}
html[data-theme="dark"] .smile-cta{background:radial-gradient(120% 140% at 0% 0%,#0b4f8f 0%,#04101d 60%,#02080f 100%);color:#fff;border-color:transparent;box-shadow:0 30px 80px -40px rgba(0,0,0,.7)}
html[data-theme="dark"] .smile-cta::before{background-image:linear-gradient(rgba(255,255,255,.05) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.05) 1px,transparent 1px);opacity:.35}
html[data-theme="dark"] .smile-cta__badge{background:rgba(255,255,255,.12);border-color:rgba(255,255,255,.18);color:#fff}
html[data-theme="dark"] .smile-cta h2{color:#fff}
html[data-theme="dark"] .smile-cta h2 em{color:#7cc7ff}
html[data-theme="dark"] .smile-cta p{color:rgba(255,255,255,.78)}
html[data-theme="dark"] .smile-cta__list li{color:rgba(255,255,255,.86)}
html[data-theme="dark"] .smile-cta__list li::before{background:#43c6ff;box-shadow:0 0 0 4px rgba(67,198,255,.18)}
html[data-theme="dark"] .smile-cta .btn{background:#fff;color:#071d33}
html[data-theme="dark"] .smile-cta .btn:hover{background:#eaf4fc;box-shadow:0 16px 34px -16px rgba(0,0,0,.5)}
html[data-theme="dark"] .smile-cta__visual{background:#071d33}

/* 1CONN credit — clinic footer + AI page */
.oneconn-credit{display:flex;justify-content:center;align-items:center;gap:12px;padding:22px 20px;margin:6px auto 0;border-top:1px solid rgba(255,255,255,.14);color:rgba(255,255,255,.78)}
.oneconn-credit a{display:inline-flex;align-items:center;gap:12px;text-decoration:none;color:inherit;font:500 12px/1.45 system-ui,sans-serif}
.oneconn-credit img{display:block;width:96px;height:auto;object-fit:contain}
.oneconn-credit span span{display:block;opacity:.72}
.oneconn-credit--ai{background:#081321;color:#b8c5d8;border-top:0;margin:0;padding:28px 20px}
.oneconn-credit--ai a{color:#b8c5d8}

/* Keep footer credit above the fixed mobile action bar */
@media(max-width:1024px){.footer{padding-bottom:96px}}

/* Homepage before/after: latest 6 in a 3x2 grid */
.eu-ba-grid--home{grid-template-columns:repeat(3,minmax(0,1fr))}
@media(max-width:1000px){.eu-ba-grid--home{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:640px){.eu-ba-grid--home{grid-template-columns:1fr}}
/* All results link: readable in light mode */
.fs__all{color:#0d5eaf}
.fs__all:hover{color:#071d33}
html[data-theme="dark"] .fs__all{color:#8fd3f7}
html[data-theme="dark"] .fs__all:hover{color:#fff}

/* Homepage Dental insights: 3 columns x 2 rows, responsive */
@media(min-width:1025px){.home-insights .pc__grid--page{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}}
@media(min-width:821px) and (max-width:1024px){.home-insights .pc__grid--page{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px}}
