{# <img src="{{ sonata_path(block['add_feature'][0][0]['add_feature_block_image'], 'reference') }}"/> #}
{# {% include '@App/shared/ui/backButton/backButton.html.twig' %} #}
{# <button data-modal="#modal_faq" class="js--modal hover:underline transition ease-in-out duration-150 w-full block text-center p-[12px] h-[48px] bg-transparent border rounded-[10px] border-none font-semibold text-[16px] mt-[25px] focus:outline-none" style="color: {{ companyStyles.linkTextColor }}">{% trans from 'tarif_choice' %}Поширені питаня та відповіді{% endtrans %}</button> #}
<figure class="my-[80px] md:my-[160px] mb-[32px] px-[16px] md:px-[48px] py-[16px] md:py-[72px] md:min-h-[266px] rounded-[16px] w-full bg-[#5B5B5B] relative">
{% if block.title is not empty %}
<p class="text-[24px] md:text-[32px] text-[#fff] font-medium text-left mb-[16px] leading-[1.2] md:max-w-[50%]">{{ block.title }}</p>
{% endif %}
{% if block.description is not empty %}
<h2 class="text-[18px] md:text-[24px] text-[#C9CBD2] font-medium text-left mb-[50px] md:mb-[32px] max-w-[70%] md:max-w-[50%] ">{{ block.description }}</h2>
{% endif %}
{% if block.image_id is not empty %}
<img class="absolute bottom-0 right-0 max-w-[45%]" src="{{ sonata_path(block['image_id'], 'reference') }}"
alt="">
{% endif %}
</figure>
<figure class="mb-[80px] md:mb-[160px] w-full">
<div class="flex flex-col md:flex-row gap-[16px] md:gap-[24px] items-center justify-between">
{% if block.add_feature is not empty %}
{% for feature_group in block.add_feature %}
{% for feature in feature_group %}
{% if loop.parent.loop.index0 == 1 %}
<div class="py-[20px] px-[24px] items-center w-full rounded-[16px]" style="background-color: {{ companyStyles.buttonColor }}">
<div class="flex flex-col gap-[16px]">
<div class="flex flex-row items-center justify-between">
<h3 class="text-[#1B2028] font-semibold text-[24px]" style="color: {{ companyStyles.textButtonColor }}">{{ feature.add_feature_block_name|raw }}</h3>
<div class="w-[56px] h-[56px] max-w-[56px] rounded-[50%] p-[13px] relative"
style="background-color: {{ companyStyles.textButtonColor }}">
<img class="mx-auto"
src="{{ sonata_path(feature.add_feature_block_image, 'reference') }}"
alt="{{ feature.add_feature_block_name }}">
</div>
</div>
<p class="text-[#5B5B5B] font-medium text-[16px]" style="color: {{ companyStyles.textButtonColor }}">{{ feature.add_feature_block_desc|raw }}</p>
</div>
</div>
{% else %}
<div class="py-[20px] px-[24px] items-center w-full rounded-[16px] border border-[#E2E2E9] bg-[#F7F7FA]">
<div class="flex flex-col gap-[16px]">
<div class="flex flex-row items-center justify-between">
<h3 class="text-[#1B2028] font-semibold text-[24px]">{{ feature.add_feature_block_name|raw }}</h3>
<div class="w-[56px] h-[56px] max-w-[56px] rounded-[50%] p-[13px] relative"
style="background-color: {{ companyStyles.buttonColor }}">
<img class="mx-auto"
src="{{ sonata_path(feature.add_feature_block_image, 'reference') }}"
alt="{{ feature.add_feature_block_name }}">
</div>
</div>
<p class="text-[#5B5B5B] font-medium text-[16px]">{{ feature.add_feature_block_desc|raw }}</p>
</div>
</div>
{% endif %}
{# {% if loop.parent.loop.index0 == 2 %} #}
{# <svg class="w-[80px] h-[80px] absolute top-[-67px] right-[-50px]" style="stroke: {{ companyStyles.buttonColor }}; stroke-width: 2"> #}
{# <use href="{{ asset('build/sprite.svg#features_after_3') }}"></use> #}
{# </svg> #}
{# {% endif %} #}
{% endfor %}
{% endfor %}
{% endif %}
</div>
</figure>