.tag-list {
  list-style: none;

  .tag-item {
    display: inline-block;
    margin-bottom: .5rem;
  }

  .tag-item {
    margin-right: 1rem;
  }
}

.tag-item {
  font-weight: 600;
  padding: .5rem 1rem;
  background-color: var(--color-light-gray);

  a {
    text-decoration: none;

    &:hover {
      text-decoration: underline;
    }
  }
}

@media (max-width: 575.98px) {
  .tag-list {
    display: flex;
    overflow-y: scroll;
  }

  .tag-item {
    flex-shrink: 0;
  }
}
