.teamgl-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 2rem 1rem;
}

.teamgl-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  width: 300px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  text-align: center;
  transition: transform 0.3s ease;
}

.teamgl-card:hover {
  transform: translateY(-5px);
}

.teamgl-photo img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
}

.teamgl-content {
  padding: 1rem;
}

.teamgl-name {
  font-size: 1.25rem;
  margin: 0.5rem 0 0.25rem;
  color: #333;
}

.teamgl-role {
  font-size: 0.95rem;
  color: #777;
  margin-bottom: 0.75rem;
}

.teamgl-description {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.teamgl-social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  padding-bottom: 1rem;
}

.teamgl-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #f2f2f2;
  transition: background-color 0.2s ease;
}

.teamgl-social a:hover {
  background-color: #ddd;
}

.teamgl-social img {
  width: 16px;
  height: 16px;
}
