/* ============================================
   BLOG — index list + post pages
   Used by blog.html and blog/*.html
   ============================================ */

/* ─── Index: post list ─── */
.post-list {
  max-width: 760px;
  border-top: 1px solid var(--faint);
}
.post-card {
  display: block;
  padding: 32px 8px;
  border-bottom: 1px solid var(--faint);
  text-decoration: none;
  transition: background var(--transition);
}
.post-card:hover { background: var(--warm); }
.post-card-date {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 10px;
}
.post-card h3 {
  font-size: 22px;
  color: var(--ink);
  margin-bottom: 10px;
}
.post-card p {
  font-size: 15px;
  color: var(--mid);
  font-weight: 300;
  max-width: 620px;
  margin-bottom: 12px;
}
.post-card-read {
  font-size: 14px;
  font-weight: 500;
  color: var(--accent);
}
.post-card:hover .post-card-read::after { transform: translateX(4px); }
.post-card-read::after {
  content: ' →';
  display: inline-block;
  transition: transform var(--transition);
}

/* ─── Post page: article body ─── */
.post-meta {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 18px;
}
.post-body {
  max-width: 680px;
}
.post-body p {
  font-size: 16.5px;
  line-height: 1.75;
  color: var(--ink);
  font-weight: 300;
  margin-bottom: 22px;
}
.post-body h2 {
  font-size: 26px;
  margin: 44px 0 16px;
}
.post-body h3 {
  font-size: 19px;
  margin: 36px 0 12px;
}
.post-body ul, .post-body ol {
  margin: 0 0 22px 22px;
}
.post-body li {
  font-size: 16px;
  line-height: 1.7;
  color: var(--ink);
  font-weight: 300;
  margin-bottom: 8px;
}
.post-body a { color: var(--accent); }
.post-body blockquote {
  border-left: 2px solid var(--accent);
  padding-left: 20px;
  margin: 0 0 22px;
}
.post-body blockquote p {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 18px;
  color: var(--ink);
}
.post-back {
  display: inline-block;
  font-size: 14px;
  color: var(--mid);
  text-decoration: none;
  margin-bottom: 28px;
}
.post-back:hover { color: var(--accent); }

@media (max-width: 640px) {
  .post-card { padding: 26px 4px; }
  .post-card h3 { font-size: 19px; }
}
