/* pocatellocvb.com — 스톤 그레이의 출발 도시별 주행 계획표
   토큰은 base.html :root. 모바일(360px) 기본 → 720px 태블릿 → 1024px 데스크톱. 설명은 DESIGN.md */

/* ── 0. 기본 ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; color-scheme: light; }
body {
  margin: 0; background: var(--bg); color: var(--text);
  font-family: var(--font-body); font-size: 17px; line-height: 1.7;
  /* 어절 단위 줄바꿈, 한 줄보다 긴 토큰(URL 등)만 끊는다. anywhere 금지 — flex 안 번호까지 쪼갠다 */
  word-break: keep-all; overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--primary); text-underline-offset: 3px; }
a:hover { color: var(--primary-deep); }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 2px; }
h1, h2, h3, h4 { margin: 0; line-height: 1.45; color: var(--text); font-weight: 600; word-break: keep-all; overflow-wrap: break-word; }
p { margin: 0; }
ul, ol { margin: 0; }
[hidden] { display: none !important; }
.num { font-family: var(--font-number); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }

.skip {
  position: absolute; left: 8px; top: -80px; z-index: 300;
  background: var(--primary); color: #fff; padding: 12px 16px; border-radius: var(--radius);
}
.skip:focus { top: 8px; color: #fff; }

/* ── 1. 헤더 (일반 흐름, 고정 아님) ─────────────────── */
.topbar { background: var(--surface); border-top: 4px solid var(--primary); border-bottom: 1px solid var(--border); }
.topbar__in {
  max-width: var(--container); margin: 0 auto; padding: 4px 8px 4px 16px;
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0 16px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; min-height: 48px; text-decoration: none; color: var(--text); }
.brand__mark {
  flex: none; width: 22px; height: 22px; border-radius: 4px; background: var(--primary);
  box-shadow: inset 0 0 0 4px var(--primary), inset 0 0 0 7px #fff;
}
.brand__name { font-family: var(--font-title); font-weight: 600; font-size: 18px; letter-spacing: -.01em; line-height: 1.3; }
.menu-btn {
  display: none; align-items: center; gap: 8px; min-height: 44px; min-width: 44px; padding: 0 12px;
  background: var(--surface); color: var(--text); border: 1px solid var(--border); border-radius: var(--radius);
  font: 600 15px/1 var(--font-body); cursor: pointer;
}
.menu-btn__bars, .menu-btn__bars::before, .menu-btn__bars::after {
  display: block; width: 18px; height: 2px; background: currentColor; border-radius: 1px; position: relative;
}
.menu-btn__bars::before, .menu-btn__bars::after { content: ""; position: absolute; left: 0; }
.menu-btn__bars::before { top: -6px; }
.menu-btn__bars::after { top: 6px; }
.menu-btn[aria-expanded="true"] .menu-btn__bars { background: transparent; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::before { top: 0; transform: rotate(45deg); background: currentColor; }
.menu-btn[aria-expanded="true"] .menu-btn__bars::after { top: 0; transform: rotate(-45deg); background: currentColor; }
.js .menu-btn { display: inline-flex; }

.plan-nav { flex: 1 0 100%; }
.plan-nav ul { list-style: none; padding: 0 0 8px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.plan-nav a {
  display: flex; align-items: center; min-height: 48px; padding: 0 4px;
  border-top: 1px solid var(--line); color: var(--text); text-decoration: none; font-size: 16px; font-weight: 600;
}
.plan-nav a[aria-current="page"] { color: var(--primary); box-shadow: inset 4px 0 0 var(--primary); padding-left: 12px; }
.js .plan-nav { display: none; }
.js .plan-nav.is-open { display: block; }

/* ── 2. 페이지 틀 ──────────────────────────────────── */
.page { max-width: var(--container); margin: 0 auto; padding: 0 16px 56px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 0 18px;
  border: 1px solid var(--border); border-radius: var(--radius); background: var(--surface);
  color: var(--text); font-weight: 600; font-size: 16px; text-decoration: none;
}
.btn:hover { border-color: var(--primary); color: var(--primary); }
.btn--primary { background: var(--primary); border-color: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-deep); color: #fff; }
.empty-note { padding: 20px; background: var(--surface); border-radius: var(--radius); color: var(--text-dim); }

/* ── 3. 홈 ─────────────────────────────────────────── */
.intro {
  margin: 0 -16px; padding: 24px 16px 22px; background: var(--surface);
  border-bottom: 1px solid var(--border);
}
.intro__kicker { font-size: 14px; font-weight: 600; color: var(--accent); }
.intro__title { margin-top: 6px; font-family: var(--font-title); font-weight: 600; font-size: 28px; line-height: 1.45; letter-spacing: -.02em; }
.intro__lede { margin-top: 12px; font-size: 17px; line-height: 1.75; }
.intro__by { margin-top: 12px; font-size: 15px; color: var(--text-dim); }
.intro__by strong { color: var(--text); }
.intro__go { margin-top: 18px; display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 10px; }
.intro__aside { margin-top: 20px; padding: 14px 16px; background: var(--surface-soft); border-radius: var(--radius); }
.intro__aside h2 { font-size: 15px; color: var(--accent); }
.intro__aside dl { margin: 6px 0 0; }
.intro__aside dl > div { padding: 8px 0; border-top: 1px solid var(--line); }
.intro__aside dl > div:first-child { border-top: 0; }
.intro__aside dt { font-size: 14px; font-weight: 600; }
.intro__aside dd { margin: 0; font-size: 14px; color: var(--text-dim); line-height: 1.6; }
.intro__note { margin-top: 18px; padding-top: 12px; border-top: 1px solid var(--line); font-size: 14px; color: var(--text-dim); }

.band { margin-top: 40px; }
.band__head { border-top: 2px solid var(--accent); padding-top: 12px; margin-bottom: 16px; }
.band__title { font-family: var(--font-title); font-weight: 600; font-size: 22px; color: var(--accent); }
.band__desc { margin-top: 4px; font-size: 15px; color: var(--text-dim); }

/* 출발 도시별 일정 색인 */
.city-index { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); }
.city-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.city-card__name {
  padding: 4px 16px; font-family: var(--font-title); font-size: 20px; color: var(--accent);
  background: var(--surface-soft); border-bottom: 1px solid var(--line);
}
.city-card__name a { color: inherit; text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.city-card__name a:hover { color: var(--primary); text-decoration: underline; }
.city-card__from { font-family: var(--font-body); font-size: 14px; color: var(--text-dim); font-weight: 400; }
.city-card__days { list-style: none; padding: 0; }
.city-card__days li + li { border-top: 1px solid var(--line); }
.city-card__days a {
  display: grid; grid-template-columns: 4.2em minmax(0, 1fr); gap: 12px; align-items: baseline;
  min-height: 52px; padding: 12px 16px; text-decoration: none; color: var(--text);
}
.city-card__days a:hover .city-card__t { color: var(--primary); text-decoration: underline; }
.city-card__d { font-family: var(--font-number); font-weight: 600; font-variant-numeric: lining-nums; font-size: 18px; color: var(--primary); white-space: nowrap; }
.city-card__t { font-size: 16px; line-height: 1.55; }

/* 대표 일정 비교 */
.plan-compare { list-style: none; padding: 0; display: grid; gap: 14px; }
.plan-card {
  display: flex; flex-direction: column; gap: 10px; padding: 10px 16px 14px;
  background: var(--surface); border-radius: var(--radius); border-top: 4px solid var(--primary);
}
.plan-card__title { font-size: 18px; line-height: 1.5; }
.plan-card__title a { color: var(--text); text-decoration: none; display: inline-block; padding: 8px 0; }
.plan-card__title a:hover { color: var(--primary); text-decoration: underline; }
.plan-card__facts { margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); border: 1px solid var(--line); border-radius: var(--radius); }
.plan-card__facts > div { padding: 8px 12px; }
.plan-card__facts > div + div { border-left: 1px solid var(--line); }
.plan-card__facts dt { font-size: 13px; color: var(--text-dim); }
.plan-card__facts dd { margin: 0; font-size: 16px; font-weight: 600; }
.plan-card__sum { font-size: 15px; color: var(--text-dim); line-height: 1.65; }
.plan-card__go {
  margin-top: auto; display: flex; align-items: center; min-height: 44px; font-weight: 600; font-size: 15px;
}
.plan-card__go::after { content: "→"; margin-left: 6px; }

/* 세 갈래 안내 패널 */
.trio { margin-top: 40px; display: grid; gap: 14px; }
.panel { background: var(--surface); border-radius: var(--radius); padding: 18px 16px 8px; }
.panel__title { font-family: var(--font-title); font-size: 20px; color: var(--accent); }
.panel__desc { margin-top: 4px; font-size: 14px; color: var(--text-dim); }
.panel--first { margin-top: 20px; }

.link-list { list-style: none; padding: 0; margin-top: 10px; }
.link-item + .link-item { border-top: 1px solid var(--line); }
.link-item a {
  display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; min-height: 48px; padding: 12px 0;
  text-decoration: none; color: var(--text);
}
.link-list--num .link-item a { grid-template-columns: 34px minmax(0, 1fr); column-gap: 12px; }
.link-item__n {
  grid-row: span 2; width: 30px; height: 30px; display: grid; place-items: center;
  border: 2px solid var(--primary); border-radius: 4px; color: var(--primary);
  font-family: var(--font-number); font-weight: 600; font-variant-numeric: lining-nums; font-size: 15px; line-height: 1;
}
.link-item__t { font-weight: 600; font-size: 16px; line-height: 1.55; }
.link-item__s { font-size: 14px; color: var(--text-dim); line-height: 1.6; }
.link-item a:hover .link-item__t { color: var(--primary); text-decoration: underline; }

/* 글 목록 (plan-list) — 흰 계획 면 위 행 */
.plan-list { list-style: none; padding: 0 16px; background: var(--surface); border-radius: var(--radius); }
.plan-row { display: grid; grid-template-columns: minmax(0, 1fr); gap: 14px; padding: 12px 0 18px; }
.plan-row + .plan-row { border-top: 1px solid var(--line); }
.plan-row:has(.plan-row__thumb) { grid-template-columns: minmax(0, 1fr) 88px; }
.plan-row__cat { font-size: 13px; font-weight: 600; color: var(--accent); }
.plan-row__title { margin-top: 2px; font-size: 18px; line-height: 1.5; }
.plan-row__title a { color: var(--text); text-decoration: none; display: inline-block; padding: 9px 0; }
.plan-row__title a:hover { color: var(--primary); text-decoration: underline; }
.plan-row__axis { margin-top: 6px; display: flex; flex-wrap: wrap; gap: 6px; }
.axis { display: inline-flex; align-items: center; padding: 1px 9px; font-size: 13px; font-weight: 600; border-radius: 3px; line-height: 1.7; }
.axis--city { background: var(--primary-soft); color: var(--primary); }
.axis--days { border: 1px solid var(--accent); color: var(--accent); font-family: var(--font-number); font-variant-numeric: lining-nums; }
.plan-row__sum { margin-top: 8px; font-size: 15px; color: var(--text-dim); line-height: 1.65; }
.plan-row__date { margin-top: 8px; font-size: 13px; color: var(--text-dim); }
.plan-row__date time { font-family: var(--font-number); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.plan-row__thumb img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 4px; background: var(--bg-deep); }

/* ── 4. 목록 머리 (카테고리·태그) ───────────────────── */
.crumbs ol { list-style: none; padding: 0; display: flex; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--text-dim); }
.crumbs li { display: inline-flex; align-items: center; min-width: 0; }
.crumbs li + li::before { content: "›"; margin: 0 8px; color: var(--border); }
.crumbs a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 32px; color: var(--text-dim); }
.crumbs a:hover { color: var(--primary); }
.crumbs [aria-current] span { display: inline-block; max-width: 22em; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; vertical-align: bottom; }

