.teacher-box {
  background-image: url("../images/keyNote/all-back.png");
  /* margin-top: -375px; */
  position: relative;
  z-index: 1;
  background-color: #fff;
}
.teacher-center {
  padding: 0 8%;
}
.key-lab-section {
  width: 100%;
  /* background: #fff; */
  /* padding: 40px 0 60px 0; */
}
.key-lab-section-mobile {
  display: none;
}

.key-lab-title-area {
  text-align: center;
  margin-bottom: 30px;
  position: relative;
}
.key-lab-title {
  font-size: 2.4rem;
  font-weight: 500;
  color: #222;
  margin-bottom: 0.2em;
}
.key-lab-subtitle {
  color: #888;
  font-size: 1rem;
  letter-spacing: 2px;
}
.key-lab-title-underline {
  width: 40px;
  height: 4px;
  background: #a40000;
  margin: 16px auto 0 auto;
  border-radius: 2px;
}

.key-lab-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 3vw;
  /* max-width: 1200px; */
  margin: 0 auto;
  flex-wrap: wrap;
}

.key-lab-card {
  position: relative;
  width: 320px;
  height: 380px;
  background-size: cover;
  background-position: center;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(164, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s, box-shadow 0.3s;
  cursor: pointer;
}
.key-lab-card--active,
.key-lab-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 8px 32px rgba(164, 0, 0, 0.18);
}
.key-lab-card-overlay {
  position: absolute;
  inset: 0;
  /* background: rgba(164,0,0,0.85); */
  z-index: 1;
}
.key-lab-card-inner {
  position: relative;
  z-index: 2;
  color: #fff;
  text-align: center;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.key-lab-card-icon span {
  font-size: 2.8rem;
  display: block;
  margin-bottom: 18px;
}
.key-lab-card-title {
  font-size: 1.3rem;
  font-weight: 500;
  margin-bottom: 30px;
  line-height: 1.5;
}
.key-lab-card-arrow {
  font-size: 2rem;
  margin-top: 20px;
  transition: transform 0.2s;
}
.key-lab-card:hover .key-lab-card-arrow {
  transform: translateX(8px);
}

.key-lab-list {
  display: flex;
  /* gap: 2vw;
  flex: 1; */
  /* min-width: 400px; */
  width: 100%;
  justify-content: space-between;
  align-items: stretch;
  position: relative;
  margin-top: 115px;
  margin-bottom: 156px;
}
.key-lab-list a {
  width: 25%;
  cursor: pointer;
}
.key-lab-item {
  background: transparent;
  border-radius: 6px;
  width: 100%;
  height: 464px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  position: relative;
  transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
  cursor: pointer;
  /* border-top: 2px solid #e0e0e0;
  border-bottom: 2px solid #e0e0e0; */
  padding: 30px 10px 10px 10px;
  background-position: right;
}
.hover-item {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  /* background: #a82511; */
  background-image: url("../images/keyNote/hover-back.png");
  border-top: 5px solid #deb151;
  display: none;
  background-size: cover;
}
.hover-item .icon-img {
  margin-top: 91px;
}
.hover-item .icon-img img {
  margin: 0 auto;
  display: block;
}
.hover-item .hover-title {
  font-size: 22px;
  letter-spacing: 0px;
  line-height: 30px;
  color: #ffffff;
  font-weight: 400;
  font-family: "Source Han Sans SC";
  text-align: center;
  margin-top: 28px;
}
.hover-item .hover-go {
  width: 66px;
  height: 21px;
  background: url("../images/keyNote/shiyan-go.png");
  margin: 0 auto;
  margin-top: 45px;
  background-size: 100%;
  background-repeat: no-repeat;
}
.key-lab-item:hover .hover-item {
  display: block;
  /* background: #f7eaea; */
  /* box-shadow: 0 4px 16px rgba(164,0,0,0.10);
  transform: translateY(-4px) scale(1.03); */
}
.key-lab-item-icon span {
  font-size: 2.2rem;
  color: #888;
  margin-bottom: 12px;
  display: block;
  margin-top: 55px;
}
.key-lab-item-num {
  width: 39px;
  height: 39px;
  background: #fff;
  border: 1px solid #ccc;
  border-radius: 50%;
  color: #7f7b78;
  font-size: 1.2rem;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 22px auto 12px auto;
  z-index: 1;
  /* position: relative;
  top: -18px;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(164,0,0,0.04); */
}
.key-lab-item-title {
  font-size: 22px;
  letter-spacing: 0px;
  line-height: 30px;
  color: #2f2222;
  font-weight: 400;
  font-family: "Source Han Sans SC";
  text-align: center;
  margin-top: 14px;
}
.key-lab-list .hui-line {
  position: absolute;
  width: 100%;
  height: 2px;
  background: #fef8f5;
  top: 230px;
  left: 0;
}
/* 移动端 */
@media (max-width: 1000px) {
  .teacher-box {
    margin-top: 0;
  }
  .teacher-center {
    padding: 0 0.18rem;
    margin-top: -0.5rem;
  }
  .key-lab-list {
    margin: 0.79rem 0;
  }
  .key-lab-list a {
    width: 3.58rem;
    height: 4.48rem;
  }
  .key-lab-section {
    display: none;
  }
  .key-lab-section-mobile {
    display: block;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
  }
  .key-lab-item {
    padding: 0;
    height: 4.5rem;
  }
  .key-lab-item-icon {
    height: 0.76rem;
    margin-top: 0.88rem;
  }
  .key-lab-item-icon span {
    display: flex;
    align-items: center;
    margin-top: 0;
    font-size: 0.6rem;
  }
  .key-lab-item-icon span img {
    width: 1.02rem;
    margin-top: 0;
  }
  .key-lab-item-num {
    width: 0.39rem;
    height: 0.39rem;
    font-size: 0.19rem;
    margin: 0 auto;
    margin-top: 0.7rem;
  }
  .key-lab-list .hui-line {
    top: 2.53rem;
  }
  .key-lab-item-title {
    font-size: 0.28rem;
    letter-spacing: -1px;
    line-height: 0.36rem;
    color: #2f2222;
    font-weight: 400;
    margin-top: 0.55rem;
  }
  .hover-item .icon-img {
    width: 0.62rem;
    height: 0.62rem;
    margin: 0 auto;
    margin-top: 0.93rem;
  }
  .hover-item .icon-img img {
    width: 100%;
  }
  .hover-item .hover-title {
    font-size: 0.27rem;
    line-height: 0.38rem;
    margin-top: 0.28rem;
  }
  .hover-item .hover-go {
    width: 0.63rem;
    height: 0.2rem;
    margin-top: 0.37rem;
  }
}
