.social-button-group {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.footer .social-button-group {
  margin-top: 12px;
}

a.social-button {
  box-sizing: border-box;
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  width: fit-content;
  max-width: 100%;
  min-height: 44px;
  margin: 0;
  padding: 8px 12px;
  border: 1px solid #a1aab5;
  border-radius: 8px;
  background: #fff;
  color: #202834;
  font-size: 14px;
  font-weight: 750;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
  white-space: normal;
  transition: background-color .15s, border-color .15s;
}

a.social-button:hover {
  border-color: #4c5968;
  background: #f2f5f8;
  color: #202834;
}

a.social-button:focus-visible {
  outline: 2px solid #2563eb;
  outline-offset: 3px;
}

a.social-button-compact {
  min-height: 36px;
  padding: 5px 8px;
  font-size: 13px;
}

.social-button img {
  display: block;
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  object-fit: contain;
}

.social-button-compact img {
  width: 20px;
  height: 20px;
}

a.social-button .social-button-label,
a.social-button .social-button-arrow {
  display: block;
  margin: 0;
  color: inherit;
  font: inherit;
}

a.social-button .social-button-arrow {
  flex: 0 0 auto;
  color: #4c5968;
}

footer a.social-button:has(> img) {
  position: relative;
  justify-content: center;
  width: 44px;
  min-height: 44px;
  padding: 0;
}

footer a.social-button > img {
  width: 24px;
  height: 24px;
}

footer a.social-button img ~ .social-button-label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

footer a.social-button img ~ .social-button-arrow {
  display: none;
}

.utility a.social-button {
  margin-block: 4px;
}

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