/* Actions (#25): the newest-first list of action cards and the full record of one action. */

.action-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.action-card {
  display: grid;
  gap: 6px;
  min-width: 0;
  padding: 16px 18px;
  background: var(--surface);
  border: 1px solid color-mix(in oklab, var(--rule) 70%, transparent);
  border-radius: var(--radius-panel);
  box-shadow: var(--shadow-1);
  overflow-wrap: anywhere;
}
.action-card > * {
  margin: 0;
}
.action-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 12px;
  font-size: 14px;
  color: var(--ink-3);
}
.action-meta .action-date {
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  color: var(--ink-2);
}
.action-title {
  font-size: 20px;
  line-height: 1.25;
}
.action-title a {
  color: var(--ink);
  text-decoration: none;
}
.action-title a:hover,
.action-title a:focus-visible {
  color: var(--accent);
  text-decoration: underline;
}
.action-status {
  font-weight: 650;
  color: var(--ink-2);
}
.action-summary {
  color: var(--ink-2);
}

/* Who and Status are free text: a long unbroken token must wrap, not widen the page. */
.action-head,
.action-head .facts > div {
  min-width: 0;
}
.action-head h1,
.action-head .facts dd {
  overflow-wrap: anywhere;
}

.action-lede {
  margin: 0 0 22px;
  overflow-wrap: anywhere;
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
}
.action-text {
  margin-bottom: 18px;
}
.action-text .prose h2 {
  margin: 18px 0 0;
  font-size: 21px;
}
.action-text .prose h3 {
  margin: 10px 0 0;
}
.action-text .prose > :first-child {
  margin-top: 0;
}
.action-text .prose p,
.action-text .prose li {
  max-width: 74ch;
}
.action-source {
  margin: 0;
}
@media (max-width: 639px) {
  .action-text {
    padding: 18px 16px;
  }
  .action-lede {
    font-size: 17px;
  }
}
