.ts-article .ts-toc,
.ts-article .ts-toc__title,
.ts-article .ts-toc__link,
.ts-article .ts-toc__toggle {
	font-family: 'IRANYekan', sans-serif;
}

.ts-article .ts-toc__link {
	font-size: 14px;
	color: #8993a1;
	white-space: normal;
	overflow-wrap: anywhere;
}

.ts-article .ts-toc.is-scrollable .ts-toc__body {
	direction: rtl;
	overflow-x: hidden;
	overflow-y: auto;
	padding-right: 6px;
	padding-left: 8px;
	scrollbar-width: thin;
	scrollbar-color: #5975e4 #fff;
}

@supports selector(::-webkit-scrollbar) {
	.ts-article .ts-toc.is-scrollable .ts-toc__body {
		scrollbar-width: auto;
		scrollbar-color: auto;
	}
}

.ts-article .ts-toc.is-scrollable .ts-toc__body::-webkit-scrollbar {
	width: 6px;
	height: 0;
}

.ts-article .ts-toc.is-scrollable .ts-toc__body::-webkit-scrollbar-track {
	background: #fff;
	border-radius: 999px;
}

.ts-article .ts-toc.is-scrollable .ts-toc__body::-webkit-scrollbar-thumb {
	background: #5975e4;
	border-radius: 999px;
	min-height: 56px;
}

.ts-article .ts-toc.is-scrollable .ts-toc__body::-webkit-scrollbar-button {
	display: none;
	width: 0;
	height: 0;
}

.ts-article .ts-toc.is-scrollable .ts-toc__body::-webkit-scrollbar-corner {
	background: transparent;
}

.ts-article .ts-toc__link:visited {
	color: #8993a1;
}

.ts-article .ts-toc__item.is-active .ts-toc__link,
.ts-article .ts-toc__item.is-active .ts-toc__link:visited,
.ts-article .ts-toc__link:hover,
.ts-article .ts-toc__link:focus-visible {
	color: #242932;
}

.ts-article .ts-toc__item::before {
	top: 20px;
	transform: translate(50%, -50%);
}
