/* ============================================================
   tripdaylog · journal.css
   공개 화면 — 홈 히어로 · 카드 · 아카이브 · 글 상세 · 검색 · 소개
   v3 — 사진 우선, 에디토리얼 타이포그래피, 넉넉한 여백
   ============================================================ */

/* ---------- 1. 홈 히어로 (풀블리드 사진) ---------- */
.hero {
  position: relative;
  min-height: max(560px, 84vh);
  display: flex; align-items: flex-end;
  color: #fff;
  isolation: isolate;
  border-radius: 0 0 34px 34px;
  overflow: clip;
  margin-bottom: 88px;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; }
.hero-scrim {
  position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(180deg, rgb(16 22 24 / 0.34) 0%, rgb(16 22 24 / 0) 34%,
      rgb(16 22 24 / 0.12) 55%, rgb(16 22 24 / 0.82) 100%);
}
.hero-content { width: var(--wrap); margin-inline: auto; padding: 64px 0 72px; }
.hero-kicker {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgb(255 255 255 / 0.14);
  border: 1px solid rgb(255 255 255 / 0.32);
  backdrop-filter: blur(8px);
  border-radius: 999px; padding: 9px 18px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.04em;
  margin-bottom: 22px;
}
.hero-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: #f0b35e; }
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(38px, 5.6vw, 68px);
  line-height: 1.28; letter-spacing: -0.02em; font-weight: 700;
  max-width: 16ch;
  text-wrap: balance;
}
.hero-excerpt {
  margin-top: 18px; max-width: 52ch;
  font-size: clamp(15.5px, 1.6vw, 18px); line-height: 1.8;
  color: rgb(255 255 255 / 0.88);
}
.hero-meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  margin-top: 22px; font-size: 13.5px; font-weight: 600;
  color: rgb(255 255 255 / 0.78);
}
.hero-meta .sep { width: 4px; height: 4px; border-radius: 50%; background: rgb(255 255 255 / 0.5); }
.hero-actions { display: flex; gap: 12px; margin-top: 30px; flex-wrap: wrap; }
.scroll-hint {
  position: absolute; right: max(24px, calc((100% - 1220px) / 2)); bottom: 30px;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 10.5px; letter-spacing: 0.3em; color: rgb(255 255 255 / 0.65);
  writing-mode: vertical-rl;
}
.scroll-hint::after {
  content: ''; width: 1.5px; height: 44px;
  background: linear-gradient(rgb(255 255 255 / 0.7), transparent);
  animation: hint-drop 2.2s ease-in-out infinite;
}
@keyframes hint-drop { 0%, 100% { opacity: 0.4; } 50% { opacity: 1; } }

/* ---------- 2. 섹션 공용 ---------- */
.section { margin-bottom: 110px; }
.section-head {
  display: flex; justify-content: space-between; align-items: flex-end;
  gap: 24px; margin-bottom: 36px;
}
.section-head .text-link { flex-shrink: 0; white-space: nowrap; }
.section-title {
  font-family: var(--font-display);
  font-size: clamp(26px, 3.2vw, 38px);
  letter-spacing: -0.02em; line-height: 1.35; font-weight: 700;
  margin-top: 12px;
}
.section-desc { color: var(--muted); margin-top: 10px; font-size: 15.5px; max-width: 60ch; }

