@php
    $cols = max(1, min(4, (int)($columns ?? 2)));
    $gap  = (int)($gap ?? 6);
    $pxGap = $gap * 4;
    $fw = $full_width ?? false;
@endphp
<div style="{{ $fw ? 'padding:32px 0;' : 'max-width:1100px; margin:0 auto; padding:32px 20px;' }}">
    <div style="display:grid; grid-template-columns:repeat({{ $cols }},1fr); gap:{{ $pxGap }}px;">
        @for($i = 1; $i <= $cols; $i++)
        @php $colContent = ${"col_{$i}_content"} ?? '' @endphp
        <div style="font-size:15px; line-height:1.75; color:#374151;">
            {!! nl2br(e($colContent)) !!}
        </div>
        @endfor
    </div>
</div>
