/* ==========================================================================
   Component — Status legend
   --------------------------------------------------------------------------
   Explains a set of status labels before the items that carry them
   (e.g. Client work / Concept / Internal experiment on the Work index).
   Each term shows the same badge the items use, so the label is
   recognisable, and the definition is always written out in text.

   <dl class="status-legend">
     <div class="status-legend__item">
       <dt><span class="badge badge--accent">Client work</span></dt>
       <dd>…</dd>
     </div>
   </dl>

   One column, three from md.
   WordPress: taxonomy term descriptions, or theme strings.
   ========================================================================== */

.status-legend {
  display: grid;
  gap: var(--space-5);
}

@media (min-width: 48em) {
  .status-legend {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-6);
  }
}

.status-legend__item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-3);
  padding-block-start: var(--space-4);
  border-block-start: var(--border-width) solid var(--color-border-strong);
}

.status-legend__item dd {
  max-inline-size: var(--measure);
  color: var(--color-text-secondary);
  font-size: var(--type-body-small-size);
}
