.article-sub-navigation-wrapper {
  max-width: none;
  padding: 0;
}

.article-sub-navigation.block {
  background: var(--tertiary-black);
  border-bottom: 1px solid var(--tertiary-black-30);
  min-height: 56px;
  overflow: hidden;
  width: 100%;

  .article-sub-navigation__nav {
    min-height: inherit;
    overflow-x: auto;
    scrollbar-width: none;

    &::-webkit-scrollbar {
      display: none;
    }
  }

  .article-sub-navigation__list {
    align-items: stretch;
    display: flex;
    gap: var(--space-32px);
    justify-content: flex-start;
    list-style: none;
    margin: 0;
    min-height: inherit;
    padding: 0 var(--space-20px);
    width: max-content;
  }

  .article-sub-navigation__item {
    flex: 0 0 auto;
    display: inline-flex;
  }

  .article-sub-navigation__link {
    align-items: center;
    color: var(--tertiary-white);
    display: flex;
    font-family: var(--body-font-arena);
    font-size: 0.875rem;
    font-weight: var(--fw-400);
    line-height: 1.5rem;
    position: relative;
    text-decoration: none;
    text-transform: uppercase;
    white-space: nowrap;

    &::after {
      background: var(--primary-red);
      bottom: 0;
      content: '';
      height: 3px;
      left: 0;
      position: absolute;
      transition: width 0.3s ease;
      width: 0;
    }

    &:hover,
    &:focus-visible,
    &[aria-current='page'] {
      color: var(--tertiary-white);
      text-decoration: none;
    }

    &:hover::after,
    &[aria-current='page']::after {
      width: 100%;
    }

    &:focus-visible {
      outline: 2px solid var(--tertiary-white);
      outline-offset: 4px;
    }
  }

  @media (width >= 1024px) {
    min-height: 80px;

    .article-sub-navigation__nav {
      display: flex;
      justify-content: center;
    }

    .article-sub-navigation__list {
      gap: var(--space-40px);
      justify-content: center;
      padding-inline: 56px;
    }

    .article-sub-navigation__link {
      font-size: var(--body-font-size-s);
    }
  }
}
