/**
 * plugins/generic/scholarCitations/css/citations.css
 *
 * "Cited by" block. Kept small and scoped so it does not fight the theme.
 */
.block_scholar_citations .sc-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.875rem;
	margin: 0 0 0.75rem;
}
.block_scholar_citations .sc-table th,
.block_scholar_citations .sc-table td {
	padding: 0.35rem 0.25rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
	text-align: right;
	font-weight: normal;
	white-space: nowrap;
}
.block_scholar_citations .sc-table thead th {
	color: inherit;
	opacity: 0.75;
	font-size: 0.8125rem;
}
.block_scholar_citations .sc-table tbody th {
	text-align: left;
	white-space: normal;
}
.block_scholar_citations .sc-table tbody td {
	font-variant-numeric: tabular-nums;
}
.block_scholar_citations .sc-sr {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
}

/* Bar chart (pure CSS, same idea as the Scholar profile chart) */
.block_scholar_citations .sc-chart {
	padding-right: 1.6rem;
	margin: 0.25rem 0 0.5rem;
}
.block_scholar_citations .sc-plot {
	position: relative;
	display: flex;
	align-items: flex-end;
	gap: 6%;
	height: 7.5rem;
	padding: 0 2%;
	border-bottom: 1px solid rgba(0, 0, 0, 0.35);
}
.block_scholar_citations .sc-grid {
	position: absolute;
	left: 0;
	right: 0;
	height: 0;
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	pointer-events: none;
}
.block_scholar_citations .sc-grid-label {
	position: absolute;
	right: -1.6rem;
	top: -0.5rem;
	width: 1.45rem;
	font-size: 0.625rem;
	line-height: 1;
	text-align: left;
	opacity: 0.7;
}
.block_scholar_citations .sc-col {
	position: relative;
	flex: 1 1 0;
	height: 100%;
	display: flex;
	align-items: flex-end;
}
.block_scholar_citations .sc-bar {
	display: block;
	width: 100%;
	min-height: 0;
	background: #777;
}
.block_scholar_citations .sc-col:hover .sc-bar {
	background: #555;
}
.block_scholar_citations .sc-years {
	display: flex;
	gap: 6%;
	padding: 0.2rem 2% 0;
}
.block_scholar_citations .sc-years span {
	flex: 1 1 0;
	min-width: 0;
	font-size: 0.5625rem;
	line-height: 1.2;
	text-align: center;
	letter-spacing: -0.02em;
	opacity: 0.75;
	overflow: visible;
	white-space: nowrap;
}
.block_scholar_citations .sc-note,
.block_scholar_citations .sc-foot {
	font-size: 0.75rem;
	opacity: 0.8;
	margin: 0.25rem 0 0;
}
.block_scholar_citations .sc-profile {
	display: inline-block;
}
