@if(!empty($content['brand']['logo_path']))
    <img src="{{ asset(ltrim($content['brand']['logo_path'], '/')) }}" alt="{{ $content['brand']['name'] }}" class="h-11 w-auto max-w-48 object-contain">
@else
    <span class="flex items-center gap-2.5" aria-label="{{ $content['brand']['name'] }}">
        <span class="relative grid h-10 w-10 place-items-center overflow-hidden rounded-xl bg-[var(--navy)] shadow-lg shadow-slate-900/15">
            <span class="absolute -right-2 -top-3 h-8 w-9 rotate-[-24deg] rounded-md bg-[var(--primary)]"></span>
            <span class="relative text-[18px] font-black tracking-[-0.08em] text-white">G</span>
        </span>
        <span class="leading-none">
            <span class="block text-[22px] font-black tracking-[-0.04em] text-[var(--navy)]">
                {{ \Illuminate\Support\Str::beforeLast($content['brand']['name'], 'X') }}<span class="text-[var(--primary)]">{{ \Illuminate\Support\Str::contains($content['brand']['name'], 'X') ? 'X' : '' }}</span>
            </span>
            <span class="mt-1 block text-[7px] font-extrabold tracking-[0.24em] text-slate-500">{{ $content['brand']['descriptor'] }}</span>
        </span>
    </span>
@endif
