{% extends 'partials/base.html.twig' %}
{% set image = page.media.images %}


{% block body %}

<section class="header-wrapper">
  <div class="title">
    <h1>{{page.title}}</h1>
  </div>
</section>

<section class="body-wrapper">
  {% block item %}

  {% set image = page.media.images|first %}
    <div class="event">
      {% if image %}
        <div class="card-image">
          {{ image }}
        </div>
      {% endif %}

      <div class="card-content">
      <div class="txt">
        {{page.content}}
      </div>
    </div>
  </div>

  {% endblock %}
</section>
{% endblock %}

{% block newsletter %}
  {% include 'partials/newsletters.html.twig' %}
{% endblock %}
