{{ if .Params.featured_image }}
<figure class="mb-8">
  <img
    src="{{ .Params.featured_image }}"
    alt="{{ .Title }}"
    loading="lazy"
    class="w-full h-auto rounded-lg border border-border/30"
  />
  {{ if .Params.featured_image_caption }}
  <figcaption class="bg-surface/30 p-4 text-sm text-text-dim rounded-b-lg">
    {{ .Params.featured_image_caption }}
  </figcaption>
  {{ end }}
</figure>
{{ end }}

<div class="prose prose-invert max-w-none mb-12">
  {{ .Content }}
</div>
