.team-hero {
  position: relative;
}

.team-hero__inner {
  align-items: stretch;
}

.team-hero__content {
  max-width: 640px;
}

.team-hero__lead {
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
}

.team-hero__media {
  align-self: stretch;
}

.team-hero__figure {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.team-hero__caption {
  font-size: var(--font-size-xs);
  margin-top: var(--space-3);
}

.team-section-header {
  max-width: 720px;
}

.team-philosophy__highlights {
  align-self: stretch;
}

.team-philosophy__list li + li,
.team-culture__list li + li,
.team-growth__list li + li,
.team-awards__list li + li,
.team-join__steps li + li,
.team-role__list li + li {
  margin-top: var(--space-2);
}

.team-leadership__grid,
.team-day__grid,
.team-culture__grid,
.team-growth__grid,
.team-awards__grid,
.team-join__grid {
  align-items: flex-start;
}

.team-leadership__card + .team-leadership__card {
  margin-top: var(--space-4);
}

.team-role {
  height: 100%;
}

.team-role__list {
  margin-top: var(--space-3);
  font-size: var(--font-size-sm);
}

.team-day__content p + p {
  margin-top: var(--space-3);
}

.team-growth__highlights,
.team-awards__highlights,
.team-join__card {
  height: 100%;
}

.team-join__steps {
  padding-left: var(--space-4);
}

.team-join__steps li {
  list-style: decimal;
}

@media (max-width: 960px) {
  .team-hero__inner {
    gap: var(--space-8);
  }
}

@media (max-width: 768px) {
  .team-hero__content {
    max-width: 100%;
  }

  .team-hero__actions {
    justify-content: flex-start;
  }

  .team-join__steps {
    padding-left: var(--space-3);
  }
}

@media (max-width: 480px) {
  .team-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }
}
