/* 学术团队部分样式 */
.team-section {
  padding: 56px 0;
  background-color: #fff;
}

.team-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.team-title {
  font-family: "OPPOSans";
  font-weight: 600;
  font-size: 32px;
  line-height: 1.4;
  color: #7c1419;
}

.team-underline {
  width: 66px;
  height: 6px;
  background-color: #7c1419;
  margin-top: 8px;
}

.university-section {
  margin-top: 38px;
  position: relative;
}

.university-section-scut {
  margin-top: 35px;
  position: relative;
}

.university-title {
  font-family: "OPPOSans";
  font-weight: 500;
  font-size: 24px;
  line-height: 1.4;
  color: #7c1419;
  margin-bottom: 12px;
}

.team-grid {
  display: flex !important;
  gap: 32px;
  flex-wrap: wrap;
}

.team-card {
  width: 276px !important;
  height: 496px !important;
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
  margin-right: 0 !important;
  flex-shrink: 0;
}

.team-card.animate {
  animation: fadeInUp 0.6s ease forwards;
}

.team-card:hover {
  transform: translateY(-5px);
  box-shadow: 0px 8px 15px rgba(0, 0, 0, 0.1);
}

.team-card:hover .team-card-image {
  transform: scale(1.05);
}

.team-card:hover .team-card-name::after {
  width: 100%;
}

.team-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.team-card-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 229px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.8) 100%
  );
  padding: 24px 18px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: end;
  transition: height 0.3s ease;
}

.team-card:hover .team-card-overlay {
  height: 231px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.9) 100%
  );
}

.team-card-name {
  font-family: "OPPOSans";
  font-weight: 600;
  font-size: 24px;
  line-height: 1.4;
  color: #ffffff;
  margin-bottom: 8px;
  position: relative;
  display: inline-block;
  width: fit-content;
}
.en-team-card-name{
font-size: 20px;
}

.team-card-name::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1.5px;
  background-color: #ffffff;
  transition: width 0.3s ease;
}

.team-card-title {
  font-family: "OPPOSans";
  font-weight: 500;
  font-size: 16px;
  line-height: 1.4;
  color: #ffffff;
}

.university-section .pagination-progress,
.university-section-scut .pagination-progress {
  display: flex;
  align-items: center;
  gap: 8px;
}

.university-section .progress-bar,
.university-section-scut .progress-bar {
  width: 584px;
  height: 2px;
  background: linear-gradient(90deg, #7c1419 0%, rgba(186, 23, 35, 0) 100%);
}

.university-section .progress-indicator,
.university-section-scut .progress-indicator {
  width: 60px;
  height: 8px;
  background: #7c1419;
}

.university-section .pagination-controls,
.university-section-scut .pagination-controls {
  display: flex;
  gap: 24px;
}

.university-section .control-button,
.university-section-scut .control-button {
  width: 48px !important;
  height: 48px !important;
  border: 1px solid #999999;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.polyu-team-swiper {
  margin-bottom: 82px;
}

.polyu-team-swiper-prev {
  bottom: 0 !important;
  right: 10px !important;
  left: 90% !important;
  top: 96% !important;
}
.polyu-team-swiper-next {
  bottom: 0 !important;
  right: 10px !important;
  left: 95% !important;
  top: 96% !important;
}

.scut-team-swiper {
  margin-bottom: 82px;
}

.scut-team-swiper-prev {
  bottom: 0 !important;
  right: 10px !important;
  left: 90% !important;
  top: 96% !important;
}
.scut-team-swiper-next {
  bottom: 0 !important;
  right: 10px !important;
  left: 95% !important;
  top: 96% !important;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.university-section .swiper-pagination,
.university-section-scut .swiper-pagination {
  text-align: left !important;
  top: 94% !important;
}

.university-section .swiper-pagination-bullet,
.university-section-scut .swiper-pagination-bullet {
  background: #ffffff;
  border-radius: 0 !important;
  width: 60px;
  height: 8px;
  flex-shrink: 0;
}
.university-section .swiper-pagination-bullet-active,
.university-section-scut .swiper-pagination-bullet-active {
  background: #7c1419;
  width: 60px;
  height: 8px;
  flex-shrink: 0;
}
.university-section .swiper-pagination::before,
.university-section-scut .swiper-pagination::before {
  content: "";
  background: linear-gradient(
    90deg,
    rgba(186, 23, 35, 0) 0.01%,
    #7c1419 15.87%,
    rgba(186, 23, 35, 0) 100%
  );
  width: 584px;
  height: 2px;
  flex-shrink: 0;
  display: block;
  position: absolute;
  top: 12px;
  left: 4px;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  display: none;
}
