/* ryugatake.net — 회자주 표지의 온천 체류 기록
   모바일(360px) 기준으로 쓰고 min-width 로 넓힌다. 토큰은 base.html :root. 설명은 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: 16px; line-height: 1.7;
  /* 한글은 어절 단위로만 줄바꿈, 한 줄보다 긴 토큰(URL)만 넘칠 때 끊는다 — anywhere 금지(번호가 쪼개진다) */
  word-break: keep-all; overflow-wrap: break-word;
}
img, svg { max-width: 100%; height: auto; }
a { color: var(--primary); text-underline-offset: 3px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; border-radius: 2px; }
h1, h2, h3, h4 { margin: 0; color: var(--text); line-height: 1.4; font-weight: 600; word-break: keep-all; overflow-wrap: break-word; }
p { margin: 0; }
[hidden] { display: none !important; }
.nowrap { white-space: nowrap; }
.num { font-family: var(--font-number); font-weight: 600; font-variant-numeric: tabular-nums; }
:lang(ja) { font-family: var(--font-ja); }

.skiplink {
  position: absolute; left: 8px; top: -60px; z-index: 200; padding: 10px 14px;
  background: var(--primary); color: #fff; border-radius: var(--radius);
}
.skiplink:focus { top: 8px; }

/* 흰 기록 면 — 회자주 외곽 위에 놓인 종이 */
.sheet { background: var(--surface); border-radius: var(--radius); }

/* ── 1. 표지 헤더 (cover) ─────────────────────────── */
.cover { padding: 14px 16px 12px; }
.cover__in { max-width: var(--container); margin: 0 auto; }
.wordmark {
  display: inline-grid; grid-template-columns: auto auto; align-items: center; column-gap: 10px;
  min-height: 44px; color: var(--text); text-decoration: none;
}
.wordmark__peak { grid-row: span 2; width: 34px; height: 21px; color: var(--primary); }
.wordmark__name { font-family: var(--font-title); font-weight: 300; font-size: 26px; line-height: 1.2; letter-spacing: .04em; }
.wordmark__sub { font-size: 14px; line-height: 1.4; color: var(--text); }
.wordmark:hover .wordmark__name { text-decoration: underline; text-decoration-thickness: 1px; }

/* 여섯 메뉴: 모바일 3열 버튼판 (구로카와 온천 숙소 페이지의 섹션 버튼판 구조). 가로 스크롤 없이 모두 보인다 */
.shelf { margin-top: 10px; }
.shelf ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
.shelf a {
  display: flex; align-items: center; justify-content: center; min-height: 44px; padding: 4px 6px; text-align: center;
  background: rgba(255, 255, 255, .62); color: var(--text); border-radius: var(--radius);
  font-size: 15px; font-weight: 600; line-height: 1.3; text-decoration: none;
}
.shelf a:hover { background: var(--surface); text-decoration: underline; }
.shelf a[aria-current] { background: var(--primary); color: #fff; }

/* ── 2. 레이아웃 공통 ──────────────────────────────── */
.desk { display: block; max-width: var(--container); margin: 0 auto; padding: 0 8px 48px; }
.desk > * + * { margin-top: 12px; }
.band {
  font-size: 18px; font-weight: 600; color: var(--text); padding: 18px 8px 8px; line-height: 1.4;
}
.band--in { padding: 0 0 10px; }
.empty { padding: 28px 16px; color: var(--text-dim); }

.trail ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; align-items: center; font-size: 14px; color: var(--text-dim); }
.trail li { display: flex; align-items: center; min-width: 0; }
.trail li + li::before { content: "›"; padding: 0 2px; color: var(--line); }
.trail a { display: inline-flex; align-items: center; justify-content: center; min-height: 44px; min-width: 44px; padding: 0 4px; color: var(--text-dim); }
.trail li:first-child a { margin-left: -12px; }
.trail a:hover { color: var(--primary); }
/* 모바일: 지금 글 제목은 바로 아래 H1 과 같으니 숨긴다 (카테고리까지만) */
.trail li[aria-current] { display: none; }
.trail li[aria-current] span { color: var(--text); }

.kind {
  display: inline-block; padding: 0 8px; border: 1px solid var(--accent); border-radius: 3px;
  font-size: 13px; font-weight: 600; line-height: 1.7; color: var(--accent); background: var(--surface);
}

