/**
 * Team grid SDC — section spacing + max-width container only.
 *
 * The pasted html_text already carries its own grid/card styling via inline
 * `style` attributes (see html/About.html "team" — a 4-column card grid,
 * bordered cards with a circular avatar). This file must not restyle that
 * content; the grid-template-columns override below only adjusts column
 * COUNT at narrow widths, since inline styles can't respond to a media
 * query on their own.
 */

.mk3-sdc--team-grid {
  padding-top: clamp(2.5rem, 6vw, 4.375rem);
  padding-bottom: clamp(1rem, 3vw, 1.25rem);
}

.mk3-sdc--team-grid .mk3-sdc__inner {
  max-width: 80rem; /* 1280px — matches .wrap in html/*.html */
  margin-inline: auto;
  padding-inline: clamp(1.5rem, 4vw, 3rem);
}

@media (max-width: 768px) {
  .mk3-sdc--team-grid .mk3-sdc__inner [style*="grid-template-columns"] {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 480px) {
  .mk3-sdc--team-grid .mk3-sdc__inner [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
  }
}
