@charset "utf-8";
 /* ===== 现代卡片布局 v7 - 照片统一尺寸 + 教师链接 ===== */
 .faculty-section {
  margin-bottom: 0.48rem;
}

.faculty-section-title {
  font-size: 0.22rem;
  color: #1a1a2e;
  font-weight: 700;
  margin: 0 0 0.28rem 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 0.12rem;
}

.faculty-section-title::before {
  content: "";
  display: block;
  width: 0.05rem;
  height: 0.26rem;
  background: linear-gradient(180deg, #2d6a4f 0%, #52b788 100%);
  border-radius: 0.03rem;
}

.faculty-count {
  color: #adb5bd;
  font-size: 0.14rem;
  font-weight: 400;
}

.faculty-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.24rem;
}

.faculty-list li {
  background: #ffffff;
  border-radius: 0.12rem;
  overflow: hidden;
  box-shadow: 0 0.02rem 0.12rem rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  border: 0.01rem solid #f1f3f5;
}

.faculty-list li:hover {
  transform: translateY(-0.06rem);
  box-shadow: 0 0.12rem 0.4rem rgba(0,0,0,0.1);
  border-color: #d8f3dc;
}
.faculty-list li:hover .faculty-name{color: #006b38;}
.faculty-list li:hover .faculty-title-badge{background: #006b38;}
/* ===== 照片区域 - 统一尺寸 + 装饰元素 ===== */
.faculty-photo-area {
  width: 100%;
  height: 2.55rem;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.2rem;
  box-sizing: border-box;
  position: relative;
  flex-shrink: 0;
  overflow: hidden;
  background:
      radial-gradient(circle, rgba(0,0,0,0.03) 0.01rem, transparent 0.01rem),
      radial-gradient(circle, rgba(0,0,0,0.03) 0.01rem, transparent 0.01rem),
      linear-gradient(180deg, #f8f9fa 0%, #e9ecef 100%);
  background-size: 0.2rem 0.2rem, 0.2rem 0.2rem, 100% 100%;
  background-position: 0 0, 0.1rem 0.1rem, 0 0;
}

/* 装饰圆环 - 右上 */
.faculty-photo-area::before {
  content: "";
  position: absolute;
  top: -0.4rem;
  right: -0.4rem;
  width: 1.2rem;
  height: 1.2rem;
  border: 0.03rem solid rgba(45, 106, 79, 0.12);
  border-radius: 50%;
  z-index: 0;
}

/* 装饰实心圆 - 左下 */
.faculty-photo-area::after {
  content: "";
  position: absolute;
  bottom: -0.25rem;
  left: -0.25rem;
  width: 0.8rem;
  height: 0.8rem;
  background: rgba(82, 183, 136, 0.08);
  border-radius: 50%;
  z-index: 0;
}

/* 职称色条 */
.faculty-photo-area .title-bar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 0.04rem;
  z-index: 2;
}

.faculty-photo-area.professor .title-bar { background: linear-gradient(90deg, #006b38, #046e3b); }
.faculty-photo-area.associate .title-bar { background: linear-gradient(90deg, #006b38, #046e3b); }
.faculty-photo-area.lecturer .title-bar { background: linear-gradient(90deg, #006b38, #046e3b); }
.faculty-photo-area.special .title-bar { background: linear-gradient(90deg, #006b38, #046e3b); }

/* 装饰弧线 */
/* .faculty-photo-area .deco-arc {
  position: absolute;
  top: 0.2rem;
  left: 0.1rem;
  width: 0.4rem;
  height: 0.4rem;
  border-left: 0.02rem solid rgba(45, 106, 79, 0.1);
  border-top: 0.02rem solid rgba(45, 106, 79, 0.1);
  border-radius: 0.4rem 0 0 0;
  z-index: 0;
} */

/* 装饰小方块 */
.faculty-photo-area .deco-dot {
  position: absolute;
  bottom: 0.3rem;
  right: 0.2rem;
  width: 0.08rem;
  height: 0.08rem;
  background: rgba(82, 183, 136, 0.2);
  border-radius: 0.02rem;
  transform: rotate(45deg);
  z-index: 0;
}

/* ===== 照片统一尺寸容器 ===== */
.faculty-photo-frame {
  width: 1.6rem;
  height: 2.05rem;
  border-radius: 0.08rem;
  overflow: hidden;
  box-shadow: 0 0.04rem 0.16rem rgba(0,0,0,0.12);
  position: relative;
  z-index: 1;
  background: #f0f0f0;
  flex-shrink: 0;
}

.faculty-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.3s ease;
}

.faculty-list li:hover .faculty-photo-frame img {
  transform: scale(1.05);
}

/* 照片链接 */
.faculty-photo-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
  position: relative;
  z-index: 1;
}

/* 信息区域 */
.faculty-info {
  padding: 0.2rem 0.22rem 0.24rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  background: #fff;
  position: relative;
}

.faculty-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0.4rem;
  height: 0.02rem;
  background: linear-gradient(90deg, transparent, #dee2e6, transparent);
}

/* 姓名链接 */
.faculty-name-link {
  text-decoration: none;
  color: inherit;
  transition: color 0.2s ease;
}

.faculty-name-link:hover {
  color: #2d6a4f;
}

.faculty-name {
  font-size: 0.2rem;
  font-weight: 700;
  color: #212529;
  margin-bottom: 0.06rem;
  letter-spacing: 0.01rem;
}

.faculty-title-badge {
  display: inline-block;
  padding: 0.03rem 0.12rem;
  border-radius: 0.16rem;
  font-size: 0.16rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 0.14rem;
  letter-spacing: 0.005rem;
}

.faculty-title-badge.professor { background: #be9b61 ; }
.faculty-title-badge.associate { background: #be9b61 ; }
.faculty-title-badge.lecturer { background: #be9b61 ; }
.faculty-title-badge.special { background: #be9b61 ; }

/* 研究方向 */
.faculty-research {
  font-size: 0.16rem;
  color: #6c757d;
  line-height: 1.7;
  margin-top: auto;
  padding-top: 0.12rem;
  border-top: 0.01rem solid #e9ecef;
  width: 100%;
  text-align: left;
}

.faculty-research-label {
  color: #adb5bd;
  font-weight: 600;
  font-size: 0.11rem;
  display: block;
  margin-bottom: 0.04rem;
  text-transform: uppercase;
  letter-spacing: 0.005rem;
}

/* 响应式 */
@media (max-width: 640px) {
  .faculty-list {
      grid-template-columns: repeat(2, 1fr);
      gap: 0.16rem;
  }
  .faculty-section-title {
      font-size: 0.18rem;
  }
  .faculty-photo-area {
      height: 2.3rem;
      padding: 0.14rem;
  }
  .faculty-photo-frame {
      width: 1.35rem;
      height: 1.75rem;
  }
  .faculty-name {
      font-size: 0.16rem;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  .faculty-list {
      grid-template-columns: repeat(3, 1fr);
  }
  .faculty-photo-area {
      height: 2.45rem;
  }
  .faculty-photo-frame {
      width: 1.5rem;
      height: 1.95rem;
  }
}