
       

     
      

        .news-header {
            background: linear-gradient(45deg, #152C47, #1a365d);
            color: white;
            padding: 25px;
            margin-bottom: 25px;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(21, 44, 71, 0.2);
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .news-header h1 {
            margin: 0;
            font-size: 1.8rem;
            font-weight: 700;
            letter-spacing: 1px;
            position: relative;
            z-index: 2;
        }

        .news-header::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
            animation: shine 3s infinite;
        }

        @keyframes shine {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }

        .featured-news {
            display: grid;
            grid-template-columns: 1fr;
            gap: 20px;
            margin-bottom: 30px;
        }

        .featured-card {
            display: grid;
            grid-template-columns: 1fr 1fr;
            background: white;
            border-radius: 12px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            transition: transform 0.3s ease;
            height: 300px;
        }

        .featured-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.12);
        }

        .featured-image {
            width: 100%;
            height: 100%;
            object-fit:contain;
            transition: transform 0.5s ease;
        }

        .featured-card:hover .featured-image {
            transform: scale(1.03);
        }

        .featured-content {
            padding: 20px;
            display: flex;
            flex-direction: column;
           
        }

        .featured-date {
            color: #BE1823;
            font-weight: 600;
            font-size: 0.85rem;
            text-transform: uppercase;
            margin-bottom: 10px;
        }

        .featured-title {
            color: #152C47;
            font-size: 1.4rem;
            margin: 8px 0;
            line-height: 1.3;
            font-weight: 700;
        }

        .featured-excerpt {
            color: #555;
            line-height: 1.6;
            margin-bottom: 15px;
            font-size: 0.95rem;
        }

        .read-more {
            display: inline-block;
            background-color: #D3D800;
            color: #152C47;
            padding: 8px 18px;
            text-decoration: none;
            border-radius: 20px;
            font-weight: 600;
            font-size: 0.9rem;
            transition: all 0.3s ease;
            width: fit-content;
        }

        .read-more:hover {
            background-color: #152C47;
            color: #D3D800;
            transform: translateY(-2px);
            box-shadow: 0 4px 8px rgba(211, 216, 0, 0.3);
        }

        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 20px;
            padding: 10px 0;
        }

        .news-card {
            background: white;
            border-radius: 12px;
            box-shadow: 0 5px 15px rgba(0,0,0,0.08);
            transition: all 0.3s ease;
            overflow: hidden;
            height: 100%;
            display: flex;
            flex-direction: column;
        }

        .news-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 8px 20px rgba(0,0,0,0.12);
        }

        .news-image-wrapper {
            position: relative;
            height: 200px;
            overflow: hidden;
        }

        .news-image {
            width: 100%;
            height: 100%;
            object-fit:scale-down;
            transition: transform 0.5s ease;
        }

        .news-card:hover .news-image {
            transform: scale(1.05);
        }

        .category-tag {
            position: absolute;
            top: 12px;
            right: 12px;
            background: rgba(21, 44, 71, 0.9);
            color: white;
            padding: 6px 12px;
            border-radius: 20px;
            font-size: 0.75rem;
            font-weight: 600;
            z-index: 1;
        }

        .news-content {
            padding: 18px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .news-date {
            color: #BE1823;
            font-weight: 600;
            font-size: 0.8rem;
            text-transform: uppercase;
            margin-bottom: 8px;
        }

        .news-title {
            color: #152C47;
            font-size: 1.15rem;
            margin: 6px 0;
            line-height: 1.3;
            font-weight: 700;
            flex-grow: 1;
        }

        .news-excerpt {
            color: #666;
            line-height: 1.5;
            margin-bottom: 15px;
            font-size: 0.9rem;
        }

        .card-footer {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-top: auto;
        }

        .views-counter {
            display: flex;
            align-items: center;
            gap: 5px;
            color: #666;
            font-size: 0.8rem;
        }

        .modal-overlay {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(21, 44, 71, 0.95);
            display: none;
            justify-content: center;
            align-items: center;
            z-index: 1000;
            backdrop-filter: blur(4px);
        }

        .modal {
            background: white;
            width: 90%;
            max-width: 700px;
            max-height: 90vh;
            border-radius: 12px;
            position: relative;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0,0,0,0.3);
        }

        .modal-header {
            position: relative;
            height: 200px;
            overflow: hidden;
        }

        .modal-header img {
            width: 100%;
            height: 100%;
            object-fit: cover;
        }

        .modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            background: rgba(255,255,255,0.2);
            border: none;
            width: 36px;
            height: 36px;
            border-radius: 50%;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            backdrop-filter: blur(5px);
            z-index: 10;
            color: white;
            font-size: 1.2rem;
        }

        .modal-close:hover {
            background: rgba(255,255,255,0.3);
            transform: rotate(90deg);
        }

        .modal-body {
            padding: 20px;
            max-height: calc(90vh - 200px);
            overflow-y: auto;
        }

        .modal-title {
            font-size: 1.6rem;
            margin: 0 0 15px;
            font-weight: 700;
            color: #152C47;
        }

        .modal-date {
            color: #BE1823;
            font-weight: 600;
            font-size: 0.9rem;
            margin-bottom: 15px;
            display: block;
        }

        .modal-content {
            font-size: 1rem;
            line-height: 1.7;
            color: #444;
        }

        .modal-content p {
            margin-bottom: 15px;
        }

        @media (max-width: 768px) {
            .featured-card {
                grid-template-columns: 1fr;
                height: auto;
            }
            
            .featured-image {
                height: 200px;
            }
            
            .news-header h1 {
                font-size: 1.5rem;
            }
            
            .featured-title {
                font-size: 1.25rem;
            }
        }

        @media (max-width: 480px) {
            .news-grid {
                grid-template-columns: 1fr;
            }
            
            .news-header {
                padding: 18px;
            }
        }
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.6);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 9999;
}

.modal-overlay.active {
    pointer-events: all;
}

.modal {
    background: white;
    width: 90%;
    max-width: 900px;
    border-radius: 8px;
    overflow-y: auto;
    max-height: 90vh;
    transform: scale(0.9);
    transition: transform 0.3s ease;
    position: relative;
    padding: 20px;
}

.modal.active {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}
