/* News Page Styles */
.news-hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 6rem 2rem 4rem 2rem;
    margin-top: -5px;
    text-align: center;
}

.news-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.news-hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.news-hero-subtitle {
    font-size: 1.25rem;
    opacity: 0.95;
}

.news-content {
    padding: 4rem 2rem;
    background-color: #f7fafc;
}

.news-container {
    max-width: 1000px;
    margin: 0 auto;
}

.news-filters {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    justify-content: center;
}

.news-filter-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #e2e8f0;
    background-color: white;
    color: #555;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.news-filter-btn:hover {
    border-color: #667eea;
    color: #667eea;
    background-color: #f0f4ff;
}

.news-filter-btn.active {
    background-color: #667eea;
    color: white;
    border-color: #667eea;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.news-item {
    display: flex;
    gap: 2rem;
    background-color: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

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

.news-item-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 80px;
    padding: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    text-align: center;
}

.news-date-month {
    font-size: 1.5rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1;
}

.news-date-year {
    font-size: 0.9rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.news-item-content {
    flex: 1;
}

.news-item-category {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background-color: #f0f4ff;
    color: #667eea;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.news-item-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.news-item-excerpt {
    font-size: 1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.news-item-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.875rem;
    color: #888;
}

.news-item-author {
    font-weight: 500;
}

@media screen and (max-width: 768px) {
    .news-hero {
        padding: 5rem 1.5rem 3rem 1.5rem;
        margin-top: -5px;
    }

    .news-hero-title {
        font-size: 2rem;
    }

    .news-hero-subtitle {
        font-size: 1.1rem;
    }

    .news-content {
        padding: 3rem 1.5rem;
    }

    .news-filters {
        gap: 0.5rem;
        margin-bottom: 2rem;
    }

    .news-filter-btn {
        padding: 0.5rem 1rem;
        font-size: 0.875rem;
    }

    .news-item {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }

    .news-item-date {
        flex-direction: row;
        justify-content: flex-start;
        min-width: auto;
        padding: 0.75rem 1rem;
        gap: 0.5rem;
    }

    .news-date-month {
        font-size: 1.25rem;
    }

    .news-date-year {
        font-size: 0.875rem;
        margin-top: 0;
    }

    .news-item-title {
        font-size: 1.25rem;
    }

    .news-item-excerpt {
        font-size: 0.95rem;
    }
}
