.tags {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  max-width: 100%;
  margin: 20px 0;
}

.tag {
  position: relative;
  isolation: isolate;
  max-width: 100%;
  margin: 0;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 0.85rem;
  background: transparent;
  color: #ffffff;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.tag::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--tag-color, #0795d9);
  opacity: 0.5;
  z-index: -1;
  transition: opacity var(--transition);
}

.tag[data-tag=attention-learning] {
  --tag-color: rgb(37 99 235);
}

.tag[data-tag=bd-phenotyping] {
  --tag-color: rgb(147 51 234);
}

.tag[data-tag=naturalistic-rl] {
  --tag-color: rgb(5 150 105);
}

.tag:hover::before {
  opacity: 0.6;
}

.tag[data-active]::before {
  opacity: 0.65;
}

/*# sourceMappingURL=tags.css.map */