.dataset-heading-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap;
    gap: 5px;
}

.dataset-modified {
    font-size: 12px;
    font-weight: 300;
    white-space: nowrap;
    color: #6c757d; /* Bootstrap muted */
}

.dataset-resources-container {
  margin-top: 6px;
  display: flex;
  justify-content: space-between; /* resources left, tags right */
  align-items: center;
  flex-wrap: wrap; /* allow wrapping if too long */
  gap: 10px;
}

.dataset-resources-container .dataset-resources {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin: 0;
  padding: 0;
}

.dataset-resources-container .dataset-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1px;
  justify-content: flex-end;
}

.dataset-resources-container .dataset-tags .badge {
  background-color: #6c757d; /* same as .badge-default */
  color: white;              /* make text visible */
  font-weight: 500;
  padding: 0.25em 0.5em;
  border-radius: 0.35rem;
  margin-left: 0;
  font-size: 12px;        /* optional: smaller font */
}

.facet-icon img {
    width: 16px;      /* adjust size */
    height: 16px;
    margin-left: 4px; /* spacing from label/badge */
    vertical-align: middle; /* align with text */
}