/* Operator headers inside merged nav sections (see scripts/merge_docs.py).
   A label, not a link: greyed out and never clickable. Its pages are rendered
   as siblings, so they need no indent rules here. */
.md-nav__item--label {
  /* lopsided on purpose: the gap above separates the label from the block
     before it, the tight gap below binds it to the pages it names. Keep in mind
     line-height adds roughly 0.15rem of leading on each side of the text. */
  margin-top: 0.55rem;
  margin-bottom: 0.1rem;
}

.md-nav__label {
  display: block;
  /* desktop (min-width: 76.25em, material's own breakpoint for the primary nav):
     .md-nav__link itself has no horizontal padding there, .md-nav__list supplies
     it via padding-left: .6rem, so match by leaving this at 0 too. */
  padding: 0;
  /* greyed out on purpose: the label orients, the page links below it are what
     the reader is meant to reach for. */
  color: var(--md-default-fg-color--lighter);
  /* sentence case, not uppercase: at this size caps are the hard part to read,
     and the grey already carries the de-emphasis. Slightly larger than the
     uppercase version was to make up for the lower x-height. */
  font-size: 0.6rem;
  font-weight: 600;
  line-height: 1.5;
}

/* mobile drawer: .md-nav__link carries its own padding: .6rem .8rem there
   (same breakpoint material gates that rule with), so match it here too. */
@media screen and (max-width: 76.234375em) {
  .md-nav__label {
    padding: 0.6rem 0.8rem;
  }
}
