{# noir override — page-suggestions; preserves suggestions[].slug/.title/.excerpt, title/showDescription/emptyMessage. #}
{% if suggestions %}
<div data-block-override="noir:page-suggestions" class="page-suggestions py-10">
  {% if title %}<h2 class="noir-label mx-auto w-fit text-center" style="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 width="16" height="16" aria-hidden="true"><use href="/icons/lucide.svg#chevron-right"></use></svg></span>
      <div>
        <a href="{{ suggestion.slug }}" class="noir-link font-medium">{{ suggestion.title }}</a>
        {% if showDescription and suggestion.excerpt %}<p class="noir-body mt-1 text-sm" style="color:hsl(var(--muted-foreground));">{{ suggestion.excerpt }}</p>{% endif %}
      </div>
    </li>
    {% endfor %}
  </ul>
</div>
{% elif emptyMessage %}
<div data-block-override="noir:page-suggestions" class="page-suggestions py-10 text-center">
  <p class="noir-body" style="color:hsl(var(--muted-foreground));">{{ emptyMessage }}</p>
</div>
{% endif %}
