@charset "UTF-8";
/* index-style.css - 首页特有样式 */
/* ==================== PC端 (min-width: 768px) ==================== */
@media screen and (min-width: 768px) {
  /* 板块标题 */
    .teacher .tabs ul li,.teacher .tabs-cont .item.on .tea-info {color: black;}
    .teacher .tabs-cont .item .subtit {color: #C0392B;}
  .section-title {
    text-align: center;
    padding: 20px 0;
  }
  .section-title .en {
    display: block;
    font-size: 14px;
    color: #C0392B;;
    letter-spacing: 4px;
    margin-bottom: 10px;
    font-weight: 400;
  }
  .section-title h2 {
    font-size: 36px;
    color: #C0392B;;
    margin: 0;
    padding: 0;
    font-weight: 700;
    letter-spacing: 6px;
  }
  .section-title .line {
    width: 50px;
    height: 3px;
    background: #C0392B;;
    margin: 18px auto 0;
    border-radius: 2px;
  }
  /* 首页学生作品 - 覆盖公共样式中的 .student */
  .student .tabs ul li {
    width: 25%;
  }
  .student .work-grid {
    width: 100%;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .student .work-item {
    width: 25%;
    height: 280px;
    position: relative;
    overflow: hidden;
  }
  .student .work-item .imgs {
    width: 100%;
    height: 100%;
    position: relative;
  }
  .student .work-item .imgs img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
       object-fit: cover;
    -webkit-transition: 0.6s;
    transition: 0.6s;
  }
  .student .work-item:hover .imgs img {
    -webkit-transform: scale(1.05);
            transform: scale(1.05);
  }
  /* 首页师资tabs宽度 - 覆盖公共样式 */
  .teacher .tabs ul {
    width: 840px;
  }
  /* 文字标题响应式 */
}
@media screen and (min-width: 768px) and (max-width: 1199px) {
  .section-title h2 {
    font-size: 30px;
    letter-spacing: 4px;
  }
  .section-title .en {
    font-size: 13px;
  }
}
/* end PC @media (min-width: 768px) */
/* ==================== 移动端 (max-width: 767px) ==================== */
@media screen and (max-width: 767px) {
  .section-title {
    padding: 15px 0;
  }
  .section-title .en {
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 8px;
  }
  .section-title h2 {
    font-size: 22px;
    letter-spacing: 3px;
  }
  .section-title .line {
    width: 30px;
    height: 2px;
    margin-top: 10px;
  }
  /* 学生作品移动端 */
  .student .tabs ul li {
    width: auto;
    -ms-flex-negative: 0;
        flex-shrink: 0;
    font-size: 15px;
    padding: 0 12px;
  }
  .student .work-grid {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
  .student .work-item {
    width: 50%;
    height: auto;
  }
  /* 师资tabs移动端 */
  .teacher .tabs ul {
    width: 100% !important;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    -ms-flex-wrap: nowrap;
        flex-wrap: nowrap;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
  }
  .teacher .tabs ul li {
    width: auto;
    padding: 0 15px;
    -ms-flex-negative: 0;
        flex-shrink: 0;
    font-size: 16px;
  }
}