.teacher .teacher-box {
  display: flex;
  justify-content: space-between;
}

.teacher .teacher-box .left {
  width: 885px;
}

.teacher .teacher-box .left .container {
  padding-right: 30px;
  padding-left: 30px;
}

.teacher .teacher-box .left .con {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 5px;
  overflow: hidden;
}

.teacher .teacher-box .left .con .list-t {
  display: flex;
}

.teacher .teacher-box .left .con .list-t .item {
  position: relative;
  flex-shrink: 0;
  height: 32px;
  margin: 0 5px;
  padding: 0 12px;
  color: #666;
  font-size: 16px;
  line-height: 32px;
  border-radius: 16px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.teacher .teacher-box .left .con .list-t .item.active {
  color: #fff;
  background: #1a4299;
}

.teacher .teacher-box .left .teacher-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 22px;
  padding-top: 15px;
  padding-bottom: 20px;
}

.teacher .teacher-box .left .teacher-list .item {
  display: flex;
  box-sizing: border-box;
  width: 260px;
  height: 170px;
  padding: 15px;
  border: 1px solid #f5f5f5;
  border-radius: 10px;
  transition: all 0.2s ease;
}

.teacher .teacher-box .left .teacher-list .item:hover {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.teacher .teacher-box .left .teacher-list .item .picture {
  width: 110px;
  height: 131px;
  object-fit: cover;
  border-radius: 10px;
}

.teacher .teacher-box .left .teacher-list .item .item-r {
  width: 110px;
  padding-left: 10px;
  line-height: 22px;
}

.teacher .teacher-box .left .teacher-list .item .item-r .name {
  overflow: hidden;
  color: #333;
  font-size: 18px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.teacher .teacher-box .left .teacher-list .item .item-r .des1 {
  overflow: hidden;
  color: #333;
  font-size: 14px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.teacher .teacher-box .left .teacher-list .item .item-r .des2 {
  display: -webkit-box;
  overflow: hidden;
  color: #999;
  font-size: 14px;
  text-overflow: ellipsis;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
}

.teacher .teacher-box .right {
  width: 295px;
}


.teacher .teacher-detail .detail {
  display: flex;
  padding-top: 10px;
}

.teacher .teacher-detail .detail .picture {
  width: 194px;
  height: 260px;
  object-fit: cover;
  border-radius: 10px;
}

.teacher .teacher-detail .detail .detail-r {
  position: relative;
  flex: 1;
  padding: 0 50px 0 30px;
  line-height: 25px;
}

.teacher .teacher-detail .detail .detail-r .name {
  margin: 0;
  padding-top: 30px;
  padding-bottom: 10px;
  color: #333;
  font-weight: 400;
  font-size: 30px;
}

.teacher .teacher-detail .detail .detail-r .des1 {
  position: relative;
  overflow: hidden;
  color: #666;
  font-size: 16px;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.teacher .teacher-detail .detail .detail-r .des2 {
  position: relative;
  display: -webkit-box;
  padding-top: 8px;
  overflow: hidden;
  color: #666;
  font-size: 16px;
  text-align: justify;
  text-overflow: ellipsis;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}

.teacher .teacher-detail .detail .detail-r .btn {
  position: absolute;
  bottom: 0;
  left: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 175px;
  height: 40px;
  color: #fff;
  font-size: 18px;
  background: #ff4500;
  border-radius: 20px;
  cursor: pointer;
}

.teacher .teacher-detail .detail .detail-r .btn:active {
  background: #cc3700;
}

.teacher .teacher-detail .course-list {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding-top: 15px;
}

.teacher .teacher-detail .course-list .item {
  box-sizing: border-box;
  width: 220px;
  height: 180px;
  padding: 0 10px 10px;
  font-size: 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s 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: #1a4299;
}

.teacher .teacher-detail .course-list .item .img {
  width: 200px;
  height: 116px;
  border-radius: 10px;
}

.teacher .teacher-detail .course-list .item .name {
  padding-top: 5px;
  overflow: hidden;
  color: #333;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}

.teacher .teacher-detail .course-list .item .price {
  color: #1a4299;
  font-size: 16px;
}

.teacher .teacher-detail .info-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding-top: 5px;
}

.teacher .teacher-detail .info-list .item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-sizing: border-box;
  width: 530px;
  height: 35px;
  padding-left: 6px;
  font-size: 14px;
  line-height: 20px;
}

.teacher .teacher-detail .info-list .item:hover .name {
  color: #1a4299;
}

.teacher .teacher-detail .info-list .item .name {
  width: 480px;
  overflow: hidden;
  color: #666;
  white-space: nowrap;
  text-overflow: ellipsis;
  transition: color 0.2s ease;
}
