/*
 * 블로그 화면 조각 — 값은 전부 tokens.css 에서 온다.
 * 모양의 뿌리: BlogMag Home Style 1 · Magazine Food · Magazine Travel · Blog Grid 3 Column · Detail Page 1
 */

/* ── 바탕 ─────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h-small) + var(--s-4));
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: var(--fs-md);
  line-height: 1.7;
}
img {
  display: block;
  max-width: 100%;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
}
a:hover {
  color: var(--accent-strong);
}
h1,
h2,
h3,
h4 {
  font-family: var(--font-head);
  line-height: 1.25;
  margin: 0;
  color: var(--ink);
}
p {
  margin: 0 0 var(--s-4);
}
ul,
ol {
  margin: 0;
  padding: 0;
}
button,
input,
select,
textarea {
  font: inherit;
  color: inherit;
}
:focus-visible {
  outline: 3px solid var(--info-soft-ink);
  outline-offset: 2px;
}
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s-4);
}
/* hidden 속성은 언제나 이긴다 — display 를 준 조각(동의 창 등)이 숨김을 덮어쓰지 않게 */
[hidden] {
  display: none !important;
}
.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
}
.skip-link {
  position: absolute;
  left: var(--s-4);
  top: -60px;
  z-index: 100;
  background: var(--dark);
  color: var(--dark-ink);
  padding: var(--s-2) var(--s-4);
}
.skip-link:focus {
  top: var(--s-2);
  color: var(--dark-ink);
}

/* ── 디자인 미리보기 띠 (운영에서는 없다) ─────────────── */
.preview-ribbon {
  background: var(--warn-soft);
  color: var(--warn-soft-ink);
  font-size: var(--fs-sm);
  text-align: center;
  padding: var(--s-2) var(--s-4);
  border-bottom: 1px solid var(--line);
}

/* 글줄 안 아이콘 — 크기를 주지 않으면 SVG 가 칸을 다 먹는다 */
.hero-meta svg,
.verified svg,
.byline svg,
.btn svg,
.meta svg {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  vertical-align: -2px;
}
.tool-link {
  white-space: nowrap;
}

/* ── 버튼·알약 ─────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-2);
  min-height: 44px;
  padding: 0 var(--s-5);
  border: 2px solid transparent;
  border-radius: var(--r-sm);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: var(--fs-sm);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  white-space: nowrap;
  background: var(--accent-strong);
  color: var(--accent-ink);
}
.btn:hover {
  background: var(--accent-strong-hover);
  color: var(--accent-ink);
}
.btn-ghost {
  background: transparent;
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-ghost:hover {
  background: var(--bg-soft);
  color: var(--ink);
}
.btn-light {
  background: var(--bg);
  color: var(--ink);
}
.btn-light:hover {
  background: var(--bg-soft);
  color: var(--ink);
}
.btn-small {
  min-height: 36px;
  padding: 0 var(--s-4);
  font-size: var(--fs-xs);
}
.pill {
  display: inline-block;
  padding: 2px 10px;
  border-radius: var(--r-sm);
  font-family: var(--font-head);
  font-size: var(--fs-xs);
  font-weight: 500;
  line-height: 1.8;
  background: var(--accent-strong);
  color: var(--tone-ink);
}
.pill[data-tone="destinations"] {
  background: var(--tone-destinations);
  color: var(--tone-ink);
}
.pill[data-tone="eat"] {
  background: var(--tone-eat);
  color: var(--tone-ink);
}
.pill[data-tone="do"] {
  background: var(--tone-do);
  color: var(--tone-ink);
}
.pill[data-tone="plan"] {
  background: var(--tone-plan);
  color: var(--tone-ink);
}
.pill[data-tone="quiet"] {
  background: var(--bg-soft);
  color: var(--ink-2);
}
.pill[data-tone="sponsored"] {
  background: var(--warn-soft);
  color: var(--warn-soft-ink);
}

/* ── 머리(헤더) ────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  color: var(--ink);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.2s;
}
.site-header.is-scrolled {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: var(--s-5);
  height: var(--header-h);
  transition: height 0.2s;
}
.site-header.is-scrolled .header-inner {
  height: var(--header-h-small);
}
.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
  flex-shrink: 0;
}
/* 로고 그림(WebP) — 가로:세로 7.7:1 이라 높이로만 크기를 정한다 */
.logo-img {
  display: block;
  height: 36px;
  width: auto;
  max-width: 100%;
}
.site-header.is-scrolled .logo-img {
  height: 30px;
}
@media (max-width: 767px) {
  .logo-img,
  .site-header.is-scrolled .logo-img {
    height: 26px;
  }
}
.logo-tag {
  font-size: 0.6875rem;
  color: var(--muted);
  margin-top: 4px;
  letter-spacing: 0.02em;
}
.site-header.is-scrolled .logo-tag {
  display: none;
}
.main-nav {
  flex: 1;
  display: flex;
  justify-content: center;
}
.main-nav > ul {
  display: flex;
  list-style: none;
  gap: var(--s-1);
}
.main-nav > ul > li {
  position: relative;
}
.nav-top {
  display: flex;
  align-items: center;
  gap: 6px;
  height: var(--header-h);
  padding: 0 var(--s-3);
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-head);
  font-size: var(--fs-sm);
  font-weight: 500;
  letter-spacing: 0.06em;
  color: var(--ink);
  white-space: nowrap;
  border-bottom: 3px solid transparent;
}
.site-header.is-scrolled .nav-top {
  height: var(--header-h-small);
}
.nav-top:hover,
.main-nav li.is-current > .nav-top {
  color: var(--accent-strong);
  border-bottom-color: var(--accent);
}
.nav-top svg {
  width: 10px;
  height: 10px;
}
.sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  list-style: none;
  background: var(--bg);
  color: var(--ink);
  border-top: 3px solid var(--accent);
  box-shadow: var(--shadow-pop);
  padding: var(--s-2) 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: opacity 0.15s, transform 0.15s, visibility 0.15s;
}
.main-nav li:hover > .sub-menu,
.main-nav li:focus-within > .sub-menu,
.main-nav li.is-open > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: none;
}
.sub-menu a {
  display: block;
  padding: var(--s-2) var(--s-5);
  font-size: var(--fs-sm);
  color: var(--ink-2);
}
.sub-menu a:hover {
  background: var(--bg-soft);
  color: var(--accent-strong);
}
.sub-menu .sub-all {
  border-top: 1px solid var(--line);
  margin-top: var(--s-2);
  font-weight: 600;
  color: var(--ink);
}
.header-tools {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  flex-shrink: 0;
}
.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: var(--r-pill);
  background: none;
  color: var(--ink);
  cursor: pointer;
}
.icon-btn:hover {
  background: var(--bg-soft);
  color: var(--accent-strong);
}
.icon-btn svg {
  width: 20px;
  height: 20px;
}
.tool-link {
  font-family: var(--font-head);
  font-size: var(--fs-sm);
  font-weight: 500;
  padding: var(--s-2) var(--s-3);
  color: var(--ink);
}
.nav-toggle {
  display: none;
}

