.has-site-chrome body > .toolbar,
.has-site-chrome body > .topbar,
.has-site-chrome body > .footer,
.has-site-chrome body > footer.site-footer {
  display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10000;
  background: #07172c;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 4px 18px rgba(7, 23, 44, 0.18);
}

.site-nav-wrap {
  position: relative;
  width: min(1180px, calc(100% - 32px));
  min-height: 64px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-logo {
  min-width: 0;
  flex: 1 1 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.site-logo:hover,
.site-logo:focus {
  color: #fff;
  text-decoration: none;
}

.site-logo img {
  width: 42px;
  height: 42px;
  display: block;
  border-radius: 8px;
  background: #fff;
  padding: 3px;
}

.site-logo > span {
  min-width: 0;
  overflow: hidden;
}

.site-logo strong {
  display: block;
  color: #fff;
  font-size: 18px;
  line-height: 1.05;
  letter-spacing: 0;
  white-space: nowrap;
}

.site-logo span span {
  display: block;
  color: #cbd5e1;
  font-size: 12px;
  line-height: 1.2;
}

.site-menu-toggle {
  display: none;
  width: auto;
  min-width: 40px;
  flex: 0 0 auto;
  margin-left: auto;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  padding: 8px 10px;
  font: inherit;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.site-menu-icon,
.site-menu-icon::before,
.site-menu-icon::after {
  width: 18px;
  height: 2px;
  display: block;
  flex: 0 0 auto;
  background: currentColor;
  border-radius: 2px;
  content: "";
}

.site-menu-icon {
  position: relative;
}

.site-menu-icon::before,
.site-menu-icon::after {
  position: absolute;
  left: 0;
}

.site-menu-icon::before {
  top: -6px;
}

.site-menu-icon::after {
  top: 6px;
}

.site-header.is-open .site-menu-icon {
  background: transparent;
}

.site-header.is-open .site-menu-icon::before {
  top: 0;
  transform: rotate(45deg);
}

.site-header.is-open .site-menu-icon::after {
  top: 0;
  transform: rotate(-45deg);
}

.site-menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 4px;
}

.site-menu a,
.site-menu summary {
  color: #e5eefb;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
  border-radius: 8px;
  padding: 10px 11px;
}

.site-menu a:hover,
.site-menu a:focus,
.site-menu summary:hover,
.site-menu summary:focus {
  color: #fff;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
}

.site-menu-group {
  position: relative;
}

.site-menu-group summary {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  cursor: pointer;
}

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

.site-menu-group summary::after {
  width: 7px;
  height: 7px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  content: "";
}

.site-submenu {
  display: none;
  min-width: 230px;
  padding: 8px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 18px 40px rgba(7, 23, 44, 0.25);
}

.site-menu-group[open] .site-submenu {
  display: grid;
  gap: 2px;
}

.site-submenu a {
  color: #102341;
  padding: 9px 10px;
}

.site-submenu a:hover,
.site-submenu a:focus {
  color: #07172c;
  background: #eef5ff;
}

.related-links {
  width: min(1180px, calc(100% - 32px));
  margin: 28px auto;
  padding: 22px;
  border: 1px solid #dbe5f0;
  border-radius: 8px;
  background: #fff;
  color: #102341;
}

.related-links h2 {
  margin: 0 0 14px;
  color: #102341;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 800;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.related-group h3 {
  margin: 0 0 8px;
  color: #334155;
  font-size: 14px;
  line-height: 1.25;
  font-weight: 800;
  text-transform: uppercase;
}

.related-group a {
  display: block;
  width: fit-content;
  color: #1d4ed8;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  margin: 7px 0;
}

.related-group a:hover,
.related-group a:focus {
  color: #0f2f6b;
  text-decoration: underline;
}

.global-footer {
  background: #07172c;
  color: #cbd5e1;
  padding: 34px 20px 24px;
  margin-top: 28px;
}

.global-footer-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.footer-brand {
  max-width: 280px;
}

.footer-brand strong {
  display: block;
  color: #fff;
  font-size: 20px;
  margin-bottom: 8px;
}

.footer-brand p {
  margin: 0;
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.45;
}

.footer-column h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: 14px;
  line-height: 1.2;
  font-weight: 800;
}

.footer-column a {
  display: block;
  width: fit-content;
  color: #dbeafe;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
  margin: 7px 0;
}

.footer-column a:hover,
.footer-column a:focus {
  color: #fff;
  text-decoration: underline;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: 24px;
  padding-top: 16px;
  font-size: 13px;
}

.footer-bottom a {
  color: #dbeafe;
  font-weight: 700;
  text-decoration: none;
}

.footer-bottom a:hover,
.footer-bottom a:focus {
  color: #fff;
  text-decoration: underline;
}

@media (min-width: 901px) {
  .site-menu-group[open] .site-submenu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
  }
}

@media (max-width: 1050px) {
  .site-menu-toggle {
    display: inline-flex;
  }

  .site-menu {
    display: none;
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    right: 0;
    margin-left: 0;
    padding: 12px;
    border-radius: 0 0 10px 10px;
    background: #07172c;
    box-shadow: 0 18px 34px rgba(7, 23, 44, 0.26);
  }

  .site-header.is-open .site-menu {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .site-menu a,
  .site-menu summary {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 11px 12px;
  }

  .site-menu-group {
    width: 100%;
  }

  .site-submenu {
    min-width: 0;
    margin: 4px 0 8px;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: none;
  }

  .site-submenu a {
    color: #e5eefb;
  }

  .site-submenu a:hover,
  .site-submenu a:focus {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
  }

  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-nav-wrap {
    width: min(100% - 24px, 1180px);
    min-height: 60px;
  }

  .site-logo img {
    width: 38px;
    height: 38px;
  }

  .site-logo strong {
    font-size: 17px;
  }

  .site-logo span span,
  .site-menu-label {
    display: none;
  }

  .related-links {
    width: min(100% - 24px, 1180px);
    padding: 18px;
  }

  .related-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    display: grid;
  }
}

@media print {
  .site-header,
  .related-links,
  .global-footer {
    display: none !important;
  }
}
