{#{{ dump(block) }}#}
{#<img src="{{ sonata_path(block['add_feature'][0][0]['add_feature_block_image'], 'reference') }}"/>#}
<figure class="my-[80px] md:my-[160px] md:h-[416px] md:min-h-[416px] w-full">
{% if block.title is not empty %}
<h2 class="text-[32px] md:text-[48px] text-[#1B2028] font-medium text-left leading-[1.2]">{{ block.title|raw }}</h2>
{% endif %}
{% if block.description is not empty %}
<p class="text-[18px] md:text-[24px] text-[#5B5B5B] font-medium text-left mb-[56px]">{{ block.description|raw }}</p>
{% endif %}
<div class="flex flex-col md:flex-row gap-[16px] items-center justify-between">
{% if block.add_feature is not empty %}
{% for feature_group in block.add_feature %}
{% for feature in feature_group %}
<div class="flex flex-col gap-[32px] items-center max-w-[348px]">
<div class="w-[100px] h-[100px] max-w-[100px] border-[#F1F1F7] border-[10px] rounded-[50%] p-[16px] 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 }}">
{% if loop.parent.loop.index0 == 1 %}
<svg class="hidden lg:block absolute top-[-77px] max-w-[300px] right-[105px] w-[calc(100vw/4.7)]" style="stroke: {{ companyStyles.buttonColor }}; stroke-width: 2">
<use href="{{ asset('build/sprite.svg#features_after_1') }}"></use>
</svg>
<svg class="hidden lg:block absolute bottom-[-77px] max-w-[300px] left-[110px] w-[calc(100vw/4.7)]" style="stroke: {{ companyStyles.buttonColor }}; stroke-width: 2">
<use href="{{ asset('build/sprite.svg#features_after_2') }}"></use>
</svg>
{% endif %}
{% if loop.parent.loop.index0 == 2 %}
<svg class="hidden lg:block 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 %}
</div>
<div class="flex flex-col gap-[16px] text-center">
<h3 class="text-[#1B2028] font-semibold text-[24px]">{{ feature.add_feature_block_name }}</h3>
<p class="text-[#5B5B5B] font-medium text-[16px]">{{ feature.add_feature_block_desc }}</p>
</div>
</div>
{% endfor %}
{% endfor %}
{% endif %}
</div>
</figure>