/* Shared site shell for every tagged documentation snapshot. */

.bd-article {
  line-height: 1.65;
}

.bd-article h1,
.bd-article h2,
.bd-article h3 {
  letter-spacing: -0.018em;
}

.bd-article h2 {
  margin-top: 2.6rem;
}

.bd-article #openrath > h1 + blockquote {
  display: none;
}

.bd-article div[class*="highlight-"] {
  margin: 1.1rem 0 1.5rem;
  border: 1px solid var(--pst-color-border);
  border-radius: 8px;
  box-shadow: none;
}

.bd-article div[class*="highlight-"] pre {
  border-radius: 8px;
  line-height: 1.5;
}

.bd-article table {
  margin-top: 1.1rem;
  margin-bottom: 1.7rem;
}

.bd-header .version-switcher__button {
  white-space: nowrap;
  font-size: 0.9rem;
  line-height: 1.35;
}

@media (min-width: 960px) {
  .bd-header .navbar-header-items__start,
  .bd-header .navbar-header-items__center,
  .bd-header .navbar-header-items__end,
  .bd-header .navbar-header-items__center .navbar-nav {
    flex-flow: row nowrap;
  }

  .bd-header .navbar-header-items__center {
    min-width: 0;
  }

  .bd-header .navbar-header-items__center .nav-link {
    padding-right: 0.4rem;
    padding-left: 0.4rem;
    white-space: nowrap;
  }

  .bd-header .navbar-header-items__end {
    flex: 0 0 auto;
    margin-left: auto;
    column-gap: 0.65rem;
  }

  .bd-sidebar-primary .bd-sidenav li > a,
  .bd-sidebar-primary .bd-sidenav .toctree-l2 > a {
    padding-top: 0.28rem;
    padding-bottom: 0.28rem;
    line-height: 1.35;
  }
}

@media (min-width: 960px) and (max-width: 1100px) {
  .bd-header .search-button__default-text,
  .bd-header .search-button__kbd-shortcut {
    display: none;
  }

  .bd-header .search-button-field {
    display: inline-flex;
    width: 2.3rem;
    min-width: 2.3rem;
    height: 2.3rem;
    padding: 0;
    align-items: center;
    justify-content: center;
  }

  .bd-header .navbar-header-items__center .nav-link {
    padding-right: 0.25rem;
    padding-left: 0.25rem;
    font-size: 0.95rem;
  }

  .bd-header .navbar-header-items__end {
    column-gap: 0.4rem;
  }
}
