.SectionSubnav_shell__eaOVD {
  position: relative;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid var(--theme-border);
  background: var(--theme-panel);
}

.SectionSubnav_links__UVjGP {
  display: flex;
  align-items: stretch;
  gap: clamp(1rem, 3vw, 2rem);
  max-width: 96rem;
  margin-inline: auto;
  padding: 0.25rem 1rem 0;
  overflow-x: auto;
  scroll-padding-inline: 1rem;
  scrollbar-width: thin;
  scrollbar-color: var(--theme-border) transparent;
}

.SectionSubnav_link__zXjMY {
  display: inline-flex;
  position: relative;
  flex: none;
  align-items: center;
  min-height: 3.25rem;
  padding: 0.5rem 0.125rem;
  border-bottom: 3px solid transparent;
  color: var(--foreground);
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.5;
  white-space: nowrap;
  text-decoration: none;
}

.SectionSubnav_link__zXjMY:hover {
  color: var(--theme-accent-ink);
  border-bottom-color: var(--theme-border);
}

.SectionSubnav_link__zXjMY[aria-current="page"] {
  color: var(--theme-accent-ink);
  font-weight: 650;
  border-bottom-color: var(--theme-primary);
}

.SectionSubnav_link__zXjMY:focus-visible {
  outline: 2px solid var(--theme-accent-ink);
  outline-offset: -3px;
  border-radius: 0.125rem;
}

@media (min-width: 640px) {
  .SectionSubnav_links__UVjGP { padding-inline: 1.5rem; }
}

/* Keep the partner/header stack from taking over small or short screens. */
@media (min-width: 1024px) and (min-height: 650px) {
  .SectionSubnav_shell__eaOVD {
    position: sticky;
    top: calc(var(--site-header-height, 132px) - 1px);
  }
}

