/* One shared presentation for the home and landing team cards. */
.team_grid { font-family: Montserrat, sans-serif; font-size: 16px; font-weight: 400; line-height: normal; letter-spacing: normal; color: #000; }
@media (max-width: 768px) {
.team_grid {
    gap: 30px 16px;
  }
}
@media (max-width: 560px) {
.team_grid {
    max-width: 400px;
  }
}
@media (max-width: 560px) {
.team_grid .team_member_content {
    padding-top: 16px;
  }
}
@media (max-width: 560px) {
.team_grid .team_contact_link {
    width: 42px;
    height: 42px;
  }
}
@media (max-width: 560px) {
.team_grid .team_profile_link {
    min-height: 46px;
  }
}
.team_grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 18px;
}
.team_grid .team_member {
  min-width: 0;
}
.team_grid .team_member_image {
  overflow: hidden;
  aspect-ratio: 4 / 5;
  background-color: #eee8e2;
  border-radius: 18px;
}
.team_grid .team_member_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transition: transform 0.4s ease;
}
.team_grid .team_member_placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: #216b69;
  background-color: #f1f8f8;
  font-size: 48px;
  font-weight: 600;
}
.team_grid .team_member:hover .team_member_image img {
  transform: scale(1.025);
}
.team_grid .team_member_content {
  padding: 20px 4px 0;
}
.team_grid .team_member_name {
  margin: 0 0 5px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.3;
  color: #1a1a1a;
}
.team_grid .team_member_position {
  min-height: 40px;
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #777;
}
.team_grid .team_member_contacts {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
}
.team_grid .team_contact_link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #4f9291;
  background-color: #f1f8f8;
  border: 1px solid rgba(124, 192, 191, 0.22);
  border-radius: 50%;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}
.team_grid .team_contact_link:hover {
  color: #fff;
  background-color: #7cc0bf;
  border-color: #7cc0bf;
  transform: translateY(-2px);
}
.team_grid .team_contact_link:focus-visible,
.team_grid .team_profile_link:focus-visible {
  outline: 2px solid #7cc0bf;
  outline-offset: 3px;
}
.team_grid .team_profile_link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  width: 100%;
  margin-top: 18px;
  padding: 10px 14px;
  color: #1a1a1a;
  border: 1px solid #dedede;
  border-radius: 8px;
  box-sizing: border-box;
  font-size: 13px;
  font-weight: 600;
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    border-color 0.2s ease;
}
.team_grid .team_profile_link svg {
  transition: transform 0.2s ease;
}
.team_grid .team_profile_link:hover {
  color: #fff;
  background-color: #1a1a1a;
  border-color: #1a1a1a;
}
.team_grid .team_profile_link:hover svg {
  transform: translateX(3px);
}
@media (max-width: 992px) {
.team_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 20px;
  }
}
@media (max-width: 768px) {
.team_grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 560px) {
.team_grid {
    grid-template-columns: 1fr;
    gap: 34px;
    max-width: 360px;
    margin: 0 auto;
  }
}
@media (max-width: 560px) {
.team_grid .team_member_position {
    min-height: 0;
  }
}
@media (max-width: 560px) {
.team_grid .team_contact_link {
    width: 42px;
    height: 42px;
  }
}
@media (max-width: 560px) {
.team_grid .team_profile_link {
    min-height: 46px;
  }
}

.team_grid .team_member_name { letter-spacing: normal; text-wrap: wrap; }
@media (prefers-reduced-motion: reduce) {
  .team_grid .team_member_image img,
  .team_grid .team_contact_link,
  .team_grid .team_profile_link,
  .team_grid .team_profile_link svg { transition: none; }
}
