/* 착공24 — 공개 지면 전용 스타일 (2026-09-08 전면 리뉴얼)
 *
 * 규격 정본: /root/ops/design/specs/hyeonjang.json  (리듬 88/56 · 컨테이너 1240 · 본문 하한 15px)
 * 이 파일은 자립한다 — 공개 지면은 워크스페이스용 style.css 를 읽지 않는다.
 * 공용 CSS 에 흔한 클래스명을 더해 다른 지면을 깨뜨린 전례가 있어(yowon .bar/.dens),
 * 여기 클래스는 전부 hj- 접두어를 쓴다.
 *
 * Art Direction: Editorial × Industrial. 이른 아침 자연광, 콘크리트·철골·목재의 물성.
 * 사용자는 건자재·설비·인테리어 업체 사장(40~60대)이라 큰 글씨·높은 대비가 프리미엄보다 위다.
 * 섹션 리듬은 한 방향(아래 여백)으로만 준다. 배경색 밴드는 여백 담당 섹션이 감싼다(A13 ⑤).
 */

:root {
  --paper: #f5f4f0;
  --surface: #fff;
  --surface-2: #eceae3;
  --ink: #1c211e;
  --ink-2: #3c443e;
  --muted: #5d6660;
  --line: #dcdcd5;
  --line-2: #c8c9c0;
  --brand: #a8451e;
  --brand-hi: #8c3616;
  --amber: #eb935c;
  --forest: #232b26;
  --forest-2: #2f3a33;
  --forest-ink: #dfe3dd;
  --good: #2f6a4c;
  /* 단계 램프 — 허가→착공→사용승인. 순서가 있는 순차 램프(명도 단조 감소). 각 구간에 직접 라벨을 단다. */
  --stage-1: #e0a06b;
  --stage-2: #b25c2b;   /* 흰 글씨 대비 4.71:1 — #bf6633 은 4.07:1 이라 A5 경고에 걸렸다 */
  --stage-3: #7f3312;
  --rhythm: 88px;
  --wrap: 1240px;
  --r: 6px;
  --font: Pretendard, 'Pretendard Variable', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans KR', sans-serif;
}

* { 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.62;
  letter-spacing: -0.022em;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
table { border-collapse: collapse; width: 100%; }

:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 2px; }
a:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
button:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid var(--brand); outline-offset: 2px; border-color: var(--brand); }
summary:focus-visible { outline: 3px solid var(--brand); outline-offset: -3px; }

.hj-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }
.hj-skip { position: absolute; left: -9999px; top: 0; background: var(--forest); color: #fff; padding: 12px 18px; z-index: 200; }
.hj-skip:focus { left: 12px; top: 12px; }

/* ───────────── 타이포 ───────────── */
.hj-eyebrow {
  font-size: 14px; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--brand); margin: 0 0 16px;
}
.hj-display {
  font-size: clamp(38px, 4.3vw, 58px); font-weight: 780;
  letter-spacing: -0.052em; line-height: 1.1; margin: 0;
}
.hj-h2 { font-size: clamp(27px, 2.7vw, 38px); font-weight: 730; letter-spacing: -0.042em; line-height: 1.22; }
.hj-h3 { font-size: 20px; font-weight: 680; letter-spacing: -0.03em; line-height: 1.35; }
.hj-lead { font-size: 18px; color: var(--ink-2); line-height: 1.68; }
.hj-muted { color: var(--muted); }
.hj-note { font-size: 15px; color: var(--muted); line-height: 1.6; }
.hj-num { font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }

