.content-local-tasks {
  position: relative;
  z-index: 5;
  background: var(--bg);
  border-bottom: 1px solid rgba(16, 43, 63, 0.12);
}

#block-acuative-content-local-tasks > div.contextual {
  display: none;
}

.content-local-tasks ul {
  display: flex;
  align-items: center;
  width: max-content;
  min-width: 100%;
  margin: 0;
  padding: 0;
  list-style: none;
}

.content-local-tasks li {
  flex: 0 0 auto;
  margin: 0;
  padding: 0;
}

.content-local-tasks a {
  position: relative;
  display: block;
  padding: 14px 18px;
  color: var(--ink);
  font-family: "Inter", sans-serif;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.25;
  text-decoration: none;
  white-space: nowrap;
  transition: color 160ms ease, background-color 160ms ease;
}

.content-local-tasks a:hover,
.content-local-tasks a:focus-visible {
  color: var(--brand);
  background: rgba(0, 103, 177, 0.06);
}

.content-local-tasks a::after {
  position: absolute;
  right: 18px;
  bottom: 0;
  left: 18px;
  height: 3px;
  background: currentColor;
  content: "";
  opacity: 0;
  transform: scaleX(0.65);
  transition: opacity 160ms ease, transform 160ms ease;
}

.content-local-tasks a.is-active,
.content-local-tasks a[aria-current="page"] {
  color: var(--brand);
}

.content-local-tasks a.is-active::after,
.content-local-tasks a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}

@media (max-width: 767px) {
  .content-local-tasks a {
    padding: 12px 14px;
  }

  .content-local-tasks a::after {
    right: 14px;
    left: 14px;
  }
}
