/* ============================================================
   SECTION PAGES — 섹션 목록 페이지의 공통 머리(/{locale}/tours/,
   /{lang}/magazine/).
   카드 자체의 스타일은 components.css(.tour-card) 와
   pages/magazine.css(.magazine-card) 에 있다. 여기 있는 것은 두 섹션이
   똑같이 쓰는 페이지 머리뿐이다.
   ============================================================ */

.section-page {
  background: var(--paper);
  padding: 56px 0 96px;
}

.section-hero {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 52px;
}

.section-hero-title {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: clamp(32px, 4.6vw, 52px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 14px 0 0;
  text-wrap: balance;
}

.section-hero-note {
  font-size: 15px;
  line-height: 1.6;
  color: var(--stone);
  margin: 16px 0 0;
}

/* 섹션 안에서 한 단 더 들어가기 전의 되돌아가기 링크. */
.section-back {
  display: inline-block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--stone);
  margin-bottom: 18px;
}
.section-back:hover { color: var(--forest); }

/* 목록 페이지의 투어 그리드. 랜딩은 다른 섹션들과 리듬을 맞추려고 4열이지만
   여기서는 카드 5장이 전부라 4열이면 마지막 한 장이 혼자 남는다. 3열이면
   3+2 로 떨어진다. */
@media (min-width: 1025px) {
  .section-page .tours-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 640px) {
  .section-page { padding: 32px 0 64px; }
  .section-hero { margin-bottom: 32px; }
  .section-hero-note { font-size: 14px; }
}