/* 모바일 메뉴 */
.mobile-panel {
  display: none;
}
@media (max-width: 1199px) {
  .main-nav,
  .header-tools .tool-link,
  .header-tools .btn {
    display: none;
  }
  .nav-toggle {
    display: inline-flex;
  }
  /* 햄버거 폭: 메뉴 단추 왼쪽 · 로고 가운데 · 검색 오른쪽 (2026-09-21 사용자 지시) */
  .header-inner {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    gap: var(--s-2);
  }
  .header-tools {
    display: contents;
  }
  .header-inner .nav-toggle {
    grid-column: 1;
    grid-row: 1;
    justify-self: start;
  }
  .header-inner .logo {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    align-items: center;
    text-align: center;
    min-width: 0;
  }
  .header-inner [data-search-toggle] {
    grid-column: 3;
    grid-row: 1;
    justify-self: end;
  }
  /* 메뉴 단추가 왼쪽이라 메뉴 창도 왼쪽에서 연다 */
  .mobile-panel {
    display: block;
    position: fixed;
    inset: 0 auto 0 0;
    width: min(360px, 88vw);
    z-index: 60;
    background: var(--bg);
    color: var(--ink);
    box-shadow: var(--shadow-pop);
    transform: translateX(-100%);
    transition: transform 0.2s;
    overflow-y: auto;
    padding: var(--s-4) var(--s-5) var(--s-7);
    visibility: hidden;
  }
  .mobile-panel.is-open {
    transform: none;
    visibility: visible;
  }
  .mobile-backdrop {
    position: fixed;
    inset: 0;
    z-index: 55;
    background: rgba(0, 0, 0, 0.45);
  }
}
.mobile-panel-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--s-4);
}
.mobile-nav details {
  border-bottom: 1px solid var(--line);
}
.mobile-nav summary {
  list-style: none;
  cursor: pointer;
  padding: var(--s-4) 0;
  font-family: var(--font-head);
  font-weight: 700;
  letter-spacing: 0.06em;
  display: flex;
  justify-content: space-between;
}
.mobile-nav summary::-webkit-details-marker {
  display: none;
}
.mobile-nav summary::after {
  content: "+";
  color: var(--accent-strong);
}
.mobile-nav details[open] summary::after {
  content: "–";
}
.mobile-nav ul {
  list-style: none;
  padding-bottom: var(--s-3);
}
.mobile-nav li a {
  display: block;
  padding: var(--s-2) 0 var(--s-2) var(--s-3);
  color: var(--ink-2);
}
.mobile-tools {
  display: grid;
  gap: var(--s-2);
  margin-top: var(--s-5);
}

/* 찾기 */
.search-panel {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
  color: var(--ink);
  padding: var(--s-4) 0;
}
.search-form {
  display: flex;
  gap: var(--s-2);
}
.search-form input {
  flex: 1;
  min-height: 44px;
  padding: 0 var(--s-4);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--ink);
}

/* ── 절 제목 (템플릿: 제목 아래 붉은 짧은 줄 + 옅은 긴 줄) ── */
.section {
  padding: var(--s-8) 0 0;
}
.section:last-of-type {
  padding-bottom: var(--s-8);
}
.section-soft {
  background: var(--bg-softer);
  color: var(--ink);
  padding: var(--s-8) 0;
  margin-top: var(--s-8);
}
.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--s-4);
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--s-5);
}
.section-head h2 {
  position: relative;
  font-size: var(--fs-xl);
  font-weight: 700;
  padding-bottom: var(--s-3);
}
.section-head h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 56px;
  height: 3px;
  background: var(--accent);
}
.section-head .more {
  font-family: var(--font-head);
  font-size: var(--fs-sm);
  font-weight: 500;
  color: var(--accent-strong);
  padding-bottom: var(--s-3);
  white-space: nowrap;
}
.section-lead {
  color: var(--muted);
  margin: calc(-1 * var(--s-3)) 0 var(--s-5);
  max-width: 720px;
}

/* ── 사진 틀 (비율 고정 → CLS 0) ──────────────────── */
.media {
  position: relative;
  overflow: hidden;
  background: var(--bg-soft);
}
.media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s;
}
.ratio-16x9 {
  aspect-ratio: 16 / 9;
}
.ratio-4x3 {
  aspect-ratio: 4 / 3;
}
.ratio-2x3 {
  aspect-ratio: 2 / 3;
}
.ratio-1x1 {
  aspect-ratio: 1 / 1;
}
a:hover .media img,
.card:hover .media img {
  transform: scale(1.04);
}

/* ── 사진 위 글자 카드 (Style 1 배너) ─────────────── */
.overlay-card {
  position: relative;
  display: block;
  overflow: hidden;
  color: var(--shade-ink);
  background: var(--dark);
}
.overlay-card .media {
  height: 100%;
}
.overlay-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--shade);
  pointer-events: none;
}
.overlay-body {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  padding: var(--s-5);
  color: var(--shade-ink);
}
.overlay-body h2,
.overlay-body h3 {
  color: var(--shade-ink);
  margin: var(--s-2) 0;
}
.overlay-card:hover {
  color: var(--shade-ink);
}
.overlay-meta {
  font-size: var(--fs-sm);
  color: var(--shade-ink);
  opacity: 0.92;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
}

