/* GO27 | Pílulas de categoria — referência Villa Park.
   O formato permanece consistente; as futuras cores vêm de Category.badge_color. */
.go27-lead-category,
.go27-latest-home-category,
.go27-latest-home-dark-category,
.go27-culture-tag,
.go27-culture-small-tag,
.go27-latest-feed-category,
.go27-editorial-category,
.go27-latest-category,
.go27-event-detail-category {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:fit-content;
  max-width:100%;
  padding:4px 11px;
  border:0;
  border-radius:0 100px 100px 100px;
  min-height:23px;
  background:var(--go27-category-color,#5B3DF5);
  color:#fff;
  font-size:10px;
  font-weight:750;
  line-height:1.3;
  letter-spacing:.012em;
  text-transform:uppercase;
  text-align:center;
  text-shadow:none;
  overflow-wrap:anywhere;
  vertical-align:middle;
}
/* O posicionamento e as margens de cada card continuam definidos
   pelos seus componentes editoriais. */
@media(max-width:650px) {
  .go27-lead-category,
  .go27-latest-home-category,
  .go27-latest-home-dark-category,
  .go27-culture-tag,
  .go27-culture-small-tag,
  .go27-latest-feed-category,
  .go27-editorial-category,
  .go27-latest-category,
  .go27-event-detail-category {
    padding:4px 10px;
    font-size:10px;
    line-height:1.3;
    min-height:23px;
  }
}

/* Harmonização: categorias em imagens, listas e cards menores. */
.go27-lead-secondary .go27-lead-category {
  padding-inline:10px;
  font-size:10px;
}
