/* Global sites only: adjustments for wording that is longer than the Korean original. Loaded after the site styles. */
/* Left rail clinic hours: day and time on separate lines so long day names and notes fit the narrow column. */
.editorial-site .brand-rail .rail-hours-list,.brand-rail .rail-hours-list{grid-template-columns:minmax(0,1fr);gap:2px 0}
.editorial-site .brand-rail .rail-hours-list dt,.brand-rail .rail-hours-list dt{margin-top:6px;text-align:left;justify-self:start}
.editorial-site .brand-rail .rail-hours-list dt:first-of-type,.brand-rail .rail-hours-list dt:first-of-type{margin-top:0}
.editorial-site .brand-rail .rail-hours-list dd,.brand-rail .rail-hours-list dd{margin:0;padding-left:2px;line-height:1.45}
.editorial-site .brand-rail .rail-hours-list dd:last-of-type,.brand-rail .rail-hours-list dd:last-of-type{margin-top:2px}
/* The FACE / BODY buttons carried a Korean reading beside the English word; in translation both are the same word. */
.specialty-ko{display:none}
/* Link back to the Korean site in the header */
.header-tools .language-link{white-space:nowrap}
/* 2026-11-17 Consultation messenger buttons in each app's own colour and logo (WhatsApp, LINE, Facebook Messenger, WeChat),
   because the plain outline buttons carried over from the Korean KakaoTalk links were hard to notice. Same addresses, same words. */
