/* Airport Taxi for 4U 247 — clean white primary header. */
.at4u-header {
  position: relative;
  z-index: 50;
  background: #fff;
  border-bottom: 1px solid var(--at4u-border, #e0e7ef);
  color: var(--at4u-navy, #0d2038);
}

.at4u-header__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  min-height: 92px;
}

.at4u-header__branding {
  display: flex;
  justify-self: start;
  align-items: center;
  min-width: 0;
}

.at4u-header__logo-link,
.at4u-header .custom-logo-link {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  line-height: 1;
}

.at4u-header__logo,
.at4u-header .custom-logo {
  display: block;
  width: auto;
  max-width: 180px;
  max-height: 65px;
  height: auto;
  object-fit: contain;
}

.at4u-header__site-title {
  color: var(--at4u-navy, #0d2038);
  font: 800 1.2rem/1.3 var(--at4u-font-heading, sans-serif);
  text-decoration: none;
}

.at4u-header__navigation {
  justify-self: center;
  min-width: 0;
}

.at4u-header__menu {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: clamp(12px, 1.65vw, 30px);
  padding: 0;
  margin: 0;
  list-style: none;
}

.at4u-header__menu li,
.at4u-header__menu li + li {
  position: relative;
  padding: 0;
  margin: 0;
  list-style: none;
}

.at4u-header__menu a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 92px;
  color: var(--at4u-navy, #0d2038);
  font-family: var(--at4u-font-body, 'Nunito Sans', sans-serif);
  font-size: 0.92rem;
  font-weight: 800;
  line-height: 1.4;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease;
}

.at4u-header__menu a::after {
  position: absolute;
  bottom: 22px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--at4u-gold, #d1a32a);
  border-radius: 2px;
  content: '';
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 160ms ease;
}

.at4u-header__menu a:hover,
.at4u-header__menu a:focus-visible,
.at4u-header__menu .current-menu-item > a,
.at4u-header__menu .current_page_item > a {
  color: var(--at4u-blue, #295a97);
}

.at4u-header__menu a:hover::after,
.at4u-header__menu a:focus-visible::after,
.at4u-header__menu .current-menu-item > a::after,
.at4u-header__menu .current_page_item > a::after {
  transform: scaleX(1);
}

.at4u-header__actions {
  display: flex;
  align-items: center;
  justify-self: end;
  gap: 10px;
}

.at4u-header .at4u-header__quote {
  min-height: 48px;
  padding: 0.73rem 1.25rem;
  border-radius: 8px;
  font-size: 0.925rem;
  white-space: nowrap;
}

.at4u-header__quote svg {
  width: 17px;
  height: 17px;
  flex: 0 0 17px;
}

.at4u-header__menu-toggle,
.at4u-header__mobile-quote {
  display: none;
}

@media (max-width: 1160px) {
  .at4u-header__inner {
    position: relative;
    display: flex;
    justify-content: space-between;
    min-height: 80px;
  }

  .at4u-header__logo,
  .at4u-header .custom-logo {
    max-width: 155px;
    max-height: 60px;
  }

  .at4u-header__menu-toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    background: transparent;
    border: 1px solid var(--at4u-border, #e0e7ef);
    border-radius: 8px;
    color: var(--at4u-navy, #0d2038);
    cursor: pointer;
  }

  .at4u-has-js .at4u-header__menu-toggle {
    display: inline-flex;
  }

  .at4u-header__menu-toggle svg {
    display: block;
    width: 23px;
    height: 23px;
  }

  .at4u-header__menu-toggle .at4u-header__close,
  .at4u-header__menu-toggle[aria-expanded='true'] .at4u-header__hamburger {
    display: none;
  }

  .at4u-header__menu-toggle[aria-expanded='true'] .at4u-header__close {
    display: block;
  }

  .at4u-header__navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    width: 100%;
    padding: 14px clamp(20px, 4vw, 30px) 22px;
    background: #fff;
    border: 1px solid var(--at4u-border, #e0e7ef);
    border-top: 0;
    border-radius: 0 0 12px 12px;
    box-shadow: 0 16px 35px rgb(13 32 56 / 12%);
  }

  .at4u-has-js .at4u-header__navigation {
    display: none;
  }

  .at4u-has-js .at4u-header__navigation.is-open {
    display: block;
  }

  .at4u-header__menu {
    align-items: stretch;
    flex-direction: column;
    gap: 0;
  }

  .at4u-header__menu a {
    display: flex;
    min-height: 48px;
    width: 100%;
    padding: 12px 2px;
    border-bottom: 1px solid var(--at4u-border, #e0e7ef);
    font-size: 0.98rem;
    white-space: normal;
  }

  .at4u-header__menu a::after {
    display: none;
  }

  .at4u-header__mobile-quote {
    display: block;
    margin-top: 18px;
  }

  .at4u-header__mobile-quote .at4u-header__quote {
    width: 100%;
  }
}

@media (max-width: 600px) {
  .at4u-header__inner {
    min-height: 76px;
    gap: 10px;
  }

  .at4u-header__logo,
  .at4u-header .custom-logo {
    max-width: 145px;
    max-height: 54px;
  }

  .at4u-header__desktop-quote {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  .at4u-header__menu a,
  .at4u-header__menu a::after {
    transition: none;
  }
}
