/* tributes.css — tribute wall (data/messages.json).
 * Reuses the shared .card / .card__name / .card__meta / .card__text,
 * .btn-quiet and .placeholder from style.css; adds only wall-specific layout. */

/* ---------- Featured AECT remembrance ---------- */
.tribute-featured {
  max-width: var(--measure);
  margin: 0 auto var(--space-8);
  padding: var(--space-5) var(--space-5) var(--space-5) var(--space-6);
  background: var(--bg-elev);
  border: 1px solid var(--border);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.tribute-featured__eyebrow {
  margin: 0 0 var(--space-2);
  color: var(--accent);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 600;
}
.tribute-featured__name {
  font-size: var(--step-1);
  font-weight: 500;
  line-height: 1.35;
  margin: 0 0 var(--space-4);
}
.tribute-featured__text {
  font-family: var(--font-text);
  font-size: var(--step-0);
  line-height: var(--leading-prose);
  margin: 0;
}
.tribute-featured__cta { margin: var(--space-5) 0 0; }
.tribute-featured__link {
  display: inline-flex;
  align-items: center;
  min-height: var(--tap);
  color: var(--accent);
  font-weight: 600;
}
.tribute-featured__link::after { content: " \2197"; } /* ↗ external */

/* ---------- Source groups ---------- */
.tribute-group + .tribute-group { margin-top: var(--space-8); }

.tribute-group__heading {
  font-size: var(--step-2);
  font-weight: 500;
  margin: 0 0 var(--space-5);
  padding-bottom: var(--space-3);
  border-bottom: 1px solid var(--border);
}
.tribute-group__count {
  font-family: var(--font-body);
  font-size: var(--step--1);
  font-weight: 400;
  white-space: nowrap;
}

/* ---------- Grid: 1 col (≤767px) → 2 (≥768px) → 3 (≥1100px) ----------
 * Row-major grid keeps DOM order = reading order (left→right, top→bottom). */
.tribute-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--space-5);
  align-items: start;
}
@media (min-width: 768px) {
  .tribute-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 1100px) {
  .tribute-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ---------- Cards ---------- */
.tribute {
  box-shadow: none;              /* quieter than the featured block */
  overflow-wrap: anywhere;       /* long affiliations with "|" chains */
}
.tribute .card__name { font-size: var(--step-0); font-weight: 600; }
.tribute__affiliation { margin: var(--space-1) 0 var(--space-3); line-height: 1.45; }
.tribute__text { margin: 0; }
.tribute__name + .tribute__text { margin-top: var(--space-3); }

.tribute__more {
  margin-top: var(--space-3);
  padding: 0 var(--space-4);
  font-size: var(--step--1);
}

.tributes-fallback { margin-block: var(--space-5); }
