/* Reserve the extra height of the inset note above the original page content. */
body {
  padding-top: 32px;
}

.navigation-wrapper {
  left: 50%;
  width: 100%;
  max-width: 100%;
  transform: translateX(-50%);
  background: transparent;
  transition: top 220ms ease, width 220ms ease, max-width 220ms ease;
}

.navigation-wrapper .navbar_component.zero {
  transition: border-radius 220ms ease, background-color 220ms ease, box-shadow 220ms ease;
}

.navigation-wrapper .navbar_container {
  padding-right: 0;
}

.navigation-wrapper .navbar_button-wrapper {
  min-width: 0;
  justify-content: flex-end;
}

.navigation-wrapper .nav_banner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px 24px;
  width: calc(100% - 48px);
  max-width: 1200px;
  margin: 16px auto 0;
  padding: 12px 18px;
  border: 1px solid #e6deeb;
  border-radius: 10px;
  background: #fdfcfd;
  color: #221827;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 400;
  text-align: left;
  text-decoration: none;
  transition: opacity 160ms ease, transform 220ms ease, visibility 160ms ease;
}

.pod-announcement-copy {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 0;
}

.pod-announcement-eyebrow {
  color: #8156a0;
  font-size: 11px;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}

.pod-announcement-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  flex-shrink: 0;
}

.pod-announcement-arrow {
  font-size: 17px;
  line-height: 1;
}

.nav_banner:hover .pod-announcement-link {
  color: #69369d;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.navigation-wrapper .nav_banner:focus-visible {
  outline: 2px solid #742dcc;
  outline-offset: 3px;
}

.pod-nav-floating .navigation-wrapper {
  top: 16px;
  width: calc(100% - 48px);
  max-width: 1200px;
  background: transparent;
}

.pod-nav-floating .navigation-wrapper .navbar_component.zero {
  border: 1px solid #e6e2eb;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 32px #27153e12, 0 2px 8px #27153e08;
}

.pod-nav-floating .navigation-wrapper .nav_banner {
  position: absolute;
  top: 100%;
  opacity: 0;
  transform: translateY(-8px);
  visibility: hidden;
  pointer-events: none;
}

@media (max-width: 767px) {
  body {
    padding-top: 20px;
  }

  .navigation-wrapper .nav_banner {
    width: calc(100% - 24px);
    margin-top: 8px;
    gap: 12px;
    padding: 10px 14px;
    text-align: left;
  }

  .pod-announcement-copy {
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
  }
}

@media (max-width: 479px) {
  .navigation-wrapper .nav_banner {
    font-size: 13px;
    padding-inline: 12px;
  }

  .pod-announcement-eyebrow {
    letter-spacing: .06em;
  }

  .pod-announcement-link {
    justify-content: center;
    width: 32px;
    height: 32px;
    gap: 0;
  }

  /* Keep the action's accessible name while making the narrow banner compact. */
  .pod-announcement-link-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
  }
}

@media (max-width: 991px) {
  .pod-nav-floating .navigation-wrapper {
    top: max(10px, env(safe-area-inset-top));
    width: calc(100% - 24px);
  }

  .pod-nav-floating .navigation-wrapper .navbar_component.zero {
    padding-inline: 8px;
    border-radius: 16px;
  }

  .pod-nav-floating .navigation-wrapper .w-nav-overlay {
    top: calc(100% + 8px);
  }

  .pod-nav-floating .navigation-wrapper .navbar_menu[data-nav-menu-open] {
    border: 1px solid #e6e2eb;
    border-radius: 16px;
    background: #fff;
    padding: 8px;
    box-shadow: 0 8px 24px #27153e12;
  }

  .pod-nav-floating .navigation-wrapper .navbar_menu-link-wrapper.margin-left {
    margin-left: 0;
    padding: 8px;
    background: transparent;
    max-height: calc(100svh - 112px);
  }
}

.backstory-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  min-height: 36px;
  padding: 8px 12px;
  border: 1px solid #dedde4;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 1px 2px #1717210a;
  text-decoration: none;
  transition: background-color 160ms ease, border-color 160ms ease;
}

.backstory-button:hover {
  border-color: #aaa6b5;
  background: #f5f3f8;
}

.backstory-button:focus-visible {
  outline: 2px solid #742dcc;
  outline-offset: 3px;
}

.backstory-button img {
  display: block;
  width: 108px;
  height: 18px;
  max-width: none;
  object-fit: contain;
}

@media (max-width: 479px) {
  .backstory-button {
    padding-inline: 10px;
  }

  .backstory-button img {
    width: 102px;
    height: 17px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .navigation-wrapper,
  .navigation-wrapper .navbar_component.zero,
  .navigation-wrapper .nav_banner,
  .backstory-button {
    transition: none;
  }
}
