/* News Page Styles */
.news-grid {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.news-item {
    background: white;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.news-date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.news-item h2 {
    color: #2C3E50;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.news-item p {
    color: #555;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.news-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.tag {
    background: #4A90E2;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-size: 0.85rem;
    transition: background-color 0.3s ease;
}

.tag:hover {
    background: #357ABD;
}

/* Responsive Design */
@media (min-width: 768px) {
    .news-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
}

/* Animation for new articles */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.news-item {
    animation: fadeIn 0.5s ease-out forwards;
} 