.profile-banner-contacts,
.pub-hero-banner-contacts.profile-banner-contacts {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45em;
  margin: 0;
  padding: 0;
  list-style: none;
  line-height: 1;
  font-size: inherit;
  vertical-align: middle;
  max-width: 100%;
}

#profile-hero-banner .profile-banner-contacts {
  font-size: 24px;
  margin-top: 0.25em;
}

.role-hero .profile-banner-contacts {
  font-size: 24px;
  margin-top: 0.25em;
}

.profile-banner-contact {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15em;
  height: 1.15em;
  min-width: 1.15em;
  min-height: 1.15em;
  max-width: 1.15em;
  max-height: 1.15em;
  padding: 0;
  border-radius: 0.2em;
  background: transparent;
  color: inherit;
  text-decoration: none;
  border: 0;
  opacity: 0.94;
  flex: 0 0 auto;
  vertical-align: middle;
  cursor: pointer;
  box-sizing: border-box;
  font: inherit;
  line-height: 1;
  appearance: none;
  -webkit-appearance: none;
}

.profile-banner-contact:hover,
.profile-banner-contact:focus-visible {
  opacity: 1;
  background: rgba(255, 255, 255, 0.14);
}

.profile-banner-contact__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1em;
  height: 1em;
  line-height: 0;
  flex-shrink: 0;
}

.profile-banner-contact__icon svg {
  width: 1em !important;
  height: 1em !important;
  max-width: 1em !important;
  max-height: 1em !important;
  display: block;
  flex-shrink: 0;
  overflow: visible;
}

.profile-banner-contact__tip {
  position: absolute;
  bottom: calc(100% + 6px);
  left: 50%;
  transform: translateX(-50%);
  padding: 4px 8px;
  border-radius: 6px;
  background: rgba(15, 23, 42, 0.94);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.25;
  white-space: nowrap;
  max-width: min(280px, 78vw);
  overflow: hidden;
  text-overflow: ellipsis;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.15s ease, visibility 0.15s ease;
  z-index: 30;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.22);
}

.profile-banner-contact__tip::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-top-color: rgba(15, 23, 42, 0.94);
}

.profile-banner-contact:hover .profile-banner-contact__tip,
.profile-banner-contact:focus-visible .profile-banner-contact__tip,
.profile-banner-contact.is-tip-open .profile-banner-contact__tip {
  opacity: 1;
  visibility: visible;
}

.pub-hero-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35em 0.65em;
  max-width: 760px;
}

.pub-hero-meta-row > .pub-hero-meta {
  margin: 0;
  -webkit-line-clamp: unset;
  display: block;
  overflow: visible;
}

.role-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35em 0.65em;
  max-width: 760px;
}

.role-meta-row > .role-meta {
  margin: 0;
  -webkit-line-clamp: unset;
  display: block;
  overflow: visible;
}

@media (max-width: 640px) {
  #profile-hero-banner .profile-banner-contacts {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .role-hero .profile-banner-contacts {
    font-size: 15px;
  }
}

@media (hover: none) {
  .profile-banner-contact:active .profile-banner-contact__tip {
    opacity: 1;
    visibility: visible;
  }
}
