@php
            $items = DB::table('content_public_holidays')->where('public_holiday_status', 'ACTIVE')->orderBy('public_holiday_start_date')->get();
            $months = ['', 'Januari', 'Februari', 'Mac', 'April', 'Mei', 'Jun', 'Julai', 'Ogos', 'September', 'Oktober', 'November', 'Disember'];
            $grouped = [];
            foreach ($items as $h) {
                $m = date('n', strtotime($h->public_holiday_start_date));
                $grouped[$m][] = $h;
            }
            @endphp
            @if($items->count())
            <section class="holiday-section"><div class="container">
            <div class="holiday-header">
            <span class="holiday-badge">Cuti Umum</span>
            <h1 class="holiday-title">Cuti Umum 2026</h1>
            <p class="holiday-subtitle">Senarai cuti umum dan perayaan bagi tahun semasa.</p>
            </div>
            <div class="holiday-list">
            @foreach($grouped as $m => $hols)
            <div class="holiday-month">
            <h2 class="holiday-month-title">{{ $months[$m] ?? $m }}</h2>
            @foreach($hols as $h)
            <div class="holiday-item">
            <div class="holiday-date-box">
            <span class="holiday-day">{{ date('d', strtotime($h->public_holiday_start_date)) }}</span>
            </div>
            <div class="holiday-info">
            <span class="holiday-name">{{ $h->public_holiday_title }}</span>
            <span class="holiday-range">@if($h->public_holiday_start_date === $h->public_holiday_end_date){{ date('d M Y', strtotime($h->public_holiday_start_date)) }}@else{{ date('d M', strtotime($h->public_holiday_start_date)) }} - {{ date('d M Y', strtotime($h->public_holiday_end_date)) }}@endif</span>
            </div>
            </div>
            @endforeach
            </div>
            @endforeach
            </div>
            </div></section>
            <style>
            .holiday-section{padding:60px 0 80px;background:var(--gray-50);min-height:60vh;}
            .holiday-header{text-align:center;margin-bottom:50px;}
            .holiday-badge{display:inline-block;background:var(--accent-light);color:var(--accent);padding:6px 16px;border-radius:999px;font-size:.75rem;font-weight:600;margin-bottom:16px;}
            .holiday-title{font-size:2rem;font-weight:700;color:var(--gray-900);margin:0 0 12px;}
            .holiday-subtitle{color:var(--gray-400);font-size:1rem;margin:0;}
            .holiday-list{max-width:700px;margin:0 auto;display:flex;flex-direction:column;gap:30px;}
            .holiday-month{}
            .holiday-month-title{font-size:1.1rem;font-weight:600;color:var(--gray-900);margin:0 0 12px;padding-bottom:8px;border-bottom:2px solid var(--gray-200);}
            .holiday-item{display:flex;align-items:center;gap:16px;background:var(--white);padding:14px 18px;border-radius:12px;border:1px solid var(--gray-200);margin-bottom:8px;transition:box-shadow .2s;}
            .holiday-item:hover{box-shadow:var(--shadow-md);}
            .holiday-date-box{width:48px;height:48px;display:flex;align-items:center;justify-content:center;background:var(--accent-light);color:var(--accent);border-radius:10px;font-size:1.1rem;font-weight:700;flex-shrink:0;}
            .holiday-info{flex:1;}
            .holiday-name{display:block;font-size:.9rem;font-weight:500;color:var(--gray-800);margin-bottom:2px;}
            .holiday-range{font-size:.78rem;color:var(--gray-400);}
            @media(max-width:768px){.holiday-section{padding:30px 0 50px;}.holiday-title{font-size:1.4rem;}.holiday-item{padding:12px 14px;}}
            @media(max-width:480px){.holiday-title{font-size:1.2rem;}}
            </style>
            @else
            <section style="padding:80px 0;text-align:center;background:var(--gray-50);min-height:50vh;"><div class="container"><i class="fas fa-calendar-alt" style="font-size:3rem;color:var(--gray-300);margin-bottom:20px;"></i><h2 style="color:var(--gray-500);font-weight:500;font-size:1.2rem;">Tiada Cuti Umum</h2><p style="color:var(--gray-400);margin:10px 0 30px;">Tiada data cuti umum buat masa ini.</p><a href="/{{ $siteSlug }}" style="display:inline-flex;align-items:center;gap:8px;padding:12px 24px;background:var(--primary);color:white;border-radius:10px;text-decoration:none;font-size:.85rem;"><i class="fas fa-arrow-left"></i> Kembali</a></div></section>
            @endif
            