/* ===== Section spacing (same as the home page) ===== */
.team-section { padding: clamp(60px, 8vw, 100px) clamp(20px, 4vw, 48px) !important; }
.final-cta-section { padding: 0 24px clamp(60px, 8vw, 100px); }
/* This hero has no buttons, so the text needs no bottom margin */
.faq-hero-copy { margin-bottom: 0 !important; }
.team-heading { margin-bottom: 28px; }
.team-tabs { margin-bottom: clamp(36px, 5vw, 56px); }

/* ===== Tablet ===== */
@media (max-width: 960px) {
  .faq-hero { min-height: 0 !important; height: auto !important; }
  .faq-hero-content { padding-top: 56px !important; padding-bottom: 56px !important; }
  .final-cta-section { padding: 0 20px 60px; }
}

/* Tablets below 760px: filters wrap instead of swiping */
@media (max-width: 760px) {
  .team-tabs { flex-wrap: wrap !important; justify-content: center !important; overflow: visible !important; margin: 0 0 40px !important; padding: 0 !important; }
}

/* ===== Phones ===== */
@media (max-width: 640px) {
  .faq-hero-content { padding: 40px 22px !important; }
  .faq-hero-copy { margin-top: 18px !important; }
  .team-section { padding: 60px 16px !important; }
  .team-heading { margin-bottom: 24px; }
  .team-heading h2 { font-size: clamp(28px, 8vw, 36px); }
  /* Filters wrap onto a few centered rows so every department is visible (no sideways swipe) */
  .team-tabs { flex-wrap: wrap !important; justify-content: center !important; overflow: visible !important; gap: 8px; margin: 0 0 36px !important; padding: 0 !important; }
  .team-tab { padding: 9px 12px 9px 14px; font-size: 13px; gap: 6px; }
  .team-tab-count { min-width: 20px; padding: 2px 6px; font-size: 11px; }
  .team-groups { gap: 44px; }
  .team-group-head { flex-direction: column; align-items: flex-start; gap: 4px; margin-bottom: 18px; }
  .final-cta-section { padding: 0 12px 60px; }
  .final-cta-content h2 { font-size: clamp(28px, 8vw, 36px); }
  .final-cta-content p { font-size: 16px; }
  .final-cta-actions { width: 100%; }
}
@media (max-width: 380px) {
  .team-grid { gap: 20px 10px; }
  .team-name { font-size: 15px; }
  .team-position { font-size: 14px; }
}
