/* Tag system: project type and client tags */

.tag {
  display: inline-block;
  background: var(--color-white);
  border: 0.05em solid var(--color-blue);
  border-radius: 0.2em;
  padding: 0.15em 0.4em;
  margin: 0 0.15em 0.15em 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  white-space: nowrap;
}

.tag:last-child {
  margin-right: 0;
}

/* Tags on project cards: placed above title at the bottom */
.project-promo-link .project-tags {
  position: static;
  display: flex;
  flex-wrap: wrap;
  flex-direction: row;
  gap: 0.25em;
  align-items: center;
}

.project-promo-link .project-tags .tag {
  font-size: 0.7em;
  padding: 0.1em 0.5em;
  color: var(--color-blue);
  background-color: rgba(0, 86, 211, 0.1);
  border: 0;
  border-radius: 1em;
  margin: 0;
}

/* Tags on individual project page (before h1) */
.project-header-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25em;
  margin-bottom: 0.5em;
}

.project-header-tags .tag {
  font-size: 0.9em;
}
