/* koreanmedicalinsider.com 전용 디자인 (11-05 v2) — 사진 중심 매거진. 가는 글씨, 돌색·먹색, 색은 분야 점에만.
   한국어 용어는 사진 위 작은 이름표와 '병원에서 듣는 말'로만 쓴다. */
:root {
  --paper: #FFFFFF;
  --stone: #F4F4F2;
  --ink: #16181B;
  --ink-2: #4A4F57;
  --ink-3: #737881;
  --line: #E4E5E3;
  --latin: 'Hanken Grotesk', 'Pretendard Variable', Pretendard, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --hangul: 'Pretendard Variable', Pretendard, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --wrap: 1240px;
}
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: var(--latin); font-size: 18px; line-height: 1.6; 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: 400; letter-spacing: -0.015em; }
p { margin: 0; }
[lang="ko"] { font-family: var(--hangul); word-break: keep-all; }
:focus-visible { outline: 2px solid var(--ink); outline-offset: 3px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 32px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* 광고 표시 — 모든 페이지 맨 위 (지우지 말 것) */
.ad-band { background: var(--ink); color: #E8E9EB; font-size: 13.5px; line-height: 1.5; 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: 48px; height: 64px; }
.brand { font-weight: 600; font-size: 18px; letter-spacing: -0.01em; white-space: nowrap; }
.nav { display: flex; gap: 30px; margin-left: auto; font-size: 15px; color: var(--ink-2); overflow-x: auto; scrollbar-width: none; }
.nav::-webkit-scrollbar { display: none; }
.nav a { padding: 20px 0; white-space: nowrap; border-bottom: 1px solid transparent; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--ink); border-bottom-color: var(--ink); }
.top .about { font-size: 15px; color: var(--ink-2); white-space: nowrap; }

/* 분야 점·날짜 */
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--ink-3); }
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--c); }
.date { font-size: 14px; color: var(--ink-3); font-variant-numeric: tabular-nums; }

