/* Compact external links below the profile introduction. */
.profile-social {
  display: grid;
  grid-template-columns: repeat(4, 48px);
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  margin-top: 20px;
}

.profile-social a {
  display: block;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  box-shadow: 0 0 0 1px rgba(125, 255, 211, .24);
  transition: transform .18s ease, box-shadow .18s ease;
}

.profile-social img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: inherit;
}

.profile-social a:focus-visible {
  outline: 2px solid var(--green, #7dffd3);
  outline-offset: 5px;
}

@media (hover: hover) {
  .profile-social a:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 0 1px rgba(125, 255, 211, .7), 0 5px 14px rgba(0, 0, 0, .2);
  }
}

@media (max-width: 480px) {
  .profile-social {
    grid-template-columns: repeat(2, 48px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .profile-social a {
    transition: none;
  }

  .profile-social a:hover {
    transform: none;
  }
}
