<?php get_header(); ?>
<!--who us-->
<div class="clearfix"></div>
 
<div class="single_service">
    <div class="container">
        <h2 class="main-header">
            <?php echo post_type_archive_title();?>
        </h2>
        <div class="single-research">
            <div class="row">
                <?php if ( have_posts() ) : while ( have_posts() ) : the_post(); ?>


                    <div class="col-lg-4 mb-4">
                        <div class="news-item">
                            <img src="<?php echo wp_get_attachment_url(get_post_thumbnail_id($post->ID)); ?>"
                                 alt="<?php the_title(); ?>"
                                 title="<?php the_title(); ?>"
                                 class="img-fluid">
                            <h3>
                                <?php the_title(); ?>
                            </h3>
                            <p>
                                <?php
                                echo wp_trim_words( get_the_content(), 25, ' ... ' );
                                ?>
                            </p>
                            <a href="<?php the_permalink(); ?>">
                                <i class="fa-solid fa-arrow-left-long"></i>
                            </a>
                        </div>
                    </div>



                <?php endwhile; else : endif;
                wp_reset_query(); ?>
            </div>
            <?php wp_pagenavi(); ?>

        </div>

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