.teacher .teacher-box {
  display: flex;
  justify-content: space-between;
}
.teacher .teacher-box .left {
  width: 885px;
}
.teacher .teacher-box .left .con {
  display: flex;
  justify-content: space-between;
  align-items: center;
  overflow: hidden;
  padding-bottom: 5px;
}
.teacher .teacher-box .left .con .list-t {
  display: flex;
}
.teacher .teacher-box .left .con .list-t .item {
  border-radius: 16px;
  color: #666;
  cursor: pointer;
  flex-shrink: 0;
  font-size: 16px;
  height: 32px;
  line-height: 32px;
  margin: 0 5px;
  padding: 0 12px;
  position: relative;
  transition: all 0.24s ease;
}
.teacher .teacher-box .left .con .list-t .item.active {
  background: #1d479c;
  color: #fff;
}
.teacher .teacher-box .left .teacher-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 22px;
  padding: 15px 30px 20px;
}
.teacher .teacher-box .left .teacher-list .item {
  border: 1px solid #f5f5f5;
  border-radius: 10px;
  box-sizing: border-box;
  display: flex;
  height: 170px;
  padding: 15px;
  width: 260px;
  transition: all 0.24s ease;
}
.teacher .teacher-box .left .teacher-list .item:hover {
  transform: translateY(-5px);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
.teacher .teacher-box .left .teacher-list .item .picture {
  border-radius: 10px;
  height: 131px;
  -o-object-fit: cover;
     object-fit: cover;
  width: 110px;
}
.teacher .teacher-box .left .teacher-list .item .item-r {
  line-height: 22px;
  padding-left: 10px;
  width: 110px;
}
.teacher .teacher-box .left .teacher-list .item .item-r .name {
  font-size: 18px;
  color: #333;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.teacher .teacher-box .left .teacher-list .item .item-r .des1 {
  font-size: 14px;
  color: #333;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.teacher .teacher-box .left .teacher-list .item .item-r .des2 {
  font-size: 14px;
  color: #999;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}
.teacher .teacher-box .right {
  width: 295px;
}
.teacher .teacher-detail .detail {
  display: flex;
  padding: 20px 30px;
}
.teacher .teacher-detail .detail .picture {
  border-radius: 10px;
  -o-object-fit: cover;
     object-fit: cover;
  height: 260px;
  width: 219px;
}
.teacher .teacher-detail .detail .detail-r {
  flex: 1;
  line-height: 25px;
  padding: 0 50px 0 30px;
  position: relative;
}
.teacher .teacher-detail .detail .detail-r .name {
  color: #333;
  font-size: 30px;
  font-weight: 400;
  margin: 0;
  padding-bottom: 10px;
  padding-top: 30px;
}
.teacher .teacher-detail .detail .detail-r .duration {
  color: #333;
  font-size: 20px;
  padding-bottom: 10px;
}
.teacher .teacher-detail .detail .detail-r .des1 {
  color: #666;
  font-size: 16px;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.teacher .teacher-detail .detail .detail-r .des2 {
  color: #666;
  font-size: 16px;
  position: relative;
  padding-top: 8px;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.teacher .teacher-detail .detail .detail-r .btn {
  align-items: center;
  background: #f08300;
  border-radius: 20px;
  bottom: 0;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 18px;
  height: 40px;
  justify-content: center;
  left: 30px;
  position: absolute;
  width: 175px;
}
.teacher .teacher-detail .detail .detail-r .btn:active {
  background: #bd6700;
}
.teacher .teacher-detail .course-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 20px 30px 0;
}
.teacher .teacher-detail .course-list .item {
  border-radius: 10px;
  box-sizing: border-box;
  cursor: pointer;
  font-size: 14px;
  height: 180px;
  padding: 0 10px 10px;
  width: 220px;
  transition: all 0.24s linear;
}
.teacher .teacher-detail .course-list .item:hover {
  box-shadow: 0 8px 5px -5px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}
.teacher .teacher-detail .course-list .item:hover .name {
  color: #1d479c;
}
.teacher .teacher-detail .course-list .item .img {
  border-radius: 10px;
  height: 116px;
  width: 200px;
}
.teacher .teacher-detail .course-list .item .name {
  color: #333;
  padding-top: 5px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: color 0.24s ease;
}
.teacher .teacher-detail .course-list .item .price {
  color: #ff4500;
  font-size: 16px;
}
.teacher .teacher-detail .course-list .item .price span {
  font-size: 12px;
}
.teacher .teacher-detail .info-list {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 5px 30px 0;
}
.teacher .teacher-detail .info-list .item {
  width: 530px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  font-size: 14px;
  height: 35px;
  line-height: 20px;
  padding-left: 6px;
}
.teacher .teacher-detail .info-list .item:hover .name {
  color: #1d479c;
}
.teacher .teacher-detail .info-list .item .name {
  color: #666;
  width: 480px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: color 0.24s ease;
}