/* ── 홈 첫 화면 ────────────────────────────────────── */
.site-intro {
  background: var(--dark);
  color: var(--dark-ink);
  padding: var(--s-4) 0;
}
.site-intro h1 {
  color: var(--dark-ink);
  font-size: var(--fs-lg);
  font-weight: 500;
  letter-spacing: 0.01em;
}
.site-intro p {
  margin: 2px 0 0;
  color: var(--dark-muted);
  font-size: var(--fs-sm);
}
.hero {
  position: relative;
  color: var(--shade-ink);
  background: var(--dark);
}
.hero .media {
  aspect-ratio: 16 / 9;
  max-height: 620px;
  width: 100%;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.25) 60%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}
.hero-body {
  position: absolute;
  inset: auto 0 0 0;
  z-index: 1;
  padding: var(--s-7) 0;
}
.hero-body .inner {
  max-width: 620px;
}
.hero h2 {
  color: var(--shade-ink);
  font-size: var(--fs-4xl);
  font-weight: 700;
  margin: var(--s-3) 0;
}
.hero p {
  color: var(--shade-ink);
  font-size: var(--fs-lg);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.hero-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-4);
  font-size: var(--fs-sm);
  color: var(--shade-ink);
}
/* ── 첫 화면 슬라이드·동영상 (D-50) ─────────────────
   스크립트가 없으면 첫 장(또는 포스터)만 보인다. 조작 단추는 스크립트가 켤 때만 나온다.
   움직임은 멈출 수 있다(WCAG 2.2.2) — '움직임 줄이기' 방문자에게는 저절로 넘기지도, 재생하지도 않는다. */
.hero-slide {
  position: relative;
}
.hero-slides .hero-slide + .hero-slide {
  display: none;
}
.hero-slides.is-ready .hero-slide {
  display: none;
}
.hero-slides.is-ready .hero-slide[data-active] {
  display: block;
  animation: hero-fade 0.5s ease;
}
@keyframes hero-fade {
  from { opacity: 0; }
  to { opacity: 1; }
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.25) 60%, rgba(0, 0, 0, 0) 100%);
  pointer-events: none;
}
.hero-slides::after {
  display: none;
}
.hero-controls,
.hero-video-toggle {
  position: absolute;
  top: var(--s-4);
  right: var(--s-4);
  z-index: 2;
  display: flex;
  align-items: center;
  gap: var(--s-2);
}
.hero-controls[hidden],
.hero-video-toggle[hidden] {
  display: none;
}
.hero-controls button,
.hero-video-toggle {
  min-width: 36px;
  height: 36px;
  padding: 0 var(--s-2);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(0, 0, 0, 0.5);
  color: var(--shade-ink);
  font-size: var(--fs-sm);
  line-height: 1;
  cursor: pointer;
}
.hero-controls button:focus-visible,
.hero-video-toggle:focus-visible {
  outline: 2px solid var(--shade-ink);
  outline-offset: 2px;
}
.hero-dots {
  display: flex;
  gap: 2px;
}
.hero-controls .hero-dots button {
  min-width: 24px;
  width: 24px;
  height: 24px;
  padding: 0;
  border: 0;
  background: transparent;
  position: relative;
}
.hero-controls .hero-dots button::before {
  content: "";
  position: absolute;
  inset: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
}
.hero-controls .hero-dots button[aria-current="true"]::before {
  background: var(--shade-ink);
}
.hero-video .media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.6s;
}
.hero-video .media video.is-playing {
  opacity: 1;
}
@media (prefers-reduced-motion: reduce) {
  .hero-slides.is-ready .hero-slide[data-active] {
    animation: none;
  }
  .hero-video .media video {
    display: none;
  }
}
.discover {
  border-bottom: 1px solid var(--line);
  background: var(--bg);
  color: var(--ink);
}
.discover-row {
  display: flex;
  align-items: center;
  gap: var(--s-2);
  overflow-x: auto;
  padding-block: var(--s-4); /* 옆 여백은 .container 몫 — padding 줄임꼴로 덮으면 좁은 화면에서 글자가 가장자리에 붙는다 */
  scrollbar-width: thin;
}
.discover-label {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: var(--fs-xs);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
  background: var(--accent-strong);
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-sm);
  white-space: nowrap;
}
.chip {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 var(--s-4);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-pill);
  background: var(--bg);
  color: var(--ink);
  font-size: var(--fs-sm);
  white-space: nowrap;
}
.chip:hover {
  border-color: var(--accent);
  color: var(--accent-strong);
}

/* ── Style 1 배너 격자: 큰 것 하나 + 쌓인 둘 ──────── */
.feature-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: 1fr 1fr;
  gap: var(--s-2);
  height: 520px;
}
.feature-grid .overlay-card:first-child {
  grid-row: 1 / 3;
}
.feature-grid .overlay-card:first-child h3 {
  font-size: var(--fs-2xl);
}
.feature-grid .overlay-card h3 {
  font-size: var(--fs-lg);
}

/* ── 카드 ─────────────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6) var(--s-5);
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
}
.card {
  display: flex;
  flex-direction: column;
  background: var(--bg);
  color: var(--ink);
}
.card .media {
  margin-bottom: var(--s-4);
}
.card-kicker {
  margin: 0 0 6px;
}
.card h3 {
  font-size: var(--fs-lg);
  font-weight: 700;
  margin-bottom: var(--s-2);
}
.card h3 a:hover {
  color: var(--accent-strong);
}
.card p {
  color: var(--ink-2);
  font-size: var(--fs-sm);
  margin-bottom: var(--s-3);
}
.meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-1) var(--s-4);
  font-size: var(--fs-xs);
  color: var(--muted);
}
.meta svg {
  width: 13px;
  height: 13px;
  vertical-align: -2px;
  margin-right: 3px;
}

/* 식당 사실 조각 */
.facts {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-1) var(--s-2);
  list-style: none;
  margin: 0 0 var(--s-3);
}
.facts li {
  font-size: var(--fs-xs);
  background: var(--bg-soft);
  color: var(--ink-2);
  padding: 2px 8px;
  border-radius: var(--r-sm);
}
.facts li.is-good {
  background: var(--good-soft);
  color: var(--good-soft-ink);
}
.verified {
  font-size: var(--fs-xs);
  color: var(--good-soft-ink);
}

