/* 바날 개편 공개 화면 보조(운영에서 관리자 글을 시안 모양으로 그릴 때) */
/* Notice popups use the legacy markup, but this theme does not load site-extra.css. */
.notice-popups,.notice-popups *{box-sizing:border-box}
.notice-popups{position:fixed;z-index:95;left:50%;top:50%;width:min(420px,calc(100vw - 32px - var(--stack-offset,0px)));transform:translate(calc(-50% - var(--stack-offset,0px)/2),-50%);pointer-events:none}
.notice-deck{position:relative;min-height:120px}
.notice-top-close{position:absolute;z-index:2;top:20px;inset-inline-end:20px;display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid #e2ebf0;border-radius:50%;background:#fff;color:#648191;box-shadow:none;font:25px/1 Arial,sans-serif;cursor:pointer}
.notice-top-close:hover{background:#f0f8fb;color:#1e617f}
.notice-card :is(button,a):focus-visible{outline:3px solid #5eb6d4;outline-offset:3px}
.notice-card:not(.is-front) .notice-top-close{visibility:hidden}
.notice-card{position:absolute;top:0;left:0;width:100%;background:#fff;color:#173c51;border-radius:20px;border:1px solid #d9e7ee;box-shadow:0 24px 64px #12344847,0 8px 24px #12344829,0 0 32px #12344814;overflow:hidden;pointer-events:auto;transform:translate(calc(var(--depth,0)*14px),calc(var(--depth,0)*14px));z-index:calc(20 - var(--depth,0));transition:transform .25s;max-height:calc(100vh - 96px - var(--stack-offset,0px));max-height:calc(100dvh - 96px - var(--stack-offset,0px));display:flex;flex-direction:column;text-align:start}
.notice-card:not(.is-front){cursor:pointer;filter:brightness(.98)}
.notice-edge{position:absolute;inset:0;z-index:3;pointer-events:none;border-radius:inherit;overflow:hidden}
.notice-edge svg{display:block;width:100%;height:100%}
.notice-edge-run{stroke:#2487b0;stroke-width:1;stroke-dasharray:10 90;opacity:0}
.notice-card.is-front .notice-edge-run{animation:notice-edge-lap 3.8s linear infinite,notice-edge-fade 3.8s ease-in-out infinite}
@keyframes notice-edge-lap{0%{stroke-dashoffset:0}44.736842%,100%{stroke-dashoffset:-100}}
@keyframes notice-edge-fade{0%{opacity:0}5.263158%,28.947368%{opacity:.75}44.736842%,100%{opacity:0}}
.notice-heading{display:flex;flex-shrink:0;align-items:center;gap:10px;padding:28px 28px 20px;padding-inline-end:70px}
.notice-mark{display:grid;place-items:center;width:38px;height:38px;flex-shrink:0;background:#eff8fc;border:1px solid #d7edf6;border-radius:11px;color:#288caf}
.notice-mark svg{width:21px;height:21px}
.notice-label{color:#6a8695;font-size:12px;font-weight:600;letter-spacing:.02em}
.notice-body{padding:0 28px;min-height:0;overflow:auto;overscroll-behavior:contain}
.notice-media{display:block;margin:0 0 22px;border-radius:12px;overflow:hidden;background:#f5f9fb}
.notice-card .notice-media img{display:block;width:100%;height:auto;max-height:36vh;max-height:36dvh;object-fit:contain;background:#f5f9fb}
.notice-body h2{font-size:22px;font-weight:700;line-height:1.45;margin:0 0 12px;letter-spacing:-.035em;color:#173c51;overflow-wrap:anywhere}
.notice-body p{margin:0;color:#668190;font-size:14px;line-height:1.8;white-space:pre-line;overflow-wrap:anywhere}
.notice-actions{display:flex;flex-direction:column;flex-shrink:0;padding:24px 28px 19px;gap:12px}
.notice-buttons{display:grid;grid-template-columns:minmax(0,1fr);gap:10px}
.notice-buttons:has(.notice-link){grid-template-columns:repeat(2,minmax(0,1fr))}
.notice-buttons :is(button,a){display:flex;align-items:center;justify-content:center;min-height:44px;min-width:0;padding:11px 12px;border:1px solid #2487b0;border-radius:9px;background:#2487b0;color:#fff;font:inherit;font-size:13px;font-weight:700;line-height:1.4;text-align:center;text-decoration:none;cursor:pointer;overflow-wrap:anywhere}
.notice-buttons :is(button,a):hover{background:#1d7296;border-color:#1d7296}
.notice-buttons:has(.notice-link) .notice-x{background:#fff;border-color:#d5e3eb;color:#547180}
.notice-buttons:has(.notice-link) .notice-x:hover{background:#f5f9fb;border-color:#a8c8d8}
.notice-today{display:flex;align-items:center;align-self:flex-start;gap:8px;min-height:30px;max-width:100%;padding:0;border:0;background:transparent;color:#7c919f;font:inherit;font-size:11px;line-height:1.5;text-align:start;cursor:pointer}
.notice-today:before{content:"";display:block;width:13px;height:13px;box-sizing:border-box;border:1px solid #bdced8;border-radius:3px;flex-shrink:0}
.notice-today:hover{color:#287b9e}
.notice-popups-bar{position:relative;display:flex;gap:8px;align-items:center;justify-content:flex-end;margin-top:calc(var(--bar-offset,0px) + 10px);pointer-events:auto}
.notice-popups-bar button{min-height:36px;min-width:36px;border:1px solid #d5e3eb;border-radius:18px;background:#fff;font:inherit;font-size:13px;color:#4f6f81;cursor:pointer}
.notice-count{font-size:13px;background:#fffd;border-radius:10px;padding:2px 8px}
.notice-popups:not([data-count]) .notice-popups-bar,.notice-popups[data-count="1"] .notice-popups-bar{display:none}
@media (max-width:768px){
  .notice-popups{left:50%;right:auto;top:50%;bottom:auto;width:calc(100vw - 32px);max-width:420px;transform:translate(-50%,-50%)}
  .notice-card{position:relative;display:none;transform:none;max-height:calc(100vh - 96px);max-height:calc(100dvh - 96px);border-radius:18px}
  .notice-card.is-front{display:flex}
  .notice-heading{padding:24px 24px 18px;padding-inline-end:68px}
  .notice-top-close{top:17px;inset-inline-end:17px}
  .notice-body{padding:0 24px}
  .notice-body h2{font-size:21px}
  .notice-body p{font-size:13px;line-height:1.8}
  .notice-media{margin-bottom:20px}
  .notice-actions{padding:22px 24px 16px;gap:10px}
  .notice-deck{min-height:0}
}
@media (prefers-reduced-motion:reduce){.notice-card{transition:none}.notice-card .notice-edge-run{animation:none}.notice-edge{display:none}}
@media print{.notice-popups{display:none!important}}

.b-post .b-fig img,.b-post figure img{max-width:100%;height:auto}
.map .map-label-bg{stroke:none;pointer-events:none}
.map[data-labels-ready] :is(.lb,.sub,.rd){stroke:none}
/* The Japanese raster logo contains translucent black lettering. Reuse its alpha
   only over クリニック; ordinary text colour follows automatic dark mode. Lighten
   leaves the light-mode logo unchanged and preserves the blue name/wave. */
@supports(mask-composite:add){
  .hd .logo:has(>img[src*="clinic-logo-ja.webp"]){position:relative}
  .hd .logo:has(>img[src*="clinic-logo-ja.webp"])::after{
    content:"";position:absolute;inset:0;pointer-events:none;color:#000;background:currentColor;mix-blend-mode:lighten;
    --ja-logo-mask:url('/static/s/clinic-logo-ja.webp');
    mask-image:var(--ja-logo-mask),var(--ja-logo-mask),var(--ja-logo-mask),var(--ja-logo-mask);
    mask-position:center;mask-size:100% 100%;mask-repeat:no-repeat;mask-mode:alpha;mask-composite:add;
    clip-path:inset(35% 13% 0 33%);
  }
}
@media(max-width:860px){
  html[lang="en"] #filter .chips.docs{grid-template-columns:repeat(3,minmax(0,1fr))}
  html[lang="en"] #filter .chips.docs button{height:auto;min-height:44px;padding:8px 6px;white-space:normal;line-height:1.3}
}
.b-post .cms-table-scroll{overflow-x:auto}
.b-post .clinic-block{margin:28px 0;padding:20px 22px;border-radius:14px;background:#f4f9fc}
.sian-404{padding:12vh 0 16vh;text-align:center}
.sian-404 .btn{margin-top:28px}

/* Medical team: a quiet six-essay grid, scoped away from individual profiles. */
.care-philosophy{background:#f6f9fb;border-block:1px solid #e5edf2}
.care-philosophy .sh h2{max-width:none;font-size:clamp(26px,3vw,38px);letter-spacing:-.035em}
.care-philosophy .sh p{color:#607382;max-width:44em;font-size:16px}
.care-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}
.care-item{min-width:0}
.care-essay{height:100%;min-height:280px;display:flex;flex-direction:column;align-items:flex-start;padding:28px;border:1px solid #dce6ed;border-radius:16px;background:#fff;text-decoration:none;color:var(--ink);transition:border-color .18s,box-shadow .18s}
.care-essay:hover{border-color:#9bbfce;box-shadow:0 5px 18px rgba(22,62,82,.055)}
.care-essay:focus-visible{outline:3px solid #1585b3;outline-offset:4px}
.care-category{font-size:12px;font-weight:600;line-height:1.5;color:#50778c;margin-bottom:14px}
.care-essay h3{font-size:20px;line-height:1.5;letter-spacing:-.025em;word-break:keep-all;text-wrap:pretty;margin:0 0 12px}
.care-excerpt{font-size:15px;line-height:1.75;color:#607382;margin:0 0 24px;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
.care-footer{display:flex;align-items:center;gap:10px;width:100%;margin-top:auto;padding-top:18px;border-top:1px solid #edf1f4}
.care-avatar,.care-mark{width:40px;height:40px;flex:0 0 40px;border-radius:50%;background:#eef6fa}
.care-avatar{object-fit:cover;object-position:50% 24%}
.care-mark{display:grid;place-items:center;color:#238ab1;font-size:29px;font-weight:500;line-height:1}
.care-author{color:#496475;font-size:13px;font-weight:600;line-height:1.5}
.care-arrow{margin-inline-start:auto;color:#6b8a9a;font-size:22px;line-height:1}
[dir="rtl"] .care-arrow{transform:scaleX(-1)}
@media(max-width:960px){.care-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){.care-grid{grid-template-columns:1fr;gap:16px}.care-essay{min-height:0;padding:24px}.care-philosophy .sh{margin-bottom:28px}.care-essay h3{font-size:19px}}
@media(prefers-reduced-motion:reduce){.care-essay{transition:none}}

/* Only the small source icon is a link; academic rows remain plain text. */
.aca .aca-source{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;margin-inline-start:4px;vertical-align:middle;border-radius:6px;color:#387e9e;text-decoration:none;line-height:1}
.aca .aca-source svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.aca .aca-source:hover{color:#12688f;background:#eaf4f9}
.aca .aca-source:focus-visible{outline:2px solid #1585b3;outline-offset:2px;background:#eaf4f9}

/* ---- 회원(2026-11-24): 머리줄 단추, 로그인·회원가입·내 정보, 전후 사진 ---- */
.hd-mem{flex:none;display:grid;place-items:center;width:42px;height:42px;border-radius:50%;border:1px solid var(--line);background:#fff;color:var(--ink);transition:border-color .2s,background .2s,color .2s}
.hd-mem svg{width:20px;height:20px;display:block}
.hd-mem:hover{border-color:var(--sky)}
.hd-mem.in{background:var(--sky);border-color:var(--sky);color:#fff}
.hd-mem:focus-visible{outline:3px solid rgba(22,132,197,.35);outline-offset:2px}
/* 단추가 하나 늘면서 언어 단추(KO)가 두 줄로 눌리지 않게 */
.hd-side .lang{flex:none;white-space:nowrap}
.mem-ph{text-align:center}
.mem-ph h1,.mem-ph .lead{margin-inline:auto}
.mem-ph .lead{word-break:keep-all;text-wrap:balance}
.mem-wrap{max-width:520px}
.mem-form{display:grid;gap:18px}
.mem-f{display:grid;gap:8px;font-size:15px;font-weight:700;color:var(--ink)}
.mem-f small{font-weight:500;color:var(--muted);font-size:13px;margin-inline-start:4px}
.mem-f input{width:100%;height:52px;padding:0 16px;border:1px solid #c9dbe7;border-radius:12px;font:inherit;font-weight:500;font-size:16px;background:#fff;color:var(--ink)}
.mem-f input:focus-visible{outline:3px solid rgba(22,132,197,.28);border-color:var(--sky)}
.mem-form .btn{display:inline-flex;justify-content:center;width:100%;cursor:pointer}
.mem-form .btn:disabled{opacity:.6;cursor:default}
.mem-hp{position:absolute;inset-inline-start:-9999px;width:1px;height:1px;opacity:0}
.mem-agree{display:grid;gap:12px;padding:18px;border:1px solid var(--line);border-radius:14px;background:var(--tint)}
.mem-c{display:flex;gap:10px;align-items:flex-start;font-size:15px;line-height:1.55;cursor:pointer}
.mem-c input{width:20px;height:20px;flex:none;margin-top:2px;accent-color:var(--sky)}
.mem-c a{color:var(--sky-d);text-decoration:underline;white-space:nowrap}
.mem-box{margin:0;padding:12px 14px;border:1px solid var(--line);border-radius:10px;background:#fff;font-size:13.5px;line-height:1.7;color:var(--muted)}
.mem-msg{margin:0;padding:12px 14px;border-radius:10px;background:#fdecec;color:#a02424;font-size:14.5px;line-height:1.5}
.mem-msg.good{background:#e8f6ee;color:#1d6b40}
.mem-alt{margin-top:26px;text-align:center;font-size:15px;color:var(--muted)}
.mem-alt a{color:var(--sky-d);font-weight:700;text-decoration:underline}
.mem-note{margin-top:14px;text-align:center;font-size:13.5px;line-height:1.7;color:var(--muted);word-break:keep-all}
.mem-card{padding:24px;border:1px solid var(--line);border-radius:16px;background:#fff;margin-bottom:40px}
.mem-card dl{display:grid;grid-template-columns:auto 1fr;gap:10px 20px;margin:0 0 22px;font-size:15.5px}
.mem-card dt{color:var(--muted)}
.mem-card dd{margin:0;font-weight:700;word-break:break-all}
.mem-row{display:flex;gap:10px;flex-wrap:wrap}
.mem-row .btn{display:inline-flex;cursor:pointer}
.mem-form h2{font-size:20px;margin:0}
.mem-form+.mem-form{margin-top:44px;padding-top:36px;border-top:1px solid var(--line)}
.mem-out p:not(.mem-msg){margin:0;color:var(--muted);font-size:14.5px;line-height:1.7}
.mem-gate{max-width:580px;margin-inline:auto;text-align:center;padding:48px 28px;border:1px solid var(--line);border-radius:20px;background:var(--tint)}
.mem-gate i{display:grid;place-items:center;width:56px;height:56px;margin:0 auto 18px;border-radius:50%;background:#fff;border:1px solid var(--line);color:var(--sky-d)}
.mem-gate i svg{width:26px;height:26px}
.mem-gate h2{font-size:clamp(20px,2.4vw,26px);margin:0 0 12px}
.mem-gate p{margin:0 0 26px;color:var(--muted);line-height:1.75;word-break:keep-all;text-wrap:pretty}
.mem-gate .mem-row{justify-content:center}
.ba-filter{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:28px}
/* Foreign-language illustrations: keep the complete drawing, independent of copy length. */
html:not([lang="ko"]) .home #room .x-stage{height:auto!important;aspect-ratio:auto;align-self:start;container-type:inline-size;display:block}
html:not([lang="ko"]) .home #room .x-stage>div:not(#rm2){height:auto!important;max-height:none!important;display:flex;flex-direction:column}
html:not([lang="ko"]) .home #room .x-stage>[hidden]{display:none!important}
html:not([lang="ko"]) .home #room .x-hook{position:static!important;padding:22px 22px 0;margin:0;max-width:100%;text-wrap:pretty!important;overflow-wrap:normal;word-break:normal}
html:not([lang="ko"]) .home #room #rm0>[data-f]{position:relative;inset:auto;aspect-ratio:1;width:100%;height:auto}
html:not([lang="ko"]) .home #room #rm0>[data-f]>svg{width:100%;height:auto;aspect-ratio:1;display:block}
html:not([lang="ko"]) .home #room #rm1>svg{width:100%;height:auto;aspect-ratio:1;display:block}
html:not([lang="ko"]) .home #room #rm0 .x-seg{position:static;order:3;align-self:flex-start;margin:14px;max-width:calc(100% - 28px);display:flex;flex-wrap:wrap;border-radius:20px;gap:3px}
html:not([lang="ko"]) .home #room .x-seg button{width:auto;flex:none;font-size:14px;line-height:1.4;padding:6px 10px}
html:not([lang="ko"]) .home #room .x-seg::after{position:static;transform:none;white-space:normal;align-self:center;font-size:12px;padding:4px 6px;margin:0}
html:not([lang="ko"]) .home .fabs.room-obscured{visibility:hidden;pointer-events:none}
html[lang="ar"] .home #room .x-pick>li>button{text-align:start}
html[lang="ar"] .home #room .x-seg::after{direction:ltr;unicode-bidi:isolate}
html[lang="ar"] .home #room .more svg{transform:scaleX(-1)}
/* RTL copy occupies the right half. Move the photo (without mirroring it)
   and its fade to the left so reception signage cannot overlap the title. */
html[lang="ar"] .ph .h1-ln{margin-left:0!important}
@media(min-width:861px){
 html[lang="ar"] :is(.pg-ko-guides,.pg-ko-insights,.pg-ko-journal,.pg-ko-cases,.pg-ko-videos,.pg-ko-magazine,.pg-ko-visit) .ph:not(.split-ph)::before{
  left:0;right:auto;
  -webkit-mask-image:linear-gradient(270deg,transparent 0,rgba(0,0,0,.35) 16%,#000 42%),linear-gradient(180deg,transparent 0,rgba(0,0,0,.45) clamp(36px,3.4vw,64px),#000 clamp(96px,9vw,170px));
  mask-image:linear-gradient(270deg,transparent 0,rgba(0,0,0,.35) 16%,#000 42%),linear-gradient(180deg,transparent 0,rgba(0,0,0,.45) clamp(36px,3.4vw,64px),#000 clamp(96px,9vw,170px));
 }
}
@media(max-width:600px){
 html:not([lang="ko"]) .home #room .x-hook{padding:18px 18px 0}
}
.ba-filter button{height:40px;padding:0 18px;border-radius:999px;border:1px solid var(--line);background:#fff;color:var(--ink);font:inherit;font-size:15px;font-weight:600;cursor:pointer}
.ba-filter button.on{background:var(--sky);border-color:var(--sky);color:#fff}
.ba-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}
.ba-card{border:1px solid var(--line);border-radius:16px;overflow:hidden;background:#fff}
.ba-card[hidden]{display:none}
.ba-pair{display:grid;grid-template-columns:1fr 1fr;gap:2px;background:var(--line)}
.ba-pair figure{margin:0;position:relative;background:#eef4f8}
.ba-pair img{display:block;width:100%;aspect-ratio:4/5;object-fit:cover;cursor:zoom-in;user-select:none;-webkit-user-drag:none;-webkit-touch-callout:none}
.ba-pair figcaption{position:absolute;inset-inline-start:10px;bottom:10px;padding:4px 10px;border-radius:999px;background:rgba(22,58,80,.78);color:#fff;font-size:12.5px;font-weight:700}
.ba-meta{padding:16px 18px 18px}
.ba-meta p{margin:8px 0 0;color:var(--muted);font-size:14.5px;line-height:1.7}
.ba-empty{margin:0;padding:56px 20px;text-align:center;color:var(--muted);border:1px dashed #c9dbe7;border-radius:16px;word-break:keep-all}
.ba-notice{margin:6px 0 0;font-size:13.5px;line-height:1.75;color:var(--muted);word-break:keep-all}
.ba-zoom{border:0;padding:0;background:transparent;max-width:min(92vw,900px);max-height:92vh;overflow:visible}
.ba-zoom::backdrop{background:rgba(10,24,34,.84)}
.ba-zoom img{display:block;max-width:100%;max-height:88vh;border-radius:10px;user-select:none;-webkit-user-drag:none;-webkit-touch-callout:none}
.ba-zoom button{position:absolute;top:8px;inset-inline-end:8px;width:40px;height:40px;border-radius:50%;border:0;background:rgba(255,255,255,.92);font-size:22px;line-height:1;cursor:pointer}
.card-lock{display:block;width:100%;aspect-ratio:3/2;background:var(--tint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='5' y='10.5' width='14' height='9.5' rx='2.2' fill='none' stroke='%237fa3b8' stroke-width='1.5'/%3E%3Cpath d='M8.2 10.5V8a3.8 3.8 0 0 1 7.6 0v2.5' fill='none' stroke='%237fa3b8' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E") center/34px no-repeat}
@media(max-width:760px){.ba-grid{grid-template-columns:1fr;gap:20px}.mem-gate{padding:36px 20px}.mem-row .btn{flex:1 1 auto;justify-content:center}}
/* PC 머리줄 폭: 로그인 단추는 자리가 넉넉한 폭에서만 머리줄에 둔다(좁은 PC·긴 언어는 전체 메뉴 ≡ 안의 「회원」 묶음으로).
   그리고 개편 때부터 있던 겹침(좁은 PC 1081~1199px 의 외국어 메뉴, 베트남어 전 구간)을 메뉴 간격·글자 크기로 푼다. */
@media(min-width:1081px) and (max-width:1279px){.hd-mem{display:none}}
@media(min-width:1081px) and (max-width:1799px){html:is([lang=vi],[lang=ms]) .hd-mem{display:none}html[lang=vi] .gnb>ul>li>a{padding-inline:9px;font-size:15px}html[lang=vi] .gnb>ul>li>a::after{left:9px;right:9px}}
@media(min-width:1081px) and (max-width:1199px){
.gnb>ul>li>a{padding-inline:10px}.gnb>ul>li>a::after{left:10px;right:10px}
html:is([lang=ms],[lang=id],[lang=ar]) .gnb>ul>li>a{padding-inline:5px}html:is([lang=ms],[lang=id],[lang=ar]) .gnb>ul>li>a::after{left:5px;right:5px}
html[lang=vi] .gnb>ul>li>a{padding-inline:4px;font-size:13px}html[lang=vi] .gnb>ul>li>a::after{left:4px;right:4px}html[lang=vi] .hd-side .btn.pri{display:none}
}

/* Article sorting stays alongside the existing filters and search. */
html:not([lang^=ko]) .doc-layout .toc a{word-break:normal}
/* A Korean side gutter is too narrow for long Latin-language TOC words. */
@media(min-width:1200px) and (max-width:1599px){
 html:is([lang=en],[lang=id],[lang=ms],[lang=vi]) .doc-layout:not(.blog){grid-template-columns:240px minmax(0,1fr)!important}
}
/* The Arabic TOC is on the right. Keep its floating channel picker clear of it. */
@media(min-width:861px){
 html[lang=ar] body:has(.doc-layout:not(.blog)) .fabs{right:auto!important;left:clamp(16px,1.4vw,28px)}
 html[lang=ar] body:has(.doc-layout:not(.blog)) .fab-dial{align-items:flex-start}
 html[lang=ar] body:has(.doc-layout:not(.blog)) .fab-menu{right:auto;left:0;align-items:flex-start}
}
.board-sort{display:inline-flex;align-items:center;flex:0 0 auto}.board-sort select{font:inherit;font-size:14px;color:var(--ink,#16394d);background:var(--paper,#fff);border:1px solid var(--line,#cfe4f0);border-radius:999px;padding:11px 32px 11px 14px;min-height:44px;max-width:100%}.board-sort select:focus-visible{outline:2px solid #168bc1;outline-offset:3px}@media(max-width:600px){.board-sort{margin-inline-start:auto}}

/* 전후 사진 드래그 비교(2026-12-02) — 회원 전용 전후 사진 카드 + 케이스 리포트 「전후 비교」. 움직임은 /static/ba-slide.js */
.ba-slide{position:relative;overflow:hidden;aspect-ratio:var(--ratio,3/2);background:#eef4f8;touch-action:pan-y;cursor:ew-resize;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;direction:ltr}
.ba-slide .ba-slide-img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:50% 40%;display:block;margin:0;pointer-events:none;-webkit-user-drag:none;-webkit-touch-callout:none}
.ba-slide-top{position:absolute;inset:0;clip-path:inset(0 calc(100% - var(--pos,50%)) 0 0)}
.ba-slide-bar{position:absolute;top:0;bottom:0;left:var(--pos,50%);width:2px;margin-left:-1px;background:#fff;box-shadow:0 0 6px rgba(10,24,34,.35);pointer-events:none}
.ba-slide-knob{position:absolute;top:50%;left:50%;width:52px;height:52px;margin:-26px 0 0 -26px;border-radius:50%;border:2.5px solid #fff;background:rgba(10,24,34,.18);display:grid;place-items:center;color:#fff;box-shadow:0 1px 8px rgba(10,24,34,.3);transition:transform .15s}
.ba-slide-knob svg{width:30px;height:30px;filter:drop-shadow(0 1px 1px rgba(10,24,34,.35))}
.ba-slide.dragging .ba-slide-knob{transform:scale(1.08)}
.ba-slide-tag{position:absolute;bottom:14px;max-width:46%;overflow:hidden;text-overflow:ellipsis;padding:9px 19px;border-radius:999px;background:rgba(22,58,80,.94);box-shadow:0 2px 10px rgba(10,24,34,.28);color:#fff;font-size:19px;font-weight:800;letter-spacing:.01em;line-height:1.3;white-space:nowrap;pointer-events:none;transition:opacity .2s}
.ba-slide-b{left:14px}.ba-slide-a{right:14px;background:var(--sky,#1684C5)}
.ba-slide[data-edge="b"] .ba-slide-b,.ba-slide[data-edge="a"] .ba-slide-a{opacity:0}
.ba-slide-range{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;pointer-events:none}
.ba-slide:has(.ba-slide-range:focus-visible) .ba-slide-knob{outline:3px solid var(--sky,#1684C5);outline-offset:3px}
.ba-slide-zoom{position:absolute;top:10px;right:10px;width:38px;height:38px;border-radius:50%;border:0;background:rgba(255,255,255,.92);color:var(--ink,#163A50);display:grid;place-items:center;cursor:zoom-in;box-shadow:0 1px 6px rgba(10,24,34,.2)}
.ba-slide-zoom svg{width:18px;height:18px}
.ba-slide-zoom:focus-visible,.ba-slide-close:focus-visible{outline:3px solid var(--sky,#1684C5);outline-offset:2px}
.ba-slide-dialog{border:0;padding:0;background:transparent;width:min(92vw,760px);max-width:none;max-height:94vh;overflow:visible}
.ba-slide-dialog::backdrop{background:rgba(10,24,34,.86)}
.ba-slide-dialog .ba-slide{border-radius:12px;max-height:88vh;margin:0 auto}
.ba-slide-close{position:absolute;top:-6px;right:-6px;z-index:2;width:42px;height:42px;border-radius:50%;border:0;background:#fff;color:var(--ink,#163A50);font-size:24px;line-height:1;cursor:pointer;box-shadow:0 2px 10px rgba(10,24,34,.3)}
.ba-hint{margin:18px 0 0;font-size:14.5px;color:var(--muted,#6B8798);word-break:keep-all}
.b-fig.b-compare .ba-slide{border-radius:12px}
@media(max-width:600px){.ba-slide-tag{font-size:16px;padding:7px 13px;bottom:10px}.ba-slide-b{left:10px}.ba-slide-a{right:10px}.ba-slide-knob{width:44px;height:44px;margin:-22px 0 0 -22px}.ba-slide-knob svg{width:26px;height:26px}}
/* 전후 사진 카드 글자(2026-12-02 바날 측: 작다) */
.ba-card .ba-meta{padding:12px 20px 18px;text-align:center}.ba-card .ba-meta .tag{font-size:22px;font-weight:800;line-height:1.35;color:var(--sky-d,#0F6CA6);letter-spacing:0}.ba-card .ba-meta p{font-size:15px;margin-top:4px}
@media(max-width:600px){.ba-card .ba-meta{padding:10px 14px 16px}.ba-card .ba-meta .tag{font-size:19px}.ba-card .ba-meta p{font-size:14px}}
/* 부위 표시(관리자에서 그린 타원) */
.ba-slide-marks{position:absolute;inset:0;width:100%;height:100%;pointer-events:none;overflow:visible;filter:drop-shadow(0 0 1.5px rgba(255,255,255,.95)) drop-shadow(0 0 3px rgba(10,24,34,.35))}
.ba-slide-marks ellipse{fill:none;stroke:#E53935;stroke-width:3;stroke-dasharray:9 6}
/* 전후 사진 카드 그림자 조금 더(2026-12-02) */
.ba-sec .ba-card{box-shadow:0 6px 22px rgba(16,44,66,.10),0 1px 3px rgba(16,44,66,.06)}
/* 블로그식 글쓰기 블록(2026-12-02): 사진 나란히·정렬·형광펜·글자색·구분선 — 관리자 글쓰기 화면과 같은 모양 */
.b-row{display:grid;gap:10px;margin:26px 0;align-items:start}.b-row.cols-2{grid-template-columns:1fr 1fr}.b-row.cols-3{grid-template-columns:repeat(3,1fr)}
.b-row .b-fig{margin:0}.b-row .b-fig img{width:100%}
.prose .ta-center{text-align:center}.prose .ta-right{text-align:right}
.prose h2.ta-center::before{left:50%;margin-left:-22px}
/* 형광펜은 시안의 .prose mark.hl 을 그대로 쓴다. 형광펜 안의 글자색 */
.prose mark.hl .tc-sky{color:var(--sky,#1684C5)}.prose mark.hl .tc-red{color:#D32F2F}.prose mark.hl .tc-gray{color:var(--muted,#6B8798)}
.tc-sky{color:var(--sky,#1684C5)}.tc-red{color:#D32F2F}.tc-gray{color:var(--muted,#6B8798)}
.b-post hr,.prose hr{border:0;border-top:1px solid var(--line,#DCEAF3);width:40%;margin:34px auto}

/* 블로그식 블록(2026-12-02) — 인용구 6가지·구분선 8가지·머리글자·줄 간격·글자 크기·사진 크기·표 셀 배경 */
.prose blockquote.q-quote{border:0;background:none;border-radius:0;text-align:center;padding:40px 24px 34px;position:relative;font-size:1.08em}
.prose blockquote.q-quote::before,.prose blockquote.q-quote::after{position:absolute;left:50%;transform:translateX(-50%);font:700 40px/1 Georgia,serif;color:var(--sky,#1684C5)}
.prose blockquote.q-quote::before{content:"\201C";top:2px}.prose blockquote.q-quote::after{content:"\201D";bottom:-12px}
.prose blockquote.q-bubble{border:2px solid #B8CBD8;background:#fff;border-radius:14px;padding:18px 22px;position:relative;margin-bottom:30px;text-align:center}
.prose blockquote.q-bubble::after{content:"";position:absolute;left:34px;bottom:-9px;width:14px;height:14px;background:#fff;border-right:2px solid #B8CBD8;border-bottom:2px solid #B8CBD8;transform:rotate(45deg)}
.prose blockquote.q-lineQuote{border:0;border-bottom:2px solid var(--ink,#163A50);background:none;border-radius:0;text-align:center;padding:38px 20px 16px;position:relative}
.prose blockquote.q-lineQuote::before{content:"\201C";position:absolute;top:0;left:50%;transform:translateX(-50%);font:700 38px/1 Georgia,serif;color:var(--sky,#1684C5)}
.prose blockquote.q-postit{border:0;border-radius:0;background:linear-gradient(135deg,#FFF6C4 0,#FFF6C4 calc(100% - 22px),#E9DB95 calc(100% - 22px));padding:22px 26px;box-shadow:0 3px 10px rgba(22,58,80,.12)}
.prose blockquote.q-frame{border:0;border-radius:0;text-align:center;padding:26px 30px;background:linear-gradient(var(--ink,#163A50),var(--ink,#163A50)) left top/22px 2px no-repeat,linear-gradient(var(--ink,#163A50),var(--ink,#163A50)) left top/2px 22px no-repeat,linear-gradient(var(--ink,#163A50),var(--ink,#163A50)) right bottom/22px 2px no-repeat,linear-gradient(var(--ink,#163A50),var(--ink,#163A50)) right bottom/2px 22px no-repeat}
.prose hr.hr-long{width:100%}
.prose hr.hr-bold{width:64px;border-top:4px solid #9FB3C2;border-radius:2px}
.prose hr.hr-notch{width:70%;height:10px;border:0;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2216%22%20height%3D%2210%22%3E%3Cpath%20d%3D%22M1%201l7%207%207-7%22%20fill%3D%22%23fff%22%20stroke%3D%22%239FB3C2%22%20stroke-width%3D%221.3%22/%3E%3C/svg%3E") center/16px 10px no-repeat,linear-gradient(#9FB3C2,#9FB3C2) center 1px/100% 1px no-repeat}
.prose hr.hr-diamond{width:56%;height:14px;border:0;background:url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20width%3D%2214%22%20height%3D%2214%22%3E%3Cpath%20d%3D%22M7%201l6%206-6%206-6-6z%22%20fill%3D%22%23fff%22%20stroke%3D%22%239FB3C2%22%20stroke-width%3D%221.3%22/%3E%3C/svg%3E") center/14px 14px no-repeat,linear-gradient(#9FB3C2,#9FB3C2) center/100% 1px no-repeat}
.prose hr.hr-dots{width:84px;border:0;border-top:4px dotted #9FB3C2}
.prose hr.hr-slash{width:34px;height:34px;border:0;background:linear-gradient(to top right,transparent calc(50% - .8px),#9FB3C2 calc(50% - .8px),#9FB3C2 calc(50% + .8px),transparent calc(50% + .8px))}
.prose hr.hr-vertical{width:1px;height:46px;border:0;background:#9FB3C2}
.prose .ta-justify{text-align:justify}
.prose p.dc::first-letter{float:left;font-size:3.2em;line-height:.92;font-weight:800;color:var(--sky,#1684C5);margin:.08em .14em 0 0}
.prose .lh-100{line-height:1}.prose .lh-110{line-height:1.1}.prose .lh-120{line-height:1.2}.prose .lh-130{line-height:1.3}.prose .lh-140{line-height:1.4}.prose .lh-150{line-height:1.5}.prose .lh-160{line-height:1.6}.prose .lh-170{line-height:1.7}.prose .lh-180{line-height:1.8}.prose .lh-190{line-height:1.9}.prose .lh-200{line-height:2}.prose .lh-210{line-height:2.1}.prose .lh-220{line-height:2.2}.prose .lh-230{line-height:2.3}.prose .lh-240{line-height:2.4}.prose .lh-250{line-height:2.5}.prose .lh-260{line-height:2.6}.prose .lh-270{line-height:2.7}.prose .lh-280{line-height:2.8}.prose .lh-290{line-height:2.9}.prose .lh-300{line-height:3}
.prose .fs-s{font-size:.86em}.prose .fs-l{font-size:1.25em}.prose .fs-xl{font-size:1.6em;line-height:1.4}
.prose td.bg-sky,.prose th.bg-sky{background:var(--tint2,#EAF5FB)}.prose td.bg-gray,.prose th.bg-gray{background:#F1F4F6}.prose td.bg-yellow,.prose th.bg-yellow{background:#FFF6C9}
.prose figure.size-s img{width:50%!important}.prose figure.size-m img{width:75%!important}
@media (max-width:600px){.prose figure.size-s img{width:72%!important}.prose figure.size-m img{width:100%!important}}



/* 하단 블록(2026-12-03 새 디자인): 홈페이지 카드 톤 — 얇은 선, 둥근 모서리, 옅은 하늘색, 병원 물결 마크 */
.prose .b-linkcard{display:flex;align-items:stretch;max-width:600px;margin:30px auto;border:1px solid var(--line,#DCEAF3);border-radius:16px;background:#fff;text-decoration:none!important;color:var(--ink,#163A50);overflow:hidden;box-shadow:0 1px 2px rgba(22,58,80,.04);transition:box-shadow .2s,transform .2s}
.prose .b-linkcard:hover{box-shadow:0 10px 26px rgba(22,58,80,.1);transform:translateY(-1px)}
.prose .b-linkcard .lc-mark{flex:0 0 104px;display:grid;place-items:center;background:var(--tint2,#EAF5FB);color:var(--sky,#1684C5)}
.prose .b-linkcard .lc-mark img{width:56px;height:auto;border-radius:0;margin:0}.prose .b-linkcard .lc-mark svg{width:30px;height:30px}
.prose .b-linkcard .lc-body{display:flex;flex-direction:column;justify-content:center;gap:4px;padding:16px 22px;min-width:0;text-align:left}
.prose .b-linkcard .lc-body b{font-size:16px;font-weight:700;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.prose .b-linkcard .lc-body small{font-size:13.5px;color:var(--muted,#6B8798);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.prose .b-linkcard .lc-body em{font-style:normal;font-size:12.5px;color:var(--sky,#1684C5);font-weight:600;letter-spacing:.01em}
.prose .b-consult{display:flex;align-items:center;justify-content:space-between;gap:24px;max-width:680px;margin:36px auto;padding:26px 30px;border:1px solid var(--line,#DCEAF3);border-radius:20px;background:linear-gradient(135deg,var(--tint2,#EAF5FB) 0%,var(--tint,#F5FAFE) 55%,#fff 100%);box-shadow:none;text-align:left}
.prose .b-consult p{margin:0}
.prose .b-consult .bc-at{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:600;color:var(--muted,#6B8798);letter-spacing:.01em}
.prose .b-consult .bc-at img{width:34px;height:auto;margin:0;border-radius:0}
.prose .b-consult .bc-title{font-size:23px;font-weight:800;color:var(--ink,#163A50);margin:6px 0 4px;letter-spacing:-.02em;line-height:1.3}
.prose .b-consult .bc-lead{font-size:15px;color:var(--muted,#6B8798);line-height:1.6}
.prose .b-consult small{display:block;margin-top:8px;font-size:12px;color:#8DA0AE}
.prose .b-consult .bc-btns{display:flex;flex:0 0 auto;margin:0}
.prose .b-consult .bc-btns>*{display:inline-flex;align-items:center;gap:8px;padding:13px 22px;border-radius:999px;font-weight:700;font-size:15px;background:var(--sky,#1684C5);color:#fff!important;text-decoration:none!important;white-space:nowrap;box-shadow:0 6px 16px rgba(22,132,197,.22)}
.prose .b-consult .bc-btns svg{width:16px;height:16px}
.prose .b-notice{margin:38px auto;max-width:680px;padding:26px 32px 24px;border:1px solid var(--line,#DCEAF3);border-radius:18px;background:var(--tint,#F5FAFE);text-align:center;color:var(--muted,#6B8798);font-size:14.5px;line-height:1.85}
.prose .b-notice p{margin:0 0 8px}.prose .b-notice p:last-child{margin-bottom:0}
.prose .b-notice .bn-brand{display:flex;flex-direction:column;align-items:center;gap:8px;padding-bottom:14px;margin-bottom:14px;border-bottom:1px solid var(--line,#DCEAF3);font-size:14px;font-weight:700;color:var(--ink,#163A50);letter-spacing:.02em}
.prose .b-notice .bn-brand img{width:40px;height:auto;margin:0;border-radius:0}
.prose .b-way{display:grid;grid-template-columns:5fr 6fr;margin:38px 0;background:#fff;border:1px solid var(--line,#DCEAF3);border-radius:20px;overflow:hidden}
.prose .b-way figure,.prose .b-way > img{margin:0}.prose .b-way img{display:block;width:100%;height:100%;min-height:260px;object-fit:cover;border-radius:0}
.prose .b-way .bw-info,.prose .b-way > div{padding:28px 30px}
.prose .b-way .bw-eyebrow{margin:0 0 4px;font-size:12.5px;font-weight:700;color:var(--sky,#1684C5);letter-spacing:.04em}
.prose .b-way .bw-title{font-size:21px;font-weight:800;color:var(--ink,#163A50);margin:0 0 16px;letter-spacing:-.02em}
.prose .b-way dl{display:grid;grid-template-columns:auto 1fr;gap:10px 18px;margin:0 0 20px;font-size:14.5px;line-height:1.6}
.prose .b-way dt{display:flex;align-items:flex-start;gap:6px;font-weight:700;color:var(--muted,#6B8798);font-size:13.5px;white-space:nowrap}
.prose .b-way dt svg{width:16px;height:16px;flex:0 0 16px;margin-top:3px;color:var(--sky,#1684C5)}
.prose .b-way dd{margin:0;color:var(--ink,#163A50)}
.prose .b-way address{font-style:normal}.prose .b-way address.ko{color:var(--muted,#6B8798);font-size:13px}
.prose .b-way .bw-btn{display:inline-flex;align-items:center;gap:6px;padding:10px 18px;border-radius:999px;background:#fff;border:1.5px solid var(--sky,#1684C5);color:var(--sky,#1684C5)!important;font-weight:700;font-size:14px;text-decoration:none!important}
.prose .b-way .bw-btn:hover{background:var(--tint2,#EAF5FB)}
.prose .b-way .bw-btn svg{width:15px;height:15px}
@media (max-width:700px){.prose .b-way{grid-template-columns:1fr}.prose .b-way img{min-height:0;aspect-ratio:16/10}.prose .b-linkcard .lc-mark{flex-basis:82px}.prose .b-consult{flex-direction:column;align-items:stretch;text-align:center;padding:24px 22px}.prose .b-consult .bc-at{justify-content:center}.prose .b-consult .bc-btns{justify-content:center}.prose .b-consult .bc-title{font-size:21px}.prose .b-notice{padding:22px 20px}}
/* 사진 여러 장 · 사진 링크 · 동영상 · 접은글 · 버튼 · 목차 · 스티커 */
.prose .b-collage{margin:30px 0;display:grid;gap:6px;border-radius:14px;overflow:hidden}
.prose .b-collage .bc-row{display:grid;gap:6px}.prose .b-collage .cols-2{grid-template-columns:1fr 1fr}.prose .b-collage .cols-3{grid-template-columns:1fr 1fr 1fr}
.prose .b-collage .b-fig{margin:0;position:relative}.prose .b-collage img{display:block;width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:0;margin:0}.prose .b-collage .cols-3 img{aspect-ratio:1/1}
.prose .b-collage figcaption{position:absolute;left:0;right:0;bottom:0;margin:0;padding:18px 10px 7px;background:linear-gradient(transparent,rgba(10,30,45,.55));color:#fff;font-size:12.5px;text-align:left}
.prose .b-slides{position:relative;margin:32px 0;border-radius:16px;overflow:hidden;background:#F2F6F9}
.prose .bs-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch;outline:none}
.prose .bs-track::-webkit-scrollbar{display:none}
.prose .bs-item{flex:0 0 100%;scroll-snap-align:start;margin:0!important}
.prose .bs-item img{display:block;width:100%;aspect-ratio:4/3;object-fit:contain;background:#F2F6F9;border-radius:0;margin:0}
.prose .bs-item figcaption{margin:0;padding:10px 16px 0;font-size:14px;color:var(--muted,#6B8798);text-align:center}
.prose .bs-nav{position:absolute;top:calc(50% - 44px);width:44px;height:44px;border-radius:50%;border:0;background:rgba(255,255,255,.94);box-shadow:0 3px 12px rgba(22,58,80,.18);font-size:28px;line-height:40px;color:var(--ink,#163A50);cursor:pointer;padding:0}
.prose .bs-prev{left:14px}.prose .bs-next{right:14px}.prose .bs-nav:disabled{opacity:0;pointer-events:none}
.prose .bs-count{position:absolute;top:12px;right:12px;margin:0;padding:4px 11px;border-radius:999px;background:rgba(22,58,80,.72);color:#fff;font-size:12.5px;line-height:1.5}
.prose .bs-dots{display:flex;gap:6px;justify-content:center;padding:12px 0 14px}
.prose .bs-dots i{width:7px;height:7px;border-radius:4px;background:#C5D3DD;cursor:pointer;transition:width .2s}.prose .bs-dots i.on{background:var(--sky,#1684C5);width:20px}
@media (hover:none){.prose .bs-nav{display:none}}
.prose a.b-imglink{display:block;border:0;text-decoration:none}.prose a.b-imglink:hover img{opacity:.92}
.prose .b-video{margin:30px 0}.prose .bv-frame{position:relative;aspect-ratio:16/9;border-radius:14px;overflow:hidden;background:#0d1a22}
.prose .bv-frame iframe{position:absolute;inset:0;width:100%;height:100%;border:0}.prose .b-video figcaption{margin-top:8px;font-size:14px;color:var(--muted,#6B8798);text-align:center}
.prose details.b-more{margin:26px 0;border:1px solid var(--line,#DCEAF3);border-radius:14px;background:#fff;overflow:hidden}
.prose details.b-more summary{list-style:none;cursor:pointer;padding:15px 20px;font-weight:700;color:var(--ink,#163A50);display:flex;justify-content:space-between;align-items:center;background:var(--tint,#F5FAFE)}
.prose details.b-more summary::-webkit-details-marker{display:none}
.prose details.b-more summary::after{content:"";width:9px;height:9px;border-right:2px solid var(--sky,#1684C5);border-bottom:2px solid var(--sky,#1684C5);transform:rotate(45deg);margin:-4px 4px 0 12px;transition:transform .2s}
.prose details.b-more[open] summary::after{transform:rotate(-135deg);margin-top:4px}
.prose details.b-more .bm-body{padding:16px 22px 6px}
.prose .b-btnrow{text-align:center;margin:28px 0}
.prose .b-btn{display:inline-flex;align-items:center;gap:8px;padding:13px 26px;border-radius:999px;background:var(--sky,#1684C5);color:#fff!important;font-weight:700;font-size:16px;text-decoration:none!important;box-shadow:0 6px 16px rgba(22,132,197,.22)}
.prose .b-btn.line{background:#fff;color:var(--sky,#1684C5)!important;border:1.5px solid var(--sky,#1684C5);box-shadow:none}.prose .b-btn svg{width:17px;height:17px}
.prose .b-toc{margin:28px 0;padding:20px 24px;border-radius:16px;background:var(--tint,#F5FAFE);border:1px solid var(--line,#DCEAF3)}
.prose .b-toc .bt-title{margin:0 0 8px;font-size:14px;font-weight:800;color:var(--ink,#163A50);letter-spacing:.06em}
.prose .b-toc ol{margin:0;padding-left:20px}.prose .b-toc li{margin:4px 0}.prose .b-toc li.lv3{margin-left:18px;list-style:circle;font-size:.95em}
.prose .b-toc a{color:var(--ink,#163A50);text-decoration:none}.prose .b-toc a:hover{color:var(--sky,#1684C5);text-decoration:underline}
.prose h2[id],.prose h3[id]{scroll-margin-top:96px}
.prose .b-sticker{text-align:center;margin:18px 0}.prose .b-sticker img{display:inline-block;width:120px!important;height:120px;border-radius:0;margin:0}
.prose .ff-nanum-gothic{font-family:'Nanum Gothic',var(--font,sans-serif)}.prose .ff-nanum-myeongjo{font-family:'Nanum Myeongjo',var(--font,sans-serif)}.prose .ff-nanum-pen{font-family:'Nanum Pen Script',var(--font,sans-serif)}.prose .ff-nanum-brush{font-family:'Nanum Brush Script',var(--font,sans-serif)}.prose .ff-black-han-sans{font-family:'Black Han Sans',var(--font,sans-serif)}.prose .ff-gothic-a1{font-family:'Gothic A1',var(--font,sans-serif)}.prose .ff-gowun-dodum{font-family:'Gowun Dodum',var(--font,sans-serif)}.prose .ff-gowun-batang{font-family:'Gowun Batang',var(--font,sans-serif)}.prose .ff-noto-serif{font-family:'Noto Serif KR',var(--font,sans-serif)}.prose .ff-ibm-plex{font-family:'IBM Plex Sans KR',var(--font,sans-serif)}.prose .ff-hahmlet{font-family:'Hahmlet',var(--font,sans-serif)}.prose .ff-song-myung{font-family:'Song Myung',var(--font,sans-serif)}.prose .ff-do-hyeon{font-family:'Do Hyeon',var(--font,sans-serif)}.prose .ff-jua{font-family:'Jua',var(--font,sans-serif)}.prose .ff-gaegu{font-family:'Gaegu',var(--font,sans-serif)}


/* Shared group caption: one description beneath the complete row, never cropped. */
.prose .b-photo-group,.cms-reading .b-photo-group{margin:28px 0}
.b-photo-group>.b-row,.b-photo-group>.b-collage,.b-photo-group>.b-slides{margin:0}
.prose .b-photo-group>.b-group-caption,.cms-reading .b-photo-group>.b-group-caption{margin:8px 0 0;padding:0;font-size:14px;line-height:1.7;text-align:center;color:var(--muted,#617988);white-space:pre-wrap;overflow-wrap:anywhere}
.prose .medical-disclaimer{border-top:1px solid var(--line,#DCEAF3);padding:18px 0 0;margin-top:36px;font-size:14px;line-height:1.8;color:var(--muted,#617988)}
.prose .medical-disclaimer>span{color:#A46210}

.prose blockquote.q-quote::before{left:calc(50% - 56px)}
.prose blockquote.q-quote::after{left:calc(50% + 56px)}
.prose .b-notice p:not(.bn-brand),.prose .ed-notice p{word-break:keep-all;text-wrap:balance}

.b-photo-text{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(16px,4vw,36px);align-items:center;margin:28px 0}.b-photo-text>figure{min-width:0;width:100%;margin:0;grid-column:1;grid-row:1}.b-photo-text>.b-photo-copy{min-width:0;grid-column:2;grid-row:1}.b-photo-text.side-right>figure{grid-column:2}.b-photo-text.side-right>.b-photo-copy{grid-column:1}.b-photo-text img{width:100%;height:auto;object-fit:contain}.b-photo-text .b-photo-copy>p{margin:0 0 1em}@media(max-width:600px){.b-photo-text{display:flex;flex-direction:column;align-items:stretch}.b-photo-text>.b-photo-copy{width:100%}}

.prose .b-sticker.is-doctor img{width:180px!important;height:180px}

/* Uniform group frames; single photos keep their original proportions. */
.b-row{display:grid;gap:10px;align-items:start}.b-row.cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.b-row.cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}
.b-row>.b-fig{margin:0;min-width:0}
:is(.prose,.cms-reading-page) :is(.b-row,.b-collage) .b-fig img{display:block;width:100%!important;height:auto;aspect-ratio:3/2;object-fit:cover;object-position:center;margin:0}
.medical-disclaimer{border-top:1px solid var(--line,#DCEAF3);padding:18px 0 0;margin-top:36px;font-size:14px;line-height:1.8;color:var(--muted,#617988)}
.medical-warning-icon{display:inline-block;width:16px;height:16px;min-width:16px;vertical-align:-2px;color:#A46210;margin-inline-end:3px}
.ba-meta .ba-details{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.ba-meta .ba-details span{display:inline-block;max-width:100%;padding:4px 9px;border:1px solid #d6e6ef;border-radius:6px;background:#f1f7fb;color:#254c64;font-size:14px;line-height:1.5;overflow-wrap:anywhere}
.ba-meta .ba-custom-note{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}
/* 2026-12-03 박수호 원장: 글 맨 앞 「요약」은 기본으로 접어 둔다(src/editorial-summary.ts). 작고 옅은 「요약 보기」 글씨 단추 — 키보드로 갈 수 있고 이름이 있다. 펼치면 원래 요약 상자 그대로. 요약 글은 HTML 에 그대로라 검색·AI 가 읽는다 */
.prose details.sum-fold{margin:0 0 32px}
.prose details.sum-fold>summary{display:inline-flex;align-items:center;gap:7px;list-style:none;cursor:pointer;padding:2px 0;font-size:13px;font-weight:500;line-height:1.5;letter-spacing:0;color:#667887;border-radius:4px}
.prose details.sum-fold>summary::-webkit-details-marker{display:none}
.prose details.sum-fold>summary::after{content:"";width:5px;height:5px;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-2px) rotate(45deg);transition:transform .2s}
.prose details.sum-fold[open]>summary::after{transform:translateY(1px) rotate(-135deg)}
@media(hover:hover){.prose details.sum-fold>summary:hover{color:var(--muted,#4C6475);text-decoration:underline;text-underline-offset:3px}}
.prose details.sum-fold>.b-sum{margin:10px 0 0}
.prose.b-post details.sum-fold+h2{margin-top:0;padding-top:0}
.prose.b-post details.sum-fold+h2::before{display:none}

/* Before/after cards: optional information sits inside the photo; only title and prose below. */
.ba-photo-info{position:absolute;z-index:1;top:14px;left:14px;max-width:calc(100% - 76px);display:flex;flex-wrap:wrap;align-content:flex-start;gap:6px;pointer-events:none;text-align:start}
.ba-photo-info span{max-width:100%;padding:5px 9px;border:1px solid rgba(195,219,233,.9);border-radius:6px;background:rgba(255,255,255,.94);color:#183f56;font-size:16px;font-weight:700;line-height:1.4;overflow-wrap:anywhere;box-shadow:0 1px 3px rgba(16,44,66,.08)}
.ba-card .ba-meta .ba-case-title{margin:0;color:var(--sky-d,#0F6CA6);font-size:28px;line-height:1.35;font-weight:800;letter-spacing:0}
.ba-card .ba-meta .ba-custom-note{margin:8px 0 0;font-size:16px}
@media(max-width:600px){.ba-photo-info{top:9px;left:9px;gap:4px;max-width:calc(100% - 60px)}.ba-photo-info span{padding:3px 6px;font-size:14px;line-height:1.35}.ba-card .ba-meta .ba-case-title{font-size:24px}.ba-card .ba-meta .ba-custom-note{font-size:15px}}
