/* ----- Global People Styles ----- */
.people .person {
  position: relative;
  top: 0;
  transition: 0.3s;
  overflow: hidden;
}

.people a.person:hover {
  top: -5px;
  transition: 0.3s;
}

.people .person-image {
  display: block;
  position: relative;
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  z-index: 1;
}

.people .person-overlay {
  opacity: 0;
  position: absolute;
  width: 100%;
  height: 100%;
  z-index: 2;
  background: rgba(0, 0, 0, 0.5);
  transition: 0.5s;
}

.people .person:hover .person-overlay {
  opacity: 1;
  transition: 0.5s;
}

.people .person .person-text {
  position: absolute;
  bottom: 15px;
  left: 15px;
}

.people .person h3 {
  margin: 0;
  padding: 0;
}

.people .person span {
  color: #666;
  font-size: 16px;
  margin: 0;
  padding: 0;
}

.person .person-calendly a {
  padding: 10px 30px;
  font-size: 18px;
  background-color: #ff6542;
  color: #FFF;
  border-radius: 5px;
}

.person .person-social {
  display: inline-block;
  margin: 0;
  padding: 0;
  list-style-type: none;
}

.person .person-social li {
  display: inline;
  margin: 0 10px 0 0;
  padding: 0;
  list-style-type: none;
}

.person .person-social li a {
  color: #000;
}

.person .tiktok {
  line-height: 1em;
  height: 1em;
  color: #000;
}

.person .person-preffered-pronouns {
  margin-bottom: 0;
}

/* ----- PEOPLE GRID ----- */
.people-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-column-gap: 30px;
  grid-row-gap: 30px;
}

/* ----- CARDS LAYOUT ----- */
.people-badge.people-cards .person-badge {
  flex-direction: column;
  justify-content: center;
}

.people-cards.people-badge .person-badge .person-info{
  margin: 15px 0 0 0;
  text-align: center;
}


/* ----- BADGE LAYOUT ----- */
.people-badge .person {
  display: flex;
  justify-content:flex-start;
  align-items: top;
  margin-bottom: 30px;
  padding: 15px;
  background: #FFF;
  box-shadow: 0 0 10px rgb(0, 0, 0, 0.1);
  border-radius: 10px;
}

.people-badge .person-image-container {
  flex-shrink: 1;
  margin-top: 5px;
}

.people-badge .person-image {
  height: 150px;
  width: 150px;
  overflow: hidden;
}

.people-badge .person-image img {
  width: 150px;
  height: auto;
  overflow: hidden;
}

.people-badge .person-info {
  margin-left: 30px;
  flex-grow: 1;
  width: 100%;
}

.people-badge .person-info p {
  margin: 0;
  padding: 0;
}

.people-badge .person-info .person-professional-info {
  margin-bottom: 15px;
}

.people-badge .person-info .person-calendly {
  display: block;
  margin: 15px 0;
}

.people-badge .person-info .person-calendly a {
  display: block;
  text-align: center;
}

/* ----- CARDS LAYOUT ----- */
.people-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-column-gap: 30px;
  grid-row-gap: 30px;
}

.people-cards .person {
  display: flex;
  flex-direction: column;
  margin-bottom: 30px;
  background: #FFF;
  box-shadow: 0 0 10px rgb(0, 0, 0, 0.1);
  border-radius: 10px;
  overflow: hidden;
}

.people-cards .person-info {
  padding: 30px;
}

/* ----- LIST LAYOUT ----- */
.people-list h3 {
  display: inline;
  margin: 0;
  padding: 0;
}

.people-list td {
  vertical-align: middle;
}

/* On screens that are 768px or less, set the background color to blue */
@media screen and (max-width: 768px) {
  .people {
    grid-template-columns: 1fr 1fr;
  }
}

/* On screens that are 576px or less, set the background color to blue */
@media screen and (max-width: 576px) {
  .people {
    grid-template-columns: 1fr;
  }
}