.ccw-root {
	--ccw-max-width: 950px;
	--ccw-font-family: Cairo, sans-serif;
	--ccw-stats-bg: #101010;
	--ccw-axis-bg: #101010;
	--ccw-hover-bg: #151515;
	--ccw-border: #242424;
	--ccw-accent: #ff1111;
	--ccw-text: #ffffff;
	--ccw-muted: #777777;
	--ccw-icon-bg: #191919;
	--ccw-button-bg: #101010;
	--ccw-button-text: #ffffff;
	--ccw-stat-number: #ff1111;
	--ccw-radius: 14px;

	width: 100%;
	max-width: var(--ccw-max-width);
	margin-inline: auto;
	font-family: var(--ccw-font-family);
	color: var(--ccw-text);
	box-sizing: border-box;
}

.ccw-root *,
.ccw-root *::before,
.ccw-root *::after {
	box-sizing: border-box;
}

.ccw-stats {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	background: var(--ccw-stats-bg);
	border: 1px solid var(--ccw-border);
	border-radius: var(--ccw-radius);
	overflow: hidden;
}

.ccw-stat {
	min-height: 105px;
	padding: 14px 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	border-left: 1px solid var(--ccw-border);
}

.ccw-stat:last-child {
	border-left: 0;
}

.ccw-stat-number {
	display: block;
	color: var(--ccw-stat-number);
	font-size: 28px;
	line-height: 1.2;
	font-weight: 800;
}

.ccw-stat > span {
	display: block;
	margin-top: 5px;
	color: var(--ccw-muted);
	font-size: 14px;
	line-height: 1.5;
}

.ccw-toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin: 35px auto 0;
	padding: 14px 30px;
	border: 2px solid var(--ccw-accent);
	border-radius: 50px;
	background: var(--ccw-button-bg);
	color: var(--ccw-button-text);
	font-family: inherit;
	font-size: 16px;
	font-weight: 700;
	cursor: pointer;
	box-shadow: 0 0 8px color-mix(in srgb, var(--ccw-accent) 25%, transparent);
	transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
}

.ccw-toggle:hover {
	background: var(--ccw-hover-bg);
	transform: translateY(-2px);
	box-shadow: 0 0 20px color-mix(in srgb, var(--ccw-accent) 25%, transparent);
}

.ccw-toggle-icon {
	font-size: 12px;
	transition: transform .35s ease;
}

.ccw-root.ccw-is-open .ccw-toggle-icon {
	transform: rotate(180deg);
}

.ccw-content {
	margin-top: 30px;
	display: grid;
	gap: 15px;
}

.ccw-axis {
	background: var(--ccw-axis-bg);
	border: 1px solid var(--ccw-border);
	border-radius: var(--ccw-radius);
	overflow: hidden;
}

.ccw-axis-header {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 20px 24px;
	border: 0;
	background: transparent;
	color: var(--ccw-text);
	font-family: inherit;
	text-align: right;
	cursor: pointer;
	transition: background .25s ease;
}

.ccw-axis-header:hover {
	background: var(--ccw-hover-bg);
}

.ccw-axis-title-wrap {
	display: flex;
	align-items: center;
	gap: 14px;
	min-width: 0;
}

.ccw-axis-icon,
.ccw-lesson-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	background: var(--ccw-icon-bg);
	border: 1px solid color-mix(in srgb, var(--ccw-border) 80%, transparent);
}

.ccw-axis-icon {
	width: 42px;
	height: 42px;
	border-radius: 10px;
	font-size: 19px;
}

.ccw-axis-icon i,
.ccw-lesson-icon i {
	line-height: 1;
}

.ccw-axis-title-wrap > span:last-child {
	min-width: 0;
}

.ccw-axis-title {
	display: block;
	color: var(--ccw-text);
	font-size: 17px;
	font-weight: 800;
	line-height: 1.4;
}

.ccw-axis-title-wrap small {
	display: block;
	margin-top: 3px;
	color: var(--ccw-muted);
	font-size: 13px;
	line-height: 1.5;
}

.ccw-axis-meta {
	display: flex;
	align-items: center;
	gap: 15px;
	flex: 0 0 auto;
	color: var(--ccw-muted);
	font-size: 13px;
	white-space: nowrap;
}

.ccw-axis-arrow {
	color: var(--ccw-muted);
	font-size: 11px;
	transition: transform .3s ease;
}

.ccw-axis.ccw-axis-is-open .ccw-axis-arrow {
	transform: rotate(180deg);
}

.ccw-lessons {
	border-top: 1px solid var(--ccw-border);
}

.ccw-lesson {
	display: grid;
	grid-template-columns: 42px minmax(0, 1fr) auto 35px;
	align-items: center;
	gap: 14px;
	padding: 16px 22px;
	border-bottom: 1px solid color-mix(in srgb, var(--ccw-border) 75%, transparent);
	transition: background .25s ease;
}

.ccw-lesson:last-child {
	border-bottom: 0;
}

.ccw-lesson:hover {
	background: var(--ccw-hover-bg);
}

.ccw-lesson-icon {
	width: 38px;
	height: 38px;
	border-radius: 9px;
	font-size: 16px;
	color: var(--ccw-text);
}

.ccw-lesson-info {
	min-width: 0;
}

.ccw-lesson-title {
	display: block;
	color: var(--ccw-text);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
}

.ccw-lesson-info > span {
	display: block;
	margin-top: 4px;
	color: var(--ccw-muted);
	font-size: 12px;
	line-height: 1.4;
}

.ccw-lesson-time {
	color: var(--ccw-muted);
	font-size: 12px;
	white-space: nowrap;
}

.ccw-lesson-lock {
	font-size: 15px;
	opacity: .65;
	text-align: center;
}

@media (max-width: 767px) {
	.ccw-stats {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.ccw-stat {
		min-height: 85px;
	}

	.ccw-stat:nth-child(1),
	.ccw-stat:nth-child(2) {
		border-bottom: 1px solid var(--ccw-border);
	}

	.ccw-stat:nth-child(2) {
		border-left: 0;
	}

	.ccw-stat-number {
		font-size: 23px;
	}

	.ccw-stat > span {
		font-size: 12px;
	}

	.ccw-toggle {
		width: 90%;
		padding: 13px 18px;
		font-size: 14px;
	}

	.ccw-axis-header {
		padding: 16px;
		gap: 10px;
	}

	.ccw-axis-title {
		font-size: 14px;
	}

	.ccw-axis-title-wrap small {
		font-size: 11px;
	}

	.ccw-axis-icon {
		width: 36px;
		height: 36px;
		font-size: 16px;
	}

	.ccw-axis-meta {
		gap: 6px;
		font-size: 10px;
	}

	.ccw-lesson {
		grid-template-columns: 35px minmax(0, 1fr) 25px;
		gap: 10px;
		padding: 13px;
	}

	.ccw-lesson-time {
		display: none;
	}

	.ccw-lesson-icon {
		width: 34px;
		height: 34px;
		font-size: 14px;
	}

	.ccw-lesson-title {
		font-size: 12px;
	}

	.ccw-lesson-info > span {
		font-size: 10px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ccw-root *,
	.ccw-root *::before,
	.ccw-root *::after {
		transition: none !important;
	}
}