/* ---------- 3. 여행 노트 카드 ---------- */
.cards-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px;
}
.cards-grid.is-list { grid-template-columns: 1fr; }
.post-card {
  background: var(--card);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  overflow: clip;
  display: flex; flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.post-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.card-media { position: relative; aspect-ratio: 16 / 10; overflow: clip; background: var(--line-soft); display: block; }
.card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.post-card:hover .card-media img { transform: scale(1.045); }
.image-label {
  position: absolute; left: 14px; bottom: 14px;
  background: rgb(20 26 28 / 0.62); color: #fff;
  backdrop-filter: blur(6px);
  font-size: 12px; font-weight: 700; letter-spacing: 0.02em;
  padding: 7px 13px; border-radius: 999px;
  display: inline-flex; align-items: center; gap: 6px;
}
.image-label .icon { width: 13px; height: 13px; }
.bookmark-button {
  position: absolute; top: 12px; right: 12px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgb(255 255 255 / 0.92); color: var(--ink);
  display: grid; place-items: center;
  transition: transform 0.2s, background 0.2s, color 0.2s;
  box-shadow: 0 4px 14px rgb(0 0 0 / 0.12);
}
.bookmark-button:hover { transform: scale(1.08); }
.bookmark-button .icon { width: 18px; height: 18px; }
.bookmark-button[aria-pressed='true'] { background: var(--accent); color: #fff; }
.note-sample {
  position: absolute; top: 14px; left: 14px;
  background: var(--ink); color: #fff;
  font-size: 10.5px; font-weight: 800; letter-spacing: 0.14em;
  padding: 6px 12px; border-radius: 999px;
}
.card-body { padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.card-meta { display: flex; align-items: center; gap: 12px; font-size: 12.5px; }
.card-category { color: var(--accent-deep); font-weight: 800; letter-spacing: 0.02em; }
.card-category:hover { text-decoration: underline; }
.card-read { color: var(--faint); font-weight: 600; }
.list-sample { color: var(--faint); border: 1px solid var(--line); border-radius: 999px; padding: 2px 10px; font-size: 11px; }
.card-title {
  font-family: var(--font-display); font-size: 21px; line-height: 1.5;
  letter-spacing: -0.015em; font-weight: 700;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-title a:hover { color: var(--accent-deep); }
.card-excerpt {
  color: var(--muted); font-size: 14.5px; line-height: 1.7;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-foot {
  margin-top: auto; padding-top: 14px;
  border-top: 1px solid var(--line-soft);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--faint);
}
.card-foot time { display: inline-flex; align-items: center; gap: 6px; }
.card-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--ink); font-size: 13.5px; }
.card-more .icon { width: 15px; height: 15px; transition: transform 0.2s; }
.post-card:hover .card-more .icon { transform: translateX(4px); }
.post-card:hover .card-more { color: var(--accent-deep); }

/* 리스트 보기 */
.cards-grid.is-list .post-card { flex-direction: row; }
.cards-grid.is-list .card-media { width: min(320px, 38%); aspect-ratio: auto; min-height: 190px; flex-shrink: 0; }

/* 대표 카드 (첫 번째 글 강조) */
.feature-card { grid-column: 1 / -1; display: grid; grid-template-columns: 1.15fr 1fr; }
.feature-card .card-media { aspect-ratio: auto; min-height: 340px; }
.feature-card .card-body { padding: 40px; justify-content: center; }
.feature-card .card-title { font-size: clamp(24px, 2.6vw, 32px); }
.feature-card .card-excerpt { -webkit-line-clamp: 3; font-size: 15.5px; }

/* ---------- 4. 주제 · 여행지 ---------- */
.topics { display: flex; gap: 10px; flex-wrap: wrap; }
.topic-chip {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: 11px 20px; font-size: 14px; font-weight: 700; color: var(--ink-soft);
  background: var(--card);
  transition: border-color 0.15s, color 0.15s, background 0.15s;
}
.topic-chip:hover { border-color: var(--accent); color: var(--accent-deep); }
.topic-chip .count {
  background: var(--accent-wash); color: var(--accent-deep);
  font-size: 11.5px; font-weight: 800; border-radius: 999px; padding: 2px 9px;
}
.destinations {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px;
}
.destination-card {
  position: relative; overflow: clip;
  border-radius: var(--radius); border: 1px solid var(--line-soft);
  background: var(--card); padding: 26px 22px;
  display: grid; gap: 8px;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.destination-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.destination-card .dest-index { font-size: 11px; font-weight: 800; letter-spacing: 0.2em; color: var(--faint); }
.destination-card strong { font-family: var(--font-display); font-size: 21px; letter-spacing: -0.015em; }
.destination-card small { color: var(--muted); font-size: 13px; }
.destination-card .dest-arrow {
  position: absolute; top: 20px; right: 20px;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--line);
  display: grid; place-items: center; color: var(--muted);
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.destination-card:hover .dest-arrow { background: var(--accent); border-color: var(--accent); color: #fff; }
.destination-card .dest-arrow .icon { width: 15px; height: 15px; }

/* ---------- 5. 약속 밴드 ---------- */
.promise {
  background: var(--ink); color: #f4efe4;
  border-radius: 28px; padding: clamp(48px, 6vw, 84px);
  display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center;
  position: relative; overflow: clip;
}
.promise::before {
  content: ''; position: absolute; inset: auto -80px -120px auto;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgb(185 80 46 / 0.4), transparent 65%);
}
.promise h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px, 3.4vw, 40px); line-height: 1.4; letter-spacing: -0.02em;
  margin: 14px 0 12px; text-wrap: balance;
}
.promise p { color: rgb(244 239 228 / 0.72); max-width: 52ch; }
.promise .text-link { color: #fff; margin-top: 22px; }
.promise .text-link:hover { color: #f3c9a8; }
.promise-figure {
  width: 150px; height: 150px; border-radius: 50%;
  border: 1.5px solid rgb(255 255 255 / 0.25);
  display: grid; place-items: center;
  font-family: var(--font-display); font-size: 15px; line-height: 1.9; text-align: center;
  color: #f3c9a8; flex-shrink: 0;
  position: relative;
}
.promise-figure .icon { position: absolute; width: 30px; height: 30px; top: -8px; right: 6px; color: var(--accent); background: var(--ink); border-radius: 50%; padding: 4px; }

/* ---------- 6. 페이지 헤드 (아카이브 · 검색 · 저장함) ---------- */
.page-head { padding: 72px 0 8px; max-width: 780px; }
.page-head h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(32px, 4.6vw, 52px); letter-spacing: -0.02em; line-height: 1.32;
  margin: 14px 0 12px; text-wrap: balance;
}
.page-head > p { color: var(--muted); font-size: 16.5px; max-width: 58ch; }
.page-count {
  display: inline-flex; align-items: center; gap: 8px;
  margin-top: 18px; font-size: 13.5px; font-weight: 700; color: var(--accent-deep);
  background: var(--accent-wash); border-radius: 999px; padding: 8px 18px;
}
.toolbar {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  margin: 34px 0 26px; flex-wrap: wrap;
}
.chips { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
  border: 1.5px solid var(--line); background: var(--card);
  border-radius: 999px; padding: 9px 18px;
  font-size: 13.5px; font-weight: 700; color: var(--muted);
  transition: all 0.15s;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip.selected { background: var(--ink); border-color: var(--ink); color: #fff; }
.view-controls { display: flex; align-items: center; gap: 10px; }
.view-toggle { display: inline-flex; border: 1.5px solid var(--line); border-radius: 999px; padding: 4px; background: var(--card); }
.view-toggle button {
  padding: 8px 16px; border-radius: 999px; font-size: 13px; font-weight: 700; color: var(--muted);
}
.view-toggle button[aria-pressed='true'] { background: var(--ink); color: #fff; }
.sort-select { width: auto; padding: 10px 14px; font-size: 13.5px; font-weight: 600; }
.subcategory-nav { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 18px; }
.empty-state {
  text-align: center; padding: 90px 24px;
  border: 1.5px dashed var(--line); border-radius: var(--radius);
  background: var(--card);
  display: grid; gap: 14px; justify-items: center;
}
.empty-state .icon { width: 44px; height: 44px; color: var(--faint); }
.empty-state h2 { font-family: var(--font-display); font-size: 24px; }
.empty-state p { color: var(--muted); max-width: 44ch; }

/* ---------- 7. 글 상세 ---------- */
.reading-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 60; background: transparent; }
.reading-progress span { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.1s linear; }
.breadcrumb {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; color: var(--muted); font-weight: 600;
  padding: 30px 0 0; flex-wrap: wrap;
}
.breadcrumb a:hover { color: var(--accent-deep); }
.breadcrumb .icon { width: 14px; height: 14px; color: var(--faint); }
.article-head { max-width: 820px; margin: 0 auto; text-align: center; padding: 44px 0 36px; }
.article-kicker {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap; justify-content: center;
  margin-bottom: 20px;
}
.article-kicker .cat {
  background: var(--ink); color: #fff; font-size: 12.5px; font-weight: 800;
  letter-spacing: 0.06em; padding: 8px 18px; border-radius: 999px;
}
.article-kicker .region { display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 700; color: var(--muted); }
.article-kicker .region .icon { width: 15px; height: 15px; color: var(--accent); }
.article-title {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 4.4vw, 50px); line-height: 1.36; letter-spacing: -0.02em;
  text-wrap: balance;
}
.article-lede { margin-top: 20px; font-size: 18px; line-height: 1.85; color: var(--ink-soft); text-wrap: balance; }
.article-byline {
  display: flex; align-items: center; justify-content: center; gap: 14px;
  margin-top: 28px; flex-wrap: wrap;
}
.author-avatar {
  width: 46px; height: 46px; border-radius: 50%;
  background: var(--accent-wash); color: var(--accent-deep);
  display: grid; place-items: center; flex-shrink: 0;
}
.author-avatar .icon { width: 24px; height: 24px; }
.byline-who { text-align: left; }
.byline-who strong { display: block; font-size: 14.5px; }
.byline-who small { color: var(--faint); font-size: 12.5px; display: flex; gap: 8px; align-items: center; }
.article-actions { display: flex; gap: 10px; margin-left: 8px; }
.article-bookmark {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--line); border-radius: 999px;
  padding: 10px 20px; font-size: 13.5px; font-weight: 700; color: var(--ink-soft);
  background: var(--card); transition: all 0.15s;
}
.article-bookmark .icon { width: 16px; height: 16px; }
.article-bookmark:hover { border-color: var(--ink); color: var(--ink); }
.article-bookmark[aria-pressed='true'] { background: var(--accent); border-color: var(--accent); color: #fff; }
.share-button { white-space: nowrap; }

.article-cover { max-width: 1080px; margin: 10px auto 0; }
.article-cover img { border-radius: 24px; aspect-ratio: 16 / 9; object-fit: cover; box-shadow: var(--shadow); }
.article-cover figcaption {
  text-align: center; font-size: 13px; color: var(--faint);
  padding: 14px 20px 0;
}

.article-layout {
  display: grid; grid-template-columns: 220px minmax(0, 720px);
  gap: 56px; justify-content: center;
  max-width: 1080px; margin: 56px auto 0; padding: 0 24px;
}
.article-sidebar { position: relative; }
.sticky-toc { position: sticky; top: calc(var(--header-h) + 28px); display: grid; gap: 18px; }
.sticky-toc .toc-label { font-size: 11px; font-weight: 800; letter-spacing: 0.2em; color: var(--faint); }
.sticky-toc nav { display: grid; gap: 2px; border-left: 2px solid var(--line); }
.sticky-toc nav a {
  display: flex; gap: 10px; align-items: baseline;
  padding: 9px 0 9px 18px; font-size: 13.5px; font-weight: 600; color: var(--muted);
  border-left: 2px solid transparent; margin-left: -2px;
  transition: color 0.15s, border-color 0.15s;
}
.sticky-toc nav a:hover { color: var(--ink); }
.sticky-toc nav a.active { color: var(--accent-deep); border-left-color: var(--accent); }
.sticky-toc nav a .num { font-size: 11px; color: var(--faint); font-weight: 800; }
.sidebar-note {
  background: var(--sage-wash); border-radius: var(--radius-sm);
  padding: 18px; font-size: 13px; color: var(--ink-soft); line-height: 1.7;
  display: grid; gap: 8px;
}
.sidebar-note .icon { width: 20px; height: 20px; color: var(--sage); }

.article-content { font-size: 17.5px; line-height: 1.95; color: #2b3438; min-width: 0; }
.article-content > p { margin-bottom: 1.6em; }
.article-content > p:first-of-type::first-letter {
  font-family: var(--font-display); font-weight: 700;
  font-size: 3.4em; line-height: 0.9; float: left;
  margin: 0.08em 0.14em 0 0; color: var(--accent-deep);
}
.article-section { margin: 3.2em 0; }
.article-section h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: 27px; letter-spacing: -0.015em; line-height: 1.45;
  margin-bottom: 0.9em;
  display: flex; gap: 14px; align-items: baseline;
}
.section-number {
  font-family: var(--font-body); font-size: 12px; font-weight: 800; letter-spacing: 0.14em;
  color: var(--accent); white-space: nowrap; padding-top: 8px;
}
.article-section p { margin-bottom: 1.5em; }
.sample-notice {
  border: 1.5px dashed var(--gold); background: #fbf6e9;
  border-radius: var(--radius-sm); padding: 20px 24px; margin-bottom: 2.4em;
  font-size: 15px;
}
.sample-notice strong { display: block; margin-bottom: 6px; }
.trip-summary {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); border: 1px solid var(--line); border-radius: var(--radius-sm);
  overflow: clip; margin: 2.6em 0;
}
.trip-summary > div { background: var(--card); padding: 20px 22px; }
.trip-summary small { display: block; font-size: 12px; font-weight: 700; letter-spacing: 0.08em; color: var(--faint); margin-bottom: 6px; }
.trip-summary strong { font-size: 16.5px; }
.trip-summary strong.not-entered { color: var(--faint); font-weight: 500; }
.tip-box {
  border-left: 3px solid var(--accent);
  background: var(--accent-wash);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 24px 28px; margin: 2.4em 0;
  font-size: 16px;
}
.tip-box > span { display: flex; align-items: center; gap: 8px; font-weight: 800; font-size: 13.5px; color: var(--accent-deep); margin-bottom: 8px; }
.tip-box > span .icon { width: 17px; height: 17px; }
.tip-box p { margin: 0; }
.travel-checklist {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 32px; margin: 3em 0;
}
.travel-checklist h2 { font-family: var(--font-display); font-size: 22px; margin-bottom: 6px; }
.travel-checklist > p { color: var(--muted); font-size: 14px; margin-bottom: 18px; }
.travel-checklist .check-label {
  padding: 12px 14px; border-radius: var(--radius-sm); font-size: 15.5px;
  transition: background 0.15s;
}
.travel-checklist .check-label:hover { background: var(--paper); }
.travel-checklist .check-label input:checked + span { text-decoration: line-through; color: var(--faint); }
.tags { display: flex; gap: 8px; flex-wrap: wrap; margin: 2.6em 0 1em; }
.tags a {
  font-size: 13.5px; font-weight: 700; color: var(--ink-soft);
  background: var(--line-soft); border-radius: 999px; padding: 8px 16px;
  transition: background 0.15s, color 0.15s;
}
.tags a:hover { background: var(--ink); color: #fff; }
.article-endnote {
  display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap;
  border-top: 1px solid var(--line); padding-top: 22px; margin-top: 1em;
  font-size: 13px; color: var(--faint);
}
.same-category { margin-top: 3.4em; }
.same-category h2 { font-family: var(--font-display); font-size: 22px; margin-bottom: 6px; }
.same-category h2 a:hover { color: var(--accent-deep); }
.same-category > a, .same-category > div {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 16px 4px; border-bottom: 1px solid var(--line-soft);
  font-size: 15.5px; font-weight: 600;
}
.same-category > a:hover span:first-child { color: var(--accent-deep); }
.same-category time { font-size: 13px; color: var(--faint); white-space: nowrap; }
.same-category-current span { color: var(--faint); }
.same-category > a:last-child { border-bottom: 0; color: var(--accent-deep); font-weight: 800; display: inline-flex; gap: 8px; padding-top: 20px; }

/* 관련 글 */
.related { max-width: 1080px; margin: 90px auto 0; padding: 0 24px; }
.related .cards-grid { grid-template-columns: repeat(3, 1fr); }

/* ---------- 8. 댓글 ---------- */
.comments { max-width: 720px; margin: 90px auto 0; padding: 0 24px; }
.comments-heading { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.comments-heading h2 { font-family: var(--font-display); font-size: 28px; margin-top: 10px; }
.comments-heading h2 span {
  font-family: var(--font-body); font-size: 15px; font-weight: 800;
  background: var(--accent-wash); color: var(--accent-deep);
  border-radius: 999px; padding: 4px 14px; vertical-align: middle; margin-left: 8px;
}
.comments-heading > .icon { width: 40px; height: 40px; color: var(--line); flex-shrink: 0; }
.comments > p.muted { margin: 10px 0 18px; }
.comment-guidance { margin-bottom: 26px; }
.comment-list { display: grid; gap: 16px; margin-bottom: 20px; }
.comment {
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--radius-sm); padding: 20px 22px;
}
.comment-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 8px; }
.comment-head strong { font-size: 14.5px; }
.comment-head time { font-size: 12.5px; color: var(--faint); }
.comment p.body { font-size: 15px; line-height: 1.8; }
.empty-message { text-align: center; color: var(--faint); padding: 30px; font-size: 14px; }
.comment-form {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 32px; margin-top: 8px;
  display: grid; gap: 18px;
}
.comment-form h3 { font-family: var(--font-display); font-size: 21px; }
.form-caption { color: var(--muted); font-size: 14px; margin-top: -12px; }
.comment-fields { display: grid; gap: 10px; }
.privacy-mini { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--faint); }
.privacy-mini .icon { width: 14px; height: 14px; }
.textarea-bottom { display: flex; justify-content: space-between; gap: 12px; font-size: 12.5px; color: var(--faint); margin-top: -10px; }
.honey-field { position: absolute; left: -9999px; top: -9999px; opacity: 0; height: 0; overflow: hidden; }
.form-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.form-bottom > span { display: inline-flex; align-items: center; gap: 8px; font-size: 12.5px; color: var(--faint); }
.form-bottom > span .icon { width: 15px; height: 15px; }

/* ---------- 9. 검색 ---------- */
.search-hero { padding: 72px 0 10px; max-width: 760px; }
.search-hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(32px, 4.6vw, 50px); letter-spacing: -0.02em; line-height: 1.32;
  margin: 14px 0 12px;
}
.search-hero > p { color: var(--muted); font-size: 16.5px; }
.search-box { display: flex; gap: 10px; margin-top: 28px; }
.search-box input {
  flex: 1; font-size: 17px; padding: 17px 22px; border-radius: 999px;
  border: 1.5px solid var(--line); background: var(--card);
}
.search-box input:focus { border-color: var(--accent); outline-offset: 2px; }
.search-box .button { flex-shrink: 0; }
.search-filters { display: flex; gap: 10px; margin-top: 14px; flex-wrap: wrap; align-items: center; }
.search-filters select { width: auto; border-radius: 999px; padding: 11px 18px; font-size: 14px; font-weight: 600; }
.search-meta { margin: 26px 0 20px; font-size: 14px; color: var(--muted); font-weight: 600; }

