/* Keep contact cards aligned while the same yellow used on Links sweeps in. */
.support-page .support-contact-card {
  position: relative;
  border-color: var(--border);
}

.support-page .support-contact-card > .bi-arrow-up-right {
  color: var(--brand);
}

@media (forced-colors: none) {
  .support-page .support-contact-card:is(:hover, :focus-visible) {
    color: var(--text);
    border-color: var(--border);
    background: rgba(255, 202, 10, 0.10);
  }

  .support-page .support-contact-card:focus-visible {
    outline: 2px solid var(--brand);
    outline-offset: 3px;
  }
}

@media (min-width: 761px) and (hover: hover) and (pointer: fine) and (forced-colors: none) {
  .support-page .support-contact-card {
    transition: background-color 220ms ease-in-out !important;
  }

  .support-page .support-contact-card::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;
  }

  .support-page .support-contact-card:is(:hover, :focus-visible)::after {
    transform: scaleX(1);
  }

  @media (prefers-reduced-motion: reduce) {
    .support-page .support-contact-card,
    .support-page .support-contact-card::after {
      transition: none !important;
    }
  }
}

/* Give both contact symbols and outgoing arrows a stronger stroke. */
.support-page .support-contact-card > .bi::before {
  -webkit-text-stroke: 0.55px currentColor;
}
