﻿body {
  background: #f5f6f8;
}

.hero-banner {
  background-image:
    linear-gradient(180deg, rgba(8, 33, 65, .26), rgba(8, 33, 65, .12) 38%, rgba(8, 33, 65, 0) 100%),
    url("../assets/imglistbg.jpg");
}

.leftList .second-list {
  display: block;
  background: #fff;
}

.leftList > li > .second-list,
.leftList > li > ul,
.leftList > li > ol,
.leftList .second-list li > ul,
.leftList .second-list li > ol {
  background: #fff;
}

.leftList > li:not(.active):not(.current):not(.on):not(:hover) > .second-list,
.leftList > li:not(.active):not(.current):not(.on):not(:hover) > ul,
.leftList > li:not(.active):not(.current):not(.on):not(:hover) > ol {
  display: none;
}

.leftList > li:hover > .second-list,
.leftList > li:hover > ul,
.leftList > li:hover > ol,
.leftList > li.has-current > .second-list,
.leftList > li.has-current > ul,
.leftList > li.has-current > ol {
  display: block;
}

.leftList .second-list li > ul,
.leftList .second-list li > ol,
.leftList > li > ul li > ul,
.leftList > li > ul li > ol,
.leftList > li > ol li > ul,
.leftList > li > ol li > ol {
  display: none;
}

.leftList .second-list li:hover > ul,
.leftList .second-list li:hover > ol,
.leftList .second-list li.active > ul,
.leftList .second-list li.active > ol,
.leftList .second-list li.current > ul,
.leftList .second-list li.current > ol,
.leftList .second-list li.on > ul,
.leftList .second-list li.on > ol,
.leftList > li > ul li:hover > ul,
.leftList > li > ul li:hover > ol,
.leftList > li > ol li:hover > ul,
.leftList > li > ol li:hover > ol {
  display: block;
}

.leftList .second-list li.active a,
.leftList .second-list li.current a,
.leftList .second-list li.on a,
.leftList .second-list li:hover a {
  background: #eef2f7;
  color: #1d5ca9;
}

.leftList .second-list li > ul li a,
.leftList .second-list li > ol li a,
.leftList > li > ul li > ul li a,
.leftList > li > ul li > ol li a,
.leftList > li > ol li > ul li a,
.leftList > li > ol li > ol li a {
  padding-left: 42px;
  min-height: 46px;
  line-height: 46px;
  font-size: 18px;
}

.location {
  margin-bottom: 22px;
}

.teacher-page-title {
  margin-bottom: 26px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e5e8ed;
  color: #303640;
  font-size: 26px;
  line-height: 1.35;
  font-weight: 700;
}

.teacher-detail-shell {
  color: #2e3440;
}

.teacher-overview {
  display: grid;
  grid-template-columns: 234px minmax(0, 1fr);
  gap: 34px;
  align-items: start;
}

.teacher-photo {
  min-height: 300px;
  background: #edf1f5;
  overflow: hidden;
}

.teacher-photo img {
  display: block;
  width: 100%;
  height: auto;
}

.teacher-meta {
  padding-top: 2px;
}

.teacher-meta-row {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr);
  gap: 0;
  min-height: 43px;
  border-bottom: 1px solid #e5e8ed;
}

.teacher-meta-label,
.teacher-meta-value {
  display: flex;
  align-items: center;
  min-height: 43px;
  font-size: 16px;
  line-height: 1.7;
}

.teacher-meta-label {
  color: #303640;
  font-weight: 700;
}

.teacher-meta-value {
  color: #616b78;
}

.teacher-section {
  margin-top: 28px;
}

.teacher-section-title {
  position: relative;
  margin: 0 0 16px;
  padding-bottom: 14px;
  color: #1d5ca9;
  font-size: 18px;
  line-height: 1.35;
  font-weight: 700;
}

.teacher-section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 96px;
  height: 2px;
  background: #1d5ca9;
}

.teacher-section-content {
  color: #4b5563;
  font-size: 16px;
  line-height: 1.9;
  white-space: pre-line;
}

.teacher-section-content p {
  margin: 0 0 14px;
}

.teacher-section-content ul,
.teacher-section-content ol {
  margin: 0;
  padding-left: 1.4em;
}

.teacher-section-content li {
  margin-bottom: 12px;
}

.teacher-article-fallback {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}

