@media (max-width: 800px) {
  .teaching-material-box {
    padding: 20px 40px 40px;
    display: flex;
    flex-wrap: wrap;
    width: 800px;
    min-width: 500px;
    border-radius: 10px;
    background-color: #fff;
    box-sizing: border-box;
  }

  .teaching-material-box li {
    padding: 40px 30px 40px 30px;
    width: calc(100% / 1);
    border-bottom: 1px solid #ddd;
    box-sizing: border-box;
    transition: all 0.5s;
  }

  .teaching-material-box li:nth-child(6) {
    border-bottom: none;
  }
  .teaching-material-box li a {
    justify-content: center;
  }
}

@media all and (min-width: 481px) and (max-width: 800px) {
}
@media all and (min-width: 768px) and (max-width: 1024px) {
  .teaching-material-box {
    padding: 20px 40px 40px;
    display: flex;
    flex-wrap: wrap;
    width: 1000px;
    min-width: 780px;
    border-radius: 10px;
    background-color: #fff;
    box-sizing: border-box;
  }

  .teaching-material-box li {
    padding: 40px 30px 40px 30px;
    width: calc(100% / 1);
    border-bottom: 1px solid #ddd;
    box-sizing: border-box;
    transition: all 0.5s;
  }

  .teaching-material-box li:nth-child(6) {
    border-bottom: none;
  }
  .teaching-material-box li a {
    justify-content: center;
  }
}
@media all and (min-width: 1025px) and (max-width: 1300px) {
  .teaching-material-box {
    padding: 20px 40px 40px;
    display: flex;
    flex-wrap: wrap;
    width: 1300px;
    min-width: 1000px;
    border-radius: 10px;
    background-color: #fff;
    box-sizing: border-box;
  }

  .teaching-material-box li {
    padding: 40px 30px 40px 30px;
    width: calc(100% / 2);
    border-bottom: 1px solid #ddd;
    border-right: 1px dashed #ddd;
    box-sizing: border-box;
    transition: all 0.5s;
  }
  .teaching-material-box li:nth-child(2n) {
    border-right: none;
  }
  .teaching-material-box li:nth-child(5),
  .teaching-material-box li:nth-child(6) {
    border-bottom: none;
  }
}
@media all and (min-width: 1301px) {
  .teaching-material-box {
    padding: 20px 40px 40px;
    display: flex;
    flex-wrap: wrap;
    width: 1400px;
    min-width: 1300px;
    border-radius: 10px;
    background-color: #fff;
    box-sizing: border-box;
  }

  .teaching-material-box li {
    padding: 40px 30px 40px 30px;
    width: calc(100% / 3);
    border-bottom: 1px solid #ddd;
    border-right: 1px dashed #ddd;
    box-sizing: border-box;
    transition: all 0.5s;
  }
  .teaching-material-box li:nth-child(3n) {
    border-right: none;
  }
  .teaching-material-box li:nth-child(4),
  .teaching-material-box li:nth-child(5),
  .teaching-material-box li:nth-child(6) {
    border-bottom: none;
  }
}

/* 教材书籍列表样式 */
.container {
  min-width: 0;
  width: 100% !important;
}
#divTb {
  display: flex;
  justify-content: center;
}

.teaching-material-box li a {
  display: flex;
  align-items: center;
}
.teaching-material-box li img {
  width: 140px;
  height: 196px;
  box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.25);
}

.teaching-material-box li:hover img {
  transform: translateY(-20px);
  transition: all 0.5s;
}
.teaching-material-item-tit {
  margin-left: 20px;
}

.teaching-material-item-tit p {
  margin-bottom: 20px;
  font-size: 16px;
  font-weight: 700;
}

.teaching-material-item-tit span {
  margin-left: 8px;
  padding: 2px 8px;
  font-size: 14px;
  font-weight: 700;
  border-radius: 22px;
}
.publicity-tag {
  color: rgba(35, 156, 8, 1);
  background: rgba(35, 156, 8, 0.2);
}

.recommended-tag {
  color: rgba(236, 6, 29, 1);
  background: rgba(236, 6, 29, 0.2);
}
.pinned-tag {
  color: rgba(255, 153, 0, 1);
  background: rgba(255, 153, 0, 0.2);
}
