.section.d-4 {
  padding-top: 12rem;
}
.section.d-4 .bg {
  width: 39vw;
  height: 39vw;
  max-width: 32.8rem;
  max-height: 32.8rem;
  bottom: 3rem;
  left: -4.9rem;
  opacity: 0.05;
  border: 1.2rem solid #5A4FDB;
}
.section.d-4 .content {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  padding-top: 2.5rem;
}
.section.d-4 .card__school {
  display: flex;
  flex-direction: column;
  padding: 2.8rem 2.8rem 3.2rem;
  width: 100%;
  height: auto;
  margin-top: 1.5rem;
  background-color: #fff;
  box-shadow: 0rem 0rem 20px rgba(94, 98, 120, 0.02);
  border-radius: 2rem;
}
@media only screen and (min-width: 768px) {
  .section.d-4 .card__school {
    flex-direction: row;
    flex-wrap: wrap;
  }
}
.section.d-4 .card__school:hover {
  box-shadow: 0rem 0rem 3rem rgba(94, 98, 120, 0.1), 0rem 0rem 2rem rgba(94, 98, 120, 0.02);
}
.section.d-4 .card__school .subtitle {
  margin-right: 0.8rem;
  font-weight: 400;
  line-height: 1.2;
  color: #2C294B;
  opacity: 0.4;
}
.section.d-4 .card__school .card__description {
  margin-top: 2.4rem;
  font-size: 1.4rem;
}
.section.d-4 .card__header {
  display: flex;
  justify-content: space-between;
}
.section.d-4 .post__title {
  font-weight: 600;
}
@media only screen and (min-width: 768px) {
  .section.d-4 .post__title {
    padding-right: 8rem;
  }
}
@media only screen and (min-width: 1280px) {
  .section.d-4 .post__title {
    padding-right: 0;
  }
}
.section.d-4 .img__wrap {
  margin-top: -0.8rem;
  margin-left: -0.8rem;
  width: 21.5vw;
  height: 21.5vw;
  max-width: 13.2rem;
  max-height: 13.2rem;
}
.section.d-4 .img__wrap img {
  border-radius: 1.6rem;
}
.section.d-4 .card__body {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
}
@media only screen and (min-width: 768px) {
  .section.d-4 .card__body {
    margin-top: 0;
    margin-left: 3.2rem;
    flex: 1;
  }
}
.section.d-4 .info__wrap {
  margin-top: 1.2rem;
  display: flex;
  flex-direction: column;
}
.section.d-4 .category {
  margin-top: 0.4rem;
}
.section.d-4 .grade__wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2rem;
}
.section.d-4 .total__reviews-wrap .subtitle {
  margin-top: 0;
  width: auto;
  font-weight: 500;
  color: #2C294B;
  opacity: 0.56;
}
.section.d-4 .total__reviews-wrap .subtitle.reviews__num {
  font-weight: 600;
  opacity: 0.9;
}
@media only screen and (min-width: 600px) {
  .section.d-4 .sale__stick {
    right: auto;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
    left: -3.1rem;
  }
}
.section.d-4 .card__footer {
  margin-top: 3.2rem;
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
@media only screen and (min-width: 600px) {
  .section.d-4 .card__footer {
    margin-top: 1.6rem;
    justify-content: flex-end;
  }
}
.section.d-4 .card__footer .btn__wrap {
  margin-top: 0;
  width: auto;
  margin-left: 4.4rem;
}
.section.d-4 .btn__wrap {
  margin-top: 4rem;
}

.section.d-1 .top__wrapper {
  margin-top: 4rem;
}
.section.d-1 .title__wrap {
  margin-bottom: 3.2rem;
}
.section.d-1 .subtitle__wrap {
  transition: all 0.3s linear;
}
.section.d-1 .subtitle__wrap.content-plus .subtitle {
  max-height: 100rem;
}
.section.d-1 .subtitle__wrap.content-plus .subtitle-gradient {
  opacity: 0;
}
.section.d-1 .h1,
.section.d-1 .subtitle {
  color: #2C294B;
}
.section.d-1 .subtitle {
  max-height: 20rem;
  overflow: hidden;
  opacity: 0.8;
  line-height: 180%;
  transition: all 1.5s ease-in-out;
}
.section.d-1 .subtitle-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4.8rem;
  background: linear-gradient(180deg, rgba(245, 246, 247, 0) 0%, #F5F6F7 100%);
}
.section.d-1 .more-btn {
  margin-top: 1.6rem;
  display: inline-block;
  font-weight: 500;
  font-size: 1.6rem;
  line-height: 2.4rem;
  color: #5A4FDB;
  border-bottom: 0.1rem solid #5A4FDB;
  transition: all 0.3s linear;
  position: absolute;
}
.section.d-1 .content__wrapper {
  margin-top: 8.9rem;
}
.section.d-1 .sidebar__wrapper {
  padding-top: 4.8rem;
}
.section.d-1 .school__card {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  padding: 6.4rem 2.8rem 2.8rem;
  background-color: #fff;
  box-shadow: 0rem 0rem 20px rgba(94, 98, 120, 0.02);
  border-radius: 2rem;
}
.section.d-1 .school__title {
  margin-bottom: 0.8rem;
}
.section.d-1 .school__card {
  padding-top: 8rem;
}
.section.d-1 .school__logo {
  position: absolute;
  left: 2.8rem;
  top: -4rem;
}
.section.d-1 .school__img-wrap {
  position: static;
  width: 9.6rem;
  height: 9.6rem;
  overflow: hidden;
  border-radius: 50%;
}
.section.d-1 .card__body {
  margin-top: 2.4rem;
}
.section.d-1 .total__reviews-wrap {
  justify-content: flex-start;
}
.section.d-1 .card__categories {
  width: calc(100% + 0.8rem);
  height: auto;
  padding-top: 2rem;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}
.section.d-1 .card__categories .category {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0.4rem;
  padding: 1rem;
  border: 0.786241px solid rgba(44, 41, 75, 0.25);
  border-radius: 6.28993px;
  transition: all 0.3s linear;
}
.section.d-1 .card__categories .category span {
  font-weight: 500;
  font-size: 1.2rem;
  line-height: 1.5rem;
  color: #2C294B;
}
.section.d-1 .card__footer {
  margin-top: 2rem;
}
.section.d-1 .review-btn {
  max-width: 30rem;
  padding: 1.4rem 2.8rem;
  font-size: 1.5rem;
  width: 100%;
  border-color: #FFC700;
  background-color: #FFC700;
  color: #2C294B;
}
.section.d-1 .card__info {
  margin-top: 1.6rem;
  padding: 2.8rem;
}
.section.d-1 .card__info-wrap {
  margin-bottom: 1.2rem;
}
.section.d-1 .card__info-wrap:last-of-type {
  margin-bottom: 0;
}
.section.d-1 .card__info-title {
  display: inline-block;
  margin-right: 0.6rem;
  font-weight: 400;
  font-size: 1.4rem;
  line-height: 143%;
  color: rgba(44, 41, 75, 0.4);
}
.section.d-1 .card__info-text {
  display: inline-block;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 133%;
  color: #5A4FDB;
}
.section.d-1 .card__info-text a {
  color: #5A4FDB;
}
.section.d-1 .review__card.card .card__header {
  width: 100%;
}
.section.d-1 .review__card.card .grade__wrap {
  position: static;
}
.section .school__reviews .btn__wrap {
  margin-top: 4rem;
}

.school__content {
  margin-top: 6.4rem;
}
.school__content .content__header {
  margin-bottom: 4rem;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4rem;
}
.school__content .content__header-title {
  font-weight: 500;
  font-size: 2.4rem;
  line-height: 2.9rem;
  color: rgba(44, 41, 75, 0.9);
  letter-spacing: -0.02em;
  text-transform: capitalize;
  cursor: pointer;
  transition: all 0.3s linear;
}
.school__content .content__header-title.active {
  color: #5A4FDB;
}
.school__content .content__header-title .total__num {
  font-size: 1.6rem;
  font-weight: 600;
}
.school__content .content__body .section {
  display: none;
}
.school__content .content__body .section.active {
  display: block;
}

.inner__tab {
  margin-bottom: 2.4rem;
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  padding: 0 1.5rem;
}
.inner__tab:before {
  display: block;
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 0.1rem;
  background: rgba(44, 41, 75, 0.3);
}
.inner__tab-filter {
  display: flex;
  gap: 2.4rem;
  white-space: nowrap;
  overflow-y: hidden;
  overflow-x: auto;
  scrollbar-color: transparent;
  scrollbar-width: thin;
  overscroll-behavior: contain;
}
.inner__tab-filter::-webkit-scrollbar-track {
  background: transparent;
}
.inner__tab-filter::-webkit-scrollbar {
  height: 0;
  width: 0;
  background-color: transparent;
}
.inner__tab-filter::-webkit-scrollbar-thumb {
  background-color: transparent;
  border-radius: 1.5rem;
}
.inner__tab-item {
  padding-bottom: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  font-size: 1.2rem;
  line-height: 1.5rem;
  color: #413E5D;
  transition: all 0.3s linear;
  cursor: pointer;
}
.inner__tab-item:before {
  display: block;
  content: "";
  height: 0.2rem;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  background: #5A4FDB;
  opacity: 0;
  border-radius: 0.5rem;
  transition: all 0.3s linear;
}
.inner__tab-item.active {
  color: #5A4FDB;
}
.inner__tab-item.active:before {
  opacity: 1;
}
.inner__tab-item:last-of-type {
  margin-right: 1.5rem;
}

.section .d-4 {
  padding-top: 0;
}
.section .d-4 .card__header {
  display: flex;
}
@media only screen and (min-width: 768px) {
  .section .d-4 .card__header {
    position: absolute;
    right: 3.2rem;
    gap: 0.9rem;
  }
}
.section .d-4 .subcategory.course,
.section .d-4 .sale__stick {
  position: static;
}
@media only screen and (min-width: 768px) {
  .section .d-4 .sale__stick {
    border-radius: 0.8rem;
  }
}
.section .d-4 .card__school .info__wrap {
  margin-top: 0.8rem;
}
.section .d-4 .card__school .category {
  margin-top: 0;
}
@media only screen and (min-width: 768px) {
  .section .d-4 .card__school .card__body {
    margin: 0;
  }
}
@media only screen and (min-width: 768px) {
  .section .d-4 .card__school .post__title {
    padding-right: 17rem;
  }
}
.section .d-4 .card__school .grade__wrap {
  margin-top: 2rem;
}
.section .d-4 .card__school .subtitle {
  line-height: 1.2;
}

.review__card.card {
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  padding: 3.2rem 2.8rem 2.8rem;
  background-color: #fff;
  box-shadow: 0rem 0rem 20px rgba(94, 98, 120, 0.02);
  border-radius: 2rem;
}
@media only screen and (min-width: 1024px) {
  .review__card.card {
    margin-bottom: 1.6rem;
    padding: 3.2rem;
    display: flex;
    flex-direction: column;
  }
}
.review__card.card:last-of-type {
  margin-bottom: 0;
}
.review__card.card .card__description {
  font-size: 1.4rem;
  line-height: 180%;
}
.review__card.card .post__title {
  margin-bottom: 1.2rem;
  font-size: 2rem;
}
@media only screen and (min-width: 1024px) {
  .review__card.card .post__title {
    padding-right: 12rem;
  }
}
.review__card.card .info__wrap {
  margin-bottom: 1.2rem;
  display: flex;
  align-items: baseline;
  flex-direction: row;
}
@media only screen and (min-width: 1024px) {
  .review__card.card .info__wrap {
    margin-bottom: 0;
  }
}
.review__card.card .course__subtitle {
  margin-right: 0.5rem;
  font-size: 1.3rem;
  line-height: 1.3rem;
  color: rgba(44, 41, 75, 0.5);
  text-transform: capitalize;
}
.review__card.card .card__header,
.review__card.card .card__body {
  width: 81%;
}
.review__card.card .card__time-desk {
  display: none;
}
@media only screen and (min-width: 1024px) {
  .review__card.card .card__time-desk {
    margin-top: 1.2rem;
    display: block;
  }
}
.review__card.card .card__time-mob {
  display: block;
  margin-top: 2.4rem;
  text-align: right;
}
@media only screen and (min-width: 1024px) {
  .review__card.card .card__time-mob {
    display: none;
  }
}
.review__card.card .grade__wrap {
  text-align: right;
  justify-self: flex-end;
}
@media only screen and (min-width: 1024px) {
  .review__card.card .grade__wrap {
    position: absolute;
    right: 3.2rem;
  }
}
.review__card.card .card__link {
  font-size: 1.4rem;
}
.review__card.card .card__date {
  font-size: 1.4rem;
  line-height: 2rem;
  color: rgba(44, 41, 75, 0.4);
}
.review__card.card .card__body {
  margin-top: 2.5rem;
}
@media only screen and (min-width: 1024px) {
  .review__card.card .card__body {
    margin-top: 2rem;
    padding-left: 1.2rem;
  }
}