<?php if (isset($component)) { $__componentOriginal61141943053f09b1aa6378714ef2c661 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginal61141943053f09b1aa6378714ef2c661 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.front-layout','data' => []] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('front-layout'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes([]); ?>
  <?php if (isset($component)) { $__componentOriginalfad9b1da39992cf54ab46b77180bebb1 = $component; } ?>
<?php if (isset($attributes)) { $__attributesOriginalfad9b1da39992cf54ab46b77180bebb1 = $attributes; } ?>
<?php $component = Illuminate\View\AnonymousComponent::resolve(['view' => 'components.front.page-hero','data' => ['eyebrow' => 'Insights','title' => 'News','description' => 'Catch the latest updates on program changes, policy announcements, and important developments in global mobility.','image' => 'https://images.unsplash.com/photo-1495020689067-958852a7765e?auto=format&fit=crop&w=1600&q=80','imageAlt' => 'Global news and media workspace','meta' => ['Policy Updates', 'Program Changes', 'Market Developments']]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? $attributes->all() : [])); ?>
<?php $component->withName('front.page-hero'); ?>
<?php if ($component->shouldRender()): ?>
<?php $__env->startComponent($component->resolveView(), $component->data()); ?>
<?php if (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag): ?>
<?php $attributes = $attributes->except(\Illuminate\View\AnonymousComponent::ignoredParameterNames()); ?>
<?php endif; ?>
<?php $component->withAttributes(['eyebrow' => 'Insights','title' => 'News','description' => 'Catch the latest updates on program changes, policy announcements, and important developments in global mobility.','image' => 'https://images.unsplash.com/photo-1495020689067-958852a7765e?auto=format&fit=crop&w=1600&q=80','imageAlt' => 'Global news and media workspace','meta' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(['Policy Updates', 'Program Changes', 'Market Developments'])]); ?>
<?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginalfad9b1da39992cf54ab46b77180bebb1)): ?>
<?php $attributes = $__attributesOriginalfad9b1da39992cf54ab46b77180bebb1; ?>
<?php unset($__attributesOriginalfad9b1da39992cf54ab46b77180bebb1); ?>
<?php endif; ?>
<?php if (isset($__componentOriginalfad9b1da39992cf54ab46b77180bebb1)): ?>
<?php $component = $__componentOriginalfad9b1da39992cf54ab46b77180bebb1; ?>
<?php unset($__componentOriginalfad9b1da39992cf54ab46b77180bebb1); ?>
<?php endif; ?>

  <section class="section-shell py-24 px-4 bg-white dark:bg-background-dark">
    <div class="max-w-7xl mx-auto">
      <div class="text-center mb-16">
        <h2 class="text-3xl md:text-4xl font-black text-secondary dark:text-white mb-4">Latest News</h2>
        <div class="w-20 h-1.5 bg-primary mx-auto rounded-full"></div>
      </div>

      <div class="grid grid-cols-1 gap-8 md:grid-cols-2 lg:grid-cols-3">
        <?php $__currentLoopData = $posts; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $post): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
          <article class="group navy-card rounded-2xl overflow-hidden flex flex-col transition-all duration-300">
            <a href="<?php echo e(route('front.single-news', $post['slug'])); ?>" class="block h-48 overflow-hidden">
              <img
                alt="<?php echo e($post['hero_alt']); ?>"
                class="w-full h-full object-cover group-hover:scale-105 transition-transform duration-500"
                src="<?php echo e($post['hero_image']); ?>" />
            </a>
            <div class="p-6 flex-grow flex flex-col">
              <div class="flex items-center justify-between gap-3 text-xs font-bold uppercase tracking-widest mb-3">
                <span class="text-primary"><?php echo e($post['date']); ?></span>
                <span class="text-accent"><?php echo e($post['category']); ?></span>
              </div>
              <h3 class="text-lg font-bold text-secondary dark:text-white mb-3 group-hover:text-primary transition-colors line-clamp-2">
                <a href="<?php echo e(route('front.single-news', $post['slug'])); ?>">
                  <?php echo e($post['title']); ?>

                </a>
              </h3>
              <p class="text-slate-500 dark:text-slate-400 text-sm mb-6 line-clamp-3"><?php echo e($post['excerpt']); ?></p>
              <a class="mt-auto flex items-center gap-2 text-primary font-bold text-sm group/btn" href="<?php echo e(route('front.single-news', $post['slug'])); ?>">
                Read More <span class="material-symbols-outlined text-sm group-hover/btn:translate-x-1 transition-transform">arrow_forward</span>
              </a>
            </div>
          </article>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
      </div>
    </div>
  </section>
 <?php echo $__env->renderComponent(); ?>
<?php endif; ?>
<?php if (isset($__attributesOriginal61141943053f09b1aa6378714ef2c661)): ?>
<?php $attributes = $__attributesOriginal61141943053f09b1aa6378714ef2c661; ?>
<?php unset($__attributesOriginal61141943053f09b1aa6378714ef2c661); ?>
<?php endif; ?>
<?php if (isset($__componentOriginal61141943053f09b1aa6378714ef2c661)): ?>
<?php $component = $__componentOriginal61141943053f09b1aa6378714ef2c661; ?>
<?php unset($__componentOriginal61141943053f09b1aa6378714ef2c661); ?>
<?php endif; ?>
<?php /**PATH /home/mongizzc/projects3/across_Immigration/resources/views/front/news.blade.php ENDPATH**/ ?>