@charset "utf-8";

.wrapper {
  width: 100%;
  padding: 0 2.5rem;
  margin: 0 auto;
  box-sizing: border-box;
}

.banner {
  position: relative;
  width: 100%;
  height: min(max(240px, 4.5rem), 300px);
  overflow: hidden;
}

.banner > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.banner-bar {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  padding: 0 2.5rem;
  display: flex;
  align-items: flex-end;
  z-index: 2;
}

.banner-bar .side-title {
  width: 2rem;
  height: 0.9rem;
  flex-shrink: 0;
  background: #9c1420;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: self-start;
  padding-left: 0.2rem;
}

.banner-bar .side-title .txt {
  font-size: max(14px, 0.24rem);
  font-weight: bold;
  color: #fff;
  letter-spacing: 0.02rem;
  white-space: nowrap;
}

.banner-bar .side-title .line {
  display: block;
  width: 0.3rem;
  height: 2px;
  margin-top: 0.14rem;
  background: #fff;
}

.banner-bar .breadnav {
  flex: 1;
  min-width: 0;
  height: 0.34rem;
  padding: 0 0.2rem;
  background: #f5f5f5;
  display: flex;
  align-items: center;
}

.banner-bar .breadnav a {
  display: inline-flex;
  align-items: center;
  font-size: max(12px, 0.14rem);
  color: #888;
  white-space: nowrap;
}

.banner-bar .breadnav a:hover,
.banner-bar .breadnav a.current {
  color: #9c1420;
}

.banner-bar .breadnav a .icon {
  display: inline-block;
  width: 0.18rem;
  height: 0.18rem;
  margin-right: 0.06rem;
  background: url(../img/shouye.png) no-repeat center center;
  background-size: contain;
}

.banner-bar .breadnav .sep {
  margin: 0 0.08rem;
  font-size: max(12px, 0.14rem);
  color: #bbb;
}

.list-main {
  background: #fff;
  padding: 0.26rem 0 0.7rem;
}

.list-main .wrapper {
  display: flex;
  align-items: flex-start;
}

/* 预留栏目子导航位（学院荣誉无子栏目） */
.list-main .side-col {
  width: 2rem;
  flex-shrink: 0;
}

.list-main .content-col {
  flex: 1;
  min-width: 0;
  padding-left: 0.04rem;
}

.honor-list li {
  height: max(70px, 0.9rem);
  margin-bottom: 0.24rem;
  background: #f7f7f7;
  border-radius: 0.08rem;
}

.honor-list li a {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 0.3rem;
}

.honor-list .date {
  width: 0.75rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.honor-list .date .d {
  font-size: max(20px, 0.3rem);
  font-weight: bold;
  color: #333;
  line-height: 1.1;
}

.honor-list .date .m {
  font-size: max(11px, 0.12rem);
  color: #999;
  line-height: 1.4;
}

.honor-list .title {
  flex: 1;
  min-width: 0;
  padding-left: 0.22rem;
  font-size: max(14px, 0.2rem);
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.honor-list .detail {
  flex-shrink: 0;
  height: max(30px, 0.44rem);
  padding: 0 0.16rem;
  margin-left: 0.24rem;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #e6d9cf;
  border-radius: 0.02rem;
  background: #fff;
  font-size: max(12px, 0.15rem);
  color: #a51e27;
  white-space: nowrap;
}

.honor-list .detail i {
  font-style: normal;
  margin-left: 0.05rem;
}

.honor-list li:hover {
  background: #9c1420;
}

.honor-list li:hover .date .d,
.honor-list li:hover .title {
  color: #fff;
}

.honor-list li:hover .date .m {
  color: rgba(255, 255, 255, 0.8);
}

.honor-list li:hover .detail {
  background: transparent;
  border-color: rgba(255, 255, 255, 0.6);
  color: #fff;
}

.honor-list li .detail:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #fff;
}

.paging {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  margin-top: 0.5rem;
}

.paging .page-nums {
  display: flex;
  align-items: center;
}

.paging a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-width: 0.44rem;
  height: max(32px, 0.44rem);
  padding: 0 0.1rem;
  margin: 0 0.05rem;
  border: 1px solid #eee;
  border-radius: 0.02rem;
  background: #fff;
  font-size: max(13px, 0.16rem);
  color: #666;
  cursor: pointer;
}

.paging .page-btn {
  padding: 0 0.18rem;
}

.paging a:hover {
  border-color: #9c1420;
  color: #9c1420;
}

.paging .page-num.active {
  background: #9c1420;
  border-color: #9c1420;
  color: #fff;
}

.paging a.disabled {
  color: #bbb;
  cursor: default;
}

.paging a.disabled:hover {
  border-color: #eee;
  color: #bbb;
}

.paging .page-ellipsis {
  margin: 0 0.05rem;
  font-size: max(13px, 0.16rem);
  color: #999;
}

