

<?php $__env->startSection('title', ($article->meta_title ?: $article->news_title) . ' | ' . config('app.name')); ?>
<?php $__env->startSection('meta_description', $article->meta_description ?: Str::limit(strip_tags($article->news_content_short), 155)); ?>
<?php $__env->startSection('meta_keywords', $article->meta_keyword ?? ''); ?>
<?php $__env->startSection('canonical', $article->canonical_url); ?>
<?php $__env->startSection('og_type', 'article'); ?>
<?php $__env->startSection('og_image', $article->photo_url); ?>
<?php $__env->startSection('article_author', $article->author->name ?? 'The Hindu Bureau'); ?>
<?php $__env->startSection('article_published', $article->published_at?->toIso8601String()); ?>
<?php $__env->startSection('article_section', $article->category->category_name ?? ''); ?>

<?php $__env->startSection('schema_json'); ?>
<script type="application/ld+json">
{
  "@context": "https://schema.org",
  "@type": "NewsArticle",
  "headline": "<?php echo e(addslashes($article->news_title_english ?: $article->news_title)); ?>",
  "description": "<?php echo e(addslashes(Str::limit(strip_tags($article->news_content_short_english ?: $article->news_content_short), 155))); ?>",
  "image": ["<?php echo e($article->photo_url); ?>"],
  "datePublished": "<?php echo e($article->published_at?->toIso8601String()); ?>",
  "dateModified": "<?php echo e($article->published_at?->toIso8601String()); ?>",
  "author": {
    "@type": "Person",
    "name": "<?php echo e($article->author->name ?? 'The Hindu Bureau'); ?>"
  },
  "publisher": {
    "@type": "Organization",
    "name": "<?php echo e(config('app.name', 'The Hindu')); ?>",
    "logo": {
      "@type": "ImageObject",
      "url": "<?php echo e(asset('img/thehindu-logo.svg')); ?>"
    }
  },
  "mainEntityOfPage": {
    "@type": "WebPage",
    "@id": "<?php echo e($article->canonical_url); ?>"
  },
  "articleSection": "<?php echo e($article->category->category_name_english ?? $article->category->category_name ?? ''); ?>"
}
</script>
<?php $__env->stopSection(); ?>

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



<div class="adver" aria-label="Advertisement">
  <img src="<?php echo e(asset('img/add3.jpg')); ?>" alt="Advertisement" loading="lazy" width="auto" height="auto">
</div>

<div class="detail-container">

  
  <div class="detail-left">

    
    <div class="detail-breadcrumb">
      <a href="<?php echo e(route('index')); ?>" title="Home">HOME</a>
      <?php if($category): ?>
      / <a href="<?php echo e(route('category.show', $category->slug)); ?>" title="<?php echo e($category->category_name); ?>"><?php echo e(strtoupper($category->category_name)); ?></a>
      <?php endif; ?>
      / <span><?php echo e(strtoupper(Str::limit($article->news_title, 50))); ?></span>
    </div>

    
    <h1 class="detail-title" itemprop="headline">
      <?php echo e($article->news_title); ?>

    </h1>

    
    <p class="detail-subtitle">
      <?php echo e(strip_tags($article->news_content_short)); ?>

    </p>

    
    <div class="detail-meta">
      <span class="published">
        <?php echo e($article->published_at ? 'Published - ' . $article->published_at->format('F d, Y') : ''); ?>

      </span>
      <?php if($article->author): ?>
      <span class="author"><?php echo ($article->author ? '<a href="'.route('author.show', $article->author->slug).'" class="author-link">'.strtoupper($article->author->name).'</a>' : '<span class="author-link-plain">THE HINDU BUREAU</span>'); ?></span>
      <?php endif; ?>
    </div>

    
    <div class="detail-actions">
      <button>🔖 Read Later</button>
    </div>

    
    <div class="detail-image">
      <img src="<?php echo e($article->photo_url); ?>"
           alt="<?php echo e($article->img_alt ?: $article->news_title); ?>"
           itemprop="image"
           loading="eager">
    </div>

    
    <div class="detail-content" itemprop="articleBody">
      <?php echo $article->news_content; ?>

    </div>

    
    <div class="detail-subscribe-box">
      <div class="detail-subscribe-content">
        <h2>Read this subscriber-exclusive article for free!</h2>
        <p>
          This is one of 500+ premium articles we publish monthly.
          <a href="#" title="Create a free account">Create a free account</a> and sample the best of our journalism now!
        </p>
        <p class="detail-login-text">
          Already a subscriber? <a href="#" title="Login to your account">login</a>
        </p>
        <button class="detail-subscribe-btn">
          SIGN UP/LOGIN TO UNLOCK
        </button>
        <p class="detail-learn-more">
          Learn more about The Hindu subscription
        </p>
      </div>
      <div class="detail-subscribe-logo">
        TH
      </div>
    </div>

    
    <?php if($mostRead->isNotEmpty()): ?>
    <div class="wrapperX">

      
      <div class="promoBoxZ">
        <div class="promoCloseBtn">✕</div>
        <div class="promoHeading">
          Don't let the best of journalism slip by!
        </div>
        <div class="promoText">
          From breaking news to definitive insights, catch the most critical stories from a reliable source.
        </div>
        <button class="promoBtn">SUBSCRIBE</button>
      </div>

      
      <div class="articleZone">
        <?php $__currentLoopData = $mostRead; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $mr): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
        <div class="metaLine">
          <?php echo e($mr->published_at ? strtoupper($mr->published_at->format('F d, Y H:i')) : ''); ?>

        </div>
        <div class="newsTitleX">
          <a href="<?php echo e($mr->canonical_url); ?>" title="<?php echo e($mr->news_title); ?>"><?php echo e($mr->news_title); ?></a>
        </div>
        <div class="newsParaX">
          <?php echo e(Str::limit(strip_tags($mr->news_content_short), 200)); ?>

        </div>
        <div class="sepLineX"></div>
        <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>

        
        <div class="adSectionWrap">
          <div class="adLabelTxt">Continue reading after this ADVERTISEMENT</div>
          <div class="adCardBox">AD SPACE</div>
        </div>
      </div>

    </div>
    <?php endif; ?>

  </div>


  
  <div class="detail-right">

    
    <div class="detail-ad">
      <img src="<?php echo e(asset('img/aad.jpg')); ?>" alt="Advertisement" loading="lazy">
    </div>

    
    <div class="detail-popular">
      <h3>Most Popular</h3>

      <?php $__currentLoopData = $latestSidebar; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $ls): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
      <div class="detail-popular-item">
        <a href="<?php echo e($ls->canonical_url); ?>" title="<?php echo e($ls->news_title); ?>">
          <img src="<?php echo e($ls->photo_url); ?>"
               alt="<?php echo e($ls->news_title); ?>"
               loading="lazy">
        </a>
        <p>
          <a href="<?php echo e($ls->canonical_url); ?>" title="<?php echo e($ls->news_title); ?>"><?php echo e(Str::limit($ls->news_title, 80)); ?></a>
        </p>
      </div>
      <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
    </div>

  </div>

