.our-team-block {
  width: 100%;
  margin: 0 auto;
  padding: 40px 0;
}

.team-header {
  text-align: left;
  margin-bottom: 50px;
 
  margin-left: auto;
  margin-right: auto;
}

.team-title {
  font-weight: 700;
  color: var(--brand-color);
  margin: 0 0 15px 0;
  line-height: 1.2;
}

.team-description {
  margin: 0;
  line-height: 1.6;
  font-weight: 400;
}

.team-members-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  margin: 0 auto;
}

.team-member {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  text-align: center;
}


.member-image {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.member-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-member:hover .member-image img {
  transform: scale(1.05);
}

.member-image-placeholder {
  width: 100%;
  height: 100%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #666;
  font-size: 16px;
  font-weight: 500;
}

.member-info {
  padding: 25px 20px;
  text-align: left;
}

.member-name {
  margin: 0 0 8px 0;
  line-height: 1.3;
}

.member-title {
  margin: 0;
  font-weight: 400;
}

/* Responsive Design */
@media (max-width: 900px) {
  .our-team-block {
    padding: 30px 0;
  }

  .team-header {
    margin-bottom: 40px;
  }

  .team-title {
  }

  .team-description {
  }

  .team-members-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .member-image {
    height: 400px;
  }

  .member-info {
    padding: 20px 15px;
  }

  .member-name {
  }

  .member-title {
  }
}

@media (max-width: 600px) {
  .team-header {
    margin-bottom: 30px;
  }

  .team-title {
  }

  .team-description {
  }

  .team-members-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .member-image {
    height: 400px;
  }

  .member-info {
    padding: 18px 15px;
  }

  .member-name {
    font-size: 28px;
  }

 
}

/* Editor specific styles */
.wp-block-editor .our-team-block .team-member {
  margin-bottom: 20px;
}

.wp-block-editor .our-team-block .member-image-placeholder {
  border: 2px dashed #ddd;
  background: #fafafa;
}