/* News Page Styles */

.news-header {
    padding: 10rem 2rem 4rem;
    text-align: center;
}

.news-header h1 {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: -0.03em;
}

.news-header p {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.news-section {
    padding: 4rem 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.news-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.news-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: 0 20px 40px rgba(255, 0, 0, 0.15);
}

.news-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    z-index: 10;
}

.news-badge.announcement {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
}

.news-badge.development {
    background: linear-gradient(135deg, #ff6600, #cc5200);
    color: white;
}

.news-badge.interview {
    background: linear-gradient(135deg, #9900ff, #7700cc);
    color: white;
}

.news-badge.review {
    background: linear-gradient(135deg, #00cc66, #009944);
    color: white;
}

.news-badge.media {
    background: linear-gradient(135deg, #0099ff, #0077cc);
    color: white;
}

.news-badge.milestone {
    background: linear-gradient(135deg, #ffaa00, #cc8800);
    color: white;
}

.news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-darker);
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    pointer-events: auto;
}

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

.news-content {
    padding: 1.5rem;
}

.news-content h2 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--text-primary);
    line-height: 1.3;
}

.news-excerpt {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.news-meta {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    padding-top: 1rem;
    border-top: 1px solid var(--border);
    margin-bottom: 1rem;
}

.news-date,
.news-author {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.news-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.news-link:hover {
    gap: 0.75rem;
    text-decoration: underline;
}

/* Responsive */
@media (max-width: 768px) {
    .news-header {
        padding: 8rem 1rem 3rem;
    }
    
    .news-header h1 {
        font-size: 2.5rem;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .news-image {
        height: 180px;
    }
    
    .news-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}
