@charset "UTF-8";

/** 媒体查询 */

/** 布局 */

.box1 {
  gap: 4.0625rem;
  padding: 4.0625rem 0 5.3125rem;
}

.box1 .top {
  grid-template-columns: 28.75rem 1fr;
  gap: 7.5rem;
  padding-right: 6.875rem;
  align-items: flex-start;
}

.box1 .top > div {
  padding-top: 0.625rem;
  gap: 0.625rem;
}

.box1 .top > div > h5 {
  font-size: 2.5rem;
  color: #F56900;
  font-weight: bold;
}

.box1 .top > div > h2 {
  font-size: 2.125rem;
  color: #333333;
  font-weight: bold;
}

.box1 .top > div > div {
  font-size: 1.125rem;
  color: #F56900;
  margin: 1.875rem 0 0;
}

.box1 .top > div > p {
  font-size: 1.125rem;
  color: #666666;
  line-height: 2rem;
}

.teacher-middle-content {
  font-size: 1.125rem;
  color: #666666;
  line-height: 2rem;
}

/* 与威班优势页 maxw1200 全宽图一致，不用课程 750px */
.teacher-middle-content img,
.page-teacher .box1 .top > div > p img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 1.25rem auto;
  object-fit: contain;
}

@media (max-width: 800px) {
  .teacher-middle-content {
    font-size: 0.875rem;
    line-height: 1.5625rem;
  }
}

@media (max-width: 800px) {
  .box1 {
    gap: 1.875rem;
    padding: 1.875rem 0;
  }

  .box1 .top {
    grid-template-columns: 1fr;
    gap: 1.875rem;
    padding-right: 0;
  }

  .box1 .top > div > h5 {
    font-size: 1.25rem;
  }

  .box1 .top > div > h2 {
    font-size: 1.125rem;
  }

  .box1 .top > div > div {
    font-size: 0.875rem;
    margin: 0.625rem 0 0;
  }

  .box1 .top > div > p {
    font-size: 0.875rem;
    line-height: 1.5625rem;
  }
}

.teacher-elegance {
  width: 100%;
  background: linear-gradient(180deg, #F59100 0%, #F57300 100%);
  border-radius: 1.25rem;
  padding: 4.375rem 2.5rem;
  box-sizing: border-box;
}

.teacher-elegance-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.625rem;
  align-items: stretch;
}

.teacher-elegance-item {
  overflow: hidden;
  border-radius: 0.625rem;
}

.teacher-elegance-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease-in-out;
}

.teacher-elegance-item:hover img {
  transform: scale(1.08);
}

@media (max-width: 800px) {
  .teacher-elegance {
    padding: 2.5rem 1.25rem;
  }

  .teacher-elegance-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.25rem;
  }
}