/* Shared treatment detail layout. Keep artwork and content in the authored order. */
body:not(.wl) #main .td-hero {
  background:linear-gradient(135deg,#f1f7fa 0%,#f9fbfc 58%,#edf5f4 100%)!important;
  padding:calc(var(--nav-h,72px) + 28px) 0 36px!important;
  color:#153849;text-align:start;border-bottom:1px solid #dce8ec;
}
body:not(.wl) #main:has(>.rd-mt-note) .td-hero {padding-top:24px!important}
body:not(.wl) #main .td-hero-grid {display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:18px 56px;align-items:start;max-width:1200px}
.td-breadcrumbs {grid-column:1/-1;display:flex;flex-wrap:wrap;gap:7px 10px;align-items:center;font-size:12px;line-height:1.6;color:#657d88;margin-bottom:10px}
.td-breadcrumbs a {text-decoration:none;color:#456574}.td-breadcrumbs [aria-current] {color:#153849}
.td-heading {grid-column:1;grid-row:2;min-width:0}
body:not(.wl) #main .td-hero .td-specialty {color:#28667a!important;font-size:11px!important;line-height:1.5;letter-spacing:.1em;text-transform:uppercase;font-weight:700;margin:0 0 10px!important}
body:not(.wl) #main .td-hero h1 {font-size:clamp(30px,3.2vw,46px)!important;line-height:1.15!important;letter-spacing:-.035em;margin:0!important;color:#153849;max-width:19ch}
.td-hero-copy {grid-column:1;grid-row:3;min-width:0}
body:not(.wl) #main .td-hero-copy>p {font-size:15px!important;line-height:1.75;margin:0 0 18px!important;color:#526b78!important;max-width:48ch}
body:not(.wl) #main .td-hero a.td-primary {display:inline-flex;align-items:center;justify-content:center;gap:14px;min-height:48px;padding:13px 22px;border-radius:11px;background:#145e7a;color:#fff!important;text-decoration:none;font-size:13px;font-weight:700;line-height:1.5;box-shadow:0 5px 14px #145e7a16;transition:background .2s}
.td-primary:hover {background:#104c63!important}.td-primary:focus-visible,.td-cost-link:focus-visible {outline:3px solid #b88739;outline-offset:4px}
.td-hero-art {grid-column:2;grid-row:2/5;align-self:center;margin:0;display:grid;place-items:center;min-width:0;position:relative}
.td-hero-art::before {content:'';position:absolute;inset:5% 0;border-radius:50%;background:radial-gradient(ellipse,#dcebee99,transparent 70%);pointer-events:none}
body:not(.wl) #main .td-hero-art img {position:relative;display:block;width:100%;height:auto;max-height:390px;object-fit:contain;mix-blend-mode:multiply;border:0;border-radius:0;box-shadow:none;padding:0;margin:0}
.td-estimate {grid-column:1;grid-row:4;min-width:0;padding:20px 22px;background:#fff;border:1px solid #d6e5eb;border-radius:16px;box-shadow:0 8px 24px #15384905}
.td-estimate-top {display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap}
.td-estimate-top>div {display:grid;gap:5px}
.td-estimate-kicker {font-size:10px;line-height:1.6;font-weight:700;text-transform:uppercase;letter-spacing:.08em;color:#526b78}
.td-estimate-scope {font-size:12px;color:#526b78;line-height:1.6}
.td-estimate-value {font-size:clamp(18px,1.7vw,25px);line-height:1.4;letter-spacing:-.025em;color:#153849}
.td-estimate-details {margin-top:12px;border-top:1px solid #e2ebef;padding-top:10px}
.td-estimate-details>summary {cursor:pointer;list-style:revert;font-size:12px;font-weight:500;color:#526b78;padding:4px 0;line-height:1.5}
body:not(.wl) #main .td-estimate-details p {margin:10px 0 0!important;font-size:12px!important;line-height:1.7;color:#526b78!important}
.td-cost-link {display:inline-flex;align-items:center;gap:10px;padding:10px 0 0;font-size:12px;font-weight:600;color:#145e7a;text-decoration:none;line-height:1.5}
.td-facts {display:flex;gap:12px 24px;flex-wrap:wrap;list-style:none;margin:18px 0 0;padding:0}.td-facts li{display:grid;gap:4px}.td-facts span{font-size:11px;color:#526b78}.td-facts strong{font-size:13px;color:#153849}
.td-hero-no-art .td-hero-grid {grid-template-columns:minmax(0,1fr);max-width:1000px}.td-hero-no-art h1{max-width:28ch!important}
body:not(.wl) #main .td-tabs {border-bottom:1px solid #dce8ec;box-shadow:0 5px 16px #15384904}
.td-tabs .rd-tabs-inner {gap:4px;scrollbar-width:thin;scrollbar-color:#cadde6 transparent;scroll-padding-inline:20px;padding:6px 20px 4px;max-width:1240px}
.td-tabs a {padding:12px 15px;min-height:44px;font-size:12px;border-radius:8px;box-shadow:none!important;white-space:nowrap}
.td-tabs a.is-on {background:#eaf3f7;color:#145e7a}
.td-tabs .rd-tabs-inner::-webkit-scrollbar {height:3px}.td-tabs .rd-tabs-inner::-webkit-scrollbar-thumb {background:#cadde6;border-radius:3px}
body[data-medical-page=treatment] #main {background:#fbfcfd}
body[data-medical-page=treatment] #main .detail-card {border:1px solid #dce7ed;box-shadow:0 7px 22px #15384904;border-radius:18px;margin-bottom:22px}
body[data-medical-page=treatment] #main .detail-card-header {padding-bottom:16px;margin-bottom:18px;border-bottom:1px solid #e7eef1;gap:14px;align-items:center}
body[data-medical-page=treatment] #main .detail-card-header :is(h2,h3) {font-size:clamp(20px,2vw,27px)!important;line-height:1.35!important;letter-spacing:-.02em}
body[data-medical-page=treatment] #main .premium-structured-content {font-size:15px!important;line-height:1.85!important;color:#526b78}
body[data-medical-page=treatment] #main .premium-structured-content :is(h2,h3,h4) {line-height:1.4;margin-top:24px;color:#153849}
body[data-medical-page=treatment] #main .premium-structured-content p {margin-block:0 16px}
body[data-medical-page=treatment] #main .td-content .meta-pills-row:not(:has(*)) {display:none}
.td-faq details {border-top:1px solid #e2ebef;padding:4px 0}.td-faq summary {padding:15px 0;cursor:pointer;font-weight:600;font-size:14px;color:#153849;line-height:1.6}.td-faq details p {font-size:14px;line-height:1.8;color:#526b78;padding-bottom:14px}
@media(max-width:768px){
 body:not(.wl) #main .td-hero {padding:calc(var(--nav-h,64px) + 18px) 0 24px!important}
 body:not(.wl) #main .td-hero-grid {grid-template-columns:minmax(0,1fr);gap:16px;width:calc(100% - 40px)}
 .td-breadcrumbs {grid-column:1;grid-row:1;font-size:11px;margin-bottom:0;gap:5px 8px}
 .td-heading {grid-row:2}.td-hero-art {grid-column:1;grid-row:3}
 body:not(.wl) #main .td-hero h1 {font-size:clamp(27px,7vw,34px)!important;max-width:23ch;line-height:1.2!important;letter-spacing:-.025em}
 body:not(.wl) #main .td-hero .td-specialty {font-size:10px!important;margin-bottom:8px!important}
 body:not(.wl) #main .td-hero-art img {height:clamp(150px,44vw,200px);width:100%;max-width:390px;max-height:none}
 .td-hero-copy {grid-row:4}.td-estimate {grid-row:5;padding:16px 18px;border-radius:14px}
 body:not(.wl) #main .td-hero-copy>p {font-size:14px!important;margin-bottom:14px!important;line-height:1.7}
 body:not(.wl) #main .td-hero a.td-primary {display:flex;width:100%;font-size:13px;min-height:48px;padding:12px 16px}
 .td-estimate-top {gap:7px}.td-estimate-kicker {font-size:9px}.td-estimate-value {font-size:21px}.td-estimate-details {margin-top:9px;padding-top:7px}
 .td-tabs .rd-tabs-inner {padding-inline:16px;gap:4px}.td-tabs a{font-size:12px;padding:10px 13px}
 .td-tabs.has-more::after {content:'›';position:absolute;inset-inline-end:0;top:0;height:100%;width:26px;display:grid;place-items:center;background:linear-gradient(90deg,#ffffff00,#fff 45%);color:#145e7a;font-size:24px;pointer-events:none}
 [dir=rtl] .td-tabs.has-more::after {content:'‹';background:linear-gradient(270deg,#ffffff00,#fff 45%)}
 body[data-medical-page=treatment] #main .td-content .section-inner {width:calc(100% - 32px)}
 body[data-medical-page=treatment] #main .detail-card {padding:20px!important;border-radius:16px;margin-bottom:18px}
 body[data-medical-page=treatment] #main .detail-card-header .detail-card-icon {display:none}
 body[data-medical-page=treatment] #main .premium-structured-content {font-size:14px!important;line-height:1.85!important}
}
@media(prefers-reduced-motion:reduce){.td-primary{transition:none}}
