/* Feature catalogue: small renders grouped by family, each family keyed by the colour its faces are drawn in. */
p.rubric.sm-family {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  border-bottom: none;
  gap: 0.55rem;
  margin: 1.4rem 0 0.6rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--pst-color-text-muted);
}
.sm-family::before {
  content: "";
  width: 0.8rem;
  height: 0.8rem;
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.15);
  background: var(--sm-chip);
}
.sm-folds { --sm-chip: #2e70de; }
.sm-cutouts { --sm-chip: #e3572e; }
.sm-edges { --sm-chip: #f28c33; }
.sm-formed { --sm-chip: #cc4073; }
.sm-pressed { --sm-chip: #3bb273; }
.sm-drawn { --sm-chip: #d63bb0; }

/* The theme puts a shadow on every card; these are pictures, not panels. */
html .sm-cards .sd-card.sd-shadow-sm {
  border: none;
  box-shadow: none !important;
  background: transparent;
}
/* The renders are drawn on white, so they keep a white sheet in the dark theme too. */
.sm-cards .sd-card-img-top {
  aspect-ratio: 9 / 7;
  object-fit: cover;
  background: #fff;
  border: 1px solid var(--pst-color-border);
  border-radius: 4px;
}
.bd-content .sm-cards .sd-card .sd-card-body {
  padding: 0.35rem 0 0;
  background: transparent;
}
.sm-cards .sd-card-title {
  margin-bottom: 0.1rem;
  font-size: 0.88rem;
  font-weight: 600;
}
.sm-cards .sd-card-text {
  font-size: 0.8rem;
  line-height: 1.3;
  color: var(--pst-color-text-muted);
}

table.sm-table td:first-child {
  font-weight: 600;
  white-space: nowrap;
}