/* 장소 카드 (세로 사진) */
.place-card .media {
  aspect-ratio: 2 / 3;
}
.place-card h3 {
  font-size: var(--fs-xl);
}
.place-count {
  font-size: var(--fs-sm);
  color: var(--shade-ink);
}

/* 목록형 작은 카드 (썸네일 + 글) */
.mini-list {
  list-style: none;
  display: grid;
  gap: var(--s-4);
}
.mini {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: var(--s-3);
  align-items: start;
}
.mini .media {
  aspect-ratio: 1 / 1;
}
.mini h4 {
  font-size: var(--fs-md);
  font-weight: 500;
  margin-bottom: var(--s-1);
  line-height: 1.35;
}

/* 세 기둥(할 거리) */
.pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
.pillar h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--s-3);
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}
.pillar h3 a.more {
  font-size: var(--fs-sm);
  color: var(--accent-strong);
  font-weight: 500;
}
.pillar .card {
  margin-bottom: var(--s-4);
}
.link-list {
  list-style: none;
  border-top: 1px solid var(--line);
}
.link-list li {
  border-bottom: 1px solid var(--line);
}
.link-list a {
  display: block;
  padding: var(--s-3) 0;
  font-weight: 600;
  font-size: var(--fs-sm);
}

/* 여행 준비 번호 목록 */
.plan-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.plan-col {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  border-top: 3px solid var(--tone-plan);
  padding: var(--s-5);
}
.plan-col h3 {
  font-size: var(--fs-lg);
  margin-bottom: var(--s-2);
}
.plan-col p {
  color: var(--muted);
  font-size: var(--fs-sm);
}
.num-list {
  list-style: none;
  counter-reset: n;
  display: grid;
  gap: var(--s-3);
  margin-bottom: var(--s-4);
}
.num-list li {
  counter-increment: n;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: var(--s-2);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.num-list li::before {
  content: counter(n);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  border-radius: var(--r-pill);
  background: var(--bg-soft);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: var(--fs-xs);
}

/* 최신 글 거르기 */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-bottom: var(--s-5);
}
.filter-tabs button {
  min-height: 36px;
  padding: 0 var(--s-4);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-head);
  font-size: var(--fs-sm);
  cursor: pointer;
}
.filter-tabs button[aria-pressed="true"] {
  background: var(--dark);
  border-color: var(--dark);
  color: var(--dark-ink);
}
.is-hidden {
  display: none !important;
}
.load-more-row {
  text-align: center;
  margin-top: var(--s-6);
}

/* 독자 질문 */
.qa-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
}
.qa-card {
  background: var(--bg);
  color: var(--ink);
  border: 1px solid var(--line);
  padding: var(--s-5);
  display: flex;
  flex-direction: column;
  gap: var(--s-3);
}
.qa-card blockquote {
  margin: 0;
  font-size: var(--fs-md);
  font-weight: 600;
  color: var(--ink);
}
.qa-card .who {
  font-size: var(--fs-xs);
  color: var(--muted);
}
.qa-card .on {
  font-size: var(--fs-sm);
  color: var(--accent-strong);
  margin-top: auto;
}
.center-row {
  text-align: center;
  margin-top: var(--s-6);
}

/* ── 뉴스레터 띠 (템플릿 Buy Now 띠 자리) ──────────── */
.newsletter {
  background: var(--dark);
  color: var(--dark-ink);
  padding: var(--s-8) 0;
  margin-top: var(--s-8);
}
.newsletter-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: var(--s-7);
  align-items: center;
}
.newsletter h2 {
  color: var(--dark-ink);
  font-size: var(--fs-2xl);
  margin-bottom: var(--s-3);
}
.newsletter p {
  color: var(--dark-muted);
}
.newsletter a {
  color: var(--dark-ink);
  text-decoration: underline;
}
.nl-form {
  display: grid;
  gap: var(--s-3);
}
.nl-row {
  display: flex;
  gap: var(--s-2);
}
.nl-row input {
  flex: 1;
  min-height: 48px;
  padding: 0 var(--s-4);
  border: 0;
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--ink);
}
.nl-interests {
  border: 0;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2) var(--s-4);
  color: var(--dark-ink);
  font-size: var(--fs-sm);
}
.nl-interests legend {
  width: 100%;
  margin-bottom: var(--s-1);
  color: var(--dark-muted);
}
.nl-interests label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
}
.nl-note {
  font-size: var(--fs-xs);
  color: var(--dark-muted);
  margin: 0;
}

/* ── 광고 자리 (높이를 미리 잡는다 → CLS 0) ─────────── */
.ad-slot {
  margin: var(--s-7) auto;
  text-align: center;
}
.ad-slot-label {
  display: block;
  font-size: 0.6875rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: var(--s-1);
}
.ad-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 250px;
  background: repeating-linear-gradient(45deg, var(--bg-soft), var(--bg-soft) 10px, var(--bg-softer) 10px, var(--bg-softer) 20px);
  color: var(--muted);
  border: 1px dashed var(--line-strong);
  font-size: var(--fs-sm);
}
.ad-box strong {
  color: var(--ink-2);
}
.ad-slot[data-size="leader"] .ad-box {
  min-height: 120px;
}
.ad-slot[data-size="sidebar"] .ad-box {
  min-height: 600px;
}
@media (max-width: 767px) {
  .ad-slot[data-size="leader"] .ad-box {
    min-height: 100px;
  }
}

/* 실제 광고 단위 — 높이를 미리 잡고(CLS), 광고가 안 오면(unfilled) 칸을 접는다 */
.ad-slot ins.adsbygoogle {
  min-height: 250px;
}
.ad-slot[data-size="leader"] ins.adsbygoogle {
  min-height: 100px;
}
.ad-slot[data-size="sidebar"] ins.adsbygoogle {
  min-height: 600px;
}
.ad-slot:has(ins[data-ad-status="unfilled"]) {
  display: none;
}

