/* 콜든타임 블로그 — 랜딩 팔레트(styles.css)와 동기, 독립 시트 */
:root {
  --brand: #2d64e8;
  --brand-deep: #1f4dc2;
  --brand-soft: #eaf0fd;
  --ink: #191f28;
  --sub: #4e5968;
  --mute: #8b95a1;
  --line: #e9edf1;
  --page: #f4f6f8;
  --card: #ffffff;
  --font:
    'Wanted Sans Variable', 'Wanted Sans', -apple-system, BlinkMacSystemFont, system-ui,
    'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { font-family: var(--font); background: var(--page); color: var(--ink); line-height: 1.75; }
a { color: var(--brand-deep); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 20px 60px; }

/* 헤더 */
.blog-header { padding: 22px 0 18px; display: flex; align-items: center; justify-content: space-between; }
.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); font-weight: 800; font-size: 18px; letter-spacing: -0.02em; }
.wordmark:hover { text-decoration: none; }
.mark { position: relative; width: 30px; height: 30px; flex-shrink: 0; }
.mark-body { position: absolute; inset: 0; border-radius: 42%; background: var(--brand); display: grid; place-items: center; color: #fff; }
.mark-tail { position: absolute; bottom: -8%; left: 16%; width: 20%; height: 20%; background: var(--brand); border-radius: 2px; transform: rotate(45deg); }
.blog-header .blog-home { font-size: 14px; font-weight: 600; color: var(--sub); }

/* 본문 카드 */
.article-card { background: var(--card); border: 1px solid var(--line); border-radius: 20px; padding: 40px 36px; }
@media (max-width: 640px) { .article-card { padding: 28px 20px; border-radius: 16px; } }

.article-card h1 { font-size: 30px; line-height: 1.35; letter-spacing: -0.02em; font-weight: 800; }
.article-meta { margin-top: 10px; font-size: 13.5px; color: var(--mute); }
.article-body { margin-top: 26px; font-size: 16.5px; color: #2a323d; }
.article-body h2 { font-size: 21px; font-weight: 800; letter-spacing: -0.01em; margin: 38px 0 12px; color: var(--ink); }
.article-body h3 { font-size: 17.5px; font-weight: 700; margin: 26px 0 8px; color: var(--ink); }
.article-body p { margin: 12px 0; }
.article-body ul, .article-body ol { margin: 12px 0 12px 22px; }
.article-body li { margin: 6px 0; }
.article-body strong { color: var(--ink); }
.article-body table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 15px; display: block; overflow-x: auto; }
.article-body th, .article-body td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; vertical-align: top; }
.article-body th { background: var(--brand-soft); color: var(--ink); white-space: nowrap; }
.article-body blockquote { margin: 16px 0; padding: 12px 18px; border-left: 4px solid var(--brand); background: var(--brand-soft); border-radius: 0 10px 10px 0; }

/* CTA */
.cta-card { margin-top: 40px; background: #12161c; color: #fff; border-radius: 18px; padding: 30px 28px; text-align: center; }
.cta-card .cta-title { font-size: 20px; font-weight: 800; letter-spacing: -0.01em; }
.cta-card .cta-sub { margin-top: 8px; font-size: 14.5px; color: #b7c0cc; }
.cta-card .btn { display: inline-block; margin-top: 18px; background: var(--brand); color: #fff; font-weight: 700; font-size: 15.5px; padding: 13px 26px; border-radius: 14px; }
.cta-card .btn:hover { background: var(--brand-deep); text-decoration: none; }

/* 다른 글 */
.related { margin-top: 36px; }
.related h2 { font-size: 17px; font-weight: 800; margin-bottom: 12px; }
.post-list { display: flex; flex-direction: column; gap: 12px; }
.post-item { display: block; background: var(--card); border: 1px solid var(--line); border-radius: 14px; padding: 18px 20px; color: var(--ink); }
.post-item:hover { border-color: var(--brand); text-decoration: none; }
.post-item .pi-title { display: block; font-weight: 700; font-size: 16px; letter-spacing: -0.01em; }
.post-item .pi-desc { display: block; margin-top: 5px; font-size: 14px; color: var(--sub); }
.post-item .pi-more { display: block; margin-top: 8px; font-size: 13.5px; font-weight: 700; color: var(--brand-deep); }

/* 인덱스 헤드 */
.blog-hero { padding: 26px 0 22px; }
.blog-hero h1 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; }
.blog-hero p { margin-top: 8px; color: var(--sub); font-size: 15.5px; }

/* 푸터 */
.blog-footer { margin-top: 44px; padding-top: 18px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; font-size: 13.5px; color: var(--mute); }
.blog-footer a { color: var(--sub); }
