@php /** * 3-card layout from demo template: tall hero card on the left, * two stacked cards on the right. Falls back to a flat row when more * or fewer than 3 collections are supplied. */ $collections = collect($collections); $first = $collections->first(); $rest = $collections->slice(1, 2)->values(); @endphp