@if ($article)
  <div class="block-wrapper title-text-description">
    <div class="block-container">
      @if ($article->title)
        <h2>{{ $article->title }}</h2>
      @endif
      @if ($article->subtitle)
        <h3>{{ $article->subtitle }}</h3>
      @endif
      <div class="text-wrapper">
        <div class="paragraphs-wrapper has-image">
          <div class="paragraphs">
            @if ($article->content)
              {{ $article->content }}
            @endif
          </div>
          @if ($article->image)
             <div class="image-wrapper">
                @if ($article->link)
                  <a href="{{ $article->link }}" target="_blank">
                    <img src="{{ getMediaUrl($article->image->filename, '700') }}" alt="report cover">
                  </a>
                @else
                  <img src="{{ getMediaUrl($article->image->filename, '700') }}" alt="report cover">
                @endif

              <div class="image-information">
                <div class="text">
                  @if ($article->link_title)
                    <h4>{{ $article->link_title }}</h4>
                  @endif
                  @if ($article->link_subtitle)
                    <h5>{{ $article->link_subtitle }}</h5>
                  @endif
                </div>
                @if ($article->link)
                  <div class="link">
                    <a href="{{ $article->link }}" target="_blank">
                      <img src="{{ Config::get('path.frontend.img') }}/icons/link_orange.svg" alt="report link">
                    </a>
                  </div>
                @endif
              </div>
            </div>
          @endif
        </div>
        <a class="js-toggle-text" href="#">Ler mais</a>
      </div>
    </div>
  </div>
@endif
