:root {
  --hh-brand-primary: #0d3a92;
  --hh-brand-primary-dark: #081f4d;
  --hh-light-bg: #fbfcfd;
  --hh-light-surface: #f3f7ff;
  --hh-light-border: #d9e4ff;
  --hh-code-light: #1f2c5c;
  --hh-navbar-height: 3.5rem;
}

body {
  background-color: var(--hh-light-bg);
  color: #0f172a;
  padding-top: var(--hh-navbar-height) !important;
  margin: 0;
}

body.article:not(.site-home) {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.article:not(.site-home) > .body {
  flex: 1 0 auto;
}

body.article:not(.site-home) > footer.footer {
  flex-shrink: 0;
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* Header */
.header {
  position: relative;
  z-index: 10000;
}

.navbar,
.navbar-menu,
.navbar-brand,
.navbar-end {
  background: var(--hh-brand-primary);
  color: #ffffff;
  height: var(--hh-navbar-height);
  align-items: center;
  padding: 0 1rem;
  box-sizing: border-box;
}
.navbar {
  isolation: isolate;
  z-index: 10000;
}
.navbar a,
.navbar .navbar-item,
.navbar .navbar-link {
  color: #ffffff;
}
.navbar .navbar-item.search input {
  box-sizing: border-box;
  background: #f5f7ff;
  color: #0f172a;
  border: 1px solid var(--hh-light-border);
  height: 32px;
  padding: 0 0.6rem;
}
.navbar .navbar-item.search input::placeholder {
  color: #657299;
}
.navbar-brand .navbar-item,
.navbar-menu .navbar-item,
.navbar-menu .navbar-link {
  display: flex;
  align-items: center;
  padding: 0 0.75rem;
  height: 100%;
}
.navbar-burger {
  height: var(--hh-navbar-height);
}

.navbar-search-toggle,
.mobile-search-panel {
  display: none;
}

/* Sidebar */
.nav-container,
.nav,
.nav-panel-menu,
.nav-panel-explore,
.nav-panel-explore .components,
.nav-panel-explore .context {
  background: var(--hh-light-surface);
  color: #0f172a;
}
.nav-container {
  top: var(--hh-navbar-height) !important;
}
.nav {
  border-right: 1px solid var(--hh-light-border);
}

@media screen and (min-width: 1024px) {
  .body > .nav-container {
    position: fixed !important;
    top: var(--hh-navbar-height) !important;
    bottom: 0;
    left: 0;
    width: 15rem;
    visibility: visible;
    overflow: hidden;
    z-index: 1;
  }

  .body > .nav-container + main.article {
    flex: 1 1 auto;
    width: calc(100% - 15rem);
    min-width: 0;
    margin-left: 15rem;
  }

  .nav {
    position: static;
    top: auto;
    height: 100%;
    max-height: none;
    overflow: hidden;
  }

  .nav .panels {
    height: 100%;
  }

  .nav-panel-menu {
    height: 100%;
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}

@media screen and (max-width: 1023.5px) {
  .nav-container {
    top: var(--hh-navbar-height) !important;
    bottom: 0;
    height: auto;
    overflow: hidden;
  }

  .nav {
    top: 0;
    height: 100%;
    overflow: hidden;
  }

  .nav .panels {
    height: 100%;
  }

  .nav-panel-menu {
    overflow-y: auto;
    overscroll-behavior: contain;
  }
}
.nav-menu h3.title,
.nav a,
.nav .nav-text {
  color: #0b2159;
}
.nav-item.is-active > .nav-link,
.nav-item.is-current-page > .nav-link {
  color: var(--hh-brand-primary);
  font-weight: 600;
}

/* Breadcrumbs / toolbar */
.toolbar {
  background: var(--hh-brand-primary);
  color: #ffffff;
  border: none;
  box-shadow: none;
  top: var(--hh-navbar-height) !important;
  position: sticky;
  z-index: 2;
  margin: 0;
  padding: 0 0.75rem;
  height: 2.5rem;
  align-items: center;
  display: flex;
}
.toolbar a {
  color: #ffffff;
}

/* Article panel */
.article {
  background: #ffffff;
  border-radius: 20px 20px 0 0;
  box-shadow: 0 10px 25px rgba(13, 58, 146, 0.08);
}

footer.footer .content.has-text-centered {
  width: 100%;
  text-align: center;
}

/* Admonitions */
.admonitionblock td.content {
  background: var(--hh-light-surface);
  border: 1px solid var(--hh-light-border);
  border-radius: 8px;
  padding: 0.75rem 1rem;
}
.admonitionblock td.icon i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 1.75rem;
  padding: 0 0.5rem;
  border-radius: 0.25rem;
  font-style: normal;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
}
.admonitionblock td.icon i.icon-note { background-color: #217ee7; }
.admonitionblock td.icon i.icon-tip { background-color: #41af46; }
.admonitionblock td.icon i.icon-warning { background-color: #e18114; }
.admonitionblock td.icon i.icon-caution { background-color: #a0439c; }
.admonitionblock td.icon i.icon-important { background-color: #d32f2f; }

/* Code blocks */
pre,
code,
pre code,
kbd,
samp,
tt {
  font-size: 0.85rem !important;
}
pre,
code,
kbd,
samp,
tt {
  color: var(--hh-code-light);
  background-color: rgba(13, 58, 146, 0.08);
}

/* Logo sizing */
.brand-logo {
  height: 35px;
  width: auto;
  display: block;
}
.brand-logo-link {
  padding-right: 0.35rem;
}

.brand-title {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Required field marker */
.field-required {
  color: #d32f2f;
  font-weight: 700;
}

/* Availability markers */
.availability-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  vertical-align: -0.12em;
}

.availability-icon::before {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1;
}

.availability-icon-yes {
  background: #73b577;
}

.availability-icon-yes::before {
  content: "+";
}

.availability-icon-no {
  background: #c9c9c9;
}

.availability-icon-no::before {
  content: "−";
}

.navbar-end {
  gap: 0.5rem;
}

.navbar-menu {
  width: 100%;
}

.top-nav {
  display: none;
}

.top-nav.is-ready {
  display: flex;
}

.top-nav__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.top-nav__item {
  position: relative;
}

.top-nav__entry {
  display: flex;
  align-items: center;
  min-height: 100%;
}

.top-nav__link,
.top-nav__label {
  display: flex;
  align-items: center;
  min-height: 100%;
  padding: 0 0.9rem;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}

.top-nav__label {
  border: 0;
  background: transparent;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  font-weight: 600;
  cursor: default;
}

.top-nav__link:hover,
.top-nav__link:focus-visible {
  text-decoration: none;
  background: rgba(255, 255, 255, 0.08);
}

.top-nav__item:hover > .top-nav__entry > .top-nav__label,
.top-nav__item:focus-within > .top-nav__entry > .top-nav__label {
  background: rgba(255, 255, 255, 0.08);
}

.top-nav__item.is-active > .top-nav__entry > .top-nav__link,
.top-nav__item.is-active > .top-nav__entry > .top-nav__label {
  background: rgba(255, 255, 255, 0.14);
}

.top-nav__toggle {
  display: none;
}

.top-nav__dropdown {
  display: none;
}

.top-nav__dropdown-link {
  display: block;
  padding: 0.46rem 1rem;
  color: #0f172a;
  font-size: 0.88rem;
  line-height: 1.2;
  text-decoration: none;
  white-space: nowrap;
}

.top-nav__dropdown-link:hover,
.top-nav__dropdown-link:focus-visible {
  background: var(--hh-light-surface);
  color: var(--hh-brand-primary);
  text-decoration: none;
}

.top-nav__dropdown-group-title {
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-left: 0.5rem;
  padding-left: 0.25rem;
}

.language-switcher__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.4rem;
  height: 2rem;
  padding: 0 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.language-switcher__link:hover {
  text-decoration: none;
  border-color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
}

.language-switcher__link.is-active {
  background: #ffffff;
  color: var(--hh-brand-primary) !important;
  border-color: #ffffff;
}

/* Implemented but intentionally hidden until rollout. */
.navbar-end .language-switcher {
  display: none !important;
}

@media screen and (max-width: 1199.5px) {
  .navbar {
    z-index: 10000;
  }

  .navbar-search-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 var(--hh-navbar-height);
    width: var(--hh-navbar-height);
    min-width: var(--hh-navbar-height);
    height: var(--hh-navbar-height);
    margin-left: auto;
    border: 0;
    background: transparent;
    color: #ffffff;
    cursor: pointer;
    overflow: hidden;
  }

  .navbar-search-toggle__icon {
    position: relative;
    display: block;
    width: 1.05rem;
    height: 1.05rem;
    border: 2px solid currentColor;
    border-radius: 50%;
  }

  .navbar-search-toggle__icon::after {
    content: '';
    position: absolute;
    right: -0.42rem;
    bottom: -0.24rem;
    width: 0.55rem;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    transform: rotate(45deg);
    transform-origin: center;
  }

  .navbar-brand {
    min-width: 0;
    width: 100%;
  }

  .brand-title {
    flex: 1 1 auto;
  }

  .brand-logo-link {
    flex: 0 0 auto;
  }

  .navbar-burger {
    display: flex;
    flex: 0 0 var(--hh-navbar-height);
  }

  .navbar-menu:not(.is-active) {
    display: none;
  }

  .navbar-menu {
    width: 100%;
    height: auto;
    align-items: stretch;
    padding: 0;
  }

  .navbar-menu.is-active {
    display: block;
    position: fixed;
    top: var(--hh-navbar-height);
    left: 0;
    right: 0;
    width: auto;
    height: auto;
    max-height: calc(100vh - var(--hh-navbar-height));
    max-height: calc(100dvh - var(--hh-navbar-height));
    background: var(--hh-brand-primary);
    overflow-y: auto;
    overscroll-behavior: contain;
    box-shadow: 0 12px 28px rgba(8, 31, 77, 0.18);
    z-index: 10010;
  }

  .navbar-menu > .navbar-end {
    display: none;
  }

  .top-nav.is-ready {
    display: block;
    width: 100%;
  }

  .top-nav__list {
    display: block;
  }

  .top-nav__item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .top-nav__entry {
    width: 100%;
    justify-content: space-between;
  }

  .top-nav__link,
  .top-nav__label {
    flex: 1 1 auto;
    min-height: 2.75rem;
    padding: 0.7rem 0.75rem;
  }

  .top-nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
    width: 2.75rem;
    min-height: 2.75rem;
    border: 0;
    background: transparent;
    color: #ffffff;
  }

  .top-nav__toggle-icon {
    display: block;
    width: 0.6rem;
    height: 0.6rem;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg) translateY(-1px);
    transition: transform 0.2s ease;
  }

  .top-nav__item.is-open .top-nav__toggle-icon {
    transform: rotate(-135deg) translateX(-1px);
  }

  .top-nav__dropdown {
    position: static;
    background: var(--hh-brand-primary-dark);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .navbar-menu.is-active .top-nav,
  .navbar-menu.is-active .top-nav__list,
  .navbar-menu.is-active .top-nav__item,
  .navbar-menu.is-active .top-nav__entry {
    background: var(--hh-brand-primary);
  }

  .navbar-menu.is-active .top-nav__dropdown {
    background: var(--hh-brand-primary-dark);
  }

  .top-nav__item.is-open > .top-nav__dropdown {
    display: block;
  }

  .top-nav__dropdown-link {
    padding: 0.75rem 0.75rem 0.75rem 1.5rem;
    color: #ffffff;
    white-space: normal;
  }

  .top-nav__dropdown-link:hover,
  .top-nav__dropdown-link:focus-visible {
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
  }

  .top-nav__dropdown--grouped {
    padding: 0;
  }

  .top-nav__dropdown-group + .top-nav__dropdown-group {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .top-nav__dropdown-group-title {
    color: rgba(255, 255, 255, 0.82);
    padding: 0.8rem 0.75rem 0.35rem;
  }

  .top-nav__dropdown--grouped .top-nav__dropdown-link {
    padding-left: 1.5rem;
  }

  .navbar-menu .language-switcher {
    width: 100%;
    justify-content: flex-start;
    margin-left: 0;
    padding-left: 0.75rem;
  }

  .mobile-search-panel {
    position: fixed;
    box-sizing: border-box;
    top: var(--hh-navbar-height);
    left: 0;
    right: 0;
    display: block;
    padding: 0.625rem 0.75rem;
    border-radius: 0 0 0.75rem 0.75rem;
    background: var(--hh-brand-primary);
    background-clip: padding-box;
    box-shadow: 0 12px 28px rgba(8, 31, 77, 0.18);
    z-index: 10020;
  }

  .mobile-search-panel[hidden] {
    display: none;
  }

  .mobile-search-panel__content {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .mobile-search-panel .navbar-item.search {
    box-sizing: border-box;
    display: block;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    padding: 0;
    background: transparent;
  }

  .mobile-search-panel #search-field {
    position: relative;
    display: block;
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    max-width: 100%;
  }

  .mobile-search-panel #search-input {
    box-sizing: border-box;
    min-width: 0;
    width: 100%;
    max-width: 100%;
    height: 2.75rem;
    padding: 0 0.9rem;
    border-radius: 0.5rem;
    font-size: 1rem;
  }

  .mobile-search-panel .search-result-dropdown-menu {
    top: calc(100% + 0.5rem);
    left: 0;
    right: 0;
    width: 100%;
    min-width: 0;
    max-width: none;
  }
}

@media screen and (min-width: 1200px) {
  .navbar {
    display: flex;
    align-items: stretch;
  }

  .navbar-brand {
    flex: 0 0 auto;
    min-width: 0;
  }

  .navbar-menu {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
  }

  .navbar-start.top-nav {
    display: flex;
    align-items: stretch;
    flex: 0 0 auto;
    min-width: 0;
    margin-left: auto;
  }

  .top-nav__list {
    display: flex;
    align-items: stretch;
    min-width: 0;
  }

  .top-nav__item {
    display: flex;
    align-items: stretch;
  }

  .top-nav__dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 18rem;
    background: #ffffff;
    border: 1px solid var(--hh-light-border);
    border-top: 0;
    box-shadow: 0 12px 28px rgba(8, 31, 77, 0.16);
    z-index: 5;
  }

  .top-nav__dropdown--grouped {
    min-width: 40rem;
    max-width: min(56rem, calc(100vw - 2rem));
    padding: 1rem 1.1rem;
    display: none;
    grid-template-columns: repeat(2, minmax(15rem, 1fr));
    gap: 1rem 1.6rem;
    align-items: start;
  }

  .top-nav__item--grouped {
    position: relative;
  }

  .top-nav__item--grouped > .top-nav__dropdown--grouped {
    left: auto;
    right: 0;
  }

  .top-nav__dropdown-group {
    min-width: 0;
  }

  .top-nav__dropdown-group-title {
    color: #60708d;
    margin: 0 0 0.35rem;
    padding: 0;
    text-transform: uppercase;
  }

  .top-nav__dropdown--grouped .top-nav__dropdown-link {
    padding: 0.36rem 0;
    white-space: normal;
  }

  .navbar .top-nav__dropdown-link {
    color: #0f172a;
  }

  .top-nav__item:hover > .top-nav__dropdown,
  .top-nav__item:focus-within > .top-nav__dropdown,
  .top-nav__item.is-open > .top-nav__dropdown {
    display: block;
  }

  .top-nav__item:hover > .top-nav__dropdown--grouped,
  .top-nav__item:focus-within > .top-nav__dropdown--grouped,
  .top-nav__item.is-open > .top-nav__dropdown--grouped {
    display: grid;
  }

  .navbar .top-nav__dropdown-link:hover,
  .navbar .top-nav__dropdown-link:focus-visible {
    color: var(--hh-brand-primary);
  }

  .navbar-end {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex: 0 0 auto;
    margin-left: 0;
  }

  .navbar-item.search {
    padding-left: 0.5rem;
    padding-right: 0;
  }
}

@media screen and (min-width: 1024px) {
  main.article > .content {
    display: grid;
    grid-template-columns: minmax(0, 1fr) clamp(16.5rem, 17vw, 19.5rem);
    align-items: start;
    column-gap: clamp(2rem, 2.8vw, 3rem);
    padding: 0 clamp(1.5rem, 2.5vw, 2.5rem) 0 clamp(1.75rem, 2.7vw, 3rem);
  }

  main.article > .content > .doc {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    max-width: 72rem;
    min-width: 0;
    margin: 0;
    padding: 0 0 4rem;
  }

  main.article > .content > .doc > h1.page:first-child {
    margin-top: 0.85rem !important;
  }

  main.article > .content > .toc.sidebar {
    grid-column: 2;
    grid-row: 1;
    display: block;
    flex: none;
    width: 100%;
    max-width: 19.5rem;
    margin: 0;
    order: initial;
    justify-self: stretch;
    align-self: start;
    position: sticky;
    top: calc(var(--hh-navbar-height) + 2.35rem);
    max-height: calc(100vh - var(--hh-navbar-height) - 3rem);
  }

  .toc.sidebar .toc-menu {
    margin-right: 0;
    position: static;
  }

  .toc.sidebar .toc-menu ul {
    max-height: calc(100vh - var(--hh-navbar-height) - 5.75rem);
    overflow-y: auto;
  }
}

@media screen and (min-width: 1024px) {
  body.site-home main.article > .content {
    display: block;
    padding: 0 clamp(3rem, 6vw, 6rem);
  }

  body.site-home main.article > .content > .doc {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
    padding: 0 0 4rem;
  }

  body.site-home main.article > .content > .doc > h1.page:first-child {
    width: min(100%, 62rem);
    margin: 2rem auto 0;
    padding: 0 1rem;
    text-align: center;
  }
}

body.site-home .article {
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
}

body.site-home {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body.site-home .body {
  display: flex;
  flex: 1 0 auto;
  min-height: calc(100vh - var(--hh-navbar-height) - 2.1rem);
}

body.site-home main.article > .content {
  max-width: none;
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  width: 100%;
}

body.site-home .doc {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  justify-content: center;
  padding: 0;
}

body.site-home .doc > h1.page:first-child {
  display: none;
}

body.site-home .article .toolbar,
body.site-home .article .toc.sidebar,
body.site-home .doc .toc.sidebar {
  display: none;
}

body.site-home .navbar-end > .navbar-item.search {
  visibility: hidden;
  pointer-events: none;
  width: 0;
  min-width: 0;
  padding: 0;
  margin: 0;
  overflow: hidden;
}

body.site-home .navbar-search-toggle {
  display: none !important;
}

.site-home__shell {
  width: min(100%, 62rem);
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-home__hero {
  width: 100%;
  padding: 0 0 2rem;
}

.site-home__search-shell {
  position: relative;
  width: 100%;
  min-height: 4.25rem;
  margin: 0 auto;
}

.site-home__search-mount {
  width: 100%;
}

.site-home__search-mount > .navbar-item.search {
  display: block;
  background: transparent;
  height: auto;
  padding: 0;
  visibility: visible;
  pointer-events: auto;
}

.site-home__search-mount .field,
.site-home__search-mount #search-field {
  display: block;
  width: 100%;
}

.site-home__search-mount #search-input {
  box-sizing: border-box;
  width: 100%;
  height: 4.25rem;
  padding: 0 4.75rem 0 1.5rem;
  border: 0;
  border-radius: 1rem;
  background: #ffffff;
  color: #0f172a;
  font-size: 1.15rem;
  box-shadow: 0 18px 36px rgba(8, 31, 77, 0.14);
}

.site-home__search-mount #search-input::placeholder {
  color: #6780bb;
}

.site-home__search-icon {
  position: absolute;
  top: 50%;
  right: 1.45rem;
  width: 1.45rem;
  height: 1.45rem;
  border: 3px solid var(--hh-brand-primary);
  border-radius: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.site-home__search-icon::after {
  content: '';
  position: absolute;
  right: -0.48rem;
  bottom: -0.44rem;
  width: 0.8rem;
  height: 0.2rem;
  border-radius: 999px;
  background: var(--hh-brand-primary);
  transform: rotate(45deg);
}

.site-home__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  width: min(100%, 50rem);
  margin: 0 auto;
  gap: 3rem;
  align-items: start;
  justify-content: center;
}

.site-home__panel {
  min-width: 0;
  max-width: 23.5rem;
  justify-self: center;
}

body.site-home .doc h2.site-home__panel-title {
  margin: 0;
  margin-left: 0;
  margin-right: 0;
  width: 22.1rem;
  max-width: 100%;
  color: #12316d;
  font-size: 1.35rem;
  font-weight: 700;
  padding: 0 0 0.8rem;
  border-bottom: 1px solid var(--hh-light-border);
}

.site-home__panel-links {
  margin: 0.8rem 0 0;
  padding: 0 0 0 1.35rem;
}

.site-home__panel-links li {
  margin: 0 0 0.4rem;
}

.site-home__panel-links li:last-child {
  margin-bottom: 0;
}

.site-home__panel a {
  color: #0b5fb3;
  text-decoration: none;
}

.site-home__panel a:hover,
.site-home__panel a:focus-visible {
  text-decoration: underline;
}

body.site-home.site-home--search-missing .site-home__hero {
  display: none;
}

@media screen and (min-width: 1280px) {
  html {
    font-size: 1em;
  }

  main.article > .content {
    grid-template-columns: minmax(0, 1fr) clamp(15rem, 15vw, 17rem);
    column-gap: clamp(1.5rem, 2vw, 2.25rem);
    padding: 0 clamp(1rem, 1.8vw, 1.75rem) 0 clamp(1.25rem, 2vw, 2rem);
  }

  main.article > .content > .doc {
    max-width: 64rem;
  }

  main.article > .content > .toc.sidebar {
    max-width: 17rem;
  }

  body.site-home main.article > .content {
    padding: 0 clamp(1.5rem, 3.5vw, 3rem);
  }

  body.site-home main.article > .content > .doc > h1.page:first-child {
    width: min(100%, 54rem);
    margin: 1.25rem auto 0;
  }

  .site-home__shell {
    width: min(100%, 54rem);
  }

  .site-home__hero {
    padding: 0 0 1.5rem;
  }

  .site-home__search-shell {
    min-height: 3.5rem;
  }

  .site-home__search-mount #search-input {
    height: 3.5rem;
    padding: 0 4rem 0 1.25rem;
    border-radius: 0.875rem;
    font-size: 1rem;
    box-shadow: 0 12px 24px rgba(8, 31, 77, 0.12);
  }

  .site-home__search-icon {
    right: 1.2rem;
    width: 1.2rem;
    height: 1.2rem;
    border-width: 2px;
  }

  .site-home__search-icon::after {
    right: -0.42rem;
    bottom: -0.36rem;
    width: 0.68rem;
    height: 0.18rem;
  }

  .site-home__grid {
    width: min(100%, 46rem);
    gap: 2rem;
  }

  .site-home__panel {
    max-width: 21.5rem;
  }

  body.site-home .doc h2.site-home__panel-title {
    width: 19.5rem;
    font-size: 1.15rem;
    padding: 0 0 0.65rem;
  }

  .site-home__panel-links {
    margin: 0.65rem 0 0;
    padding: 0 0 0 1.15rem;
  }

  .site-home__panel-links li {
    margin: 0 0 0.28rem;
  }
}

@media screen and (max-width: 1023.5px) {
  body.site-home {
    overflow-x: hidden;
  }

  body.site-home .body,
  body.site-home main.article,
  body.site-home main.article > .content,
  body.site-home .doc,
  .site-home__shell,
  .site-home__grid,
  .site-home__panel {
    min-width: 0;
    max-width: 100%;
  }

  .site-home__shell,
  .site-home__grid,
  .site-home__panel {
    box-sizing: border-box;
    width: 100%;
  }

  .site-home__panel {
    justify-self: stretch;
  }

  body.site-home .doc h2.site-home__panel-title {
    width: 100%;
    max-width: 100%;
  }

  .site-home__panel-links {
    min-width: 0;
  }

  .site-home__panel a {
    overflow-wrap: anywhere;
  }

  body.site-home .doc > h1.page:first-child {
    margin-top: 1.5rem;
  }

  .site-home__hero {
    padding: 1.25rem 0 1.75rem;
  }

  .site-home__search-shell {
    width: min(100%, 40rem);
    min-height: 3.75rem;
  }

  .site-home__search-mount #search-input {
    height: 3.75rem;
    padding-left: 1rem;
    padding-right: 4.25rem;
    font-size: 1rem;
  }

  .site-home__search-icon {
    right: 1.1rem;
    width: 1.2rem;
    height: 1.2rem;
    border-width: 2px;
  }

  .site-home__search-icon::after {
    right: -0.45rem;
    bottom: -0.38rem;
    width: 0.7rem;
  }

  .site-home__grid {
    grid-template-columns: minmax(0, 1fr);
    width: min(100%, 40rem);
    gap: 1.25rem;
  }
}

@media screen and (max-width: 480px) {
  .navbar-brand {
    justify-content: flex-start;
  }

  .brand-title {
    display: none !important;
  }

  .brand-logo-link {
    margin-right: auto;
  }

  .brand-logo {
    height: 32px;
  }

  .site-home__shell {
    padding: 0 0.75rem;
  }

  .site-home__search-shell {
    min-height: 3.25rem;
  }

  .site-home__search-mount #search-input {
    height: 3.25rem;
    padding-right: 3.5rem;
    padding-left: 1rem;
    border-radius: 0.875rem;
  }
}
