body.learnhub-clux-active {
	--learnhub-clux-top-offset: var(--wp-admin--admin-bar--height, 0px);
}

body.learnhub-clux-active.learnhub-clux-desktop-layout.learnhub-clux-sidebar-scroll .tutor-course-single-sidebar-wrapper {
	position: sticky;
	top: var(--learnhub-clux-top-offset);
	align-self: flex-start;
	max-height: calc(100vh - var(--learnhub-clux-top-offset));
	overflow-y: auto;
	overflow-x: hidden;
	overscroll-behavior: contain;
	scrollbar-gutter: stable;
}

body.learnhub-clux-active .tutor-course-single-sidebar-wrapper {
	scrollbar-width: thin;
	scrollbar-color: rgba(30, 41, 59, 0.28) transparent;
}

body.learnhub-clux-active .tutor-course-single-sidebar-wrapper::-webkit-scrollbar {
	width: 8px;
}

body.learnhub-clux-active .tutor-course-single-sidebar-wrapper::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: rgba(30, 41, 59, 0.25);
}

body.learnhub-clux-active .learnhub-clux-section {
	border-top: 1px solid rgba(226, 232, 240, 0.95);
	background: #fff;
}

body.learnhub-clux-active .learnhub-clux-section-toggle {
	width: 100%;
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 48px;
	padding: 12px 16px;
	border: 0;
	border-left: 3px solid transparent;
	background: linear-gradient(90deg, #f8fafc 0%, #fff 100%);
	color: #1f2937;
	font: inherit;
	font-size: 13px;
	font-weight: 800;
	text-align: left;
	cursor: pointer;
	letter-spacing: 0;
	transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
}

body.learnhub-clux-active .learnhub-clux-section-toggle:hover,
body.learnhub-clux-active .learnhub-clux-section-toggle:focus {
	border-left-color: var(--learnhub-clux-accent-color, var(--tutor-color-primary, #ff5a00));
	background: #fff7ed;
	color: #111827;
	outline: none;
}

body.learnhub-clux-active .learnhub-clux-section-chevron {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.08);
	color: #334155;
	font-size: 12px;
	line-height: 1;
	transition: transform 160ms ease;
}

body.learnhub-clux-active .learnhub-clux-section.is-collapsed .learnhub-clux-section-chevron {
	transform: rotate(-90deg);
}

body.learnhub-clux-active .learnhub-clux-section-title {
	min-width: 0;
	flex: 1 1 auto;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

body.learnhub-clux-active .learnhub-clux-section-count {
	flex: 0 0 auto;
	border-radius: 999px;
	background: #e2e8f0;
	color: #475569;
	padding: 3px 8px;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.35;
}

body.learnhub-clux-active .learnhub-clux-section.is-collapsed .learnhub-clux-section-items {
	display: none;
}

body.learnhub-clux-active .learnhub-clux-section-items .tutor-course-topic-item:first-child {
	border-top: 0;
}

body.learnhub-clux-active .learnhub-clux-sectioned-item .tutor-course-topic-item-title {
	line-height: 1.45;
}

body.learnhub-clux-active .learnhub-clux-section-items .tutor-course-topic-item {
	background: #fff;
}

body.learnhub-clux-active .learnhub-clux-section-items .tutor-course-topic-item:hover {
	background: #f8fafc;
}

body.learnhub-clux-active .learnhub-clux-section-items .tutor-course-topic-item.is-active {
	background: #fff7ed;
	box-shadow: inset 3px 0 0 var(--learnhub-clux-accent-color, var(--tutor-color-primary, #ff5a00));
}
