/* Hide the auto-added section index link inside drawers (duplicate of section title).
   navigation.indexes adds the section's .md file as the first sub-item under the drawer.
   We want only the explicit sub-tab anchors to appear, so hide the duplicate.
   The duplicate has href WITHOUT '#' (page link), while sub-tabs have anchors (with '#'). */
.md-nav[data-md-level="1"] > .md-nav__list > .md-nav__item:first-child > .md-nav__link:not([href*="#"]) {
  display: none;
}
/* Also hide the active-state version of the same duplicate (current page). */
.md-nav[data-md-level="1"] > .md-nav__list > .md-nav__item--active:first-child > .md-nav__link--active:not([href*="#"]) {
  display: none;
}
