/* ==========================================================================
   Component: Feed
   Description: Primitives for date-grouped, avatar-led activity feeds —
   the canonical "what people did, organized chronologically" surface used
   by Activity Element (Web Participation + PDF Report), dashboards, and
   any future feed-style aggregation.

   Two primitives:

   .ds-feed-divider — Centered uppercase label on a hairline rule that
                       spans the row. Used to delimit groups (typically
                       date groups) in the feed.

   .ds-feed-row     — Avatar column + body column. Body holds a bold
                       name above a vertical bulleted list of icon+text
                       items. Each item = 16px Material Symbol in
                       --accent-primary + descriptive text in
                       --text-secondary.

   Composition typically wraps these in a parent that handles rhythm
   between groups (see `pages/participation/activity.css` for the Activity
   Element wrapper classes).
   ========================================================================== */

/* ── Divider ────────────────────────────────────────────────────────── */

.ds-feed-divider {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  margin: 0 0 var(--space-5);
}

.ds-feed-divider::before,
.ds-feed-divider::after {
  content: '';
  flex: 1;
  border-top: 1px solid var(--border-subtle);
}

.ds-feed-divider__label {
  font-size: var(--text-xs);
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-tertiary);
}

/* ── Row ────────────────────────────────────────────────────────────── */

.ds-feed-row {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: var(--space-3);
}

.ds-feed-row + .ds-feed-row {
  margin-top: var(--space-4);
}

.ds-feed-row__name {
  font-size: var(--text-sm);
  font-weight: var(--weight-semibold);
  color: var(--text-primary);
  margin: 0 0 var(--space-1-5);
}

.ds-feed-row__items {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-1);
}

.ds-feed-row__item {
  display: flex;
  align-items: flex-start;
  gap: var(--space-2);
  font-size: var(--text-sm);
  color: var(--text-secondary);
}

.ds-feed-row__item .material-symbols-rounded {
  font-size: 16px;
  color: var(--accent-primary);
  flex-shrink: 0;
  padding-top: 2px;
}
