:root {
  --header-top-shrunk: 25px;
  --header-radius-shrunk: 12px;
  --header-bg-shrunk: #fff;
  --header-padding-x-default: 0px;
  --header-padding-y-default: 28px;
  --header-padding-x-shrunk: 13px;
  --header-padding-y-shrunk: 11px;
  --header-logo-width-default: 200px;
  --header-logo-width-shrunk: 90px;
  --header-font-size-default: 1rem;
  --header-font-size-shrunk: 0.875rem;
  --header-z-index: 1000;
}

#brx-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: var(--header-z-index);
  width: 100%;
  pointer-events: none;
  will-change: transform;
}

.is-shrunk .brxe-text-link svg {
    fill: var(--color-secondary);
    height: .4em;
}

.site-header__bar {
  position: relative;
  box-sizing: border-box;
  overflow: visible;
  width: 100%;
  max-width: var(--container-width-primary, 1200px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 3rem;
  padding: var(--header-padding-y-default) var(--header-padding-x-default);
  background-color: rgba(255, 255, 255, 0);
  border-radius: 0;
  box-shadow: none;
  pointer-events: auto;
  transform-origin: top center;
  will-change: transform, width, padding, border-radius, background-color;
}

.site-header__nav {
  display: flex;
  align-items: center;
  min-width: 0;
}

.site-header__brand,
.site-header__bar > .bricks-link-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  flex: 0 0 auto;
  width: calc(var(--header-logo-width-default) + 2px);
  height: 100%;
  overflow: visible;
  line-height: 0;
  text-decoration: none;
  transform-origin: left center;
  will-change: width;
}

.site-header__logo {
  display: block;
  width: var(--header-logo-width-default);
  max-width: none;
  height: auto;
  flex: 0 0 auto;
  transform-origin: left center;
  will-change: transform;
}

.site-header__menu {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1.5rem;
  width: auto;
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 0.875rem;
}

#brx-header a:focus-visible,
#brx-header button:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {
  .site-header__bar,
  .site-header__logo,
  .site-header__menu {
    transition: none !important;
    animation: none !important;
  }
}

@media (max-width: 767px) {
  .site-header__bar {
    gap: 1.5rem;
    padding-inline: 20px;
  }

  .site-header__menu {
    gap: 1rem;
  }

  .site-header__logo {
    width: 180px;
  }
}

