/* Small brand accents keep the social directory readable on charcoal. */
.link-hub-page .link-hub-item small {
  color: var(--sidebar);
  background: var(--brand);
}

.link-hub-page .link-hub-item > .bi-arrow-up-right {
  color: var(--brand);
}

/* Reveal the yellow row accent in the same direction as our text links. */
@media (min-width: 761px) and (hover: hover) and (pointer: fine) and (forced-colors: none) {
  .link-hub-page .link-hub-item {
    position: relative;
    border-bottom-color: var(--border);
  }

  .link-hub-page .link-hub-item::after {
    content: "";
    position: absolute;
    inset: auto 0 -1px;
    height: 1px;
    background: var(--brand);
    pointer-events: none;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 220ms ease-in-out !important;
  }

  .link-hub-page .link-hub-item:is(:hover, :focus-visible)::after {
    transform: scaleX(1);
  }

  @media (prefers-reduced-motion: reduce) {
    .link-hub-page .link-hub-item::after {
      transition: none !important;
    }
  }
}
