
        /* CSS Khusus Halaman Berita */
        .page-header {
            background: linear-gradient(135deg, rgba(6, 78, 59, 0.9) 0%, rgba(15, 23, 42, 0.85) 100%), url('../images/Sekolah.jpg') no-repeat center center/cover;
            padding: 160px 0 80px;
            text-align: center;
            color: var(--white);
        }

        .page-header h1 {
            font-size: 3rem;
            color: var(--white);
            margin-bottom: 10px;
        }

        .page-header p {
            font-size: 1.1rem;
            opacity: 0.9;
            max-width: 700px;
            margin: 0 auto;
        }

        /* Grid Berita */
        .news-section {
            padding: 80px 0;
            background-color: var(--light-bg);
        }

        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
            gap: 40px;
            margin-top: 40px;
        }

        /* Desain Kartu Berita */
        .news-card {
            background: var(--white);
            border-radius: 16px;
            overflow: hidden;
            box-shadow: var(--shadow-soft);
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            display: flex;
            flex-direction: column;
            border: 1px solid rgba(0, 0, 0, 0.03);
        }

        .news-card:hover {
            transform: translateY(-12px);
            box-shadow: 0 25px 50px rgba(4, 120, 87, 0.15);
        }

        /* Thumbnail Gambar Berita */
        .news-img-wrapper {
            position: relative;
            width: 100%;
            height: 220px;
            overflow: hidden;
            background-color: var(--dark-navy);
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .news-img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.6s ease;
            opacity: 0.8;
        }

        .news-card:hover .news-img {
            transform: scale(1.1);
            opacity: 1;
        }

        /* Label Kategori Media */
        .news-badge {
            position: absolute;
            top: 20px;
            left: 20px;
            padding: 6px 15px;
            border-radius: 30px;
            color: white;
            font-size: 0.8rem;
            font-weight: 600;
            letter-spacing: 1px;
            z-index: 2;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
        }

        .badge-halloriau {
            background: #2563eb;
        }

        /* Biru */
        .badge-metroriau {
            background: #16a34a;
        }

        /* Hijau */
        .badge-bertuah {
            background: #ea580c;
        }

        /* Oranye */
        .badge-youtube {
            background: #dc2626;
        }

        /* Merah YouTube */
        .badge-riaupos {
            background: #0f172a;
            border: 1px solid var(--gold);
        }

        /* Navy Gold */

        /* Konten Teks Berita */
        .news-content {
            padding: 30px 25px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .news-date {
            font-size: 0.85rem;
            color: var(--text-light);
            margin-bottom: 10px;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .news-title {
            font-size: 1.25rem;
            color: var(--dark-navy);
            margin-bottom: 15px;
            line-height: 1.5;
            font-weight: 700;
            transition: var(--transition);
        }

        .news-card:hover .news-title {
            color: var(--primary);
        }

        .news-excerpt {
            font-size: 0.95rem;
            color: var(--text-light);
            margin-bottom: 25px;
            line-height: 1.6;
            flex-grow: 1;
        }

        /* Tombol Baca */
        .read-more {
            display: inline-flex;
            align-items: center;
            gap: 8px;
            color: var(--primary);
            font-weight: 600;
            text-decoration: none;
            transition: var(--transition);
            font-size: 0.95rem;
        }

        .read-more i {
            transition: transform 0.3s ease;
        }

        .read-more:hover {
            color: var(--gold);
        }

        .read-more:hover i {
            transform: translateX(5px);
        }

        /* Icon Play untuk Video YouTube */
        .play-icon {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            font-size: 3.5rem;
            color: white;
            z-index: 3;
            opacity: 0.9;
            filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.5));
            pointer-events: none;
        }
    