.list-head { padding: 8px 0 4px; }
.list-head__title { margin-top: 2px; font-family: var(--font-title); font-weight: 600; font-size: 28px; letter-spacing: -.02em; }
.list-head__hash { color: var(--primary); margin-right: 2px; }
.list-head__desc { margin-top: 8px; font-size: 16px; line-height: 1.7; }
.list-head__count { margin-top: 8px; font-size: 14px; color: var(--text-dim); }
.list-head__count .num { color: var(--text); font-size: 16px; margin-right: 2px; }

.chip-row { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 8px; }
.chip-row a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 22px;
  color: var(--text); text-decoration: none; font-size: 15px;
}
.chip-row a:hover { border-color: var(--primary); color: var(--primary); }

/* ── 5. 광고 슬롯 — 광고 코드가 없으면(라벨만 있으면) 숨긴다 ─ */
.ad-slot { position: relative; margin: 40px 0 0; padding: 24px 0 8px; border-top: 1px dashed var(--border); text-align: center; min-height: 250px; }
.ad-slot:not(:has(> :not(.ad-label))) { display: none; }
.ad-label { position: absolute; left: 0; top: 4px; font-size: 12px; color: var(--text-dim); letter-spacing: .04em; }

/* ── 6. 글 페이지 (흰 계획 면) ─────────────────────── */
.sheet {
  max-width: var(--post-width); margin: 0 -16px; padding: 8px 16px 32px;
  background: var(--surface); border-bottom: 1px solid var(--border);
}
.sheet__head, .sheet__foot { max-width: var(--reading-width); margin-inline: auto; }
.sheet .crumbs [aria-current] { display: none; }
.sheet__cat { margin-top: 2px; }
.sheet__cat a {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px;
  font-size: 14px; font-weight: 600; color: var(--accent); text-decoration: none;
}
.sheet__cat a::before { content: ""; width: 10px; height: 10px; background: var(--primary); border-radius: 2px; }
.sheet__cat a:hover { color: var(--primary); text-decoration: underline; }
.sheet__title { margin-top: 4px; font-family: var(--font-title); font-weight: 600; font-size: 26px; line-height: 1.45; letter-spacing: -.02em; }
.sheet__lede { margin-top: 12px; font-size: 17px; line-height: 1.75; color: var(--text); }
.sheet__by { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 14px; color: var(--text-dim); }
.sheet__by time { font-family: var(--font-number); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.sheet__author { color: var(--text); font-weight: 600; }
.sheet__cover { margin: 20px 0 0; }
.sheet__cover img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; border-radius: var(--radius); background: var(--bg-deep); }

