/* ==========================================================
   core/layout.css — 페이지 뼈대
   .wrap(최대 폭) · .section(세로 간격) · .sec-head(섹션 제목) · .crumb(경로)
   · .page-hero(하위 페이지 공통 상단)
   ========================================================== */

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
.wrap-narrow { max-width: 760px; }

.section { position: relative; padding: 36px 0; }
.section.section-top { padding-top: 20px; }
.section-tint { background: var(--surface-2); }

/* ---------- 섹션 제목 ---------- */
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
.sec-head > div:first-child { min-width: 0; }
.sec-eyebrow { display: inline-flex; align-items: center; gap: 6px; margin-bottom: 6px; font-size: 13px; font-weight: 700; color: var(--brand-deep); }
.sec-title { font-size: 21px; font-weight: 800; line-height: 1.3; letter-spacing: -.035em; }
.sec-desc { margin-top: 5px; font-size: 14px; color: var(--ink-3); }

/* ---------- 브레드크럼 ---------- */
.crumb { display: flex; align-items: center; flex-wrap: wrap; gap: 2px; font-size: 13px; font-weight: 600; color: var(--ink-3); }
.crumb a { display: inline-flex; align-items: center; min-height: 28px; }
.crumb a:hover { color: var(--ink); }
.crumb .ico { width: 14px; height: 14px; color: var(--ink-4); }

/* ---------- 하위 페이지 공통 상단 ---------- */
.page-hero {
  position: relative; overflow: hidden;
  background:
    radial-gradient(640px 300px at 92% -20%, var(--glow-brand) 0%, transparent 64%),
    linear-gradient(180deg, var(--cream) 0%, #fff 100%);
  border-bottom: 1px solid var(--line-2);
}
.page-hero-inner { position: relative; padding-top: 14px; padding-bottom: 24px; }
.page-hero h1 { margin-top: 0; font-size: 26px; font-weight: 800; line-height: 1.28; letter-spacing: -.045em; }
.page-hero h1 em { font-style: normal; color: var(--brand); }
.page-hero-desc { margin-top: 8px; font-size: 15px; color: var(--ink-2); max-width: 38em; }
.page-hero .basis { margin-top: 12px; }

@media (min-width: 768px) {
  .wrap { padding: 0 24px; }
  .sec-title { font-size: 26px; }
  .sec-desc { font-size: 15px; }
  .page-hero-inner { padding-top: 20px; padding-bottom: 34px; }
  .page-hero h1 { font-size: 36px; }
  .page-hero-desc { font-size: 16px; }
}
@media (min-width: 1024px) {
  .section { padding: 52px 0; }
}