/* ---------- 10. 소개 · 안내 · 404 ---------- */
.about-hero {
  display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 56px; align-items: center;
  padding: 88px 0 64px;
}
.about-hero h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(32px, 4.4vw, 52px); line-height: 1.36; letter-spacing: -0.02em;
  margin: 16px 0 18px; text-wrap: balance;
}
.about-hero h1 em { font-style: normal; color: var(--accent-deep); }
.about-hero p { color: var(--ink-soft); font-size: 17px; line-height: 1.9; }
.about-figure { position: relative; }
.about-figure img { border-radius: 24px; aspect-ratio: 4 / 5; object-fit: cover; box-shadow: var(--shadow); }
.about-figure figcaption { font-size: 13px; color: var(--faint); text-align: center; padding-top: 12px; }
.prose-page { max-width: 760px; padding-bottom: 40px; }
.prose-page h2 { font-family: var(--font-display); font-size: 26px; margin: 2.2em 0 0.8em; letter-spacing: -0.015em; }
.prose-page h3 { font-size: 18px; margin: 1.6em 0 0.6em; }
.prose-page p { color: var(--ink-soft); margin-bottom: 1.3em; line-height: 1.9; }
.principles { display: grid; gap: 18px; margin: 36px 0; }
.principle {
  display: grid; grid-template-columns: 64px 1fr; gap: 20px;
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 28px;
}
.principle > span {
  font-family: var(--font-display); font-size: 30px; font-weight: 700; color: var(--accent);
}
.principle h3 { font-size: 18px; margin-bottom: 8px; }
.principle p { margin: 0; color: var(--muted); font-size: 15px; }
.sample-notice { margin-top: 40px; }
.page-intro { padding: 72px 0 8px; max-width: 760px; }
.page-intro h1 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(30px, 4.2vw, 46px); letter-spacing: -0.02em; line-height: 1.34;
  margin: 14px 0 12px;
}
.page-intro > p { color: var(--muted); font-size: 16.5px; }
.not-found { text-align: center; padding: 110px 24px; display: grid; gap: 18px; justify-items: center; }
.not-found .icon { width: 56px; height: 56px; color: var(--accent); }
.not-found h1 { font-family: var(--font-display); font-size: clamp(28px, 4vw, 42px); }
.not-found p { color: var(--muted); }
.not-found .row { display: flex; gap: 18px; align-items: center; flex-wrap: wrap; justify-content: center; }

