.global-page-header {
  position: sticky;
  top: 0;
  z-index: 50;
}

.global-page-nav {
  align-items: center;
  background: #0a4f4f;
  box-sizing: border-box;
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 0;
  min-height: 58px;
  overflow-x: auto;
  padding: 10px max(12px, env(safe-area-inset-right)) 10px max(12px, env(safe-area-inset-left));
  scrollbar-width: none;
  width: 100%;
}

.global-page-nav::-webkit-scrollbar {
  display: none;
}

.global-page-nav a {
  align-items: center;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 999px;
  color: #fff;
  display: inline-flex;
  flex: 0 0 auto;
  font-family: "Noto Sans KR", "Apple SD Gothic Neo", sans-serif;
  font-size: 13px;
  font-weight: 700;
  justify-content: center;
  line-height: 1;
  min-height: 38px;
  padding: 0 15px;
  text-decoration: none;
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
  white-space: nowrap;
}

.global-page-nav a:hover,
.global-page-nav a:focus-visible {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.75);
  color: #fff;
  outline: none;
}

.global-page-nav a.is-active {
  background: #fff;
  border-color: #fff;
  color: #0a4f4f;
}

@media (max-width: 680px) {
  .global-page-nav {
    justify-content: flex-start;
  }

  .global-page-nav a {
    font-size: 12px;
    min-height: 36px;
    padding: 0 13px;
  }
}
