/* Trojanowski News — deliberately follows the existing website typography and surfaces. */
.news-hero { padding-top: 150px; padding-bottom: 64px; }
.news-hero .hero-title { max-width: 880px; }
.news-hero .hero-copy { max-width: 630px; }
.news-archive { min-height: 32vh; }
.news-filters { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 38px; }
.news-filter { padding: 11px 17px; border: 1px solid var(--line); border-radius: 999px; background: transparent; color: var(--muted); font: inherit; font-size: 12px; font-weight: 620; cursor: pointer; transition: background .15s ease, color .15s ease, border-color .15s ease; }
.news-filter:hover { border-color: var(--text); color: var(--text); }
.news-filter[aria-pressed="true"] { background: var(--text); border-color: var(--text); color: var(--surface); }
.news-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; }
.news-card { display: flex; flex-direction: column; align-items: flex-start; min-height: 268px; padding: 30px; background: var(--surface); border: 1px solid var(--line); border-radius: 19px; transition: border-color .18s ease, transform .18s ease; }
.news-card:hover { border-color: color-mix(in srgb, var(--text) 38%, var(--line)); transform: translateY(-2px); }
.news-card-meta { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; font-size: 11px; color: var(--muted); }
.news-category { font-size: 11px; font-weight: 700; color: var(--text); }
.news-card h2 { margin: 25px 0 12px; font-size: clamp(23px,2.6vw,32px); line-height: 1.17; letter-spacing: -.035em; }
.news-card > p { max-width: 510px; margin: 0 0 26px; color: var(--muted); font-size: 13px; line-height: 1.8; }
.news-card-link { margin-top: auto; font-size: 12px; font-weight: 720; color: var(--text); text-decoration: none; }
.news-card-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.news-article { max-width: 770px; font-size: 16px; line-height: 1.95; color: var(--muted); }
.news-article > p { margin: 0 0 22px; }
.news-article-link { margin-top: 14px; }
.news-back { display: inline-flex; align-items: center; margin: 0 0 34px; font-size: 12px; font-weight: 650; color: var(--text); text-decoration: none; }
.news-back:hover { text-decoration: underline; text-underline-offset: 4px; }
.news-empty { padding: 28px 0; color: var(--muted); font-size: 14px; line-height: 1.7; }
.news-update-row { text-decoration: none; color: inherit; transition: background .15s ease; }
.news-update-row:hover { background: color-mix(in srgb, var(--text) 3%, transparent); }
.news-update-row .update-copy strong { color: var(--text); }
.news-update-row:hover .update-copy strong { text-decoration: underline; text-underline-offset: 3px; }
.news-home-footer { display: flex; justify-content: flex-end; padding-top: 25px; }
.news-home-more { display: inline-flex; align-items: center; font-size: 12px; font-weight: 700; color: var(--text); text-decoration: none; }
.news-home-more:hover { text-decoration: underline; text-underline-offset: 4px; }
html[data-theme="dark"] .news-card { background: #15171a; }
html[data-theme="dark"] .news-filter[aria-pressed="true"] { color: #111214; }
@media(max-width:760px) {
    .news-hero { padding-top: 118px; padding-bottom: 38px; }
    .news-grid { grid-template-columns: 1fr; }
    .news-card { min-height: 235px; padding: 23px; }
    .news-article { font-size: 14px; }
}
@media(prefers-reduced-motion:reduce) {
    .news-card, .news-update-row { transition: none; }
    .news-card:hover { transform: none; }
}

/* Author styles must not override the native hidden attribute. */
.news-filters[hidden], .news-grid[hidden], .news-article[hidden], .news-back[hidden] { display: none !important; }
