.warn {
  font-size: 14px;
  line-height: 23px;
  letter-spacing: -0.01em;
  padding-top: 20px;
  padding-bottom: 20px;
  background-color: #F7F7F7;
}

.warn p {
  margin-bottom: 20px;
}

.warn__container {
  padding: 20px 20px 20px 50px;
  background-color: #FFFFFF;
  border-radius: 16px;
  -webkit-box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06), 0px 2px 6px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
  box-shadow: 0px 16px 24px rgba(0, 0, 0, 0.06), 0px 2px 6px rgba(0, 0, 0, 0.04), 0px 0px 1px rgba(0, 0, 0, 0.04);
  position: relative;
}

.warn__container:before {
  content: '';
  position: absolute;
  left: 25px;
  top: 20px;
  width: 4px;
  height: calc(100% - 40px);
  background: #0060E6;
  border-radius: 2px;
}

.warn__right {
  text-align: right;
}

.reviews-block__more {
  font-size: 18px;
  line-height: 24px;
  font-weight: 600;
  padding-top: 20px;
  padding-bottom: 30px;
  word-break: break-word;
}

.warn .wp-video {
  width: 100% !important;
  max-width: 500px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
}

.warn iframe {
  width: 100% !important;
  max-width: 500px;
  border-radius: 16px;
  overflow: hidden;
}

.vblock {
  padding-top: 50px;
  padding-bottom: 50px;
  box-shadow: inset 0px -1px 0px #e5e5e5;
}

.vblock__container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.vblock__text {
  flex: 0 0 48%;
  font-size: 20px;
  line-height: 24px;
}

.vblock__video {
  flex: 0 0 48%;
}

.vblock__video video {
  width: 100%;
}

@media screen and (max-width: 1023px) {
  .vblock__container {
    display: block;
  }

  .vblock__video {
    margin-top: 25px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }
}


/* Students */


.students-block {
  padding-top: 30px;
}

.students-block h3,
.students-block .h3 {
  margin-bottom: 50px;
}

students-block__list {
  margin-bottom: 50px;
}

.students-block__card {
  display: flex;
  margin-bottom: 30px;
  color: #4D4D4D;
}

.students-block__card:last-child {
  margin-bottom: 0;
}

a.students-block__card:hover .students-block__foto img {
  transform: scale(1.1);
}

a.students-block__card:hover .students-block__text h4,
a.students-block__card:hover .students-block__text .h4 {
  color: #3388FF;
}

.students-block__foto {
  width: 300px;
  height: 300px;
  flex: 0 0 300px;
  margin-right: 50px;
  border-radius: 16px;
  overflow: hidden;
}

.students-block__foto img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  transform-origin: 50% 50%;
  transition: transform .3s;
}

.students-block__text {
  flex: 0 0 calc(100% - 350px);
}

.students-block__text h4,
.students-block__text .h4 {
  margin-bottom: 20px;
  transition: color .3s;
}

.students-block__post {
  font-size: 20px;
  line-height: 24px;
  font-weight: 600;
  margin-bottom: 20px;
}

.students-block__short-text {
  font-size: 18px;
  line-height: 22px;
}

.text-block .students-block__card {
  flex-wrap: wrap;
}

.text-block .students-block {
  padding-top: 0;
}

.students-block__main-text {
  flex: 0 0 100%;
  margin-top: 30px;
}

@media screen and (max-width: 768px) {

  .students-block h3,
  .students-block .h3 {
    margin-bottom: 30px;
  }

  .students-block__card {
    margin-bottom: 20px;
  }

  .students-block__foto {
    width: 200px;
    height: 200px;
    flex: 0 0 200px;
    margin-right: 25px;
  }

  .students-block__text {
    flex: 0 0 calc(100% - 225px);
  }

  .students-block__text h4,
  .students-block__text .h4 {
    margin-bottom: 10px;
  }

  .students-block__post {
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 10px;
  }

  .students-block__short-text {
    font-size: 14px;
    line-height: 18px;
  }
}

@media screen and (max-width: 576px) {
  .students-block__card {
    display: block;
  }

  .students-block__foto {
    width: 100%;
    height: 350px;
    margin-bottom: 15px;
  }

  .students-block__main-text {
    margin-top: 15px;
  }
}

@media screen and (max-width: 400px) {

  .students-block__foto {
    width: 100%;
    height: 250px;
  }

}


/* New header */

.header .logo {
  flex: 0 0 80px;
  margin-right: 20px;
}

.menu-item a {
  margin-right: 20px;
}

.header__text {
  margin-left: 30px;
}

.menu .sub-menu a {
  margin-right: 0;
}

.menu-item-has-children a {
  padding-right: 22px;
}

.menu-item-has-children a:after {
  right: 5px;
}

@media screen and (max-width: 1200px) {

  .menu-block {
    font-size: 15px;
    line-height: 20px;
  }

}

@media screen and (max-width: 1100px) {

  .header .logo {
    flex: 0 0 70px;
    margin-right: 16px;
  }

  .header__text {
    margin-left: 0;
  }

  .menu-block {
    font-size: 14px;
    line-height: 18px;
  }

  .info__icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    margin-right: 6px;
  }

  .menu-item a {
    margin-right: 15px;
  }

}

@media screen and (max-width: 1023px) {

  .menu-item a,
  .menu-item-has-children a {
    margin-right: 0;
    padding-right: 0;
  }

  .header .logo {
    flex: 0 0 80px;
    margin-right: 20px;
  }

}

@media screen and (max-width: 576px) {

  .header .logo {
    flex: 0 0 48px;
  }

}


/* Other */

@media screen and (max-width: 1023px) {
  .header__right .info__list {
    flex-wrap: wrap;
    margin-bottom: -4px;
  }

  .header__right .info__list li{
    padding-bottom: 4px;
  }
}