.member-thumb__wrapper {
  --size: 281px;
  max-width: var(--size);
}

.member-thumb {
  max-width: var(--size);
  margin: auto;
  height: 100%;
}

.member-thumb__image-wrapper {  
  width: var(--size);
  height: var(--size);
  padding: 0;
  border-radius: 50%;
  overflow: hidden;
  margin: auto;
  position: relative; z-index: 1;
}

.member-thumb__top {
  position: relative;
  margin-bottom: 25px;
}

.member-thumb__group {
  position: absolute;;
  bottom: -15px; inset-inline-end: 23px;z-index: 2;
}

.member-thumb__name {
  color: black;
}

.member-thumb__name:after {
  margin: 15px auto;
  line-height: 1.5625;
  width: 136px;
  border-width: 2px;
}

.member-thumb__subtitle {
  line-height: 1.6
}

@media (pointer: fine) {
  .member-thumb__image {
    transition: var(--long-transition);
  }

  .member-thumb:hover a[href] .member-thumb__image {
    transform: scale(1.1);
  }
}

/* Contact icons */
.member-thumb__contact-icons {
  position: absolute; top: 50%; left: 0; right: 0;
  justify-content: center;
  z-index: 0;
}

.member-thumb .contact-icon {
  transition: 0.3s ease-out;
  padding: 20px;
  margin: -20px;
  position: absolute;
  left: 50%; top: 50%;
  margin-top: -44px; margin-left: -44px;
}

.member-thumb .contact-icon[aria-hidden="true"] {
  visibility: hidden; opacity: 0;
}

.member-thumb .contact-icon:hover {
  opacity: 0.7;
}

.member-thumb:hover .contact-icon:nth-child(1) {
  transform: translateX(-70px) translateY(-160px);
}

.member-thumb:hover .contact-icon:nth-child(2) {
  transform: translateX(4px) translateY(-174px);
}

.member-thumb:hover .contact-icon:nth-child(3) {
  transform: translateX(76px) translateY(-157px);
}


@media (max-width: 1200px) {
  .member-thumb__wrapper {
    --size: 213px;
  }

  .member-thumb__name {
    font-size: var(--font-size-20);
    display: flex; flex-direction: column;
    align-items: center;
  }

  .member-thumb__subtitle {
    font-size: var(--font-size-14);
  }

  .member-thumb__name:after {
    margin: 11px auto;
  }

  .member-thumb__group {
    bottom: -1px; right: 7px;
  }  

  .member-thumb__contact-icons {
    transform: scale(0.8) translateY(-40px);
  }
}

@media (max-width: 1900px) {
  .team  {
    --grid-columns: 4;
  }
}

@media (max-width: 1500px) {
  .team  {
    --grid-columns: 3;
  }
}

@media (max-width: 1200px) {
  .team {
    gap: 54px;
    margin-top: 64px;
    margin-bottom: 77px;
  }
}

@media (max-width: 830px) {
  .team {
    --grid-columns: 2;
  }
}

@media (max-width: 600px) {
  .team  {
    --grid-columns: 1;
  }
}