/* ── 꼬리말 ───────────────────────────────────────── */
.site-footer {
  background: var(--dark-2);
  color: var(--dark-muted);
  font-size: var(--fs-sm);
  margin-top: var(--s-8);
}
.newsletter + .site-footer {
  margin-top: 0;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.3fr;
  gap: var(--s-6);
  padding-block: var(--s-8) var(--s-6); /* 옆 여백은 .container 몫 */
}
.site-footer h2 {
  color: var(--dark-ink);
  font-size: var(--fs-sm);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--s-4);
}
.site-footer ul {
  list-style: none;
  display: grid;
  gap: var(--s-2);
}
.site-footer a {
  color: var(--dark-muted);
}
.site-footer a:hover {
  color: var(--dark-ink);
}
.footer-brand .logo-img {
  height: 32px;
  width: auto;
  max-width: min(100%, 246px);
  object-fit: contain;
}
.footer-brand p {
  margin-top: var(--s-3);
}
.footer-nl .nl-row input {
  min-height: 42px;
}
.socials {
  display: flex;
  gap: var(--s-2);
  margin-top: var(--s-4);
}
.socials a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--r-pill);
  color: var(--dark-ink);
}
.socials svg {
  width: 16px;
  height: 16px;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-block: var(--s-5); /* 옆 여백은 .container 몫 */
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--s-3);
}
.footer-bottom p {
  margin: 0;
}
.footer-controls {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
}
.link-btn {
  background: none;
  border: 0;
  padding: 0;
  color: var(--dark-muted);
  text-decoration: underline;
  cursor: pointer;
  font-size: var(--fs-sm);
}
.link-btn:hover {
  color: var(--dark-ink);
}

/* ── 쿠키 동의 ─────────────────────────────────────── */
.consent {
  position: fixed;
  left: var(--s-4);
  right: var(--s-4);
  bottom: var(--s-4);
  z-index: 70;
  max-width: 980px;
  margin: 0 auto;
  background: var(--bg);
  color: var(--ink);
  box-shadow: var(--shadow-pop);
  border-top: 4px solid var(--accent);
  padding: var(--s-5);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-5);
  align-items: center;
}
.consent h2 {
  font-size: var(--fs-md);
  margin-bottom: var(--s-1);
}
.consent p {
  font-size: var(--fs-sm);
  margin: 0;
  color: var(--ink-2);
}
.consent p a {
  text-decoration: underline;
}
.consent-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}
/* 받기·거부는 같은 크기·같은 무게 */
.consent-actions .btn {
  min-width: 132px;
}
.consent-actions .btn-choice {
  background: var(--dark);
  color: var(--dark-ink);
}
.consent-actions .btn-choice:hover {
  background: var(--dark-2);
  color: var(--dark-ink);
}
dialog.prefs {
  border: 0;
  padding: 0;
  width: min(560px, 92vw);
  background: var(--bg);
  color: var(--ink);
  box-shadow: var(--shadow-pop);
}
dialog.prefs::backdrop {
  background: rgba(0, 0, 0, 0.5);
}
.prefs-body {
  padding: var(--s-5);
}
.prefs-body h2 {
  font-size: var(--fs-xl);
  margin-bottom: var(--s-3);
}
.pref {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: var(--s-3);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line);
}
.pref strong {
  display: block;
}
.pref span {
  font-size: var(--fs-sm);
  color: var(--muted);
}
.pref input {
  width: 22px;
  height: 22px;
}
.prefs-actions {
  display: flex;
  justify-content: flex-end;
  gap: var(--s-2);
  padding: var(--s-4) var(--s-5);
  background: var(--bg-soft);
  color: var(--ink);
}

/* ── 페이지 머리 띠 (템플릿 Breadcrumb / page-cover) ── */
.page-cover {
  position: relative;
  background: var(--dark);
  color: var(--dark-ink);
  overflow: hidden;
}
.page-cover > .media {
  position: absolute;
  inset: 0;
}
.page-cover::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 28, 36, 0.62);
}
.page-cover .container {
  position: relative;
  z-index: 1;
  padding-top: var(--s-8);
  padding-bottom: var(--s-7);
}
.page-cover h1 {
  color: var(--dark-ink);
  font-size: var(--fs-3xl);
  margin: var(--s-2) 0 var(--s-3);
}
.page-cover p {
  color: var(--dark-ink);
  max-width: 720px;
  margin: 0;
}
.crumbs ol {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  font-size: var(--fs-sm);
}
.crumbs li + li::before {
  content: "/";
  margin-right: var(--s-2);
  opacity: 0.7;
}
.page-cover .crumbs a,
.page-cover .crumbs li {
  color: var(--dark-ink);
}
.crumbs a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* 하위 칸 목록 */
.sub-nav {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
  margin-top: var(--s-5);
}
.sub-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0 var(--s-4);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--r-pill);
  color: var(--dark-ink);
  font-size: var(--fs-sm);
}
.sub-nav a:hover,
.sub-nav a[aria-current="page"] {
  background: var(--bg);
  color: var(--ink);
}

/* ── 음식 랜딩 첫 화면 (템플릿 Paradise 슬라이더 자리) ── */
.food-hero {
  position: relative;
  background: var(--dark);
  color: var(--shade-ink);
}
.food-slide {
  position: relative;
}
.food-slide .media {
  aspect-ratio: 2 / 1;
  max-height: 600px;
  width: 100%;
}
.food-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--shade);
}
.food-slide .overlay-body {
  padding: var(--s-7) 0;
}
.food-slide h2 {
  font-size: var(--fs-3xl);
  color: var(--shade-ink);
  max-width: 720px;
  margin: var(--s-3) 0;
}
.food-slide p {
  color: var(--shade-ink);
  max-width: 620px;
}
.food-thumbs {
  position: absolute;
  right: var(--s-5);
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  display: grid;
  gap: var(--s-2);
  list-style: none;
}
.food-thumbs button {
  display: block;
  width: 84px;
  height: 84px;
  padding: 0;
  border: 3px solid rgba(255, 255, 255, 0.6);
  border-radius: var(--r-pill);
  overflow: hidden;
  cursor: pointer;
  background: var(--dark);
}
.food-thumbs button[aria-selected="true"] {
  border-color: var(--accent);
}
.food-thumbs img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 랜딩: 본문 + 곁단 */
.with-aside {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--s-7);
}
.aside {
  display: grid;
  gap: var(--s-6);
  align-content: start;
}
.widget h2 {
  font-size: var(--fs-md);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-bottom: var(--s-3);
  margin-bottom: var(--s-4);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.widget h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 40px;
  height: 3px;
  background: var(--accent);
}
.cat-list {
  list-style: none;
}
.cat-list li {
  border-bottom: 1px solid var(--line);
}
.cat-list a {
  display: flex;
  justify-content: space-between;
  padding: var(--s-3) 0;
  font-size: var(--fs-sm);
}
.cat-list .count {
  color: var(--muted);
}
.sticky-aside {
  position: sticky;
  top: calc(var(--header-h-small) + var(--s-4));
}

