.course-inner-header {
  min-height: 241px;
  padding: 50px 15px;
  background-color: var(--#{$database-prefix}top-header-bg);
  .course-description {
    h1 {
      font-size: 28px;
      font-weight: 700;
      color: var(--#{$variable-prefix}primary-btn-text-color);
    }
    p {
      flex: 1;
      font-size: 12px;
      letter-spacing: 0;
      text-overflow: ellipsis;
      color: var(--#{$variable-prefix}primary-btn-text-color);
      opacity: 1;
      overflow: hidden;
    }
    .rating-wrapper {
      > p {
        flex: none;
        color: rgb(255, 197, 77);
      }
    }
    .icon-teacher-expiry {
      a {
        display: inline-block;
        vertical-align: middle;
        max-width: 220px;
        color: #62ceb5;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
      }
    }
  }
  .course-image-wrapper {
    position: relative;
    img {
      width: 100%;
      height: 186px;
      // object-fit: cover;
      // border: 2px solid #ccc;
      border-radius: 6px;
      opacity: 1;
    }
    .btn-play {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 60px;
      height: 60px;
      aspect-ratio: 1;
      cursor: pointer;
      transform: translate(-50%, -50%);
      transition: all ease 0.3s;
      &:hover {
        transform: translate(-50%, -50%) scale(1.06);
      }
    }
  }
}
.btn-play {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 60px;
  height: 60px;
  aspect-ratio: 1;
  cursor: pointer;
  transform: translate(-50%, -50%);
  transition: all ease 0.3s;
  &:hover {
    transform: translate(-50%, -50%) scale(1.06);
  }
}

.course-inner-bundle {
  margin: 0 0 50px;
  background-color: var(--#{$variable-prefix}background-white);
}

.bundle-courses-description {
  h1 {
    font-size: .875rem;
    font-weight: 600;
  }
  p {
    font-size: .625rem;
    color: var(--#{$variable-prefix}light-text-color);
  }
  &.#{$class-prefix}base-desc-bundle-courses{
    font-size: .75rem;
    .#{$class-prefix}course-overview-title{
      font-size: .875rem;
    }
    p{
      font-size: .75rem;
    }
  }
  figure {
    width: 100%;
    height: 300px;
    img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }
  }
}

.mk-training-description{
  .bundle-courses-description {
    p {
      font-size: .75rem;
      line-height: 1.25rem;
      color: var(--#{$variable-prefix}light-text-color);
    }
  }
}


// Modal Video

.modal__bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  opacity: 1;
  animation-timing-function: ease-out;
  animation-duration: 0.3s;
  animation-name: modal-video;
  -webkit-transition: opacity 0.3s ease-out;
  -moz-transition: opacity 0.3s ease-out;
  -ms-transition: opacity 0.3s ease-out;
  -o-transition: opacity 0.3s ease-out;
  transition: opacity 0.3s ease-out;
  z-index: 100;
}

.modal__align {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
}

.modal__content {
  width: 800px;
  height: 500px;
  box-shadow: 0px 100px 80px rgba(184, 184, 184, 0.07),
    0px 25.8162px 19px 4px rgba(178, 178, 178, 0.0456112),
    0px 7.779px 7.30492px rgba(0, 0, 0, 0.035),
    0px 1.48838px 2.0843px rgba(0, 0, 0, 0.0243888);
  border-radius: 20px;
  background: transparent;
  color: #000;
  margin: 0rem 4rem;
}

.modal__close {
  position: relative;
  bottom: 43px;
  left: calc(100% - 70px);
  width: 70px;
  padding: 4px;
  font-size: 11px;
  font-weight: 600;
  text-align: center;
  color: #fff;
  background: rgba(77, 77, 77, 0.7);
  cursor: pointer;
  border-radius: 10px;
  border-radius: 18px;
}

.modal__video-align {
  display: flex;
  position: relative;
  bottom: 37px;
}

.modal__video-style {
  border-radius: 0;
  z-index: 100;
}

.modal__spinner {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.modal__spinner {
  animation: spin 2s linear infinite;
  font-size: 40px;
  color: #1b6aae;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@media screen and (max-width: 800px) {
  .modal__content {
    margin: 0rem 1rem;
    width: 100%;
  }
  .modal__video-style {
    width: 100%;
  }
}

@media screen and (max-width: 499px) {
  .modal__content {
    background: transparent;
    height: auto;
  }
  .modal__video-align {
    bottom: 0px;
  }
  .modal__video-style {
    height: auto;
  }
}
