/* News Page Specific Styles */
.news-section {
    margin: 30px 0;
}

.news-header {
    text-align: center;
    margin-bottom: 40px;
}

.news-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.events-title {
    text-align: center;
    margin-bottom: 20px;
    margin-top: 40px;
}

.events-title h2 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 30px;
}

.news-card {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card-prev {
    background-color: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 0, 255, 0.3);
}

.news-card-prev:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 255, 0.3);
}

.news-image {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-bottom: 3px solid var(--primary-color);
}

.news-image-prev {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-bottom: 3px solid var(--secondary-color);
}

.news-content {
    padding: 25px;
}

.news-title {
    font-family: 'Press Start 2P', cursive;
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.news-date {
    display: inline-block;
    background-color: rgba(255, 0, 255, 0.2);
    color: var(--primary-color);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.news-date-prev {
    display: inline-block;
    background-color: rgba(0, 0, 255, 0.2);
    color: var(--secondary-color);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.news-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.read-more {
    align-self: flex-start;
    padding: 8px 15px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: var(--text-color);
    text-decoration: none;
    border-radius: 4px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
    display: inline-block;
}

.read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 255, 0.4);
}

@media (max-width: 768px) {
    .news-title {
        font-size: 1.2rem;
    }
    
    .news-image {
        height: 250px;
    }
    .news-image-prev {
        height: 250px;
    }

    .news-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 576px) {
    .news-content {
        padding: 20px;
    }
    
    .news-image {
        height: 200px;
    }
    
    .news-image-prev {
        height: 200px;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }
}