/* header and nav layout */
header .nav-wrapper {
  background-color: var(--background-color);
  width: 100%;
  z-index: 2;

  @media (width < 1041px) {
    position: fixed;
  }
}

header nav {
  box-sizing: border-box;
  display: grid;
  grid-template:
    'brand tools hamburger' var(--nav-mobile-height)
    'sections sections sections' 1fr / auto 1fr auto;
  align-items: center;
  gap: 0;
  max-width: 100%;
  height: var(--nav-mobile-height);
  padding: 0 var(--font-size-xs);
  font-family: var(--font-family-body);
  border-bottom: 1px solid var(--border-color);

  @media (width >= 768px) {
    height: var(--nav-mobile-height);
    padding: 0 var(--spacing-xs);
  }

  @media (width < 1041px) {
    grid-template-columns: 1fr;
  }

  @media (width >= 1041px) {
    grid-template:
      'hamburger brand tools' var(--nav-mobile-height)
      'sections sections sections' 1fr / auto 1fr auto;
    gap: 0;
    height: var(--nav-height);
    padding: 0 var(--spacing-xs);
    max-width: 1408px;
    box-sizing: content-box;
    margin: auto;
  }
}

.section.nav-sections {
  @media (width >= 1041px) {
    margin-right: 167px;
  }
}

header {
  position: relative;
  z-index: 9999999;
}

@media (width >= 1041px) {
  header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  header {
    border-bottom: 1px solid var(--border-color);

    nav[aria-expanded='true'] {
      min-height: 0;
    }
  }
}

header nav p {
  margin: 0;
  line-height: 1;
  height: 100%;
}

header nav a:any-link {
  display: flex;
  align-items: center;

  @media (width >= 1041px) {
    text-decoration: none;
    color: var(--color-black);
    font-size: var(--font-size-xs);
    line-height: var(--line-height);
    font-weight: var(--font-weight-semibold);
    height: 100%;
  }
}

header nav div.nav-brand a {
  all: unset;
  cursor: pointer;
}

@media (width >= 1041px) {
  .default-content-wrapper .chevron-menu {
    &.active .sub-menu {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap; /* stylelint-disable-line */
      height: auto;
      box-sizing: border-box;
      gap: 0;
      border-top: 1px solid var(--border-color);
      border-right: 1px solid var(--border-color);
      margin-top: -1px;
      max-width: 1441px;

      > p {
        width: 504px;
        display: flex;
        justify-content: center;
        padding: var(--spacing-xxxxs) 0;
        border-radius: var(--spacing-xs);
        border: 2px solid var(--color-white);
        background: #f5f5f5;
        position: relative;

        picture {
          display: flex;
        }

        img {
          width: auto;
          height: 312px;
          max-width: 450px;
        }
      }
    }
  }

  header nav .nav-sections .default-content-wrapper li.chevron-menu.active,
  header nav .nav-sections .default-content-wrapper li.chevron-menu:hover,
  header nav .nav-sections .default-content-wrapper li.arrow-link:hover {
    border-bottom: 2px solid var(--color-brand);
  }
}

.default-content-wrapper .chevron-menu .inactive {
  display: none;
}

@media (width < 1041px) {
  nav .default-content-wrapper .chevron-menu ul > p {
    display: none;
  }
}

header nav .nav-tools .default-content-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 1rem;

  @media (width < 1041px) {
    gap: 0;

    & > p {
      display: none;
    }
  }

  & ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    gap: 1.5rem;

    &:last-child {
      display: none;
    }

    @media (width < 1041px) {
      &:first-child li:not(.nav-hamburger-li) {
        display: none;
      }
    }

    & li {
      list-style: none;
      display: flex;

      &.nav-hamburger-li {
        position: absolute;
        top: var(--spacing-s-alt);
        right: var(--spacing-m-s);
        padding: 0;
      }

      &,
      p {
        font-size: var(--font-size-xs);
        line-height: var(--line-height);
        font-weight: var(--font-weight-body);
        color: var(--color-black);

        img {
          width: var(--font-size-xs);
        }

        a.button {
          text-decoration: none;
        }
      }
    }
  }
}

