body, html {
    color: #000;
    scroll-behavior: smooth;
}

body {
    font-family: Arial, sans-serif;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.12) 0%, rgba(254, 243, 199, 0.18) 100%);
    margin: 0;
    padding: 0;
}

h1 {
    margin-top: 100px;
    font-size: 2rem;
    color: #000;
    text-align: center;
    text-decoration: underline;
    margin-bottom: 40px;
}

/* News container */
.news-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* News grid */
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* News card */
.news-card {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.news-card-image-wrapper {
    width: 100%;
    height: 300px;
    overflow: hidden;
    background: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-card-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.news-card:hover .news-card-image {
    transform: scale(1.05);
}

.news-card-content {
    padding: 20px;
}

.news-card h2 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.4;
}

.news-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.news-date i {
    color: var(--primary-color, #1e3a8a);
}

.news-content {
    color: #555;
    font-size: 1rem;
    line-height: 1.6;
    margin-top: 15px;
}

/* Empty state */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: #666;
}

.empty-state i {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state p {
    font-size: 18px;
}

/* Smooth animations */
.news-card {
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive design */
@media (max-width: 1024px) {
    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 768px) {
    .news-container {
        padding: 15px;
    }

    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .news-card-image-wrapper {
        height: 250px;
    }

    h1 {
        font-size: 1.8rem;
        margin-top: 80px;
    }
    
    .news-date {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .news-date iframe {
        width: 100%;
        max-width: 165px;
    }
}

@media (max-width: 480px) {
    .news-container {
        padding: 10px;
    }

    h1 {
        font-size: 1.5rem;
        margin-top: 70px;
    }

    .news-card-content {
        padding: 15px;
    }

    .news-card h2 {
        font-size: 1.3rem;
    }
}

