@php
$category1 = $layout->categories[0];
$categoriesFirst = $category1->categories;
$category2 = $layout->categories[1];
$categoriesSecond = $category2->categories;
@endphp
@php
$news = leadNews();
@endphp
@forelse ($categories as $category)
@include('global.separatior')
@forelse ($news as $info)
@if ($loop->first)
@if ($info->sub_title)
{{ $info->sub_title }}
@endif
{{ $info->title }}
{{ strip_tags($info->details) }}
@endif
@empty
@endforelse
@forelse ($news as $info)
@if ($loop->iteration >= 2 && $loop->iteration <= 4)
@if ($info->sub_title)
{{ $info->sub_title }}
@endif
{{ $info->title }}
@endif
@empty
@endforelse
@empty
@endforelse