/* ============================================
   REGEDOURA — ETIQUETA DE TIPO DE ATUALIZAÇÃO
   Aviso, evento, documento e novidade. Partilhada
   pela faixa da Início e pela página Atualizações.
   Texto sobre o fundo >= 7:1 (AAA); o tipo vem também
   no texto, nunca só na cor. Usa variáveis de theme.css.
   ============================================ */

.update-tag {
	--tag-bg: var(--update-tag-aviso-bg);
	--tag-fg: var(--update-tag-aviso-fg);
	--tag-border: var(--tag-fg);

	display: inline-flex;
	align-items: center;
	padding: var(--space-1) var(--space-3);
	border: 1.5px solid var(--tag-border);
	border-radius: var(--radius-full);
	background: var(--tag-bg);
	color: var(--tag-fg);
	font-size: var(--update-tag-size);
	font-weight: var(--update-tag-weight);
	letter-spacing: var(--tracking-wide);
	line-height: var(--leading-snug);
	text-transform: uppercase;
	white-space: nowrap;
}

.update-tag--evento {
	--tag-bg: var(--update-tag-evento-bg);
	--tag-fg: var(--update-tag-evento-fg);
	--tag-border: var(--update-tag-evento-border);
}

.update-tag--documento {
	--tag-bg: var(--update-tag-documento-bg);
	--tag-fg: var(--update-tag-documento-fg);
}

.update-tag--novidade {
	--tag-bg: var(--update-tag-novidade-bg);
	--tag-fg: var(--update-tag-novidade-fg);
	--tag-border: var(--update-tag-novidade-border);
}
