/* Blog pages — loads after legal.css, which supplies the base and vars. */

.blog-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 20px 24px;
}
.blog-header img { height: 40px; width: auto; display: block; }
.blog-header-link {
  color: var(--legal-dark);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
}
.blog-header-link:hover { color: var(--legal-accent); }

.blog-list {
  list-style: none;
  padding: 0;
  margin: 2rem 0;
}
.blog-list li {
  padding: 1rem 0;
  border-bottom: 1px solid #e5e7eb;
}
.blog-list li a {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  color: var(--legal-dark);
  text-decoration: none;
}
.blog-list li a:hover { color: var(--legal-accent); }
.blog-meta {
  font-size: 14px;
  color: var(--legal-muted);
  margin: .3rem 0 0;
}

figure { margin: 2rem 0; }
figure img {
  width: 100%;
  height: auto;
  border: 1px solid #e5e7eb;
  border-radius: 6px;
}
figcaption {
  font-size: 13px;
  color: var(--legal-muted);
  margin-top: .5rem;
}

/* ponytail: pre scrolls instead of wrapping — long API lines should stay intact */
pre {
  background: var(--legal-dark);
  color: #f4f4f4;
  padding: 1rem 1.25rem;
  border-radius: 6px;
  font-size: 14px;
  line-height: 1.5;
  overflow-x: auto;
}
.legal-main pre code {
  background: none;
  padding: 0;
  color: inherit;
  font-size: inherit;
}

@media (max-width: 600px) {
  .blog-header { padding: 16px; }
}