/* 글 본문 읽기 스타일(명세 4-1). 에디터(WYSIWYG)·미리보기·공개 글 페이지가 함께 쓴다 → 작성 화면과 공개 화면이 같게 보인다.
   기준: 직각(둥근 모서리·그림자·그라데이션 없음), 종이색 위 검정 글자, 따뜻한 회색 3단계, 남색은 링크에만. 본문 폭 886px(2026-11-26 S6 피드백: 네이버 블로그 본문 폭에 맞춤, 예전 680px), 17px / 줄간격 1.85(블로그형 B1).
   이 파일은 변수 없이 값을 직접 쓴다(에디터 화면에는 공개 사이트의 :root 변수가 없다). 고치면 `npm run sync:css` 로 public/post-body.css 에 복사한다. */
/* 글꼴: Pretendard Variable 영문·숫자·기호 서브셋(약 24KB) 1개를 자체 호스팅한다. 한글은 이 파일에 없어 아래 font-family 순서대로 시스템 한글 글꼴(Apple SD Gothic Neo·Noto Sans KR·맑은 고딕)이 맡는다.
   한글까지 Pretendard 로 보이게 하려면 DEVIATIONS B44 의 되돌리기 절차(assets/fonts 의 한글 포함 파일 사용)를 따른다. 단 Lighthouse 모바일(시뮬레이션) 성능 점수가 100 → 88~91 로 떨어진다. */
@font-face { font-family: 'Pretendard Variable'; font-weight: 45 930; font-style: normal; font-display: swap; src: url('/fonts/PretendardVariable-latin.woff2') format('woff2-variations'), url('/fonts/PretendardVariable-latin.woff2') format('woff2'); }

/* 블로그형(B1, 2026-11-26): 17px · 줄간격 1.85 · 문단 간격 1.5em, 소제목 22px, 사진 설명은 사진 바로 아래 가운데. */
.post-body { max-width: 886px; margin: 0 auto; font-family: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', sans-serif; font-size: 17px; line-height: 1.85; color: #111111; word-break: keep-all; overflow-wrap: anywhere; }
.post-body > * { margin-top: 0; margin-bottom: 1.5em; }
.post-body h2 { font-size: 22px; line-height: 1.4; font-weight: 800; letter-spacing: -0.02em; margin: 2.2em 0 .8em; }
.post-body h3 { font-size: 19px; line-height: 1.45; font-weight: 700; letter-spacing: -0.02em; margin: 1.8em 0 .6em; }
/* 문단(2026-11-26 네이버식, DEVIATIONS B64): Enter = 다음 줄(간격 없음), 간격은 빈 줄(빈 문단 = 한 줄 높이). 편집기·공개 화면이 같게 보인다.
   공개 화면의 빈 문단(<p></p>)은 내용이 없어 높이가 0 이 되므로 보이지 않는 글자 하나로 한 줄 높이를 준다(편집기는 ProseMirror 가 <br> 을 넣어 이미 한 줄). */
.post-body p { margin: 0; }
.post-body p:empty::before { content: "\200b"; }
.post-body .ta-center { text-align: center; }
.post-body strong, .post-body b { font-weight: 700; }
.post-body a { color: #1F3A5F; text-decoration: underline; text-underline-offset: 3px; }
.post-body .c-navy { color: #1F3A5F; } .post-body .c-red { color: #B3261E; } .post-body .c-gray { color: #6E6A61; }
.post-body ul, .post-body ol { padding-left: 1.4em; margin: 0 0 1.5em; } .post-body li > p { margin: 0 0 .4em; }
.post-body blockquote { margin: 1.6em 0; padding: 0 0 0 1em; border-left: 3px solid #D9D5CA; color: #4B4842; }
.post-body .hl-box { margin: 1.6em 0; padding: .8em 1em; background: #F1EFE7; border-left: 4px solid #111111; }
.post-body .hl-box > p:last-child { margin-bottom: 0; }
.post-body hr { border: 0; border-top: 1px solid #D9D5CA; margin: 2.2em 0; }
.post-body figure { margin: 2em 0; text-align: left; }
/* 사진은 원래 크기보다 키우지 않는다(width:100% 를 쓰지 않음): 본문 폭보다 작은 사진은 원래 크기로 가운데, 큰 사진은 폭에 맞춰 줄어든다.
   width·height 속성(render.ts)이 있어 비율 자리를 미리 잡으므로 레이아웃 흔들림(CLS)이 없다. */
.post-body figure img, .post-body img { max-width: 100%; height: auto; display: block; margin-left: auto; margin-right: auto; }
.post-body figcaption { margin-top: .6em; font-size: 15px; line-height: 1.55; color: #6E6A61; text-align: center; }
.post-body .img-group { display: grid; gap: 4px; margin: 1.8em 0; }
.post-body .img-group-2 { grid-template-columns: 1fr 1fr; } .post-body .img-group-3 { grid-template-columns: 1fr 1fr 1fr; }
.post-body .img-group figure { margin: 0; } .post-body .img-group figcaption { font-size: 14px; }
.post-body .tbl-wrap { overflow-x: auto; margin: 1.6em 0; -webkit-overflow-scrolling: touch; }
.post-body table { border-collapse: collapse; min-width: 100%; font-size: .94em; font-variant-numeric: tabular-nums; }
.post-body th, .post-body td { border: 0; border-bottom: 1px solid #D9D5CA; padding: .55em .8em .55em 0; text-align: left; vertical-align: top; min-width: 4em; }
.post-body th { border-bottom: 2px solid #111111; font-weight: 700; }
.post-body .place-card { display: block; margin: 1.8em 0; padding: .8em 0; border-top: 1px solid #111111; border-bottom: 1px solid #D9D5CA; text-decoration: none; color: inherit; }
.post-body .place-card .pc-name { display: block; font-weight: 700; font-size: 1.05em; }
.post-body .place-card .pc-addr { display: block; color: #4B4842; font-size: .92em; margin-top: 2px; }
.post-body .place-card .pc-more { display: inline-block; margin-top: 6px; color: #1F3A5F; font-size: .9em; text-decoration: underline; text-underline-offset: 3px; }
