/* Heading actions: social icons + profile buttons share one 44px row. */
.profile-heading__links {
  align-items: center !important;
  display: flex !important;
  flex-wrap: wrap;
  gap: 8px;
}

.profile-heading__socials {
  align-items: center !important;
  display: flex !important;
  flex-direction: row;
  gap: 8px;
  justify-content: flex-end;
  list-style: none;
  margin: 0 !important;
  padding: 0 !important;
}

.profile-heading__social-item {
  flex-shrink: 0;
  height: 44px !important;
  margin: 0 !important;
  width: 44px !important;
}

.profile-heading__social-link {
  align-items: center !important;
  box-sizing: border-box;
  display: inline-flex !important;
  height: 44px !important;
  justify-content: center !important;
  min-height: 44px;
  min-width: 44px;
  width: 44px !important;
}

.profile-heading__social-link .icon {
  margin: 0 !important;
}

.profile-heading__links .btn.profile-heading__edit-sm-link,
.profile-heading__links .btn.profile-heading__edit-profile-link,
.profile__mobile-edit-profile-link {
  align-items: center !important;
  box-sizing: border-box;
  display: inline-flex !important;
  flex-shrink: 0;
  gap: 8px;
  height: 44px !important;
  justify-content: center !important;
  line-height: 1;
  margin: 0 !important;
  min-height: 44px;
  overflow: visible !important;
  padding: 10px 18px 10px 16px !important;
  white-space: nowrap;
  width: auto !important;
}

.profile-heading__links .btn .profile-action-icon,
.profile__mobile-edit-profile-link .profile-action-icon,
.profile-action-icon {
  color: inherit;
  display: block !important;
  flex-shrink: 0 !important;
  height: 16px !important;
  min-height: 16px;
  min-width: 16px;
  overflow: visible !important;
  width: 16px !important;
}

@media only screen and (max-width: 1023px) {
  .profile-heading__links .btn.profile-heading__edit-profile-link {
    display: none !important;
  }
}
