.team-cards-container {
  padding: 50px 150px;
}
.team-cards-container-tag {
  font-family: Uncut Sans;
  font-size: 28px;
  font-weight: 500;
  line-height: 34px;
  letter-spacing: -0.2333333045244217px;
  text-align: center;
  color: #171717;
  margin-bottom: 12px;
}
.team-cards-container-title {
  font-family: GT Walsheim Trial;
  font-size: 54px;
  font-weight: 800;
  line-height: 54px;
  letter-spacing: -0.2333333045244217px;
  text-align: center;
  color: #171717;
  text-transform: capitalize;
}
.team-cards-container-contents {
  width: 90%;
  margin: 16px auto;
}

.team-card-image img {
  width: 100%;
  object-fit: contain;
  margin-bottom: 20px;
}

.team-cards-container-content {
}

.team-card-container-contents {
  display: inline-block;
  width: 32%;
  margin-right: 1%;
  margin-bottom: 16px;
  vertical-align: top;
  background-color: #ffffff;
  padding: 24px 32px;
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.1);
  justify-content: space-between;
}
.team-cards-container-content-tag {
  font-family: Uncut Sans;
  font-size: 20px;
  font-weight: 500;
  line-height: 34px;
  letter-spacing: -0.2333333045244217px;
  text-align: left;
  color: #171717;
  margin-bottom: 12px;
}
.team-cards-container-content-title {
  font-family: Uncut Sans;
  font-size: 32px;
  font-weight: 700;
  line-height: 34px;
  letter-spacing: -0.2333333045244217px;
  color: #171717;
  margin-bottom: 24px;
}
.team-cards-container-content-details p {
  font-family: Uncut Sans;
  font-size: 24px;
  font-weight: 500;
  line-height: 34px;
  letter-spacing: -0.2333333045244217px;
  color: #171717;
}
.team-cards-container-content-link {
  font-family: Uncut Sans;
  font-size: 20px;
  font-weight: 500;
  line-height: 34px;
  letter-spacing: -0.2333333045244217px;
  text-align: left;
  color: #171717;
}

/* Grid with Flex */
@supports (display: grid) {
  .team-cards-container-contents {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(24vw, 1fr));
    grid-gap: 16px;
    grid-auto-rows: 1fr;
  }

  /* to make background fill entire height */

  .team-card-container-contents {
    width: auto;
    margin: 0;
    display: flex;
    flex-direction: column;
  }

  /* Uncomment to make text same height */
  .team-cards-container-content {
    flex: 1;
    display: flex;
    flex-direction: column;
  }
}

@media (max-width: 1920px) {
  .team-cards-container {
    padding: 50px 50px;
  }
}
@media (max-width: 1500px) {
  .team-cards-container-tag {
    font-size: 26px;
    line-height: 30px;
  }
  .team-cards-container-title {
    font-size: 50px;
    line-height: 50px;
  }
  .team-cards-container-content-tag {
    font-size: 20px;
    line-height: 30px;
  }
  .team-cards-container-content-title {
    font-size: 30px;
    line-height: 32px;
  }
  .team-cards-container-content-details p {
    font-size: 24px;
    line-height: 30px;
  }
}
@media (max-width: 1200px) {
  .team-cards-container-contents {
    grid-template-columns: repeat(auto-fit, minmax(40vw, 1fr));
  }
  .team-cards-container-tag {
    font-size: 24px;
    line-height: 28px;
  }
  .team-cards-container-title {
    font-size: 46px;
    line-height: 46px;
  }
  .team-cards-container-content-tag {
    font-size: 18px;
    line-height: 24px;
  }
  .team-cards-container-content-title {
    font-size: 28px;
    line-height: 30px;
  }
  .team-cards-container-content-details p {
    font-size: 22px;
    line-height: 24px;
  }
}
@media (max-width: 1090px) {
  .team-cards-container-contents {
    grid-template-columns: repeat(auto-fit, minmax(36vw, 1fr));
  }
  .team-cards-container-tag {
    font-size: 22px;
    line-height: 26px;
  }
  .team-cards-container-title {
    font-size: 40px;
    line-height: 40px;
  }
}
@media (max-width: 767px) {
  .team-cards-container {
    padding: 50px 20px;
  }
  .team-cards-container-contents {
    grid-template-columns: repeat(auto-fit, minmax(50vw, 1fr));
  }
  .team-cards-container-tag {
    font-size: 20px;
    line-height: 24px;
  }
  .team-cards-container-title {
    font-size: 36px;
    line-height: 36px;
  }
  .team-cards-container-content-tag {
    font-size: 16px;
    line-height: 20px;
  }
  .team-cards-container-content-title {
    font-size: 24px;
    line-height: 28px;
    margin-bottom: 16px;
  }
  .team-cards-container-content-details p {
    font-size: 20px;
    line-height: 24px;
  }
}
.team-cards-container-content-tag.empty-tag {
  min-height: 34px; /* Set to the line-height of your largest font-size to maintain consistent spacing */
  color: transparent; /* Makes the text transparent */
}
