/* Strengthen the 2-tier sidebar hierarchy: bold section headers, and a
   clearly indented + left-guided list of pages under each section — the
   default Material spacing (12px, same font-weight) reads as flat. */
.md-nav--primary > .md-nav__list > .md-nav__item--nested > .md-nav__link {
  font-weight: 700;
}

.md-nav--primary .md-nav__item--nested > .md-nav {
  margin-left: 2px;
  padding-left: 2px;
  border-left: 1px solid var(--md-default-fg-color--lightest);
}

.md-nav--primary .md-nav__item--nested > .md-nav .md-nav__link {
  font-weight: 400;
}

/* Material's default code font (Roboto Mono) doesn't render Unicode box-drawing
   characters (─│┌┐└┘├┤┬┴┼) at the same fixed width as regular monospace glyphs,
   so ASCII-art tables in fenced code blocks drift out of column alignment.
   Fall back to fonts with correctly monospaced box-drawing glyphs instead. */
.md-typeset pre,
.md-typeset code {
  font-family: Consolas, "Cascadia Mono", "Liberation Mono", Menlo, monospace;
}

/* The primary sidebar repeats the site name (already in the top header bar)
   as a static heading on desktop widths — drop it there. */
@media screen and (min-width: 76.25em) {
  .md-nav--primary .md-nav__title[for="__drawer"] {
    display: none;
  }
}
