{% extends 'themesWebsite/blog_cvs/base.html.twig' %}
{% block title %}{{ page.shortTitle }}{% endblock title %}
{% block description %}{{ page.shortDescription }}{% endblock description %}
{% block robots %}{{ page.robots }}{% endblock robots %}
{% block meta_social %}{{ parent() }}{% include "/themesWebsite/blog_cpn/components/socialmedia.html.twig" with { 'page':page,'social_type':'website' } %}{% endblock meta_social %}
{% block meta %}{{ parent() }}{% include "/themesWebsite/blog_cpn/components/author.html.twig" with {'page':page } %}{% endblock meta %}
{% block body %}
<section class="bg-cover primary-bg-dark" style="margin-top:75px;">
<div class="container">
<div class="row">
<div class="col-lg-12 col-md-12">
<h2 class="ipt-title text-light">{{ page.title }}</h2>
<span class="ipn-subtitle text-light opacity-75">{{ page.description|raw }}</span>
</div>
</div>
</div>
</section>
<section class="bg-light">
<div class="container">
<div class="row">
<div class="col-lg-10 col-md-12 col-sm-12">
{% if categories is not empty %}
{% for cat in categories %}
<div class="single-faqs mb-5">
<div class="faqs-title"><h5>{{ cat.title }}</h5></div>
<div class="accordion" id="accountActivation{{ cat.id }}">
{% set faqs = getCvsFaq(cat.id) %}
{% if faqs is not null %}
{% for faq in faqs %}
<div class="accordion-item">
<h2 class="accordion-header" id="faq{{ cat.id }}{{ faq.id }}">
<button class="accordion-button" type="button" data-bs-toggle="collapse" data-bs-target="#account{{ faq.id }}" aria-expanded="true" aria-controls="faq{{ cat.id }}{{ faq.id }}">
{{ faq.title }}
</button>
</h2>
<div id="account{{ faq.id }}" class="accordion-collapse collapse {% if loop.first == 1 %}show{% endif %}" aria-labelledby="faq{{ cat.id }}{{ faq.id }}" data-bs-parent="#accountActivation{{ cat.id }}">
<div class="accordion-body">
{{ faq.description|raw }}
</div>
</div>
</div>
{% endfor %}
{% endif %}
</div>
</div>
{% endfor %}
{% endif %}
</div>
</div>
</div>
</section>
{% endblock body %}