section.team-page {
  padding: 0 80px;
}

.page-team-text {
  width: 100%;
  margin: 0 auto;
  border-bottom: 1px solid #EDF1F5;
  margin-bottom: 60px;
}

.page-team-text .text {
  padding: 60px 20px;
  max-width: 960px;
  margin: 0 auto;
  color: var(--secondary);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 60px;
  justify-content: space-evenly;
}

.team-card {
  display: flex;
  flex-direction: column;
  width: 100%;
  transition: transform 0.18s;
  text-decoration: none;
  background: none;
}

.team-card:hover {
  transform: translateY(-4px) scale(1.03);
}

.team-card:hover .team-card-img img, .team-card:hover .team-card-img .wp-post-image{
  filter: brightness(95%);
}


.team-card-img img, .team-card-img .wp-post-image {
  object-fit: cover;
  border-radius: 18px 0 18px 0;
  display: block;
  width: 100%;
  height: 100%;
  object-position: top;
}

.team-card-nome {
  font-size: 18px;
  font-weight: 600;
  color: #1F2D3D;
  margin-top: 20px;
  font-family: "Noto Sans";
  margin-left: 8px;
  text-align: unset;
}

@media screen and (max-width: 800px) {
  .team-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
}

@media screen and (max-width: 600px) {
  section.team-page {
    padding: 40px;
  }
}

@media screen and (max-width: 400px) {
  section.team-page {
    padding: 20px 20px;
  }
}