.school {
  background: var(--gray-background);
  padding: 2.5rem 0 6rem;
}
.school__img {
  position: relative;
  margin-bottom: 3.75rem;
}
.school__img > img {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 0.875rem;
}
.school__img::before {
  content: "";
  display: block;
  width: 100%;
  padding-top: 38.4%;
}
.school__top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: 1.4375rem;
}
.school__rating {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  text-align: right;
  font-size: 1.25rem;
  margin-top: 0.4375rem;
}
.school__rating .item-rating {
  max-width: 6.625rem;
  height: 1.125rem;
  margin-bottom: 0.3125rem;
}
.school__links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--gray-stroke);
}
.school__links > *:not(:last-child) {
  margin-right: 1.875rem;
}
.school__links a {
  color: var(--text-gray);
  -webkit-transition: color var(--hover-transition);
  transition: color var(--hover-transition);
  position: relative;
}
.school__links a::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -0.71875rem;
  height: 2px;
  border-radius: 0.625rem;
  -webkit-transform: translateY(100%);
  -ms-transform: translateY(100%);
  transform: translateY(100%);
  opacity: 0;
  background-color: var(--orange-primary);
  -webkit-transition: opacity var(--hover-transition);
  transition: opacity var(--hover-transition);
}
.school__links a.is-active {
  pointer-events: none;
}
.school__links a.is-active::after {
  opacity: 1;
}
@media (any-hover: hover) {
  .school__links a:hover {
    color: var(--orange-primary);
  }
}
.school-info {
  margin-bottom: 3.75rem;
}
.school-info .section-text {
  color: var(--text-black);
}
.school-courses {
  margin-bottom: 3.75rem;
}
.school-courses__title {
  margin-bottom: 1.75rem;
}
.school-courses__btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  font-weight: 500;
  color: var(--green-text-button);
  -webkit-transition: color var(--hover-transition);
  transition: color var(--hover-transition);
}
@media (any-hover: hover) {
  .school-courses__btn:hover {
    color: var(--orange-primary);
  }
}
.school-courses__inner {
  margin-top: 1.5625rem;
}
.school-courses__cards {
  margin-bottom: 1.25rem;
}
.school-courses__cards > *:not(:last-child) {
  margin-bottom: 1.25rem;
}
.school-courses > p {
  color: var(--text-black);
}
.school-map {
  margin-bottom: 4.625rem;
}
.school-map__title {
  margin-bottom: 1.75rem;
}
.school-map__subtitle {
  margin-bottom: 0.5rem;
}
.school-map__address {
  display: block;
  margin-bottom: 1.25rem;
  font-size: 0.875rem;
  line-height: 130%;
  color: var(--text-black);
}
.school-map__img {
  border: 0.25rem solid var(--white);
  position: relative;
  border-radius: 1.5rem;
  overflow: hidden;
}
.school-map__img > * {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.school-map__img::before {
  content: "";
  display: block;
  width: 100%;
  padding-top: 50.4%;
}
.school-card {
  -webkit-box-shadow: 0 3px 19px 0 rgba(105, 122, 143, 0.1);
  box-shadow: 0 3px 19px 0 rgba(105, 122, 143, 0.1);
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid transparent;
  -webkit-transition: border-color var(--hover-transition);
  transition: border-color var(--hover-transition);
}
@media (any-hover: hover) {
  .school-card:hover {
    border-color: var(--green-primary);
  }
}
.school-card.is-open .school-card__head-btn::after {
  -webkit-transform: translateY(-55%) rotate(180deg);
  -ms-transform: translateY(-55%) rotate(180deg);
  transform: translateY(-55%) rotate(180deg);
}
.school-card__head {
  margin-bottom: 0.625rem;
  padding: 1.5625rem 1.5625rem 0.9375rem;
}
.school-card__head-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.school-card__head-btn {
  color: var(--green-text-button);
  font-weight: 500;
  position: relative;
  padding-right: 1.3125rem;
}
.school-card__head-btn::after {
  content: "";
  display: block;
  width: 1rem;
  height: 1rem;
  position: absolute;
  right: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  -webkit-transition: -webkit-transform var(--hover-transition);
  transition: -webkit-transform var(--hover-transition);
  transition: transform var(--hover-transition);
  transition: transform var(--hover-transition), -webkit-transform var(--hover-transition);
  background-image: url('data:image/svg+xml,%3Csvg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M12.5713 5L7.99986 9.57143L3.42843 5" stroke="%2359AF2A" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /%3E%3C/svg%3E');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.school-card__list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.school-card__list li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.school-card__list li::before {
  content: "";
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  margin-right: 0.3125rem;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  background-image: url('data:image/svg+xml,%3Csvg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M12 24L12.4665 16.2199C12.5877 14.1993 14.1993 12.5877 16.2199 12.4665L24 12L16.2199 11.5335C14.1993 11.4123 12.5877 9.80073 12.4665 7.78008L12 0L11.5335 7.78009C11.4123 9.80073 9.80073 11.4123 7.78008 11.5335L0 12L7.78009 12.4665C9.80073 12.5877 11.4123 14.1993 11.5335 16.2199L12 24Z" fill="%23FDB000" /%3E%3C/svg%3E');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}
.school-card__list li:not(:last-child) {
  margin-right: 1.25rem;
}
.school-card__body {
  display: none;
  padding: 0.9375rem 0 3.75rem;
  margin: 0 1.5625rem;
  border-top: 1px solid var(--gray-stroke);
}
.school-card__body .section-text {
  max-width: 29.875rem;
  width: 100%;
}
.school-card__bottom {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  background: var(--gray-rectangle);
  padding: 1.25rem 1.5625rem;
}
.school-card__price {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.school-card__price-old {
  font-size: max(1.25rem, 12px) !important;
  color: var(--text-gray) !important;
  text-decoration: line-through;
}
.school-card__price span {
  line-height: 100%;
  display: block;
}
.school-card__price span:not(:last-child) {
  margin-bottom: 3px;
  font-weight: 600;
  font-size: 1.5rem;
  color: var(--text-black);
  margin-right: 0.3125rem;
}
.school-reviews__rating {
  margin-bottom: 2rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.school-reviews__rating .rating-average {
  margin-right: 4rem;
  padding-right: 4rem;
  border-right: 1px solid var(--gray-stroke);
}
.school-reviews__rating .rating-average__title {
  font-weight: 500;
  font-size: max(1.125rem, 14px);
  line-height: 100%;
  color: var(--text-gray);
  margin-bottom: 0.4375rem;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
}
.school-reviews__rating .rating-average__value {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.school-reviews__rating .rating-average__value > span {
  font-size: max(0.875rem), 10px;
  line-height: 130%;
  color: var(--text-black);
  white-space: nowrap;
}
.school-reviews__rating .rating-average .item-rating {
  margin-left: 0.75rem;
}
.school-reviews__rating .rating-categories {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  margin: 0 -12px -1.5rem;
  max-width: 50rem;
}
.school-reviews__rating .rating-categories > * {
  width: calc(50% - 24px);
  margin: 0 12px 1.5rem;
}
.school-reviews__rating .rating-categories__category {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.school-reviews__rating .rating-categories__category .user-rating {
  white-space: nowrap;
  margin-left: 4px;
}
.school-reviews__rating .rating-categories__category .item-rating {
  width: -webkit-max-content;
  width: -moz-max-content;
  width: max-content;
  max-width: 100%;
  margin-left: 0.75rem;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}
.school-reviews__btn {
  display: block;
  margin: 0 auto;
  font-weight: 500;
  color: var(--green-text-button);
  -webkit-transition: color var(--hover-transition);
  transition: color var(--hover-transition);
}
@media (any-hover: hover) {
  .school-reviews__btn:hover {
    color: var(--orange-primary);
  }
}
.school-reviews__inner {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
}
.school-reviews__items {
  margin-bottom: 2rem;
}
.school-reviews__items > *:not(:last-child) {
  margin-bottom: 2rem;
}
.school-reviews__top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin-bottom: 2rem;
}
.school-reviews__top .btn {
  line-height: 140%;
  max-width: 11.9375rem;
  width: 100%;
}
.school-reviews .text-hide {
  display: none;
  -webkit-transition: opacity 0.3s ease-in-out 0.2s;
  transition: opacity 0.3s ease-in-out 0.2s;
}
.school-reviews .reviews-item {
  background: var(--white);
  border-radius: 1rem;
  padding: 1.5rem;
}
.school-reviews .reviews-item__top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}
.school-reviews .reviews-item__body {
  margin: 1rem 0 2.375rem;
}
.school-reviews .reviews-item__student {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.school-reviews .reviews-item__student-avatar {
  width: 3.625rem;
  height: 3.625rem;
  -ms-flex-negative: 0;
  flex-shrink: 0;
  margin-right: 0.9375rem;
}
.school-reviews .reviews-item__student-avatar > img {
  border-radius: 50%;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}
.school-reviews .reviews-item__student-info > span {
  display: block;
  font-size: max(0.875rem, 12px);
  line-height: 130%;
}
.school-reviews .reviews-item__student-info > span:first-child {
  font-size: 1.25rem;
  color: var(--text-black);
  margin-bottom: 0.25rem;
}
.school-reviews .reviews-item__date {
  font-size: max(0.875rem, 12px);
  line-height: 130%;
  color: var(--text-gray-middle);
}
.school-reviews .reviews-item__images {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  margin: 0 -8px -1.25rem;
}
.school-reviews .reviews-item__images > * {
  margin: 0 8px 1.25rem;
}
.school-reviews .reviews-item__img {
  width: 5rem;
  height: 5rem;
}
.school-reviews .reviews-item__img > img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 0.625rem;
}
.school-reviews .reviews-item__body-text {
  -webkit-transition: height 0.3s ease-in-out;
  transition: height 0.3s ease-in-out;
}
.school-reviews .reviews-item__body-btn {
  display: none;
  font-weight: 500;
  color: var(--green-text-button);
  margin-top: 0.5rem;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}
.school-reviews .reviews-item__body-btn::after {
  content: "";
  display: block;
  background-image: url('data:image/svg+xml,%3Csvg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M12.5713 5L7.99986 9.57143L3.42843 5" stroke="%2359AF2A" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /%3E%3C/svg%3E');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  width: 1rem;
  height: 1rem;
  margin-left: 0.3125rem;
  -webkit-transition: -webkit-transform var(--hover-transition);
  transition: -webkit-transform var(--hover-transition);
  transition: transform var(--hover-transition);
  transition: transform var(--hover-transition), -webkit-transform var(--hover-transition);
}
.school-reviews .reviews-item__body-btn.is-show::after {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}
.school-reviews .reviews-item__body.trimmed .reviews-item__body-btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
@media (max-width: 768px) {
  .school {
    padding: 16px 0 80px;
  }
  .school__img {
    margin-bottom: 24px;
    max-height: 250px;
    overflow: hidden;
  }
  .school__img::before {
    padding-top: 56.9%;
  }
  .school-info {
    margin-bottom: 80px;
  }
  .school-info__title {
    margin-bottom: 12px;
    font-weight: 600;
    font-size: 16px;
    line-height: 135%;
    color: var(--text-black);
  }
  .school-courses {
    margin-bottom: 80px;
  }
  .school-courses__inner {
    margin-top: 14px;
  }
  .school-courses__title {
    margin-bottom: 16px;
    font-size: 30px;
  }
  .school__cards {
    margin-bottom: 16px;
  }
  .school__cards > :not(:last-child) {
    margin-bottom: 16px;
  }
  .school-card__head {
    margin-bottom: 0;
    padding: 18px 18px 14px;
  }
  .school-card__head-row {
    margin-bottom: 14px;
  }
  .school-card__head-btn {
    padding-right: 18px;
    font-size: 14px;
  }
  .school-card__head-btn::after {
    width: 14px;
    height: 14px;
  }
  .school-card__list {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -6px -8px;
  }
  .school-card__list > * {
    width: calc(50% - 12px);
    margin: 0 6px 8px !important;
  }
  .school-card__list li {
    font-size: 14px;
  }
  .school-card__list li::before {
    width: 18px;
    height: 18px;
  }
  .school-card__bottom {
    padding: 16px 18px;
  }
  .school-card__price {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .school-card__price span {
    line-height: 145%;
  }
  .school-card__price span:not(:last-child) {
    margin-bottom: 0;
    font-size: 20px;
    margin-right: 0;
    line-height: 135%;
  }
  .school-card__title {
    font-size: 16px;
  }
  .school-card__body {
    padding: 14px 0;
    margin: 0 18px;
  }
  .school-map {
    margin-bottom: 80px;
  }
  .school-map__subtitle {
    font-weight: 600;
    font-size: 16px;
    line-height: 135%;
    color: var(--text-black);
    margin-bottom: 8px;
  }
  .school-map__title {
    margin-bottom: 16px;
    font-size: 30px;
  }
  .school-map__address {
    margin-bottom: 16px;
    font-size: 16px;
    line-height: 145%;
  }
  .school-map__img {
    border: 3px solid var(--white);
    border-radius: 20px;
  }
  .school-map__img::before {
    padding-top: 78.1%;
  }
  .school-reviews__top {
    margin-bottom: 16px;
  }
  .school-reviews__top .btn {
    max-width: unset;
    width: auto;
  }
  .school-reviews__rating {
    margin-bottom: 24px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .school-reviews__rating .rating-average {
    margin-right: 0;
    padding-right: 0;
    border-right: unset;
    margin-bottom: 16px;
  }
  .school-reviews__rating .rating-average__title {
    font-weight: 400;
    font-size: 14px;
    margin-bottom: 4px;
  }
  .school-reviews__rating .rating-average__value {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }
  .school-reviews__rating .rating-average__value > span {
    line-height: 145%;
  }
  .school-reviews__rating .rating-categories {
    margin: 0;
    max-width: unset;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }
  .school-reviews__rating .rating-categories > * {
    margin: 0;
  }
  .school-reviews__rating .rating-categories__category {
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-size: 14px;
    line-height: 130%;
  }
  .school-reviews__rating .rating-categories__category .user-rating {
    margin-left: 0;
  }
  .school-reviews__rating .rating-categories__category > span:first-child {
    min-width: 100px;
  }
  .school-reviews__rating .rating-categories__category:not(:last-child) {
    margin-bottom: 12px;
  }
  .school-reviews__rating .item-rating {
    width: -webkit-max-content;
    width: -moz-max-content;
    width: max-content;
    max-width: 100%;
  }
  .school-reviews__items {
    margin-bottom: 20px;
  }
  .school-reviews__items > *:not(:last-child) {
    margin-bottom: 16px;
  }
  .school-reviews .reviews-item {
    border-radius: 20px;
    padding: 18px;
    -webkit-box-shadow: 0 3px 19px 0 rgba(105, 122, 143, 0.1);
    box-shadow: 0 3px 19px 0 rgba(105, 122, 143, 0.1);
  }
  .school-reviews .reviews-item__student-info > span {
    font-size: 12px;
    line-height: 140%;
  }
  .school-reviews .reviews-item__student-info > span:first-child {
    font-size: 14px;
    margin-bottom: 2px;
  }
  .school-reviews .reviews-item__student-avatar {
    width: 48px;
    height: 48px;
    margin-right: 10px;
  }
  .school-reviews .reviews-item__date {
    font-size: 12px;
    line-height: 140%;
  }
  .school-reviews .reviews-item__body {
    margin: 8px 0 0;
  }
}
/*# sourceMappingURL=school.css.map */
/*# sourceMappingURL=school.css.map */