<?php get_header(); ?>
<!-- MAIN CONTENT BLOCK -->
<section id="mainblock" class="blog-page mainblock">
	<div class="container">
		<?php do_action( 'tt_after_container_start' ); ?>
		<div class="row">

			<div class="blog-content <?php echo tt_temptt_sidebar_pos( 'content' ); ?>">

			<h1 class="section-title page-title"><?php esc_html_e( 'Search Results For: ', 'logiscargo' ); echo the_search_query(); ?></h1>
			<div class="blog-block">

			<?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>

				<?php get_template_part( 'content', get_post_format() ); ?>

			<?php endwhile; else : ?>

			<div class="align-center"><?php esc_html_e( 'We could not find anything for the search term: ', 'logiscargo' ); echo the_search_query(); ?></div>

			<?php endif; ?>
			</div>
			</div>

			<?php if ( function_exists( 'tt_temptt_get_sidebar' ) ) echo tt_temptt_get_sidebar(); ?>

		</div>

	</div>
</section>

<?php get_footer(); ?>