{% if (Mode == 'search_entry_box' or Mode == 'search_entry_box_show_always') and (Project_Search_Results or Project_Search_No_Results) %}
    {% set Column = Column + 1 %}
    <div id="{{Container_Id}}_project_results" class="column_{{Column}} column column_project">
{% endif %}

{% if (Mode == 'search_entry_box' or Mode == 'search_entry_box_show_always') and Project_Column_Heading_Text and not Project_Search_No_Results %}
    <span class="column_title">{{Project_Column_Heading_Text|e}}</span>
{% endif %}

{% if Project_Search_Results %}
    {% include advancedSearchCoreFrameworksPath ~ 'includes/populate_results_loop.twig.html' with {'Type': Project_Search_Results} %}
    
    {% if (Mode == 'search_entry_box' or Mode == 'search_entry_box_show_always') %}
    	{% if Project_And_X_More_Results_Phrase %}
    		<p class="more_results">{{Project_And_X_More_Results_Phrase}}</p>
    	{% endif %}
    {% endif %}
{% endif %}

{% if Project_Search_No_Results %}
    <div class="search_no_results">
        <p>{{Project_No_Results_Text|e}}</p>
    </div>
{% endif %}

{% if (Mode == 'search_entry_box' or Mode == 'search_entry_box_show_always') and (Project_Search_Results or Project_Search_No_Results) %}
    </div>
{% endif %}