/* News pages */
.news-navbar {
    position: sticky;
}

.news-navbar .nav-content {
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem;
}

.news-navbar .news-lang-switch {
    margin-left: auto;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

@media (max-width: 768px) {
    .news-navbar .news-lang-switch {
        margin-left: 0;
        width: 100%;
        justify-content: flex-start;
    }
}

.news-logo-link {
    text-decoration: none;
    color: var(--primary-color);
}

.news-page,
.article-page {
    padding-top: 80px;
    min-height: 100vh;
    background: var(--bg-secondary);
}

.news-hero {
    background: #fff;
    border-bottom: 1px solid var(--border-color);
    padding: 3.5rem 0 2.5rem;
}

.news-kicker {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.news-hero h1 {
    font-size: 2.2rem;
    line-height: 1.25;
    margin-bottom: 0.75rem;
}

.news-hero p {
    color: var(--text-secondary);
    max-width: 700px;
}

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

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}

.news-card {
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.news-card-meta {
    color: var(--text-light);
    font-size: 0.9rem;
}

.news-card h2 {
    font-size: 1.25rem;
    line-height: 1.35;
}

.news-card p {
    color: var(--text-secondary);
}

.news-chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
}

.news-chip {
    border-radius: 999px;
    border: 1px solid var(--border-color);
    background: #fff;
    font-size: 0.8rem;
    padding: 0.2rem 0.6rem;
    color: var(--text-secondary);
}

.article-shell {
    background: #fff;
    margin-top: 1.6rem;
    margin-bottom: 3rem;
    border: 1px solid var(--border-color);
    border-radius: 14px;
    padding: 2rem;
}

.article-header {
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 1.5rem;
    padding-bottom: 1.3rem;
}

.article-meta {
    color: var(--text-light);
    font-size: 0.92rem;
    display: flex;
    gap: 0.55rem;
    margin-bottom: 0.7rem;
}

.article-header h1 {
    font-size: 2rem;
    line-height: 1.3;
    margin-bottom: 0.65rem;
}

.article-description {
    color: var(--text-secondary);
}

.article-body h2 {
    margin-top: 1.6rem;
    margin-bottom: 0.7rem;
    font-size: 1.35rem;
}

.article-body h3 {
    margin-top: 1.2rem;
    margin-bottom: 0.6rem;
    font-size: 1.1rem;
}

.article-body p {
    margin-bottom: 0.9rem;
}

.article-body ul {
    margin-bottom: 0.9rem;
    margin-left: 1.2rem;
}

.article-body li {
    margin-bottom: 0.45rem;
}

.article-tags {
    margin-top: 1.5rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.article-cta {
    margin-top: 1.8rem;
    padding: 1.1rem;
    border-radius: 10px;
    background: rgba(186, 151, 223, 0.12);
    border: 1px solid rgba(186, 151, 223, 0.3);
}

.article-cta h2 {
    font-size: 1.2rem;
    margin-bottom: 0.35rem;
}

.article-cta p {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
}

@media (max-width: 768px) {
    .news-grid {
        grid-template-columns: 1fr;
    }

    .article-shell {
        padding: 1.2rem;
        margin-top: 1rem;
    }

    .article-header h1,
    .news-hero h1 {
        font-size: 1.6rem;
    }
}
