:root {
  color-scheme: light;
  --paper: #f8f6f0;
  --surface: #fff;
  --ink: #252a27;
  --muted: #616862;
  --olive: #66715f;
  --olive-dark: #465040;
  --line: #dddcd4;
  --max: 1120px;
  /* NHS, VA.gov, 질병관리청의 실제 건강정보 화면을 기준으로 정리한 단계별 글자 크기 */
  --type-display: 3rem;
  --type-page-title: 2.5rem;
  --type-section-title: 2rem;
  --type-heading-3: 1.375rem;
  --type-card-title: 1.25rem;
  --type-lead: 1.25rem;
  --type-body-large: 1.125rem;
  --type-body: 1.0625rem;
  --type-ui: 1rem;
  --type-label: 1rem;
  --type-small: .9375rem;
  --type-caption: .875rem;
  --type-emphasis: 2.25rem;
}

* { box-sizing: border-box; }
html { max-width: 100%; scroll-behavior: smooth; overflow-x: hidden; }
body { max-width: 100%; margin: 0; color: var(--ink); background: var(--surface); font-family: Pretendard, "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", sans-serif; font-size: var(--type-body); line-height: 1.75; word-break: keep-all; overflow-x: hidden; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; object-fit: cover; }
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.narrow { max-width: 760px; }
.skip-link { position: absolute; left: -9999px; }
.skip-link:focus { left: 16px; top: 16px; z-index: 100; padding: 10px 16px; background: #fff; }

.site-header { position: sticky; top: 0; z-index: 30; background: rgba(255,255,255,.94); border-bottom: 1px solid var(--line); backdrop-filter: blur(12px); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: grid; text-decoration: none; line-height: 1.35; }
.brand strong { font-size: var(--type-card-title); }
.brand span { color: var(--muted); font-size: var(--type-caption); }
.site-nav { display: flex; gap: 24px; }
.site-nav a { text-decoration: none; font-size: var(--type-ui); }
.site-nav a[aria-current="page"] { color: var(--olive-dark); font-weight: 700; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 8px; }

.hero { padding: 82px 0; background: linear-gradient(135deg, #f8f6f0 0%, #f2f0e8 100%); }
.hero-grid { display: grid; grid-template-columns: .92fr 1.08fr; align-items: center; gap: 58px; }
.hero-title { display: inline-grid; justify-items: center; max-width: 100%; }
.hero h1 { font-size: var(--type-display); }
.hero img { width: 100%; aspect-ratio: 16/10; border-radius: 3px; box-shadow: 0 24px 70px rgba(37,42,39,.12); }
.page-hero { padding: 80px 0 56px; background: var(--paper); }
.eyebrow { margin: 0 0 12px; color: var(--olive-dark); font-size: var(--type-label); font-weight: 700; line-height: 1.5; letter-spacing: .03em; }
.local-keywords { text-align: center; letter-spacing: .04em; text-transform: none; }
h1, h2, h3, h4 { margin: 0 0 18px; line-height: 1.35; letter-spacing: -.025em; }
h1 { font-size: var(--type-page-title); }
h2 { font-size: var(--type-section-title); }
h3 { font-size: var(--type-heading-3); }
h4 { font-size: var(--type-body); }
.lead { max-width: 660px; color: var(--muted); font-size: var(--type-lead); }
.hero-summary { max-width: 590px; margin: 22px 0 0; font-size: var(--type-body-large); }
.location-line { margin: 20px 0 0; color: var(--olive-dark); font-size: var(--type-small); font-weight: 700; letter-spacing: .02em; }
.actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.button { display: inline-flex; align-items: center; justify-content: center; min-height: 50px; padding: 0 22px; color: #fff; background: var(--olive-dark); border: 1px solid var(--olive-dark); font-size: var(--type-ui); text-decoration: none; font-weight: 700; }
.button.secondary { color: var(--ink); background: transparent; border-color: var(--line); }
.text-link { color: var(--olive-dark); font-weight: 700; text-underline-offset: 4px; }

.section { padding: 78px 0; }
.section.muted { background: var(--paper); }
.brand-band { color: #fff; background: var(--ink); }
.brand-band .eyebrow, .brand-band .text-link { color: #dce5d7; }
.brand-band-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 64px; align-items: start; }
.brand-summary { background: #eef0e9; }
.brand-summary .brand-band-grid { display: block; }
.brand-summary .brand-band-grid > div { max-width: 780px; margin-inline: auto; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.notice, .source-note { color: var(--muted); font-size: var(--type-small); }
.post-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 16px; margin-top: 30px; }
.post-card { padding: 26px; background: #fff; border: 1px solid var(--line); }
.post-card time { display: block; margin-bottom: 10px; color: var(--muted); font-size: var(--type-caption); }
.post-card h3 a { text-decoration: none; }
.post-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.post-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 34px; }
.post-list .post-card { padding: 22px 24px; }
.post-card.with-thumbnail { display: grid; grid-template-rows: auto 1fr; gap: 0; padding: 0; overflow: hidden; }
.post-card-media { display: block; background: var(--paper); overflow: hidden; }
.post-card-media img { width: 100%; height: auto; min-height: 0; aspect-ratio: 4/3; object-fit: cover; }
.post-card-media.guide-media img { aspect-ratio: 4/5; }
.post-card-body { min-width: 0; }
.post-card.with-thumbnail .post-card-body { display: flex; flex-direction: column; padding: 20px; }
.post-card-links { display: grid; gap: 7px; margin-top: auto; padding-top: 8px; }
.post-card-links .text-link { display: block; }
.post-card-links .guide-link { padding-bottom: 7px; border-bottom: 1px solid var(--line); }
.post-topics { margin: 2px 0 18px; }
.post-topics > span { display: block; margin-bottom: 7px; color: var(--muted); font-size: var(--type-small); font-weight: 700; }
.post-topics ul { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.post-topics li { padding: 3px 9px; color: var(--olive-dark); background: #eef0e9; border-radius: 999px; font-size: var(--type-caption); line-height: 1.55; }
.section-intro { max-width: 680px; margin-bottom: 36px; }
.section-intro > p:last-child { margin-bottom: 0; color: var(--muted); font-size: var(--type-body-large); }
.process-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.process-grid li { padding-top: 22px; border-top: 2px solid var(--olive); }
.process-step { display: block; margin-bottom: 28px; color: var(--muted); font-size: var(--type-small); font-weight: 700; }
.process-grid h3 { font-size: var(--type-card-title); }
.process-grid p { margin-bottom: 0; color: var(--muted); }
.home-audience { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 58px; align-items: center; }
.home-audience figure { margin: 0; min-width: 0; }
.home-audience img { width: 100%; aspect-ratio: 16/10; }
.home-audience figcaption { padding-top: 10px; color: var(--muted); font-size: var(--type-caption); }
.audience-list { display: grid; gap: 12px; margin: 26px 0; padding-left: 22px; }
.home-guide-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 32px; }
.home-guide-card { display: grid; grid-template-rows: auto 1fr; min-width: 0; padding: 0; border: 1px solid var(--line); overflow: hidden; }
.home-guide-media { display: block; background: var(--paper); }
.home-guide-media img { width: 100%; height: auto; object-fit: contain; }
.home-guide-body { display: flex; flex-direction: column; padding: 28px; }
.home-guide-card h3 { font-size: var(--type-card-title); }
.home-guide-card h3 a { text-decoration: none; }
.home-guide-card h3 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.home-guide-body > p:not(.home-guide-label) { color: var(--muted); }
.home-guide-card .text-link { margin-top: auto; padding-top: 10px; }
.home-guide-label { margin: 0 0 14px; color: var(--olive-dark); font-size: var(--type-small); font-weight: 700; }
.home-location { border-top: 1px solid var(--line); }
.home-map { display: block; margin-top: 32px; }
.policy-box { padding: 28px; background: var(--paper); border-left: 4px solid var(--olive); }
.policy-box h2 { font-size: var(--type-heading-3); }
.guide-hero { padding: 66px 0 48px; background: var(--paper); }
.guide-hero h1 { max-width: 820px; font-size: var(--type-page-title); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 7px; margin: 0 0 38px; color: var(--muted); font-size: var(--type-caption); }
.breadcrumbs a { font-size: inherit; text-underline-offset: 3px; }
.guide-meta { margin: 0 0 18px; color: var(--muted); font-size: var(--type-small); }
.topic-tags { display: flex; flex-wrap: wrap; gap: 7px; margin: 0; padding: 0; list-style: none; }
.topic-tags li { padding: 5px 11px; color: var(--olive-dark); background: #e8ebe3; border-radius: 999px; font-size: var(--type-caption); }
.guide-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px; align-items: start; padding-top: 64px; padding-bottom: 84px; }
.guide-main { min-width: 0; }
.guide-main > section { margin: 0 0 56px; }
.guide-main > section > p { max-width: 760px; font-size: var(--type-body); }
.evidence-article { margin: 0 0 56px; }
.evidence-article h2 { margin-top: 2.3em; }
.evidence-article h3 { margin-top: 1.8em; }
.evidence-article p, .evidence-article li { font-size: var(--type-body); }
.evidence-article p { max-width: 760px; margin: 0 0 1.35em; }
.evidence-article ul, .evidence-article ol { display: grid; gap: 10px; max-width: 760px; padding-left: 24px; }
.evidence-article a { text-underline-offset: 3px; }
.author-card { padding-top: 30px; border-top: 1px solid var(--line); }
.guide-image { display: block; max-width: 640px; margin: 0 auto 54px; background: var(--paper); overflow: hidden; }
.guide-image img { width: 100%; height: auto; object-fit: contain; }
.answer-box { padding: 32px; background: #eef0e9; border-top: 4px solid var(--olive); }
.answer-box h2 { font-size: var(--type-section-title); }
.answer-box p { margin-bottom: 0; }
.check-list { display: grid; gap: 13px; padding-left: 24px; }
.check-list li { padding-left: 8px; }
.medical-note { margin: 0 0 56px; padding: 24px 26px; background: #faf3e8; border-left: 4px solid #a67a46; }
.medical-note strong { display: block; margin-bottom: 8px; }
.medical-note p { margin: 5px 0; color: #554b40; font-size: var(--type-small); }
.source-card { display: grid; gap: 8px; padding: 24px; background: var(--paper); border: 1px solid var(--line); text-decoration: none; }
.source-card:hover strong { text-decoration: underline; text-underline-offset: 4px; }
.source-card span, .source-card em { color: var(--muted); font-size: var(--type-caption); font-style: normal; }
.source-card em { color: var(--olive-dark); font-weight: 700; }
.guide-side { position: sticky; top: 104px; display: grid; gap: 16px; }
.side-card { padding: 24px; border: 1px solid var(--line); }
.side-card h2 { font-size: var(--type-card-title); }
.side-card .button { width: 100%; margin-top: 8px; }
.related-guides { display: grid; gap: 11px; padding-left: 18px; }
.related-guides a { text-underline-offset: 3px; }
.meaning-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin: 32px 0 20px; }
.meaning-card { padding-top: 22px; border-top: 2px solid var(--olive); }
.meaning-card strong { display: block; font-family: Georgia, serif; font-size: var(--type-emphasis); letter-spacing: .12em; }
.meaning-card span { display: block; color: var(--muted); font-size: var(--type-small); font-weight: 400; letter-spacing: 0; }
.meaning-card p { margin-bottom: 0; }
.story-list { display: grid; gap: 16px; margin: 28px 0 0; padding: 0; list-style: none; }
.story-list li { padding-top: 16px; border-top: 1px solid var(--line); }
.lead.small { font-size: var(--type-body-large); }
#philosophy .wrap > .narrow { margin-inline: auto; }
.value-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; max-width: 760px; margin: 36px auto 0; }
.value-card { padding-top: 22px; border-top: 2px solid var(--olive); }
.value-card h3 { margin-bottom: 10px; font-size: var(--type-card-title); }
.value-card p { margin-bottom: 0; color: var(--muted); }
.source-section { border-top: 1px solid var(--line); }
.source-list { padding-left: 20px; }
.source-list li { margin: 10px 0; }

.prose { max-width: 780px; }
.prose p { margin: 0 0 1.4em; }
.prose p:first-of-type { font-size: var(--type-body-large); }
.studio-gallery { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; padding-bottom: 78px; }
.studio-gallery figure { margin: 0; min-width: 0; }
.studio-gallery img { width: 100%; aspect-ratio: 16/10; }
.studio-gallery figcaption { padding: 12px 2px 0; color: var(--muted); font-size: var(--type-caption); }
.location-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 46px; align-items: start; }
.location-callout { display: flex; align-items: center; justify-content: space-between; gap: 32px; }
.facts { margin: 30px 0; }
.facts div { display: grid; grid-template-columns: 76px 1fr; padding: 14px 0; border-top: 1px solid var(--line); }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; }
.map { width: 100%; min-height: 420px; border: 0; }

.site-footer { padding: 54px 0; color: #fff; background: var(--ink); font-size: var(--type-small); }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr .5fr; gap: 34px; }
.site-footer p { margin: 4px 0; color: #d9dcd8; }
.official-channels { display: grid; gap: 8px; align-content: start; }

@media (max-width: 980px) and (min-width: 761px) {
  .post-grid, .post-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .guide-layout { grid-template-columns: minmax(0, 1fr) 260px; gap: 32px; }
}

@media (max-width: 760px) {
  :root {
    --type-display: 2.125rem;
    --type-page-title: 2rem;
    --type-section-title: 1.625rem;
    --type-heading-3: 1.25rem;
    --type-card-title: 1.1875rem;
    --type-lead: 1.125rem;
    --type-body-large: 1.0625rem;
    --type-body: 1.0625rem;
    --type-ui: .9375rem;
    --type-label: .9375rem;
    --type-small: .875rem;
    --type-caption: .875rem;
    --type-emphasis: 2rem;
  }
  body { word-break: normal; overflow-wrap: anywhere; }
  .wrap { width: min(calc(100% - 40px), var(--max)); }
  .wrap, .narrow, .prose { min-width: 0; max-width: 100%; }
  .site-header { position: static; }
  .header-inner { min-height: 0; display: grid; grid-template-columns: 1fr; gap: 12px; padding: 14px 0 12px; }
  .brand span { display: none; }
  .brand strong { white-space: nowrap; }
  .site-nav { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: 1px 12px; border-top: 1px solid var(--line); }
  .site-nav a { min-width: 0; min-height: 44px; display: flex; align-items: center; padding: 8px 2px; border-bottom: 1px solid var(--line); font-size: var(--type-ui); line-height: 1.35; white-space: normal; }
  .site-nav a[aria-current="page"] { text-underline-offset: 5px; }
  .hero, .page-hero { padding: 58px 0; }
  .hero h1 { font-size: var(--type-display); }
  .hero-summary { font-size: var(--type-body-large); }
  .guide-hero { padding: 38px 0 42px; }
  .guide-hero .wrap { width: calc(100vw - 40px); max-width: calc(100vw - 40px); }
  .guide-hero h1 { width: 100%; max-width: 100%; font-size: var(--type-page-title); word-break: break-all; overflow-wrap: anywhere; }
  .guide-hero .topic-tags { max-width: 100%; }
  .local-keywords { max-width: 390px; line-height: 1.8; }
  .breadcrumbs { margin-bottom: 28px; }
  h1, h2, h3, p, li, dd { max-width: 100%; overflow-wrap: anywhere; }
  h1 { font-size: var(--type-page-title); word-break: normal; }
  .hero-grid, .location-grid, .brand-band-grid, .home-audience { grid-template-columns: 1fr; gap: 34px; }
  .guide-layout { grid-template-columns: 1fr; gap: 24px; padding-top: 34px; padding-bottom: 58px; }
  .guide-side { position: static; }
  .guide-main > section, .guide-image, .medical-note { margin-bottom: 42px; }
  .answer-box { padding: 24px 20px; }
  .section { padding: 58px 0; }
  .post-grid, .post-list, .studio-gallery, .footer-grid, .meaning-grid, .value-grid, .process-grid, .home-guide-grid { grid-template-columns: 1fr; }
  .section-intro { margin-bottom: 30px; }
  .process-grid { gap: 26px; }
  .process-step { margin-bottom: 14px; }
  .home-audience figure { order: 2; }
  .home-audience > div { order: 1; }
  .home-guide-body { padding: 22px 20px; }
  .post-card.with-thumbnail .post-card-body { padding: 18px; }
  .post-list .post-card h3 { font-size: var(--type-card-title); line-height: 1.5; }
  .section-head, .location-callout { display: block; }
  .location-callout .actions { margin-top: 22px; }
  .studio-gallery { padding-bottom: 58px; }
  .map { min-height: 340px; }
}

@media (max-width: 340px) {
  :root { --type-page-title: 1.875rem; }
  .wrap { width: min(calc(100% - 32px), var(--max)); }
  .guide-hero .wrap { width: calc(100vw - 32px); max-width: calc(100vw - 32px); }
}

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
