/**
 * One-Page Category Menu
 *
 * @package Canvas
 * @since   1.0.0
 */

.one-page-menu .list-group-item a {
	color: #111 !important;
	font-weight: 500;
}

.one-page-menu .list-group-item a::before {
	content: "\e77d";
	font-family: "font-icons";
	position: absolute;
	left: 0;
	top: 50%;
	font-size: 14px;
	margin-top: 1px;
	transform: translateY(-50%);
	color: #CCC;
}

.one-page-menu .list-group-item.current a,
.one-page-menu .list-group-item.current a::before {
	color: var(--cnvs-themecolor) !important;
}

/* ── Sticky index column ──────────────────────────────────────────────── */

/*
 * `.position-sticky` ships `position: sticky` with no threshold, which behaves
 * exactly like `static`: the index column would scroll away with the content it
 * indexes.
 */
.position-sticky:has(.one-page-menu) {
	top: 50px;
}

@media (max-width: 768.98px) {

	.position-sticky:has(.one-page-menu) {
		height: auto !important;
		box-shadow: 0 0.25rem .5rem rgba(0, 0, 0, .075);
	}
}
