/* 복음의 길 — 이야기 글 페이지(stories/). tools/make_seo.js가 만든다.
   지도 화면(atlas.css)과 같은 색·글꼴. 휴대폰 한 손 읽기가 먼저: 한 줄 폭 680px 안, 본문 17px, 줄 간격 넉넉하게. */
:root {
  --bg: #F8F6F2; --surface: #FFFFFF; --ink: #171719; --ink-2: #2E2F33; --ink-3: #5A5C63;
  --line: #D8D2C6; --line-soft: #ECE7DE; --primary: #1A6B5A; --primary-strong: #15594B; --focus: #1A6B5A;
  --story: #1A6B5A;
  --font-ui: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans KR", sans-serif;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--font-ui); font-size: 17px; line-height: 1.75; word-break: keep-all; overflow-wrap: anywhere; }
a { color: var(--primary-strong); }
:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-radius: 4px; }
.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 8px; background: var(--surface); padding: 8px 16px; z-index: 9; }

.top { max-width: 712px; margin: 0 auto; padding: 16px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: flex; align-items: center; gap: 8px; color: var(--ink); text-decoration: none; font-weight: 800; font-size: 18px; min-height: 44px; }
.brand img { border-radius: 8px; }
.top-link { font-size: 15px; font-weight: 600; min-height: 44px; display: inline-flex; align-items: center; }

main { max-width: 712px; margin: 0 auto; padding: 8px 16px 48px; }
.eyebrow { margin: 16px 0 0; font-size: 15px; font-weight: 700; color: var(--ink-3); }
h1 { margin: 8px 0 0; font-size: clamp(32px, 8vw, 48px); line-height: 1.2; font-weight: 900; letter-spacing: -0.02em; }
.range { margin: 8px 0 0; font-size: 16px; font-weight: 600; color: var(--ink-3); }
.intro { margin: 24px 0 0; font-size: 18px; color: var(--ink-2); }
.bridge { margin: 16px 0 0; padding-left: 16px; border-left: 3px solid var(--line); color: var(--ink-3); font-size: 16px; }
.btn { display: inline-flex; align-items: center; min-height: 48px; margin-top: 24px; padding: 0 24px; border-radius: 999px;
  background: var(--primary); color: #FFFFFF; font-weight: 700; text-decoration: none; }
.btn:hover { background: var(--primary-strong); }
h2 { margin: 48px 0 0; font-size: 24px; line-height: 1.3; font-weight: 800; }
h2 small { font-size: 15px; font-weight: 600; color: var(--ink-3); margin-left: 8px; }
.places { margin: 8px 0 0; font-size: 15px; color: var(--ink-3); }

.steps { list-style: none; margin: 24px 0 0; padding: 0; }
.step { display: grid; grid-template-columns: 32px 1fr; gap: 16px; padding: 24px 0; border-top: 1px solid var(--line-soft); }
.step .n { width: 32px; height: 32px; border-radius: 50%; background: var(--story); color: #FFFFFF; font-size: 15px; font-weight: 800;
  display: flex; align-items: center; justify-content: center; margin-top: 2px; }
.step h3 { margin: 0; font-size: 20px; line-height: 1.4; font-weight: 800; }
.step p { margin: 8px 0 0; }
.step .meta { margin-top: 4px; font-size: 15px; color: var(--ink-3); line-height: 1.6; }
.step .meta b { color: var(--ink-2); }
.step details { margin-top: 8px; font-size: 16px; color: var(--ink-2); }
.step summary { cursor: pointer; font-weight: 700; color: var(--primary-strong); min-height: 44px; display: flex; align-items: center; }
.step details p { margin-top: 0; }
.to-map { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 700; }

.pager { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--line); }
.pager a { display: block; padding: 16px; background: var(--surface); border-radius: 16px; text-decoration: none; color: var(--ink); font-weight: 700; line-height: 1.4; }
.pager small { display: block; font-size: 13px; font-weight: 600; color: var(--ink-3); margin-bottom: 4px; }
.pager .next { text-align: right; }

.list { list-style: none; margin: 16px 0 0; padding: 0; }
.list li { border-top: 1px solid var(--line-soft); }
.list a { display: block; padding: 16px 0 16px 20px; text-decoration: none; color: var(--ink); position: relative; }
.list a::before { content: ""; position: absolute; left: 0; top: 20px; bottom: 20px; width: 4px; border-radius: 2px; background: var(--story); }
.list b { display: block; font-size: 19px; line-height: 1.4; }
.list span { display: block; font-size: 15px; color: var(--ink-3); }

.foot { max-width: 712px; margin: 0 auto; padding: 24px 16px 48px; border-top: 1px solid var(--line); font-size: 14px; line-height: 1.7; color: var(--ink-3); }
.foot p { margin: 0 0 8px; }
.foot p:first-child { font-weight: 700; color: var(--ink-2); }
