<div class="navigation-search-panel js-search-panel">
    <a href="#" class="navigation-search-panel__close-button js-close-search-panel"></a>
    {{#if searchBar}}
        {{> @cp-search-bar customGrid="medium-8 medium-offset-2" inNavigation=true}}
    {{/if}}
    <div class="navigation-search-panel__suggestions-container">
        <div class="grid-container">
            {{#if suggestionLinks}}
            <div class="grid-x grid-padding-x">
                <div class="cell medium-8 medium-offset-2">
                    <h2 class="navigation-search-panel__suggestions-title">{{suggestionsTitle}}</h2>
                    <div class="grid-x navigation-search-panel__suggestions">
                        {{#each suggestionLinks}}
                        <div class="cell medium-4">
                            <a href="{{url}}" class="navigation-search-panel__suggestion-link">{{text}}</a>
                        </div>
                        {{/each}}
                    </div>
                </div>
            </div>
            {{/if}}
            {{#if cards.length}}
            <div class="grid-x grid-padding-x">
                <div class="cell">
                    <h2 class="navigation-search-panel__cards-title">{{cardsTitle}}</h2>
                </div>
            </div>
            <div class="grid-x grid-padding-x">
                {{#each cards}}
                <div class="cell small-6 medium-3 navigation-search-panel__card-container">
                    {{> @cp-card-standard hideTeaser=true }}
                </div>
                {{/each}}
            </div>
            {{/if}}
        </div>
    </div>
</div>