
.tabs2 {
  width: 100%;
  overflow: hidden;
}

.tabs2-header {
  display: flex;
  flex-flow: row nowrap;
  overflow: auto;
  align-items: stretch;
  justify-content: flex-start;
}

.tab2-link {
  flex: 0 0 auto;
  padding: 5px 10px;
  text-align: center;
  cursor: pointer;
  border: none;
  background: none;
  outline: none;
  transition: background 0.3s;
  font-size: 18px;
  min-width: 150px;
  border-radius: 5px;
  margin-right: 5px;
}

.tab2-link.active {
  background: #DC2F2F;
  color: #fff;
}

.tab2-link:hover {
  background: #DC2F2F;
  color: #fff;
}

.tab2-content {
  padding-top: 15px;
  display: none;
}

.tab2-content.active {
  display: block;
}

.tags {
  display: flex;       /* Располагаем блоки в ряд */
  gap: 10px;           /* Отступы между блоками */
  flex-wrap: wrap;     /* Позволяем перенос на новую строку, если блоки не помещаются */
  margin: 10px;
}

.tag {
  display: inline-flex;        /* Или inline-block */
  align-items: center;         /* Вертикальное выравнивание (для flex) */
  padding: 3px 10px;          /* Внутренние отступы */
  font-size: 14px;             /* Размер шрифта */
  border: 1px solid transparent; /* Базово границу прячем */
  border-radius: 4px;          /* Скруглённые уголки */
  text-decoration: none;       /* На всякий случай убираем подчёркивание */
}


.tag:nth-child(1) {
  background-color: #333;
  color: #fff;
  border-color: #333;
}

.tag:nth-child(2),
.tag:nth-child(3),
.tag:nth-child(4) {
  background-color: #fff;
  color: #17c0d1;
  border-color: #17c0d1;
}
