
/* main reading area */
.md-content {
    text-align: justify;
}

.hidden-heading {
    display: none;
}

@media screen and (min-width: 76.25em) {
    .md-main__inner {
        max-inline-size: 1580px;
    }

    .md-main__inner > .md-sidebar {
        max-inline-size: 266px;
    }

    .md-content__inner {
        max-inline-size: 1000px;
    }
}

/* adds borders to either side of the reading area */
.md-content {
    position: relative;
}

.md-content::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 0.5px;
    background: var(--docs-border);
    z-index: 1;
}

.md-content::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: -5px;
    width: 0.5px;
    background: var(--docs-border);
    z-index: 1;
}

@media (max-width: 959px) {
    .md-content::before,
    .md-content::after {
        display: none;
    }
}

:root {
  --heading-font: ui-monospace, SFMono-Regular, Menlo, Consolas,
                  "Liberation Mono", monospace;
}

.md-typeset h1,
.md-typeset h2,
.md-typeset h3,
.md-typeset h4,
.md-typeset h5,
.md-typeset h6 {
  font-family: var(--heading-font);
  font-weight: 700;      /* or 600 if you prefer */
  letter-spacing: 0;     /* adjust if your font feels tight/wide */
}


/* Apply same font to the top-left brand title (site/repo name) */
.md-header__brand .md-ellipsis,
.md-header__title,
.md-header__topic,
[data-md-component="header-title"] {
  font-family: var(--heading-font);
  font-weight: 700;   /* tweak to 600/500 if too heavy */
  letter-spacing: 0;  /* adjust if needed */
}


/* Primary navigation and table of contents. */
.md-sidebar--primary .md-nav__link {
    font-family: var(--heading-font);
    font-size: 16.8px;
    font-weight: 600;
}

.md-sidebar--primary .md-nav__link--active,
.md-sidebar--secondary .md-nav--secondary .md-nav__link--active {
    font-weight: 700;
}

.md-nav__link code { font-family: inherit; } /* keep code fragments consistent in TOCs */

/* Darker bottom edge on the app bar. */
[data-md-color-scheme="default"] .md-tabs {
    box-shadow: 0 -0.05rem 0 inset rgba(0, 0, 0, 0.32);
}

[data-md-color-scheme="slate"] .md-tabs {
    box-shadow: 0 -0.05rem 0 inset rgba(0, 0, 0, 0.45);
}