.paging .page-jump {
  display: flex;
  align-items: center;
  margin-left: 0.2rem;
}

.paging .page-jump span {
  margin: 0 0.06rem;
  font-size: max(13px, 0.16rem);
  color: #666;
}

.paging .page-jump .jump-input {
  width: 0.6rem;
  height: max(32px, 0.42rem);
  padding: 0;
  border: 1px solid #eee;
  border-radius: 0.02rem;
  background: #fff;
  text-align: center;
  font-size: max(13px, 0.16rem);
  color: #333;
}

.jsjj-main {
  background: #fff;
  min-height: 6.6rem;
  padding: 0 0 0.8rem;
}

.jsjj-main .wrapper {
  display: flex;
  align-items: flex-start;
}

.jsjj-main .side-col {
  width: 2rem;
  flex-shrink: 0;
}

.side-nav {
  padding: 0 0 0.28rem;
  background: #f7f7f7;
  border-radius: 0 0 0.06rem 0.06rem;
  overflow: hidden;
}

.side-nav li a {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: max(44px, 0.6rem);
  padding: 0 0.16rem 0 0.24rem;
  font-size: max(13px, 0.18rem);
  color: #666;
}

.side-nav li a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 2px;
  height: 0;
  background: #9c1420;
  transform: translateY(-50%);
}

.side-nav li.active a,
.side-nav li a:hover {
  background: #fbecee;
  color: #9c1420;
}

.side-nav li.active a::before,
.side-nav li a:hover::before {
  height: 100%;
}

.jsjj-main .content-col {
  flex: 1;
  min-width: 0;
  padding: 0.4rem 0.3rem 0 0.24rem;
}

.teacher-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-template-rows: repeat(6, max(44px, 0.6rem));
  grid-auto-flow: column;
  column-gap: 0.8rem;
  row-gap: 0.24rem;
}

.teacher-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 100%;
  padding: 0 0.24rem 0 0.28rem;
  border-radius: 0.06rem;
  background: #f5f5f5;
  font-size: max(14px, 0.2rem);
  color: #555;
}

