/* ==========================================================================
   News hub (/<lang>/news/) — filterable feed of projects, blog and news
   ========================================================================== */
.news-hub { font-family: 'Inter', sans-serif; }

.newshub-hero {
    background: linear-gradient(180deg, #F5FAFB 0%, #FFFFFF 100%);
    padding: 112px 24px 40px; /* clears the fixed 80px header */
    text-align: center;
}
.newshub-eyebrow {
    display: inline-block;
    color: #2D738C;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.newshub-hero h1 { max-width: 760px; margin: 0 auto 16px; font-size: 42px; line-height: 1.12; color: #101828; }
.newshub-lead { max-width: 640px; margin: 0 auto; font-size: 18px; line-height: 28px; color: #475467; }

.newshub-list { max-width: 1120px; margin: 0 auto 72px; padding: 0 24px; }
.newshub-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 28px;
    padding-bottom: 24px;
    border-bottom: 1px solid #EAECF0;
}
.newshub-chip {
    font-family: inherit;
    font-size: 14px;
    font-weight: 600;
    color: #475467;
    background: #F2F4F7;
    border: 1px solid transparent;
    border-radius: 999px;
    padding: 9px 16px;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease;
}
.newshub-chip:hover { background: #E4E7EC; }
.newshub-chip.is-active { background: #101828; color: #FFFFFF; }

.newshub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 24px;
}
.newshub-card {
    display: flex;
    flex-direction: column;
    background: #FFFFFF;
    border: 1px solid #EAECF0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(16, 24, 40, 0.04);
    transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.newshub-card[hidden] { display: none; }
.newshub-card:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(16, 24, 40, 0.10); }
.newshub-media { position: relative; display: block; }
.newshub-media img { width: 100%; height: 190px; object-fit: cover; display: block; }
.newshub-media .news-ph {
    height: 190px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 38px;
    color: #B7BDC7;
    background: linear-gradient(135deg, #F2F4F7 0%, #E4E7EC 100%);
}
.newshub-media .news-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    color: #FFFFFF;
    padding: 4px 10px;
    border-radius: 999px;
    background: #101828;
}
.newshub-media .news-badge i { font-size: 11px; }
.newshub-body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; }
.newshub-date { font-size: 13px; font-weight: 600; color: #98A2B3; margin: 0; }
.newshub-card h3 { margin: 0; font-size: 19px; line-height: 1.3; }
.newshub-card h3 a { color: #101828; text-decoration: none; }
.newshub-card h3 a:hover { color: #2D738C; }
.newshub-excerpt { margin: 0; font-size: 14px; line-height: 22px; color: #667085; }

/* Pagination reuses the shared .pagination look; reset button chrome */
.newshub-pagination { margin-top: 44px; }
.newshub-pagination .pagination-arrow,
.newshub-pagination .page-number {
    background: transparent;
    border: none;
    font-family: inherit;
}

@media (max-width: 768px) {
    .newshub-hero { padding: 32px 20px 32px; } /* body offsets the fixed header on mobile */
    .newshub-hero h1 { font-size: 30px; }
}

/* ==========================================================================
   Standalone announcement article (/lang/news/<slug>/)
   ========================================================================== */
.news-article { font-family: 'Inter', sans-serif; padding: 112px 24px 72px; /* clears the fixed 80px header */ }
.news-article-inner { max-width: 720px; margin: 0 auto; }
.news-back {
    display: inline-flex; align-items: center; gap: 8px;
    color: #2D738C; font-weight: 600; font-size: 15px; text-decoration: none; margin-bottom: 24px;
}
.news-back:hover { text-decoration: underline; }
.news-article .newshub-eyebrow { display: block; text-align: left; }
.news-article h1 { font-size: 38px; line-height: 1.15; color: #101828; margin: 0 0 12px; }
.news-article-date { color: #667085; font-size: 15px; margin: 0 0 24px; }
.news-article-hero { margin: 0 0 28px; }
.news-article-hero img { width: 100%; height: auto; border-radius: 14px; display: block; }
.news-article-hero figcaption { margin-top: 8px; font-size: 13px; color: #98A2B3; }
.news-article-hero figcaption a { color: #667085; text-decoration: underline; }
.news-article-body p { font-size: 18px; line-height: 30px; color: #344054; margin: 0 0 18px; }
.news-source {
    display: flex; flex-direction: column; gap: 6px;
    margin: 28px 0; padding: 18px 20px;
    background: #F5FAFB; border: 1px solid #E4EEF1; border-left: 4px solid #2D738C; border-radius: 10px;
}
.news-source-label { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; text-transform: uppercase; color: #2D738C; }
.news-source a { color: #175163; font-weight: 600; font-size: 16px; word-break: break-word; }
.news-article-cta { display: inline-block; margin-top: 12px; }

@media (max-width: 768px) {
    .news-article { padding: 32px 20px 48px; } /* body offsets the fixed header on mobile */
    .news-article h1 { font-size: 28px; }
    .news-article-body p { font-size: 17px; line-height: 28px; }
}
