/* ============================================================================
   news.css — /nyheder-siden, selskabsfanen "Nyheder" og /ops-panelet.
   Bruger tokens fra site-shared.css (--fa-border, --fa-radius, --fa-brand-dark).
   ============================================================================ */

.news-toolbar { display: flex; align-items: center; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 1rem; font-size: 0.9rem; }
.news-toolbar .news-date { font-weight: 700; color: var(--fa-brand-dark); min-width: 9rem; text-align: center; }
.news-fresh { color: #888; font-size: 0.8rem; }
.news-fresh.stale { color: #b00020; font-weight: 600; }

.news-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 1rem; }
@media (max-width: 992px) { .news-layout { grid-template-columns: 1fr; } }

.news-card { border: 1px solid var(--fa-border); border-radius: var(--fa-radius); background: #fff; margin-bottom: 1rem; }
.news-card .news-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 0.5rem; padding: 0.6rem 1rem; border-bottom: 1px solid var(--fa-border); cursor: pointer; }
.news-card .news-card-head h3 { font-size: 1rem; margin: 0; color: var(--fa-brand-dark); }
.news-card .news-card-meta { color: #888; font-size: 0.78rem; white-space: nowrap; }
.news-card .news-card-body { padding: 0.75rem 1rem; }

.news-md { font-size: 0.92rem; line-height: 1.5; }
.news-md h2 { font-size: 1.05rem; margin: 0.9rem 0 0.4rem; color: var(--fa-brand-dark); }
.news-md h3 { font-size: 0.95rem; margin: 0.8rem 0 0.3rem; }
.news-md p { margin: 0 0 0.6rem; }
.news-md ul { padding-left: 1.2rem; margin-bottom: 0.6rem; }
.news-md hr { margin: 0.8rem 0; }
.news-md a { word-break: break-all; }

.news-list { list-style: none; margin: 0; padding: 0; }
.news-list li { padding: 0.55rem 0; border-bottom: 1px solid var(--fa-border); }
.news-list li:last-child { border-bottom: none; }
.news-item-meta { font-size: 0.76rem; color: #888; display: flex; gap: 0.5rem; flex-wrap: wrap; }
.news-item-title { font-weight: 600; font-size: 0.92rem; }
.news-item-title a { color: inherit; text-decoration: none; }
.news-item-title a:hover { text-decoration: underline; }
.news-item-summary { font-size: 0.85rem; color: #444; margin-top: 0.15rem; }

.news-chip { display: inline-block; font-size: 0.72rem; padding: 0.05rem 0.45rem; border-radius: 999px; background: #eef2f7; color: #334; margin-right: 0.25rem; }
.news-chip.announcement { background: #e7f1ff; color: #1b4b91; }
.news-chip.topic { background: #f1f1f1; }

.news-search { display: flex; gap: 0.5rem; flex-wrap: wrap; align-items: center; margin-bottom: 0.75rem; }
.news-search input[type=text] { flex: 1 1 16rem; }
.news-search select, .news-search input[type=date] { font-size: 0.85rem; }

/* /ops */
.news-health { font-size: 0.82rem; }
.news-health .h-ok { color: #1a7f37; }
.news-health .h-late, .news-health .h-never { color: #9a6700; }
.news-health .h-stale, .news-health .h-error { color: #b00020; font-weight: 600; }
.news-health .h-disabled { color: #999; }
