

    body { background-color: var(--bg-light); }

    /* --- Animations --- */
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
    }
    .reveal.active {
        opacity: 1;
        transform: translateY(0);
    }

    /* --- News Header --- */
    .news-header {
        padding: 160px 5% 80px;
        background: linear-gradient(180deg, var(--bg-light) 0%, #ffffff 100%);
        text-align: center;
        border-bottom: 1px solid #f1f5f9;
    }

    /* --- Sticky Category Nav --- */
    .category-nav {
        position: sticky;
        top: 80px; 
        z-index: 40;
        background: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        border-bottom: 1px solid rgba(0,0,0,0.05);
        padding: 20px 0;
    }

    .cat-pill {
        padding: 10px 28px;
        border-radius: 100px;
        background: white;
        border: 1px solid #e2e8f0;
        font-size: 14px;
        font-weight: 800;
        color: var(--text-muted);
        transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        cursor: pointer;
        white-space: nowrap;
        box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    }

    .cat-pill:hover, .cat-pill.active {
        background: var(--alsalam-green);
        color: white;
        border-color: var(--alsalam-green);
        box-shadow: 0 10px 25px rgba(0, 104, 55, 0.2);
        transform: translateY(-2px);
    }

    /* --- Featured Article --- */
    .featured-news {
        display: flex;
        flex-direction: column;
        background: white;
        border-radius: 32px;
        overflow: hidden;
        border: 1px solid #e2e8f0;
        margin-bottom: 80px;
        transition: 0.5s;
        box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    }

    @media (min-width: 1024px) {
        .featured-news { flex-direction: row; }
        .featured-img-wrap { width: 55%; }
        .featured-content { width: 45%; }
    }

    .featured-news:hover {
        box-shadow: 0 30px 60px rgba(0,0,0,0.08);
        transform: translateY(-5px);
        border-color: rgba(0, 104, 55, 0.2);
    }

    .featured-img-wrap {
        position: relative;
        overflow: hidden;
        min-height: 350px;
    }

    .featured-img {
        position: absolute;
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.8s ease;
    }

    .featured-news:hover .featured-img { transform: scale(1.05); }

    /* --- News Grid Cards --- */
    .news-card {
        background: white;
        border-radius: 24px;
        overflow: hidden;
        border: 1px solid #e2e8f0;
        transition: all 0.4s ease;
        height: 100%;
        display: flex;
        flex-direction: column;
        box-shadow: 0 4px 15px rgba(0,0,0,0.02);
    }

    .news-card:hover {
        border-color: var(--alsalam-green);
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 104, 55, 0.08);
    }

    .img-container {
        width: 100%;
        height: 220px;
        overflow: hidden;
        position: relative;
    }

    .news-card-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .news-card:hover .news-card-img {
        transform: scale(1.1);
    }

    .news-tag {
        font-size: 11px;
        font-weight: 900;
        text-transform: uppercase;
        color: var(--alsalam-green);
        background: var(--alsalam-green-soft);
        padding: 6px 14px;
        border-radius: 8px;
        display: inline-block;
        margin-bottom: 16px;
        letter-spacing: 0.5px;
    }

    .line-clamp-2 {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;  
        overflow: hidden;
    }
    .line-clamp-3 {
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;  
        overflow: hidden;
    }

    .read-more-link {
        display: inline-flex;
        align-items: center;
        gap: 8px;
        color: var(--alsalam-green);
        font-weight: 800;
        font-size: 13px;
        transition: 0.3s;
    }

    .read-more-link i { transition: transform 0.3s; }
    .news-card:hover .read-more-link i, 
    .featured-news:hover .read-more-link i {
        transform: translateX(-6px);
    }

    .page-link {
        width: 45px;
        height: 45px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 14px;
        background: white;
        border: 1px solid #e2e8f0;
        font-weight: 800;
        color: var(--text-dark);
        transition: 0.3s;
    }

    .page-link:hover {
        border-color: var(--alsalam-green);
        color: var(--alsalam-green);
    }

    .page-link.active {
        background: var(--alsalam-green);
        color: white;
        border-color: var(--alsalam-green);
        box-shadow: 0 8px 20px rgba(0, 104, 55, 0.2);
    }

    .no-scrollbar::-webkit-scrollbar { display: none; }
    .no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

