/* v15 - pre-launch finishing pass; original photography and approved copy preserved. */
/* Crop embedded screenshot edges in the page, never regenerate or retouch the subject. */
body.ds-v2 .photo-trim-right,
body.ds-v2 .photo-trim-bottom,
body.ds-v2 .photo-trim-edges{overflow:hidden;isolation:isolate;line-height:0;background:#e9f0f4}
body.ds-v2 .photo-trim-right img{display:block;max-width:none;transform:scale(1.035);transform-origin:left bottom}
body.ds-v2 .photo-trim-bottom img{display:block;max-width:none;transform:scale(1.065);transform-origin:50% 0}
body.ds-v2 .photo-trim-edges img{display:block;max-width:none;transform:scale(1.055);transform-origin:center}
/* The square portrait uses a square frame. No beige letterboxing or asymmetric gutters. */
body.ds-v2 .director-panel.brand-director-panel{aspect-ratio:1;min-height:0!important;height:auto!important;align-self:center;padding:0!important;background:#fff!important;isolation:isolate}
body.ds-v2 .portrait-frame{background:#fff!important;overflow:hidden;line-height:0;margin:0}
body.ds-v2 .brand-director-panel .portrait-home{position:absolute;inset:0;background:#fff!important}
body.ds-v2 .portrait-frame img,
body.ds-v2 .brand-director-panel .portrait-home img,
body.ds-v2 .page-banner .portrait-frame img{display:block;width:100%;height:100%;max-width:none;max-height:none;object-fit:cover;object-position:50% 50%;background:#fff!important;filter:none;transform:none;margin:0}
body.ds-v2 .page-banner.brand-page-photo .wrap>.portrait-frame{aspect-ratio:1;height:auto;min-height:0;max-height:none;align-self:center;width:100%;background:#fff}
/* Keep card photos flush to their frames at fractional CSS pixels. */
body.ds-v2 .story-card-photo{position:relative;overflow:hidden;margin:0;line-height:0}
body.ds-v2 .story-card-photo img{display:block}
body.ds-v2 .story-intro-grid{align-items:stretch}
body.ds-v2 .story-intro-grid .story-card{display:flex;flex-direction:column}
body.ds-v2 .story-intro-grid .story-card-copy{flex:1}
body.ds-v2 .story-photo-grid{align-items:stretch}
/* A consistent reading rhythm without changing approved text, colors or page order. */
body.ds-v2 .article-section p{line-height:1.85}
body.ds-v2 .article-section p+p{margin-top:1em}
body.ds-v2 .article-section h2{margin-bottom:18px}
body.ds-v2 .article-section :is(h2,h3,h4),
body.ds-v2 .card h3,
body.ds-v2 .publication-card h3{word-break:keep-all;overflow-wrap:anywhere}
body.ds-v2 .card p{line-height:1.8}
body.ds-v2 .card .go{color:#24586b}
body.ds-v2 .article :is(a[href*="doi.org"],.citation,.paper-meta){overflow-wrap:anywhere}
body.ds-v2 .article :is(ul,ol){padding-left:1.4em}
body.ds-v2 .article li+li{margin-top:.35em}
body.ds-v2 .article-section{scroll-margin-top:125px}
/* Quiet focus indicators, touch targets and reduced-motion support. */
body.ds-v2 :is(a,button,input,summary):focus-visible{outline:3px solid #087f9f;outline-offset:4px}
body.ds-v2 .menu-toggle,body.ds-v2 .search-trigger,body.ds-v2 .dialog-close{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center}
body.ds-v2 .faq-list summary,body.ds-v2 .patient-faq summary,body.ds-v2 .clinic-faq summary{min-height:44px}
body.ds-v2 .mobile-nav{max-height:calc(100dvh - 115px);overflow:auto;overscroll-behavior:contain}
body.ds-v2 .site-search{max-height:calc(100dvh - 48px);overflow:auto}
body.ds-v2 .site-search input{min-width:0}
@media(min-width:901px){body.ds-v2 .header-actions .menu-toggle{display:none}}
@media(max-width:900px){body.ds-v2 .header-actions{gap:8px}}
@media(max-width:640px){
 body.ds-v2 .article-section p{line-height:1.85;font-size:1rem}
 body.ds-v2 .article-section h2{font-size:clamp(1.35rem,5.4vw,1.6rem);line-height:1.45}
 body.ds-v2 .article-section{margin-bottom:28px;padding-bottom:28px;scroll-margin-top:100px}
 body.ds-v2 .side{padding:22px}
 body.ds-v2 .btn{min-height:46px}
 body.ds-v2 .site-search{width:calc(100% - 32px);max-width:calc(100% - 32px)}
 body.ds-v2 .footer{padding-bottom:calc(100px + env(safe-area-inset-bottom))}
 body.ds-v2 .floating-actions a{min-height:50px;display:flex;align-items:center;justify-content:center;line-height:1.4}
 body.ds-v2 .page-banner.brand-page-photo .wrap>.portrait-frame{width:min(100%,360px);height:auto;min-height:0;aspect-ratio:1;align-self:center;margin-inline:auto}
 body.ds-v2 .portrait-home{border-radius:inherit}
}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto!important}
 body.ds-v2 *,body.ds-v2 *::before,body.ds-v2 *::after{scroll-behavior:auto!important;animation-duration:.01ms!important;transition-duration:.01ms!important}
}
/* Contrast and minimum-size corrections found in the whole-site rendering audit. */
body.ds-v2 .article-meta,body.ds-v2 .article-meta span{color:#526976}
body.ds-v2 .nav a[aria-current="page"]{color:#18566f;background:#e9f3f7}
body.ds-v2 .consultation-eyebrow,body.ds-v2 .consultation-rail .consultation-eyebrow{color:#326473}
body.ds-v2 .quick-arrow{color:#275278}
body.ds-v2 .story-principle-num{color:#086e87}
body.ds-v2 .home-ultrasound-story .story-feature .section-number{color:#0d637c;background:#e8f4f6}
body.ds-v2 .publication-card .paper-type{font-size:.78rem;line-height:1.6}
body.ds-v2 .research-home .section-number,body.ds-v2 .visit-strip .section-number{font-size:.75rem}
@media(max-width:640px){
 body.ds-v2 .footer-nav a{font-size:.8rem;line-height:1.65;padding-block:6px}
 body.ds-v2 .footer p{font-size:.8rem;line-height:1.85}
 body.ds-v2 .footer .notice{font-size:.75rem}
}
/* Restore the previously unstyled clinical workflow and its visual hierarchy. */
body.ds-v2 .clinical-process{background:#fff}
body.ds-v2 .clinical-process .process-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;margin:30px 0 26px}
body.ds-v2 .clinical-process .process-grid>div{min-width:0;border-top:2px solid #69bfac;border-radius:0 16px 16px 16px;background:#f4f9fc;padding:26px 24px}
body.ds-v2 .clinical-process .process-grid>div>span{color:#0b687e;font-size:.82rem;font-weight:800;letter-spacing:.12em;display:block;margin-bottom:14px}
body.ds-v2 .clinical-process .process-grid h3{font-size:1.12rem;line-height:1.5;color:#234c68;font-weight:700;word-break:keep-all;margin:0 0 12px}
body.ds-v2 .clinical-process .process-grid p{font-size:.95rem;line-height:1.8;color:#496575;margin:0}
@media(max-width:640px){
 body.ds-v2 #wangdo-feature .story-photo-grid{grid-template-columns:1fr;gap:14px}
 body.ds-v2 #wangdo-feature .story-photo-grid .brand-photo{aspect-ratio:16/10;border-radius:16px}
 body.ds-v2 #wangdo-feature .story-photo-grid .brand-photo img{width:100%;height:100%;aspect-ratio:auto;object-fit:cover}
 body.ds-v2 .clinical-process .process-grid{grid-template-columns:1fr;gap:12px;margin:24px 0}
 body.ds-v2 .clinical-process .process-grid>div{display:grid;grid-template-columns:32px minmax(0,1fr);column-gap:12px;padding:20px 18px;border-top:0;border-left:2px solid #69bfac;border-radius:0 14px 14px 0}
 body.ds-v2 .clinical-process .process-grid>div>span{grid-row:1 / 3;grid-column:1;margin:0;line-height:1.7}
 body.ds-v2 .clinical-process .process-grid h3{grid-column:2;margin-bottom:8px;font-size:1.05rem}
 body.ds-v2 .clinical-process .process-grid p{grid-column:2;font-size:.94rem}
}
/* Mobile quick links: full-width text avoids narrow, awkward label wrapping. */
body.ds-v2 .section-intro h2,body.ds-v2 .section-heading h2{font-weight:700;line-height:1.4}
@media(max-width:640px){
 html{scroll-padding-bottom:calc(80px + env(safe-area-inset-bottom))}
 body.ds-v2 .quick-link{position:relative;display:grid;grid-template-columns:minmax(0,1fr) 18px;grid-template-rows:auto 1fr;gap:11px 8px;align-items:start;min-height:140px;padding:20px 17px}
 body.ds-v2 .quick-link>.icon{grid-column:1;grid-row:1;width:24px;height:24px}
 body.ds-v2 .quick-link>.quick-arrow{grid-column:2;grid-row:1;align-self:center}
 body.ds-v2 .quick-link>span:not(.quick-arrow){grid-column:1 / -1;grid-row:2;min-width:0}
 body.ds-v2 .quick-link strong{display:block;font-size:clamp(.85rem,3.8vw,.95rem);line-height:1.45;font-weight:700;word-break:keep-all}
 body.ds-v2 .quick-link small{display:block;font-size:.77rem;line-height:1.6;margin-top:6px;word-break:keep-all}
}
