.sbga-search-open {
  overflow: hidden;
}

.sbga-drawer-open {
  overflow: hidden;
}

.sbga-menu-button {
  position: fixed;
  top: 14px;
  left: 14px;
  z-index: 9998;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 50%;
  background: rgba(27, 27, 27, 0.82);
  color: #fff;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.sbga-menu-button:hover {
  background: rgba(31, 56, 80, 0.95);
}

.sbga-menu-button svg {
  width: 24px;
  height: 24px;
}

.sbga-drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: none;
  background: rgba(12, 18, 24, 0.58);
  font-family: "Open Sans", Arial, sans-serif;
}

.sbga-drawer-open .sbga-drawer-backdrop {
  display: block;
}

.sbga-drawer {
  box-sizing: border-box;
  width: min(360px, calc(100vw - 42px));
  height: 100%;
  overflow: auto;
  background: #1b1b1b;
  color: #e1dfdb;
  box-shadow: 14px 0 40px rgba(0, 0, 0, 0.32);
  transform: translateX(-100%);
  transition: transform 180ms ease;
}

.sbga-drawer-open .sbga-drawer {
  transform: translateX(0);
}

.sbga-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 18px 14px;
  border-bottom: 1px solid rgba(225, 223, 219, 0.18);
}

.sbga-drawer-title {
  color: #fff;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.25;
}

.sbga-drawer-close {
  display: grid;
  flex: 0 0 auto;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #e1dfdb;
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
}

.sbga-drawer-close:hover {
  background: rgba(255, 255, 255, 0.12);
}

.sbga-drawer-nav {
  padding: 10px 0 22px;
}

.sbga-menu-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.sbga-menu-list .sbga-menu-list {
  padding-left: 14px;
}

.sbga-menu-item {
  margin: 0;
}

.sbga-menu-link,
.sbga-menu-summary {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 10px 18px;
  color: #e1dfdb;
  cursor: pointer;
  font-size: 15px;
  line-height: 1.35;
  text-decoration: none;
}

.sbga-menu-summary {
  list-style: none;
}

.sbga-menu-summary::-webkit-details-marker {
  display: none;
}

.sbga-menu-summary::after {
  float: right;
  content: "v";
  font-size: 13px;
  opacity: 0.8;
}

.sbga-menu-branch[open] > .sbga-menu-summary::after {
  transform: rotate(180deg);
}

.sbga-menu-link:hover,
.sbga-menu-summary:hover,
.sbga-menu-link[aria-current="page"] {
  background: rgba(34, 62, 90, 1);
  color: #fff;
}

.sbga-search-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  background: rgba(12, 18, 24, 0.55);
  font-family: "Open Sans", Arial, sans-serif;
}

.sbga-search-open .sbga-search-overlay {
  display: block;
}

.sbga-search-panel {
  box-sizing: border-box;
  width: min(760px, calc(100vw - 32px));
  max-height: min(720px, calc(100vh - 32px));
  margin: 16px auto;
  overflow: hidden;
  border-radius: 6px;
  background: #fff;
  box-shadow: 0 18px 55px rgba(0, 0, 0, 0.35);
}

.sbga-search-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-bottom: 1px solid #dde3ea;
}

.sbga-search-input {
  min-width: 0;
  flex: 1;
  border: 0;
  outline: 0;
  color: #17212b;
  font: 400 18px/1.4 "Open Sans", Arial, sans-serif;
}

.sbga-search-close {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: #415163;
  cursor: pointer;
  font-size: 24px;
  line-height: 1;
}

.sbga-search-close:hover,
.sbga-search-result:hover {
  background: #eef3f8;
}

.sbga-search-results {
  box-sizing: border-box;
  max-height: calc(min(720px, 100vh - 32px) - 65px);
  overflow: auto;
  padding: 8px;
}

.sbga-search-result,
.sbga-search-empty {
  display: block;
  border-radius: 6px;
  padding: 12px;
  color: #17212b;
  text-decoration: none;
}

.sbga-search-title {
  font-weight: 700;
}

.sbga-search-path,
.sbga-search-snippet {
  margin-top: 3px;
  color: #5a6878;
  font-size: 13px;
  line-height: 1.35;
}

.sbga-menu-expanded > svg {
  transform: rotate(180deg);
}

.j10yRb {
  cursor: pointer;
}

@media (max-width: 640px) {
  .sbga-search-panel {
    width: 100%;
    max-height: 100%;
    margin: 0;
    border-radius: 0;
  }

  .sbga-search-results {
    max-height: calc(100vh - 65px);
  }

  .sbga-menu-button {
    top: 10px;
    left: 10px;
  }
}
