@php $postsChunk = $posts->chunk(4); @endphp
@if ($subtitle = $shortcode->subtitle)
dots {!! BaseHelper::clean($subtitle) !!}
@endif @if ($title = $shortcode->title)

{!! BaseHelper::clean($title) !!}

@endif @if ($description = $shortcode->description) {!! BaseHelper::clean($description) !!} @endif
@if (($actionLabel = $shortcode->action_label) && ($actionUrl = $shortcode->action_url)) @endif
@foreach($postsChunk as $posts)
@php $firstPost = $posts->first(); @endphp
{{ RvMedia::image($firstPost->image, $firstPost->name, 'vertical_thumb', attributes: ['class' => 'rounded rounded-bottom-0 rounded-start-lg rounded-end-lg-0 w-100 w-lg-auto']) }}
@if ($category = $firstPost->firstCategory) {{ $category->name }} @endif
{{ $firstPost->name }}
@if ($firstPostDescription = $firstPost->description)

{!! BaseHelper::clean($firstPostDescription) !!}

@endif
@if ($author = $firstPost->author)
{{ RvMedia::image($author->avatar_url, $author->name, attributes: ['class' => 'rounded-circle', 'width' => 40]) }}
{{ $author->name }}

{{ $firstPost->created_at->format('d F Y') }}

@endif
@if ($posts->count() > 1) @endif
@endforeach