{% block element_contact_options %}
<section class="mx-10 boxed-layout">
{% block contact_options %}
<div class="flex lg:flex-row flex-col">
<div class="flex flex-col w-full lg:w-5/12">
<div class="text-2xl text-black font-bold">{{ element.config.title.value }}</div>
<div class="text-base text-black">{{ element.config.description.value }}</div>
</div>
<div class="contact-options grid grid-cols-1 lg:grid-cols-2 md:grid-gap-8 w-full justify-start grid-gap-4 overflow-x-auto xl:grid-gap-6 xl:col-start-6 xl:col-end-13 xl:mt-0 xl:overflow-hidden">
{% if element.config.options.value %}
{% for option in element.config.options.value %}
{% set icon %}
{% if option.type == 'mail' %}
{% sw_icon 'mail' style{'pack': 'theme-icons', 'class': 'text-red-300 w-5 xl:w-10 3xl:w-16'} %}
{% elseif option.type == 'facebook' %}
{% sw_icon 'facebook' style{'pack': 'theme-icons', 'class': 'w-5 xl:w-10 3xl:w-16'} %}
{% elseif option.type == 'instagram' %}
{% sw_icon 'instagram' style{'pack': 'theme-icons', 'class': 'w-5 xl:w-10 3xl:w-16'} %}
{% elseif option.type == 'phone' %}
{% sw_icon 'phone' style{'pack': 'theme-icons', 'class': 'w-5 xl:w-10 3xl:w-16'} %}
{% elseif option.type == 'store' %}
{% sw_icon 'locator' style{'pack': 'default', 'class': 'w-5 xl:w-10 3xl:w-16'} %}
{% endif %}
{% endset %}
<div class="flex flex-col justify-between flex-shrink-0 flex-grow xl:ml-10 xl:mt-0">
<div class="contact-option-icon mb-4 flex justify-start flex-shrink-0 text-black"
data-icon="{{ option.type }}">
{{ icon }}
</div>
<div class="text-base">
<p class="uppercase font-bold"> {{ option.title }} </p>
<p> {{ option.subtitle|raw }} </p>
</div>
{% if option.url and option.actionText %}
<a href="{{ option.url }}"
role="button"
{% if option.newTab %}
target="_blank"
{% endif %}
class="contact-option content py-2 flex flex-col justify-start bg-grey-200">
<span class="contact-option-title leading-none font-medium">{{ option.actionText }}</span>
</a>
{% endif %}
</div>
{% endfor %}
{% endif %}
</div>
</div>
{% endblock %}
</section>
{% endblock %}