/* 큰 것 + 목록 (Top Trending) */
.lead-list {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: var(--s-5);
}

/* 여행 랜딩: 네 기둥 (Tour Guides · Travel Tips …) */
.col-4 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
}
.col-4 h3 {
  font-size: var(--fs-md);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding-bottom: var(--s-3);
  margin-bottom: var(--s-4);
  border-bottom: 2px solid var(--accent);
  display: flex;
  justify-content: space-between;
}
.col-4 h3 a {
  font-size: var(--fs-xs);
  color: var(--accent-strong);
}
.gallery-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s-1);
  margin-top: var(--s-8);
}
.gallery-strip .overlay-card .media {
  aspect-ratio: 1 / 1;
}
.gallery-strip h3 {
  font-size: var(--fs-md);
  margin: 0;
}
.gallery-strip .overlay-body {
  padding: var(--s-3);
}

/* ── 카테고리 격자 · 목록 전환 (Blog Grid 3 Column) ── */
.list-tools {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-4);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line);
  margin-bottom: var(--s-6);
}
.list-tools p {
  margin: 0;
  color: var(--muted);
  font-size: var(--fs-sm);
}
.view-toggle {
  display: inline-flex;
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  overflow: hidden;
}
.view-toggle button {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 38px;
  padding: 0 var(--s-3);
  border: 0;
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  font-size: var(--fs-sm);
}
.view-toggle button + button {
  border-left: 1px solid var(--line-strong);
}
.view-toggle button[aria-pressed="true"] {
  background: var(--dark);
  color: var(--dark-ink);
}
.view-toggle svg {
  width: 16px;
  height: 16px;
}
.post-list.is-list {
  grid-template-columns: 1fr;
  gap: var(--s-5);
}
.post-list.is-list .card {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: var(--s-5);
  padding-bottom: var(--s-5);
  border-bottom: 1px solid var(--line);
}
.post-list.is-list .card .media {
  margin: 0;
}
.post-list.is-list .card h3 {
  font-size: var(--fs-xl);
}
.pager {
  display: flex;
  justify-content: center;
  gap: var(--s-2);
  list-style: none;
  margin-top: var(--s-7);
}
.pager a,
.pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 var(--s-3);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  background: var(--bg);
  color: var(--ink);
}
.pager [aria-current="page"] {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: var(--accent-ink);
}
.related-cats {
  margin-top: var(--s-7);
  padding-top: var(--s-5);
  border-top: 1px solid var(--line);
}
.related-cats h2 {
  font-size: var(--fs-md);
  margin-bottom: var(--s-3);
}
.related-cats .chips {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

/* ── 글 (Detail Page 1) ───────────────────────────── */
.article-cover {
  position: relative;
  background: var(--dark);
  color: var(--dark-ink);
}
.article-cover .container {
  padding-top: var(--s-7);
  padding-bottom: var(--s-6);
}
.article-cover h1 {
  color: var(--dark-ink);
  font-size: var(--fs-4xl);
  max-width: 900px;
  margin: var(--s-3) 0;
}
.article-cover .dek {
  color: var(--dark-muted);
  font-size: var(--fs-lg);
  max-width: 820px;
}
.byline {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--s-2) var(--s-5);
  font-size: var(--fs-sm);
  color: var(--dark-muted);
  margin-top: var(--s-4);
}
.byline a {
  color: var(--dark-ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.byline strong {
  color: var(--dark-ink);
  font-weight: 600;
}
.byline .verified-badge {
  background: var(--good-soft);
  color: var(--good-soft-ink);
  padding: 2px 8px;
  border-radius: var(--r-sm);
  font-weight: 600;
}
.article-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--s-7);
  padding-top: var(--s-6);
}
.disclosure {
  background: var(--warn-soft);
  color: var(--warn-soft-ink);
  border-left: 4px solid var(--warn-soft-ink);
  padding: var(--s-3) var(--s-4);
  font-size: var(--fs-sm);
  margin-bottom: var(--s-5);
}
.disclosure p {
  margin: 0;
}
.disclosure p + p {
  margin-top: var(--s-1);
}
.disclosure a {
  text-decoration: underline;
}
.hero-figure {
  margin: 0 0 var(--s-5);
}
.hero-figure .media {
  aspect-ratio: 16 / 9;
}
figcaption {
  font-size: var(--fs-sm);
  color: var(--muted);
  padding-top: var(--s-2);
  border-bottom: 1px solid var(--line);
  padding-bottom: var(--s-2);
}
.know-box {
  background: var(--info-soft);
  color: var(--info-soft-ink);
  padding: var(--s-5);
  margin-bottom: var(--s-5);
  border-radius: var(--r-md);
}
.know-box h2 {
  color: var(--info-soft-ink);
  font-size: var(--fs-lg);
  margin-bottom: var(--s-3);
}
.know-box ul {
  padding-left: var(--s-5);
  display: grid;
  gap: var(--s-2);
}
.know-box li {
  color: var(--info-soft-ink);
}
.toc {
  border: 1px solid var(--line);
  padding: var(--s-4) var(--s-5);
  margin-bottom: var(--s-6);
  background: var(--bg);
  color: var(--ink);
}
.toc h2 {
  font-size: var(--fs-md);
  margin-bottom: var(--s-2);
}
.toc ol {
  padding-left: var(--s-5);
  display: grid;
  gap: var(--s-1);
  font-size: var(--fs-sm);
}
.toc a {
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose {
  font-size: 1.0625rem;
  line-height: 1.8;
  color: var(--ink);
}
.prose h2 {
  font-size: var(--fs-2xl);
  margin: var(--s-7) 0 var(--s-4);
}
.prose h3 {
  font-size: var(--fs-xl);
  margin: var(--s-6) 0 var(--s-3);
}
.prose p {
  margin-bottom: var(--s-5);
}
.prose ul,
.prose ol {
  padding-left: var(--s-5);
  margin-bottom: var(--s-5);
  display: grid;
  gap: var(--s-2);
}
.prose a {
  color: var(--accent-strong);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.prose figure {
  margin: var(--s-6) 0;
}
.prose .lead {
  font-size: var(--fs-lg);
  font-weight: 600;
}
.info-table-wrap {
  overflow-x: auto;
  margin-bottom: var(--s-5);
}
.info-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--fs-sm);
}
.info-table th,
.info-table td {
  text-align: left;
  padding: var(--s-3);
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.info-table th {
  width: 36%;
  background: var(--bg-soft);
  color: var(--ink);
  font-weight: 600;
}
.source-list {
  list-style: none;
  padding: 0 !important;
}
.source-list li {
  padding: var(--s-3) 0;
  border-bottom: 1px solid var(--line);
  font-size: var(--fs-sm);
}
.source-list .checked {
  display: block;
  color: var(--muted);
  font-size: var(--fs-xs);
}
.affiliate-box {
  border: 1px solid var(--line);
  padding: var(--s-5);
  margin-bottom: var(--s-5);
}
.affiliate-box h3 {
  margin-top: 0 !important;
}
.affiliate-box .note {
  font-size: var(--fs-xs);
  color: var(--muted);
  margin-bottom: var(--s-3);
}
.article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  padding: var(--s-5) 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  margin: var(--s-6) 0;
}
.author-box {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: var(--s-4);
  background: var(--bg-soft);
  color: var(--ink);
  padding: var(--s-5);
  margin: var(--s-6) 0;
}
.author-box .media {
  border-radius: var(--r-pill);
}
.author-box h2 {
  font-size: var(--fs-lg);
  margin-bottom: var(--s-1);
}
.author-box p {
  font-size: var(--fs-sm);
  margin-bottom: var(--s-2);
  color: var(--ink-2);
}
.author-box a {
  color: var(--accent-strong);
  text-decoration: underline;
  font-size: var(--fs-sm);
}
.comments h2 {
  font-size: var(--fs-xl);
  margin-bottom: var(--s-4);
}
.comment {
  display: grid;
  grid-template-columns: 44px 1fr;
  gap: var(--s-3);
  padding: var(--s-4) 0;
  border-bottom: 1px solid var(--line);
}
.avatar {
  width: 44px;
  height: 44px;
  border-radius: var(--r-pill);
  background: var(--dark);
  color: var(--dark-ink);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-weight: 700;
}
.comment-head {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-3);
  align-items: baseline;
  font-size: var(--fs-sm);
}
.comment-head strong {
  font-family: var(--font-head);
}
.comment-head time {
  color: var(--muted);
  font-size: var(--fs-xs);
}
.comment p {
  margin: var(--s-1) 0 var(--s-2);
  font-size: var(--fs-sm);
}
.comment .link-report {
  background: none;
  border: 0;
  padding: 0;
  color: var(--muted);
  font-size: var(--fs-xs);
  text-decoration: underline;
  cursor: pointer;
}
.join-box {
  border: 1px solid var(--line);
  padding: var(--s-5);
  margin-top: var(--s-5);
  background: var(--bg-softer);
  color: var(--ink);
}
.join-box h3 {
  font-size: var(--fs-md);
  margin-bottom: var(--s-2);
}
.join-box p {
  font-size: var(--fs-sm);
  color: var(--ink-2);
}
.join-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-2);
}

