@php
    $eyebrow = $eyebrow ?? null;
    $title = $title ?? '';
    $subtitle = $subtitle ?? null;
    $align = $align ?? 'center';
    $class = $class ?? '';
    $alignClass = $align === 'start' ? 'text-md-left' : 'text-center';
@endphp
@if ($title !== '' || $eyebrow || $subtitle)
    <header class="premium-section-header {{ $alignClass }} {{ $class }}">
        @if (!empty($eyebrow))
            <p class="premium-section-header__eyebrow">{{ $eyebrow }}</p>
        @endif
        @if ($title !== '')
            <h2 class="premium-section-header__title">{{ $title }}</h2>
        @endif
        @if (!empty($subtitle))
            <p class="premium-section-header__sub">{{ $subtitle }}</p>
        @endif
    </header>
@endif
