.team-listing {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
}

@media (max-width: 767px) {
  .team-listing--flickity {
    display: block;
    width: calc(100% + 5rem);
    margin-left: -2.5rem;
  }

  .team-listing--flickity .team-listing__item {
    margin-top: 0;
    padding-left: 2.5rem;
    padding-right: 2.5rem;
  }

  .team-listing--flickity .flickity-button {
    display: none;
  }

  .team-listing--flickity .flickity-page-dots {
    margin-top: 2.2rem;
  }
}

.team-listing__item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  text-align: center;
  margin-top: 3rem;
  width: 100%;
  margin-left: 0;
}

@media (max-width: 767px) {
  .team-listing__item:first-child {
    margin-top: 0;
  }
}

@media (min-width: 768px) {
  .team-listing__item {
    width: 23.3241506%;
    margin-left: 2.234465867%;
  }

  .team-listing__item:nth-child(4n + 1) {
    margin-left: 0;
  }

  .team-listing__item:nth-child(-n + 4) {
    margin-top: 0;
  }
}

.team-listing__item__photo {
  margin: 0 auto;
  width: 100%;
  max-width: 320px;
  min-height: 1px;
}

@media (min-width: 768px) {
  .team-listing__item__photo {
    max-width: none;
  }
}

.team-listing__item__photo img {
  width: 100%;
  border-radius: 100%;
}

.team-listing__item__name {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 600;
  font-size: 2.6rem;
  line-height: 1.2307692307692308;
  letter-spacing: normal;
  color: #0d1a41;
  margin: 0.7rem auto 0;
}

@media (min-width: 768px) {
  .team-listing__item__name {
    font-size: 2.1rem;
    line-height: 1;
    letter-spacing: 0.020000000298023224rem;
    margin: 1.8rem auto 0;
  }
}

.team-listing__item__position {
  font-family: 'Source Sans Pro', sans-serif;
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.0666666666666667;
  letter-spacing: 0.125rem;
  color: #0d1a41;
  margin: 0.6rem auto 0;
  text-transform: uppercase;
}

@media (min-width: 768px) {
  .team-listing__item__position {
    font-size: 1.3rem;
    line-height: 1.2307692307692308;
    letter-spacing: 0.10833333730697632rem;
  }
}

.team-listing__item__link {
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1.5rem;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.025rem;
  color: #27aae1;
  margin: 0.7rem auto 0;
}

@media (min-width: 768px) {
  .team-listing__item__link {
    margin: 1rem auto 0;
  }
}

.team-listing__item__link:hover {
  text-decoration: underline;
}