{% block element_faq_item %}
{% set question = element.config.question.value %}
{% set answer = element.config.answer.value %}
{% if question %}
<div class="cms-element-{{ element.type }}" data-cms-element-id="{{ element.id }}">
<button class="faq-item-toggle collapsed"
aria-expanded="false"
data-toggle="collapse"
data-parent=".faq-grid-items"
data-target="#{{ element.slot }}"
aria-controls="{{ element.slot }}"
>
{{ question|raw }}
{% sw_icon 'plus-circle' style {'namespace': 'DecomTheme' } %}
{% sw_icon 'minus-circle' style {'namespace': 'DecomTheme' } %}
</button>
<div class="accordion-group">
<div class="faq-item-panel collapse" id="{{ element.slot }}">
<div class="panel-content">
{{ answer|raw }}
</div>
</div>
</div>
</div>
{% endif %}
{% endblock %}