{% if sections or text or title %}
<section class="m_textImg" m-pack="basic">
  {% include 'm_components/widgets/headline.twig' with {title: title} only %}

  {% if image or text %}
  <div class="section-grid">
    <article class="m_textImg__block m_textImg--{{side}}">
      {% if image.id %}
        <div class="m_textImg__image ">
          {% include 'm_components/widgets/picture.twig' with {image: image, title: image.name} only %}
        </div>
      {% endif %}

      {% if text %}
        <div class="m_textImg__content m_content">
          {{ fn.apply_filters('the_content', fn.html_entity_decode(text) )|raw }}
        </div>
      {% endif %}
    </article>
  </div>
  {% endif %}
</section>
{% endif %}