.sheet__foot { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); display: grid; gap: 14px; }
.tag-row { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-row a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 14px;
  background: var(--surface-soft); border: 1px solid var(--line); border-radius: 22px;
  color: var(--text); text-decoration: none; font-size: 15px;
}
.tag-row a:hover { border-color: var(--primary); color: var(--primary); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; }
.share__btn {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px; cursor: pointer;
  font: 600 15px/1 var(--font-body); color: var(--text); background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
}
.share__btn:hover { border-color: var(--primary); color: var(--primary); }
.share__msg { font-size: 14px; color: var(--primary); }

.next { max-width: var(--post-width); margin: 40px auto 0; }
.next .band__title { border-top: 2px solid var(--accent); padding-top: 12px; }
.link-list--cards { display: grid; gap: 10px; }
.link-list--cards .link-item { background: var(--surface); border-radius: var(--radius); padding: 0 16px; }
.link-list--cards .link-item + .link-item { border-top: 0; }

/* ── 7. .post-body ─────────────────────────────────── */
.post-body { margin-top: 24px; font-size: 17px; line-height: 1.8; color: var(--text); }
.post-body > * { max-width: var(--reading-width); margin-inline: auto; }
.post-body > * + * { margin-top: 1em; }
.post-body > :is(h2, h3, h4) + * { margin-top: .6em; }
.post-body > :is(blockquote, div, aside, figure, table, nav, ul, ol) + :is(p, h4) { margin-top: 1.4em; }
.post-body h2 {
  margin-top: 2.4em; padding-top: 18px; font-size: 22px; line-height: 1.45; position: relative; scroll-margin-top: 16px;
}
.post-body h2::before { content: ""; position: absolute; left: 0; top: 0; width: 32px; height: 4px; background: var(--primary); }
.post-body h3 { margin-top: 1.8em; font-size: 19px; color: var(--accent); scroll-margin-top: 16px; }
.post-body h4 { font-size: 17px; }
.post-body strong { font-weight: 600; color: var(--text); }
.post-body a { color: var(--primary); text-decoration: underline; text-decoration-thickness: 1px; }
.post-body a:hover { color: var(--primary-deep); text-decoration-thickness: 2px; }
.post-body ul, .post-body ol { padding-left: 1.3em; }
.post-body li + li { margin-top: .45em; }
.post-body li p { margin: 0; }
.post-body li::marker { color: var(--primary); font-weight: 600; }
.post-body hr { border: 0; height: 1px; background: var(--line); margin-block: 2.4em; }
.post-body img { display: block; max-width: 100%; height: auto; border-radius: var(--radius); }
.post-body figure { margin-bottom: 0; }
.post-body > figure { margin-top: 1.6em; }
/* 섹션 이미지: 카뉴 4:3. 채워지기 전(data-img-pending, src 없음)에도 자리를 잡아 레이아웃이 흔들리지 않게 */
.post-body > figure > img, .post-body figure > img[data-img-pending] { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--bg-deep); }
/* 카뉴가 src 를 채우기 전: 깨진 이미지 아이콘·alt 글자를 감추고 자리만 둔다 */
.post-body img[data-img-pending]:not([src]) { color: transparent; font-size: 0; }
.post-body figcaption { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--text-dim); }
.post-body code, .post-body kbd { font-size: .9em; }

