{{-- Shared heading used by the data-bound blocks. --}}
@if ($block->get('title') || $block->get('subtitle'))
    <header class="text-center max-w-3xl mx-auto mb-10">
        @if ($block->get('title'))
            <h2 class="ec-heading text-3xl sm:text-4xl font-bold">{{ $block->get('title') }}</h2>
        @endif
        @if ($block->get('subtitle'))
            <p class="ec-muted mt-3 text-lg">{{ $block->get('subtitle') }}</p>
        @endif
    </header>
@endif
