#nsk-team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem
}

@media (min-width: 1200px) {
  #nsk-team-grid {
    grid-template-columns: 1fr 1fr
  }

  #nsk-team-grid .team-grid__group:nth-child(1),
  #nsk-team-grid .team-grid__group:nth-child(2) {
    grid-column: span 1
  }

  #nsk-team-grid .team-grid__group:nth-child(n+3) {
    grid-column: 1 / -1
  }
}

#nsk-team-grid ul {
  list-style: none;
  margin: 0;
  padding: 0
}

#nsk-team-grid .team-grid__group {
  padding: 1.5rem;
  background-color: #fff
}

#nsk-team-grid .team-grid__heading {
  font-weight: 400 !important;
  font-size: 2rem !important;
  text-transform: capitalize !important;
  margin-bottom: 1.5rem
}

#nsk-team-grid .team-grid__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem
}

@media (min-width: 1200px) {
  #nsk-team-grid .team-grid__group:nth-child(-n+2) .team-grid__list {
    grid-template-columns: repeat(3, minmax(0, 1fr))
  }

  #nsk-team-grid .team-grid__group:nth-child(n+3) .team-grid__list {
    grid-template-columns: repeat(6, minmax(0, 1fr))
  }
}

#nsk-team-grid .team-grid__item {
  text-align: center
}

@media (min-width: 1200px) {
  #nsk-team-grid .team-grid__group:nth-child(-n+2) .team-grid__item,
  #nsk-team-grid .team-grid__group:nth-child(n+3) .team-grid__item {
    min-width: 0
  }
}

#nsk-team-grid .team-grid__link {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  align-items: center
}

#nsk-team-grid .team-grid__photo {
  width: 124px;
  height: 124px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: 0px 4px 4px 0px #808080
}

#nsk-team-grid .team-grid__img {
  width: 100% !important;
  height: 100% !important;
  -o-object-fit: cover;
  object-fit: cover;
  display: block
}

#nsk-team-grid .team-grid__title {
  font-weight: 400 !important;
  font-size: 1.25rem !important
}

#nsk-team-grid .team-grid__role {
  font-weight: 400 !important;
  font-size: .875rem !important
}
