    <main>
        <!-- Home Top Start -->
        <section id="home-top">
            <div class="container">
                <div class="title pb-0">
                    <h2>
                    <svg width="15" height="1" viewBox="0 0 15 1" fill="none" xmlns="http://www.w3.org/2000/svg">
                        <line y1="0.5" x2="15" y2="0.5" stroke="#2E4468"></line>
                    </svg>
                    Blog</h2>
                    <p><?php echo $data_resultss["baslik"];?></p>
                </div>
            </div>
        </section>
        <!-- Home Top End -->
        <!-- blog Text -->
        <section id="blog-text" class="pb-0">
            <div class="container">
                <div class="text-wrapper">
                    <div class="text-img" style="max-width:100%; ">
                        <img src="<?=$site;?>upload/blog/<?php echo $data_resultss["gorsel"];?>" alt="" style="width:100%;height:300px; object-fit: cover; max-width: 600px;">
                    </div>
                    <div class="text-container">
                    <p>  <?php echo str_replace("rgb(0, 0, 0)","var(--theme_color_3);",str_replace("#000000","var(--theme_color_3);",html_entity_decode($data_resultss["aciklama"])));?></p>
                    </div>
                </div>
            </div>
        </section>
        <!-- blog Text -->
        <!-- Blog -->
        <section id="blog" class="p_60">
            <div class="container">
                <div class="title lastposts">
                    <h2>
                    <svg width="15" height="1" viewBox="0 0 15 1" fill="none" xmlns="http://www.w3.org/2000/svg">
                        <line y1="0.5" x2="15" y2="0.5" stroke="#2E4468"/>
                        </svg>
                    <?php echo explode("~",$sayfa["Blog Başlık Bölüm"])[0];?></h2>
                    <p>
                        Son Yazılar
                    </p>
                </div>
                <div class="blog_area row">
                    <?php 			$say=0;		 $query = bloglar();
                            while ($data = $query->fetch(PDO::FETCH_OBJ)) {
                            if($say>=4){
                                break;
                            }
                            $say++;
                        ?>
                    <div class="col-sm-6 col-lg-3 blog_item">
                        <div class="blog_content">
                            <a class="blog_img" href="<?php echo $site;?>blog/<?php echo $data->url;?>">
                                <img class="img-fluid lazy" src="<?=$site;?>upload/blog/<?php echo $data->gorsel;?>"
                                    data-src="<?=$site;?>upload/blog/<?php echo $data->gorsel;?>" alt="">
                            </a>
                            <div class="blog_body">
                                <div class="blog_name">
                                    <a href="<?php echo $site;?>blog/<?php echo $data->url;?>">
                                        <?php echo kisalt(strip_tags(html_entity_decode($data->baslik)),54);?>
                                    </a>
                                </div>
                                <div class="blog_previewtext">
                                    <h6>
                                        <?php echo kisalt(strip_tags(html_entity_decode($data->aciklama)),96);?>
                                    </h6>
                                </div>
                                <a href="<?php echo $site;?>blog/<?php echo $data->url;?>" class="readmore">
                                    Devamını Oku
                                </a>
                            </div>
                        </div>
                    </div>
                    <?php } ?>
                </div>
            </div>
        </section>
        <!-- .blog -->