/* 사진 — 그 글의 사진, 같은 화면에서 겹치면 다른 부분을 잘라 보인다 */
.ph { position: relative; display: block; overflow: hidden; background: var(--stone); aspect-ratio: 4 / 3; }
.ph img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.ph.type { background: color-mix(in srgb, var(--c, #9A9488) 16%, #FFFFFF); }
.ph-type { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 24px; text-align: center; }
.ph-type b { font-weight: 200; font-size: clamp(40px, 4.4vw, 60px); line-height: 1.1; letter-spacing: -0.02em; color: var(--ink); }
.ph-type i { font-style: normal; font-size: 14px; color: var(--ink-2); }
.ph .label { position: absolute; left: 14px; bottom: 14px; display: inline-flex; align-items: baseline; gap: 8px; max-width: calc(100% - 28px); padding: 6px 10px; background: rgba(255,255,255,.94); color: var(--ink); font-size: 13px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ph .label b { font-weight: 600; font-size: 14px; }

/* 첫 화면 */
.hero { position: relative; min-height: 600px; height: min(78vh, 720px); display: flex; align-items: flex-end; color: #FFFFFF; background: #1B2230; overflow: hidden; }
.hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 60%; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,12,18,.10) 0%, rgba(10,12,18,.18) 45%, rgba(10,12,18,.72) 100%); }
.hero .wrap { position: relative; z-index: 1; width: 100%; padding-bottom: 64px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 64px; align-items: end; }
.hero h1 { font-weight: 300; font-size: clamp(44px, 5.6vw, 80px); line-height: 1.02; letter-spacing: -0.035em; max-width: 11em; }
.hero .lede { margin-top: 22px; font-size: 19px; line-height: 1.5; color: rgba(255,255,255,.88); max-width: 30em; }
.hero .tally { margin-top: 18px; font-size: 15px; color: rgba(255,255,255,.72); }
.hero .tally a { color: #FFFFFF; margin-left: 6px; border-bottom: 1px solid rgba(255,255,255,.6); }
.hero-words { padding: 22px 24px 20px; background: rgba(14,16,22,.52); border: 1px solid rgba(255,255,255,.16); border-radius: 10px; -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); }
.hero-words h2 { font-size: 13.5px; font-weight: 500; color: rgba(255,255,255,.7); }
.hero-words ul { list-style: none; margin: 10px 0 14px; padding: 0; }
.hero-words li a { display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 9px 0; border-bottom: 1px solid rgba(255,255,255,.14); }
.hero-words li a:hover strong { text-decoration: underline; text-underline-offset: 3px; }
.hero-words li b { font-weight: 400; font-size: 22px; }
.hero-words strong { display: block; font-weight: 500; font-size: 15px; line-height: 1.3; }
.hero-words i { font-style: normal; font-size: 13px; color: rgba(255,255,255,.6); }
.hero-words a.more { font-size: 14px; border-bottom: 1px solid rgba(255,255,255,.6); }

/* 새 글 */
.latest { padding: 80px 0 40px; }
.latest .wrap { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; }
.lead .ph { aspect-ratio: 3 / 2; }
.lead .chip { margin-top: 22px; }
.lead h2 { margin-top: 8px; font-size: clamp(28px, 2.8vw, 38px); line-height: 1.15; letter-spacing: -0.02em; }
.lead p.ex { margin-top: 14px; color: var(--ink-2); font-size: 17px; max-width: 36em; }
.lead .date { display: block; margin-top: 14px; }
.side h2 { font-size: 14px; font-weight: 500; color: var(--ink-3); padding-bottom: 14px; border-bottom: 1px solid var(--ink); }
.side ol { list-style: none; margin: 0; padding: 0; }
.side li a { display: block; padding: 22px 0; border-bottom: 1px solid var(--line); }
.side h3 { margin-top: 6px; font-size: 20px; line-height: 1.25; }
.side .date { display: block; margin-top: 8px; }
.lead a:hover h2, .side li a:hover h3, .card a:hover h3, .band li a:hover h3, .archive li a:hover .t { text-decoration: underline; text-underline-offset: 4px; text-decoration-thickness: 1px; }
.lead a:hover .ph img, .card a:hover .ph img { transform: scale(1.03); }

/* 분야 묶음 */
.shelf { padding: 72px 0 40px; }
.head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; align-items: end; padding-bottom: 28px; margin-bottom: 36px; border-bottom: 1px solid var(--line); }
.head .ko { font-weight: 200; font-size: 64px; line-height: 1; letter-spacing: -0.02em; color: var(--ink-3); }
.head h2 { margin-top: 10px; font-weight: 300; font-size: 40px; line-height: 1.1; letter-spacing: -0.025em; }
.head p { font-size: 16.5px; color: var(--ink-2); }
.head .all { display: inline-block; margin-top: 14px; font-size: 15px; font-weight: 500; border-bottom: 1px solid var(--ink); }
.cards { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 48px 32px; }
.card .chip { margin-top: 18px; }
.card h3 { margin-top: 18px; font-size: 21px; line-height: 1.22; letter-spacing: -0.015em; }
.card .chip + h3 { margin-top: 6px; }
.card p.ex { margin-top: 10px; font-size: 15.5px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card .date { display: block; margin-top: 10px; }

/* 병원에서 듣는 말 */
.words { margin-top: 64px; padding: 88px 0 96px; background: var(--stone); }
.words-head { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 72px; align-items: end; }
.words-head h2 { font-weight: 300; font-size: clamp(34px, 3.6vw, 48px); line-height: 1.08; letter-spacing: -0.03em; max-width: 12em; }
.words-head p { font-size: 16.5px; color: var(--ink-2); }
.words ul { list-style: none; margin: 48px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0 32px; }
.words li a { display: block; padding: 22px 0 24px; border-top: 1px solid #D5D6D3; }
.words li b { display: block; font-weight: 300; font-size: 38px; line-height: 1.15; letter-spacing: -0.02em; }
.words li i { display: block; margin-top: 4px; font-style: normal; font-size: 14px; color: var(--ink-3); }
.words li strong { display: block; margin-top: 12px; font-weight: 500; font-size: 16px; }
.words li .n { display: block; margin-top: 2px; font-size: 14px; color: var(--ink-3); }
.words li a:hover strong { text-decoration: underline; text-underline-offset: 3px; }

/* 방문 준비 — 글자 중심 */
.band { padding: 88px 0 40px; }
.band ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 48px; }
.band li a { display: block; padding: 22px 0; border-bottom: 1px solid var(--line); }
.band li h3 { font-size: 21px; line-height: 1.25; }
.band li p { margin-top: 6px; font-size: 15.5px; color: var(--ink-2); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* 전체 글 */
.archive { padding: 88px 0 104px; }
.archive h2 { font-weight: 300; font-size: 40px; letter-spacing: -0.025em; padding-bottom: 20px; border-bottom: 1px solid var(--ink); }
.archive ul { list-style: none; margin: 0; padding: 0; }
.archive li a { display: grid; grid-template-columns: 130px minmax(0, 1fr) 190px; gap: 24px; align-items: baseline; padding: 15px 0; border-bottom: 1px solid var(--line); }
.archive li .t { font-size: 17px; }

/* 분야·태그·목록 페이지 */
.sec-hero { padding: 64px 0 56px; background: var(--stone); }
.crumb { font-size: 14px; color: var(--ink-3); }
.crumb a:hover { color: var(--ink); text-decoration: underline; }
.crumb span[aria-hidden] { margin: 0 10px; color: #B9BCC0; }
.sec-hero .ko { margin-top: 36px; font-weight: 200; font-size: clamp(56px, 7vw, 96px); line-height: 1; letter-spacing: -0.02em; color: var(--ink-3); }
.sec-hero h1 { margin-top: 14px; font-weight: 300; font-size: clamp(38px, 4.6vw, 60px); line-height: 1.05; letter-spacing: -0.03em; }
.sec-hero .sub { margin-top: 18px; font-size: 18px; color: var(--ink-2); max-width: 34em; }
.sec-hero .count { margin-top: 14px; font-size: 15px; color: var(--ink-3); }
.grid-list { padding: 64px 0 104px; }
.pager { margin-top: 56px; display: flex; justify-content: center; gap: 8px; }
.pager a, .pager span { min-width: 42px; height: 42px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); font-size: 15px; }
.pager [aria-current] { background: var(--ink); color: #FFFFFF; border-color: var(--ink); }

/* 글 페이지 */
.post-head { padding: 48px 0 16px; }
.post-head .wrap { max-width: 1180px; }
.post-head .term { margin-top: 36px; display: flex; align-items: baseline; gap: 12px; }
.post-head .term b { font-weight: 300; font-size: 30px; line-height: 1; }
.post-head .term i { font-style: normal; font-size: 14px; color: var(--ink-3); }
.post-head h1 { margin-top: 14px; max-width: 20em; font-weight: 400; font-size: clamp(32px, 3.8vw, 52px); line-height: 1.08; letter-spacing: -0.03em; }
.post-meta { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 6px 24px; font-size: 15px; color: var(--ink-3); }
.post-layout { max-width: 1180px; margin: 0 auto; padding: 32px 32px 96px; display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 80px; align-items: start; }
.rail { position: sticky; top: 88px; display: grid; gap: 36px; }
.rail h2 { font-size: 14px; font-weight: 500; color: var(--ink-3); padding-bottom: 12px; border-bottom: 1px solid var(--ink); }
.rail ul { list-style: none; margin: 0; padding: 0; }
.toc ol { list-style: none; margin: 8px 0 0; padding: 0; }
.toc li a { display: block; padding: 7px 0 7px 14px; border-left: 1px solid var(--line); font-size: 15px; line-height: 1.4; color: var(--ink-3); }
.toc li a:hover, .toc li a.on { border-left-color: var(--ink); color: var(--ink); }
.say-note { margin-top: 12px; font-size: 14px; line-height: 1.5; color: var(--ink-3); }
.say li { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 12px; align-items: baseline; padding: 14px 0; border-bottom: 1px solid var(--line); }
.say li b { font-weight: 400; font-size: 22px; line-height: 1.2; }
.say li strong { display: block; font-weight: 500; font-size: 15px; line-height: 1.3; }
.say li i { display: block; margin-top: 2px; font-style: normal; font-size: 13.5px; color: var(--ink-3); }
.rail .more li a { display: block; padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 15.5px; line-height: 1.4; }
.rail .more li a:hover { text-decoration: underline; }

.post-body { font-size: 18.5px; line-height: 1.72; color: #24272C; max-width: 40em; }
.post-body > * + * { margin-top: 1.1em; }
/* 글 첫머리 광고 표시 — 본문과 다른 바탕·굵기 유지 (색만 사이트에 맞춤) */
.post-body > aside.site-disclosure { margin: 0 0 1.8em !important; padding: 14px 18px !important; background: var(--stone) !important; border: 0 !important; border-left: 3px solid var(--ink) !important; border-radius: 0 !important; color: var(--ink) !important; font-size: 16px !important; font-weight: 600 !important; }
.post-body > aside.site-disclosure + p, .post-body > p:first-child { font-size: 21px; line-height: 1.6; color: var(--ink); }
.post-body h1, .post-body h2 { margin-top: 2.2em; font-weight: 400; font-size: 30px; line-height: 1.2; letter-spacing: -0.02em; scroll-margin-top: 88px; }
.post-body h3 { margin-top: 1.8em; font-weight: 500; font-size: 22px; line-height: 1.3; }
.post-body h2 + *, .post-body h3 + * { margin-top: .6em; }
.post-body a { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; text-decoration-color: #9A9EA5; }
.post-body a:hover { text-decoration-color: var(--ink); }
.post-body strong { font-weight: 600; 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: .4em; }
.post-body li::marker { color: var(--ink-3); }
.post-body figure { margin: 2.2em 0; }
.post-body figure img, .post-body > img, .post-body p img { width: 100%; }
/* 로고 — 흰 글씨 로고와 검은 글씨 로고가 둘 다 보이게 중간 회색 바탕 (어두운 바탕이면 검은 로고가 사라진다) */
.post-body img[alt*="logo" i] { width: auto; max-width: min(100%, 340px); padding: 22px 30px; background: #7D848C; }
.post-body figcaption { margin-top: 10px; font-size: 14px; 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: .2em 0 .2em 1.2em; border-left: 1px solid var(--ink); color: var(--ink-2); font-size: 20px; }
.post-body .overflow-x-auto { overflow-x: auto; margin: 1.8em 0; }
.post-body table { width: 100%; border-collapse: collapse; font-size: 16px; line-height: 1.5; border-top: 1px solid var(--ink); }
.post-body th, .post-body td { padding: 12px 14px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); min-width: 6em; }
.post-body thead th { font-weight: 600; }
.post-body details { border-top: 1px solid var(--line); padding: 14px 0; }
.post-body summary { cursor: pointer; font-weight: 500; }
.post-body p[class*="border-t"], .post-body .disclaimer { margin-top: 2.4em; padding-top: 1em; border-top: 1px solid var(--line); font-size: 15px; line-height: 1.6; color: var(--ink-3); }
.post-body small { font-size: 14px; color: var(--ink-3); }

.post-foot { margin-top: 56px; max-width: 40em; }
.post-foot .tags { display: flex; flex-wrap: wrap; gap: 8px; }
.post-foot .tags a { font-size: 14px; padding: 5px 12px; border: 1px solid var(--line); border-radius: 999px; color: var(--ink-2); }
.post-foot .tags a:hover { border-color: var(--ink); color: var(--ink); }
.pn { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 24px; border-top: 1px solid var(--ink); padding-top: 20px; }
.pn a { display: block; }
.pn small { display: block; font-size: 13.5px; color: var(--ink-3); }
.pn span { display: block; margin-top: 4px; font-size: 18px; line-height: 1.3; }
.pn a:hover span { text-decoration: underline; }
.pn .next { text-align: right; }
.sources { margin-top: 40px; max-width: 40em; padding: 20px 22px; background: var(--stone); font-size: 15px; }
.sources h2 { font-size: 16px; font-weight: 500; }
.sources ol { margin: 10px 0 0; padding-left: 1.2em; }
.related { padding: 80px 0 104px; background: var(--stone); }
.related h2 { font-weight: 300; font-size: 40px; letter-spacing: -0.025em; margin-bottom: 36px; }

/* 푸터 */
.foot { background: var(--ink); color: #A9ADB4; padding: 64px 0 40px; font-size: 15px; }
.foot .cols { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 3fr) minmax(0, 4fr); gap: 48px; }
.foot .brand { color: #FFFFFF; }
.foot .about-site { margin-top: 14px; max-width: 28em; line-height: 1.6; }
.foot h2 { font-size: 14px; font-weight: 500; color: #FFFFFF; margin-bottom: 12px; }
.foot ul { list-style: none; margin: 0; padding: 0; }
.foot li { padding: 4px 0; }
.foot li .n { color: #6F747C; margin-left: 4px; }
.foot a:hover { color: #FFFFFF; text-decoration: underline; }
.foot .tags { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.foot .disclosure { margin-top: 48px; padding: 16px 18px; border: 1px solid #3A3E45; color: #E3E5E8; font-size: 14px; line-height: 1.6; }
.foot .copy { margin-top: 20px; font-size: 13px; color: #7C8189; }
.foot .copy a { text-decoration: underline; text-underline-offset: 2px; }

@media (max-width: 1040px) {
  .hero .wrap { grid-template-columns: minmax(0, 1fr); gap: 32px; }
  .hero-words { max-width: 420px; }
  .latest .wrap, .head, .words-head { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .post-layout { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .rail { position: static; }
  .rail .toc { display: none; }
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .words ul { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .archive li a { grid-template-columns: 120px minmax(0, 1fr); }
  .archive li .chip { display: none; }
  .foot .cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (max-width: 640px) {
  body { font-size: 17px; }
  .wrap { padding: 0 20px; }
  .ad-band { font-size: 12.5px; padding: 8px 16px; text-align: left; }
  .top .wrap { flex-wrap: wrap; height: auto; gap: 0; padding-top: 14px; }
  .brand { font-size: 17px; }
  .nav { order: 3; width: 100%; margin-left: 0; gap: 22px; font-size: 14.5px; }
  .nav a { padding: 12px 0; }
  .hero { min-height: 640px; height: auto; }
  .hero .wrap { padding-top: 220px; padding-bottom: 36px; }
  .hero::after { background: linear-gradient(180deg, rgba(10,12,18,.20) 0%, rgba(10,12,18,.62) 34%, rgba(10,12,18,.86) 100%); }
  .hero .lede { font-size: 17px; }
  .hero-words li a { grid-template-columns: 84px minmax(0, 1fr); }
  .latest { padding-top: 56px; }
  .shelf { padding-top: 56px; }
  .head .ko { font-size: 48px; }
  .head h2, .archive h2, .related h2 { font-size: 32px; }
  .cards { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .words { padding: 64px 0 72px; }
  .words ul { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; }
  .words li b { font-size: 30px; }
  .band ul { grid-template-columns: minmax(0, 1fr); }
  .archive li a { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .post-layout { padding: 20px 20px 64px; }
  .post-body { font-size: 17.5px; }
  .post-body > aside.site-disclosure + p, .post-body > p:first-child { font-size: 19px; }
  .post-body h1, .post-body h2 { font-size: 25px; }
  .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); 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); box-shadow: 0 10px 28px rgba(22, 24, 27, .14); }
.langs a { display: block; padding: 7px 10px; color: var(--ink); }
.langs a:hover { background: var(--stone); }
.langs a[aria-current] { font-weight: 600; }
@media (max-width: 640px) {
  .top .about { margin-left: auto; }
  .langs { margin-left: auto; }
  .top .about ~ .langs { margin-left: 12px; }
}
/* 일본어·중국어: keep-all 은 한자·가나 사이 줄바꿈을 막는다 → 보통 줄바꿈 + 그 언어 글꼴 */
:lang(ja), :lang(zh) { word-break: normal; line-break: strict; }
html:lang(ja) { --latin: 'Noto Sans JP', 'Hanken Grotesk', 'Hiragino Sans', 'Yu Gothic', system-ui, sans-serif; }
html:lang(zh) { --latin: 'Noto Sans SC', 'Hanken Grotesk', 'PingFang SC', 'Microsoft YaHei', system-ui, sans-serif; }

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

/* 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}
