/* 글 보기·본문 꾸밈·상담 남기기 */
.narrow { max-width: 680px; margin: 0 auto; }
.back { display: inline-flex; align-items: center; gap: 4px; font-size: 14px; color: var(--muted); text-decoration: none; margin-bottom: 26px; }
.back:hover { color: var(--ink); }
.page__title { font: 700 28px/1.35 var(--serif); letter-spacing: -0.03em; }
.page__sub { margin-top: 8px; color: var(--muted); font-size: 15px; }

.post__head { padding-bottom: 26px; border-bottom: 1px solid var(--line); margin-bottom: 30px; }
.post__cat { display: inline-block; font-size: 13.5px; font-weight: 600; color: var(--clay-d); text-decoration: none; }
a.post__cat:hover { text-decoration: underline; text-underline-offset: 3px; }
.post__title { font: 700 34px/1.38 var(--serif); letter-spacing: -0.04em; margin-top: 10px; }
.post__meta { margin-top: 14px; font-size: 14px; color: var(--muted); }

/* 본문 — 마크다운 변환 결과 */
.prose { font-size: 17px; line-height: 1.9; color: var(--ink); }
.prose > * + * { margin-top: 1.1em; }
.prose h2 { font: 700 22px/1.5 var(--serif); letter-spacing: -0.03em; margin-top: 2em; }
.prose h3 { font: 700 18.5px/1.5 var(--serif); margin-top: 1.7em; }
.prose h2 + *, .prose h3 + * { margin-top: .6em; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li + li { margin-top: .35em; }
.prose li::marker { color: var(--clay); }
.prose strong { font-weight: 700; background: linear-gradient(transparent 62%, var(--clay-soft) 62%); }
.prose a { color: var(--green); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; }
.prose > :first-child { margin-top: 0; }

.tags--post { margin-top: 34px; padding: 0; }

/* 상담 유도 */
.cta { margin-top: 44px; padding: 26px 26px 28px; border-radius: var(--r); background: var(--green); color: #EEF1EC; }
.cta__t { font: 700 20px/1.45 var(--serif); color: #fff; letter-spacing: -0.03em; }
.cta__s { margin: 8px 0 18px; font-size: 15px; line-height: 1.75; opacity: .88; }
.cta .btn--clay { background: #E3A47E; color: #2A1A10; }
.cta .btn--clay:hover { background: #F4F1EA; }

/* 이전/다음 */
.pn { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 40px; }
.pn__a { display: grid; gap: 6px; padding: 16px 18px; border: 1px solid var(--line); border-radius: var(--r); background: var(--card); text-decoration: none; min-width: 0; }
.pn__a:hover { border-color: var(--line2); }
.pn__a--next { text-align: right; justify-items: end; }
.pn__k { display: inline-flex; align-items: center; gap: 3px; font-size: 12.5px; color: var(--muted); }
.pn__k .ic { width: 13px; height: 13px; }
.pn__t { font-weight: 600; font-size: 14.5px; line-height: 1.5; }

/* 같은 분류 */
.same { margin-top: 44px; }
.same__h { font: 700 16px/1.4 var(--serif); padding-bottom: 10px; border-bottom: 2px solid var(--ink); }
.same__list { list-style: none; padding: 0; }
.same__list a { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); text-decoration: none; }
.same__list a:hover .same__t { text-decoration: underline; text-underline-offset: 3px; }
.same__t { font-size: 15px; min-width: 0; }
.same__d { font-size: 13px; color: var(--muted); white-space: nowrap; font-variant-numeric: tabular-nums; }

/* 상담 남기기 */
.from { margin-top: 18px; padding: 10px 14px; border-left: 3px solid var(--clay); background: var(--card); font-size: 14px; color: var(--ink2); }
.narrow > .form { margin-top: 24px; padding: 24px; border-radius: var(--r); background: var(--card); border: 1px solid var(--line); }
.thanks { padding-top: 24px; }
.thanks__btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }

@media (max-width: 560px) {
  .post__title { font-size: 26px; }
  .prose { font-size: 16.5px; line-height: 1.85; }
  .prose h2 { font-size: 20px; }
  .cta { padding: 22px 20px 24px; }
  .cta .btn { width: 100%; }
  .pn { grid-template-columns: 1fr; }
  .pn__a--next { text-align: left; justify-items: start; }
  .narrow > .form { padding: 18px; }
  .page__title { font-size: 24px; }
}