.teacher-detail-shell:not(.is-legacy) .teacher-article-fallback,
.teacher-detail-shell:not(.is-legacy) .teacher-article-fallback table,
.teacher-detail-shell:not(.is-legacy) .teacher-article-fallback .content-t,
.teacher-detail-shell:not(.is-legacy) .teacher-article-fallback .v_news_content,
.teacher-detail-shell:not(.is-legacy) .teacher-article-fallback .wp_articlecontent,
.teacher-detail-shell:not(.is-legacy) .teacher-article-fallback .Article_Content {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
}

.teacher-detail-shell.is-legacy .teacher-overview,
.teacher-detail-shell.is-legacy .teacher-section {
  display: none;
}

.teacher-detail-shell.is-legacy .teacher-article-fallback {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  overflow: visible !important;
  color: #303640;
}

.teacher-detail-shell.is-legacy .teacher-article-fallback .content-t,
.teacher-detail-shell.is-legacy .teacher-article-fallback .v_news_content,
.teacher-detail-shell.is-legacy .teacher-article-fallback .wp_articlecontent,
.teacher-detail-shell.is-legacy .teacher-article-fallback .Article_Content,
.teacher-detail-shell.is-legacy .teacher-article-fallback #vsb_content {
  display: block !important;
  visibility: visible !important;
  height: auto !important;
  overflow: visible !important;
}

.teacher-detail-shell.is-legacy .teacher-article-fallback table {
  width: 100% !important;
  max-width: 100% !important;
  table-layout: auto !important;
}

.teacher-detail-shell.is-legacy .teacher-article-fallback colgroup,
.teacher-detail-shell.is-legacy .teacher-article-fallback col {
  width: auto !important;
}

.teacher-detail-shell.is-legacy .teacher-article-fallback td,
.teacher-detail-shell.is-legacy .teacher-article-fallback th {
  padding: 6px 10px;
  vertical-align: top;
}

.teacher-detail-shell.is-legacy .teacher-article-fallback p,
.teacher-detail-shell.is-legacy .teacher-article-fallback li,
.teacher-detail-shell.is-legacy .teacher-article-fallback td,
.teacher-detail-shell.is-legacy .teacher-article-fallback th,
.teacher-detail-shell.is-legacy .teacher-article-fallback span,
.teacher-detail-shell.is-legacy .teacher-article-fallback div {
  max-width: 100%;
  color: inherit !important;
  font-family: "Microsoft YaHei", "PingFang SC", sans-serif !important;
}

.teacher-detail-shell.is-legacy .teacher-article-fallback p,
.teacher-detail-shell.is-legacy .teacher-article-fallback li {
  font-size: 16px;
  line-height: 1.9 !important;
}

.teacher-detail-shell.is-legacy .teacher-article-fallback ul,
.teacher-detail-shell.is-legacy .teacher-article-fallback ol {
  margin: 0 0 16px;
  padding-left: 1.4em;
}

.teacher-detail-shell.is-legacy .teacher-article-fallback img {
  max-width: 100% !important;
  height: auto !important;
}

.teacher-detail-shell.is-legacy .teacher-article-fallback hr {
  border: 0;
  border-top: 1px solid #e5e8ed;
  margin: 18px 0;
}

.teacher-meta-value:empty::after,
.teacher-section-content:empty::after {
  content: "";
}

@media (max-width: 1199px) {
  .teacher-page-title {
    font-size: 24px;
  }

  .teacher-overview {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 28px;
  }
}

@media (max-width: 991px) {
  .hero-banner {
    background-image:
      linear-gradient(180deg, rgba(8, 33, 65, .14), rgba(8, 33, 65, 0) 65%),
      url("../assets/imglistbgh5.jpg");
  }

  .teacher-page-title {
    margin-bottom: 22px;
    padding-bottom: 12px;
    font-size: 22px;
  }

  .teacher-overview {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .teacher-photo {
    width: 100%;
    max-width: 320px;
    min-height: 0;
  }

  .teacher-meta-row {
    grid-template-columns: 72px minmax(0, 1fr);
  }
}

@media (max-width: 767px) {
  .teacher-page-title {
    font-size: 20px;
  }

  .teacher-meta-label,
  .teacher-meta-value,
  .teacher-section-content {
    font-size: 15px;
  }

  .teacher-section {
    margin-top: 24px;
  }

  .teacher-section-title {
    margin-bottom: 14px;
    font-size: 17px;
    padding-bottom: 12px;
  }

  .teacher-section-title::after {
    width: 84px;
  }
}