/* Team Grid — mobile-only */
.team-grid {
  display: none;
}

@media (max-width: 767px) {
  .team-grid {
    display: block;
    padding: var(--spacing-xl) 0;
    text-align: center;
  }

  .team-grid__caption {
    font-size: 16px;
    line-height: 18px;
    font-weight: 400;
    color: var(--color-primary);
    margin: 0 0 var(--spacing-sm);
  }

  .team-grid__title {
    font-size: 30px;
    line-height: 32px;
    font-weight: 600;
    color: var(--color-dark-blue);
    text-transform: uppercase;
    margin: 0 0 var(--spacing-md);
  }

  .team-grid__cta {
    margin-bottom: var(--spacing-lg);
  }

  .team-grid__cta .btn {
    font-size: 18px;
    line-height: 20px;
    font-weight: 400;
  }

  .team-grid__images {
    position: relative;
  }

  .team-grid__image {
    position: absolute;
    overflow: hidden;
    border-radius: 16px;
  }

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