.lecturers {
  display: flex;
  flex-wrap: wrap;
  margin-left: -16px;
  margin-right: -16px;
  margin-bottom: -40px;
}

.lecturer {
  display: block;
  width: 25%;
  padding: 0 16px;
  cursor: pointer;
  text-align: left;
  margin-bottom: 40px;
}

.lecturer-profile {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-bottom: 24px;
}

.lecturer-profile::before {
  content: '';
  display: block;
  padding-top: 141%;
}

.lecturer-profile img {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: .3s;
}

.lecturer:hover .lecturer-profile img {
  transform: scale(1.1);
}

.lecturer-name {
  margin-bottom: 5px;
}

.lecturer-group {
  text-align: left;
  margin-bottom: 80px;
}

.lecturer-group:last-child {
  margin-bottom: 0;
}

.lecturer-group-partner-logo {
  margin-bottom: 30px;
  max-height: 90px;
}

@media (max-width: 767px) {
  .lecturers {
    margin-bottom: -30px;
  }

  .lecturer {
    width: 50%;
  }

  .lecturer-profile {
    margin-bottom: 16px;
  }

  .lecturer {
    margin-bottom: 30px;
  }
}