/* Compact topic labels for case studies and summary cards. */
.case-tags,
.page-body .case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  min-width: 0;
}
.case-tags li {
  margin: 0;
  padding: 0;
  max-width: 100%;
  font-size: 12px;
  line-height: 1.6;
}
.case-tags .case-tag,
.case-tags a {
  display: inline-block;
  max-width: 100%;
  padding: 4px 9px;
  border: 1px solid #ded8d1;
  border-radius: 4px;
  background: #eee9e3;
  color: #62594f;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.6;
  overflow-wrap: anywhere;
}
.case-tags .tag-hash { margin-right: 2px; }
.case-tags a {
  text-decoration: underline;
  text-decoration-color: #b7ada2;
  text-underline-offset: 3px;
}
.case-tags a:hover,
.case-tags a:focus-visible {
  background: #e3dbd2;
  color: #463e37;
  text-decoration-color: currentColor;
}
