/* Banner promotion start */
.banner-main-wrap {
  top: 45%;
  transform: translateY(-50%);
  left: 7%;
}

.banner-main-wrap::before {
  content: "";
  position: absolute;
  top: 0;
  width: 64px;
  height: 64px;
  background-image: url("/public/img/banner/banner-pseudo.png");
  background-size: cover;
  background-repeat: no-repeat;
}

.banner-main-header h2 {
  font-size: 2rem;
  font-weight: 900;
}

/* Promotion end */

/* Introduction start */
.promotion-wrap {
  padding: 20px 0 48px;
}

.promotion-list {
  row-gap: 50px;
}

.promotion-item {
  display: block;
  padding: 14px 14px 0;
}

.promotion-group {
  display: flex;
  flex-direction: column;
  /* max-width: 300px; */
  /* max-height: 300px; */
}

.promotion-item-group:hover {
  box-shadow: 0px 0px 10px 4px rgba(197, 196, 196, 0.5);
  color: var(--red-main);
}

.promotion-item .promotion-item-image img {
  width: 100%;
  /* min-height: 278px; */
  object-fit: cover;
  aspect-ratio: 3/2;
}

/* Introduction end */

/* Promotions detail start */
.promotion-detail-group {
  margin-top: -20px;
  padding: 78px 70px 0;
  border-radius: 15px;
  background-color: #fff;
}

.promotion-detail .register-course button {
  margin-top: 20px;
  padding: 16px 30px;
}

.promotion-detail .detail-content {
  margin-top: 28px;
}

.upComingDate {
  padding: 4px 8px;
  background-color: #FFDFDF;
  color: #CC3A3D;
  border-radius: 4px;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.activeDate {
  padding: 4px 8px;
  background-color: #DFEEFF;
  color: #1877F2;
  border-radius: 4px;
  font-size: 12px;
  font-style: normal;
  font-weight: 700;
}

.detailUpComingDate {
  display: flex;
  padding: 15px 5px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 8px;
  background: #FFDFDF;
}

.detailUpComingDate span {
  color: #CC3A3D;
  font-size: 14px;
  font-weight: 600;
  display: inline;
}

.promoShadow {
  border-radius: 20px;
  border: 1px solid var(--White-Smoke, #F3F3F3);
  background: #FFF;
  box-shadow: -53px 52px 21px 0px rgba(181, 181, 181, 0.00), -34px 33px 19px 0px rgba(181, 181, 181, 0.01), -19px 19px 16px 0px rgba(181, 181, 181, 0.05), -8px 8px 12px 0px rgba(181, 181, 181, 0.09), -2px 2px 7px 0px rgba(181, 181, 181, 0.10);
}

.titlePromotion {
  font-size: 12px;
  font-weight: 400;
  color: var(--Paragraph-Color, #6E6E6E);
}

/* Promotions detail end */

/* Course combo */

.combo-banner {
  /* padding: 24px; */
  margin-bottom: 48px;
  border-radius: 15px;
  background: #FFF;
  box-shadow: 0px 4px 4px 0px rgba(61, 61, 61, 0.25);
}

.combo-group:not(:last-child) {
  border-bottom: 2px solid var(--White-Smoke, #F3F3F3);
  padding-bottom: 1rem;
}

.combo-sale {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 8px;
  gap: 8px;
  border-radius: 15px 15px 0px 0px;
  background: #C01F2E;
  /* max-width: 300px; */

}

.combo-image {
  max-width: 400px;
  margin: 0 auto;
}

.combo-image img {
  /* max-width: 300px; */
  width: 100%;
  height: auto;
  /* min-width: 250px; */
  object-fit: cover
}

span.text-combo-sale {
  font-weight: 600;
  color: #FFF;
}

.combo-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1B1717;
  text-transform: uppercase;
}

.combo-subject-item {
  /* padding: 10px 20px; */
  border-radius: 15px;
  background: var(--White-Smoke, #F3F3F3);
}

.combo-subject-item:hover {
  background: #eeecec;
  cursor: pointer;
}

.combo-subject-name {
  font-size: 0.8125rem;
  font-weight: 400;
  text-transform: capitalize;
  color: var(--Rating-Color, #3F3F3F);
}

.btn-register-combo {
  width: auto;
  color: #ffffff !important;
  background-color: #CC3A3D;
  text-decoration: none !important;
  /* border: 2px solid #CC3A3D; */
  /* padding: 15px 24px; */
  border-radius: 16px;
  display: inline-block;
  text-align: center;
  white-space: nowrap;
}

.btn-register-combo:hover {
  background-color: #8c292b;
}

.combo-description-container {
  position: relative;
  /* max-width: 600px; */
}

.combo-description {
  font-size: 0.875rem;
  /* max-height: 150px; */
  overflow: hidden;
  text-overflow: ellipsis;
  transition: max-height 0.3s ease;
}

.combo-description.expanded {
  max-height: none;
}

.bg-article {
  background: linear-gradient(to bottom, rgba(255 255 255 / 0), rgba(255 255 255 / 62.5), rgba(255 255 255 / 1));
  bottom: 0;
  height: 105px;
  left: 0;
  position: absolute;
  width: 100%;
  margin-bottom: 0;
}

.toggle-btn span {
  position: relative;
}

.toggle-btn span::before {
  content: '';
  position: absolute;
  border-right: 1px solid #2f80ed;
  border-bottom: 1px solid #2f80ed;
  width: 8px;
  height: 8px;
  top: 32%;
  right: -15px;
  transform: translateY(-50%);
}

.toggle-btn span::before {
  transform: rotate(45deg) translateY(-50%);
}

.toggle-btn span::after {
  transform: rotate(225deg) translateY(-50%);
}

.combo-description-container .toggle-btn.active span::before {
  transform: rotate(-135deg) translateY(-50%);
}


.toggle-btn {
  border-radius: 5px;
  color: #2f80ed;
  display: block;
  margin: 0 auto;
  max-width: 340px;
  padding: 10px 5px;
  text-align: center;
  text-decoration: none;
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1;
  /* display: none; */
  border: 0;
}

.toggle-btn.static {
  position: static !important;
}


/* .toggle-btn:hover {
  background-color: #0056b3;
} */

@media (max-width: 991px) {
  .combo-image {
    max-width: 300px;
  }
}

@media (max-width: 992px) and (min-width: 1399px) {}

@media (min-width: 1399px) {
  .combo-description {
    max-height: 300px;
  }
}

/* Course combo end */
