/* findcaremap.co.kr 전용 디자인 (11-05) — '얼굴 부위 지도'. 지도처럼: 옅은 회청색 바탕에 격자, 먹색 선 그림,
   부위 색은 지도 범례처럼 그림·점·카드 그림에만. 글꼴은 IBM Plex Sans KR 하나. */
:root {
  --ground: #EEF2F4;
  --paper: #FFFFFF;
  --ink: #15212C;
  --ink-2: #485664;
  --ink-3: #66737F;
  --line: #D6DEE4;
  --grid: rgba(21, 33, 44, .055);
  --link: #2F5FBF;
  --font: 'IBM Plex Sans KR', 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --wrap: 1200px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--font); font-size: 17px; line-height: 1.75; word-break: keep-all; overflow-wrap: break-word; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.025em; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--link); outline-offset: 3px; border-radius: 4px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 광고 표시 — 모든 페이지 맨 위 (지우지 말 것) */
.ad-band { background: var(--ink); color: #E8EEF2; font-size: 13px; line-height: 1.55; padding: 9px 20px; text-align: center; }

/* 헤더 */
.top { position: sticky; top: 0; z-index: 30; background: var(--paper); border-bottom: 1px solid var(--line); }
.top .wrap { display: flex; align-items: center; gap: 36px; height: 66px; }
.brand { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 700; letter-spacing: -0.03em; white-space: nowrap; }
.mark { position: relative; width: 18px; height: 18px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--ink); }
.mark::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: var(--paper); }
.nav { display: flex; gap: 4px; margin-left: auto; font-size: 15px; font-weight: 500; color: var(--ink-2); overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { display: inline-flex; align-items: center; gap: 7px; padding: 7px 12px; border-radius: 6px; white-space: nowrap; }
.nav a::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.nav a:hover { background: var(--ground); color: var(--ink); }
.nav a[aria-current="page"] { background: var(--ink); color: #FFFFFF; }
.top .about { font-size: 14px; color: var(--ink-2); white-space: nowrap; }

/* 범례 점·날짜 */
.pin { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--ink-2); }
.pin::before { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--c); }
.date { font-size: 13.5px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.sec-title { font-size: 26px; }
.legend { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.legend a { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); font-size: 15px; font-weight: 600; }
.legend .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.legend .n { font-weight: 500; font-size: 13px; color: var(--ink-3); font-variant-numeric: tabular-nums; }
.legend a:hover { border-color: var(--c); }
.legend a[aria-current] { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.legend a[aria-current] .n { color: #B9C5CF; }

/* 지도 바탕 (격자) */
.hero, .sec-hero, .post-head {
  background-color: var(--ground);
  background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px);
  background-size: 40px 40px;
  border-bottom: 1px solid var(--line);
}

/* 첫 화면 — 왼쪽 글, 오른쪽 얼굴 지도 */
.hero { padding: 40px 0 0; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 40px; align-items: end; }
.hero-copy { align-self: center; padding-bottom: 40px; }
.hero-map { margin-bottom: -1px; }
.hero h1 { font-size: clamp(38px, 4.4vw, 58px); line-height: 1.16; letter-spacing: -0.04em; }
.hero .lede { margin-top: 16px; font-size: 19px; color: var(--ink-2); }
.ask { margin-top: 36px; }
.ask h2 { font-size: 22px; }
.ask p { margin-top: 4px; font-size: 15.5px; color: var(--ink-2); }
.hero .legend { margin-top: 16px; }
.hero .tally { margin-top: 22px; font-size: 14px; color: var(--ink-3); }
.hero .tally a { color: var(--ink); font-weight: 600; border-bottom: 1px solid currentColor; }

/* 얼굴 지도 */
.fmap { display: block; width: 100%; height: auto; overflow: visible; }
.fmap .rg path { fill: var(--c); fill-opacity: .2; stroke: var(--c); stroke-width: 2; stroke-linejoin: round; transition: fill-opacity .15s ease; }
.fmap .k-lift .rg path { fill-opacity: .12; stroke: none; }
.fmap .tx circle { fill: var(--c); }
.fmap .art { pointer-events: none; }
.fmap .art path { fill: none; stroke: var(--ink); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.fmap .art .face { stroke-width: 2.6; }
.fmap .ld { fill: none; stroke: var(--c); stroke-width: 1.6; }
.fmap .pt { fill: var(--paper); stroke: var(--c); stroke-width: 2.4; }
.fmap text { font-family: var(--font); font-size: 17px; font-weight: 700; fill: var(--ink); }
.fmap text.n { font-size: 14px; font-weight: 500; fill: var(--ink-2); }
.fmap a:hover .rg path, .fmap a:focus .rg path, .fmap .k-lift:hover .rg path { fill-opacity: .5; }
.fmap .co:hover text:not(.n), .fmap .co:focus text:not(.n) { text-decoration: underline; }
.fmap a:focus { outline: none; }
.fmap a:focus-visible .pt { stroke-width: 5; }
/* 11-05 몸 지도: 왼쪽 전신 + 오른쪽 얼굴 돋보기 원. 확대·축소한 그림도 선 굵기는 같게 */
.fmap path, .fmap ellipse, .fmap circle { vector-effect: non-scaling-stroke; }
.fmap .lens { fill: var(--ground); }
.fmap .lens-rim { fill: none; stroke: var(--ink); stroke-width: 2; pointer-events: none; }
.fmap .base { fill: var(--paper); }
.fmap .art .head { fill: var(--paper); stroke: var(--ink); stroke-width: 2.4; }
.fmap .zoom .ring, .fmap .zoom .zl { fill: none; stroke: var(--ink-3); stroke-width: 1.6; stroke-dasharray: 5 5; }
.fmap text.in { font-size: 16px; }
.fmap text.in.n { font-size: 13.5px; }

/* 새로 올라온 글 */
.latest { padding: 64px 0 24px; }
.latest-grid { margin-top: 24px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.recent-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.recent-list .card { border-bottom: 1px solid var(--line); }
.card > a { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 16px; align-items: start; padding: 18px 0; }
.card .glyph { width: 64px; height: 64px; }
.card .body { display: block; }
.card h3 { margin-top: 4px; font-size: 18px; line-height: 1.45; font-weight: 600; }
.card p.ex { margin-top: 6px; font-size: 14.5px; line-height: 1.65; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .date { display: block; margin-top: 6px; }
.recent-list p.ex { display: none; }
.lead > a { grid-template-columns: 120px minmax(0, 1fr); gap: 22px; padding: 24px; border: 1px solid var(--line); border-radius: 8px; background-color: var(--ground); background-image: linear-gradient(var(--grid) 1px, transparent 1px), linear-gradient(90deg, var(--grid) 1px, transparent 1px); background-size: 40px 40px; }
.lead .glyph { width: 120px; height: 120px; background: var(--paper); border-radius: 12px; }
.lead h3 { font-size: clamp(24px, 2.4vw, 30px); line-height: 1.35; font-weight: 700; }
.lead p.ex { font-size: 16px; -webkit-line-clamp: 3; }
.card a:hover h3, .area li a:hover .t, .visit li a:hover .t, .archive li a:hover .t, .rail .more a:hover { color: var(--link); text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }

/* 부위별 글 — 지도 범례처럼, 얼굴 전체는 넓게 */
.areas { padding: 72px 0 40px; }
.area-grid { margin-top: 24px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; border-top: 2px solid var(--ink); }
.area { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 22px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.area:first-child { grid-column: 1 / -1; }
.area:first-child ul { columns: 2; column-gap: 40px; }
.area-glyph img { width: 96px; height: 96px; }
.area h3 { font-size: 22px; display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; }
.area h3 a { border-bottom: 3px solid var(--c); }
.area h3 .n { font-size: 14px; font-weight: 500; color: var(--ink-3); }
.area .desc { margin-top: 6px; font-size: 15px; color: var(--ink-2); }
.area ul { list-style: none; margin: 14px 0 0; padding: 0; }
.area li { break-inside: avoid; }
.area li a { display: flex; justify-content: space-between; gap: 14px; padding: 9px 0; border-top: 1px dashed var(--line); font-size: 15.5px; line-height: 1.5; }
.area li .date { flex: none; }
.area .all, .visit .all { display: inline-block; margin-top: 12px; font-size: 14px; font-weight: 600; color: var(--link); }
.area .all:hover, .visit .all:hover { text-decoration: underline; }

/* 병원 안내 띠 */
.visit { margin-top: 48px; padding: 48px 0 52px; background: var(--ink); color: #E8EEF2; }
.visit-head { display: grid; grid-template-columns: 64px minmax(0, 1fr) auto; gap: 18px; align-items: center; }
.visit-head img { width: 64px; height: 64px; border-radius: 10px; background: #F4F6F8; }
.visit h2 { font-size: 24px; color: #FFFFFF; }
.visit-head p { margin-top: 2px; font-size: 15px; color: #B9C5CF; }
.visit .all { margin: 0; color: #FFFFFF; border-bottom: 1px solid currentColor; }
.visit ul { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px; }
.visit li a { display: block; padding-top: 16px; border-top: 1px solid #3A4856; }
.visit .t { display: block; font-size: 18px; font-weight: 600; line-height: 1.45; color: #FFFFFF; }
.visit .ex { display: -webkit-box; margin-top: 8px; font-size: 14.5px; line-height: 1.65; color: #B9C5CF; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.visit .date { display: block; margin-top: 8px; color: #93A1AD; }
.visit li a:hover .t { color: #FFFFFF; }

/* 전체 글 */
.archive { padding: 72px 0 96px; }
.archive ul { list-style: none; margin: 20px 0 0; padding: 0; columns: 2; column-gap: 56px; }
.archive li { break-inside: avoid; }
.archive li a { display: grid; grid-template-columns: 92px minmax(0, 1fr); gap: 2px 14px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.archive li .t { font-weight: 500; font-size: 15.5px; }
.archive li .pin { grid-column: 2; font-size: 12.5px; font-weight: 500; }

/* 부위·태그·목록 페이지 */
.sec-hero { padding: 48px 0 44px; }
.sec-hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; }
.crumb { font-size: 13.5px; color: var(--ink-3); }
.crumb a:hover { color: var(--ink); text-decoration: underline; }
.crumb span[aria-hidden] { margin: 0 9px; color: #A9B5BF; }
.sec-hero h1 { margin-top: 14px; font-size: clamp(36px, 4.4vw, 56px); line-height: 1.15; letter-spacing: -0.04em; }
.sec-hero .sub { margin-top: 12px; font-size: 18px; color: var(--ink-2); max-width: 36em; }
.sec-hero .count { margin-top: 6px; font-size: 14.5px; color: var(--ink-3); }
.sec-hero .legend { margin-top: 24px; }
.sec-glyph { width: 220px; height: 220px; }
.grid-list { padding: 40px 0 96px; }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); column-gap: 32px; border-top: 1px solid var(--line); }
.cards .card { border-bottom: 1px solid var(--line); }
.cards .card > a { padding: 22px 0; }
.pager { margin-top: 48px; display: flex; justify-content: center; gap: 6px; }
.pager a, .pager span { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); border-radius: 6px; font-size: 14px; }
.pager [aria-current] { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }

/* 글 페이지 */
.post-head { padding: 36px 0 32px; }
.post-head .wrap { max-width: 1120px; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: end; }
.pin-chip { margin-top: 20px; display: inline-flex; align-items: center; gap: 8px; padding: 5px 12px 5px 10px; border: 1px solid var(--line); border-radius: 6px; background: var(--paper); font-weight: 600; font-size: 14px; }
.pin-chip .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--c); }
.post-head h1 { margin-top: 14px; max-width: 22em; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.32; letter-spacing: -0.035em; }
.post-meta { margin-top: 14px; display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 14px; color: var(--ink-3); }
.post-glyph { width: 128px; height: 128px; }
.post-layout { max-width: 1120px; margin: 0 auto; padding: 36px 28px 88px; display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: 64px; align-items: start; }
.rail { position: sticky; top: 90px; display: grid; gap: 28px; }
.rail h2 { font-size: 15px; padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.rail ul { list-style: none; margin: 0; padding: 0; }
.toc ol { list-style: none; margin: 10px 0 0; padding: 0; }
.toc li a { display: block; padding: 6px 0 6px 14px; border-left: 3px solid var(--line); font-size: 14.5px; line-height: 1.45; color: var(--ink-2); }
.toc li a:hover, .toc li a.on { border-left-color: var(--c, var(--link)); color: var(--ink); }
.rail .more li a { display: block; padding: 10px 0; border-bottom: 1px solid var(--line); font-size: 14.5px; line-height: 1.45; }
.areas-mini .legend { margin-top: 12px; gap: 6px; }
.areas-mini .legend a { padding: 6px 10px; font-size: 14px; }

.post-body { font-size: 17.5px; line-height: 1.88; color: #26323D; max-width: 40em; }
.post-body > * + * { margin-top: 1.15em; }
.post-body > aside.site-disclosure { margin: 0 0 1.6em !important; }
.post-body > aside.site-disclosure + p, .post-body > p:first-child { font-size: 19px; line-height: 1.8; color: var(--ink); }
.post-body h1, .post-body h2 { margin-top: 2.2em; font-size: 26px; line-height: 1.42; scroll-margin-top: 90px; display: flex; gap: 12px; align-items: baseline; }
.post-body h2::before, .post-body h1::before { content: ""; flex: none; width: 12px; height: 12px; border-radius: 50%; background: var(--c, var(--link)); transform: translateY(-2px); }
.post-body h3 { margin-top: 1.9em; font-size: 19.5px; line-height: 1.45; }
.post-body h2 + *, .post-body h3 + * { margin-top: .7em; }
.post-body a { color: var(--link); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(47, 95, 191, .35); }
.post-body strong { font-weight: 700; color: var(--ink); }
.post-body ul, .post-body ol { padding-left: 1.3em; }
.post-body ul { list-style: disc; } .post-body ol { list-style: decimal; }
.post-body li + li { margin-top: .45em; }
.post-body li::marker { color: var(--ink-3); }
.post-body figure { margin: 2em 0; }
.post-body figure img, .post-body > img, .post-body p img { width: 100%; border-radius: 8px; }
/* 로고 — 흰 글씨 로고와 검은 글씨 로고가 둘 다 보이게 중간 회색 바탕 (어두운 바탕이면 검은 로고가 사라진다) */
.post-body img[alt*="로고"], .post-body img[alt*="logo" i] { width: auto; max-width: min(100%, 320px); padding: 20px 28px; background: #7F8A94; border-radius: 8px; }
.post-body figcaption { margin-top: 10px; font-size: 13.5px; color: var(--ink-3); }
.post-body hr { border: 0; border-top: 1px solid var(--line); margin: 2.4em 0; }
.post-body blockquote { margin: 1.6em 0; padding: .6em 1.2em; border-left: 3px solid var(--c, var(--link)); background: var(--ground); color: var(--ink-2); }
.post-body .overflow-x-auto { overflow-x: auto; margin: 1.8em 0; border: 1px solid var(--line); border-radius: 8px; }
.post-body table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.55; }
.post-body th, .post-body td { padding: 11px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); min-width: 5.5em; }
.post-body thead th { background: var(--ground); font-weight: 700; white-space: nowrap; }
.post-body tbody tr:last-child td { border-bottom: 0; }
.post-body details { border-top: 1px solid var(--line); padding: 12px 0; }
.post-body summary { cursor: pointer; font-weight: 700; }
.post-body p[class*="border-t"], .post-body .disclaimer { margin-top: 2.4em; padding-top: 1em; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.7; color: var(--ink-3); }
.post-body small { font-size: 13.5px; color: var(--ink-3); }

.post-foot { margin-top: 48px; max-width: 40em; }
.post-foot .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.post-foot .tags a { font-size: 13.5px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink-2); }
.post-foot .tags a:hover { background: var(--ink); border-color: var(--ink); color: #FFFFFF; }
.pn { margin-top: 32px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; border-top: 1px solid var(--line); padding-top: 20px; }
.pn a { display: block; }
.pn small { display: block; font-size: 13px; color: var(--ink-3); }
.pn span { display: block; margin-top: 4px; font-size: 17px; font-weight: 600; line-height: 1.45; }
.pn a:hover span { color: var(--link); }
.pn .next { text-align: right; }
.sources { margin-top: 40px; max-width: 40em; padding: 20px 22px; background: var(--ground); border-radius: 8px; font-size: 14px; }
.sources h2 { font-size: 16px; }
.sources ol { margin: 10px 0 0; padding-left: 1.2em; }
.related { padding: 64px 0 96px; background: var(--ground); border-top: 1px solid var(--line); }
.related .cards { margin-top: 20px; }

/* 푸터 */
.foot { background: var(--ink); color: #B9C5CF; padding: 56px 0 40px; font-size: 14.5px; }
.foot .cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 40px; }
.foot .brand { color: #FFFFFF; }
.foot .mark { background: #FFFFFF; }
.foot .mark::after { background: var(--ink); }
.foot .about-site { margin-top: 14px; max-width: 28em; }
.foot h2 { font-size: 14px; color: #FFFFFF; margin-bottom: 10px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { padding: 3px 0; }
.foot li .n { color: #8796A3; margin-left: 2px; }
.foot a:hover { color: #FFFFFF; text-decoration: underline; }
.foot .tags { display: flex; flex-wrap: wrap; gap: 6px 14px; }
.foot .disclosure { margin-top: 40px; padding-top: 20px; border-top: 1px solid #33414E; color: #DCE4EA; font-size: 13px; line-height: 1.6; }
.foot .copy { margin-top: 10px; font-size: 12.5px; color: #8796A3; }

@media (max-width: 1040px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 16px; }
  .hero-map { max-width: 620px; margin: 0 auto; width: 100%; }
  .latest-grid { grid-template-columns: minmax(0, 1fr); }
  .area-grid { grid-template-columns: minmax(0, 1fr); }
  .visit ul { grid-template-columns: minmax(0, 1fr); gap: 0; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-layout { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .rail { position: static; }
  .rail .toc { display: none; }
  .foot .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 16.5px; }
  .wrap { padding: 0 20px; }
  .top .wrap { flex-wrap: wrap; height: auto; gap: 0; padding-top: 12px; }
  .nav { order: 3; width: 100%; margin: 8px 0 10px; font-size: 14px; }
  .hero { padding: 28px 0 0; }
  .hero-copy { padding-bottom: 8px; }
  .lead > a { grid-template-columns: 72px minmax(0, 1fr); gap: 14px; padding: 18px; }
  .lead .glyph { width: 72px; height: 72px; }
  .hero .lede { font-size: 17px; }
  .ask { margin-top: 24px; }
  /* 작은 화면 — 그림 위 이름표는 너무 작아져서 숨기고, 위의 부위 목록으로 고른다 */
  .fmap .callouts { display: none; }
  .hero-map { max-width: 360px; }
  .area { grid-template-columns: 64px minmax(0, 1fr); gap: 16px; }
  .area-glyph img { width: 64px; height: 64px; }
  .area:first-child ul { columns: 1; }
  .area li a { flex-direction: column; gap: 2px; }
  .visit-head { grid-template-columns: 56px minmax(0, 1fr); }
  .visit-head img { width: 56px; height: 56px; }
  .visit .all { grid-column: 2; justify-self: start; }
  .cards { grid-template-columns: minmax(0, 1fr); }
  .archive ul { columns: 1; }
  .sec-hero .wrap { grid-template-columns: minmax(0, 1fr) 96px; gap: 16px; align-items: start; }
  .sec-glyph { width: 96px; height: 96px; }
  .post-head .wrap { grid-template-columns: minmax(0, 1fr); }
  .post-glyph { display: none; }
  .post-layout { padding: 24px 20px 56px; }
  .post-body { font-size: 16.5px; }
  .post-body > aside.site-disclosure + p, .post-body > p:first-child { font-size: 17.5px; }
  .post-body h1, .post-body h2 { font-size: 22px; }
  .foot .cols { grid-template-columns: minmax(0, 1fr); }
  .pn { grid-template-columns: minmax(0, 1fr); }
  .pn .next { text-align: left; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }

/* 11-05 다국어 — 언어 고르기(머리말 오른쪽, 펼치는 목록) */
.langs { position: relative; margin-left: 10px; font-size: 14px; }
.langs summary { list-style: none; display: inline-flex; align-items: center; gap: 6px; padding: 6px 10px; border: 1px solid var(--line); border-radius: 6px; color: var(--ink-2); cursor: pointer; white-space: nowrap; }
.langs summary::-webkit-details-marker { display: none; }
.langs summary:hover, .langs[open] summary { border-color: var(--ink); color: var(--ink); }
.langs ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 40; min-width: 140px; margin: 0; padding: 6px; list-style: none; background: var(--paper); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 10px 28px rgba(21, 33, 44, .14); }
.langs a { display: block; padding: 7px 10px; border-radius: 5px; color: var(--ink); }
.langs a:hover { background: var(--ground); }
.langs a[aria-current] { font-weight: 700; }
/* 일본어·중국어: keep-all 은 한자·가나 사이 줄바꿈을 막는다 → 보통 줄바꿈 + 그 언어 글꼴 */
:lang(ja), :lang(zh) { word-break: normal; line-break: strict; }
html:lang(ja) { --font: 'Noto Sans JP', 'IBM Plex Sans KR', 'Hiragino Sans', 'Yu Gothic', system-ui, sans-serif; }
html:lang(zh) { --font: 'Noto Sans SC', 'IBM Plex Sans KR', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif; }

/* 11-05 일본어 — 낱말(구) 단위로 줄바꿈 (지원 브라우저만, 나머지는 보통 줄바꿈) */
:lang(ja) { word-break: auto-phrase; }

/* 11-05 영어 — 라틴 글자는 넓어 지도 이름표를 조금 작게 */
html:lang(en) .fmap text { font-size: 15.5px; }
html:lang(en) .fmap text.n { font-size: 13px; }

/* 11-05 여러 병원 공용 — 병원이 둘 이상일 때 목록 카드마다 '광고 · 병원 이름' (글 첫머리 광고 표시와 같은 호박색) */
.mag-ad{display:block;width:fit-content;margin:.3rem 0 .2rem;padding:1px 7px;border:1px solid #e7c873;border-radius:3px;background:#fffbeb;color:#78350f;font-size:.75rem;font-weight:600;line-height:1.5;letter-spacing:0}
