@import url("https://fonts.googleapis.com/css2?family=Inter:wght@200;300;400;500;600;700&display=swap");

.jp-site-header,
.jp-site-header *,
.jp-site-header *::before,
.jp-site-header *::after {
  box-sizing: border-box;
}

.jp-site-header {
  position: relative;
  z-index: 50;
  width: 100%;
  background: #111111;
  color: #ffffff;
  font-family: "Inter", sans-serif;
}

.jp-header-inner {
  display: flex;
  width: 100%;
  min-height: 96px;
  padding: 0 clamp(28px, 4vw, 64px);
  align-items: center;
  gap: clamp(42px, 5vw, 84px);
}

.jp-header-skip-link {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  padding: 10px 14px;
  background: #ffffff;
  color: #111111;
  font-weight: 500;
  transform: translateY(-160%);
}

.jp-header-skip-link:focus {
  color: #111111;
  transform: translateY(0);
}

.jp-header-brand {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  color: #ffffff;
  text-decoration: none;
}

.jp-header-brand img {
  display: block;
  width: clamp(240px, 18vw, 300px);
  height: auto;
}

.jp-header-navigation {
  display: flex;
  flex: 1 1 auto;
  min-width: 0;
  align-items: center;
  gap: clamp(30px, 3vw, 52px);
}

.jp-header-navigation a {
  color: rgba(255, 255, 255, 0.78);
  font-size: 17px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.jp-header-navigation a:hover,
.jp-header-navigation a:focus {
  color: #ffffff;
  text-decoration: none;
}

.jp-header-navigation a:focus-visible {
  outline: 3px solid #ffffff;
  outline-offset: 4px;
}

.jp-header-account-link {
  margin-left: auto;
}

@media (max-width: 640px) {
  .jp-header-inner {
    min-height: 0;
    padding: 18px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .jp-header-brand img {
    width: 220px;
  }

  .jp-header-navigation {
    width: 100%;
    flex: 0 1 auto;
    flex-wrap: wrap;
    gap: 12px 22px;
  }

  .jp-header-navigation a {
    font-size: 16px;
  }

  .jp-header-account-link {
    margin-left: 0;
  }
}
