/* wgf-news-feed.css - the home "Latest at WoWGoldFarms" strip (M70, modest).
   Game-client dark-gold palette, matched to the home plates. min-height on the list reserves
   space so the async fill causes zero layout shift (CLS). */

.wgf-news-feed {
  list-style: none;
  margin: 0;
  padding: 0;
  min-height: 168px;               /* reserve ~3 rows so the async fetch shifts nothing */
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

/* Rows = the near-black warm-stone plate (kit re-cut 2026-07-07), squared to the container
   standard (no soft 8px card). */
.wgf-news-feed__item {
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  padding: var(--space-2) 12px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(0, 0, 0, 0.25)), var(--wgf-plate);
  border: 1px solid var(--wgf-metal-soft);
  border-radius: 4px;
}

/* Kind tag = a squared plate chip, small-caps game voice (pills are dead). */
.wgf-news-feed__tag {
  flex: 0 0 auto;
  font-family: var(--font-game);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 0.04em;
  font-variant: small-caps;
  color: var(--wgf-gold-muted, #8f7f5c);
  padding: 2px var(--space-2);
  border-radius: 3px;
  background: var(--wgf-well);
  border: 1px solid var(--wgf-metal-soft);
}

.wgf-news-feed__tag--build {
  color: var(--wgf-gold-bright);
  border-color: #6b5628;
  background: rgba(255, 217, 120, 0.1);
}

.wgf-news-feed__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--space-2);
}

.wgf-news-feed__link,
.wgf-news-feed__text {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #ece3d0;
  text-decoration: none;
}

.wgf-news-feed__link:hover { color: var(--wgf-gold-bright); text-decoration: underline; }

.wgf-news-feed__date {
  flex: 0 0 auto;
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: #9c8d6c;
  white-space: nowrap;
}

.wgf-news-feed__loading,
.wgf-news-feed__empty {
  padding: 12px;
  font-size: 13px;
  color: #9c8d6c;
}

.wgf-news-feed__noscript {
  margin: 0;
  padding: 12px;
  font-size: 13px;
  color: #9c8d6c;
}

@media (max-width: 640px) {
  .wgf-news-feed__body { flex-direction: column; align-items: flex-start; gap: 2px; }
}
