<?php
/**
* The template for displaying search results pages.
*
* @package luzuk
*/

get_header(); ?>
<header class="page-main-header">
<div class="overlay"></div>
	<div class="inn-header-img" <?php  if (!empty($image)) : ?>
             style="background: url('<?php echo esc_url($image); ?>'); background-repeat: no-repeat; background-size:cover; position: absolute; background-position: center;   background-attachment: fixed;" <?php endif ?>></div>
	<div class="container">
		<h1 class="ht-main-title wow zoomIn"><?php printf( esc_html__( 'Search Results for: %s', 'total' ), '<span>' . get_search_query() . '</span>' ); ?></h1>
		<?php do_action( 'total_breadcrumbs' ); ?>
		<div class="clearfix"></div>
	</div>
	<div class="breadcrumbbox wow zoomIn">
	<div class="container">
		<?php luzuk_lite_the_breadcrumb(); ?>
	</div>
</div>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="1500" height="189.947" viewBox="0 0 1500 189.947">
  <defs>
    <linearGradient id="linear-gradient" x1="0.993" y1="0.621" x2="0.007" y2="0.631" gradientUnits="objectBoundingBox">
      <stop offset="0" stop-color="#ffa200"/>
      <stop offset="1" stop-color="#ff6f00"/>
    </linearGradient>
  </defs>
  <path id="Rectangle_1" data-name="Rectangle 1" d="M88,942.061H1186.795c51.628,0,145.778-144.536,234.521-135.975h166.568l-.625,171.277H88Z" transform="translate(-87.884 -800.72)" fill-rule="evenodd" fill="url(#linear-gradient)"/>
  <path id="Rectangle_1-2" data-name="Rectangle 1" d="M90,945.835H1210.6c51.8,0,140.946-139.307,229.987-130.746H1590V979.829H90.116Z" transform="translate(-90 -789.882)" fill="#222a35" fill-rule="evenodd"/>
</svg>
</header><!-- .entry-header -->

<main id="innerpage-box">
	<div class="container">
		  <div class="inner_contentbox">
		<div id="content-box" class="col-md-9 innerpage-whitebox">
			<?php if ( have_posts() ) : ?>
				<?php /* Start the Loop */ ?>
				<?php while ( have_posts() ) : the_post(); ?>
					<?php
					/**
					 * Run the loop for the search to output the results.
					 * If you want to overload this in a child theme then include a file
					 * called content-search.php and that will be used instead.
					 */
					get_template_part( 'template-parts/content', 'search' );
					?>
				<?php endwhile; ?>
				<?php 
				the_posts_pagination( 
					array(
						'prev_text' => __( 'Prev', 'total' ),
						'next_text' => __( 'Next', 'total' ),
					)
				); 
				?>
			<?php else : ?>
			<?php get_template_part( 'template-parts/content', 'none' ); ?>
			<?php endif; ?>
		</div><!-- #main -->
		<div class="col-md-3">
			<?php  get_sidebar(); ?>
		</div>
		<div class="clearfix"></div>
		<div class="row">
			<div class="col-md-12">
				<div class="pagingation">
					<?php lzGetPagination($query);?>
				</div>
			</div>
		</div>
		<div class="clearfix"></div>
	</div>
		<div class="clearfix"></div>
	</div>
</main><!-- #primary -->
<?php get_footer();
