/*
 * Citation Reference — frontend block styles.
 */
.citation_reference_block {
	margin: 1.25rem 0;
	padding: 1rem 1.1rem;
	border: 1px solid #d8e6ee;
	border-left: 4px solid #006798;
	background: #f7fafc;
	border-radius: 3px;
}

.citation_reference_block > .label {
	margin: 0 0 0.65rem;
	font-size: 1rem;
	font-weight: 700;
	color: #006798;
}

.citation_reference_content {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 0.75rem 1rem;
}

.citation_reference_text {
	flex: 1 1 16rem;
	font-size: 0.95rem;
	line-height: 1.55;
	color: #222;
	word-break: break-word;
}

.citation_reference_copy {
	display: inline-flex;
	align-items: center;
	gap: 0.35em;
	flex-shrink: 0;
	padding: 0.45rem 0.75rem;
	border: 1px solid #006798;
	border-radius: 3px;
	background: #fff;
	color: #006798;
	font-size: 0.9rem;
	font-weight: 600;
	cursor: pointer;
}

.citation_reference_copy:hover {
	background: #006798;
	color: #fff;
}

.citation_reference_copy.is-copied {
	border-color: #2e7d32;
	color: #2e7d32;
	background: #f1f8f2;
}

@media (max-width: 768px) {
	.citation_reference_copy {
		min-height: 44px;
	}
}
