{% load brickwork_icons %} {% comment %} Feature grid (04-interfaces.md section 4d): a responsive grid of feature cards. Structural, consumed via {% include %} (BR-BW-MKT ยง4d structural- include doctrine). Required context: none. Optional context: heading (str): the section intro heading. lede (str): the section intro body. items (list of dicts): {icon?, heading, body}. icon is a registry name rendered via {% bw_icon %} decorative=True (the icon reinforces the heading/body text, which already carries the meaning). An empty (or omitted) items list renders the section intro alone (or nothing at all if that too is empty), never a fabricated placeholder card. columns (2|3|4, default 3): responsive down to one column on narrow viewports (bw-feature-grid-- selects the CSS grid template). {% endcomment %} {% if heading or lede or items %}
{% if heading or lede %}
{% if heading %}

{{ heading }}

{% endif %} {% if lede %}

{{ lede }}

{% endif %}
{% endif %} {% if items %}
{% for item in items %}
{% if item.icon %}{% bw_icon item.icon size="lg" decorative=True css_class="bw-feature-card__icon" %}{% endif %}

{{ item.heading }}

{{ item.body }}

{% endfor %}
{% endif %}
{% endif %}