@props([
    'title' => '',
    'subtitle' => null,
    'border' => false,
])
<div class="page-header-modern {{ $border ? 'pb-3 border-bottom' : '' }}">
    <div>
        <h2 class="title">{{ $title }}</h2>
        @if($subtitle)
            <p class="subtitle mb-0">{{ $subtitle }}</p>
        @endif
    </div>
    <div class="actions">
        {{ $slot }}
    </div>
</div>
