/* JCB corporate card station: horizontal logo on desktop and mobile. */
.nav__global a.jcb-station::before {
  content: none;
}

.nav__global a.jcb-station picture,
.nav__global a.jcb-station img {
  display: block;
}

.nav__global a.jcb-station img {
  width: clamp(180px, 16.7vw, 240px);
  height: auto;
}

.nav__global a.jcb-station:focus-visible {
  outline: 2px solid #009b7c;
  outline-offset: 2px;
}

@media screen and (min-width: 1025px) {
  header .logo {
    width: min(27vw, 388px);
  }

  .header__inner,
  .nav__global ul {
    min-height: 60px;
  }

  .nav__global ul {
    gap: clamp(12px, 1.5vw, 24px);
    padding-right: 16px;
  }

  .nav__global li {
    margin-right: 0;
    flex-shrink: 0;
  }

  .nav__global a {
    white-space: nowrap;
  }
}

@media screen and (min-width: 1025px) and (max-width: 1279px) {
  header .logo {
    width: 22vw;
  }

  .nav__global ul {
    gap: 10px;
  }

  .nav__global a {
    font-size: 1.3rem;
  }

  .nav__global a::before {
    margin-right: 7px;
  }
}

@media screen and (max-width: 1024px) {
  .nav__global ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    height: auto;
  }

  .nav__global li,
  .nav__global li:nth-of-type(even) {
    width: auto;
    min-width: 0;
  }

  .nav__global a.jcb-station {
    padding: 0 8px;
  }

  .nav__global a.jcb-station picture {
    width: min(100%, 280px);
  }

  .nav__global a.jcb-station img {
    width: 100%;
    height: auto;
    aspect-ratio: 800 / 182;
  }
}
