{% set type = bloc.act_bloc_type_texte_image|default(0) %}
{% set adLiip = "" %}
{% if type == 0 %}
{% set adLiip = "_0" %}
{% endif %}
{% set mediaTmp = medias[0].act_media_fichier %}
{% set mediaDefault = "default.jpg" %}
{% set mediaTmp = webp(webpSupported, mediaTmp) %}
{% set mediaDefault = webp(webpSupported, mediaDefault) %}
{% if type != 2 %}
<section data-bs-version="5.1"
class="image3 agencym4_image3 cid-sYtkRmM6mF {{ bloc.act_bloc_margin_top }} {{ bloc.act_bloc_margin_bottom }}"
id="image3-33">
<figure class="mbr-figure container">
<div class="image-block {% if type == 0 %}w-75{% elseif type == 1 %}w-100{% endif %}">
<img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" width="1400"
alt=""
loading="lazy" class="lazyload"
data-src="{{ asset('/medias_front/actualite/' ~ mediaTmp) | imagine_filter('front_blocImage'~adLiip) }}">
</div>
<figcaption class="mbr-figure-caption mbr-figure-caption-over">
<div class="container pb-5 mbr-white align-center mbr-fonts-style display-1">
{% if bloc.act_bloc_titre %}
<h3 class="mbr-section-title mbr-fonts-style display-2">
<strong>{{ bloc.act_bloc_titre }}</strong>
</h3>
{% endif %}
{% if bloc.act_bloc_sstitre %}
<h4 class="mbr-section-subtitle mbr-fonts-style display-5">
{{ bloc.act_bloc_sstitre }}
</h4>
{% endif %}
</div>
</figcaption>
</figure>
</section>
{% endif %}
{% if type == 2 %}
<section data-bs-version="5.1" class="image1 woodm4_image1 cid-sYtkwjjoQl mbr-parallax-background" id="image01-31"
style="background-image: url('{{ asset('/medias_front/actualite/' ~ mediaTmp) | imagine_filter('front_blocImage'~adLiip) }}')">
<div class="container">
</div>
</section>
{% endif %}