.blog-header {
  padding: 64px 0 48px;
}

.blog-header h1 {
  font-family: var(--heading);
  font-size: clamp(36px, 5vw, 52px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.03em;
}

.blog-header p {
  margin-top: 12px;
  font-size: 17px;
  color: var(--text-dim);
  max-width: 480px;
}

.blog-list {
  padding: 0 0 96px;
}

#posts {
  display: grid;
  gap: 1px;
  background: var(--border);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
}

.post-card {
  display: block;
  padding: 32px;
  background: var(--surface);
  text-decoration: none;
  transition: background 0.12s;
}

.post-card:hover {
  background: #161616;
}

.post-card time {
  font-family: var(--heading);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
}

.post-card h2 {
  font-family: var(--heading);
  font-size: 22px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: -0.01em;
  margin-top: 8px;
  line-height: 1.3;
}

.post-card p {
  font-size: 15px;
  color: var(--text-dim);
  margin-top: 8px;
  line-height: 1.55;
  max-width: 560px;
}

.post-card .read-more {
  display: inline-block;
  margin-top: 16px;
  font-family: var(--heading);
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
}

/* ARTICLE PAGE */

.article {
  padding: 48px 0 96px;
}

.article-meta {
  margin-bottom: 48px;
}

.article-meta time {
  font-family: var(--heading);
  font-size: 13px;
  font-weight: 500;
  color: var(--text-dim);
}

.article-meta h1 {
  font-family: var(--heading);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--white);
  letter-spacing: -0.02em;
  margin-top: 12px;
  line-height: 1.15;
  max-width: 640px;
}

.article-body {
  max-width: 640px;
}

.article-body h2 {
  font-family: var(--heading);
  font-size: 24px;
  font-weight: 600;
  color: var(--white);
  margin-top: 48px;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.article-body h3 {
  font-family: var(--heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-top: 36px;
  margin-bottom: 12px;
}

.article-body p {
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 20px;
}

.article-body strong {
  color: var(--white);
  font-weight: 500;
}

.article-body em {
  font-style: italic;
  color: var(--text);
}

.article-body ul, .article-body ol {
  padding-left: 24px;
  margin-bottom: 20px;
}

.article-body li {
  color: var(--text);
  font-size: 17px;
  line-height: 1.7;
  margin-bottom: 8px;
}

.article-body blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 20px;
  margin: 28px 0;
  color: var(--text-dim);
  font-style: italic;
}

.article-body code {
  font-family: 'DM Mono', monospace;
  font-size: 15px;
  background: rgba(255,255,255,0.05);
  padding: 2px 6px;
  border-radius: 4px;
}

.article-body a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-body img {
  max-width: 100%;
  border-radius: 12px;
  margin: 28px 0;
}

.article-cta {
  margin-top: 56px;
  padding: 32px;
  background: var(--accent-glow);
  border: 1px solid rgba(52, 199, 89, 0.12);
  border-radius: 14px;
  max-width: 640px;
}

.article-cta h3 {
  font-family: var(--heading);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin: 0 0 8px;
}

.article-cta p {
  font-size: 15px;
  color: var(--text-dim);
  margin-bottom: 20px;
  line-height: 1.5;
}

.back-link {
  display: inline-block;
  font-family: var(--heading);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dim);
  text-decoration: none;
  margin-bottom: 32px;
  transition: color 0.12s;
}

.back-link:hover { color: var(--white); }
