<?php get_header();  ?>

    <main class="main-layout">

<?php get_sidebar('left'); ?>
<?php get_sidebar('right'); ?>

    <div class="layout__style">
    <div class="layout__style_cnt">
        <div class="layout__head">
            <h1>Результаты поиска</h1>
        </div>
        <div class="games-vin__flex">
            <?php while (have_posts()):the_post(); ?>
                <?php get_template_part('loop/post_item') ?>
            <?php endwhile; ?>
        </div>

        <!-- Archive Navigation Start -->
        <?php
        the_posts_pagination(array(
            'end_size' => 1,
            'prev_text' => '<',
            'next_text' => '>',
            'screen_reader_text' => ' ',
            'before_page_number' => ' '
        ));
        ?>
        <!-- Archive Navigation End -->


        <div class="layout__text">
            <?php echo category_description(); ?>

        </div>
    </div>
<?php get_footer();  ?>