/* ── 3. 목록 (rec) ─────────────────────────────────── */
.rec-list { list-style: none; margin: 0; padding: 0 16px; }
.rec { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.rec:last-child { border-bottom: 0; }
.rec--thumb { grid-template-columns: minmax(0, 1fr) 88px; }
.rec__title { font-size: 17px; font-weight: 600; margin-top: 6px; }
.rec__title a { display: flex; align-items: center; min-height: 44px; color: var(--text); text-decoration: none; }
.rec__title a:hover { color: var(--primary); text-decoration: underline; }
.rec__place { display: flex; flex-wrap: wrap; gap: 2px 10px; margin-top: 2px; font-size: 14px; color: var(--text-dim); }
.rec__town { color: var(--primary); font-weight: 600; }
.rec__cond::before { content: "· "; color: var(--line); }
.rec__sum {
  margin-top: 6px; font-size: 15px; line-height: 1.65; color: var(--text-dim);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.rec__date { margin-top: 6px; font-size: 13px; color: var(--text-dim); }
.rec__date time, .stay__by time { font-family: var(--font-number); font-weight: 600; font-variant-numeric: tabular-nums; }
.rec__thumb { display: block; margin-top: 6px; }
.rec__thumb img { display: block; width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; border-radius: 4px; background: var(--surface-soft); }
.rec-list--flat { padding: 0; }

/* ── 4. 홈 ─────────────────────────────────────────── */
.intro { padding: 22px 16px 20px; }
.intro__kicker { font-size: 14px; font-weight: 600; color: var(--accent); }
.intro__title { margin-top: 6px; font-family: var(--font-title); font-weight: 300; font-size: 28px; line-height: 1.45; letter-spacing: -.01em; }
.intro__lede { margin-top: 10px; font-size: 16px; line-height: 1.75; }
.criteria { list-style: none; margin: 16px 0 0; padding: 0; display: grid; grid-template-columns: minmax(0, 1fr); border-top: 1px solid var(--border); }
.criteria li { display: grid; grid-template-columns: 3.2em minmax(0, 1fr); gap: 10px; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.criteria__k { font-weight: 600; color: var(--primary); }
.criteria__v { color: var(--text); }

.finder__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.finder__col { padding: 16px; }
.finder__h { font-size: 16px; padding-bottom: 6px; border-bottom: 2px solid var(--primary); }
.finder__sub { margin-top: 14px; font-size: 14px; font-weight: 600; color: var(--text-dim); }
.finder__note { margin-top: 10px; font-size: 14px; color: var(--text-dim); }
.index-list { list-style: none; margin: 0; padding: 0; }
.index-list a {
  display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 48px;
  border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; font-size: 16px;
}
.index-list li:last-child a { border-bottom: 0; }
.index-list a:hover { color: var(--primary); text-decoration: underline; }
.index-list__n { font-family: var(--font-number); font-weight: 600; font-size: 15px; color: var(--text-dim); }
.index-list--towns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 16px; }
.index-list--towns li:nth-last-child(2):nth-child(odd) a { border-bottom: 0; }

.shelf-list { list-style: none; margin: 0; padding: 0 16px; }
.shelf-list a { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 2px 12px; padding: 14px 0; min-height: 48px; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; }
.shelf-list li:last-child a { border-bottom: 0; }
.shelf-list__name { font-weight: 600; font-size: 16px; }
.shelf-list__desc { grid-column: 1; font-size: 14px; color: var(--text-dim); }
.shelf-list__n { grid-column: 2; grid-row: 1; font-family: var(--font-number); font-weight: 600; color: var(--text-dim); }
.shelf-list a:hover .shelf-list__name { color: var(--primary); text-decoration: underline; }

.pair__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.pair__town { padding: 18px 16px; border-top: 4px solid var(--primary); }
.pair__title { margin-top: 6px; font-family: var(--font-title); font-weight: 300; font-size: 22px; line-height: 1.45; }
.pair__title a { color: var(--text); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.pair__title a:hover { color: var(--primary); text-decoration: underline; }
.pair__sum { margin-top: 6px; font-size: 15px; color: var(--text-dim); }
.pair__stays { padding: 14px 16px 0; }
.pair__label { font-size: 14px; font-weight: 600; color: var(--accent); }
.pair__town--solo { margin-top: 12px; }

.firstbook, .starters, .before { padding: 18px 16px; }
.firstbook__lede { font-size: 15px; color: var(--text-dim); margin-bottom: 8px; }
.firstbook__list, .before__list { list-style: none; margin: 0; padding: 0; }
.firstbook__list a {
  display: grid; grid-template-columns: 36px minmax(0, 1fr); gap: 12px; align-items: center;
  min-height: 52px; padding: 8px 0; border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none;
}
.firstbook__list li:last-child a { border-bottom: 0; }
.firstbook__no {
  width: 32px; height: 32px; display: grid; place-items: center; border: 1.5px solid var(--primary); border-radius: 50%;
  font-family: var(--font-number); font-weight: 600; font-size: 16px; color: var(--primary); white-space: nowrap;
}
.firstbook__t { font-weight: 600; }
.firstbook__list a:hover .firstbook__t { color: var(--primary); text-decoration: underline; }
.before__list a {
  display: flex; align-items: center; min-height: 48px; padding: 8px 0 8px 18px; position: relative;
  border-bottom: 1px solid var(--border); color: var(--text); text-decoration: none; font-weight: 600;
}
.before__list a::before { content: ""; position: absolute; left: 2px; top: 50%; width: 8px; height: 8px; margin-top: -4px; border: 2px solid var(--accent); border-radius: 50%; }
.before__list li:last-child a { border-bottom: 0; }
.before__list a:hover { color: var(--primary); text-decoration: underline; }

.season__grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.season__card { padding: 18px 16px; }
.season__title { margin-top: 6px; font-size: 18px; }
.season__title a { color: var(--text); text-decoration: none; display: inline-flex; min-height: 44px; align-items: center; }
.season__title a:hover { color: var(--primary); text-decoration: underline; }
.season__sum { margin-top: 4px; font-size: 15px; color: var(--text-dim); }

.ad-slot { display: flex; align-items: center; justify-content: center; flex-direction: column; min-height: 100px; position: relative; }
.ad-label { font-size: 12px; color: var(--text-dim); letter-spacing: .08em; }
/* 광고 코드(라벨 외 자식)가 없는 자리는 통째로 숨긴다 — 빈 회색 '광고' 칸을 보여 주지 않는다 */
.ad-slot:not(:has(> :not(.ad-label))) { display: none; }

/* ── 5. 카테고리·태그 머리 ──────────────────────────── */
.shelf-head { padding: 4px 16px 18px; }
.shelf-head__kicker { margin-top: 4px; font-size: 14px; font-weight: 600; color: var(--accent); }
.shelf-head__title { margin-top: 4px; font-family: var(--font-title); font-weight: 300; font-size: 30px; line-height: 1.4; }
.shelf-head__desc { margin-top: 8px; font-size: 16px; }
.shelf-head__note { margin-top: 10px; padding: 10px 12px; background: var(--primary-soft); color: var(--primary); border-radius: var(--radius); font-size: 15px; }
.shelf-head__count { margin-top: 10px; font-size: 14px; color: var(--text-dim); }
.shelf-head__count .num { font-size: 18px; color: var(--text); margin-right: 2px; }

/* ── 6. 글 (stay) ──────────────────────────────────── */
.stay > * + * { margin-top: 12px; }
.stay__sheet { padding: 4px 16px 24px; }
.stay__title { margin-top: 2px; font-family: var(--font-title); font-weight: 300; font-size: 26px; line-height: 1.45; letter-spacing: -.01em; text-wrap: pretty; }
.stay__lede { margin-top: 10px; font-size: 17px; line-height: 1.7; color: var(--text); }
.stay__by { display: flex; flex-wrap: wrap; gap: 2px 12px; margin-top: 12px; padding-bottom: 16px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-dim); }
.stay__author { color: var(--text); font-weight: 600; }
.disclosure {
  display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; padding: 12px 14px;
  background: var(--surface-soft); border-radius: var(--radius); font-size: 14px; line-height: 1.65; color: var(--text-dim);
}
.disclosure__badge { flex: none; padding: 0 7px; border: 1px solid var(--text-dim); border-radius: 3px; font-size: 12px; font-weight: 600; line-height: 1.7; white-space: nowrap; }
.stay__head + .post-body, .disclosure + .post-body { margin-top: 22px; }

.stay__tags { margin-top: 36px; padding-top: 16px; border-top: 1px solid var(--border); }
.stay__tags-h { font-size: 14px; font-weight: 600; color: var(--text-dim); }
.stay__tags ul { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px; }
.stay__tags a {
  display: inline-flex; align-items: center; min-height: 44px; min-width: 44px; padding: 0 14px;
  border: 1px solid var(--line); border-radius: 22px; color: var(--text); text-decoration: none; font-size: 15px;
}
.stay__tags a:hover { border-color: var(--primary); color: var(--primary); }
.share { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-top: 14px; }
.share__btn {
  min-height: 44px; padding: 0 16px; cursor: pointer; font: 600 15px/1 var(--font-body);
  color: var(--primary); background: var(--surface); border: 1.5px solid var(--primary); border-radius: var(--radius);
}
.share__btn:hover { text-decoration: underline; }
.share__msg { font-size: 14px; color: var(--primary); }

.author { display: grid; grid-template-columns: 44px minmax(0, 1fr); gap: 14px; padding: 18px 16px; }
.author__mark {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 50%;
  background: var(--bg); color: var(--text); font-family: var(--font-title); font-weight: 300; font-size: 22px;
}
.author__name { font-size: 17px; }
.author__name span { margin-left: 4px; font-size: 14px; font-weight: 400; color: var(--text-dim); }
.author__body p { margin-top: 6px; font-size: 15px; line-height: 1.7; }
.author__rule { color: var(--text-dim); }
.author__rule a { display: inline-flex; align-items: center; min-height: 44px; }

/* ── 7. .post-body — 본문 (공통 선택자) ─────────────── */
.post-body { font-size: 17px; line-height: 1.8; color: var(--text); word-break: keep-all; overflow-wrap: break-word; }
.post-body > * + * { margin-top: 1.05em; }
.post-body > :is(h2, h3, h4) + * { margin-top: .6em; }
.post-body > :is(blockquote, div, aside, figure, table, nav, ul.timeline) + :is(p, h4) { margin-top: 1.4em; }
.post-body h2 {
  margin-top: 56px; padding-top: 14px; font-size: 21px; line-height: 1.45; position: relative; scroll-margin-top: 16px;
}
.post-body h2::before { content: ""; position: absolute; left: 0; top: 0; width: 28px; height: 3px; background: var(--primary); }
.post-body h3 { margin-top: 1.9em; font-size: 18px; color: var(--text); scroll-margin-top: 16px; }
.post-body h4 { font-size: 16px; }
.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 { text-decoration-thickness: 2px; }
.post-body ul, .post-body ol { padding-left: 1.3em; }
.post-body li + li { margin-top: .4em; }
.post-body li p { margin: 0; }
.post-body li::marker { color: var(--accent); }
.post-body hr, .post-body .divider { border: 0; height: 1px; background: var(--border); margin: 2.4em 0; }
.post-body img { display: block; max-width: 100%; height: auto; border-radius: 4px; }
.post-body figure { margin: 1.6em 0 0; }
.post-body figcaption { margin-top: 8px; font-size: 14px; line-height: 1.6; color: var(--text-dim); }
/* 섹션 사진: 본문 폭 가득 4:3. 사진이 늦게 와도 자리가 흔들리지 않게 미리 비율을 잡는다 */
.post-body > figure > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; background: var(--surface-soft); }
.post-body code, .post-body kbd, .post-body .kbd { font-size: .88em; }

/* 도입 장면 — 장식 따옴표 없이 큰 본문 고딕, 회자주 가는 세로선 */
.post-body blockquote {
  margin: 1.6em 0 0; padding: 4px 0 4px 18px; border-left: 2px solid var(--bg);
  font-size: 19px; line-height: 1.75; color: var(--text);
}
.post-body blockquote p + p { margin-top: .6em; }
.post-body blockquote cite { display: block; margin-top: 8px; font-size: 14px; font-style: normal; color: var(--text-dim); }
.post-body > blockquote:first-child { margin-top: 4px; margin-bottom: 1.6em; }
.post-body .lead { font-size: 18px; line-height: 1.75; color: var(--text); }

/* ── 8. 표준 컴포넌트 (COMPONENT_LIBRARY.md 31종) ───── */
/* 8-1 알림 박스: 배지 + 본문. 색만으로 구분하지 않게 배지 글자를 늘 둔다 */
.post-body :is(.warn-box, .info-box, .success-box, .error-box, .note-box) {
  display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; margin-top: 1.4em;
  border-radius: var(--radius); 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 {
  flex: none; display: inline-block; padding: 0 8px; margin-top: 3px; border-radius: 3px;
  font-size: 13px; font-weight: 600; line-height: 1.7; white-space: nowrap; color: #fff;
}
.post-body .warn-box { background: var(--warn-soft); color: var(--text); box-shadow: inset 3px 0 0 var(--warn); }
.post-body .warn-box .badge { background: var(--warn); }
.post-body .info-box { background: var(--primary-soft); box-shadow: inset 3px 0 0 var(--primary); }
.post-body .info-box .badge { background: var(--primary); }
.post-body .success-box { background: #EAF2EA; box-shadow: inset 3px 0 0 #2F5D35; }
.post-body .success-box .badge { background: #2F5D35; }
.post-body .error-box { background: #F8E8E8; box-shadow: inset 3px 0 0 #8A2B2B; }
.post-body .error-box .badge { background: #8A2B2B; }
.post-body .note-box { background: var(--surface-soft); box-shadow: inset 3px 0 0 var(--accent); }
.post-body .note-box .badge { background: var(--accent); }

/* 8-2 콘텐츠 박스 */
.post-body :is(.prep-box, .summary-box, .key-points, .toc-box) { margin-top: 1.6em; padding: 16px; border-radius: var(--radius); }
.post-body :is(.prep-box, .summary-box, .key-points, .toc-box) > :is(h3, h4) { margin: 0 0 10px; font-size: 16px; color: var(--text); }
.post-body :is(.prep-box, .summary-box, .key-points, .toc-box) > :first-child { margin-top: 0; }
.post-body :is(.prep-box, .summary-box, .key-points, .toc-box) > :last-child { margin-bottom: 0; }
.post-body :is(.summary-box, .key-points) :is(ul, ol) { margin: 0; }

/* 료칸 정보 카드 = .summary-box + dl (모바일 1열: 항목명 위·값 아래, 넓으면 두 열) */
.post-body .summary-box { background: var(--primary-soft); }
.post-body .summary-box > :is(h3, h4) { color: var(--primary); }
.post-body .summary-box dl { margin: 0; display: grid; grid-template-columns: minmax(0, 1fr); }
.post-body .summary-box dl > div { padding: 9px 0; border-top: 1px solid rgba(35, 67, 63, .18); }
.post-body .summary-box dl > div:first-child { border-top: 0; padding-top: 0; }
.post-body .summary-box dt { font-size: 14px; font-weight: 600; color: var(--primary); line-height: 1.5; }
.post-body .summary-box dd { margin: 2px 0 0; font-size: 16px; line-height: 1.65; color: var(--text); }
.post-body .summary-box ul { padding-left: 1.2em; }

.post-body .key-points { background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--primary); }
.post-body .key-points :is(ul, ol) { padding-left: 1.3em; }

/* 인라인 목차: 번호 + 줄 단위 링크 (터치 44px). 넓으면 두 열 */
.post-body .toc-box { background: var(--surface-soft); }
.post-body .toc-box > :is(h3, h4) { font-size: 14px; color: var(--text-dim); margin-bottom: 4px; }
.post-body .toc-box ol { list-style: none; margin: 0; padding: 0; counter-reset: toc; }
.post-body .toc-box li { counter-increment: toc; margin: 0; border-top: 1px solid var(--border); }
.post-body .toc-box li:first-child { border-top: 0; }
.post-body .toc-box a {
  display: grid; grid-template-columns: 2.2em minmax(0, 1fr); align-items: center; min-height: 44px; padding: 6px 0;
  color: var(--text); text-decoration: none; font-size: 15px; line-height: 1.5;
}
.post-body .toc-box a::before { content: counter(toc, decimal-leading-zero); font-family: var(--font-number); font-weight: 600; color: var(--accent); white-space: nowrap; }
.post-body .toc-box a:hover { color: var(--primary); text-decoration: underline; }

/* 예약 전 확인: 항목 · 확인 내용 두 칸 (모바일은 항목 위·내용 아래). 체크 표시는 넣지 않는다 */
.post-body .prep-box { background: var(--surface); border: 1.5px solid var(--primary); }
.post-body .prep-grid { display: grid; grid-template-columns: minmax(0, 1fr); }
.post-body .prep-grid > div { display: grid; grid-template-columns: minmax(0, 1fr); gap: 2px; padding: 10px 0; border-top: 1px solid var(--border); font-size: 16px; }
.post-body .prep-grid > div:first-child { border-top: 0; padding-top: 0; }
.post-body .prep-grid > div > span:first-child { font-size: 14px; font-weight: 600; color: var(--primary); }
.post-body .prep-grid > div > span:last-child { color: var(--text); font-variant-numeric: tabular-nums; }

/* 8-3 레이아웃 */
.post-body .step { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 12px; margin-top: 1.3em; }
.post-body .step .num {
  width: 36px; height: 36px; display: grid; place-items: center; border: 1.5px solid var(--primary); border-radius: 50%;
  font-family: var(--font-number); font-weight: 600; font-size: 15px; color: var(--primary); white-space: nowrap;
}
.post-body .step .body { min-width: 0; }
.post-body .step .body h4 { font-size: 17px; margin: 4px 0 4px; }
.post-body .step .body p + p { margin-top: .6em; }

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

/* 표: 래퍼(.scroll-x = JS, .table-scroll = 작가)는 넘치면 가장자리 그림자. 모바일은 site.js 가 행 카드로 바꾼다 */
.post-body :is(.scroll-x, .table-scroll) {
  overflow-x: auto; margin-top: 1.4em; border: 1px solid var(--border); border-radius: var(--radius);
  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(40, 35, 42, .18), transparent) left / 14px 100% no-repeat scroll,
    radial-gradient(farthest-side at 100% 50%, rgba(40, 35, 42, .18), transparent) right / 14px 100% no-repeat scroll,
    var(--surface);
}
.post-body .scroll-x .table-scroll { margin: 0; border: 0; border-radius: 0; overflow: visible; background: none; }
.post-body table { width: 100%; border-collapse: collapse; font-size: 15px; line-height: 1.6; }
.post-body > table { display: block; overflow-x: auto; }
.post-body :is(.scroll-x, .table-scroll) table { margin: 0; min-width: 520px; }
.post-body table caption { caption-side: top; text-align: left; padding: 10px 12px; font-size: 14px; color: var(--text-dim); }
.post-body table :is(th, td) { padding: 10px 12px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--border); word-break: keep-all; overflow-wrap: break-word; }
.post-body table thead th { background: var(--primary-soft); color: var(--primary); font-size: 14px; font-weight: 600; white-space: nowrap; }
.post-body table tbody th { font-weight: 600; color: var(--text); }
.post-body table tbody tr:last-child > * { border-bottom: 0; }
.post-body table td { font-variant-numeric: tabular-nums; }
/* 모바일 행 카드 (site.js 가 thead 라벨을 td[data-label] 로 복사하고 .is-stacked 를 붙였을 때만) */
@media (max-width: 767px) {
  .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 caption { display: block; padding: 0 0 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: 6px 14px 8px; background: var(--surface); border: 1px solid var(--border); border-top: 3px solid var(--primary); border-radius: var(--radius); }
  .post-body table.is-stacked tbody tr + tr { margin-top: 10px; }
  .post-body table.is-stacked tbody :is(th, td) { border: 0; padding: 6px 0; }
  .post-body table.is-stacked tbody > tr > :first-child:not([data-label]) { font-size: 16px; font-weight: 600; color: var(--text); padding-top: 8px; }
  .post-body table.is-stacked td[data-label] { display: grid; grid-template-columns: 6em minmax(0, 1fr); gap: 10px; border-top: 1px dashed var(--border); }
  .post-body table.is-stacked td[data-label]::before { content: attr(data-label); font-size: 14px; font-weight: 600; color: var(--text-dim); }
}

/* 좋았던 점 / 아쉬운 점 — 색 + 기호(＋/－)로 구분 */
.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: 1px solid var(--border); border-radius: var(--radius); background: var(--surface); }
.post-body .pros-cons h4 { display: flex; align-items: center; gap: 8px; font-size: 16px; margin-bottom: 6px; }
.post-body .pros-cons h4::before { flex: none; width: 24px; height: 24px; display: grid; place-items: center; border-radius: 50%; font-family: var(--font-number); font-weight: 600; color: #fff; line-height: 1; }
.post-body .pros-cons .pros { border-top: 3px solid var(--primary); }
.post-body .pros-cons .pros h4::before { content: "+"; background: var(--primary); }
.post-body .pros-cons .cons { border-top: 3px solid var(--accent); }
.post-body .pros-cons .cons h4::before { content: "−"; background: var(--accent); }
.post-body .pros-cons ul { margin: 0; padding-left: 1.2em; }

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

/* 8-4 텍스트 강조 */
.post-body .highlight { background: linear-gradient(transparent 60%, rgba(195, 167, 179, .55) 60%); padding: 0 1px; }
.post-body .pull-quote {
  display: block; margin: 2em 0 0; padding: 16px 0; border-top: 1px solid var(--text); border-bottom: 1px solid var(--border);
  font-family: var(--font-title); font-weight: 300; font-size: 22px; line-height: 1.6; color: var(--text);
}
.post-body kbd, .post-body .kbd { display: inline-block; padding: 0 6px; border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 3px; background: var(--surface); line-height: 1.6; }

/* 8-5 미디어 */
.post-body .image-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; margin-top: 1.4em; }
.post-body .image-grid figure { margin: 0; }
.post-body .image-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.post-body .before-after { display: grid; grid-template-columns: minmax(0, 1fr); gap: 10px; 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(--text); 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(--surface-soft); }
.post-body .video-embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* 8-6 예약 CTA — 녹먹색 버튼, 흰 글자. 광고와 모양을 공유하지 않는다 */
.post-body .cta-box, .post-body .cta { margin-top: 1.8em; padding: 18px 16px; border-radius: var(--radius); background: var(--primary-soft); border: 1.5px solid var(--primary); }
.post-body .cta-box h4, .post-body .cta h4 { font-size: 17px; color: var(--primary); }
.post-body .cta-box p, .post-body .cta p { margin-top: 6px; font-size: 16px; }
.post-body .cta-button {
  display: flex; align-items: center; justify-content: center; gap: 6px; width: 100%; min-height: 50px; margin-top: 14px; padding: 8px 18px;
  background: var(--primary); color: #fff; border-radius: var(--radius); font-size: 16px; font-weight: 600; line-height: 1.4; text-align: center; text-decoration: none;
}
.post-body .cta-button:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 1px; }
.post-body .cta-button:focus-visible { outline: 3px solid var(--primary); outline-offset: 3px; box-shadow: inset 0 0 0 2px #fff; }
.post-body > .cta-button { margin-top: 1.4em; }

/* 8-7 기타 */
.post-body .spoiler { margin-top: 1.4em; border: 1px solid var(--border); border-radius: var(--radius); }
.post-body .spoiler summary { display: flex; align-items: center; min-height: 48px; padding: 0 14px; cursor: pointer; font-weight: 600; }
.post-body .spoiler > :not(summary) { margin: 0; padding: 0 14px 14px; }
.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(--border);
  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; }
.post-body .price-tag .amount { font-family: var(--font-number); font-weight: 600; font-variant-numeric: tabular-nums; color: var(--text); }
.post-body .price-tag .currency { font-size: .9em; color: var(--text-dim); }
.post-body .faq { margin-top: 1.4em; }
.post-body .faq dt { padding-top: 14px; font-weight: 600; border-top: 1px solid var(--border); }
.post-body .faq dt:first-child { border-top: 0; }
.post-body .faq dd { margin: 4px 0 0; padding-bottom: 14px; }
.post-body .tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.post-body .tag-list .tag { padding: 0 10px; font-size: 14px; line-height: 1.9; border: 1px solid var(--border); border-radius: 14px; color: var(--text-dim); }
/* 광고: CTA 와 48px 이상 띄운다. 코드가 들어왔을 때만 보이고 '광고' 라벨을 위에 둔다 */
.post-body .inline-ad { margin-top: 48px; padding: 8px 0 12px; min-height: 280px; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); justify-content: flex-start; gap: 6px; }
.post-body .inline-ad + * { margin-top: 48px; }