/* stylelint-disable */
header nav .nav-sections .default-content-wrapper > ul > li > a {
  @media (width < 768px) {
    font-size: var(--font-size-m);
    font-family: var(--font-family-bold);
    font-weight: var(--heading-font-weight);
    line-height: var(--font-size-l-alt);
    text-decoration: none;
  }

  @media (width < 1041px) {
    font-family: var(--font-family-bold);
  }
}
/* stylelint-enable */
@media (width < 1041px) {
  header nav .nav-sections .default-content-wrapper li.chevron-menu {
    & > p > a::after {
      content: ' ';
      display: block;
      width: var(--spacing-xs);
      height: 10px;
      background-image: url('../../icons/chevron-down.svg');
      background-repeat: no-repeat;
      background-position: 0 0;
      margin-left: var(--spacing-xxs);
    }

    &.active {
      a::after {
        transform: rotate(180deg);
      }
    }
  }
}

/* stylelint-disable */
header nav .nav-sections > .default-content-wrapper > ul {
  list-style: none;
  padding-left: 0;
  font-size: var(--body-font-size-s);
  font-weight: 500;
  gap: var(--spacing-s) 0;
  display: flex;
  flex-direction: column;
  margin: 0;

  @media (width >= 1041px) {
    flex-flow: row wrap;
    overflow: hidden;
  }
}
/* stylelint-enable */

header nav .nav-sections .default-content-wrapper ul > li > ul.sub-menu > li {
  &::after {
    content: none;
  }

  p {
    height: auto;
    font-size: var(--font-size-xs);
    line-height: var(--line-height);
    color: var(--color-dark-grey);
  }

  & > h2 {
    margin-top: 0;
    padding: 0 var(--spacing-s-alt) var(--spacing-xs);
    color: var(--color-brand);
    font-weight: var(--font-weight-semibold);
    font-family: var(--font-family-semibold);
  }

  & > p {
    color: var(--color-black);
    font-size: var(--font-size-m-alt);
    line-height: var(--line-height);
    margin-top: 0;

    @media (width > 1041px) {
      padding: 0 var(--spacing-s-alt) var(--spacing-xs);
    }
  }

  & > h4 {
    color: var(--color-black);
    font-size: var(--font-size-s);
    line-height: var(--line-height-s-s);
    font-family: var(--font-family-bold);

    @media (width >= 1041px) {
      padding: 0 var(--spacing-s-alt) var(--spacing-xs);
      font-size: var(--font-size-m-alt);
      line-height: var(--line-height-s-m);
      font-weight: var(--font-weight-bold);
      margin: 0;
    }
  }

  &.column-1 {
    h1,
    h2,
    h3,
    h4,
    h5,
    h6 {
      margin-bottom: 0;
      padding-bottom: 0;
    }

    > p {
      color: var(--bg-button);
      font-size: var(--font-size-l-m-alt);
      line-height: var(--line-height-m-l-alt);
    }

    a.button {
      color: var(--color-white);
      background-color: var(--bg-button);
      border-radius: 10px;
      padding: var(--spacing-xxs-l) var(--spacing-s);
      text-decoration: none;
      font-size: var(--font-size-s);

      &:hover {
        color: var(--color-white);
        background-color: var(--bg-button-hover);
        text-decoration: underline;
      }

      &:active {
        color: var(--bg-button);
        background-color: var(--color-white);
        outline: 1px solid var(--bg-button);
        text-decoration: none;
      }

      &:focus {
        padding: var(--spacing-xxs) var(--spacing-xs-lg);
        color: var(--color-white);
        border: 2px solid var(--color-black);
        background-color: var(--bg-button);
        outline: 2px solid var(--color-focus-outline);
        text-decoration: none;
      }
    }
  }

  & ul {
    display: block;
    height: auto;

    & li {
      list-style-type: none;
      height: auto;
      font-size: var(--font-size-xs);
      line-height: var(--line-height);
      color: var(--color-dark-grey);

      @media (width >= 1041px) {
        padding: var(--spacing-xxs-l) var(--spacing-s-alt);
      }

      sub {
        font-size: var(--font-size-xs);
        line-height: var(--line-height);
      }
    }
  }

  &.img-wrap {
    padding: 0;
    overflow: hidden;

    img {
      height: 100%;
      width: 100%;
      object-fit: cover;

      @media (width < 1041px) {
        display: none;
      }
    }
  }
}

