@if ($shortcode->title || $shortcode->description)
@if ($shortcode->title)

{!! BaseHelper::clean($shortcode->title) !!}

@endif @if ($shortcode->description)

{!! BaseHelper::clean($shortcode->description) !!}

@endif
@endif @if ($shortcode->style === 'list')
@foreach($faqs as $faq)
$loop->first && $shortcode->expand_first_time]) id="collapse{{ $faq->getKey() }}" aria-labelledby="heading{{ $faq->getKey() }}" data-bs-parent="#accordion-faqs">
{!! BaseHelper::clean($faq->answer) !!}
@endforeach
@else
@foreach ($categories as $category)

{{ $category->name }}

@foreach($category->faqs as $faq)
$loop->first && $shortcode->expand_first_time]) id="collapse{{ $faq->getKey() }}" aria-labelledby="heading{{ $faq->getKey() }}" data-bs-parent="#accordion-faqs">
{!! BaseHelper::clean($faq->answer) !!}
@endforeach
@endforeach
@endif