/* Blog listing */
.posts-section {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 48px;
}

.post-card {
  display: block;
  padding: 20px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}

.post-card:hover {
  border-color: var(--border-hover);
  background: var(--surface-hover);
  transform: translateY(-1px);
}

.post-date {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.post-title {
  font-size: 16px;
  font-weight: 500;
  margin: 6px 0 4px;
  line-height: 1.3;
}

.post-excerpt {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 8px;
}

.post-read {
  font-family: 'DM Mono', monospace;
  font-size: 12px;
  color: var(--accent);
  transition: opacity 0.2s;
}

.post-card:hover .post-read { opacity: 0.8; }

/* Blog article */
.article-meta {
  margin-bottom: 32px;
  animation: fadeUp 0.5s ease both;
}

.article-meta time {
  font-family: 'DM Mono', monospace;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.article-meta h1 {
  font-size: 28px;
  font-weight: 500;
  letter-spacing: -0.5px;
  margin-top: 8px;
  line-height: 1.3;
}

.article-content {
  animation: fadeUp 0.5s ease 0.1s both;
  margin-bottom: 48px;
}

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

.article-content h2 {
  font-size: 18px;
  font-weight: 500;
  margin: 36px 0 12px;
  letter-spacing: -0.3px;
}

.article-content h3 {
  font-size: 15px;
  font-weight: 500;
  margin: 28px 0 8px;
}

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

.article-content li {
  font-size: 15px;
  line-height: 1.8;
  color: var(--text);
  margin-bottom: 4px;
}

.article-content a {
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid rgba(37,99,235,0.3);
  transition: border-color 0.2s;
}

.article-content a:hover { border-color: var(--accent); }

.article-content code {
  font-family: 'DM Mono', monospace;
  font-size: 13px;
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 2px 6px;
  border-radius: 4px;
}

.article-content pre {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px;
  overflow-x: auto;
  margin-bottom: 20px;
}

.article-content pre code {
  background: none;
  border: none;
  padding: 0;
  font-size: 13px;
  line-height: 1.6;
}

.article-content blockquote {
  border-left: 3px solid var(--accent);
  padding-left: 16px;
  margin: 0 0 20px;
  color: var(--muted);
}

.article-content img {
  max-width: 100%;
  border-radius: 8px;
  margin: 8px 0 20px;
}

.article-content hr {
  border: none;
  border-top: 1px solid var(--border);
  margin: 32px 0;
}
