/* The left sidebar holds the whole site tree: Home, Tutorials, Concepts,
   API reference and Project. */

/* The header already shows the site name, so on wide screens the tree starts
   at Home. Narrow screens keep the title, which heads the navigation drawer. */
@media screen and (min-width: 76.25em) {
  .md-nav--primary > .md-nav__title {
    display: none;
  }
}

/* Top-level entries read as the headings of the tree. */
.md-nav--primary > .md-nav__list > .md-nav__item > .md-nav__link {
  font-weight: 700;
}

/* Capability map: break lines between identifiers, never inside one. */
.md-typeset .capability-map code {
  white-space: nowrap;
  word-break: normal;
}

/* Example gallery: the card pictures share one shape, whatever the plot's own. */
.md-typeset .example-gallery img {
  aspect-ratio: 5 / 2;
  width: 100%;
  object-fit: contain;
}
