<?php $__env->startSection('content'); ?>
    <main class="page-wrapper pt-0">
        <section class="blog-detail pt-80 pb-0">
            <div class="container">
                <div class="row gy-4">
                    <!-- Main Blog Content -->
                    <div class="col-lg-8">
                        <div class="blog-details-card">
                            <div class="blog-details-card__header">
                                <img class="blog-details__thumb"
                                    src="<?php echo e(frontendImage('blog', $blog->data_values->image, '966x560')); ?>"
                                    alt="<?php echo e(__($blog->data_values->title)); ?>">
                                <div class="blog-details__date">
                                    <span class="day"><?php echo e(showDateTime($blog->created_at, 'd')); ?></span>
                                    <span class="month"><?php echo e(showDateTime($blog->created_at, 'M')); ?></span>
                                </div>
                            </div>

                            <div class="blog-details-card__body">
                                <h4 class="blog-details__title"><?php echo e(__($blog->data_values->title)); ?></h4>
                                <div class="blog-details__desc">
                                    <?php echo $blog->data_values->description ?>
                                </div>
                            </div>

                            <div class="blog-details-card__footer">
                                <span class="title"><?php echo app('translator')->get('Share this post'); ?></span>
                                <ul class="social-list style-two">
                                    <li class="social-list__item">
                                        <a href="http://www.facebook.com/sharer.php?u=<?php echo e(urlencode(url()->current())); ?>&p[title]=<?php echo e(slug(@$blog->data_values->title)); ?>"
                                            class="social-list__link" target="_blank">
                                            <i class="fab fa-facebook-f"></i>
                                        </a>
                                    </li>
                                    <li class="social-list__item">
                                        <a href="http://twitter.com/share?text=<?php echo e(slug(@$blog->data_values->title)); ?>&url=<?php echo e(urlencode(url()->current())); ?>"
                                            class="social-list__link" target="_blank">
                                            <i class="fab fa-twitter"></i>
                                        </a>
                                    </li>
                                    <li class="social-list__item">
                                        <a href="https://www.linkedin.com/shareArticle?mini=true&url=<?php echo e(urlencode(url()->current())); ?>&title=<?php echo e(slug(@$blog->data_values->title)); ?>"
                                            class="social-list__link" target="_blank">
                                            <i class="fab fa-linkedin-in"></i>
                                        </a>
                                    </li>
                                    <li class="social-list__item">
                                        <a href="http://pinterest.com/pin/create/button/?url=<?php echo e(urlencode(url()->current())); ?>&description=<?php echo e(slug(@$blog->data_values->title)); ?>"
                                            class="social-list__link" target="_blank">
                                            <i class="fab fa-instagram"></i>
                                        </a>
                                    </li>
                                </ul>
                            </div>
                        </div>
                    </div>

                    <!-- Sidebar for Latest Posts -->
                    <div class="col-lg-4">
                        <div class="blog-details-sidebar">
                            <div class="blog-details-sidebar__header">
                                <h6 class="blog-details-sidebar__title"><?php echo app('translator')->get('Latest Posts'); ?></h6>
                            </div>
                            <div class="blog-details-sidebar__body">
                                <ul class="blog-list">
                                    <?php $__currentLoopData = $latestBlogs; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $latestBlog): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
                                        <li class="blog-list-item">
                                            <a class="blog-list-item__thumb"
                                                href="<?php echo e(route('blog.details', $latestBlog->slug)); ?>">
                                                <img src="<?php echo e(frontendImage('blog', $latestBlog->data_values->image, '320x190')); ?>"
                                                    alt="<?php echo e(__($latestBlog->data_values->title)); ?>">
                                            </a>
                                            <div class="blog-list-item__content">
                                                <h6 class="blog-list-item__title">
                                                    <a href="<?php echo e(route('blog.details', $latestBlog->slug)); ?>">
                                                        <?php echo e(strLimit(strip_tags($latestBlog->data_values->title), 55)); ?>

                                                    </a>
                                                </h6>
                                                <a class="blog-list-item__more"
                                                    href="<?php echo e(route('blog.details', $latestBlog->slug)); ?>">
                                                    <span><?php echo app('translator')->get('Read more'); ?></span>
                                                    <i class="fa-solid fa-arrow-right-long"></i>
                                                </a>
                                            </div>
                                        </li>
                                    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
                                </ul>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </section>
    </main>

    <?php echo $__env->make('Template::partials.down_ad', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?>
<?php $__env->stopSection(); ?>

<?php $__env->startPush('fbComment'); ?>
    <?php echo loadExtension('fb-comment') ?>
<?php $__env->stopPush(); ?>


<?php $__env->startPush('style'); ?>
    <style>
        blockquote {
            font-style: italic;
            text-align: center;
            padding: 20px;
            background: hsl(var(--base)/0.1);
            font-weight: 500;
            font-size: 18px;
            border-left: 4px solid hsl(var(--base));
            border-radius: 4px 2px 2px 4px;
        }
    </style>
<?php $__env->stopPush(); ?>

<?php echo $__env->make('Template::layouts.frontend', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/mojibor/work.mojibor.com/core/resources/views/templates/basic/blog_details.blade.php ENDPATH**/ ?>