/* Creates an rgba background based on a HEX colour */
/*============================================================================
Breakpoint Variables
==============================================================================*/
/*============================================================================
  Breakpoint Mixins
==============================================================================*/
.team-list {
  display: flex;
  gap: 50px;
  flex-wrap: wrap;
  margin-top: 30px;
  margin-bottom: 30px;
}
.team-list__member {
  text-decoration: unset !important;
}
@media (min-width: 782px) {
  .team-list__member {
    width: calc(50% - 25px);
    flex-basis: calc(50% - 25px);
  }
}
@media (min-width: 1024px) {
  .team-list__member {
    width: calc(19% - 40px);
    flex-basis: calc(19% - 40px);
  }
}
.team-list__member--image {
  background-color: white;
  aspect-ratio: 0.9/1;
  overflow: hidden;
}
@media (max-width: 782px) {
  .team-list__member--image {
    width: calc(100vw - 40px);
  }
}
.team-list__member--image img {
  width: 100%;
  height: 100%;
  -o-object-position: top;
     object-position: top;
  -o-object-fit: cover;
     object-fit: cover;
}
.team-list__member h4 {
  margin-top: 20px;
  margin-bottom: 0;
  line-height: 1;
  color: inherit;
}
.team-list__member p {
  line-height: 1.3125;
}
.team-list__member p:first-child {
  margin-top: 0;
}
.team-list__member:hover {
  text-decoration: none;
}
