.footer-socials {
  margin-top: .875rem;
  padding-top: .5rem;
  border-top: 1px solid #ffffff26;
  max-width: 9.5rem;
  scroll-margin-top: 7rem;
}

.footer-socials ul {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .125rem .25rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-socials a {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 2.75rem;
  color: #e6eaf2;
  border-radius: .375rem;
}

.footer-social-icon {
  box-sizing: border-box;
  width: 2.125rem;
  height: 2.125rem;
  padding: .5rem;
  border-radius: 50%;
  border: 1px solid #ffffff26;
  background-color: #ffffff0f;
  fill: currentColor;
}

.footer-social-badge {
  box-sizing: border-box;
  position: absolute;
  inset-inline-end: 1px;
  inset-block-end: 3px;
  width: .875rem;
  height: .875rem;
  padding: .125rem;
  border-radius: 50%;
  box-shadow: 0 0 0 2px #0a192f;
  color: #0a192f;
  background: #dfc47f;
  fill: currentColor;
}

.footer-socials a:is(:hover, :focus-visible) {
  color: #fff;
}

.footer-socials a:is(:hover, :focus-visible) .footer-social-icon {
  border-color: #dfc47f;
  background-color: #ffffff20;
}

.footer-socials a:focus-visible {
  outline: 2px solid #dfc47f;
  outline-offset: -2px;
}