/* 구 eyebrow 호환 (관리자 · 로그인에서 사용) */
.eyebrow {
  display: block; font-size: 11.5px; font-weight: 800; letter-spacing: 0.2em;
  color: var(--accent); margin-bottom: 4px;
}

/* ---------- 11. 관리자 화면 ---------- */
.admin-main { width: var(--wrap); margin-inline: auto; padding: 36px 0 90px; }
.admin-nav {
  display: flex; gap: 8px; margin-bottom: 30px; flex-wrap: wrap;
  border-bottom: 1px solid var(--line); padding-bottom: 20px;
}
.admin-nav a {
  padding: 10px 20px; border-radius: 999px; font-size: 14px; font-weight: 700;
  color: var(--muted); border: 1.5px solid transparent;
}
.admin-nav a:hover { color: var(--ink); }
.admin-nav a.active { background: var(--ink); color: #fff; }
.admin-title { margin-bottom: 26px; }
.admin-title h1 { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 36px); letter-spacing: -0.02em; }
.admin-title p { color: var(--muted); margin-top: 8px; }
.admin-notice {
  background: var(--accent-wash); border: 1px solid #e8cdb8;
  border-radius: var(--radius-sm); padding: 16px 20px; font-size: 14px; margin-bottom: 24px;
}
.editor-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 24px; align-items: start; }
.editor-panel, .draft-panel, .category-form-card, .blocks-panel,
.moderation-policy, .post-classification {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 28px;
}
.panel-heading { font-family: var(--font-display); font-size: 20px; margin-bottom: 18px; }
.editor-tabs { display: flex; gap: 8px; margin-bottom: 20px; }
.editor-tabs button {
  padding: 10px 20px; border-radius: 999px; font-size: 13.5px; font-weight: 700;
  color: var(--muted); border: 1.5px solid var(--line);
}
.editor-tabs button[aria-selected='true'] { background: var(--ink); border-color: var(--ink); color: #fff; }
.editor-title-input { font-size: 20px; font-weight: 700; font-family: var(--font-display); }
.editor-body-input { min-height: 420px; font-size: 15.5px; }
.two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.body-toolbar { display: flex; gap: 8px; margin-bottom: 12px; flex-wrap: wrap; }
.body-toolbar button {
  border: 1px solid var(--line); border-radius: 10px; padding: 8px 14px;
  font-size: 13px; font-weight: 700; color: var(--muted);
}
.body-toolbar button:hover { color: var(--ink); border-color: var(--ink); }
.editor-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.draft-tools { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.draft-list { display: grid; gap: 10px; }
.draft-list button {
  text-align: left; border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  padding: 14px 18px; font-size: 14.5px; font-weight: 600; background: var(--paper);
  display: flex; justify-content: space-between; gap: 12px; align-items: center;
}
.draft-list button:hover { border-color: var(--ink); }
.draft-list button[aria-current='true'] { border-color: var(--accent); background: var(--accent-wash); }
.editor-photo { display: grid; gap: 12px; }
.editor-photo img { border-radius: var(--radius-sm); border: 1px solid var(--line); }
.moderation-stats { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 20px; }
.moderation-stats > div {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 14px 22px; font-size: 13.5px; color: var(--muted);
}
.moderation-stats strong { display: block; font-size: 24px; color: var(--ink); }
.moderation-list { display: grid; gap: 12px; }
.moderation-list .comment { margin: 0; }
.moderation-list-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 6px; flex-wrap: wrap; }
.status-pill {
  font-size: 11.5px; font-weight: 800; letter-spacing: 0.06em;
  border-radius: 999px; padding: 5px 13px; background: var(--line-soft); color: var(--muted);
}
.status-pill.pending { background: #fbf0d9; color: #8a5d13; }
.status-pill.approved { background: var(--sage-wash); color: var(--sage); }
.status-pill.spam, .status-pill.hidden { background: #f3ddd6; color: var(--accent-deep); }
.text-danger { color: var(--accent-deep); }
.category-manager { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.category-list { display: grid; gap: 8px; }
.category-list > div {
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  border: 1px solid var(--line-soft); border-radius: var(--radius-sm);
  padding: 13px 18px; background: var(--paper); font-size: 14.5px; font-weight: 600;
}
.manager-form-buttons { display: flex; gap: 10px; margin-top: 16px; }
.assignment-toolbar { display: flex; gap: 10px; margin: 22px 0 14px; flex-wrap: wrap; align-items: center; }
.assignment-posts { display: grid; gap: 8px; }
.empty-message { text-align: center; color: var(--faint); padding: 26px; font-size: 14px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.admin-side-note { font-size: 13px; color: var(--faint); margin-top: 18px; }
.category-manager-note { font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }

/* ---------- 11.5. 옆 책장 (아카이브 · 검색) ---------- */
.archive-layout {
  display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 56px;
  align-items: start; padding-bottom: 20px;
}
.blog-sidebar { display: grid; gap: 22px; align-content: start; position: sticky; top: calc(var(--header-h) + 24px); }
.writer-card {
  background: var(--ink); color: #f4efe4;
  border-radius: var(--radius); padding: 30px 28px;
  display: grid; gap: 12px; position: relative; overflow: clip;
}
.writer-card::after {
  content: ''; position: absolute; inset: auto -60px -90px auto;
  width: 220px; height: 220px; border-radius: 50%;
  background: radial-gradient(circle, rgb(185 80 46 / 0.35), transparent 65%);
}
.writer-seal {
  display: flex; align-items: center; gap: 12px;
  font-size: 10px; font-weight: 800; letter-spacing: 0.24em; line-height: 1.7;
  color: #f3c9a8;
}
.writer-seal .icon { width: 30px; height: 30px; }
.writer-card h2 { font-family: var(--font-display); font-size: 24px; }
.writer-card p { font-size: 14px; color: rgb(244 239 228 / 0.72); line-height: 1.8; }
.writer-card .text-link { color: #fff; }
.writer-stats { display: flex; gap: 26px; margin-top: 6px; font-size: 13px; color: rgb(244 239 228 / 0.65); }
.writer-stats strong { display: block; font-family: var(--font-display); font-size: 26px; color: #fff; }
.category-directory {
  background: var(--card); border: 1px solid var(--line-soft);
  border-radius: var(--radius); padding: 26px;
}
.directory-heading h2 { display: flex; align-items: center; gap: 10px; font-size: 16px; margin-bottom: 14px; }
.directory-heading h2 .icon { width: 18px; height: 18px; color: var(--accent); }
.directory-all {
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 800; font-size: 14.5px; padding: 12px 4px;
  border-bottom: 1px solid var(--line-soft); margin-bottom: 6px;
}
.directory-all b { background: var(--accent-wash); color: var(--accent-deep); border-radius: 999px; padding: 2px 12px; font-size: 12.5px; }
.directory-group { display: grid; }
.directory-group > a, .directory-child {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 4px; font-size: 14px; font-weight: 600; color: var(--ink-soft);
  border-bottom: 1px solid var(--line-soft);
}
.directory-group > a:last-child, .directory-child:last-child { border-bottom: 0; }
.directory-group a span { font-size: 12px; color: var(--faint); font-weight: 700; }
.directory-group a:hover, .directory-group a[aria-current='page'] { color: var(--accent-deep); }
.directory-child { padding-left: 16px; font-weight: 500; }
.sidebar-ticket {
  border: 1.5px dashed var(--line); border-radius: var(--radius);
  padding: 26px; display: grid; gap: 10px; background: var(--card);
}
.sidebar-ticket h3 { font-family: var(--font-display); font-size: 19px; line-height: 1.5; }
.sidebar-ticket p { font-size: 13.5px; color: var(--muted); }
.saved-note {
  display: flex; align-items: center; gap: 14px;
  background: var(--accent-wash); border-radius: var(--radius);
  padding: 20px 22px; font-size: 13.5px; color: var(--accent-deep);
  transition: transform 0.2s;
}
.saved-note:hover { transform: translateY(-2px); }
.saved-note > .icon:first-child { width: 26px; height: 26px; }
.saved-note span { flex: 1; }
.saved-note strong { display: block; font-size: 15.5px; }
.saved-note strong b {
  background: var(--accent); color: #fff; border-radius: 999px;
  padding: 1px 10px; font-size: 12px; margin-left: 4px;
}
.saved-note > .icon:last-child { width: 18px; height: 18px; }

/* ---------- 12. 반응형 ---------- */
@media (max-width: 1020px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
  .destinations { grid-template-columns: repeat(2, 1fr); }
  .feature-card { grid-template-columns: 1fr; }
  .feature-card .card-media { min-height: 260px; }
  .article-layout { grid-template-columns: minmax(0, 720px); }
  .article-sidebar { display: none; }
  .about-hero { grid-template-columns: 1fr; gap: 36px; }
  .editor-layout, .category-manager { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .hero { min-height: 92vh; border-radius: 0 0 24px 24px; margin-bottom: 64px; }
  .hero-content { padding: 40px 0 56px; }
  .scroll-hint { display: none; }
  .section { margin-bottom: 80px; }
  .cards-grid { grid-template-columns: 1fr; gap: 20px; }
  .related .cards-grid { grid-template-columns: 1fr; }
  .cards-grid.is-list .post-card { flex-direction: column; }
  .cards-grid.is-list .card-media { width: 100%; min-height: 0; aspect-ratio: 16 / 10; }
  .destinations { grid-template-columns: 1fr 1fr; gap: 12px; }
  .destination-card { padding: 20px 16px; }
  .destination-card strong { font-size: 17px; }
  .promise { grid-template-columns: 1fr; padding: 44px 30px; }
  .promise-figure { display: none; }
  .trip-summary { grid-template-columns: 1fr; }
  .page-head, .search-hero, .page-intro { padding-top: 52px; }
  .search-box { flex-direction: column; }
  .search-box .button { justify-content: center; }
  .comment-form { padding: 24px 20px; }
  .article-cover img { border-radius: 16px; }
  .two-fields { grid-template-columns: 1fr; }
  .form-bottom { flex-direction: column; align-items: stretch; }
  .form-bottom .button { justify-content: center; }
  .site-footer { margin-top: 80px; }
}
