/* Isolated Research Hub / Research Team layout. */
body.page-id-1777 .ndo-research-team-grid,
body.page-research-hub .ndo-research-team-grid {
  width: min(100% - 48px, 1040px);
  margin: 42px auto 86px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  align-items: stretch;
}

body.page-id-1777 .ndo-research-team-card,
body.page-research-hub .ndo-research-team-card {
  min-width: 0;
  overflow: hidden;
  border-radius: 7px;
  background: transparent;
  color: #f5f7fa;
}

body.page-id-1777 .ndo-research-team-card figure,
body.page-research-hub .ndo-research-team-card figure {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  overflow: hidden;
  border-radius: 7px;
}

body.page-id-1777 .ndo-research-team-card img,
body.page-research-hub .ndo-research-team-card img {
  display: block;
  width: 100% !important;
  height: 266px !important;
  max-width: none !important;
  object-fit: cover;
  object-position: center top;
  border-radius: 7px;
}

body.page-id-1777 .ndo-team-copy,
body.page-research-hub .ndo-team-copy {
  margin: 0 !important;
  padding: 24px 14px 8px;
  min-height: 222px;
  text-align: center !important;
  font-size: 13px;
  line-height: 1.55;
  color: rgba(240, 244, 248, .78);
}

body.page-id-1777 .ndo-team-name,
body.page-research-hub .ndo-team-name {
  margin-bottom: 9px;
  color: #fff;
  font-size: 14px;
  line-height: 1.35;
  font-weight: 800;
}

body.page-id-1777 .ndo-team-role,
body.page-research-hub .ndo-team-role {
  min-height: 42px;
  margin-bottom: 11px;
  color: #20bdd3;
  font-weight: 650;
}

body.page-id-1777 .ndo-team-details,
body.page-research-hub .ndo-team-details {
  padding-top: 10px;
  border-top: 1px solid rgba(255,255,255,.12);
}

@media (max-width: 760px) {
  body.page-id-1777 .ndo-research-team-grid,
  body.page-research-hub .ndo-research-team-grid {
    width: 100%;
    margin: 30px 0 70px;
    padding: 0 20px 12px;
    display: flex;
    gap: 16px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
  }

  body.page-id-1777 .ndo-research-team-grid::-webkit-scrollbar,
  body.page-research-hub .ndo-research-team-grid::-webkit-scrollbar {
    display: none;
  }

  body.page-id-1777 .ndo-research-team-card,
  body.page-research-hub .ndo-research-team-card {
    flex: 0 0 min(82vw, 350px);
    scroll-snap-align: center;
  }

  body.page-id-1777 .ndo-research-team-card img,
  body.page-research-hub .ndo-research-team-card img {
    height: min(100vw, 430px) !important;
  }
}
