{#
  Custom HTML Section - freeform HTML/markdown content block
  Rendered by homepage-builder when custom-html section is configured
#}

{% set sectionConfig = section.config or {} %}

<section class="mb-8 sm:mb-12">
  {% if sectionConfig.title %}
  <h2 class="text-xl sm:text-2xl font-bold text-surface-900 dark:text-surface-100 mb-4 sm:mb-6">
    {{ sectionConfig.title }}
  </h2>
  {% endif %}

  <div class="prose dark:prose-invert max-w-none">
    {{ sectionConfig.content | safe }}
  </div>
</section>