</div>



<?php if($related->isNotEmpty()): ?>
<div class="newsShellX">

  <div class="sponTitleX">Related Articles</div>

  
  <div class="gridThreeX">
    <?php $__currentLoopData = $related->take(3); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $rel): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
    <div class="cardUnitX">
      <div class="thumbWrapX">
        <a href="<?php echo e($rel->canonical_url); ?>" title="<?php echo e($rel->news_title); ?>">
          <img src="<?php echo e($rel->photo_url); ?>"
               alt="<?php echo e($rel->news_title); ?>"
               loading="lazy">
        </a>
      </div>
      <div class="textWrapX">
        <div class="headLineX">
          <a href="<?php echo e($rel->canonical_url); ?>" title="<?php echo e($rel->news_title); ?>"><?php echo e(Str::limit($rel->news_title, 80)); ?></a>
        </div>
        <div class="metaInfoX">
          <?php echo ($rel->author ? '<a href="'.route('author.show', $rel->author->slug).'" class="author-link">'.strtoupper($rel->author->name).'</a>' : '<span class="author-link-plain">THE HINDU BUREAU</span>'); ?>

        </div>
      </div>
    </div>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
  </div>

  
  <?php if($related->count() > 3): ?>
  <div class="gridTwoX">
    <?php $__currentLoopData = $related->skip(3); $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $rel): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
    <div class="cardUnitX">
      <div class="thumbWrapX">
        <a href="<?php echo e($rel->canonical_url); ?>" title="<?php echo e($rel->news_title); ?>">
          <img src="<?php echo e($rel->photo_url); ?>"
               alt="<?php echo e($rel->news_title); ?>"
               loading="lazy">
        </a>
      </div>
      <div class="textWrapX">
        <div class="headLineX">
          <a href="<?php echo e($rel->canonical_url); ?>" title="<?php echo e($rel->news_title); ?>"><?php echo e(Str::limit($rel->news_title, 80)); ?></a>
        </div>
        <div class="metaInfoX">
          <?php echo ($rel->author ? '<a href="'.route('author.show', $rel->author->slug).'" class="author-link">'.strtoupper($rel->author->name).'</a>' : '<span class="author-link-plain">THE HINDU BUREAU</span>'); ?>

        </div>
      </div>
    </div>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
  </div>
  <?php endif; ?>

</div>
<?php endif; ?>



<?php
  $missed = \App\Models\News::with('category')
      ->where('news_id', '!=', $article->news_id)
      ->orderByDesc('news_id')
      ->take(8)
      ->get();
?>

<?php if($missed->isNotEmpty()): ?>
<div class="det-final-part-container">

  <h2 class="det-final-part-title">In Case You Missed It</h2>

  <div class="det-final-part-grid">
    <?php $__currentLoopData = $missed; $__env->addLoop($__currentLoopData); foreach($__currentLoopData as $m): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?>
    <div class="det-final-part-card">
      <a href="<?php echo e($m->canonical_url); ?>" title="<?php echo e($m->news_title); ?>">
        <img src="<?php echo e($m->photo_url); ?>"
             alt="<?php echo e($m->news_title); ?>"
             loading="lazy">
      </a>
      <p>
        <a href="<?php echo e($m->canonical_url); ?>" title="<?php echo e($m->news_title); ?>"><?php echo e(Str::limit($m->news_title, 80)); ?></a>
      </p>
    </div>
    <?php endforeach; $__env->popLoop(); $loop = $__env->getLastLoop(); ?>
  </div>

</div>
<?php endif; ?>

<?php $__env->stopSection(); ?>
<?php echo $__env->make('layouts.app', array_diff_key(get_defined_vars(), ['__data' => 1, '__path' => 1]))->render(); ?><?php /**PATH /home/myapiusa/public_html/ramshad/hindunews/resources/views/newsDetail.blade.php ENDPATH**/ ?>