/* 홈 에디토리얼 카드와 생활 가이드의 공통 레이아웃이다. */
.editorial-teaser { padding: 32px 0 80px; background: var(--white); }
.editorial-teaser__grid { display: grid; grid-template-columns: minmax(300px, .88fr) minmax(0, 1.12fr); overflow: hidden; border: 1px solid #dce6f4; border-radius: 26px; background: #f5f8ff; }
.editorial-teaser__cover { min-height: 320px; background: #dce9ff; }
.editorial-teaser__cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
.editorial-teaser__content { padding: 45px 52px; }
.editorial-teaser__content h2 { max-width: 560px; margin-bottom: 16px; font-size: clamp(31px, 3.6vw, 48px); }
.editorial-teaser__content > p:not(.eyebrow) { max-width: 590px; margin-bottom: 22px; color: var(--muted); word-break: keep-all; }
.editorial-teaser__points { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 28px; }
.editorial-teaser__points span { border-radius: 99px; padding: 6px 10px; color: #244a9f; background: #dfeaff; font-size: 12px; font-weight: 800; }
.editorial-teaser__link { display: inline-flex; align-items: center; gap: 14px; min-height: 44px; border-bottom: 2px solid var(--ink); font-size: 14px; font-weight: 800; }
.editorial-teaser__link:hover { color: var(--blue); border-color: var(--blue); }

.guide-page { background: #fbfcfe; }
.guide-page .guide-hero { padding: 68px 0 42px; background: #eff4ff; }
/* 모바일 기본 nav 규칙이 본문 내 탐색을 숨기지 않도록 분리한다. */
.guide-breadcrumb { display: flex; align-items: center; gap: 8px; position: static; width: auto; margin: 0 0 30px; padding: 0; border: 0; box-shadow: none; background: transparent; color: #5d6b80; font-size: 13px; }
.guide-breadcrumb a { text-decoration: underline; text-underline-offset: 3px; }
.guide-breadcrumb span { color: #8e9aad; }
.guide-hero__grid { display: grid; grid-template-columns: 1fr minmax(280px, .72fr); gap: 52px; align-items: center; }
.guide-hero h1 { max-width: 760px; margin-bottom: 20px; font-size: clamp(42px, 5.2vw, 72px); }
.guide-hero__lead { max-width: 670px; margin: 0; color: #536174; font-size: 18px; word-break: keep-all; }
.guide-meta { display: flex; flex-wrap: wrap; gap: 9px 18px; margin-top: 25px; color: #526075; font-size: 13px; }
.guide-meta strong { color: var(--ink); }
.guide-hero__image { min-height: 0; aspect-ratio: 3 / 2; overflow: hidden; border-radius: 20px; background: #dce9ff; }
.guide-hero__image img { display: block; width: 100%; height: 100%; object-fit: cover; }

.guide-article { width: min(calc(100% - 48px), 860px); margin: 0 auto; padding: 72px 0 96px; }
.guide-article > * + * { margin-top: 48px; }
.guide-intro { max-width: 720px; color: #4d5a6b; font-size: 18px; line-height: 1.85; word-break: keep-all; }
.guide-callout { padding: 28px 30px; border-left: 4px solid var(--blue); background: #edf3ff; }
.guide-callout p { margin: 0; color: #34445e; word-break: keep-all; }
/* 기존 홈 .guide-section의 큰 여백과 배경을 본문에 상속하지 않는다. */
.guide-page .guide-section { padding: 0; background: transparent; }
.guide-section__head { display: grid; grid-template-columns: 52px 1fr; gap: 18px; align-items: start; margin-bottom: 18px; }
.guide-step-number { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; color: #fff; background: var(--blue); font-size: 13px; font-weight: 900; }
.guide-section h2 { margin: 0; font-size: clamp(28px, 3.4vw, 40px); }
.guide-section p { margin: 0 0 14px; color: #4f5d6f; font-size: 16px; line-height: 1.85; word-break: keep-all; }
.guide-section p:last-child { margin-bottom: 0; }
.guide-example { margin-top: 20px; border: 1px solid #dce4ef; border-radius: 14px; padding: 20px 22px; background: #fff; }
.guide-example h3 { margin: 0 0 9px; font-size: 16px; }
.guide-example p { font-size: 14px; }
.guide-template { padding: 25px; border-radius: 16px; color: #ecf3ff; background: #162a4c; }
.guide-template h2 { color: #fff; font-size: 25px; }
.guide-template p { color: #bed0eb; }
.guide-template pre { overflow-x: auto; margin: 18px 0 0; padding: 18px; border: 1px solid #38557e; border-radius: 10px; color: #fff; background: #0e203c; font: 14px/1.85 "Noto Sans KR", monospace; white-space: pre-wrap; word-break: keep-all; }
.guide-tips { display: grid; gap: 12px; }
.guide-tips details { border: 1px solid #dfe5ee; border-radius: 12px; padding: 17px 19px; background: #fff; }
.guide-tips summary { cursor: pointer; color: var(--ink); font-weight: 800; }
.guide-tips p { margin: 12px 0 0; font-size: 14px; }
.guide-checklist { padding: 27px 28px; border-radius: 16px; background: #f1f5fa; }
.guide-checklist h2 { margin-bottom: 14px; font-size: 26px; }
.guide-checklist label { display: flex; gap: 10px; align-items: flex-start; min-height: 37px; color: #435166; font-size: 15px; cursor: pointer; }
.guide-checklist input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--blue); }
.guide-navigation { display: flex; position: static; width: auto; justify-content: space-between; gap: 18px; padding: 27px 0 0; border: 0; border-top: 1px solid var(--line); box-shadow: none; background: transparent; }
.guide-navigation a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue); font-weight: 800; }
.guide-navigation a:last-child { justify-content: flex-end; }

@media (max-width: 760px) {
  .guide-hero h1 { font-size: clamp(30px, 8.2vw, 38px); line-height: 1.27; word-break: keep-all; }
  .editorial-teaser__content h2 { word-break: keep-all; }
  .editorial-teaser { padding: 24px 0 48px; }
  .editorial-teaser__grid, .guide-hero__grid { grid-template-columns: 1fr; gap: 0; }
  .editorial-teaser__cover { min-height: 235px; }
  .editorial-teaser__content { padding: 30px 24px; }
  .guide-page .guide-hero { padding: 46px 0 30px; }
  .guide-breadcrumb { margin-bottom: 20px; }
  .guide-hero__image { margin-top: 28px; }
  .guide-article { width: min(calc(100% - 32px), 860px); padding: 48px 0 68px; }
  .guide-article > * + * { margin-top: 36px; }
  .guide-intro { font-size: 16px; }
  .guide-section__head { grid-template-columns: 42px 1fr; gap: 13px; }
  .guide-step-number { width: 38px; height: 38px; font-size: 11px; }
  .guide-section p { font-size: 15px; }
  .guide-template, .guide-checklist, .guide-callout { padding: 22px 19px; }
  .guide-navigation { display: grid; }
  .guide-navigation a:last-child { justify-content: flex-start; }
}
