.local-news-navigation {
  position: static;
  padding-top: 16px;
  background: #fff;
  scroll-margin-top: 96px;
}

.local-news-navigation > ul,
.local-news-navigation > .product-header-nav {
  /* Align to the captured 1300px article wrapper inside its 1920px canvas. */
  width: var(--news-content-width, calc(100% * 1300 / 1920));
  display: flex;
  gap: 48px;
  margin: 0 auto;
  padding: 0;
  list-style: none;
  border-bottom: 1px solid #e8ebef;
}

.local-news-navigation li {
  margin: 0;
  padding: 0;
}

.local-news-navigation a,
.local-news-navigation .item {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 76px;
  height: auto;
  padding: 0;
  border: 0;
  color: #6d737e;
  font-size: 20px;
  font-weight: 400;
  line-height: 1.5;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease;
}

.local-news-navigation a::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 3px;
  background: transparent;
  content: "";
}

.local-news-navigation a[aria-current="page"] {
  color: #0e1d49;
  font-weight: 600;
}

.local-news-navigation a[aria-current="page"]::after {
  background: #ff6a00;
}

.local-news-navigation a:hover,
.local-news-navigation .item:hover {
  color: #d85100;
}

.local-news-navigation a:focus-visible {
  outline: 2px solid #ff6a00;
  outline-offset: 5px;
  border-radius: 2px;
}

@media (max-width: 1099px) {
  .local-news-navigation {
    padding-top: 8px;
    scroll-margin-top: 88px;
  }

  .local-news-navigation > ul {
    gap: 28px;
  }

  .local-news-navigation a,
  .local-news-navigation .item {
    min-height: 56px;
    font-size: 16px;
  }
}

/* Service pages share the news typography without the captured blue tab bar. */
.local-service-navigation > .product-header-nav {
  justify-content: flex-start;
  height: auto;
  background: transparent;
  border-radius: 0;
}

.local-service-navigation a {
  flex-shrink: 0;
}

@media (max-width: 1099px) {
  .local-service-navigation > ul,
  .local-service-navigation > .product-header-nav {
    width: calc(100% - 32px);
    gap: 28px;
    overflow-x: auto;
    padding-bottom: 1px;
    scrollbar-width: thin;
  }
}

@media (prefers-reduced-motion: reduce) {
  .local-news-navigation a,
  .local-news-navigation .item {
    transition: none;
  }
}
