/* PowerShare 2 - Local News tile (js/features/news.js)
   Ported from the original app's .news-* rules, restated on the design
   tokens in css/tokens.css. Mobile-first; no raw hex. */

.news-list {
  list-style: none;
  margin: 0;
  padding: 0;
  background: var(--colour-surface);
  border: 1px solid var(--colour-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.news-item {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-bottom: 1px solid var(--colour-border);
}

.news-item:last-child {
  border-bottom: 0;
}

.news-headline {
  flex: 1;
  font-size: var(--text-sm);
  font-weight: 600;
  line-height: var(--leading-body);
  color: var(--colour-text);
  text-decoration: none;
}

.news-headline:hover,
.news-headline:focus-visible {
  color: var(--colour-brand);
  text-decoration: underline;
}

.news-time {
  flex-shrink: 0;
  white-space: nowrap;
  font-size: var(--text-xs);
  color: var(--colour-text-muted);
}

/* The one primary action link under the list / state blocks */
.news-more {
  margin-top: var(--space-3);
  font-size: var(--text-sm);
}

.news-more a {
  color: var(--colour-link);
  font-weight: 600;
}
