/* Shared scroll-responsive behavior for the site's existing navigation bars. */
.site-header > .brand-image,
.header.wrap > .brand-image,
.bar > .brand-image,
.archive-header > .brand-image,
.mobile-menu-wordmark.brand-image {
  position: relative;
  display: block;
  width: 90px;
  height: 46px;
  flex: 0 0 90px;
  padding: 0 !important;
  font-size: 0 !important;
  letter-spacing: 0 !important;
  line-height: 0;
}

.brand-image img {
  position: absolute;
  top: -8.33%;
  left: -8.53%;
  display: block;
  width: 116.28%;
  max-width: none;
  height: auto;
}

.site-header,
.header.wrap,
.bar,
.archive-header {
  position: sticky;
  top: var(--scroll-nav-offset, 0px);
  z-index: 50;
  background-color: transparent !important;
  background-image: none !important;
  transform: translateY(0);
  transition: transform 240ms cubic-bezier(.22, .61, .36, 1);
}

.archive-header {
  border-bottom: 0 !important;
}

.site-header.scroll-nav-hidden,
.header.wrap.scroll-nav-hidden,
.bar.scroll-nav-hidden,
.archive-header.scroll-nav-hidden {
  transform: translateY(calc(-100% - 1px));
}

.bar .nav {
  background-color: transparent !important;
  background-image: none !important;
  border: 0 !important;
}

@media (max-width: 767px) {
  .site-header > .brand-image,
  .header.wrap > .brand-image,
  .bar > .brand-image,
  .archive-header > .brand-image,
  .mobile-menu-wordmark.brand-image {
    width: 77px;
    height: 39px;
    flex-basis: 77px;
  }
}

@media (max-width: 760px) {
  :root {
    --gutter: 12px !important;
  }

  .wrap,
  .archive-shell {
    width: calc(100% - 24px) !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .site-header,
  .header.wrap,
  .bar,
  .archive-header {
    transition: none;
  }
}
