:root {
  --fg: #1a1a1a;
  --muted: #666;
  --accent: #0b66c3;
  --bg: #ffffff;
  --card: #f6f7f9;
  --maxw: 720px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  color: var(--fg);
  background: var(--bg);
  line-height: 1.75;
}
main { max-width: var(--maxw); margin: 0 auto; padding: 0 18px 48px; }
.site-header {
  max-width: var(--maxw); margin: 0 auto; padding: 18px;
}
.brand { font-weight: 800; font-size: 1.25rem; color: var(--fg); text-decoration: none; }
.site-footer {
  max-width: var(--maxw); margin: 40px auto 0; padding: 20px 18px 40px;
  border-top: 1px solid #eee; color: var(--muted); font-size: 0.82rem;
}
.hero h1 { font-size: 1.7rem; margin: 8px 0 4px; }
.tagline { color: var(--muted); margin: 0 0 24px; }

.post-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.post-card a { display: flex; gap: 14px; text-decoration: none; color: inherit;
  background: var(--card); border-radius: 12px; overflow: hidden; padding: 12px; }
.post-card .thumb { width: 96px; height: 96px; object-fit: cover; border-radius: 8px; flex: none; background:#e9ecef; }
.post-card-body { min-width: 0; }
.post-title { font-size: 1.05rem; margin: 2px 0 6px; }
.post-desc { color: var(--muted); font-size: 0.9rem; margin: 0 0 8px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.post-cat { font-size: 0.75rem; color: var(--accent); }

.post h1 { font-size: 1.55rem; line-height: 1.35; margin: 12px 0 8px; }
.post .meta { color: var(--muted); font-size: 0.85rem; margin: 0 0 24px; }
.post-body img { max-width: 100%; height: auto; border-radius: 10px; display: block; margin: 20px auto; }
.post-body h2 { font-size: 1.25rem; margin: 36px 0 12px; }
.post-body p { margin: 0 0 16px; }
.post-body a { color: var(--accent); }

.cta { text-align: center; margin: 32px 0; }
.cta a {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none;
  padding: 13px 22px; border-radius: 10px; font-weight: 700;
}
.tags { margin-top: 28px; color: var(--muted); font-size: 0.85rem; }
.tags span { margin-right: 8px; }
.empty { color: var(--muted); }
