<?php
/**
 * The template for displaying search results pages
 *
 * @link https://developer.wordpress.org/themes/basics/template-hierarchy/#search-result
 *
 * @package AI Services
 */
get_header(); ?>

    <div id="skip-content" >
        <div class="feature-header">
            <div class="feature-post-thumbnail">
                <div class="slider-alternate">
                  <img src="<?php echo get_stylesheet_directory_uri() . '/assets/img/banner.png'; ?>">
                </div>
                <h1 class="post-title feature-header-title"><?php esc_html_e('Search Result','ai-services'); ?></h1>
            </div>
        </div>
        <div class="container">
            <div id="primary" class="content-area">
                <main id="main" class="site-main module-border-wrap mb-4">
                    <div class="row">
                        <?php if (have_posts()) { ?>
                            
                            <?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/patterns');

                        }else {

                            get_template_part('template-parts/content', 'none');

                        } ?>
                    </div>
                </main>
            </div>
        </div>
    </div>

<?php get_footer();