/* Shared website header styles. */
.about-header {
  align-items: center;
  color: #fff;
  display: grid;
  font-family: var(--sans);
  gap: 24px;
  grid-template-columns: auto 1fr auto;
  height: 64px;
  inset: 0 0 auto;
  padding: 0 clamp(24px, 5vw, 72px);
  position: fixed;
  transition: background-color 240ms ease, box-shadow 240ms ease, color 240ms ease;
  z-index: 60;
}

.about-header--solid {
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 7px 22px rgba(0, 0, 0, .06);
  color: #17211d;
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
}

.about-logo {
  display: inline-flex;
  flex-shrink: 0;
  width: 180px;
}

.about-logo img {
  height: auto;
  width: 100%;
}

.about-logo .site-logo__on-light,
.about-header--solid .about-logo .site-logo__on-dark {
  display: none;
}

.about-header--solid .about-logo .site-logo__on-light {
  display: block;
}

.about-nav {
  align-items: center;
  display: flex;
  gap: clamp(16px, 1.6vw, 24px);
  justify-self: end;
}

.about-nav a {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.5;
  padding: 9px 0;
  white-space: nowrap;
}

.about-nav a:hover,
.about-nav a.active {
  text-decoration: underline;
  text-underline-offset: 7px;
}

.about-header__actions {
  align-items: center;
  display: flex;
  gap: 12px;
  justify-self: end;
}

.about-language,
.about-login,
.about-menu-button {
  align-items: center;
  background: transparent;
  color: inherit;
  cursor: pointer;
  display: inline-flex;
  flex-shrink: 0;
  font-size: 13px;
  gap: 7px;
  min-height: 40px;
}

.about-language > span {
  background: #e51b23;
  border-radius: 3px;
  color: #ffed36;
  font-size: 9px;
  padding: 3px 6px;
}

.about-login svg {
  height: 20px;
  width: 20px;
}

.about-menu-button {
  flex-direction: column;
  gap: 5px;
  justify-content: center;
  padding: 8px;
  width: 40px;
}

.about-menu-button span {
  background: currentColor;
  height: 1px;
  width: 20px;
}

@media (max-width: 1280px) {
  .about-header { grid-template-columns: 1fr auto; }
  .about-nav { display: none; }
}

@media (max-width: 760px) {
  .about-header { gap: 12px; padding-inline: 20px; }
  .about-logo { width: 155px; }
  .about-header__actions { gap: 5px; }
  .about-language, .about-login span { display: none; }
}
