<?php require_once __DIR__ . '/includes/public_bootstrap.php'; $news=ugfx_news(); ugfx_public_header('Underground FX News'); ?>
<section class="page-hero"><div class="container-xxl"><div class="glass-panel page-hero-card"><h1>Station news</h1><p>Station updates, promos, announcements and fresh pushes all land here with the same artwork and card system the home page uses.</p></div></div></section>
<section class="pb-5"><div class="container-xxl"><div class="row g-4"><?php foreach($news as $item): ?><div class="col-lg-4"><article class="news-card"><img class="story-image" src="<?= htmlspecialchars($item['image']) ?>" alt="<?= htmlspecialchars($item['title']) ?>"><div class="news-meta"><span class="meta-pill"><?= htmlspecialchars($item['tag']) ?></span><span class="meta-pill"><?= htmlspecialchars($item['date']) ?></span></div><h2 class="h4"><?= htmlspecialchars($item['title']) ?></h2><p class="text-secondary"><?= htmlspecialchars($item['summary']) ?></p></article></div><?php endforeach; if(empty($news)): ?><div class="col-12"><div class="story-card">No Underground FX news has been published yet.</div></div><?php endif; ?></div></div></section><?php ugfx_public_footer(); ?>
