/* Blog-specific styles — layered on top of /legal/legal.css's shared
   tokens/base (`:root` vars, `.wrap`, `header.top`, `.brand`,
   `.lang-toggle`, `footer.bottom`, base `h1`/`p`/`a`), same approach
   landing.css/download.css already use. Only what's actually unique
   to the blog lives here: the post-list grid and the article body's
   prose typography (legal.css has no h3/blockquote/code/img rules —
   plain legal text never needed them). */

.post-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.post-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: border-color 0.15s ease;
}
.post-card:hover { border-color: var(--gold); }

.post-card a {
  display: block;
  padding: 22px 26px;
  text-decoration: none;
  color: inherit;
}

.post-card h2 {
  font-size: 19px;
  font-weight: 900;
  color: var(--ink);
  margin: 0 0 6px;
}

.post-date {
  color: var(--muted-soft);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin: 0 0 10px;
}

.post-excerpt {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.65;
  margin: 0;
}

.post-meta {
  margin: 0 0 20px;
  font-size: 13.5px;
  font-weight: 700;
}
.post-meta a { color: var(--muted-soft); text-decoration: none; }
.post-meta a:hover { color: var(--gold-text); text-decoration: underline; }

.blog-empty {
  color: var(--muted-soft);
  font-size: 15.5px;
  font-weight: 600;
  padding: 32px 0;
}

.post article.post h1,
article.post h1 {
  font-size: 30px;
  margin-bottom: 4px;
}

.post-body {
  margin-top: 28px;
}
.post-body h2 {
  font-size: 22px;
  font-weight: 900;
  color: var(--ink);
  margin: 32px 0 12px;
}
.post-body h3 {
  font-size: 17.5px;
  font-weight: 800;
  color: var(--ink);
  margin: 24px 0 10px;
}
.post-body p { margin: 0 0 16px; }
.post-body ul,
.post-body ol { margin: 0 0 16px; padding-left: 22px; }
.post-body li { margin-bottom: 8px; }
.post-body img {
  max-width: 100%;
  height: auto;
  border-radius: 14px;
  margin: 20px 0;
  display: block;
}
.post-body blockquote {
  margin: 20px 0;
  padding: 4px 20px;
  border-left: 3px solid var(--gold);
  color: var(--muted);
  font-style: italic;
}
.post-body code {
  background: rgba(15, 23, 42, 0.5);
  border-radius: 5px;
  padding: 2px 6px;
  font-size: 0.9em;
}
.post-body pre {
  background: rgba(15, 23, 42, 0.5);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 16px 18px;
  overflow-x: auto;
  margin: 0 0 16px;
}
.post-body pre code {
  background: none;
  padding: 0;
}

@media (max-width: 640px) {
  .post-card a { padding: 18px 20px; }
  .post-body h2 { font-size: 19px; }
}
