.team-grid {
  display: grid;
  gap: 30px 10px;
}

.team-grid.col-2 {
  grid-template-columns: repeat(2, 1fr);
}

.team-grid.col-3 {
  grid-template-columns: repeat(3, 1fr);
}

.team-grid.col-4 {
  grid-template-columns: repeat(4, 1fr);
}


@media(max-width: 1199px) {
  .team-grid.col-4 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media(max-width: 991px) {
  .team-grid.col-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media(max-width: 767px) {

  .team-grid.col-3,
  .team-grid.col-4 {
    grid-template-columns: repeat(1, 1fr);
  }
}

.team-filter {
  margin-bottom: 30px;
  display: flex;
  align-items: center;
  overflow: auto;
  gap: 20px;
}

.team-filter::-webkit-scrollbar {
  display: none;
}

.team-filter button {
  color: #005152;
  border-radius: 0px;
  letter-spacing: 2px;
  font-size: 16px;
  border: none;
  padding: 8px 16px;
  background-color: #f4f4f4;
  white-space: nowrap;
}

.team-filter button.active {
  background: #005152 !important;
  color: #fff;
}

.team-item {
  text-align: center;
  transition: 0.3s;
}

.team-item img {
  max-width: 100%;
  width: 100%;
  height: 290px;
  object-fit: cover;
  object-position: center center;
  margin-bottom: 16px;
}

.team-item h3 {
  font-size: 24px;
}

.team-item p {
  font-size: 16px;
  color: #5b5b5b;
}

.loading{
  text-align: center;
  font-size: 20px;
  color: #5b5b5b;
  padding: 50px 0;
}