header nav .nav-sections .default-content-wrapper {
  ul li.with-bg {
    ul.sub-menu {
      .column-1 {
        background-color: var(--color-dark-blue);

        * {
          color: var(--color-white);
        }
      }
    }
  }
}

@media (width < 1041px) {
  /* stylelint-disable */
  li > p > a {
    position: relative;
  }
  /* stylelint-enable */

  .search-box {
    position: relative;

    .search-button {
      background-image: url('../../icons/search.svg');
      background-repeat: no-repeat;
      background-position: center;
      background-size: contain;
      width: 20px;
      height: 20px;
      position: absolute;
      right: 15px;
      top: -2px;
    }

    .search-input {
      font-size: var(--font-size-xs);
      font-style: normal;
      line-height: var(--spacing-s);
      width: -webkit-fill-available;
      border-radius: var(--spacing-xxxxs);
      border: 1px solid var(--color-black);
      background: var(--color-white);
      padding: var(--spacing-xxs-l) var(--spacing-xs);
      margin-bottom: var(--spacing-m);
      padding-right: 36px;
      color: var(--color-dark-grey);
    }

    @media (width >= 1041px) {
      display: none;
    }
  }

  header nav .nav-sections .default-content-wrapper > ul > li > ul > li {
    padding: var(--spacing-xxxxs) var(--spacing-xs) var(--spacing-xxxxs) 0;
    position: relative;
    width: fit-content;
    list-style: none;
  }

  header nav .nav-sections .default-content-wrapper > ul > li > ul > li > a {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-body);
    line-height: var(--spacing-s);
    text-decoration: none;
  }

  header nav .nav-sections .default-content-wrapper > ul > li > ul > li > a:hover {
    color: var(--color-pink);
    text-decoration: underline;
  }

  header nav .nav-sections .default-content-wrapper > ul > li > ul > li > a:hover::after {
    color: var(--color-pink);
  }

  header nav .nav-sections .default-content-wrapper > ul > li > ul > li:first-child {
    margin-top: var(--spacing-xs);
  }

  header nav .nav-sections .default-content-wrapper > ul > li > ul > li::after {
    position: absolute;
    content: ' ';
    display: block;
    top: var(--spacing-xs);
    right: -20px;
    width: var(--spacing-s);
    height: var(--spacing-s);
    background-image: url('../../icons/arrow-right.svg');
    background-repeat: no-repeat;
    background-position: 0 0;
  }

  header nav .nav-sections .default-content-wrapper > ul > li > ul > li:hover::after {
    color: var(--color-pink);
  }
}

@media (width >= 1041px) {
  li.chevron-menu > p > a {
    position: relative;
  }

  li.chevron-menu > p > a::after {
    content: ' ';
    display: block;
    margin-left: var(--spacing-xxxs);
    width: 14px;
    height: 8px;
    background-image: url('../../icons/chevron-down-black.svg');
    background-repeat: no-repeat;
    background-size: contain;
    background-position: 0 0;
  }

  li.chevron-menu.active > p > a::after {
    transform: rotate(180deg);
  }

  li.chevron-menu > p.toggle-arrow > a::after {
    transform: rotate(180deg);
    top: 0;
    right: -30px;
  }

  .search-box {
    font-size: var(--font-size-xs);
    font-style: normal;
    font-weight: var(--heading-font-weight);
    line-height: var(--spacing-s);
    width: -webkit-fill-available;
    border-radius: var(--spacing-xxxxs);
    border: 1px solid var(--color-black);
    background: var(--color-white);
    padding: var(--spacing-xxs-l) var(--spacing-xs);
    margin-bottom: 40px;

    @media (width >= 1041px) {
      display: none;
    }
  }

  header nav .nav-sections .default-content-wrapper > ul > li > ul > li {
    padding: var(--spacing-xxxxs) var(--spacing-xs) var(--spacing-xxxxs) 0;
    position: relative;
    width: fit-content;
    list-style: none;
  }

  header nav .nav-sections .default-content-wrapper > ul > li > ul > li > a {
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-body);
    line-height: var(--spacing-s);
  }

  header nav .nav-sections .default-content-wrapper > ul > li > ul > li > a:hover {
    color: var(--color-pink);
    text-decoration: underline;
  }

  header nav .nav-sections .default-content-wrapper > ul > li > ul > li::after {
    position: absolute;
    content: ' ';
    display: block;
    top: var(--spacing-xs);
    right: -20px;
    width: var(--spacing-s);
    height: var(--spacing-s);
    background-image: url('../../icons/arrow-right.svg');
    background-repeat: no-repeat;
    background-position: 0 0;
  }
}

