main {
  margin-top: 75px;
}
@media (min-width: 1150px) {
  main {
    margin-top: 100px;
  }
}

.l-header {
  top: 0;
  position: fixed;
  display: flex;
  align-items: center;
  width: 100%;
  background-color: #FFFFFF;
  z-index: 20;
  transition: background-color 0.5s ease-out, transform 0.3s ease-in-out;
  min-height: 75px;
}
.l-header::before {
  content: "";
  inset: 0;
  position: absolute;
  background-color: #FFFFFF;
  z-index: 1;
  transition: background-color 0.5s ease-out;
}
@media (min-width: 1150px) {
  .l-header {
    min-height: 100px;
  }
}
.l-header__top {
  display: none;
}
@media (min-width: 1150px) {
  .l-header__top {
    padding: 24px 0px;
    padding: 1.5rem 0;
    display: flex;
    justify-content: flex-end;
  }
}
.l-header__inner {
  width: 100%;
}
@media (min-width: 1150px) {
  .l-header__inner {
    max-width: 1440px;
    margin-right: auto;
    margin-left: auto;
    left: 5%;
    width: 90%;
  }
}
.l-header__inner-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
  margin: 0 auto;
  background-color: #FFFFFF;
}
@media (min-width: 1150px) {
  .l-header__inner-wrapper {
    max-width: 1440px;
    background-color: unset;
  }
}
@media screen and (max-width: 1150px) {
  .l-header__inner-wrapper {
    align-items: center;
    position: fixed;
    width: 100%;
    z-index: 1;
    top: 0;
  }
}
.l-header__static {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}
.l-header__icon {
  cursor: pointer;
  display: inline-block;
  padding: 36px 20px;
  position: relative;
  top: 0;
  right: 0;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  pointer-events: auto;
  z-index: 1;
  order: 3;
}
@media (min-width: 1150px) {
  .l-header__icon {
    display: none;
    order: unset;
  }
}
.l-header__icon .icon {
  display: block;
  height: 3px;
  position: relative;
  transition: background 0.2s ease-out;
  width: 30px;
  background: #324DC4;
  background-size: 400% 400%;
}
.l-header__icon .icon::before, .l-header__icon .icon::after {
  content: "";
  display: block;
  height: 100%;
  width: 30px;
  position: absolute;
  transition: background 0.5s ease-out, transform 0.2s ease-out;
  background: #324DC4;
  background-size: 400% 400%;
}
.l-header__icon .icon::before {
  width: 18px;
  right: 0;
}
.l-header__icon .icon::before {
  top: 10px;
}
.l-header__icon .icon::after {
  top: -10px;
}
.l-header__icon .label {
  display: none;
}
.l-header__button {
  display: none;
}
.l-header__button:hover {
  background-color: #1A1A1A;
}
.l-header__button:checked ~ .l-header__collapsible {
  transform: translateX(0);
}
.l-header__button:checked ~ .l-header__icon span {
  background: transparent;
  z-index: 2;
}
.l-header__button:checked ~ .l-header__icon span::before {
  transform: rotate(-45deg);
  width: 30px;
  background: #324DC4;
}
.l-header__button:checked ~ .l-header__icon span::after {
  transform: rotate(45deg);
  background: #324DC4;
}
.l-header__button:checked ~ .l-header__icon span::before, .l-header__button:checked ~ .l-header__icon span::after {
  top: 0;
}
.l-header__collapsible {
  width: 100%;
  pointer-events: auto;
  overflow-x: hidden;
  overflow-y: auto;
  transform: translateX(-100%);
  height: 100%;
  min-height: 100vh;
  position: absolute;
  opacity: 1;
  left: 0;
  right: 0;
  top: 70px;
  bottom: 0;
  transition: transform 0.35s ease-out, background-color 0.5s ease-out;
  z-index: -1;
  background-color: #FFFFFF;
}
@media (min-width: 1150px) {
  .l-header__collapsible {
    background-color: transparent;
  }
}
@media (min-width: 1150px) {
  .l-header__collapsible {
    transform: translateX(0);
    height: 100%;
    min-height: auto;
    position: static;
    overflow-x: visible;
    overflow-y: visible;
    display: flex;
    justify-content: flex-end;
    z-index: 1;
    padding-top: 0;
    background-color: transparent;
    background-image: none;
  }
}
.l-header__collapsible-container {
  max-width: 1440px;
  padding: 0 20px;
}
@media (min-width: 1150px) {
  .l-header__collapsible-container {
    margin: 0;
    padding: 0 0 0 40px;
    background: #FFFFFF;
  }
}
.l-header__search {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  opacity: 0;
  transform: translateY(-50%);
  padding: 65px 0;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}
@media (min-width: 992px) {
  .l-header__search {
    max-width: 1440px;
    margin: auto;
  }
}
.l-header__search::before {
  content: "";
  background-color: #324DC4;
  width: 200vw;
  position: absolute;
  inset: 0;
  transform: translateX(-50%);
}
.l-header__search.show {
  opacity: 100%;
  transform: translateY(100%);
}

.c-search-trigger {
  pointer-events: all;
  margin-left: 7px;
  margin-right: 0;
  min-width: 30px;
  min-height: 30px;
  position: relative;
  border-radius: 50%;
  cursor: pointer;
  background-image: url(search.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 16px;
  z-index: 1;
  transition: background-color 0.5s ease-out;
}
@media (min-width: 992px) {
  .c-search-trigger {
    background-size: 21px;
    min-width: 42px;
    min-height: 42px;
    margin-left: 7px;
    display: flex;
    align-items: center;
  }
  .c-search-trigger:before {
    content: "|";
    left: -6px;
    position: relative;
  }
}
.c-search-trigger svg path {
  transition: fill 0.5s ease-out;
}
.c-search-trigger:hover, .c-search-trigger.is-active svg path {
  fill: #37B575;
}

.user-logged-in .l-header {
  top: 79px;
}

.header-hidden {
  transform: translateY(-100%); /* Hide by moving up */
}

.is-header-active .l-header::before,
.is-header-active .l-header__collapsible {
  background-color: #324DC4;
}
