.courseContent {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  height: calc(100% - .7rem);
  margin-top: .7rem;
  z-index: 10;
}


.course_list {
  width: 100%;
}

.course_list ul {
  display: flex;
  justify-content: space-between;
  margin-top: 1rem;
}


.course_list ul li {
  width: 3.66rem;
  height: 5.80rem;
  display: flex;
  flex-direction: column;
}

.course_list ul li:nth-child(2) {
  margin-top: -.91rem;
}

.course_list ul li:nth-child(3) {
  margin-top: .81rem;
}

.course_list ul li:nth-child(n+5) {
  display: none;
}


.course_list ul li .img-bg {
  width: 100%;
  height: 2.5rem;
  position: relative;
  overflow: hidden;
}

.course_list ul li .img-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.course_list ul>li:hover .img-bg img {
  transform: scale(1.1);
}

.course_list ul li .info {
  width: 100%;
  height: 3.3rem;
  overflow: hidden;
  background-color: #fff;
  display: flex;
  z-index: 10;
  flex-direction: column;
  padding: .51rem .31rem .51rem .40rem;
}

.course_list ul>li:hover .info {
  background-color: rgba(9, 70, 226, 1);
}

.course_list ul li .info .ct {
  width: 100%;
  height: .48rem;
  font-weight: 500;
  font-size: .20rem;
  color: #3A3A3A;
  position: relative;
}

.course_list ul li .info .ct::before {
  content: '  ';
  width: .04rem;
  height: .19rem;
  background: #0946E2;
  border-radius: 2px;
  left: -.2rem;
  top: .05rem;
  position: absolute;
}


.course_list ul li .info .ct span,
.course_list ul li .info .ct a,
.course_list ul li .info .ct p {
  font-weight: 500;
  font-size: .20rem;
  color: #3A3A3A;
  width: 100%;

  display: -webkit-box;
  /* 使用弹性盒子布局 */
  -webkit-box-orient: vertical;
  /* 垂直方向排列 */
  -webkit-line-clamp: 2;
  /* 限制最多 2 行 */
  overflow: hidden;
  /* 超出部分隐藏 */
  text-overflow: ellipsis;
  /* 超出部分显示省略号 */
  word-break: break-word;
  /* 允许单词换行（防止长单词溢出） */
}



.course_list ul li .info .desc {
  width: 100%;
  height: .75rem;
  font-weight: 500;
  font-size: .18rem;
  color: #3A3A3A;
  position: relative;
  margin-top: .26rem;
}

.course_list ul li .info .desc span,
.course_list ul li .info .desc a,
.course_list ul li .info .desc p {
  font-weight: 500;
  font-size: .18rem;
  color: #3A3A3A;
  width: 100%;

  display: -webkit-box;
  /* 使用弹性盒子布局 */
  -webkit-box-orient: vertical;
  /* 垂直方向排列 */
  -webkit-line-clamp: 3;
  /* 限制最多 2 行 */
  overflow: hidden;
  /* 超出部分隐藏 */
  text-overflow: ellipsis;
  /* 超出部分显示省略号 */
  word-break: break-word;
  /* 允许单词换行（防止长单词溢出） */
}


.course_list ul li .info .time {
  width: 100%;
  font-weight: 500;
  font-size: .14rem;
  color: #3A3A3A;
  position: relative;
  margin-top: .31rem;

}

.course_list ul li .info .time span,
.course_list ul li .info .time a,
.course_list ul li .info .time p {
  font-weight: 500;
  font-size: .14rem;
  color: #3A3A3A;
  width: 100%;
}

.course_list ul>li:hover .ct::before {
  background-color: #fff;
}

.course_list ul>li:hover .info .ct,
.course_list ul>li:hover .info .ct span,
.course_list ul>li:hover .info .ct a,
.course_list ul>li:hover .info .ct p,
.course_list ul>li:hover .info .desc,
.course_list ul>li:hover .info .desc span,
.course_list ul>li:hover .info .desc a,
.course_list ul>li:hover .info .desc p,
.course_list ul>li:hover .info .time,
.course_list ul>li:hover .info .time span,
.course_list ul>li:hover .info .time a,
.course_list ul>li:hover .info .time p {
  color: #fff;
}


@media (max-width: 768px) {

  .course_list{
    margin-top: .2rem;
  } 

  .course_list ul li {
    width: 4rem;
    height: 6.8rem;
    display: flex;
    flex-direction: column;
  }

  .course_list ul li .img-bg {
    width: 100%;
    height: 3.4rem;
    position: relative;
    overflow: hidden;
  }

  .course_list ul li .info {
    width: 100%;
    height: 4.6rem;
    overflow: hidden;
    background-color: #fff;
    display: flex;
    z-index: 10;
    flex-direction: column;
    padding: .51rem .31rem .51rem .40rem;
  }


  .course_list ul li .info .ct {
    width: 100%;
    height: 1.2rem;
    font-weight: 500;
    font-size: .50rem;
    color: #3A3A3A;
    position: relative;
  }

  .course_list ul li:nth-child(n+5) {
    display: none;
  }


  .course_list ul li .info .ct span,
  .course_list ul li .info .ct a,
  .course_list ul li .info .ct p {
    font-size: .50rem;
    width: 100%;
  }

  .course_list ul li .info .desc {
    width: 100%;
    height: 2rem;
    font-weight: 500;
    font-size: .36rem;
    color: #3A3A3A;
    position: relative;
    margin-top: .4rem;
  }

  .course_list ul li .info .time {
    width: 100%;
    font-size: .36rem;
    margin-top: .2rem;
  }

  .course_list ul li .info .ct::before {
    content: '  ';
    width: .08rem;
    height: .38rem;
    background: #0946E2;
    border-radius: 2px;
    left: -.2rem;
    top: .15rem;
    position: absolute;
  }

  .course_list ul li .info .desc span,
  .course_list ul li .info .desc a,
  .course_list ul li .info .desc p {
    font-weight: 500;
    font-size: .36rem;
    color: #3A3A3A;
    width: 100%;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    text-overflow: ellipsis;
    word-break: break-word;
  }

  .courseContent {
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    height: calc(100% - .7rem);
    margin-top: 1.2rem;
    z-index: 10;
  }

}