/*
 * [Requirement]: Smooth hover — remove jitter while keeping stagger + width-then-copy rhythm.
 * [Approach]: 1) Entrance uses opacity only (no transform on flex row) 2) Animate width on shell only, not .hdzj-con 3) Drop unused transform transition on .hdzj-content
 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
@keyframes teacherHdzjEnter {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.teacher-list {
  width: 1400px;
  max-width: 100%;
  margin-top: 0;
  overflow: hidden;
  white-space: nowrap;
  margin-left: auto;
  margin-right: auto;
  margin-top: 100px;
}
.teacher-list .teacher-mid {
  margin: 0;
  margin-left: 0;
  transition: margin-left 0.48s cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-wrap: nowrap;
}
.teacher-list + .more-btn {
  text-align: center;
  margin-top: 40px;
}
.teacher-list + .more-btn a {
  margin-top: 20px;
  text-align: center;
  color: #71b6fb;
  background-color: #71b6fb23;
  padding: 10px 2em;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid #71b6fb;
}
.hdzj-content {
  display: flex;
  background-color: #71b6fb;
  flex-shrink: 0;
  overflow: hidden;
  cursor: pointer;
  border-right: 1px solid #fff;
  color: #fff;
}
.hdzj-content .teacher-img {
  width: calc(1360px / 9);
  height: 294px;
  margin-top: 100px;
  margin-left: auto;
  margin-right: auto;
  position: relative;
}
.hdzj-content .teacher-img img {
  top: 0;
  left: 0;
  bottom: 0;
  height: 294px;
  max-width: unset;
}
.hdzj-content .hdzj-con {
  width: calc(1380px / 9 * 2.5);
  padding: 20px 24px;
  white-space: normal;
  flex-shrink: 0;
  opacity: 0;
  transition: opacity 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  order: 2;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}
.hdzj-content .hdzj-con .hdzj-con1 {
  text-align: justify;
  line-height: 1.5;
  word-break: break-word;
}
.hdzj-content .hdzj-con .hdzj-con2 .hdzj-con2-name {
  display: block;
  font-size: 0.24rem;
}
.hdzj-content .hdzj-con .hdzj-con2 .hdzj-con2-vocation {
  list-style: none;
  padding: 0;
  margin: 0;
  margin-top: 4px;
}
.hdzj-content .hdzj-con .hdzj-con2 .hdzj-con2-vocation li {
  line-height: 1.5;
}
.hdzj-increase .teacher-img {
  width: unset;
}
.hdzj {
  animation: teacherHdzjEnter 0.52s cubic-bezier(0.22, 1, 0.36, 1) both;
}
.hdzj:nth-child(1) {
  animation-delay: 0s;
}
.hdzj:nth-child(2) {
  animation-delay: 0.07s;
}
.hdzj:nth-child(3) {
  animation-delay: 0.14s;
}
.hdzj:nth-child(4) {
  animation-delay: 0.21s;
}
.hdzj:nth-child(5) {
  animation-delay: 0.28s;
}
.hdzj:nth-child(6) {
  animation-delay: 0.35s;
}
.hdzj:nth-child(7) {
  animation-delay: 0.42s;
}
.hdzj:nth-child(8) {
  animation-delay: 0.49s;
}
.hdzj:nth-child(9) {
  animation-delay: 0.56s;
}
.hdzj:not(:last-child) {
  padding-right: 5px;
}
.hdzj-increase .hdzj-content {
  transition: width 0.48s cubic-bezier(0.22, 1, 0.36, 1);
}
.hdzj-increase .hdzj-content .hdzj-con {
  opacity: 1;
  transition: opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1) 0.16s;
}
.hdzj-decrease .hdzj-content {
  background-color: #71b6fb;
  transition: width 0.42s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.32s ease;
}
.hdzj-decrease .hdzj-content .hdzj-con {
  display: none;
  transition: opacity 0.28s cubic-bezier(0.4, 0, 1, 1);
}