/* 루트 한 줄 요약 (본문 첫 blockquote) / 인용
   Visit Utah 일정 카드 제목 — 색 면·세로 띠 없이 세리프 제목체 한 줄, 아래 가는 선 */
.post-body blockquote {
  margin-block: 1.6em 0; padding: 0 0 14px; border-bottom: 1px solid var(--line);
  font-family: var(--font-title); font-weight: 600; font-size: 20px; line-height: 1.6; color: var(--primary-deep);
}
.post-body > blockquote:first-child { margin-top: 0; }
.post-body blockquote p + p { margin-top: .6em; }
.post-body blockquote cite { display: block; margin-top: 8px; font-family: var(--font-body); font-size: 14px; font-style: normal; font-weight: 400; color: var(--text-dim); }

/* ── 8. 표준 컴포넌트 31종 ─────────────────────────── */
/* 8-1 알림 박스 — 다섯 종류가 서로 다른 모양 (DESIGN.md "본문 컴포넌트 시각" 표)
   warn·error = NPS 공원 경보 목록(심각도 아이콘 + 색 제목 + 아래 가는 선, 면 없음)
   info = Earth Trekkers "PRO TRAVEL TIP:" (옅은 파랑 면 + 굵은 머리말이 문장 앞에 붙음)
   note = NPS 사실 확인 상자(모래색 면 + 아이콘·굵은 머리줄)
   success = NPS "ALERTS" 태그(각진 색 태그가 굵은 선 위에 얹힘) */
