<?php $page='News'; define('BASE','../'); require __DIR__.'/../includes/header.php'; require __DIR__.'/../includes/hero.php';
hero('News', 'News', $FACULTY['tagline'], '../assets/images/hero.jpg', $FACULTY['primary']);
?>
<section class="max-w-6xl mx-auto px-4 py-16">
<h2 class="font-serif text-3xl font-bold">News</h2>
<div class="mt-8 space-y-6">
  <?php foreach($NEWS as $n): ?>
  <article class="border rounded-xl p-6 bg-white">
    <p class="text-xs uppercase tracking-widest" style="color: <?= $FACULTY['primary'] ?>"><?= $n['date'] ?></p>
    <h3 class="mt-2 font-serif text-xl font-semibold"><?= htmlspecialchars($n['title']) ?></h3>
    <p class="mt-2 text-slate-600"><?= htmlspecialchars($n['excerpt']) ?></p>
  </article>
  <?php endforeach; ?>
</div>
</section>
<?php require __DIR__.'/../includes/footer.php'; ?>
