<div {{ $attributes->merge(['class' => 'panel']) }}>
    @if(isset($title) || isset($actions))
        <div class="row align-items-center">
            <div class="col-6 col-md-6">
                <div class="panel__header">
                    @if(isset($title))
                        <h2 class="panel__title">{{ $title }}</h2>
                    @endif
                </div>
            </div>
            @isset($actions)
                <div class="col-12 col-md-6 text-md-right">
                    {{ $actions }}
                </div>
            @endisset
        </div>
    @endif
    @isset($description)
        <div class="panel__description">
            {{ $description }}
        </div>
    @endisset

    <div class="panel__body">
        <div class="panel__content">
            {{ $slot }}
        </div>
    </div>
</div>
