/* 공개 사이트 최소 스타일. 구조를 알아볼 수 있을 정도만 (꾸미기는 나중 UI/UX 단계) */
:root { --line: #e3e6ea; --muted: #6b7280; --accent: #2b5fd9; color-scheme: light; }  /* 다크 모드는 나중 */
* { box-sizing: border-box; }
body { margin: 0; background: #fff; font-family: system-ui, "Malgun Gothic", sans-serif; color: #1f2328; line-height: 1.7; }
a { color: var(--accent); }

.site-header, .site-main, .site-footer { max-width: 760px; margin: 0 auto; padding: 16px; }
.site-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--line); }
.site-name { font-weight: 700; color: inherit; text-decoration: none; }
.site-nav a { margin-left: 12px; }
.site-footer { border-top: 1px solid var(--line); color: var(--muted); font-size: .9em; }

/* 목록 */
.post-list { list-style: none; margin: 0; padding: 0; }
.post-card { padding: 16px 0; border-bottom: 1px solid var(--line); }
.post-card-link { color: inherit; text-decoration: none; display: block; }
.post-card .thumbnail { width: 100%; aspect-ratio: 1200 / 630; object-fit: cover; border-radius: 8px; background: #eef1f5; }
.post-card .post-title { margin: 8px 0 4px; font-size: 1.3em; }
.summary { margin: 0; color: var(--muted); }
.post-meta { margin: 4px 0 0; color: var(--muted); font-size: .9em; }
.post-meta .tag { margin-left: 6px; }
.pager { display: flex; gap: 16px; justify-content: center; margin: 24px 0; }
.empty { color: var(--muted); }

/* 글 */
.post-header .post-title { margin: 8px 0 4px; font-size: 2em; line-height: 1.3; }
.toc { margin: 24px 0; padding: 12px 16px; border: 1px solid var(--line); border-radius: 8px; font-size: .95em; }
.toc-title { margin: 0 0 4px; font-weight: 700; }
.toc ol { list-style: none; margin: 0; padding: 0; }
.toc-level-2 { padding-left: 1em; }
.toc-level-3 { padding-left: 2em; }
.post-body pre { padding: 12px 14px; border-radius: 6px; background: #f6f8fa; overflow-x: auto; line-height: 1.5; }
.post-body code { font-family: ui-monospace, "D2Coding", Consolas, monospace; font-size: .9em; }
.post-body :not(pre) > code { padding: .1em .35em; border-radius: 4px; background: #f3f4f6; }
.post-body img { max-width: 100%; }

/* 태그 모음 */
.tag-cloud { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud .count { color: var(--muted); font-size: .85em; }
