/*
 * CS Mitlaufendes Inhaltsverzeichnis – Darstellung am Inhaltsanfang.
 * WordPress lädt diese Datei nur unterhalb des eingestellten Breakpoints.
 * Es wird dasselbe Navigationselement wie auf dem Desktop verwendet.
 */

.cs-sticky-toc-layout {
	display: flex;
	flex-direction: column;
	width: 100%;
	margin-left: 0;
}

.cs-sticky-toc-sidebar {
	display: block !important;
	order: 0;
	width: 100%;
	max-width: 100%;
	margin: 0 0 32px;
	box-sizing: border-box;
}

.cs-sticky-toc-content {
	order: 1;
	width: 100%;
}

.cs-sticky-toc-sticky {
	position: static;
	width: 100%;
	max-width: 100%;
	max-height: none;
	padding: 16px;
	box-sizing: border-box;
	overflow: visible;
	background: rgba(244, 70, 71, 0.06);
}

.cs-sticky-toc-top-anchor,
.cs-sticky-toc-scroll-target,
.cs-sticky-toc-content h1[id],
.cs-sticky-toc-content h2[id],
.cs-sticky-toc-content h3[id],
.cs-sticky-toc-content h4[id],
.cs-sticky-toc-content h5[id] {
	scroll-margin-top: var(--cs-toc-scroll-offset-mobile, 110px);
}
