.teams {
  background-color: #313237;
  min-height: 100vh
}

.teams .content {
  padding: 150px 1rem 100px
}

.teams .columns {
  margin: 0 auto;
  max-width: 1000px
}

.teams__title {
  font-size: 50px !important;
  line-height: 1;
  margin-bottom: 0 !important
}

.teams__team {
  font-size: 16px;
  padding-bottom: 1rem;
  padding-top: 1rem
}

@media screen and (max-width: 1023px) {
  .teams__team {
    flex: 0 0 50%;
    padding-left: 12px
  }

  .teams__team:not(:first-child,:nth-child(3),:nth-child(5)) {
    border-right: 1px solid #fff
  }

  .teams__team:nth-child(2), .teams__team:nth-child(3) {
    border-bottom: 1px solid #fff;
    margin-top: 12px
  }
}

@media screen and (max-width: 768px) {
  .teams__team {
    font-size: 14px
  }
}

@media screen and (min-width: 1024px) {
  .teams__team {
    border-top: 1px solid #fff;
    font-size: 18px;
    padding-left: 18px
  }
}

@media screen and (min-width: 1216px) {
  .teams__team {
    padding-left: 35px
  }
}

@media screen and (min-width: 1408px) {
  .teams__team {
    padding-left: 70px
  }
}

.teams__team a {
  align-items: center;
  color: #fff;
  display: flex;
  transition: all .3s ease-in-out
}

.teams__team a:hover {
  color: hsla(0, 0%, 100%, .6)
}

.teams__team a p {
  flex: 1;
  line-height: 1;
  text-align: left;
  word-break: break-word
}

.teams__team figure {
  box-sizing: border-box;
  flex: 0 0 48px;
  height: 36px;
  margin: 0 .75rem 0 0 !important;
  width: 48px
}

.teams__team figure img {
  height: 100%;
  object-fit: contain;
  object-position: bottom center;
  width: 100%
}

.teams__groups {
  display: flex;
  flex-wrap: wrap
}

@media screen and (max-width: 1023px) {
  .teams__group {
    display: flex;
    flex: 0 0 100%;
    flex-wrap: wrap;
    margin-top: 25px
  }
}

@media screen and (min-width: 1024px) {
  .teams__group {
    flex: 0 0 25%;
    margin-top: 92px
  }

  .teams__group:not(:nth-child(4),:nth-child(8)) {
    border-right: 1px solid #fff
  }
}

.teams__group__title {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  padding-left: 12px
}

@media screen and (max-width: 1023px) {
  .teams__group__title {
    border-bottom: 2px solid #fff;
    flex: 0 0 100%;
    padding-left: 0
  }
}

@media screen and (min-width: 1024px) {
  .teams__group__title {
    border-bottom: 1px solid #fff;
    font-size: 40px;
    padding-bottom: 33px;
    padding-left: 0;
    text-align: center
  }
}