/* ───────────── 버튼 ───────────── */
.hj-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 52px; padding: 12px 26px; border-radius: var(--r);
  border: 1px solid var(--line-2); background: var(--surface); color: var(--ink);
  font-size: 16px; font-weight: 650; letter-spacing: -0.02em;
  transition: background .16s ease, border-color .16s ease, color .16s ease, transform .12s ease;
}
.hj-btn:hover { background: var(--surface-2); border-color: var(--muted); }
.hj-btn:active { transform: translateY(1px); }
.hj-btn--primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.hj-btn--primary:hover { background: var(--brand-hi); border-color: var(--brand-hi); }
.hj-btn--dark { background: var(--forest); border-color: var(--forest); color: #fff; }
.hj-btn--dark:hover { background: var(--forest-2); border-color: var(--forest-2); }
.hj-btn--ghost { background: transparent; border-color: transparent; }
.hj-btn--ghost:hover { background: var(--surface-2); }
.hj-btn--sm { min-height: 44px; padding: 9px 18px; font-size: 15px; }
.hj-btn[disabled] { opacity: .55; cursor: not-allowed; }
.hj-btn[disabled]:hover { background: var(--brand); }

/* ───────────── 헤더 ───────────── */
.hj-header { border-bottom: 1px solid var(--line); background: #fbfaf7; position: sticky; top: 0; z-index: 60; }
.hj-header .hj-wrap { display: flex; align-items: center; gap: 28px; min-height: 78px; }
.hj-brand { display: flex; align-items: center; gap: 12px; padding: 8px 0; }
.hj-brand img { width: 38px; height: 38px; }
.hj-brand strong { font-size: 25px; font-weight: 780; letter-spacing: -0.07em; display: block; line-height: 1.1; }
.hj-brand span { font-size: 13px; letter-spacing: -0.01em; color: var(--muted); display: block; margin-top: 1px; }
.hj-nav { display: flex; gap: 4px; margin-left: 10px; }
.hj-nav a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px;
  border-radius: var(--r); font-size: 16px; font-weight: 600; color: var(--ink-2);
  transition: background .15s ease, color .15s ease;
}
.hj-nav a:hover { background: var(--surface-2); color: var(--ink); }
.hj-nav a[aria-current='page'] { color: var(--brand); background: #f1e6df; }
.hj-account { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.hj-account .hj-who { font-size: 15px; color: var(--muted); max-width: 190px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.hj-burger { display: none; margin-left: auto; width: 48px; height: 48px; align-items: center; justify-content: center;
  border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); }
.hj-burger span { display: block; width: 20px; height: 2px; background: var(--ink); position: relative; }
.hj-burger span::before, .hj-burger span::after { content: ''; position: absolute; left: 0; width: 20px; height: 2px; background: var(--ink); }
.hj-burger span::before { top: -6px; }
.hj-burger span::after { top: 6px; }
.hj-burger:hover { background: var(--surface-2); border-color: var(--muted); }

/* ───────────── 히어로 ───────────── */
.hj-hero { margin-bottom: var(--rhythm); }
.hj-hero .hj-wrap {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.22fr);
  gap: 56px; align-items: center; padding-top: 56px;
}
.hj-hero-copy { min-width: 0; }
.hj-hero-copy .hj-display em { font-style: normal; color: var(--brand); }
.hj-hero-copy .hj-lead { margin-top: 22px; max-width: 30em; }

.hj-console { margin-top: 30px; background: var(--surface); border: 1px solid var(--line-2); border-radius: 8px; padding: 18px; box-shadow: 0 14px 34px rgba(28, 33, 30, .07); }
.hj-console-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 12px; }
.hj-field { display: flex; flex-direction: column; gap: 7px; min-width: 0; }
.hj-field > span { font-size: 15px; font-weight: 620; color: var(--ink-2); }
.hj-field select, .hj-field input {
  width: 100%; min-width: 0; min-height: 50px; padding: 11px 13px;
  border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); font-size: 16px;
}
.hj-console .hj-btn { width: 100%; margin-top: 12px; }
.hj-quick { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 15px; color: var(--muted); }
.hj-quick a {
  display: inline-flex; align-items: center; min-height: 40px; padding: 6px 14px;
  border: 1px solid var(--line-2); border-radius: 999px; font-size: 15px; font-weight: 600; color: var(--ink-2);
  transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.hj-quick a:hover { border-color: var(--brand); color: var(--brand); background: #f7ece6; }

.hj-hero-visual { position: relative; min-width: 0; }
.hj-hero-visual img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center right; border-radius: 8px; }

.hj-hero-card {
  position: absolute; left: 20px; bottom: 56px; right: 20px; max-width: 340px;
  background: rgba(255, 255, 255, .96); border-radius: var(--r); padding: 16px 18px;
  box-shadow: 0 12px 30px rgba(28, 33, 30, .22);
}
.hj-hero-card b { display: block; font-size: 15px; font-weight: 700; letter-spacing: 0.1em; color: var(--brand); }
.hj-hero-card strong { display: block; font-size: 19px; font-weight: 700; margin: 6px 0 10px; letter-spacing: -0.03em; }
.hj-hero-card dl { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.hj-hero-card dt { font-size: 14px; color: var(--muted); }
.hj-hero-card dd { font-size: 16px; font-weight: 650; }
.hj-credit { margin-top: 10px; font-size: 15px; color: var(--muted); }

/* ───────────── 자료 현황 밴드 ───────────── */
.hj-stats { margin-bottom: var(--rhythm); }
.hj-stats-inner { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 30px 0; }
.hj-stat-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; }
.hj-stat { padding-left: 26px; border-left: 1px solid var(--line); }
.hj-stat:first-child { padding-left: 0; border-left: 0; }
.hj-stat dt { font-size: 15px; color: var(--muted); }
.hj-stat dd { font-size: clamp(28px, 2.7vw, 36px); font-weight: 720; letter-spacing: -0.045em; line-height: 1.25; margin-top: 4px; }
.hj-stat dd small { font-size: 16px; font-weight: 550; color: var(--muted); margin-left: 5px; letter-spacing: -0.02em; }
.hj-stat p { font-size: 14px; color: var(--muted); margin-top: 4px; }
.hj-live { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: var(--good); margin-right: 7px; vertical-align: 1px; }

/* ───────────── 섹션 공통 ───────────── */
.hj-sec { margin-bottom: var(--rhythm); }
.hj-sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 28px; margin-bottom: 34px; }
.hj-sec-head p.hj-lead { margin-top: 14px; max-width: 38em; }
.hj-more { display: inline-flex; align-items: center; min-height: 44px; gap: 6px; font-size: 16px; font-weight: 650; color: var(--brand); white-space: nowrap; border-bottom: 1px solid transparent; }
.hj-more:hover { border-bottom-color: var(--brand); }

/* 행정 단계 띠 — 이 사이트의 Signature Visual */
.hj-stage-track { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; margin-top: 8px; }
.hj-stage-seg { padding: 22px 22px 20px; color: #fff; }
.hj-stage-seg:first-child { border-radius: var(--r) 0 0 var(--r); }
.hj-stage-seg:last-child { border-radius: 0 var(--r) var(--r) 0; }
.hj-stage-seg:nth-child(1) { background: var(--stage-1); color: #33230f; }
.hj-stage-seg:nth-child(2) { background: var(--stage-2); }
.hj-stage-seg:nth-child(3) { background: var(--stage-3); }
.hj-stage-seg b { display: block; font-size: 16px; font-weight: 700; }
.hj-stage-seg strong { display: block; font-size: 30px; font-weight: 730; letter-spacing: -0.04em; margin: 6px 0 6px; }
.hj-stage-seg span { display: block; font-size: 15px; opacity: .92; line-height: 1.5; }
.hj-stage-legend { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 18px; font-size: 15px; color: var(--muted); }

.hj-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr); gap: 52px; align-items: center; }
.hj-split img { border-radius: 8px; aspect-ratio: 4 / 3; object-fit: cover; object-position: left center; width: 100%; }

