/**
 * plugins/generic/articleMetricsBadges/styles/badges.css
 *
 * Copyright (c) 2026 OJSBR - STNT Tecnologia da Informacao LTDA
 * Distributed under the GNU GPL v3. For full terms see the file LICENSE.
 */

/**
 * The badges sit inside a section.item, so the horizontal alignment comes from
 * the theme, exactly like the abstract and the downloads chart. Only the
 * vertical rhythm and the spacing between badges are set here.
 */
.article-metrics-badges {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 1.5rem;
}

.article-metrics-badges-item {
	margin-bottom: 1.5rem;
}

.article-metrics-badges__item {
	max-width: 100%;
}

/* In the sidebar the badges stack instead of sitting side by side. */
.article-metrics-badges--block {
	flex-direction: column;
	gap: 1rem;
	margin: 0;
}

.block_article_metrics_badges .content {
	overflow-x: auto;
}
