
/* =========================================================
   V47 — TEAM INTERNAL SCROLLBAR REMOVAL
   Only the browser/page may scroll. Team card sections grow naturally.
   ========================================================= */

.team-v16-members,
.team-v16-values{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
  overflow-x:visible!important;
  overflow-y:visible!important;
  contain:none!important;
}

.team-v16-members>.container,
.team-v16-values>.container,
.team-v16-grid,
.team-v16-values-grid{
  width:min(var(--max),calc(100% - 96px));
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
  overflow-x:visible!important;
  overflow-y:visible!important;
  contain:none!important;
  scrollbar-width:none!important;
}

.team-v16-members>.container::-webkit-scrollbar,
.team-v16-values>.container::-webkit-scrollbar,
.team-v16-grid::-webkit-scrollbar,
.team-v16-values-grid::-webkit-scrollbar{
  width:0!important;
  height:0!important;
  display:none!important;
}

.team-v16-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:stretch!important;
}
.team-v16-card{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
}
/* Image clipping stays intentional, but never creates a scroll area. */
.team-v16-photo{
  overflow:hidden!important;
  overflow-y:hidden!important;
}

.team-v16-values-grid{
  display:grid!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
  align-items:stretch!important;
}
.team-v16-values article{
  height:auto!important;
  min-height:0!important;
  max-height:none!important;
  overflow:visible!important;
  overflow-y:visible!important;
}

@media(max-width:900px){
  .team-v16-members>.container,
  .team-v16-values>.container,
  .team-v16-grid,
  .team-v16-values-grid{
    width:min(var(--max),calc(100% - 48px))!important;
  }
  .team-v16-grid,
  .team-v16-values-grid{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

@media(max-width:640px){
  .team-v16-members>.container,
  .team-v16-values>.container,
  .team-v16-grid,
  .team-v16-values-grid{
    width:calc(100% - 32px)!important;
  }
  .team-v16-grid,
  .team-v16-values-grid{
    grid-template-columns:minmax(0,1fr)!important;
  }
}