/* 비율 목록 — 용도·구조 */
.hj-ranks { display: grid; gap: 2px; }
.hj-rank {
  display: grid; grid-template-columns: 26px minmax(0, 1fr) auto; align-items: center; gap: 16px;
  padding: 15px 16px; background: var(--surface); border-radius: var(--r);
  transition: background .15s ease, transform .15s ease;
}
a.hj-rank:hover { background: #fbf3ee; transform: translateX(3px); }
.hj-rank-i { font-size: 15px; color: var(--muted); font-variant-numeric: tabular-nums; }
.hj-rank-name { min-width: 0; }
.hj-rank-name strong { display: block; font-size: 17px; font-weight: 650; letter-spacing: -0.03em; }
.hj-rank-bar { display: block; height: 6px; border-radius: 3px; background: var(--brand); margin-top: 8px; min-width: 4px; }
.hj-rank-bar--soft { background: var(--stage-1); }
.hj-rank-n { font-size: 17px; font-weight: 680; white-space: nowrap; }
.hj-rank-n small { font-size: 15px; font-weight: 500; color: var(--muted); margin-left: 3px; }
.hj-rank-flag { font-size: 15px; color: var(--muted); display: block; margin-top: 3px; }

/* ───────────── 자료 표 ───────────── */
.hj-table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; }
.hj-table { min-width: 720px; }
.hj-table th {
  text-align: left; font-size: 15px; font-weight: 620; color: var(--muted);
  padding: 15px 20px; border-bottom: 1px solid var(--line); background: #fbfaf7; white-space: nowrap;
}
.hj-table td { padding: 18px 20px; border-bottom: 1px solid #eeece5; font-size: 16px; vertical-align: top; }
.hj-table tbody tr:last-child td { border-bottom: 0; }
.hj-table tbody tr { transition: background .14s ease; }
.hj-table tbody tr:hover { background: #faf6f1; }
.hj-table .hj-t-name { font-size: 17px; font-weight: 650; letter-spacing: -0.03em; background: none; border: 0; padding: 0; text-align: left; color: var(--ink); }
.hj-table .hj-t-name:hover { color: var(--brand); text-decoration: underline; }
.hj-table .hj-t-addr { display: block; font-size: 15px; color: var(--muted); margin-top: 5px; }
.hj-table .hj-num { white-space: nowrap; }
.hj-t-miss { color: var(--muted); font-style: normal; }
.hj-t-open {
  width: 44px; height: 44px; display: inline-grid; place-items: center;
  border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface);
  font-size: 16px; color: var(--ink-2); transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.hj-t-open:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.hj-table td.hj-t-act { text-align: right; padding-left: 8px; }

.hj-pill { display: inline-block; padding: 4px 10px; border-radius: 4px; font-size: 14px; font-weight: 620; white-space: nowrap; }
.hj-pill--허가 { background: #f5e7d8; color: #6d4a1c; }
.hj-pill--착공 { background: #e2ede2; color: #2f5a37; }
.hj-pill--사용승인 { background: #e3e8ee; color: #3a4a5c; }
.hj-pill--temp { background: #ecebe4; color: #55594e; }

.hj-paywall {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 22px;
  margin-top: 18px; padding: 26px 28px; border: 1px solid var(--line-2); border-radius: 8px;
  background: linear-gradient(180deg, #fbf6f2, #f3efe8);
}
.hj-paywall strong { display: block; font-size: 19px; font-weight: 700; letter-spacing: -0.03em; }
.hj-paywall p { margin-top: 7px; font-size: 16px; color: var(--ink-2); }

/* ───────────── 워크스페이스 Product UI (실제 화면 재현) ───────────── */
.hj-panel-band { margin-bottom: var(--rhythm); }
.hj-panel-inner { background: var(--forest); color: var(--forest-ink); border-radius: 10px; padding: 58px 0; }
.hj-panel-inner .hj-eyebrow { color: var(--amber); }
.hj-panel-inner .hj-h2 { color: #fff; }
.hj-panel-inner .hj-lead { color: #c3cbc3; }
.hj-panel-grid { display: grid; grid-template-columns: minmax(0, .82fr) minmax(0, 1.18fr); gap: 48px; align-items: center; }
.hj-ui {
  background: #fbfaf7; border-radius: 8px; color: var(--ink); overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .3);
}
.hj-ui-bar { display: flex; align-items: center; gap: 10px; padding: 13px 18px; background: #edece5; border-bottom: 1px solid var(--line); font-size: 15px; color: var(--muted); }
.hj-ui-bar b { color: var(--ink); font-weight: 650; }
.hj-ui-cols { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; padding: 16px; }
.hj-ui-col { background: #eceae3; border-radius: var(--r); padding: 10px; }
.hj-ui-col > b { display: flex; justify-content: space-between; font-size: 14px; font-weight: 650; padding: 2px 4px 10px; border-bottom: 2px solid #d3d5cc; }
.hj-ui-card { background: #fff; border: 1px solid var(--line); border-radius: 5px; padding: 11px 12px; margin-top: 9px; }
.hj-ui-card strong { display: block; font-size: 14px; font-weight: 650; line-height: 1.4; }
.hj-ui-card span { display: block; font-size: 14px; color: var(--muted); margin-top: 6px; }
.hj-ui-foot { display: flex; flex-wrap: wrap; gap: 8px 18px; padding: 0 18px 16px; font-size: 15px; color: var(--muted); }
.hj-steps { margin-top: 26px; display: grid; gap: 12px; }
.hj-step { display: grid; grid-template-columns: 30px minmax(0, 1fr); gap: 14px; align-items: baseline; }
.hj-step b { font-size: 15px; color: var(--amber); font-variant-numeric: tabular-nums; }
.hj-step span { font-size: 17px; color: #dfe3dd; }

/* ───────────── CTA 밴드 ───────────── */
.hj-cta-band { margin-bottom: var(--rhythm); }
.hj-cta { position: relative; border-radius: 10px; overflow: hidden; min-height: 380px; display: flex; align-items: center; }
.hj-cta > img { position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% center; }
.hj-cta::after {
  content: ''; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(20, 25, 21, .93) 0%, rgba(20, 25, 21, .86) 42%, rgba(20, 25, 21, .18) 82%);
}
.hj-cta-copy { position: relative; z-index: 2; padding: 56px 48px; max-width: 620px; color: #fff; }
.hj-cta-copy .hj-eyebrow { color: var(--amber); }
.hj-cta-copy h2 { color: #fff; }
.hj-cta-copy p { margin-top: 18px; font-size: 18px; color: #e2e6e0; line-height: 1.6; }
.hj-cta-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; }
.hj-cta-actions .hj-btn { background: #fff; border-color: #fff; color: var(--ink); }
.hj-cta-actions .hj-btn:hover { background: #eee9e2; border-color: #eee9e2; }
.hj-cta-actions .hj-btn--line { background: transparent; border-color: rgba(255, 255, 255, .6); color: #fff; }
.hj-cta-actions .hj-btn--line:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }

/* ───────────── 자료 기준 ───────────── */
.hj-basis { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.hj-basis > div { background: var(--surface); padding: 26px 24px; }
.hj-basis > div:first-child { border-radius: var(--r) 0 0 var(--r); }
.hj-basis > div:last-child { border-radius: 0 var(--r) var(--r) 0; }
.hj-basis h3 { font-size: 18px; font-weight: 680; letter-spacing: -0.03em; }
.hj-basis p { margin-top: 10px; font-size: 16px; color: var(--ink-2); line-height: 1.6; }
.hj-scope { margin-top: 22px; display: flex; flex-wrap: wrap; gap: 8px; }
.hj-scope span { font-size: 15px; padding: 6px 12px; border: 1px solid var(--line-2); border-radius: 999px; color: var(--ink-2); background: var(--surface); }
.hj-scope span.hj-scope-partial { border-color: #d8b48c; color: #7a5216; background: #fbf3e8; }

/* ───────────── 검색 지면 ───────────── */
.hj-page-head { padding-top: 48px; margin-bottom: 32px; }
.hj-page-head h1 { font-size: clamp(30px, 3.4vw, 44px); font-weight: 760; letter-spacing: -0.048em; line-height: 1.16; }
.hj-page-head .hj-lead { margin-top: 14px; max-width: 44em; }
.hj-filters { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 20px; margin-bottom: 22px; }
.hj-filter-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.hj-filter-grid .hj-field--wide { grid-column: span 2; }
.hj-filter-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 16px; }
.hj-filter-actions .hj-btn { min-width: 168px; }
.hj-check { display: inline-flex; align-items: center; gap: 9px; min-height: 44px; font-size: 16px; color: var(--ink-2); }
.hj-check input { width: 20px; height: 20px; accent-color: var(--brand); }
.hj-result-bar { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 14px; }
.hj-result-bar p { font-size: 17px; }
.hj-result-bar strong { font-weight: 720; }
.hj-sorts { display: flex; gap: 6px; }
.hj-sorts a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 8px 16px; border-radius: var(--r);
  border: 1px solid var(--line-2); background: var(--surface); font-size: 15px; font-weight: 620; color: var(--ink-2);
}
.hj-sorts a:hover { border-color: var(--muted); }
.hj-sorts a[aria-current='true'] { background: var(--forest); border-color: var(--forest); color: #fff; }
.hj-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.hj-chip { display: inline-flex; align-items: center; gap: 8px; min-height: 40px; padding: 6px 8px 6px 14px; border-radius: 999px; background: #ece9e1; font-size: 15px; font-weight: 600; }
.hj-chip a { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; background: #d8d4c9; font-size: 15px; }
.hj-chip a:hover { background: var(--brand); color: #fff; }
.hj-pager { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 26px; font-size: 16px; color: var(--muted); }
.hj-pager div { display: flex; gap: 8px; }
.hj-pager a, .hj-pager span.hj-off {
  display: inline-flex; align-items: center; min-height: 46px; padding: 10px 20px;
  border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); font-weight: 620; font-size: 16px;
}
.hj-pager a:hover { border-color: var(--brand); color: var(--brand); }
.hj-pager span.hj-off { opacity: .45; }
.hj-empty { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 64px 28px; text-align: center; }
.hj-empty h2 { font-size: 24px; font-weight: 700; letter-spacing: -0.035em; }
.hj-empty p { margin: 12px auto 0; max-width: 32em; color: var(--muted); font-size: 17px; }
.hj-empty-actions { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }

/* ───────────── 이용권 지면 ───────────── */
.hj-price-grid { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 48px; align-items: start; }
.hj-benefit { display: grid; grid-template-columns: 34px minmax(0, 1fr); gap: 18px; padding: 22px 0; border-top: 1px solid var(--line); }
.hj-benefit b { font-size: 16px; color: var(--brand); font-variant-numeric: tabular-nums; }
.hj-benefit p { margin-top: 8px; color: var(--ink-2); font-size: 16px; }
.hj-plan { background: var(--surface); border: 1px solid var(--line-2); border-radius: 10px; padding: 32px; position: sticky; top: 100px; box-shadow: 0 16px 40px rgba(28, 33, 30, .07); }
.hj-price { display: flex; align-items: baseline; gap: 6px; margin: 14px 0 6px; }
.hj-price strong { font-size: 46px; font-weight: 760; letter-spacing: -0.05em; }
.hj-price span { font-size: 17px; color: var(--muted); }
.hj-plan ul { margin: 22px 0; display: grid; gap: 11px; }
.hj-plan li { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 8px; font-size: 16px; color: var(--ink-2); }
.hj-plan li b { color: var(--brand); }
.hj-plan .hj-btn { width: 100%; }
.hj-plan small { display: block; margin-top: 12px; font-size: 15px; color: var(--muted); line-height: 1.5; }
.hj-active { background: #e6efe7; color: #22553a; border-radius: var(--r); padding: 12px 14px; font-size: 16px; font-weight: 620; margin-bottom: 16px; }
.hj-policies { display: grid; gap: 2px; }
.hj-policies details { background: var(--surface); border-radius: var(--r); }
.hj-policies summary { cursor: pointer; padding: 20px 24px; font-size: 17px; font-weight: 650; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.hj-policies summary::-webkit-details-marker { display: none; }
.hj-policies summary::after { content: '+'; font-size: 22px; font-weight: 500; color: var(--muted); }
.hj-policies details[open] summary::after { content: '−'; }
.hj-policies summary:hover { color: var(--brand); }
.hj-policies .hj-policy-body { padding: 0 24px 22px; font-size: 16px; color: var(--ink-2); white-space: pre-wrap; line-height: 1.68; }
.hj-orders { display: grid; gap: 2px; }
.hj-order {
  display: grid; grid-template-columns: minmax(0, 1fr) auto auto; gap: 18px; align-items: center;
  width: 100%; text-align: left; background: var(--surface); border: 0; border-radius: var(--r); padding: 18px 22px;
}
.hj-order:hover { background: #fbf3ee; }
.hj-order small { display: block; font-size: 15px; color: var(--muted); margin-top: 4px; }
.hj-order strong { font-size: 16px; }

/* ───────────── 푸터 ───────────── */
.hj-footer { border-top: 1px solid var(--line); background: #efeee9; padding: 52px 0 44px; }
.hj-footer-grid { display: grid; grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(0, 1fr)); gap: 40px; }
.hj-footer h4 { font-size: 15px; font-weight: 700; letter-spacing: 0.08em; color: var(--muted); text-transform: uppercase; margin-bottom: 12px; }
.hj-footer li a, .hj-footer .hj-flink { display: inline-flex; align-items: center; min-height: 40px; font-size: 16px; color: var(--ink-2); }
.hj-footer li a:hover { color: var(--brand); }
.hj-footer .hj-note { margin-top: 16px; max-width: 34em; }
.hj-legal { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line-2); font-size: 15px; color: var(--muted); line-height: 1.7; }

/* ───────────── 모달 · 토스트 ───────────── */
.hj-modal {
  position: fixed; inset: 0 0 0 auto; margin: 0; width: 580px; max-width: 100%;
  height: 100dvh; max-height: 100dvh; border: 0; padding: 0;
  background: var(--paper); color: var(--ink); box-shadow: -20px 0 60px rgba(20, 25, 21, .28);
}
.hj-modal::backdrop { background: rgba(20, 25, 21, .5); }
.hj-modal-head { position: sticky; top: 0; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 26px; background: #fbfaf7; border-bottom: 1px solid var(--line); }
.hj-modal-head b { font-size: 15px; letter-spacing: -0.01em; color: var(--muted); font-weight: 650; }
.hj-modal-head button { width: 44px; height: 44px; border: 1px solid var(--line-2); border-radius: var(--r); background: var(--surface); font-size: 17px; }
.hj-modal-body { padding: 26px; }
.hj-modal-body h2 { font-size: 27px; font-weight: 740; letter-spacing: -0.04em; line-height: 1.25; margin: 10px 0 12px; }
.hj-modal-body > p { color: var(--ink-2); }
.hj-facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r); margin: 22px 0; overflow: hidden; }
.hj-facts > div { background: var(--surface); padding: 15px 18px; }
.hj-facts > div:last-child:nth-child(odd) { grid-column: 1 / -1; }   /* 항목이 홀수면 빈 칸이 회색으로 남는다 */
.hj-facts dt { font-size: 15px; color: var(--muted); }
.hj-facts dd { font-size: 18px; font-weight: 650; margin-top: 4px; letter-spacing: -0.03em; }
.hj-facts .hj-from { display: block; font-size: 14px; font-weight: 500; color: var(--muted); margin-top: 3px; }
.hj-source { border-left: 3px solid var(--line-2); padding: 4px 0 4px 14px; margin: 20px 0; font-size: 15px; color: var(--muted); line-height: 1.65; }
.hj-same-addr { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 20px; }
.hj-same-addr li { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
.hj-same-addr li a { display: inline-flex; align-items: center; min-height: 40px; font-weight: 640; color: var(--ink); }
.hj-same-addr li a:hover { color: var(--brand); }
.hj-same-addr li:last-child { border-bottom: 0; }
.hj-same-addr li span { color: var(--muted); font-size: 15px; }
.hj-modal-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.hj-form { display: grid; gap: 16px; margin-top: 20px; }
.hj-form label.hj-agree { display: grid; grid-template-columns: 22px minmax(0, 1fr); gap: 10px; align-items: start; font-size: 16px; line-height: 1.55; }
.hj-form label.hj-agree input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--brand); }
.hj-bank { background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--r); padding: 18px 20px; margin: 18px 0; }
.hj-bank small { font-size: 15px; color: var(--muted); }
.hj-bank strong { display: block; font-size: 21px; font-weight: 700; margin: 6px 0 8px; letter-spacing: -0.02em; }
.hj-bank b { color: var(--brand); }

#hj-toast {
  position: fixed; left: 50%; bottom: 28px; z-index: 3000; transform: translate(-50%, 14px);
  opacity: 0; pointer-events: none; transition: opacity .2s ease, transform .2s ease;
  background: var(--forest); color: #fff; padding: 14px 24px; border-radius: var(--r);
  font-size: 16px; max-width: 92vw; box-shadow: 0 14px 34px rgba(20, 25, 21, .3);
}
#hj-toast.hj-on { opacity: 1; transform: translate(-50%, 0); }
@keyframes hj-drawer-in { from { transform: translateX(26px); opacity: .4; } to { transform: translateX(0); opacity: 1; } }
.hj-modal[open] { animation: hj-drawer-in .2s ease; }

/* ───────────── 태블릿 ───────────── */
@media (max-width: 1023px) {
  :root { --rhythm: 68px; }
  .hj-hero .hj-wrap { grid-template-columns: minmax(0, 1fr); gap: 36px; padding-top: 28px; }
  .hj-hero-visual img { aspect-ratio: 16 / 10; object-position: center; }
  .hj-hero-visual { order: -1; }
  .hj-stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
  .hj-stat:nth-child(3) { padding-left: 0; border-left: 0; }
  .hj-split, .hj-panel-grid, .hj-price-grid { grid-template-columns: minmax(0, 1fr); gap: 34px; }
  .hj-split img { aspect-ratio: 16 / 9; object-position: center; }
  .hj-ui-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hj-basis { grid-template-columns: minmax(0, 1fr); }
  .hj-basis > div { border-radius: var(--r); }
  .hj-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hj-plan { position: static; }
}

/* ───────────── 모바일 ───────────── */
@media (max-width: 767px) {
  :root { --rhythm: 56px; }
  body { font-size: 16px; }
  .hj-wrap { padding: 0 20px; }
  .hj-header .hj-wrap { min-height: 66px; gap: 12px; }
  .hj-nav, .hj-account { display: none; }
  .hj-burger { display: inline-flex; }
  .hj-header.hj-open .hj-nav, .hj-header.hj-open .hj-account {
    display: flex; flex-direction: column; align-items: stretch; gap: 4px;
    position: absolute; left: 0; right: 0; top: 100%; background: #fbfaf7;
    border-bottom: 1px solid var(--line); padding: 10px 20px 18px; margin: 0;
  }
  .hj-header.hj-open .hj-account { top: 100%; padding-top: 0; border-bottom-width: 1px; box-shadow: 0 18px 30px rgba(28, 33, 30, .12); }
  .hj-header.hj-open .hj-nav { box-shadow: none; border-bottom: 0; }
  .hj-header.hj-open .hj-nav a { min-height: 52px; font-size: 17px; }
  .hj-header.hj-open .hj-account .hj-btn { width: 100%; }
  .hj-header.hj-open .hj-account .hj-who { max-width: none; padding: 8px 4px; }

  /* ★모바일은 사진이 아니라 '할 일' 이 먼저다 (v3 43.2 — 첫 화면에 누를 것이 있어야 한다).
     사진을 맨 위에 두면 390×844 첫 화면이 사진으로 다 차서 버튼이 하나도 안 보였다(실측).
     제목 → 검색 → 가격 안내까지 첫 화면에 넣고, 사진은 그 아래에서 뒷받침한다. */
  .hj-hero .hj-wrap { padding-top: 20px; gap: 26px; }
  .hj-hero-visual { order: 2; margin: 0 -20px; }
  .hj-hero-visual img { aspect-ratio: 4 / 3; object-position: center; border-radius: 0; }
  .hj-hero-card { margin: 14px 20px 0; }
  .hj-credit { margin: 10px 20px 0; }
  .hj-hero-card { position: static; max-width: none; margin-top: 14px; box-shadow: none; border: 1px solid var(--line); background: var(--surface); }
  .hj-console-row { grid-template-columns: minmax(0, 1fr); }
  .hj-sec-head { flex-direction: column; align-items: flex-start; gap: 14px; margin-bottom: 26px; }
  /* 390px 2열에서 '2026.09.07' 이 칸을 넘쳤다(실측 150px > 139px). 값 크기와 들여쓰기를 줄인다. */
  .hj-stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 14px; }
  .hj-stat { padding-left: 16px; }
  .hj-stat dd { font-size: 27px; }
  .hj-stat dd small { font-size: 15px; }
  .hj-stat:last-child dd { font-size: 20px; }   /* 날짜만 짧게 — 여기만 칸을 넘쳤다 */
  .hj-stage-track { grid-template-columns: minmax(0, 1fr); gap: 2px; }
  .hj-stage-seg { border-radius: 0 !important; }
  .hj-stage-seg:first-child { border-radius: var(--r) var(--r) 0 0 !important; }
  .hj-stage-seg:last-child { border-radius: 0 0 var(--r) var(--r) !important; }
  .hj-panel-inner { padding: 40px 0; border-radius: 8px; }
  .hj-ui-cols { grid-template-columns: minmax(0, 1fr); }
  .hj-ui-col:nth-child(n + 3) { display: none; }
  /* 모바일에서는 세로 밴드가 된다 — 스크림을 위까지 덮으면 사진이 사라진다.
     위쪽을 열어 인물이 보이게 두고 글자는 아래에 앉힌다(실측 후 수정). */
  .hj-cta { min-height: 420px; align-items: flex-end; }
  .hj-cta > img { object-position: 68% center; }
  .hj-cta::after { background: linear-gradient(180deg, rgba(20, 25, 21, .22) 0%, rgba(20, 25, 21, .58) 38%, rgba(20, 25, 21, .93) 66%); }
  .hj-cta-copy { padding: 28px 22px 30px; }
  /* 자재 사진은 4:3 으로 만들었다 — 모바일에서 16:9 로 자르면 앞쪽 각재가 잘린다 */
  .hj-split img { aspect-ratio: 4 / 3; object-position: center; }
  .hj-filter-grid { grid-template-columns: minmax(0, 1fr); }
  .hj-filter-grid .hj-field--wide { grid-column: span 1; }
  .hj-filter-actions .hj-btn { width: 100%; }
  .hj-footer-grid { grid-template-columns: minmax(0, 1fr); gap: 26px; }
  .hj-modal { inset: auto 0 0 0; width: 100%; height: 94dvh; border-radius: 12px 12px 0 0; }
  .hj-facts { grid-template-columns: minmax(0, 1fr); }
  .hj-order { grid-template-columns: minmax(0, 1fr) auto; }
  .hj-order strong { grid-column: 1 / -1; }
  .hj-page-head { padding-top: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* 구조별 — 용도 섹션과 같은 순위 리스트를 두 번 쓰면 섹션 역할이 겹친다(v3 19·20항).
   이쪽은 수치를 앞세운 격자로 문법을 분리한다. */
.hj-structs { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; }
.hj-struct {
  background: var(--surface); padding: 20px 18px; display: block;
  transition: background .15s ease, color .15s ease;
}
.hj-struct:first-child { border-radius: var(--r) 0 0 0; }
.hj-struct:nth-child(3) { border-radius: 0 var(--r) 0 0; }
.hj-struct:nth-child(4) { border-radius: 0 0 0 var(--r); }
.hj-struct:last-child { border-radius: 0 0 var(--r) 0; }
.hj-struct strong { display: block; font-size: 30px; font-weight: 730; letter-spacing: -0.045em; line-height: 1.2; }
.hj-struct strong span { font-size: 16px; font-weight: 550; color: var(--muted); margin-left: 3px; letter-spacing: -0.02em; }
.hj-struct > span { display: block; margin-top: 6px; font-size: 16px; font-weight: 620; color: var(--ink-2); }
.hj-struct:hover { background: #fbf3ee; }
.hj-struct:hover > span { color: var(--brand); }
@media (max-width: 767px) {
  .hj-structs { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hj-struct { border-radius: var(--r) !important; }
  .hj-struct strong { font-size: 26px; }
}

/* ───────────── 검색 결과 단계 구성 (실데이터 SVG) ───────────── */
.hj-phasebar { margin: 0 0 20px; }
.hj-phasebar figcaption { font-size: 15px; color: var(--muted); margin-bottom: 10px; }
.hj-phasebar svg { display: block; border-radius: 4px; }
.hj-phasebar ul { display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; }
.hj-phasebar li { display: flex; align-items: center; gap: 7px; font-size: 15px; color: var(--ink-2); }
.hj-phasebar li i { width: 12px; height: 12px; border-radius: 3px; display: inline-block; }
.hj-phasebar li b { font-weight: 680; }
.hj-phasebar li span { color: var(--muted); }

/* ───────────── 이용권 지면 상단 사진 밴드 ───────────── */
.hj-price-hero { margin-top: 28px; }
.hj-price-hero .hj-cta { min-height: 430px; }
.hj-price-hero h1 { font-size: clamp(30px, 3.4vw, 46px); font-weight: 760; letter-spacing: -0.048em; line-height: 1.16; color: #fff; }
@media (max-width: 767px) {
  .hj-price-hero { margin-top: 18px; }
  .hj-price-hero .hj-cta { min-height: 340px; align-items: flex-end; }
  .hj-price-hero .hj-cta::after { background: linear-gradient(180deg, rgba(20, 25, 21, .35) 0%, rgba(20, 25, 21, .92) 52%); }
}

/* 첫 화면 안에서 "무료로 어디까지, 유료는 얼마" 를 밝히는 줄 (v3 43.2 — 가격을 숨기지 않는다) */
.hj-offer {
  margin-top: 18px; padding: 14px 16px; border-radius: var(--r);
  background: #f1e9e2; border: 1px solid #e2d5ca;
  font-size: 16px; line-height: 1.6; color: var(--ink-2);
}
.hj-offer b { color: var(--ink); font-weight: 700; }
.hj-offer strong { color: var(--brand); font-weight: 750; }
.hj-offer a {
  display: inline-flex; align-items: center; min-height: 32px;
  font-weight: 680; color: var(--brand); border-bottom: 1px solid transparent; margin-left: 2px;
}
.hj-offer a:hover { border-bottom-color: var(--brand); }
.hj-legend-note { color: var(--muted); }
.hj-paywall p b { color: var(--brand); font-weight: 720; }

/* 이용권 지면 히어로 안의 가격 강조 */
.hj-price-hero h1 em { font-style: normal; color: var(--amber); }
.hj-plan li b { color: var(--good); font-weight: 800; }

/* ───────────── 현장 상세 페이지 ───────────── */
.hj-crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; padding-top: 28px; font-size: 15px; color: var(--muted); }
.hj-crumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: 40px; min-width: 40px; padding: 0 6px; color: var(--ink-2); }
.hj-crumbs a:hover { color: var(--brand); }
.hj-detail { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); gap: 44px; align-items: start; }
/* 항목 수가 3의 배수가 아니면 gap 이 만든 회색 빈 칸이 남는다 — 경계선을 셀 테두리로 옮긴다 */
.hj-facts--page { grid-template-columns: repeat(3, minmax(0, 1fr)); margin: 0; gap: 0; background: var(--surface); }
.hj-facts--page > div { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.hj-facts--page > div:nth-child(3n) { border-right: 0; }
.hj-facts--page > div:last-child:nth-child(odd) { grid-column: auto; }
.hj-facts--locked dd { color: var(--muted); }
.hj-detail-side { display: grid; gap: 20px; }

.hj-gate {
  margin-top: 18px; padding: 24px 26px; border-radius: 8px;
  background: linear-gradient(180deg, #fbf3ee, #f2ebe4); border: 1px solid #e2d5ca;
}
.hj-gate strong { display: block; font-size: 19px; font-weight: 720; letter-spacing: -0.03em; }
.hj-gate p { margin-top: 8px; font-size: 16px; color: var(--ink-2); line-height: 1.6; }
.hj-gate p b { color: var(--brand); font-weight: 750; }
.hj-gate-actions { margin-top: 18px; display: flex; flex-wrap: wrap; gap: 10px; }
.hj-open-note {
  margin-top: 18px; padding: 16px 20px; border-radius: var(--r);
  background: #e7efe8; border: 1px solid #cfe0d2; font-size: 16px; color: #24513a;
}
.hj-open-note b { font-weight: 720; }
.hj-open-note a { color: #1d6b45; font-weight: 680; border-bottom: 1px solid currentColor; }

.hj-nearby { background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 22px 22px 18px; }
.hj-nearby h2 { margin-bottom: 12px; }
.hj-nearby li { border-top: 1px solid var(--line); }
.hj-nearby li:first-of-type { border-top: 0; }
.hj-nearby li a { display: block; padding: 13px 0; }
.hj-nearby li a strong { display: block; font-size: 16px; font-weight: 640; letter-spacing: -0.02em; }
.hj-nearby li a span { display: block; font-size: 15px; color: var(--muted); margin-top: 3px; }
.hj-nearby li a:hover strong { color: var(--brand); }
.hj-nearby .hj-more { margin-top: 12px; }

a.hj-t-name { display: inline-block; }
a.hj-t-open { text-decoration: none; }

@media (max-width: 1023px) {
  .hj-detail { grid-template-columns: minmax(0, 1fr); gap: 30px; }
  .hj-facts--page { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hj-facts--page > div:nth-child(3n) { border-right: 1px solid var(--line); }
  .hj-facts--page > div:nth-child(2n) { border-right: 0; }
}
@media (max-width: 767px) {
  .hj-facts--page { grid-template-columns: minmax(0, 1fr); }
  .hj-facts--page > div { border-right: 0 !important; }
  .hj-gate { padding: 20px; }
  .hj-gate-actions .hj-btn { width: 100%; }
}

/* 상세 페이지의 진행 단계 띠 — 실존 현장이라 사진 대신 가진 사실로 그린다 */
.hj-track { margin: 4px 0 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 18px 10px 8px; }
.hj-track svg { display: block; width: 100%; height: auto; }

/* 상세 페이지의 '이 현장 주변' — 페이지마다 다른 사실을 담는 블록 */
.hj-context { margin-top: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 8px; padding: 22px 24px; }
.hj-context p { margin-top: 10px; font-size: 16px; line-height: 1.7; color: var(--ink-2); }
.hj-context p b { color: var(--ink); font-weight: 700; }
.hj-cmp { margin-top: 18px; display: grid; gap: 12px; }
.hj-cmp > div { display: grid; grid-template-columns: minmax(0, 150px) minmax(0, 1fr) auto; align-items: center; gap: 12px; }
.hj-cmp span { font-size: 15px; color: var(--muted); }
.hj-cmp i { display: block; height: 12px; border-radius: 6px; background: var(--brand); }
.hj-cmp i.hj-cmp-soft { background: var(--stage-1); }
.hj-cmp b { font-size: 16px; font-weight: 680; white-space: nowrap; }
@media (max-width: 767px) { .hj-cmp > div { grid-template-columns: minmax(0, 1fr) auto; } .hj-cmp i { grid-column: 1 / -1; } }

/* ── 카테고리 지면 (지역별 · 용도별) ───────────────────────────── */
/* 새 블록은 전용 접두어로 짓는다 — 흔한 이름을 공용에 더하면 기존 규칙과 부딪힌다. */
.hj-crumbs { padding-top: 22px; font-size: 14px; color: var(--muted); }
.hj-crumbs ol { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.hj-crumbs li + li::before { content: '›'; margin-right: 6px; color: var(--line-2); }
.hj-crumbs a { color: var(--muted); text-decoration: none; border-bottom: 1px solid transparent; }
.hj-crumbs a:hover { color: var(--brand); border-bottom-color: var(--brand); }
.hj-crumbs [aria-current='page'] { color: var(--ink-2); font-weight: 620; }
.hj-crumbs + .hj-page-head { padding-top: 26px; }

/* 지면 머리의 숫자 넉 줄. 홈의 hj-stats 밴드와 달리 본문 안에 놓이므로
   위아래 선과 여백을 여기서 준다(밴드 안쪽 padding 과 겹치지 않게). */
.hj-page-head + .hj-stat-row {
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line);
  padding: 28px 0; margin-bottom: 28px;
}
.hj-page-head h1 .hj-num { color: var(--brand); }

@media (max-width: 900px) {
  .hj-page-head + .hj-stat-row { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
}
@media (max-width: 560px) {
  .hj-crumbs { font-size: 13px; }
  .hj-page-head + .hj-stat-row { grid-template-columns: minmax(0, 1fr); gap: 16px; padding: 22px 0; }
}

/* 카테고리 지면 머리 배너 — 데스크톱은 눕고 모바일은 선다 */
.hj-browse-banner { margin: 0 0 28px; }
.hj-browse-banner img {
  display: block; width: 100%; height: 260px; object-fit: cover; object-position: center;
  border-radius: 10px; background: var(--surface-2);
}
.hj-browse-banner figcaption { margin-top: 8px; font-size: 15px; color: var(--muted); letter-spacing: -0.01em; }
@media (max-width: 767px) {
  .hj-browse-banner img { height: 240px; }
}
