  <div class="content">
                <div>
                    <section>
                        <div class="section-news text-center">
                            <img alt="" src="images/demo-banner.jpg">
                        </div>
                    </section>
                </div>
                <div>
                    <section class="section-news section">
                        <div class="container">
                            <article class="post">
                                <div class="row">
                                    <div class="col-md-10 col-lg-10 col-md-offset-1 col-lg-offset-1 text-center">
                                        
                                        <!-- Publisher name and date -->
                                        <div class="posted-on mb-4">
                                            <a class="url fn n" href="javascript:;"><?= $rec['publisher_name'] ?></a> 
                                            on <?= date('M jS, Y', strtotime($rec['publish_date'])) ?>
                                        </div>

                                        <!-- Perfectly centered image -->
                                        <div class="mb-4 mt-4 mx-auto">
                                            <img 
                                                src="<?=base_url('public/uploads/'.$rec['photo_image'])?>" 
                                                alt="Post Image" 
                                                class="img-fluid mx-auto w-100"
                                            >
                                        </div>
                                    </div>
                                </div>

                                <!-- Entry content -->
                                <div class="entry-content pt-4">
                                    <div class="row">
                                        <div class="col-sm-10 col-lg-10 col-sm-offset-1 col-lg-offset-1">
                                            <h3 class="entry-description"><?= $rec['title'] ?></h3>
                                            <?= $rec['description'] ?>
                                        </div>
                                    </div>
                                </div>
                            </article>


                        </div>
                    </section>
                </div>
            </div>