site-header,
site-footer {
  display: block;
}

site-header:not([overlay]) {
  height: 92px;
}

.shared-site-topbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 20;
  height: 92px;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid transparent;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.shared-site-topbar.is-solid {
  border-color: rgba(29, 26, 23, 0.1);
  box-shadow: 0 10px 30px rgba(29, 26, 23, 0.04);
}

.shared-site-topbar-inner {
  width: min(calc(100% - 48px), 1360px);
  height: 100%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  position: relative;
}

.shared-site-brand {
  display: inline-flex;
  align-items: center;
  justify-self: center;
  grid-column: 2;
}

.shared-site-brand img {
  display: block;
  width: 168px;
  height: auto;
}

.shared-site-nav-menu {
  justify-self: start;
  position: relative;
}

.shared-site-nav-toggle {
  display: inline-grid;
  place-content: center;
  gap: 4px;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1px solid rgba(29, 26, 23, 0.1);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.9);
  color: #1d1a17;
  cursor: pointer;
  transition: background 180ms ease, border-color 180ms ease;
}

.shared-site-nav-toggle span {
  display: block;
  width: 14px;
  height: 1px;
  background: currentColor;
}

.shared-site-nav-toggle:hover {
  background: #fbfaf8;
  border-color: rgba(29, 26, 23, 0.18);
}

.shared-site-nav-toggle:focus-visible {
  outline: 2px solid rgba(29, 26, 23, 0.24);
  outline-offset: 3px;
}

.shared-site-nav-drawer {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  display: grid;
  gap: 10px;
  min-width: 180px;
  padding: 18px;
  border: 1px solid rgba(29, 26, 23, 0.1);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 18px 40px rgba(29, 26, 23, 0.1);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-8px);
  transition: opacity 180ms ease, transform 180ms ease;
}

.shared-site-nav-menu.is-open .shared-site-nav-drawer {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.shared-site-nav-drawer a {
  display: block;
  color: #1d1a17;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.86rem;
  letter-spacing: 0.16em;
  text-decoration: none;
  text-transform: uppercase;
}

.shared-site-nav-drawer a:hover,
.shared-site-nav-drawer a[aria-current="page"] {
  color: rgba(29, 26, 23, 0.68);
}

.shared-site-nav-group {
  display: grid;
  gap: 10px;
  margin-top: 2px;
  padding-top: 12px;
  border-top: 1px solid rgba(29, 26, 23, 0.08);
}

.shared-site-nav-group-label {
  margin: 0;
  color: rgba(29, 26, 23, 0.52);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.shared-site-footer {
  width: min(calc(100% - 48px), 1360px);
  margin: 0 auto;
  padding: 34px 0 46px;
  border-top: 1px solid rgba(29, 26, 23, 0.1);
  color: rgba(29, 26, 23, 0.68);
  font-family: Arial, Helvetica, sans-serif;
}

.shared-site-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px 22px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shared-site-footer-links a {
  color: rgba(29, 26, 23, 0.68);
  text-decoration: underline;
  text-decoration-color: transparent;
  text-underline-offset: 0.25em;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.shared-site-footer-links a:hover {
  color: #1d1a17;
  text-decoration-color: currentColor;
}

@media (max-width: 760px) {
  site-header:not([overlay]) {
    height: 76px;
  }

  .shared-site-topbar {
    height: 76px;
  }

  .shared-site-topbar-inner {
    width: min(calc(100% - 28px), 1360px);
    grid-template-columns: 1fr auto 1fr;
    gap: 10px;
  }

  .shared-site-nav-toggle {
    width: 42px;
    height: 42px;
  }

  .shared-site-nav-drawer {
    min-width: 160px;
    padding: 16px;
  }

  .shared-site-brand img {
    width: 132px;
  }

  .shared-site-footer {
    width: min(calc(100% - 32px), 1360px);
  }

}