/* 이미지 자리(img-ph)는 이 사이트에서 쓰지 않는다 — 혹시 남아 있으면 보이지 않게 */
.post-body .img-ph { display: none; }

/* ── 9. 푸터 (colophon) ────────────────────────────── */
.colophon { background: var(--bg-deep); color: #E7DDE2; }
.colophon__in { max-width: var(--container); margin: 0 auto; padding: 28px 16px 36px; display: grid; gap: 14px; font-size: 15px; line-height: 1.7; }
.colophon__name { font-family: var(--font-title); font-weight: 300; font-size: 22px; color: #fff; }
.colophon__id p + p { margin-top: 4px; }
.colophon__links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }
.colophon__links a { display: flex; align-items: center; min-height: 44px; color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .14); }
.colophon__links a:hover { text-decoration: underline; }
.colophon :focus-visible { outline-color: #fff; }
.colophon__note { font-size: 14px; color: #CFC2C9; }
.colophon__copy { font-size: 13px; color: #CFC2C9; font-family: var(--font-number); }

/* CMS 기본 페이지(/privacy·/about·/contact) — 같은 흰 기록 면 */
.cms-default-page { background: var(--surface); border-radius: var(--radius); padding: 24px 16px 32px; }
.cms-default-page h1 { font-family: var(--font-title); font-weight: 300; font-size: 28px; margin-bottom: 16px; }

/* ── 10. 넓은 화면 ─────────────────────────────────── */
@media (min-width: 560px) {
  .criteria { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 20px; }
  .rec--thumb { grid-template-columns: minmax(0, 1fr) 140px; }
  .post-body .before-after { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-body .image-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (min-width: 768px) {
  .cover { padding: 24px 0 16px; }
  .cover__in { padding: 0 24px; }
  .wordmark__name { font-size: 30px; }
  .shelf ul { display: flex; flex-wrap: wrap; gap: 6px; }
  .shelf a { padding: 4px 16px; }
  .desk { padding: 0 24px 64px; }
  .desk > * + * { margin-top: 16px; }
  .band { font-size: 19px; padding: 24px 0 10px; }
  .band--in { padding: 0 0 10px; }
  .intro { padding: 36px 40px 32px; }
  .intro__title { font-size: 36px; }
  .intro__lede { font-size: 17px; max-width: 40em; }
  .finder__col, .firstbook, .starters, .before, .season__card, .pair__town { padding: 22px 28px; }
  .pair__stays { padding: 18px 28px 0; }
  .rec-list { padding: 0 28px; }
  .rec-list--flat { padding: 0; }
  .season__grid, .finder__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .finder__grid > :only-child { grid-column: 1 / -1; }
  .season__grid > :only-child { grid-column: 1 / -1; }
  .shelf-head { padding: 8px 40px 28px; }
  .shelf-head__title { font-size: 36px; }

  .trail li[aria-current] { display: flex; }
  .trail li[aria-current] span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 28em; }

  .stay__sheet { max-width: var(--post-width); margin: 0 auto; padding: 8px 48px 40px; }
  .stay__head, .post-body > *, .stay__tags, .share { max-width: var(--reading-width); }
  .stay__title { font-size: 38px; }
  .stay__lede { font-size: 18px; }
  .post-body { font-size: 18px; line-height: 1.85; }
  .post-body h2 { font-size: 24px; }
  .post-body h3 { font-size: 19px; }
  .post-body blockquote { font-size: 22px; padding-left: 24px; }
  /* 정보 카드만 글 지면(960) 폭까지 펼치고 두 열로 */
  .post-body > .summary-box { max-width: none; padding: 22px 28px; }
  .post-body .summary-box dl { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; }
  .post-body .summary-box dl > div:nth-child(2) { border-top: 0; padding-top: 0; }
  .post-body .summary-box dl > div:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .post-body .prep-grid > div { grid-template-columns: 9em minmax(0, 1fr); gap: 16px; }
  .post-body .pros-cons { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .post-body .toc-box ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 28px; }
  .post-body .toc-box li:nth-child(2) { border-top: 0; }
  .post-body .cta-button { display: inline-flex; width: auto; }
  .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 .timeline li { grid-template-columns: 4.5em minmax(0, 1fr); gap: 12px; }
  .nextread, .author { max-width: var(--post-width); margin-left: auto; margin-right: auto; }
  .nextread .band { padding-left: 0; }
  .author { padding: 24px 48px; grid-template-columns: 52px minmax(0, 1fr); gap: 20px; }
  .author__mark { width: 52px; height: 52px; }

  .colophon__in { padding: 36px 24px 44px; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); column-gap: 48px; }
  .colophon__links { align-content: start; }
  .colophon__note, .colophon__copy { grid-column: 1 / -1; }
  .cms-default-page { max-width: var(--post-width); margin: 0 auto; padding: 32px 48px 48px; }
}

@media (min-width: 1024px) {
  .cover__in { display: block; }
  .intro { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); column-gap: 48px; align-items: end; padding: 44px 48px 40px; }
  .intro > :not(.criteria) { grid-column: 1; }
  .intro .criteria { grid-column: 2; grid-row: 1 / span 3; grid-template-columns: minmax(0, 1fr); margin: 0; }
  .intro__title { font-size: 42px; }
  /* 지역 280 + 간격 40 + 조건 (BLUEPRINT §3) */
  .finder__grid { grid-template-columns: 280px minmax(0, 1fr); gap: 40px; }
  .finder__grid > :only-child { grid-column: 1 / -1; }
  .pair__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 16px; align-items: start; }
  .pair__title { font-size: 26px; }
  .rec--thumb { grid-template-columns: minmax(0, 1fr) 180px; gap: 24px; }
  .rec__title { font-size: 18px; }
}

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