/* --- Per-cell utility classes from MyST --- */
.code-small pre { font-size: 0.875rem; line-height: 1.45; }
.code-wrap  pre { white-space: pre-wrap; overflow-wrap: anywhere; }


/* Let very wide elements (big tables/figs) run full width */
.bd-article .full-width {
  max-width: none;
}

/*On this page content spacer*/

/* spacing/divider above the page ToC */
.page-toc { margin-top: .75rem; padding-top: .75rem; border-top: 1px solid var(--pst-color-border); padding-bottom: .75rem; border-bottom: 1px solid var(--pst-color-border);}

/* bulletless lists & tidy links */
.page-toc ul { list-style: none; margin: 0; padding-left: 0; }
.page-toc ul ul { padding-left: .75rem; }
.page-toc a { text-decoration: none;}
/*.page-toc a font { color: black;}*/
.page-toc a:hover { text-decoration: underline; }

/* ==== Use full width; remove right sidebar (sphinx_book_theme) ==== */
@media (min-width: 992px) {

  /* Collapse the grid to two columns and drop the third area */
  .bd-main {
    grid-template-columns: var(--pst-sidebar-primary-width, 18rem) minmax(0, 1fr) !important;
    grid-template-areas: "sidebar-primary content" !important;
  }

  /* Widen the page container so code blocks have room */
  .bd-page-width { max-width: 100rem !important; } /* tweak to taste */
}

:root{
  --pst-page-width: 150rem;
  --pst-page-max-width: 150rem;
  --pst-sidebar-secondary: 0rem;
}
