@if(! empty($questions))
    <div class="grid grid-cols-{{ $columns ?? 3 }} gap-{{ $padding ?? 3 }} {{ $style ?? '' }}">
        @foreach($questions as $question)
            <div class="grid-item">

                <article class="question card">

                    <div class="card-body">
                        <h5 class="card-title">
                            {{ $question->name }}
                        </h5>

                        <p class="card-text">
                            {{ $question->content }}
                        </p>
                    </div>

                </article>

            </div>
        @endforeach
    </div>
@else
    <div class="border rounded text-center p-4 bg-white">
        <p class="text-muted text-uppercase m-0">QUESTIONS NOT FOUND...</p>
    </div>
@endif