/* ── 일반 페이지 (소개·정책) ───────────────────────── */
.page-body {
  max-width: 820px;
  padding-top: var(--s-7);
}
.outline-note {
  background: var(--warn-soft);
  color: var(--warn-soft-ink);
  padding: var(--s-4);
  font-size: var(--fs-sm);
  margin-bottom: var(--s-6);
}
.policy-meta {
  font-size: var(--fs-sm);
  color: var(--muted);
  margin-bottom: var(--s-5);
}
.form-grid {
  display: grid;
  gap: var(--s-4);
  max-width: 460px;
}
.field {
  display: grid;
  gap: var(--s-1);
  font-size: var(--fs-sm);
  font-weight: 600;
}
.field input,
.field textarea,
.field select {
  min-height: 44px;
  padding: var(--s-2) var(--s-3);
  border: 1px solid var(--line-strong);
  border-radius: var(--r-sm);
  background: var(--bg);
  color: var(--ink);
  font-weight: 400;
}
.field .help {
  font-weight: 400;
  color: var(--muted);
  font-size: var(--fs-xs);
}
.check {
  display: flex;
  gap: var(--s-2);
  align-items: flex-start;
  font-size: var(--fs-sm);
}

/* 404 */
.not-found {
  text-align: center;
  padding-block: var(--s-9); /* 옆 여백은 .container 몫 */
}
.not-found .code {
  font-family: var(--font-head);
  font-size: 6rem;
  font-weight: 700;
  color: var(--accent-strong);
  line-height: 1;
}
.not-found h1 {
  font-size: var(--fs-2xl);
  margin: var(--s-3) 0;
}
.not-found .search-form {
  max-width: 520px;
  margin: var(--s-5) auto;
}
.not-found .chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--s-2);
}