/* hamburger */
header nav .nav-hamburger {
  grid-area: hamburger;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

header nav .nav-hamburger button {
  margin: 0;
  height: var(--spacing-s);
  width: var(--spacing-s);
  display: flex;
  align-items: center;
  /* stylelint-disable */
  align-content: center;
  justify-content: center;
  /* stylelint-enable */
  border: 0;
  border-radius: 0;
  padding: 0;
  background-color: var(--background-color);
  color: inherit;
  overflow: initial;
  text-overflow: initial;
  white-space: initial;
  outline: none;
}

header nav .nav-hamburger-icon,
header nav .nav-hamburger-icon::before,
header nav .nav-hamburger-icon::after {
  box-sizing: border-box;
  display: block;
  position: relative;
  width: var(--spacing-s);
}

header nav .nav-hamburger-icon::before,
header nav .nav-hamburger-icon::after {
  content: '';
  position: absolute;
  background: currentcolor;
}

header nav[aria-expanded='false'] .nav-hamburger-icon,
header nav[aria-expanded='false'] .nav-hamburger-icon::before,
header nav[aria-expanded='false'] .nav-hamburger-icon::after {
  height: 2px;
  border-radius: 2px;
  background: currentcolor;
}

header nav[aria-expanded='false'] .nav-hamburger-icon::before {
  top: -6px;
}

header nav[aria-expanded='false'] .nav-hamburger-icon::after {
  top: 6px;
}

@media (width < 1041px) {
  header nav[aria-expanded='false'] .nav-hamburger a.button {
    display: none;
  }

  header nav[aria-expanded='true'] .nav-hamburger a.button.primary:any-link {
    &,
    &:hover,
    &:active,
    &:focus {
      margin: 3px 2rem 0;
      padding: 0;
      background-color: transparent;
      text-indent: -9999999px;
      line-height: 0;

      &::after {
        content: ' ';
        display: block;
        width: 25px;
        height: 24px;
        background-image: url('../../icons/email.svg');
        background-repeat: no-repeat;
        background-position: 0 0;
        background-size: contain;
      }
    }
  }
}

header nav[aria-expanded='true'] {
  grid-template:
    'brand hamburger' var(--nav-mobile-height)
    'sections sections' 1fr
    'tools tools' var(--nav-mobile-height) / auto 1fr;
  overflow-y: auto;

  @media (width < 1041px) {
    min-height: 100dvh;
    grid-template-columns: 1fr;
  }

  & .nav-tools .default-content-wrapper {
    @media (width < 1041px) {
      padding: 0;
      margin: 0 var(--spacing-negative-xs);
      max-width: unset;

      & > p:nth-of-type(2) {
        display: none;
      }
    }

    /* stylelint-disable */
    & ul {
      &:last-child {
        display: none;
        justify-content: space-evenly;
        align-items: center;
        margin: 0;
        width: 100%;
        background-color: var(--color-brand);

        @media (width < 1041px) {
          display: flex;
        }

        @media (width < 512px) {
          gap: 0.8rem;
        }

        @media (width < 420px) {
          gap: 0;
        }

        li {
          a {
            display: flex;
            flex-direction: column;
            color: var(--color-white);
            text-decoration: none;
            padding: var(--spacing-xs);
            gap: 5px;

            span {
              text-align: center;
            }
          }
        }
      }
    }
    /* stylelint-enable */
  }

  @media (width >= 1041px) {
    grid-template:
      'hamburger brand' var(--nav-height)
      'sections sections' 1fr
      'tools tools' var(--nav-height) / auto 1fr;
  }
}

/* stylelint-disable */
header nav .nav-sections .default-content-wrapper ul > li > ul.sub-menu > li:not(.column-1) {
  & ul {
    & li {
      &:hover {
        @media (width >= 1041px) {
          cursor: pointer;
          border-left: 2px solid var(--color-brand);
          background-color: var(--color-medium-grey);
        }
      }
    }
  }
}
/* stylelint-enable */

header nav[aria-expanded='true'] .nav-hamburger-icon {
  height: var(--spacing-s);
}

header nav[aria-expanded='true'] .nav-hamburger-icon::before,
header nav[aria-expanded='true'] .nav-hamburger-icon::after {
  top: 2.5px;
  left: 1px;
  transform: rotate(45deg);
  transform-origin: 2px 1px;
  width: 24px;
  height: 3px;
  border-radius: 2px;
}

header nav[aria-expanded='true'] .nav-hamburger-icon::after {
  top: unset;
  bottom: 4.5px;
  transform: rotate(-45deg);
}

@media (width >= 1041px) {
  header nav .nav-hamburger {
    display: none;
    visibility: hidden;
  }
}

/* brand */
header .nav-brand {
  grid-area: brand;
  font-size: var(--heading-font-size-s);
  font-weight: var(--heading-font-weight);
  line-height: 1;

  @media (width < 1041px) {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }
}

header nav[aria-expanded='true'] .nav-brand {
  @media (width < 1041px) {
    position: sticky;
    top: 0;
    background: var(--color-white);
    z-index: 1;
    border-bottom: 1px solid var(--border-color);
    margin: 0 var(--spacing-negative-xs);
    padding: var(--spacing-xs);
  }
}

/* stylelint-disable */
header nav .nav-brand img {
  width: 136px;
  height: auto;
  margin-right: var(--spacing-s);
}
/* stylelint-enable */

/* sections */
header nav .nav-sections {
  grid-area: sections;
  flex: 1 1 auto;
  display: none;
  visibility: hidden;
  background-color: var(--overlay-color);
}

header nav[aria-expanded='true'] .nav-sections {
  display: block;
  visibility: visible;
  align-self: start;
  background: var(--bg-color-paper);
  margin: 0 -16px;
  padding: var(--spacing-s);

  @media (width >= 1041px) {
    background: white;
    padding: 0;
    margin: 0;
  }

  @media (width < 1041px) {
    background-color: var(--color-white);

    a {
      text-decoration: none;

      &,
      &:focus,
      &:active {
        color: var(--color-black);
        font-size: var(--font-size-m);
        line-height: var(--line-height-s);
        font-weight: var(--font-weight-bold);
        font-family: var(--font-family-bold);
      }
    }
  }
}

/* stylelint-disable */
header nav .nav-sections ul > li {
  font-weight: var(--heading-font-weight);
}

header nav .nav-sections ul > li > ul {
  margin-top: 0;
  padding-left: 0;

  @media (width <= 1041px) {
    &.sub-menu {
      margin: var(--spacing-s) 0 var(--spacing-xxxs);
    }
  }
}

header nav .nav-sections ul > li > ul > li {
  font-weight: 500;
}
/* stylelint-enable */

@media (width >= 1041px) {
  header nav .nav-sections {
    display: block;
    visibility: visible;
    white-space: nowrap;
  }

  header nav[aria-expanded='true'] .nav-sections {
    align-self: unset;
  }

  header nav .nav-sections .nav-drop {
    position: relative;
    padding-right: var(--spacing-xs);
    cursor: pointer;
  }

  header nav .nav-sections .nav-drop::after {
    content: '';
    display: inline-block;
    position: absolute;
    top: 0.5em;
    right: 2px;
    transform: rotate(135deg);
    width: 6px;
    height: 6px;
    border: 2px solid currentcolor;
    border-radius: 0 1px 0 0;
    border-width: 2px 2px 0 0;
  }

  header nav .nav-sections .nav-drop[aria-expanded='true']::after {
    top: unset;
    bottom: 0.5em;
    transform: rotate(315deg);
  }

  header nav .nav-sections ul {
    display: flex;
    height: 109px;
    margin: 0;
    font-size: var(--body-font-size-xs);
  }

  header nav .nav-sections .default-content-wrapper > ul > li {
    flex: 0 1 auto;
    font-weight: var(--font-weight-body);
    padding: 0 var(--spacing-xxxs);
    display: flex;
    height: -webkit-fill-available;
    border-bottom: 3px solid transparent;
    align-items: center;

    &.arrow-link {
      padding: 0 var(--spacing-xs);
    }
  }

  header nav .nav-sections .default-content-wrapper > ul > li > ul {
    display: flex;
    flex-direction: column;
    position: absolute;
    background: var(--color-white);
    top: var(--nav-height);
    left: 50%;
    transform: translate(-50%, 0);
    width: 100%;
    height: fit-content;
    gap: var(--spacing-s) 120px;
    margin: 0;
    box-sizing: border-box;
  }

  header nav .nav-sections .default-content-wrapper > ul > li > ul > li {
    color: var(--color-black);
    font-size: var(--font-size-l);
    font-weight: var(--font-weight-body);
    line-height: var(--font-size-l-alt);
    position: relative;
  }

  header nav .nav-tools .default-content-wrapper a.button:any-link {
    border-radius: 10px;
    padding: var(--spacing-xxs-l) var(--spacing-s);

    &:focus {
      padding: var(--spacing-xxs) var(--spacing-xs-lg);
    }
  }

  header nav .nav-sections .default-content-wrapper > ul > li > ul > li a:not(.button) {
    color: var(--color-black);
    font-size: var(--font-size-xs);
    font-weight: var(--font-weight-bold);
    font-family: var(--font-family-bold);
    line-height: var(--line-height);
    position: relative;
    display: -webkit-box;
    width: 100%;
  }

  /* header nav .nav-sections .default-content-wrapper > ul > li > ul > li a::after {
    position: absolute;
    content: ' ';
    display: block;
    top: 50%;
    transform: translate(0, -50%);
    right: -20px;
    width: var(--spacing-xxs-l);
    height: var(--spacing-xxs-l);
    background-image: url('../../icons/arrow-right.svg');
    background-repeat: no-repeat;
    background-position: 0 0;
  }

  header nav .nav-sections .default-content-wrapper > ul > li > ul > li a:hover {
    text-decoration: underline;

    &::after {
      background-image: url('../../icons/arrow-right-hovered.svg');
    }
  } */

  header nav .nav-sections .default-content-wrapper > ul > li[aria-expanded='true'] > ul {
    display: block;
    position: absolute;
    left: -1em;
    width: 200px;
    margin-top: var(--spacing-xxs-l);
    padding: 1em;
    background-color: var(--light-color);
    white-space: initial;
  }

  header nav .nav-sections .default-content-wrapper > ul > li > ul::before {
    content: ' ';
    position: absolute;
    top: -8px;
    left: 8px;
    width: 0;
    height: 0;
    border-left: var(--spacing-xxxs) solid transparent;
    border-right: var(--spacing-xxxs) solid transparent;
    border-bottom: var(--spacing-xxxs) solid var(--light-color);
  }

  header nav .nav-sections .default-content-wrapper ul > li > ul.sub-menu > li {
    width: calc(100% / 4);
    text-wrap: wrap;
    list-style-type: none;
    flex: 0 0 auto;
    box-sizing: border-box;
    border-right: 1px solid var(--border-color);
    padding: var(--spacing-m) 0;

    &:first-child {
      border-left: 1px solid var(--border-color);
    }
  }
}

@media (width < 1041px) {
  header nav .nav-sections .default-content-wrapper ul > li > ul.sub-menu > li {
    padding: 0;
    width: 100%;

    a {
      font-size: var(--font-size-xs);
    }

    &.column-1 {
      display: none;
    }

    > p {
      font-size: var(--font-size-xs-alt);
      font-weight: var(--font-weight-bold);
      padding: var(--spacing-s) 0 var(--spacing-xxs);
    }

    ul {
      display: block;
      height: auto;
      margin: 0;

      & li {
        list-style-type: none;

        a {
          font-size: var(--font-size-xs);
          padding: var(--spacing-xxxs) 0;
          line-height: var(--line-height);
          font-weight: var(--font-weight-body-alt);
          font-family: var(--font-family-body);
        }

        sub {
          display: none;
        }
      }
    }
  }
}

/* stylelint-disable */
/* tools */
header nav .nav-tools {
  grid-area: tools;
}

.search-box {
  @media (width >= 1041px) {
    display: none;
  }
}

.campaign {
  position: relative;

  &.no-header header {
    display: none;
  }

  &.no-header-nav header,
  &.no-link header {
    border: none;
    height: auto;
    position: absolute;
    z-index: 1;

    .nav-sections,
    .nav-tools {
      display: none;
    }

    .nav-wrapper {
      background-color: transparent;
      width: max-content;

      & nav {
        content: '';
        background-image: url('../../icons/campaign-logo-bg.svg');
        height: 100%;
        max-width: 186px;
        background-position: 100% 100%;
        background-repeat: no-repeat;
        background-size: cover;
        padding: var(--spacing-xxs-l) var(--spacing-xxs-l-alt) var(--spacing-xxs);
        display: block;
        border: 0;

        @media (width <= 1041px) {
          padding-right: var(--spacing-l-alt);
        }

        @media (width <= 1041px) {
          padding: var(--spacing-xxs-l) var(--spacing-l-alt) var(--spacing-xxs) var(--spacing-xxs-l-alt);
        }

        .nav-brand {
          img {
            width: 103px;
          }

          .nav-hamburger {
            display: none;
          }
        }
      }
    }
  }

  &.no-link header .nav-wrapper {
    a {
      pointer-events: none;
    }
  }
}
/* stylelint-enable */

.campaign.hub-header {
  header {
    width: 100%;

    .nav-wrapper {
      width: 100%;

      nav {
        max-width: 100%;
        background: #fff;
        text-align: center;
        padding: var(--spacing-xs);

        .nav-brand {
          .default-content-wrapper {
            max-width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 100%;

            a {
              display: flex;
              height: 100%;
              align-items: center;
              pointer-events: none;

              picture {
                display: flex;
                align-items: center;
                justify-content: center;
                margin: 0 auto;
              }
            }
          }
        }
      }
    }
  }
}

@media (width > 1350px) {
  .icon-phone {
    display: none;
  }
}

@media (width >= 1041px) and (width <= 1350px) {
  header {
    .nav-tools {
      a[title^='Login'],
      a[href^='tel'] {
        color: transparent;
        text-indent: -9999px;
        position: relative;

        .icon-phone,
        .icon-profile-placeholder {
          color: inherit;
          text-indent: 0;
          position: static;
          display: inline-block;
          vertical-align: middle;
        }
      }
    }
  }

  header nav .nav-tools .default-content-wrapper ul {
    gap: 0.8rem;
  }

  header nav .nav-brand img {
    width: 112px;
  }
}

@media (width >= 1041px) and (width <= 1200px) {
  header nav .nav-tools .default-content-wrapper a:any-link,
  header nav .nav-sections .default-content-wrapper a:any-link {
    font-size: var(--font-size-xs-alt);
  }

  header nav .nav-tools .default-content-wrapper a.button:any-link {
    padding: var(--spacing-xxs) var(--spacing-xs-l-alt);

    &:focus {
      padding: var(--spacing-xxxs) var(--spacing-xs-l);
    }
  }

  li.chevron-menu > p > a::after {
    width: 12px;
  }
}

/* stylelint-disable no-descending-specificity */
body.lg-logo header nav .nav-brand img {
  width: 260px;
  max-width: 260px;

  @media (width >= 1041px) and (width <= 1100px) {
    max-width: 125px;
  }

  @media (width >= 1101px) and (width <= 1275px), (width >= 1351px) and (width <= 1410px) {
    max-width: 200px;
  }
}
