{% set sectionAttributes = ["data-moorl-fb-#{element.type}"] %}
{% if sectionConfig %}
{% set sectionAttributes = sectionAttributes|merge(["data-moorl-fb-#{element.type}-options=#{sectionConfig|json_encode|raw}"]) %}
{% endif %}
{% if element.conditions %}
{% set sectionAttributes = sectionAttributes|merge(["data-fb-conditions=#{element.conditions|json_encode|raw }"]) %}
{% endif %}
{% if element.config.cssAttributes.class %}
{% set sectionClasses = sectionClasses|merge([
element.config.cssAttributes.class
]) %}
{% endif %}
<div {{ sectionAttributes|join(" ") }}>
<div class="{{ sectionClasses|join(" ") }}" style="{{ fb_stylesheet(element)|join(";") }}">
{{ wrappedContent }}
</div>
</div>