/**
 * Tag badges for the initiatives list.
 *
 * In the list, field_tags is rendered through a Views rewrite token with the
 * "label" formatter, which bypasses both the entity field template and the
 * views-view-field template — so CSS classes cannot be injected per item.
 * These rules reproduce the Bootstrap `.badge.text-bg-secondary` appearance.
 * (On node pages tags already carry real .badge classes via the field template.)
 */
.view-initiatives-pedagogiques .tags ul,
.view-initiatives-pedagogiques-a-la-une .tags ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.view-initiatives-pedagogiques .tags li a,
.view-initiatives-pedagogiques-a-la-une .tags li a {
  display: inline-block;
  padding: 0.35em 0.65em;
  font-size: 0.75em;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background-color: var(--bs-secondary, #6c757d);
  border-radius: 0.375rem;
  text-decoration: none;
}
