<?php $__env->startSection('content'); ?>

<section class="event-detail-section py-5">
    <div class="container-fluid">
        <div class="row justify-content-center">
            <div class="col-lg-8">
                <!-- News Header -->
                <div class="event-header mb-5">
                    <div class="d-flex align-items-center mb-3">
                        <span class="badge bg-primary me-3">News</span>
                    </div>
                    <h1 class="display-5 fw-bold mb-4"><?php echo e($data->news_title); ?></h1>
                    <div class="d-flex align-items-center">
                        <div class="avatar-sm me-3">
                            <span class="avatar-title bg-light text-dark rounded-circle">
                                <i class="fas fa-newspaper"></i>
                            </span>
                        </div>
                        <div>
                            <p class="mb-0 fw-medium">Posted by American Plastics</p>
                            <p class="mb-0 text-muted small"><?php echo e($data->created_at->format('F j, Y')); ?></p>
                        </div>
                    </div>
                </div>

                <!-- Featured Image -->
                <div class="event-featured-image mb-5">
                    <img src="<?php echo e(asset('admin/assets/img/news/' . $data->news_image)); ?>"
                         alt="<?php echo e($data->news_title); ?>"
                         class="img-fluid rounded-4 shadow-lg w-100">
                </div>

                <!-- News Content -->
                <div class="event-content mb-5">
                    <div class="content-text">
                        <p class="lead"><?php echo e(Str::limit($data->description, 200)); ?></p>
                        <div class="py-4">
                            <?php echo $data->description; ?>

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

                <!-- News Tags -->
                <div class="card border-0 shadow-sm rounded-4 mb-5">
                    <div class="card-body p-4">
                        <h5 class="card-title fw-bold mb-4">Tags</h5>
                        <div>
                            <a href="#" class="badge bg-secondary me-2">Plastic Industry</a>
                            <a href="#" class="badge bg-secondary me-2">Manufacturing</a>
                            <a href="#" class="badge bg-secondary me-2">Innovation</a>
                        </div>
                    </div>
                </div>

                <!-- Related News -->

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

<?php $__env->stopSection(); ?>

<?php $__env->startPush('styles'); ?>
<style>
    .event-detail-section {
        background-color: #f8f9fa;
    }

    .event-header {
        border-bottom: 1px solid #eee;
        padding-bottom: 1.5rem;
    }

    .event-featured-image {
        overflow: hidden;
        border-radius: 12px;
    }

    .event-content {
        line-height: 1.8;
        font-size: 1.1rem;
    }

    .avatar-sm {
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .card-img-top {
        height: 200px;
        object-fit: cover;
    }
</style>
<?php $__env->stopPush(); ?>




<?php echo $__env->make('web.home.layout.master', \Illuminate\Support\Arr::except(get_defined_vars(), ['__data', '__path']))->render(); ?><?php /**PATH /home/amerbofz/public_html/resources/views/web/home/newsevent/newsdetails.blade.php ENDPATH**/ ?>