{% set twig_img_path = absolute_url('/media/image/') %}
{% set footerFinalItemSection = footerFinalItemSection() %}
{% set footerSections = footerSections() %}
<div class="d-flex flex-sm-row flex-column my-0 px-0 hf-70 page-wrapper">
<div class="d-flex flex-sm-row flex-column h-100 w-100 {% if is_mobile() %}pt-3{% endif %}">
{% if footerSections|default(null) %}
{% set itemWidth = 12 / footerSections|length %}
{% for key, section in footerSections %}
{% set imageSource = twig_img_path ~ section.sectionImage.path %}
{% include '@App/app/base/footer/item.html.twig' with {
'imageSource': imageSource,
'content': section.content,
'itemWidth': itemWidth
} %}
{% endfor %}
{% endif %}
</div>
{% if footerFinalItemSection|default(null) %}
<div class="d-flex flex-sm-row flex-column{% if not is_mobile() %} w-10 blw-60{% else %} w-15 pt-2 pb-3{% endif %}">
{% set imageSource = twig_img_path ~ footerFinalItemSection.sectionImage.path %}
{% include '@App/app/base/footer/final_item.html.twig' with {
'imageSource': imageSource,
'link': footerFinalItemSection.slug,
'itemWidth': 12
} %}
</div>
{% endif %}
</div>
<div class="d-flex align-items-center justify-content-center h-18-p w-100 bg-dark-blue">
<div class="ff-os-bold fs-12 text-white h-100">
{{ 'base.footer.disclaimer.content'|trans|upper }}
</div>
</div>