/* 질환·증상 안내 페이지 — 색·버튼·푸터는 style.css 를 그대로 씁니다. */
.page { background: var(--bg); }
.pg-hd { position: sticky; top: 0; z-index: 20; display: flex; align-items: center; gap: 16px; height: var(--hd-h); padding: 0 var(--pad); background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.pg-hd-nav { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.pg-hd-nav > a:not(.pill) { padding: 0 14px; line-height: 44px; border-radius: 999px; font-size: 15px; font-weight: 600; }
.pg-hd-nav > a:not(.pill):hover { background: var(--bg-2); }

.pg { max-width: 860px; margin: 0 auto; padding: 20px var(--pad) clamp(56px, 7vw, 96px); box-sizing: content-box; }
.crumb ol { display: flex; flex-wrap: wrap; gap: 4px; margin: 0; padding: 0; list-style: none; font-size: 13px; color: var(--mute); }
.crumb li + li::before { content: "›"; margin-right: 4px; opacity: .6; }
.crumb a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 3px; }

.pg-head { display: grid; grid-template-columns: minmax(0, 1fr) clamp(96px, 16vw, 150px); align-items: center; gap: 20px; margin-top: clamp(20px, 3vw, 36px); padding-bottom: clamp(24px, 3vw, 36px); border-bottom: 1px solid var(--line); }
.pg-head h1 { margin: 8px 0 0; font-size: clamp(32px, 4.4vw, 52px); font-weight: 700; line-height: 1.2; letter-spacing: -.035em; }
.pg-lead { margin-top: 14px; font-size: clamp(17px, 1.6vw, 20px); line-height: 1.7; color: var(--ink); }
.pg-head img { width: 100%; filter: drop-shadow(0 16px 18px rgba(16, 32, 58, .14)); }

.pg-sec { margin-top: clamp(32px, 4vw, 48px); }
.pg-sec h2 { font-size: clamp(21px, 2.1vw, 27px); line-height: 1.4; }
.pg-sec-lead { margin-top: 12px; font-size: 17px; font-weight: 700; color: var(--accent); letter-spacing: -.02em; }
.pg-sec p:not(.pg-sec-lead) { margin-top: 10px; font-size: 16.5px; line-height: 1.85; color: #33425a; }
.pg-treat { display: grid; gap: 10px; margin: 18px 0 0; padding: 0; list-style: none; counter-reset: treat; }
.pg-treat li { position: relative; padding: 18px 20px 18px 58px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); counter-increment: treat; }
.pg-treat li::before { content: counter(treat, decimal-leading-zero); position: absolute; left: 20px; top: 18px; font-weight: 700; color: var(--accent); font-variant-numeric: tabular-nums; }
.pg-treat h3 { margin: 0; font-size: 17px; font-weight: 700; }
.pg-treat p { margin-top: 4px !important; font-size: 15px !important; line-height: 1.7 !important; color: var(--mute) !important; }
.pg-art .alert { margin-top: 28px; }

.pg-refs { margin-top: 36px; padding: 18px 22px; border-radius: 16px; background: var(--bg-2); }
.pg-refs h2 { font-size: 15px; font-weight: 700; }
.pg-refs ul { margin-top: 6px; }
.pg-refs a { display: inline-block; padding: 3px 0; font-size: 14px; color: var(--mute); text-decoration: underline; text-underline-offset: 3px; }

.pg-cta { display: grid; grid-template-columns: 96px minmax(0, 1fr); align-items: center; gap: 8px 22px; margin-top: clamp(40px, 5vw, 64px); padding: clamp(22px, 3vw, 32px); border-radius: var(--r); background: var(--primary); color: var(--on-primary); }
.pg-cta img { width: 96px; grid-row: span 2; filter: drop-shadow(0 12px 14px rgba(0, 0, 0, .25)); }
.pg-cta h2 { font-size: clamp(19px, 1.9vw, 24px); }
.pg-cta p { margin-top: 6px; font-size: 15px; color: var(--on-primary-mute); }
.pg-cta-act { display: flex; flex-wrap: wrap; gap: 8px; }
.pg-cta .pill-line { border-color: rgba(255, 255, 255, .45); color: #fff; }
.pg-cta .pill-line:hover { border-color: #fff; }
.pg-cta .pill .ic { width: 18px; height: 18px; }

.pg-related { margin-top: clamp(40px, 5vw, 56px); }
.pg-related h2, .hub-group h2 { font-size: 19px; }
.pg-related ul, .hub-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-top: 14px; }
.pg-related a, .hub-list a { display: block; height: 100%; padding: 16px 18px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); transition: border-color .2s, transform .25s var(--ease); }
.pg-related a:hover, .hub-list a:hover { border-color: var(--accent); transform: translateY(-2px); }
.pg-related b, .hub-list b { display: block; font-size: 16px; font-weight: 700; }
.pg-related span, .hub-list span { display: block; margin-top: 4px; font-size: 14px; line-height: 1.6; color: var(--mute); }

.hub-group { margin-top: clamp(32px, 4vw, 44px); }
.pg-note { margin-top: clamp(36px, 4vw, 52px); font-size: 13px; line-height: 1.7; color: var(--mute); }
.page .ft-guide { margin-top: 22px; }

@media (max-width: 760px) {
  .pg-hd-nav > a:not(.pill) { padding: 0 10px; font-size: 14px; }
  .pg-hd-nav .pill { height: 40px; padding: 0 14px; font-size: 14px; }
  .pg-head { grid-template-columns: minmax(0, 1fr) 84px; gap: 12px; }
  .pg-related ul, .hub-list { grid-template-columns: 1fr; }
  .pg-cta { grid-template-columns: 64px minmax(0, 1fr); }
  .pg-cta img { width: 64px; grid-row: auto; }
  .pg-cta-act { grid-column: 1 / -1; }
  .pg-cta-act .pill { flex: 1; }
}
@media (max-width: 420px) {
  .pg-hd .hd-logo span { display: none; }
}
