@php
$the_number_of_faqs = count($faqs_style2);
if ($the_number_of_faqs %2 == 0) {
$half_of_faqs = $the_number_of_faqs / 2 + 1;
}
else {
$half_of_faqs = (integer)($the_number_of_faqs / 2) + 2;
}
$i = 1;
@endphp
@foreach ($faqs_style2 as $faq_style2)
@if ($loop->iteration < $half_of_faqs)
@if(Auth::user())
@can('section check')
@php
$url = request()->path();
$modified_url = str_replace('/', '-bracket-', $url);
@endphp
@endcan
@endif
@php echo html_entity_decode($faq_style2->answer); @endphp
@else
@break
@endif
@php $i++; @endphp
@endforeach
@unset ($faq_style2)