/* Blog listing & article typography — matches site indigo/Inter theme */

.blog-prose h2 {
  font-size: 1.25rem;
  font-weight: 700;
  color: #111827;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}

.blog-prose h3 {
  font-size: 1.125rem;
  font-weight: 600;
  color: #111827;
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
}

.blog-prose p {
  color: #374151;
  line-height: 1.75;
  margin-bottom: 1rem;
}

.blog-prose ul,
.blog-prose ol {
  color: #374151;
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.blog-prose ul {
  list-style-type: disc;
}

.blog-prose ol {
  list-style-type: decimal;
}

.blog-prose li {
  margin-bottom: 0.5rem;
  line-height: 1.65;
}

.blog-prose a {
  color: #4f46e5;
  text-decoration: underline;
}

.blog-prose a:hover {
  color: #4338ca;
}

.blog-prose blockquote {
  border-left: 4px solid #4f46e5;
  padding-left: 1rem;
  margin: 1.5rem 0;
  color: #4b5563;
  font-style: italic;
}

.blog-prose img {
  border-radius: 0.75rem;
  margin: 1.5rem 0;
  max-width: 100%;
  height: auto;
}

.blog-prose code {
  background: #f3f4f6;
  padding: 0.125rem 0.375rem;
  border-radius: 0.25rem;
  font-size: 0.875em;
}

.blog-prose pre {
  background: #1f2937;
  color: #f9fafb;
  padding: 1rem;
  border-radius: 0.75rem;
  overflow-x: auto;
  margin: 1.5rem 0;
}

.blog-prose pre code {
  background: transparent;
  padding: 0;
  color: inherit;
}

.blog-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.blog-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
}

.fade-in {
  animation: blogFadeIn 0.4s ease-out;
}

@keyframes blogFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}
