.boat-header {
  --boat-header-height: 140px;
  --boat-logo-width: 140px;
  height: var(--boat-header-height);
  background: transparent;
}

.boat-header > .boat-header-layout {
  box-sizing: border-box;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--boat-logo-width) minmax(0, 1fr);
  place-content: end stretch;
  align-items: end;
  width: calc(100% - 48px);
  max-width: 940px;
  height: var(--boat-header-height);
  padding: 0 0 30px;
}

.boat-header-layout::before,
.boat-header-layout::after {
  display: none;
}

.boat-header-layout > .brand-8 {
  position: absolute;
  inset: 0 auto auto 50%;
  align-self: start;
  width: var(--boat-logo-width);
  margin: 0;
  text-align: center;
  transform: translateX(-50%);
}

.boat-header .menu-mobile {
  position: static;
  display: flex;
  grid-column: 1;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-width: 98px;
  min-height: 40px;
  margin: 0;
  padding: 0 6px;
  border: 1px solid currentColor;
  color: #fff;
}

.boat-header .support.white {
  position: static;
  display: flex;
  grid-column: 3;
  flex-direction: row;
  gap: 8px;
  justify-self: end;
  width: auto;
  margin: 0;
  padding: 0;
}

.boat-header .menu-link.white {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: auto;
  margin: 0;
  padding: 0 5px;
  font-size: 16px;
  line-height: 1.3;
  text-align: center;
}

.boat-header .menu-link.white[aria-current="page"] {
  border-bottom: 1px solid #fb583c;
}

.boat-header :is(.menu-link, .menu-mobile):focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
}

.boat-header .boat-main-nav:not([data-nav-menu-open]) {
  display: none;
}

.boat-header .boat-main-nav[data-nav-menu-open] {
  box-sizing: border-box;
  right: auto;
  width: 100%;
  height: auto;
  max-height: calc(100vh - var(--boat-header-height));
  max-height: calc(100dvh - var(--boat-header-height));
  padding: 24px 16px;
  overflow-y: auto;
  background: #000;
}

.boat-main-nav[data-nav-menu-open] .boat-primary-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px 12px;
  max-width: 940px;
  margin-inline: auto;
}

@media (min-width: 768px) and (max-width: 991px) {
  .boat-header > .boat-header-layout {
    max-width: 728px;
  }
}

@media (max-width: 600px) {
  .boat-header {
    --boat-logo-width: 60px;
  }

  .boat-header > .boat-header-layout {
    padding-bottom: 36px;
  }

  .boat-header .menu-mobile {
    min-width: 86px;
    min-height: 34px;
  }

  .boat-header .support.white {
    gap: 2px;
  }

  .boat-header .support .menu-link {
    font-size: 13px;
    padding-inline: 4px;
  }

  .boat-main-nav[data-nav-menu-open] .boat-primary-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .boat-main-nav[data-nav-menu-open] .menu-link.white {
    font-size: 14px;
  }
}

@media (min-width: 1280px) {
  .boat-header > .boat-header-layout {
    width: calc(100% - 48px);
    max-width: 1472px;
  }

  .boat-header .menu-mobile {
    display: none;
  }

  .boat-header .boat-main-nav:not([data-nav-menu-open]) {
    position: static;
    display: block;
    grid-column: 1;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
  }

  .boat-header .boat-primary-links {
    display: flex;
    gap: 4px;
  }

  .boat-header .boat-primary-links .menu-link {
    padding-inline: 0;
    font-size: 13px;
    white-space: nowrap;
  }

  .boat-header .support.white {
    gap: 24px;
    justify-self: center;
  }
}

@media (min-width: 1440px) {
  .boat-header .boat-primary-links {
    gap: 8px;
  }

  .boat-header .boat-primary-links .menu-link {
    font-size: 14px;
  }
}