.post-body { --alert-red: #A3262A; --fact: #F5F0E6; }
.post-body :is(.warn-box, .info-box, .success-box, .error-box, .note-box) { margin-top: 1.4em; font-size: 16px; line-height: 1.75; }
.post-body :is(.warn-box, .info-box, .success-box, .error-box, .note-box) > div { min-width: 0; }
.post-body .badge { font-weight: 600; white-space: nowrap; }

/* 주의·금지: 아이콘 칸 + 색 제목 + 본문, 아래 가는 선 */
.post-body :is(.warn-box, .error-box) {
  display: grid; grid-template-columns: 30px minmax(0, 1fr); column-gap: 14px; align-items: start;
  padding: 2px 0 16px; border-bottom: 1px solid var(--line);
}
.post-body :is(.warn-box, .error-box)::before { content: ""; grid-row: 1 / span 2; margin-top: 3px; }
.post-body :is(.warn-box, .error-box) .badge { font-size: 18px; line-height: 1.55; }
.post-body .warn-box::before {
  content: "!"; width: 30px; height: 27px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 2px;
  background: var(--warn); color: #fff; font: 700 16px/1 var(--font-number); clip-path: polygon(50% 0, 100% 100%, 0 100%);
}
.post-body .warn-box .badge { color: var(--warn); }
.post-body .error-box::before {
  width: 28px; height: 28px; border: 3px solid var(--alert-red); border-radius: 50%;
  background: linear-gradient(var(--alert-red), var(--alert-red)) center / 12px 3px no-repeat;
}
.post-body .error-box .badge { color: var(--alert-red); }
.post-body :is(.warn-box, .error-box) a { color: var(--primary); }

/* TIP: 옅은 파랑 면 한 덩어리, 머리말이 문장 앞에 "TIP:" 으로 붙는다 */
.post-body .info-box { display: block; padding: 14px 20px 16px; background: var(--primary-soft); font-size: 17px; }
.post-body .info-box .badge { display: inline; margin-right: .3em; font-weight: 700; letter-spacing: .02em; text-transform: uppercase; color: var(--text); }
.post-body .info-box .badge::after { content: ":"; }
.post-body .info-box > div { display: inline; }

/* 참고·기준·제휴: 모래색 면, 첫 줄에 아이콘 + 굵은 머리말 */
.post-body .note-box { display: block; padding: 12px 16px 14px; background: var(--fact); }
.post-body .note-box .badge { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; font-size: 15px; font-weight: 700; color: var(--text); }
.post-body .note-box .badge::before {
  content: ""; flex: none; width: 15px; height: 15px; border: 2px solid currentColor; border-radius: 2px;
  background: linear-gradient(currentColor, currentColor) 50% 3px / 7px 2px no-repeat, linear-gradient(currentColor, currentColor) 50% 7px / 7px 2px no-repeat;
}
.post-body .note-box a { color: var(--primary); }

/* 점검 완료: 각진 초록 태그가 굵은 선 위에 얹힌다 (면 없음) */
.post-body .success-box { display: grid; grid-template-columns: minmax(0, 1fr); padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.post-body .success-box .badge {
  justify-self: start; padding: 4px 12px 5px; background: var(--ok); color: #fff;
  font-size: 15px; line-height: 1.4; letter-spacing: .04em;
}
.post-body .success-box > div { padding-top: 10px; border-top: 2px solid var(--ok); }

/* 8-2 콘텐츠 박스 */
.post-body :is(.prep-box, .summary-box, .key-points, .toc-box) { margin-top: 1.6em; }
.post-body :is(.prep-box, .summary-box, .key-points, .toc-box) > :last-child { margin-bottom: 0; }

/* 루트 개요 = Earth Trekkers "The Essentials": 회색 평면, 굵은 항목명 뒤 세로 막대 "|" */
.post-body .summary-box { padding: 20px 20px 18px; background: var(--surface-soft); }
.post-body .summary-box > :is(h3, h4) { margin: 0 0 12px; font-size: 20px; line-height: 1.4; color: var(--text); }
.post-body .summary-box ul { list-style: none; padding: 0; }
.post-body .summary-box li + li { margin-top: .75em; }
.post-body .summary-box li strong { font-weight: 700; color: var(--text); }
.post-body .summary-box li strong::after { content: " |"; font-weight: 700; color: var(--text); margin-right: .2em; }

/* 출발 전 체크리스트 = NPS "Ten Essentials": 굵은 항목명 – 설명이 한 줄로 이어지고, 번호는 왼쪽 칸 */
.post-body .prep-box { padding: 0; }
.post-body .prep-box > :is(h3, h4) { margin: 0 0 4px; padding-bottom: 8px; font-size: 19px; color: var(--text); border-bottom: 3px solid var(--text); }
.post-body .prep-grid { display: grid; grid-template-columns: minmax(0, 1fr); counter-reset: prep; }
.post-body .prep-grid > div {
  counter-increment: prep; display: grid; grid-template-columns: 34px minmax(0, 1fr); column-gap: 10px;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; line-height: 1.7;
}
.post-body .prep-grid > div::before {
  content: counter(prep); grid-row: 1 / span 2; font: 600 22px/1.2 var(--font-number); font-variant-numeric: lining-nums tabular-nums; color: var(--primary);
}
.post-body .prep-grid > div > :first-child { font-weight: 700; color: var(--text); }
.post-body .prep-grid > div > :last-child:not(:first-child) { color: var(--text); }

/* 핵심 주의 = Visit Utah "HIGHLIGHTS": 자간 넓힌 녹슨 주황 작은 머리말 + 장식 없는 줄 목록 */
.post-body .key-points > :is(h3, h4) { margin: 0 0 10px; font-size: 14px; font-weight: 700; letter-spacing: .14em; color: var(--warn); }
.post-body .key-points ol { list-style: none; padding: 0; counter-reset: kp; }
.post-body .key-points li { counter-increment: kp; display: grid; grid-template-columns: 1.8em minmax(0, 1fr); }
.post-body .key-points li + li { margin-top: .3em; }
.post-body .key-points li::before { content: counter(kp); font: 600 15px/1.8 var(--font-number); color: var(--warn); }

/* 목차 = Earth Trekkers 목차 상자: 옅은 파랑 면 + 회색 1px 테두리 + 4px 모서리, 번호 목록 */
.post-body .toc-box { padding: 12px 18px 10px; background: var(--primary-soft); border: 1px solid #A9AAB5; border-radius: 4px; }
.post-body .toc-box > :is(h3, h4) { margin: 0 0 2px; font-size: 19px; font-weight: 600; color: var(--text); }
.post-body .toc-box ol { padding-left: 1.4em; }
.post-body .toc-box li + li { margin-top: 0; }
.post-body .toc-box li::marker { color: var(--text); font-weight: 400; }
.post-body .toc-box a { display: block; padding: 8px 0; color: var(--text); text-decoration: none; line-height: 1.6; }
.post-body .toc-box a:hover { color: var(--primary); text-decoration: underline; }

/* 8-3 레이아웃 — Day 블록: Earth Trekkers "Day 1:" 굵은 머리 + NPS 경보 목록식 왼쪽 번호 칸, 가는 선으로 구분 */
.post-body .step { display: grid; grid-template-columns: 56px minmax(0, 1fr); gap: 12px; margin-top: 1.4em; padding-top: 14px; border-top: 1px solid var(--line); }
.post-body .step .num {
  align-self: start; padding-top: 2px; color: var(--primary);
  font-family: var(--font-number); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; font-size: 26px; line-height: 1.1; letter-spacing: -.01em;
}
.post-body .step .body > :first-child { margin-top: 0; }
.post-body .step .body h4 { font-size: 17px; margin: 2px 0 4px; }
.post-body .step .body p + p, .post-body .step .body * + ul { margin-top: .6em; }

.post-body .timeline { list-style: none; padding: 0; margin-top: 1.4em; }
.post-body .timeline li { position: relative; display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; padding: 0 0 14px 22px; border-left: 2px solid var(--line); margin-left: 6px; }
.post-body .timeline li + li { margin-top: 0; }
.post-body .timeline li::before { content: ""; position: absolute; left: -7px; top: 8px; width: 12px; height: 12px; background: var(--surface); border: 3px solid var(--primary); border-radius: 2px; }
.post-body .timeline .time { font-family: var(--font-number); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; color: var(--primary); font-size: 15px; }

/* 표 = NPS 요금 표: 머리 칸 채움 없이 굵은 글씨 + 아래 굵은 선, 줄마다 가는 선, 줄무늬 없음. 넘치면 가장자리 그림자(JS 없을 때) */
.post-body > :is(table, .scroll-x, .table-scroll) { max-width: none; }
.post-body :is(.scroll-x, .table-scroll) {
  overflow-x: auto; margin-top: 1.4em;
  background:
    linear-gradient(90deg, var(--surface) 30%, rgba(255, 255, 255, 0)) left / 40px 100% no-repeat local,
    linear-gradient(270deg, var(--surface) 30%, rgba(255, 255, 255, 0)) right / 40px 100% no-repeat local,
    radial-gradient(farthest-side at 0 50%, rgba(36, 35, 38, .22), transparent) left / 14px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(36, 35, 38, .22), transparent) right / 14px 100% no-repeat scroll,
    var(--surface);
}
.post-body .scroll-x .table-scroll { margin: 0; overflow: visible; background: none; }
.post-body table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; background: var(--surface); }
.post-body > table { display: block; overflow-x: auto; }
.post-body :is(.scroll-x, .table-scroll) table { min-width: 600px; background: transparent; }
.post-body table caption { caption-side: top; text-align: left; padding: 0 0 8px; font-size: 14px; color: var(--text-dim); }
.post-body table :is(th, td) { padding: 12px 14px 12px 0; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.post-body table thead th { padding-top: 6px; padding-bottom: 8px; color: var(--text); font-size: 15px; font-weight: 700; white-space: nowrap; border-bottom: 2px solid var(--text); }
.post-body table tbody th { font-weight: 700; white-space: nowrap; color: var(--text); }
.post-body table [data-num] { text-align: right; font-family: var(--font-number); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; white-space: nowrap; }
.post-body table thead th[data-num] { font-family: var(--font-body); }
.post-body table :is(th, td):last-child { padding-right: 0; }
.post-body table td[data-num] { padding-right: 24px; }

.post-body .pros-cons { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 1.4em; }
.post-body .pros-cons > div { padding: 14px 16px; border-radius: var(--radius); border: 1px solid var(--line); border-top: 4px solid var(--primary); }
.post-body .pros-cons .cons { border-top-color: var(--warn); }
.post-body .pros-cons h4 { font-size: 16px; margin-bottom: 6px; }
.post-body .pros-cons ul { padding-left: 1.2em; }

.post-body .stats-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.4em; border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; }
.post-body .stats-grid .stat { display: flex; flex-direction: column; gap: 2px; padding: 10px 14px; box-shadow: 1px 0 0 var(--line), 0 1px 0 var(--line); }
.post-body .stats-grid .stat:last-child:nth-child(odd) { grid-column: 1 / -1; }
.post-body .stats-grid .label { font-size: 13px; color: var(--text-dim); }
.post-body .stats-grid .value { font-size: 16px; font-weight: 600; line-height: 1.5; font-variant-numeric: lining-nums tabular-nums; }

/* 8-4 텍스트 강조 */
.post-body .lead { font-size: 18px; line-height: 1.75; color: var(--text); }
.post-body .highlight { background: var(--primary-soft); color: var(--text); padding: 0 3px; border-radius: 2px; box-shadow: inset 0 -2px 0 rgba(41, 61, 160, .35); }
.post-body .pull-quote {
  margin-block: 2em 0; padding: 14px 0; font-family: var(--font-title); font-weight: 600; font-size: 21px; line-height: 1.6;
  border-top: 3px solid var(--accent); border-bottom: 1px solid var(--line); color: var(--accent);
}
.post-body kbd, .post-body .kbd { display: inline-block; padding: 0 6px; border: 1px solid var(--border); border-bottom-width: 2px; border-radius: 3px; background: var(--surface); font-size: .88em; line-height: 1.6; }

/* 8-5 미디어 */
.post-body .image-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; margin-top: 1.4em; }
.post-body .image-grid figure, .post-body .before-after figure { margin: 0; }
.post-body .before-after { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 1.4em; }
.post-body .before-after > div { position: relative; }
.post-body .before-after .label { position: absolute; top: 8px; left: 8px; padding: 0 8px; font-size: 13px; font-weight: 600; background: var(--accent); color: #fff; border-radius: 3px; }
.post-body .video-embed { position: relative; aspect-ratio: 16 / 9; margin-top: 1.4em; border-radius: var(--radius); overflow: hidden; background: var(--bg-deep); }
.post-body .video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 8-6 CTA — Earth Trekkers 숙소 안내 판(둥근 회색 판 + 그림자, 파란 작은 머리말) + Visit Utah "SEE ITINERARY →" 테두리 알약 버튼 */
.post-body .cta-box {
  margin-top: 1.6em; padding: 20px 20px 22px; border-radius: 14px; background: var(--surface-soft);
  box-shadow: 0 3px 10px rgba(36, 35, 38, .16);
}
.post-body .cta-box h4 { font-size: 14px; font-weight: 700; letter-spacing: .1em; color: var(--primary); }
.post-body .cta-box p { margin-top: 6px; font-size: 18px; font-weight: 600; line-height: 1.55; color: var(--text); }
.post-body .cta-button {
  display: inline-flex; align-items: center; gap: 8px; min-height: 48px; margin-top: 16px; padding: 0 22px;
  background: transparent; color: var(--primary); border: 2px solid var(--primary); border-radius: 999px;
  font-weight: 700; font-size: 15px; letter-spacing: .04em; text-decoration: none;
}
.post-body .cta-button:hover { background: var(--primary); color: #fff; }
.post-body > .cta-button { margin-top: 1.4em; }
/* 8-7 기타 */
.post-body .divider { height: 1px; border: 0; background: var(--line); }
.post-body .spoiler { margin-top: 1.4em; border: 1px solid var(--border); border-radius: var(--radius); }
.post-body .spoiler summary { cursor: pointer; display: flex; align-items: center; min-height: 48px; padding: 0 16px; font-weight: 600; }
.post-body .spoiler > :not(summary) { padding: 0 16px 14px; margin: 0; }
.post-body .footnote-ref { font-family: var(--font-number); font-size: .75em; }
.post-body .footnote {
  display: block; margin-top: 2em; padding: 12px 0 0 2.4em; text-indent: -2.4em; border-top: 1px solid var(--line);
  font-size: 14px; line-height: 1.65; color: var(--text-dim);
}
.post-body .footnote + .footnote { margin-top: 4px; padding-top: 0; border-top: 0; }
.post-body .footnote .num { display: inline-block; min-width: 2.4em; text-indent: 0; color: var(--text); }
.post-body .price-tag { display: inline-flex; align-items: baseline; gap: 2px; padding: 0 6px; background: var(--surface-soft); border-radius: 3px; }
.post-body .price-tag .amount { font-family: var(--font-number); font-weight: 600; font-variant-numeric: lining-nums tabular-nums; }
.post-body .price-tag .currency { font-size: .85em; color: var(--text-dim); }
.post-body .faq { margin-top: 1.4em; border-top: 1px solid var(--line); }
.post-body .faq dt { padding: 14px 0 4px; font-weight: 600; display: flex; gap: 8px; }
.post-body .faq dt::before { content: "Q"; font-family: var(--font-number); color: var(--primary); }
.post-body .faq dd { margin: 0; padding: 0 0 14px 22px; border-bottom: 1px solid var(--line); }
/* FAQ (h2#…faq 다음 h3 질문 + p 답) = NPS 아코디언을 펼친 모양: 회색 띠에 굵은 질문, 답은 띠 아래 같은 들여쓰기 */
.post-body h2[id$="faq"] ~ h3:not(h2[id$="faq"] ~ h2 ~ h3) {
  margin-top: 12px; padding: 14px 16px; background: #EFEFEF; color: var(--text); font-size: 17px; line-height: 1.5;
}
.post-body h2[id$="faq"] + h3 { margin-top: .9em; }
.post-body h2[id$="faq"] ~ h3:not(h2[id$="faq"] ~ h2 ~ h3) + p { margin-top: 0; padding: 12px 16px 6px; }
.post-body .tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.post-body .tag-list .tag { padding: 0 10px; font-size: 14px; background: var(--surface-soft); border: 1px solid var(--line); border-radius: 3px; }
/* 본문 광고: 제휴 링크와 32px 이상 + 구분선 */
.post-body .inline-ad { margin-block: 2.4em 0; }
.post-body .inline-ad + * { margin-top: 2em; }

/* ── 9. 푸터 ───────────────────────────────────────── */
.colophon { background: #2A2628; color: #DAD5D1; }
.colophon__in { max-width: var(--container); margin: 0 auto; padding: 32px 16px 40px; display: grid; gap: 14px; font-size: 15px; line-height: 1.7; }
.colophon__name { color: #fff; font-family: var(--font-title); font-weight: 600; font-size: 18px; }
.colophon__id p { margin-top: 6px; }
.colophon__domain { font-family: var(--font-number); color: #fff; }
.colophon__links { display: flex; flex-wrap: wrap; gap: 0 20px; }
.colophon__links a { display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; color: #fff; }
.colophon__links a:hover { color: #C9D1FF; }
.colophon__note { max-width: 720px; font-size: 14px; }
.colophon__note strong { color: #fff; margin-right: 6px; }
.colophon__note--strong { color: #fff; font-weight: 600; }
.colophon__copy { font-size: 13px; font-family: var(--font-number); }

/* CMS 기본 페이지(/privacy 등) */
.cms-default-page { max-width: var(--reading-width); padding: 28px 0 0; }
.cms-default-page h1 { font-family: var(--font-title); font-size: 26px; margin-bottom: 16px; }

/* ── 10. 모바일 전용 — 표 → 행 카드 (site.js 가 data-label 을 복사했을 때만) ── */
@media (max-width: 719px) {
  .post-body :is(.scroll-x, .table-scroll).is-stacked { overflow: visible; border: 0; border-radius: 0; background: none; }
  .post-body table.is-stacked, .post-body table.is-stacked :is(tbody, tr, th, td) { display: block; width: auto; min-width: 0; }
  .post-body table.is-stacked { background: none; }
  .post-body table.is-stacked caption { display: block; padding: 0 2px 8px; }
  .post-body table.is-stacked thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .post-body table.is-stacked tbody tr { padding: 4px 0 10px; border-bottom: 1px solid var(--line); }
  .post-body table.is-stacked tbody tr:first-child { border-top: 2px solid var(--text); }
  .post-body table.is-stacked tbody :is(th, td) { border: 0; padding: 4px 0; white-space: normal; }
  .post-body table.is-stacked tbody > tr > :first-child:not([data-label]) { padding-top: 10px; font-size: 17px; font-weight: 700; color: var(--text); }
  .post-body table.is-stacked td[data-label] { display: grid; grid-template-columns: 6.5em minmax(0, 1fr); gap: 10px; text-align: left; }
  .post-body table.is-stacked td[data-label]::before { content: attr(data-label); font-family: var(--font-body); font-size: 14px; font-weight: 600; color: var(--text-dim); padding-top: 1px; white-space: normal; }
}

/* ── 11. 태블릿 720px+ ─────────────────────────────── */
@media (min-width: 720px) {
  .page { padding: 0 24px 72px; }
  .topbar__in { padding: 6px 16px 6px 24px; }
  .intro { margin: 24px 0 0; padding: 36px 36px 30px; border-radius: var(--radius); border: 0; }
  .intro__title { font-size: 34px; }
  .intro__lede { max-width: 40em; font-size: 18px; }
  .intro__go { display: flex; flex-wrap: wrap; }
  .plan-compare { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .list-head { padding-top: 16px; }
  .list-head__title { font-size: 32px; }
  .plan-list { padding: 0 24px; }
  .plan-row:has(.plan-row__thumb) { grid-template-columns: minmax(0, 1fr) 160px; gap: 24px; }
  .sheet { margin: 24px auto 0; padding: 16px 40px 48px; border-radius: var(--radius); border: 0; }
  .sheet .crumbs [aria-current] { display: inline-flex; }
  .sheet__title { font-size: 34px; }
  .sheet__lede { font-size: 18px; }
  .post-body { font-size: 18px; }
  .post-body h2 { font-size: 25px; }
  .post-body h3 { font-size: 20px; }
  .post-body > :is(.stats-grid, .pros-cons) { max-width: none; }
  .post-body .pros-cons, .post-body .before-after { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-body .stats-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .post-body .stats-grid .stat:last-child:nth-child(odd) { grid-column: auto; }
  .post-body .step { grid-template-columns: 68px minmax(0, 1fr); gap: 16px; }
  .post-body .step .num { font-size: 30px; }
  .post-body .timeline li { grid-template-columns: 6em minmax(0, 1fr); gap: 14px; }
  .post-body .info-box { padding: 16px 24px 18px; }
  .post-body .cta-box { padding: 24px 28px 26px; }
  .post-body .inline-ad, .ad-slot { min-height: 280px; }
  .colophon__in { padding: 40px 24px 48px; }
}

@media (min-width: 720px) and (max-width: 1023px) {
  .plan-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
}

/* ── 12. 데스크톱 1024px+ ───────────────────────────── */
@media (min-width: 1024px) {
  .js .menu-btn { display: none; }
  .js .plan-nav, .plan-nav { display: block; flex: 0 1 auto; }
  .plan-nav ul { display: flex; flex-wrap: wrap; gap: 0 4px; padding: 0; }
  .plan-nav a { border-top: 0; padding: 0 10px; font-size: 15px; min-height: 48px; }
  .plan-nav a:hover { color: var(--primary); }
  .plan-nav a[aria-current="page"] { box-shadow: inset 0 -3px 0 var(--primary); padding-left: 10px; }
  .intro { padding: 48px 56px 40px; display: grid; grid-template-columns: minmax(0, 1fr) 340px; column-gap: 48px; }
  .intro > * { grid-column: 1; }
  .intro > .intro__aside { grid-column: 2; grid-row: 1 / span 5; align-self: start; margin-top: 0; }
  .intro > .intro__note { grid-column: 1 / -1; }
  .intro__title { font-size: 40px; }
  .plan-compare { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .trio { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
  .trio .panel:only-child { grid-column: 1 / -1; }
  .plan-list { padding: 0 32px; }
  .sheet { padding: 24px 124px 56px; }
  .sheet__title { font-size: 40px; }
  .post-body > :is(table, .scroll-x, .table-scroll, .stats-grid, .pros-cons, .image-grid) { margin-inline: -60px; max-width: calc(100% + 120px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
  .topbar, .ad-slot, .colophon, .share, .chip-row { display: none !important; }
  body { background: #fff; }
}

/* QA 자동 수정 (관문 A) */
@media (min-width: 1024px) {
  .post-body > .scroll-x.is-stacked { margin-inline: 0; max-width: 100%; }
  .post-body > .pros-cons { margin-inline: 0; max-width: 100%; }
}
@media (max-width: 719px) {
  .sheet__title { font-size: 23px; line-height: 1.4; }
}

/* QA 자동 수정 (관문 A) */
@media (max-width: 719px) { .sheet__title { font-size: 21px; line-height: 1.35; } }

/* QA 자동 수정 (관문 A) */
.post-body .faq dd:nth-of-type(2) { min-height: 4.8em; }

/* QA 자동 수정 (관문 A) */
@media (max-width: 767px) { .post-body { min-height: 60vh; } }
