<section class="wysiwyg-area container container-sm content-block js-fade-in {{ styleModifier | default(null) }}">
<div class="container container-sm">
{{ include('Includes/title-block.html.twig', {
title: block.headline,
subtitle: block.subtitle,
isCentered: block.centerTitle
}) }}
<div class="wysiwyg-area__content wysiwyg">
{{ block.text|raw }}
</div>
{# {{ dump(block.buttons[0]['button'].data) }}#}
{% if block.buttons is not empty %}
<ul class="list-unstyled list-inline wysiwyg-area__buttons vertical-gutter--default">
{% for button in block.buttons %}
{% if button['button']|default(false) and button['button'].data %}
<li class="list-inline-item vertical-gutter__item">
<a href="{{ button['button'].data.href }}" target="{{ button['button'].data.target }}" title="{{ button['button'].data.title }}" class="btn btn-{{ button['buttonColor']|default(false) ? button['buttonColor'].data|default('primary-light') : 'primary-light' }}">
{{ button['button'].data.text }}
</a>
</li>
{% endif %}
{% endfor %}
</ul>
{% endif %}
</div>
</section>