<figure role="group" class="caption caption-{{ tag }}{%- if classes %} {{ classes }}{%- endif %} bg-gray-200 border border-secondary/40 rounded-2xl shadow-sm hover:shadow-md transition-all duration-300 overflow-hidden">
  <div class="p-4">
    {{ node }}
  </div>
  <figcaption class="text-secondary text-sm font-medium text-center px-4 pb-4 border-t border-secondary/30 mt-2">
    {{ caption }}
  </figcaption>
</figure>