/* ── 반응형 ───────────────────────────────────────── */
@media (max-width: 991px) {
  .with-aside,
  .article-layout {
    grid-template-columns: 1fr;
  }
  .sticky-aside {
    position: static;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .pillars,
  .plan-grid,
  .qa-grid,
  .col-4 {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .newsletter-inner {
    grid-template-columns: 1fr;
    gap: var(--s-5);
  }
  .gallery-strip {
    grid-template-columns: repeat(3, 1fr);
  }
  .hero h2 {
    font-size: var(--fs-3xl);
  }
  .aside .ad-slot {
    display: none;
  }
}
@media (max-width: 767px) {
  .grid-3,
  .lead-list {
    grid-template-columns: 1fr;
  }
  .feature-grid {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    height: auto;
  }
  .feature-grid .overlay-card:first-child {
    grid-row: auto;
  }
  .feature-grid .overlay-card .media {
    aspect-ratio: 16 / 10;
  }
  .hero .media {
    aspect-ratio: 4 / 5;
    max-height: 560px;
  }
  .hero h2 {
    font-size: var(--fs-2xl);
  }
  .hero-body {
    padding: var(--s-5) 0;
  }
  .food-slide .media {
    aspect-ratio: 4 / 5;
  }
  .food-slide h2 {
    font-size: var(--fs-2xl);
  }
  .food-thumbs {
    position: static;
    transform: none;
    display: flex;
    justify-content: center;
    padding: var(--s-3) 0;
  }
  .food-thumbs button {
    width: 56px;
    height: 56px;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .consent {
    grid-template-columns: 1fr;
  }
  .consent-actions .btn {
    flex: 1;
    min-width: 0;
  }
  .post-list.is-list .card {
    grid-template-columns: 120px 1fr;
    gap: var(--s-3);
  }
  .post-list.is-list .card h3 {
    font-size: var(--fs-md);
  }
  .post-list.is-list .card-body > p:not(.card-kicker) {
    display: none;
  }
  .article-cover h1,
  .page-cover h1 {
    font-size: var(--fs-2xl);
  }
  .grid-4 {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-2);
  }
  .place-card h3 {
    font-size: var(--fs-md);
  }
  .nl-row {
    flex-direction: column;
  }
  .author-box {
    grid-template-columns: 64px 1fr;
  }
  .section {
    padding-top: var(--s-7);
  }
}
/* ── 손가락으로 누르는 화면 — 누르는 곳은 44px 이상 ─────── */
@media (pointer: coarse) {
  .chip,
  .filter-tabs button,
  .view-toggle button,
  .btn-small {
    min-height: 44px;
  }
  .pager a,
  .pager span {
    min-width: 44px;
    height: 44px;
  }
  .mobile-nav li a {
    padding: var(--s-3) 0 var(--s-3) var(--s-3);
  }
  .site-footer ul {
    gap: 0;
  }
  .site-footer li a {
    display: inline-block;
    padding: 10px 0;
  }
  .cat-list a,
  .link-list a {
    min-height: 44px;
    align-items: center;
  }
}

/* ── 폰: 거르기 단추는 한 줄 가로 스크롤 · 꼬리말 링크는 두 열 ── */
@media (max-width: 767px) {
  .filter-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-left: calc(-1 * var(--s-4));
    margin-right: calc(-1 * var(--s-4));
    padding: 0 var(--s-4) var(--s-1);
    scrollbar-width: none;
  }
  .filter-tabs::-webkit-scrollbar {
    display: none;
  }
  .filter-tabs button {
    flex-shrink: 0;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: var(--s-5) var(--s-4);
  }
  .footer-brand,
  .footer-top > nav:last-child {
    grid-column: 1 / -1;
  }
  .footer-top > nav:last-child ul {
    grid-template-columns: 1fr 1fr;
    column-gap: var(--s-4);
  }
  .footer-bottom {
    flex-direction: column;
  }
}

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

/* ── 문의 양식 (연락처 쪽) ──────────────────────────────── */
.contact-form {
  display: grid;
  gap: var(--s-4);
  max-width: 620px;
  margin-top: var(--s-4);
}
.contact-form .field-label em {
  font-weight: 400;
  color: var(--muted);
  font-style: normal;
}
.field-row {
  display: grid;
  gap: var(--s-4);
  grid-template-columns: 1fr 1fr;
}
@media (max-width: 599px) {
  .field-row {
    grid-template-columns: 1fr;
  }
}
.contact-form .form-note {
  font-size: var(--fs-xs);
  color: var(--muted);
  margin: 0;
}
.contact-form button {
  justify-self: start;
}
/* 덫 칸 — 사람에게 보이지 않지만 화면 낭독기도 건너뛰게 aria-hidden 과 함께 쓴다 */
.trap {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.form-status {
  margin: 0;
  padding: var(--s-2) var(--s-3);
  border-radius: var(--r-sm);
  font-size: var(--fs-sm);
  background: var(--good-soft);
  color: var(--good-soft-ink);
}
.form-status[data-tone='bad'] {
  background: var(--warn-soft);
  color: var(--warn-soft-ink);
}

/* ── 앱 쪽 만들기(B04)가 쓰는 이름 — 옛 빌더가 HTML 안에 직접 적던 모양을 옮겼다 ── */
/* 글자 로고 — 앱에 로고를 올리지 않았고 디자인 폴더에도 로고가 없을 때 */
.logo-text {
  font-family: var(--font-head);
  font-weight: 700;
  font-size: 1.5rem;
  letter-spacing: -0.02em;
  color: var(--dark);
  line-height: 1.1;
}
.logo-text b {
  color: var(--accent-strong);
}
.footer-brand .logo-text {
  color: var(--dark-ink);
}
.crumbs-on-dark {
  color: var(--dark-ink);
}
.article-kicker {
  margin: var(--s-4) 0 0;
}
.section-flush {
  padding-top: 0;
}
.grid-fill {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}
.landing-title {
  margin-top: var(--s-6);
}
.landing-intro {
  padding-top: var(--s-5);
}
.landing-intro .section-lead {
  margin: var(--s-3) 0 0;
}
.aside-offset {
  padding-top: var(--s-8);
}
.col-desc {
  font-size: var(--fs-sm);
  color: var(--muted);
}
.related-cats-more {
  margin-top: var(--s-4);
}
.search-page-form {
  margin-bottom: var(--s-5);
}
.link-btn.link-accent {
  color: var(--accent-strong);
}
.credit {
  color: var(--muted);
}
/* 대표 사진이 없는 글 — 그림 칸 없이 글만 */
.card-text-only .card-body {
  padding-top: var(--s-4);
}
.mini.mini-text-only {
  grid-template-columns: 1fr;
}
/* 사진이 없는 장소 카드 — 짙은 바탕에 흰 글자(바탕이 있으면 글자색을 함께 둔다) */
.place-card.place-card-text {
  background: var(--dark);
  color: var(--dark-ink);
  min-height: 160px;
}
