/**
 * plugins/generic/articleMetricsBadges/styles/badges.css
 *
 * Copyright (c) 2026 OJSBR (https://ojsbr.com)
 * Distributed under the GNU GPL v3. For full terms see the file docs/COPYING.
 */

/**
 * 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-citation-check {
	box-sizing: border-box;
	width: 100%;
	padding: 1rem;
	background: #f5f8fb;
	border: 1px solid #dbe5ef;
	border-radius: 6px;
}

.article-metrics-badges-citation-check > .label {
	margin: 0 0 0.75rem;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid #dbe5ef;
}

.article-metrics-badges-item--issue {
	display: inline-flex;
	align-items: center;
	margin-left: 0.75rem;
	margin-bottom: 0;
}

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

.article-metrics-badges--issue {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
}

.article_summary_title {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
}

.article_summary_title > .title {
	margin: 0;
}

/* 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;
}
