{{--
    Protera theme-builder section: stylised manifesto pullquote (visual-only).

    Renders the saved quote (already locale-resolved by the section) plus an
    optional author line. Scoped CSS emitted once per request.

    @var string $text
    @var string $author
--}}
@once
    {{-- SystemFindings/task-15 — the rules moved to this theme's own
         Resources/assets/css/section-manifesto-pullquote.css, byte for byte.

         Still a <link> emitted from HERE rather than an AssetRegistry
         declaration or an @import into web.css: the registry is keyed on route
         names, and no route name says "the operator placed this section on
         this page". Sections render through ThemePageBuilder::render(), so
         `@once` is the only construct that knows. Same position in the
         document as the <style> it replaces. --}}
    <link rel="stylesheet" href="{{ asset('vendor/va-themes/protera/build/assets/section-manifesto-pullquote.css') }}">
@endonce
@if(trim((string) $text) !== '')
    <figure class="theme-pullquote">
        <blockquote class="theme-pullquote__text">{{ $text }}</blockquote>
        @if(trim((string) $author) !== '')
            <figcaption class="theme-pullquote__author">{{ $author }}</figcaption>
        @endif
    </figure>
@endif
