@foreach ($paragraphs as $index => $paragraph)
{!! $paragraph !!}
@if ($index == 1 && count($paragraphs) > 4 && $related->isNotEmpty())
@elseif ($index == 4 && count($paragraphs) > 6)
@elseif ($index == 6 && count($paragraphs) > 8 && $related->isNotEmpty())
@endif
@endforeach
@if (count($paragraphs) == 1)
@if ($related->isNotEmpty())
@else
@endif
@endif
@if (count($paragraphs) > 1 && $related->isEmpty())
@endif