/* Mobile TOC placement (agent 39, 2026-11-12) - see inc/toc-mobile.php.
   Below 1200px the TOC bar is shown inside the content after the intro toplist;
   from 1200px the side rail (the original element) is used. */
@media (max-width: 1199px) {
	.bg-entry__content-wrap:has(.bg-page-nav--inline) > .bg-page-nav:not(.bg-page-nav--inline) {
		display: none !important;
	}
	.entry-content .bg-page-nav--inline {
		margin-top: 1.5rem;
		margin-bottom: 2rem;
	}
}
@media (min-width: 1200px) {
	.bg-page-nav--inline {
		display: none !important;
	}
}
