{# page-suggestions override — themed 404 suggestions. Fields: title, showDescription, emptyMessage; suggestions[] from the provider (.slug/.title/.excerpt). #}
{% if suggestions %}
<div data-block-override="gotham:page-suggestions" class="page-suggestions py-10">
  {% if title %}<h2 class="reel-caps reel-underline mx-auto w-fit text-xl text-center" style="font-family:var(--font-heading, 'Antonio', 'Oswald', 'Bebas Neue', sans-serif);color:hsl(var(--foreground));">{{ title }}</h2>{% endif %}
  <ul class="mt-6 space-y-3 max-w-lg mx-auto">
    {% for suggestion in suggestions %}
    <li class="flex items-start gap-3">
      <span class="mt-0.5 shrink-0" style="color:hsl(var(--primary));"><svg class="inline-block h-4 w-4" width="16" height="16" aria-hidden="true"><use href="/icons/lucide.svg#chevron-right"></use></svg></span>
      <div>
        <a href="{{ suggestion.slug }}" class="reel-link font-medium">{{ suggestion.title }}</a>
        {% if showDescription and suggestion.excerpt %}<p class="mt-1 text-sm italic" style="color:hsl(var(--muted-foreground));">{{ suggestion.excerpt }}</p>{% endif %}
      </div>
    </li>
    {% endfor %}
  </ul>
</div>
{% elif emptyMessage %}
<div data-block-override="gotham:page-suggestions" class="page-suggestions py-10 text-center">
  <p class="italic" style="color:hsl(var(--muted-foreground));font-family:var(--font-body, 'Cormorant Garamond', Georgia, serif);">{{ emptyMessage }}</p>
</div>
{% endif %}
