main {
  padding-top: var(--space-12);
}

.section--hero-team {
  border-bottom: 1px solid var(--color-border-subtle);
}

.hero--team {
  align-items: center;
}

.team-hero__image {
  min-height: 260px;
}

.section--intro-team .card {
  align-self: center;
}

.team-block {
  align-items: center;
  gap: var(--space-12);
}

.team-block--reverse {
  direction: rtl;
}

.team-block--reverse > * {
  direction: ltr;
}

.team-block__media {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-crisp);
}

.team-block__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-block__media--composite {
  position: relative;
  min-height: 240px;
}

.team-block__card-overlay {
  position: absolute;
  inset: auto var(--space-4) var(--space-4) var(--space-4);
  max-width: 420px;
  margin-left: auto;
}

.team-lounge__card {
  align-self: center;
}

.team-leadership__grid {
  gap: var(--space-10);
}

.team-list {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.team-list--compact {
  gap: var(--space-2);
}

.team-testimonials__grid {
  gap: var(--space-10);
}

.team-testimonial__name {
  margin-top: var(--space-4);
  margin-bottom: 0;
  font-size: var(--font-size-sm);
  font-weight: 500;
  color: var(--color-text);
}

.team-growth__grid {
  gap: var(--space-10);
}

.team-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-10);
}

.team-cta__actions {
  min-width: 230px;
}

@media (max-width: 900px) {
  .team-block--reverse {
    direction: ltr;
  }

  .team-block__card-overlay {
    position: static;
    max-width: none;
  }

  .team-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .team-cta__actions {
    width: 100%;
  }

  .team-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .section--hero-team .hero {
    padding-top: var(--space-14);
    padding-bottom: var(--space-12);
  }

  .team-testimonials__grid,
  .team-growth__grid {
    gap: var(--space-8);
  }
}

ul {
  list-style: none !important;
}

.nav-toggle {
  flex-direction: column;
}
