/* wgf-news-feed.css - the home "Latest at WoWGoldFarms" strip (M70, recut 2026-08-03).
   Game-client dark-gold palette, matched to the home plates. Rows with an article behind them
   are ONE whole-row link with a deck line and a right-aligned Read affordance (the home-door
   go idiom: gold link text + arrow, gold-bright on row hover). 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: 188px;               /* reserve ~3 recut 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;
}

/* A row that opens an article: the <a> IS the row (padding moves onto it so the whole
   surface is the target); hover = the door idiom (gold-bright border + go text). */
.wgf-news-feed__item--link { padding: 0; }
.wgf-news-feed__item--link:hover { border-color: var(--wgf-gold-bright); }

.wgf-news-feed__rowlink {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  padding: var(--space-2) 12px;
  color: inherit;
  text-decoration: none;
}
.wgf-news-feed__rowlink:focus-visible { outline: none; box-shadow: var(--focus-ring); }

/* 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);
}

/* Title + one-line deck stack. */
.wgf-news-feed__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.wgf-news-feed__text {
  font-size: 14px;
  font-weight: 600;
  line-height: 1.35;
  color: #ece3d0;
}
.wgf-news-feed__item--link:hover .wgf-news-feed__text { color: var(--wgf-gold-bright); }

.wgf-news-feed__deck {
  font-size: 12.5px;
  line-height: 1.4;
  color: #9c8d6c;
}

/* Right column: date + the Read affordance. */
.wgf-news-feed__side {
  flex: 0 0 auto;
  margin-left: auto;
  display: flex;
  align-items: baseline;
  gap: var(--space-2);
  white-space: nowrap;
}

.wgf-news-feed__date {
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: #9c8d6c;
}

.wgf-news-feed__go {
  font-size: 12px;
  font-weight: 600;
  color: var(--wgf-gold-link);
}
.wgf-news-feed__item--link:hover .wgf-news-feed__go { color: var(--wgf-gold-bright); }

.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__item,
  .wgf-news-feed__rowlink { flex-wrap: wrap; }
  .wgf-news-feed__body { flex-basis: 100%; }
  .wgf-news-feed__side { margin-left: 0; }
}
