/* Professional credential badges in the site-wide footer.
   Original typographic marks (not association or state logos).
   .footer-credentials is a wrapping row: NAPPS, NPSN, and the
   Wisconsin notary commission sit side by side and wrap on smaller screens. */

.footer-credentials {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 0.85rem 1.15rem;
  max-width: 1280px;
  margin: 2.25rem auto 0;
  padding: 0;
  box-sizing: border-box;
}

.footer-credentials + .footer-divider {
  margin-top: 1.5rem;
}

.footer-cred {
  display: inline-flex;
  text-decoration: none;
  border-radius: 16px;
  line-height: 0;
  transition: transform 0.35s cubic-bezier(.22, 1.4, .36, 1), box-shadow 0.25s;
}

.footer-cred:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px #00000040;
}

.footer-cred:focus-visible {
  outline: 3px solid var(--ft-blue, #6aa8ff);
  outline-offset: 3px;
}

.footer-cred-img {
  display: block;
  width: 240px;
  max-width: 100%;
  height: auto;
  border-radius: 16px;
}

@media (max-width: 768px) {
  .footer-credentials {
    margin-top: 1.75rem;
    padding: 0 0.25rem;
  }
}

@media (max-width: 375px) {
  .footer-credentials {
    margin-top: 1.35rem;
    padding: 0 0.15rem;
  }
  .footer-cred-img {
    width: min(280px, 100%);
  }
}

@media (prefers-reduced-motion: reduce) {
  .footer-cred {
    transition: none;
  }
  .footer-cred:hover {
    transform: none;
    box-shadow: none;
  }
}
