/* Shared link treatment for the existing America Fund Elementor pages. */
.taf-rule-link > span[aria-hidden="true"],
.taf-what-victory-link > span[aria-hidden="true"],
.taf-contact-cta-link > span[aria-hidden="true"],
.taf-mobile-nav a > span[aria-hidden="true"],
.taf-footer-nav a > b[aria-hidden="true"],
.taf-footer-bottom a > span[aria-hidden="true"],
.taf-contact-page-begin > span[aria-hidden="true"],
.taf-contact-prep-begin > span[aria-hidden="true"],
.taf-form-next > span[aria-hidden="true"] {
  display: none !important;
}

.taf-form-panel .gform_footer::after {
  content: none !important;
}

.taf-footer-nav a {
  grid-template-columns: minmax(0, 1fr);
}

.taf-rule-link,
.taf-what-victory-link,
.taf-contact-cta-link,
.taf-contact-page-begin {
  gap: 0 !important;
  transition: color .18s ease, border-color .18s ease;
}

.taf-footer-nav a:hover strong,
.taf-footer-nav a:focus-visible strong,
.taf-footer-bottom a:hover,
.taf-footer-bottom a:focus-visible,
.taf-mobile-nav a:hover,
.taf-mobile-nav a:focus-visible {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: .25em;
}

.taf-contact-prep-begin,
.taf-form-next {
  justify-content: center !important;
  gap: 0 !important;
}

.taf-rule-link:focus-visible,
.taf-what-victory-link:focus-visible,
.taf-contact-cta-link:focus-visible,
.taf-contact-page-begin:focus-visible,
.taf-contact-prep-begin:focus-visible,
.taf-form-next:focus-visible,
.taf-footer-nav a:focus-visible,
.taf-footer-bottom a:focus-visible,
.taf-mobile-nav a:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 5px;
}

@media (prefers-reduced-motion: reduce) {
  .taf-rule-link,
  .taf-what-victory-link,
  .taf-contact-cta-link,
  .taf-contact-page-begin { transition: none; }
}