html body :is(.rail-quick,.home-process-actions,.consult-band-actions,.consult-actions,.mobile-book) :is(a[href^="https://wa.me/"],a[href^="https://api.whatsapp.com/"],a[href^="https://line.me/"],a[href^="https://lin.ee/"],a[href="#line"],a[href^="https://m.me/"],a[href="#wechat"],a[href*="weixin"]){display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:46px;padding:0 18px;border:0;border-radius:8px;color:#fff;font-weight:700;text-decoration:none;white-space:nowrap;box-shadow:0 2px 8px rgba(0,0,0,.12);transition:filter .15s}
html body :is(.rail-quick,.home-process-actions,.consult-band-actions,.consult-actions,.mobile-book) :is(a[href^="https://wa.me/"],a[href^="https://api.whatsapp.com/"],a[href^="https://line.me/"],a[href^="https://lin.ee/"],a[href="#line"],a[href^="https://m.me/"],a[href="#wechat"],a[href*="weixin"])::before{content:"";flex:none;width:20px;height:20px;background:center/contain no-repeat}
html body :is(.rail-quick,.home-process-actions,.consult-band-actions,.consult-actions,.mobile-book) :is(a[href^="https://wa.me/"],a[href^="https://api.whatsapp.com/"],a[href^="https://line.me/"],a[href^="https://lin.ee/"],a[href="#line"],a[href^="https://m.me/"],a[href="#wechat"],a[href*="weixin"]):hover{color:#fff;filter:brightness(.93);text-decoration:none}
html body :is(.rail-quick,.home-process-actions,.consult-band-actions,.consult-actions,.mobile-book) :is(a[href^="https://wa.me/"],a[href^="https://api.whatsapp.com/"],a[href^="https://line.me/"],a[href^="https://lin.ee/"],a[href="#line"],a[href^="https://m.me/"],a[href="#wechat"],a[href*="weixin"]):focus-visible{outline:2px solid #3b2358;outline-offset:2px}
html body :is(.rail-quick,.home-process-actions,.consult-band-actions,.consult-actions,.mobile-book) :is(a[href^="https://wa.me/"],a[href^="https://api.whatsapp.com/"]){background:#25D366}
html body :is(.rail-quick,.home-process-actions,.consult-band-actions,.consult-actions,.mobile-book) :is(a[href^="https://wa.me/"],a[href^="https://api.whatsapp.com/"])::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 0 1-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 0 1-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 0 1 2.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0 0 12.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 0 0 5.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 0 0-3.48-8.413Z'/%3E%3C/svg%3E")}
html body :is(.rail-quick,.home-process-actions,.consult-band-actions,.consult-actions,.mobile-book) :is(a[href^="https://line.me/"],a[href^="https://lin.ee/"],a[href="#line"]){background:#06C755}
html body :is(.rail-quick,.home-process-actions,.consult-band-actions,.consult-actions,.mobile-book) :is(a[href^="https://line.me/"],a[href^="https://lin.ee/"],a[href="#line"])::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M19.365 9.863c.349 0 .63.285.63.631 0 .345-.281.63-.63.63H17.61v1.125h1.755c.349 0 .63.283.63.63 0 .344-.281.629-.63.629h-2.386c-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.63-.63h2.386c.346 0 .627.285.627.63 0 .349-.281.63-.63.63H17.61v1.125h1.755zm-3.855 3.016c0 .27-.174.51-.432.596-.064.021-.133.031-.199.031-.211 0-.391-.09-.51-.25l-2.443-3.317v2.94c0 .344-.279.629-.631.629-.346 0-.626-.285-.626-.629V8.108c0-.27.173-.51.43-.595.06-.023.136-.033.194-.033.195 0 .375.104.495.254l2.462 3.33V8.108c0-.345.282-.63.63-.63.345 0 .63.285.63.63v4.771zm-5.741 0c0 .344-.282.629-.631.629-.345 0-.627-.285-.627-.629V8.108c0-.345.282-.63.63-.63.346 0 .628.285.628.63v4.771zm-2.466.629H4.917c-.345 0-.63-.285-.63-.629V8.108c0-.345.285-.63.63-.63.348 0 .63.285.63.63v4.141h1.756c.348 0 .629.283.629.63 0 .344-.282.629-.629.629M24 10.314C24 4.943 18.615.572 12 .572S0 4.943 0 10.314c0 4.811 4.27 8.842 10.035 9.608.391.082.923.258 1.058.59.12.301.079.766.038 1.08l-.164 1.02c-.045.301-.24 1.186 1.049.645 1.291-.539 6.916-4.078 9.436-6.975C23.176 14.393 24 12.458 24 10.314'/%3E%3C/svg%3E")}
html body :is(.rail-quick,.home-process-actions,.consult-band-actions,.consult-actions,.mobile-book) :is(a[href^="https://m.me/"]){background:linear-gradient(45deg,#0099FF 0%,#A033FF 60%,#FF5280 90%,#FF7061 100%)}
html body :is(.rail-quick,.home-process-actions,.consult-band-actions,.consult-actions,.mobile-book) :is(a[href^="https://m.me/"])::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M.001 11.639C.001 4.949 5.241 0 12.001 0S24 4.95 24 11.639c0 6.689-5.24 11.638-12 11.638-1.21 0-2.38-.16-3.47-.46a.96.96 0 0 0-.64.05l-2.39 1.05a.96.96 0 0 1-1.35-.85l-.07-2.14a.97.97 0 0 0-.32-.68A11.39 11.389 0 0 1 .002 11.64zm8.32-2.19-3.52 5.6c-.35.53.32 1.139.82.75l3.79-2.87c.26-.2.6-.2.87 0l2.8 2.1c.84.63 2.04.4 2.6-.48l3.52-5.6c.35-.53-.32-1.13-.82-.75l-3.79 2.87c-.25.2-.6.2-.86 0l-2.8-2.1a1.8 1.8 0 0 0-2.61.48z'/%3E%3C/svg%3E")}
html body :is(.rail-quick,.home-process-actions,.consult-band-actions,.consult-actions,.mobile-book) :is(a[href="#wechat"],a[href*="weixin"]){background:#07C160}
html body :is(.rail-quick,.home-process-actions,.consult-band-actions,.consult-actions,.mobile-book) :is(a[href="#wechat"],a[href*="weixin"])::before{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23fff' d='M8.691 2.188C3.891 2.188 0 5.476 0 9.53c0 2.212 1.17 4.203 3.002 5.55a.59.59 0 0 1 .213.665l-.39 1.48c-.019.07-.048.141-.048.213 0 .163.13.295.29.295a.326.326 0 0 0 .167-.054l1.903-1.114a.864.864 0 0 1 .717-.098 10.16 10.16 0 0 0 2.837.403c.276 0 .543-.027.811-.05-.857-2.578.157-4.972 1.932-6.446 1.703-1.415 3.882-1.98 5.853-1.838-.576-3.583-4.196-6.348-8.596-6.348zM5.785 5.991c.642 0 1.162.529 1.162 1.18a1.17 1.17 0 0 1-1.162 1.178A1.17 1.17 0 0 1 4.623 7.17c0-.651.52-1.18 1.162-1.18zm5.813 0c.642 0 1.162.529 1.162 1.18a1.17 1.17 0 0 1-1.162 1.178 1.17 1.17 0 0 1-1.162-1.178c0-.651.52-1.18 1.162-1.18zm5.34 2.867c-1.797-.052-3.746.512-5.28 1.786-1.72 1.428-2.687 3.72-1.78 6.22.942 2.453 3.666 4.229 6.884 4.229.826 0 1.622-.12 2.361-.336a.722.722 0 0 1 .598.082l1.584.926a.272.272 0 0 0 .14.047c.134 0 .24-.111.24-.247 0-.06-.023-.12-.038-.177l-.327-1.233a.582.582 0 0 1-.023-.156.49.49 0 0 1 .201-.398C23.024 18.48 24 16.82 24 14.98c0-3.21-2.931-5.837-6.656-6.088V8.89c-.135-.01-.27-.027-.407-.03zm-2.53 3.274c.535 0 .969.44.969.982a.976.976 0 0 1-.969.983.976.976 0 0 1-.969-.983c0-.542.434-.982.97-.982zm4.844 0c.535 0 .969.44.969.982a.976.976 0 0 1-.969.983.976.976 0 0 1-.969-.983c0-.542.434-.982.969-.982z'/%3E%3C/svg%3E")}
html body .brand-rail nav .rail-quick :is(a[href^="https://wa.me/"],a[href^="https://api.whatsapp.com/"],a[href^="https://line.me/"],a[href^="https://lin.ee/"],a[href="#line"],a[href^="https://m.me/"],a[href="#wechat"],a[href*="weixin"]){display:flex;width:100%;box-sizing:border-box;grid-column:1/-1;min-height:40px;padding:0 10px;border:0;font-size:13px;color:#fff}
html body .brand-rail nav .rail-quick :is(a[href^="https://wa.me/"],a[href^="https://api.whatsapp.com/"],a[href^="https://line.me/"],a[href^="https://lin.ee/"],a[href="#line"],a[href^="https://m.me/"],a[href="#wechat"],a[href*="weixin"])::before{width:18px;height:18px}
html body .mobile-book :is(a[href^="https://wa.me/"],a[href^="https://api.whatsapp.com/"],a[href^="https://line.me/"],a[href^="https://lin.ee/"],a[href="#line"],a[href^="https://m.me/"],a[href="#wechat"],a[href*="weixin"]){display:flex;flex:1 1 auto;min-height:48px;font-size:15px;color:#fff}
/* Long words must not push boxes wider than the screen */
h1,h2,h3,.solid-button,.outline-button{overflow-wrap:break-word}
/* Before & After page */
.bna-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:24px 0 8px}
.bna-tabs button{padding:8px 14px;border:1px solid #cbb9dc;border-radius:999px;background:#fff;color:#3b2358;font:inherit;font-size:14px;cursor:pointer}
.bna-tabs button[aria-pressed="true"]{background:#3b2358;border-color:#3b2358;color:#fff}
.bna-note{margin:0 0 20px;color:#6b6475;font-size:13px}
.bna-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:20px}
.bna-card{display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;height:100%;margin:0;padding:0;border:0;background:#f4f1f7;border-radius:8px;overflow:hidden;font:inherit;color:inherit;text-align:left;cursor:zoom-in}
.bna-card .bna-pair{flex:none;width:100%}
/* No divider line between the "Show more" button and the location block on the before/after page */
.rich-main:has(#bna-more)+.site-location{border-top:0}
#bna-more{margin-bottom:48px}
.bna-card:focus-visible{outline:2px solid #6A48A0;outline-offset:2px}
.bna-pair{display:grid;grid-template-columns:1fr 1fr;gap:2px}
.bna-card figure,.bna-viewer figure{position:relative;margin:0}
.bna-card img{display:block;width:100%;aspect-ratio:1/1;object-fit:cover;background:#e9e4ef}
.bna-card figcaption,.bna-viewer figcaption{position:absolute;left:8px;bottom:8px;padding:2px 8px;border-radius:4px;background:rgba(31,20,46,.72);color:#fff;font-size:12px;letter-spacing:.04em}
.bna-caption{display:block;padding:10px 12px 12px}
.bna-card .bna-title,.bna-viewer-info .bna-title{position:static;display:block;margin:0;padding:0;min-height:0;isolation:auto;font-size:14px;font-weight:600;color:#2b2140;line-height:1.35}
.bna-card .bna-title:after,.bna-viewer-info .bna-title:after{content:none}
.bna-detail{display:block;margin-top:3px;font-size:13px;color:#5A3A92}
.bna-procedure{display:block;margin-top:2px;font-size:12px;color:#7b7386}
/* Viewer over the page: one pair at a time, slides with the arrows, the keyboard or a swipe */
.bna-viewer-open{overflow:hidden}
.bna-viewer{position:fixed;inset:0;z-index:1000;display:flex;align-items:center;justify-content:center;gap:8px;padding:16px;background:rgba(20,13,30,.88)}
.bna-viewer[hidden]{display:none}
.bna-viewer-box{position:relative;box-sizing:border-box;width:min(1100px,100%);max-height:100%;overflow-x:hidden;overflow-y:auto;padding:44px 16px 16px;background:#fff;border-radius:10px}
.bna-viewer-stage{display:grid;grid-template-columns:1fr 1fr;gap:6px}
.bna-viewer-stage img{display:block;width:100%;max-height:70vh;object-fit:contain;background:#f1eef5}
.bna-viewer-info{padding:12px 4px 0}
.bna-viewer-info .bna-title{font-size:17px}
.bna-viewer-info .bna-detail{font-size:15px}
.bna-viewer-info .bna-procedure{font-size:13px}
.bna-viewer-count{position:absolute;left:16px;top:14px;font-size:13px;color:#6b6475}
.bna-viewer-close{position:absolute;right:8px;top:6px;width:36px;height:36px;border:0;background:transparent;font-size:26px;line-height:1;color:#2b2140;cursor:pointer}
.bna-viewer-nav{flex:none;width:44px;height:64px;border:0;border-radius:8px;background:rgba(255,255,255,.14);color:#fff;font-size:34px;line-height:1;cursor:pointer}
.bna-viewer-nav:hover{background:rgba(255,255,255,.26)}
@media (max-width:640px){.bna-viewer{padding:8px;gap:0}.bna-viewer-nav{position:absolute;bottom:14px;z-index:2;width:48px;height:44px;background:rgba(43,33,64,.82)}.bna-viewer-prev{left:14px}.bna-viewer-next{right:14px}.bna-viewer-box{padding:44px 8px 70px}.bna-viewer-stage{gap:3px}}
.bna-more{display:block;margin:28px auto 0;padding:12px 28px;border:1px solid #3b2358;border-radius:6px;background:#fff;color:#3b2358;font:inherit;cursor:pointer}
@media (max-width:640px){.bna-grid{grid-template-columns:1fr;gap:14px}}
/* Doctor names: Latin names are longer than the Korean ones, so they are set smaller and kept on one line,
   which keeps the two doctors' cards and headings level with each other. */
.doctor-editorial .doctor-photo{align-items:start}
.doctor-editorial .doctor-photo a strong{font-size:14px;white-space:nowrap;letter-spacing:0}
.doctor-editorial .doctor-photo a span{font-size:12px}
.editorial-site .director-bio h2,.director-bio h2{font-size:clamp(20px,1.9vw,26px)!important;line-height:1.35!important}
/* 2026-11-15 line breaks and overflow on the translated sites */
/* The chest illustration kept the browser's default 40px figure indent and was cut off on phones. */
.editorial-site .anatomy-figure{margin:0}
/* Headings, questions and short labels split into even lines instead of leaving one word or a few characters alone;
   running text avoids a single word on its last line. */
.editorial-site :is(h1,h2,h3,h4,h5,summary,figcaption,dt,th,.overline,.eyebrow,.lead){text-wrap:balance}
.editorial-site :is(p,li,dd,blockquote){text-wrap:pretty}
/* The Korean styles keep Korean words whole (keep-all). Japanese and Chinese have no spaces, so that rule would only let
   them break at punctuation and push long lines past the screen edge: they break normally, Japanese headings at phrase
   boundaries where the browser supports it. */
html:is(:lang(ja),:lang(zh)) body *{word-break:normal!important;line-break:strict}
html:lang(ja) body :is(h1,h2,h3,h4,summary,.overline,.eyebrow,button,strong){word-break:auto-phrase!important}
/* Phone screens: headings and card labels keep the Korean layout's manual line breaks, so a translated line wraps again
   and leaves one word alone. Below 600px those breaks (marked soft-br by build_site.py) give way and the browser
   balances the lines itself. */
@media (max-width:600px){
html body br.soft-br{display:none}
.editorial-site :is(strong,button,[role="tab"],figcaption){text-wrap:balance}
}
