.course-tabs-carousel{
  .tab-content{
    max-height: inherit;
  }
}

.myui-slider.slick-slider{
  .slick-arrow{
    visibility: hidden;
    opacity: 0;
  }
}

.bg-dynamic-white{
  background: var(--#{$variable-prefix}background-white);
}

.carousel-action {
  position: absolute;
  top: 15px;
  right: 15px;
  display: flex;
  align-items: center;
  gap: .2rem;
  .btn-move {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    color: var(--#{$variable-prefix}primary-color);
    background: var(--#{$variable-prefix}light-gray-background);
    border-radius: 10rem;
  }
}

.carousel-block{
  position: relative;
  // width: 262px;
  width: 100%;
  overflow: hidden;
  .img-carousel{
    overflow: hidden;
    border-radius: 6px 6px 0 0;
    img{
      width: 100%;
      height: 127px;
      object-fit: cover;
    }
  }
  .desc-carousel{
    padding: 1rem .85rem;
    border: 2px solid var(--#{$variable-prefix}light-gray-background);
    border-top: 0;
    border-radius: 0 0 6px 6px;
    h1{
      display: -webkit-box;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
      font-size: .75rem;
      font-weight: 700;
      color: var(--#{$variable-prefix}eerie-black);
    }
    p{
      font-size: .625rem;
      color: var(--#{$variable-prefix}light-text-color);
    }
    &> p{
      display: -webkit-box;
      min-height: 1.875rem;
      -webkit-line-clamp: 2;
      -webkit-box-orient: vertical;
      overflow: hidden;
    }
    p.short-desc{
      display: -webkit-box;
      min-height: 1.875rem;
      text-overflow: ellipsis;
      overflow: hidden;
      -webkit-box-orient: vertical;
      -webkit-line-clamp: 2;
    }
    .sub-label {
      height: 15.672px;
    }
  }
}

.course-bundle-tag {
  position: absolute;
  top: 10px;
  right: -5px;
  background: #fdc46a;
  color: #13171f;
  border-radius: 3px 3px 0 3px;
  padding: 5px 18px 5px 10px;
  font-size: .675rem;
  font-weight: 700;
  &::after{
    position: absolute;
    bottom: -5px;
    right: 5px;
    z-index: 0;
    width: 0;
    height: 0;
    background: transparent;
    content: "";
    border-top: 0px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 5px solid #d69a3b;
  }
}

.slick-track{
  margin-left: 0;
}

// Bundle Course Carousel

.carousel-course-bundle {
  .course-block{
    width: 210px;
    margin-right: 16px;
    cursor: pointer;
    border-radius: 6px;
    &.active {
      box-shadow: 0 0 0 1px #454b93, 0 0 0 6px #eaebf5;
    }
  }
  .slick-track{
    padding: 6px 0;
  }
  .slick-slide > div {
    padding: 8px 0;
    margin: 8px 6px;
  }
}

// Bundle course horizonal scroll

.#{$class-prefix}bundle-courses {
  &.#{$class-prefix}scroll-horizontal{
    display: flex;
    gap: 14px;
    width: 100%;
    max-width: 100%;
    padding: .5rem .125rem 1rem 0;
    overflow: auto;
    cursor: pointer;
    .#{$class-prefix}bundle-course-wrapper{
      .desc-carousel{
        h1{
          min-height: 1.75rem;
        }
      }
      &:first-child{
        &.active {
          padding-left: .4rem;
        }
      }
    }
    &::-webkit-scrollbar {
      width: 1.5em;
      height: .875rem;
      border: 1px solid #DEE1E5;
      border-radius: 55px;
      background-color: #F7F9FC;
      cursor: pointer;
    }
    &::-webkit-scrollbar-thumb {
      height: .5rem;
      border: .3em solid rgba(0, 0, 0, 0);
      background-clip: padding-box;
      -webkit-border-radius: 1em;
      background-color: #C2C7D1;
      -webkit-box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.025);
    }
    &::-webkit-scrollbar-button {
      width: 0;
      height: 0;
      display: none;
    }
    &::-webkit-scrollbar-corner {
      background-color: transparent;
    }
  }
}
