.teacher-detail img {
  width: 100%;
  height: 100%;
}
.teacher-detail .card {
  display: flex;
  padding: 1.25rem 1rem 2rem;
  background: radial-gradient(circle, #b9c0c5 0%, #9da4aa 50%, #7b8b97 100%);
}
.teacher-detail .card-img {
  flex: none;
  width: 3.45rem;
  height: 4.15rem;
  overflow: hidden;
  border-radius: 0.4rem;
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.3);
}
.teacher-detail .card-info {
  flex: 1;
  padding-top: 0.4rem;
  margin-left: 0.5rem;
}
.teacher-detail .card-info .name {
  margin-bottom: 0.65rem;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.15rem;
  color: #fff;
}
.teacher-detail .card-info .duration {
  width: -moz-fit-content;
  width: fit-content;
  height: 1.1rem;
  padding: 0 0.95rem;
  padding-top: 1px;
  font-size: 0.75rem;
  line-height: 1.1rem;
  color: #fff;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 0.55rem;
}
.teacher-detail .container {
  padding: 1.25rem 1rem 1rem;
  margin-top: -0.75rem;
  font-size: 0.8rem;
  line-height: 1.5rem;
  text-align: justify;
  background-color: #fff;
  border-radius: 0.75rem 0.75rem 0 0;
}

.teacher-page .teacher-list {
  padding: 0.75rem 0.75rem 0;
}
.teacher-page .teacher-link {
  display: flex;
}
.teacher-page .teacher-item {
  box-sizing: border-box;
  padding: 0.5rem;
  margin-bottom: 0.75rem;
  overflow: hidden;
  background-color: #fff;
  border-radius: 0.55rem;
  box-shadow: 0 0 0.375rem 0 rgba(1, 32, 90, 0.1);
}
.teacher-page .teacher-item .img {
  flex: none;
  width: 6.9rem;
  height: 8.2rem;
  overflow: hidden;
  border-radius: 0.4rem;
}
.teacher-page .teacher-item .info {
  flex: 1;
  padding-top: 0.4rem;
  margin-left: 0.5rem;
}
.teacher-page .teacher-item .info .name {
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
  font-weight: 500;
  line-height: 0.85rem;
}
.teacher-page .teacher-item .info .duration {
  margin-bottom: 0.65rem;
  font-size: 0.75rem;
  line-height: 0.7rem;
}
.teacher-page .teacher-item .info .desc {
  font-size: 0.75rem;
  line-height: 1rem;
  color: #999;
  display: -webkit-box;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}