.contact-details {
  width: min(100%, 510px);
  margin-top: 2.2rem;
  padding: 10px;
  gap: 6px;
  border: 1px solid rgba(77, 120, 152, .15);
  border-radius: 20px;
  background: rgba(255, 255, 255, .7);
  box-shadow: 0 16px 36px rgba(22, 50, 71, .07);
}

.contact-details a,
.contact-social a {
  width: 100%;
  min-height: 48px;
  padding: 7px 11px;
  border: 1px solid transparent;
  border-radius: 13px;
  background: rgba(255, 255, 255, .72);
  color: var(--ink);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.25;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}

.contact-details a:hover,
.contact-social a:hover {
  transform: translateX(3px);
  border-color: rgba(77, 120, 152, .2);
  background: #fff;
  color: var(--blue);
}

.contact-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 11px;
  background: linear-gradient(145deg, #f5fbfd, #fff4f8);
  box-shadow: inset 0 0 0 1px rgba(77, 120, 152, .08);
}

.contact-icon img {
  display: block;
  width: 29px;
  height: 29px;
  object-fit: contain;
}

.contact-social {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
}

.contact-channel-copy {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.contact-channel-copy b,
.contact-channel-copy small {
  display: block;
}

.contact-channel-copy b {
  color: var(--ink);
  font: 700 .94rem "DM Sans", sans-serif;
}

.contact-channel-copy small {
  color: #647985;
  font-size: .73rem;
  font-weight: 600;
}

.contact-channel:hover .contact-channel-copy b,
.contact-channel:hover .contact-channel-copy small {
  color: var(--blue);
}

@media (max-width: 560px) {
  .contact-details {
    padding: 8px;
    border-radius: 17px;
  }

  .contact-details a,
  .contact-social a {
    min-height: 46px;
    padding: 6px 8px;
    gap: 10px;
    font-size: .82rem;
  }

  .contact-icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
    border-radius: 10px;
  }

  .contact-icon img {
    width: 27px;
    height: 27px;
  }

  .contact-email > span:last-child {
    overflow-wrap: anywhere;
  }

  .contact-channel-copy b {
    font-size: .86rem;
  }

  .contact-channel-copy small {
    font-size: .68rem;
  }
}
