/* =========================
   Tags — neutral modern style
   ========================= */

/* контейнер */
#R-body .R-taxonomy.tags {
  display: flex;
  align-items: center;
  margin-left: 0;
  margin-top: 0;
  padding-top: 0.5rem;
}

#R-body .R-taxonomy.tags ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
  margin: 0;
  padding: 0;
}

/* сам тег */
#R-body .R-taxonomy.tags a.term-link {
  display: inline-flex;
  align-items: center;

  font-size: 0.85em;
  line-height: 1.2;

  padding: 5px 10px;
  margin: 0;

  border-radius: 999px;

  background-color: rgba(127, 127, 127, 0.12) !important;
  border: 1px solid rgba(127, 127, 127, 0.20);

  color: var(--INTERNAL-MAIN-TEXT-color);
  text-decoration: none;

  box-shadow: none;
  transition: all 0.15s ease;
}

/* убираем маркер Relearn */
#R-body .R-taxonomy.tags a.term-link::before {
  content: none;
}

#R-body .R-taxonomy.tags a.term-link::after {
  content: none;
}

/* hover */
#R-body .R-taxonomy.tags a.term-link:hover {
  background-color: rgba(127, 127, 127, 0.18) !important;
  border-color: rgba(127, 127, 127, 0.30);
}

/* focus */
#R-body .R-taxonomy.tags a.term-link:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(127, 127, 127, 0.25);
}
