/* Mobile TOC: half the theme’s original offset below the header (was 85px sticky / 73px padding). */
@media (max-width: 1199.98px) {
  .page-content .layout-spacing:has(> .docs-toc-mobile:not(.visually-hidden)) {
    padding-top: 66px !important; /* 59px header + 7px (half of 14px) */
  }

  .page-content .docs-toc-mobile {
    top: 72px; /* 59px header + 13px (half of 26px) */
    margin-bottom: 0.25rem;
  }

  .page-content .docs-toc-mobile .dropdown-toggle {
    margin-bottom: 0.5rem;
  }

  .page-content .docs-toc-mobile .dropdown-menu {
    transform: translateY(-0.5rem) !important;
  }
}
