/* Team grid. Defaults follow the static site's team-s4 cards: dark rounded
   card, circular photo, white name, brand-green role. Every value here is
   overridable from the widget's Style tab. */

.vex-team {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.vex-team-item {
  background-color: #181A1B;
  border-radius: 12px;
  padding: 28px 18px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vex-team-photo {
  width: 128px;
  height: 128px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 16px;
  flex-shrink: 0;
}

.vex-team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.vex-team-name {
  color: #fff;
  font-family: "Poppins", sans-serif;
  font-weight: 500;
  font-size: 1.05rem;
  line-height: 1.45;
  margin: 0 0 6px;
}

.vex-team-role {
  color: #1EBF95;
  font-family: "Poppins", sans-serif;
  font-size: 0.85rem;
  font-weight: 300;
  line-height: 1.5;
  display: block;
}

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

@media (max-width: 575px) {
  .vex-team { grid-template-columns: 1fr; }
}
