/* Base heading styles (outside prose) */
h1 { font-size: 1.875rem; line-height: 2.25rem; font-weight: 700; }
h2 { font-size: 1.25rem; line-height: 1.75rem; font-weight: 700; }
h3 { font-size: 1.125rem; line-height: 1.75rem; font-weight: 700; }
p { margin-bottom: 1rem; }

/* Line-clamp (not in Tailwind 2.x) */
.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Featured post hero */
.featured-post__img {
  height: 400px;
  max-height: 60vh;
  width: 100%;
  object-fit: cover;
  display: block;
}
.featured-post__overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 50%, transparent 100%);
}
.featured-post__text-overlay {
  text-shadow: 0 1px 3px rgba(0,0,0,0.6);
}

/* Post card image */
.post-card__thumb img {
  height: 12rem;
  object-fit: cover;
  width: 100%;
}
@media (min-width: 640px) {
  .post-card__thumb {
    width: 14rem;
    flex-shrink: 0;
  }
  .post-card__thumb img {
    height: 100%;
  }
}

/* Nav dropdown z-index */
nav li.relative { z-index: 50; }
nav li.relative ul { z-index: 51; }

/* Prose content — post/page body text */
.prose-content p { margin-bottom: 1rem; }
.prose-content h2 { font-size: 1.5rem; font-weight: 700; margin: 1.5rem 0 0.75rem; color: #1a202c; }
.prose-content h3 { font-size: 1.25rem; font-weight: 700; margin: 1.25rem 0 0.5rem; color: #2d3748; }
.prose-content h4 { font-size: 1.125rem; font-weight: 700; margin: 1rem 0 0.5rem; color: #2d3748; }
.prose-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose-content ol { list-style: decimal; padding-left: 1.5rem; margin-bottom: 1rem; }
.prose-content li { margin-bottom: 0.25rem; }
.prose-content a { color: #276749; text-decoration: underline; }
.prose-content a:hover { color: #1a4731; }
.prose-content blockquote {
  border-left: 4px solid #276749;
  padding-left: 1rem;
  color: #4a5568;
  font-style: italic;
  margin: 1rem 0;
}
.prose-content img {
  max-width: 100%;
  height: auto;
  border-radius: 0.25rem;
  margin: 0.75rem 0;
}
.prose-content strong { font-weight: 700; }
.prose-content hr { border-top: 1px solid #e2e8f0; margin: 1.5rem 0; }
.prose-content table { width: 100%; border-collapse: collapse; margin-bottom: 1rem; }
.prose-content th, .prose-content td { border: 1px solid #e2e8f0; padding: 0.5rem 0.75rem; text-align: left; }
.prose-content th { background: #f7fafc; font-weight: 700; }
