{# newsletter-signup (magazine-bold) — the {% signup_form %} tag carries the #}
{# untouchable subscribe wiring (/api/lists/subscribe HTMX post + honeypot); #}
{# this template wraps it in a quiet mb-panel — no loud filled band. #}
<section data-block-override="magazine-bold:newsletter-signup" class="py-8 bg-background text-foreground md:py-12{% if class %} {{ class }}{% endif %}">
<div class="mx-auto max-w-3xl px-4">
<div class="mb-panel {% if layout == "inline" %}bg-card px-6 py-10 text-card-foreground md:px-12{% else %}bg-card px-6 py-10 text-card-foreground md:px-10{% endif %} text-center">
<div class="mb-5 flex justify-center"><span style="display:inline-block;height:4px;width:4rem;background-color:hsl(var(--accent));"></span></div>
{% if title %}<h2 class="mb-caps text-2xl md:text-3xl" style="font-family:var(--font-heading, &quot;Archivo Black&quot;, 'Arial Black', sans-serif)">{{ title }}</h2>{% endif %}
{% if description %}<p class="mx-auto mt-4 max-w-xl {% if layout == "inline" %}text-muted-foreground{% else %}text-muted-foreground{% endif %}" style="font-family:var(--font-body, &quot;Inter&quot;, system-ui, sans-serif)">{{ description }}</p>{% endif %}
<div class="mx-auto mt-6 max-w-md">{% signup_form list=listSlug source=source submit=submitText success_message=successMessage placeholder=placeholder %}</div>
</div>
</div>
</section>