/* 覆盖 common.css 中 span 的 .16rem，姓名跟随卡片字号 */
.teacher-list .name {
  min-width: 0;
  font-size: inherit;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.teacher-list .arrow,
.side-nav .arrow {
  display: block;
  flex-shrink: 0;
  width: 0.12rem;
  height: 0.12rem;
  border-top: 1px solid currentColor;
  border-right: 1px solid currentColor;
  color: #b3b3b3;
  transform: rotate(45deg);
  transition: color 0.5s ease;
}

.side-nav li.active .arrow,
.side-nav li:hover .arrow {
  color: #9c1420;
}

.teacher-list li.active a,
.teacher-list li:hover a {
  background: #9c1420;
  color: #fff;
}

.teacher-list li.active .arrow,
.teacher-list li:hover .arrow {
  color: #fff;
}

/* 鼠标移入名单时，默认高亮项让位给当前悬停项 */
.teacher-list:hover li.active:not(:hover) a {
  background: #f5f5f5;
  color: #555;
}

.teacher-list:hover li.active:not(:hover) .arrow {
  color: #b3b3b3;
}

.jsjj-info-main .content-col {
  padding-top: 0.62rem;
}

.teacher-card {
  display: flex;
  align-items: flex-start;
  min-height: 2.95rem;
  padding: 0.35rem 0.35rem;
  background: #f4f4f4;
  border-radius: 0.06rem;
}

.teacher-photo {
  width: 1.77rem;
  height: 2.13rem;
  flex-shrink: 0;
  overflow: hidden;
}

.teacher-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.teacher-detail {
  flex: 1;
  min-width: 0;
  padding-left: 0.22rem;
}

.teacher-name {
  font-size: max(16px, 0.24rem);
  font-weight: bold;
  color: #333;
  line-height: 0.36rem;
}

.teacher-post {
  margin-top: 0.04rem;
  font-size: max(11px, 0.14rem);
  color: #9c1420;
  line-height: 0.24rem;
}

.teacher-desc {
  margin-top: 0.14rem;
  font-size: max(13px, 0.15rem);
  color: #444;
  line-height: 0.28rem;
  text-align: justify;
}

.info-main {
  background: #fff;
  padding: 0.67rem 0 1rem;
}

.info-main .wrapper {
  display: flex;
  align-items: flex-start;
}

.info-main .side-col {
  width: 2rem;
  flex-shrink: 0;
}

.info-main .content-col {
  flex: 1;
  min-width: 0;
  padding-left: 0.04rem;
}

.info-head {
  text-align: center;
  padding-bottom: 0.18rem;
  border-bottom: 1px dashed #eee;
}

.info-head .info-title {
  font-size: max(15px, 0.2rem);
  font-weight: bold;
  color: #333;
  line-height: 0.34rem;
}

.info-head .info-meta {
  margin-top: 0.06rem;
  font-size: max(11px, 0.12rem);
  color: #999;
  line-height: 0.24rem;
}

.info-content {
  padding: 0.35rem 0 1.1rem;
  text-align: center;
}

.info-content img {
  display: block;
  width: 6rem;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.info-nav p,
.info-nav a {
  display: block;
  font-size: max(12px, 0.14rem);
  color: #333;
  line-height: 0.38rem;
}

.info-nav a:hover {
  color: #9c1420;
}

.info-nav .none {
  font-size: inherit;
  color: #9c1420;
}

/* info 详情页响应式 */
@media (max-width: 800px) {
  .info-main {
    padding: 24px 0 40px;
  }

  .info-main .wrapper {
    flex-direction: column;
  }

  .info-main .side-col {
    display: none;
  }

  .info-main .content-col {
    width: 100%;
    padding-left: 0;
  }

  .info-head .info-title {
    font-size: 16px;
    line-height: 26px;
  }

  .info-head .info-meta {
    font-size: 11px;
    line-height: 20px;
  }

  .info-content {
    padding: 16px 0 32px;
  }

  .info-content img {
    width: 100%;
  }

  .info-nav p,
  .info-nav a {
    font-size: 13px;
    line-height: 28px;
  }
}

/* 响应式 - 中小屏 */
@media (max-width: 1400px) {
  .wrapper,
  .banner-bar {
    padding-left: 0.4rem;
    padding-right: 0.4rem;
  }
}

/* 响应式 - 移动端 */
@media (max-width: 800px) {
  .banner {
    height: 180px;
  }

  .banner-bar {
    padding: 0 0.2rem;
  }

  .banner-bar .side-title {
    width: 90px;
    height: 74px;
  }

  .banner-bar .side-title .txt {
    font-size: 15px;
  }

  .banner-bar .side-title .line {
    width: 22px;
    margin-top: 8px;
  }

  .banner-bar .breadnav {
    height: 40px;
    padding: 0 10px;
  }

  .list-main {
    padding: 16px 0 30px;
  }

  .list-main .wrapper {
    padding: 0 0.2rem;
    flex-direction: column;
  }

  .list-main .side-col {
    display: none;
  }

  .list-main .content-col {
    width: 100%;
    padding-left: 0;
  }

  .honor-list li {
    height: auto;
    min-height: 72px;
    margin-bottom: 10px;
  }

  .honor-list li a {
    flex-wrap: wrap;
    padding: 10px 12px;
  }

  .honor-list .date {
    width: 52px;
  }

  .honor-list .date .d {
    font-size: 20px;
  }

  .honor-list .date .m {
    font-size: 11px;
  }

  .honor-list .title {
    padding-left: 8px;
    font-size: 14px;
  }

  .honor-list .detail {
    height: 28px;
    margin-left: auto;
    font-size: 12px;
  }

  .paging {
    margin-top: 20px;
  }

  .paging .page-jump {
    display: none;
  }
}

/* jsjj 教师简介响应式 */
@media (max-width: 800px) {
  .jsjj-main {
    min-height: 0;
    padding: 10px 0 30px;
  }

  .jsjj-main .wrapper {
    flex-direction: column;
    padding: 0 0.2rem;
  }

  .jsjj-main .side-col {
    width: 100%;
    margin-bottom: 14px;
  }

  .side-nav {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    border-radius: 4px;
  }

  .side-nav li {
    flex: 1 0 50%;
  }

  .side-nav li a {
    height: 40px;
    padding: 0 12px;
    font-size: 13px;
  }

  .side-nav li a::before {
    display: none;
  }

  .jsjj-main .content-col {
    width: 100%;
    padding: 0;
  }

  .teacher-list {
    grid-template-columns: 1fr;
    grid-template-rows: none;
    grid-auto-flow: row;
    column-gap: 0;
    row-gap: 10px;
  }

  .teacher-list li a {
    height: 48px;
    padding: 0 14px;
    font-size: 14px;
  }

  .teacher-list .arrow,
  .side-nav .arrow {
    width: 8px;
    height: 8px;
  }

  .teacher-card {
    flex-direction: column;
    min-height: 0;
    padding: 12px;
  }

  .teacher-photo {
    width: 120px;
    height: 160px;
    margin-bottom: 12px;
    margin: 0 auto;
  }

  .teacher-detail {
    width: 100%;
    padding-left: 0;
  }

  .teacher-name {
    font-size: 18px;
    line-height: 28px;
  }

  .teacher-post {
    margin-top: 4px;
    font-size: 12px;
    line-height: 22px;
  }

  .teacher-desc {
    margin-top: 10px;
    font-size: 14px;
    line-height: 26px;
    text-align: left;
  }
}
