/* Blog pages (templates/blog). Post bodies are rendered markdown, so the
   styling targets plain elements inside .blog-body rather than classes. */

.blog-body {
  font-size: 1.125rem;
  line-height: 1.75;
}

.blog-body h2 {
  font-weight: 700;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.blog-body h3,
.blog-body h4 {
  font-weight: 700;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.blog-body img {
  max-width: 100%;
  height: auto;
  margin: 1rem 0;
}

.blog-body blockquote {
  border-left: 4px solid var(--bs-primary, #0d6efd);
  padding: 0.25rem 0 0.25rem 1rem;
  margin: 1.5rem 0;
  color: #495057;
}

.blog-body pre {
  background: #f8f9fa;
  padding: 1rem;
  border-radius: 0.375rem;
  overflow-x: auto;
}

.blog-body table {
  display: block;
  overflow-x: auto;
}

.blog-cta {
  background: #f1f5fb;
  border-left: 4px solid var(--bs-primary, #0d6efd);
}

.blog-card-img {
  aspect-ratio: 16 / 9;
  object-fit: cover;
  height: auto;
}
