        /* News Container Styles */
        .news-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 20px;
        }

        .news-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 20px;
            margin-bottom: 20px;
        }

        /* For large screens - force 3 columns */
        @media (min-width: 1200px) {
            .news-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }

        /* For medium screens - 2 columns */
        @media (min-width: 768px) and (max-width: 1199px) {
            .news-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        /* For small screens - 1 column */
        @media (max-width: 767px) {
            .news-grid {
                grid-template-columns: 1fr;
            }
        }

        .news-item {
            height: 100%;
        }

        .news-link {
            text-decoration: none;
            color: inherit;
            display: block;
            height: 100%;
        }

        .news-card {
            display: flex;
            flex-direction: column;
            align-items: center;
            background: #f5f5f5;
            border: 3px solid transparent;
            border-radius: 12px;
            padding: 30px 20px;
            transition: all 0.3s ease;
            height: 100%;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .news-card:hover {
            background: #0d8c60;
            border-color: #0d8c60;
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(46, 125, 50, 0.3);
        }

        .news-card:hover .news-date {
            color: #ffffff;
        }

        .news-card:hover .news-title {
            color: #ffffff;
        }

        .news-logo {
            flex-shrink: 0;
            margin-bottom: 15px;
        }

        .ministry-logo {
            width: 100%;
            height: 160px;
            border-radius: 16px;
            object-fit: contain;
        }

        .news-content {
            flex: 1;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            width: 100%;
        }

        .news-date {
            color: #0d8c60;
            font-size: 16px;
            font-weight: 600;
            margin-bottom: 15px;
            transition: color 0.3s ease;
        }

        .news-title {
            color: #333;
            font-size: 16px;
            font-weight: 600;
            line-height: 1.4;
            display: -webkit-box;
            -webkit-line-clamp: 4;
            -webkit-box-orient: vertical;
            overflow: hidden;
            text-overflow: ellipsis;
            transition: color 0.3s ease;
        }

        /* Pagination Styles */
        .pagination-wrapper {
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            margin: 30px 0;
            flex-wrap: wrap;
        }

        .pagination-btn {
            padding: 8px 12px;
            border: 1px solid #ddd;
            background: white;
            color: #333;
            text-decoration: none;
            border-radius: 4px;
            transition: all 0.3s ease;
            min-width: 40px;
            text-align: center;
        }

        .pagination-btn:hover:not(.disabled) {
            background: #0d8c60;
            color: white;
            border-color: #0d8c60;
        }

        .pagination-btn.current-page {
            background: #0d8c60;
            color: white;
            border-color: #0d8c60;
        }

        .pagination-btn.disabled {
            opacity: 0.5;
            cursor: not-allowed;
            background: #f5f5f5;
        }

        .pagination-ellipsis {
            padding: 8px 4px;
            color: #666;
        }

        .pagination-info {
            text-align: center;
            margin: 20px 0;
            color: #666;
            font-size: 14px;
        }

        /* Loading Styles */
        .loading {
            text-align: center;
            padding: 40px;
            color: #666;
            font-size: 16px;
        }

        /* Search Box Styles */
        .search-container {
            margin-bottom: 30px;
            text-align: center;
        }

        .search-input {
            padding: 12px 16px;
            border: 1px solid #ddd;
            border-radius: 25px;
            width: 300px;
            max-width: 100%;
            font-size: 16px;
            outline: none;
            transition: border-color 0.3s ease;
        }

        .search-input:focus {
            border-color: #0d8c60;
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .news-container {
                padding: 15px;
            }

            .news-grid {
                gap: 15px;
            }

            .news-card {
                padding: 15px;
            }

            .ministry-logo {
                width: 60px;
                height: 60px;
            }

            .news-title {
                font-size: 14px;
                -webkit-line-clamp: 4;
            }

            .pagination-wrapper {
                gap: 4px;
            }

            .pagination-btn {
                padding: 6px 8px;
                font-size: 14px;
                min-width: 35px;
            }

            .search-input {
                width: 250px;
            }
        }
