/* ═══════════════════════════════════════════════════════════════════
   Feeds room — every launch link, one card each.

   Colours are theme tokens from _sass/cave-theme.scss and nowhere else, so dark
   mode needs no second rule. Layout is the Haul's grid, one step coarser: a
   card is a link, not a container, so it only has to be wide enough for a label
   and an honest line about what the launch ranks. Below 600 px the grid is one
   column — a two-column card at phone width turns the phrase into a ribbon of
   three words a line.
   ═══════════════════════════════════════════════════════════════════ */

.feeds-intro {
  margin: 0 0 1.25rem;
  color: var(--text-dim);
  font-size: 0.95rem;
  line-height: 1.55;
}

.feeds-field { margin: 0 0 2rem; }

/* The field's own label, said as the Dig says it: a small caps marker over the
   cards, not a page-size heading. */
.feeds-field-head {
  margin: 0 0 0.7rem;
  padding-bottom: 0.35rem;
  border-bottom: 1px solid var(--rock-edge);
  color: var(--text-dim);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.feeds-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  align-items: stretch;
}

.feeds-card {
  display: block;
  background: var(--rock-deep);
  border: 1px solid var(--rock-edge);
  border-radius: 6px;
  padding: 0.8rem 0.9rem 0.9rem;
  text-decoration: none;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.feeds-card:hover,
.feeds-card:focus-visible {
  background: var(--rock);
  border-color: var(--lamp);
  text-decoration: none;
}

.feeds-card-label {
  display: block;
  color: var(--text);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
}

.feeds-card:hover .feeds-card-label,
.feeds-card:focus-visible .feeds-card-label { color: var(--lamp); }

/* The category codes are what the launch actually digs; tabular and faint keeps
   them a footnote to the label rather than a second headline. */
.feeds-card-cats {
  display: block;
  margin-top: 0.2rem;
  color: var(--text-faint);
  font-size: 0.72rem;
  letter-spacing: 0.03em;
}

.feeds-card-phrase {
  display: block;
  margin-top: 0.55rem;
  color: var(--text-dim);
  font-size: 0.8rem;
  line-height: 1.55;
}

.feeds-noscript {
  border: 1px solid var(--rock-edge);
  border-left: 4px solid var(--rock-lit);
  background: var(--rock-deep);
  border-radius: 4px;
  padding: 0.7rem 0.9rem;
  color: var(--text-dim);
  font-size: 0.88rem;
  line-height: 1.5;
}

@media (max-width: 600px) {
  .feeds-grid { grid-template-columns: 1fr; }
}
