/* =============================================================================
   师资团队页（lists_single_team.htm）
   依赖：style.css :root 与 .container
   ============================================================================= */

.page-faculty-team .ft-main {
  padding-top: 0;
}

/* -----------------------------------------------------------------------------
   Hero + 面包屑（深色遮罩 + 白字）
   ----------------------------------------------------------------------------- */
.ft-hero {
  position: relative;
}

.ft-hero-banner {
  position: relative;
  height: 500px;
  overflow: hidden;
  background: #0a1628;
}

.ft-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.ft-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(6, 18, 40, 0.88) 0%,
    rgba(6, 18, 40, 0.52) 50%,
    rgba(6, 18, 40, 0.35) 100%
  );
  pointer-events: none;
}

.ft-hero-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.ft-hero-copy {
  max-width: min(580px, 94vw);
  padding: 28px 0 36px;
}

.ft-hero-title {
  margin: 0 0 18px;
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #fff;
  line-height: 1.15;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.25);
}

.ft-hero-lead {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.92);
}

.ft-breadcrumb {
  background: var(--zg-gray-100);
  border-bottom: 1px solid var(--zg-border);
}

.ft-breadcrumb-inner {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 10px;
  padding: 12px 0 13px;
  font-size: 13px;
}

.ft-bc-link {
  color: var(--zg-text-secondary);
  transition: color 0.2s;
}

.ft-bc-link:hover {
  color: var(--zg-blue);
}

.ft-bc-sep {
  color: #b0b6bf;
}

.ft-bc-muted {
  color: var(--zg-text-muted);
}

.ft-bc-current {
  color: var(--zg-text);
  font-weight: 600;
}

/* -----------------------------------------------------------------------------
   通用区块
   ----------------------------------------------------------------------------- */
.ft-section {
  padding: clamp(56px, 8vw, 92px) 0 clamp(60px, 8.5vw, 96px);
}

.ft-surface-white {
  background: var(--zg-white);
}

.ft-surface-faculty {
  position: relative;
  background: linear-gradient(180deg, #e8eef6 0%, var(--zg-gray-50) 55%, #f3f5f8 100%);
}

.ft-surface-faculty::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 120px;
  pointer-events: none;
  opacity: 0.45;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 120' preserveAspectRatio='none'%3E%3Cpath fill='%23aabdd4' d='M0 80L160 65 340 90 520 55 700 85 880 52 1060 78 1240 62 1440 70V120H0z'/%3E%3C/svg%3E")
    center bottom / 100% 100% no-repeat;
}

.ft-en {
  margin: 0 0 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: var(--zg-blue);
  text-transform: uppercase;
}

.ft-h2 {
  margin: 0 0 14px;
  font-size: clamp(22px, 2.8vw, 30px);
  font-weight: 800;
  color: var(--zg-text);
  line-height: 1.25;
}

.ft-h2--center {
  text-align: center;
}

.ft-section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(32px, 4.5vw, 44px);
}

.ft-lead {
  margin: 0 0 24px;
  font-size: 15px;
  line-height: 1.85;
  color: #5c6370;
}

.ft-sublead {
  margin: 0;
  font-size: 15px;
  line-height: 1.8;
  color: #5c6370;
}

/* -----------------------------------------------------------------------------
   师资建设原则：双栏
   ----------------------------------------------------------------------------- */
.ft-principles-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
  gap: clamp(28px, 4vw, 48px);
  align-items: start;
}

.ft-principles-fig {
  margin: 0;
}

.ft-principles-img {
  width: 100%;
  border-radius: var(--zg-radius-lg);
  box-shadow: var(--zg-shadow-card);
  object-fit: cover;
  aspect-ratio: 5 / 4;
  display: block;
}

.ft-principles-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.ft-principles-item {
  padding-bottom: 20px;
  border-bottom: 1px solid var(--zg-border);
}

.ft-principles-item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.ft-principles-h {
  margin: 0 0 8px;
  font-size: 17px;
  font-weight: 800;
  color: var(--zg-text);
}

.ft-principles-p {
  margin: 0;
  font-size: 14px;
  line-height: 1.75;
  color: #5c6370;
}

/* -----------------------------------------------------------------------------
   经验型讲师：coverflow + 左右箭头 + 下方简介
   ----------------------------------------------------------------------------- */
.ft-faculty-stage {
  position: relative;
  max-width: min(900px, 100%);
  margin: 0 auto 20px;
  padding: 12px 56px 4px;
}

.ft-faculty-swiper {
  width: 100%;
  padding: 8px 0;
  overflow: hidden;
  box-sizing: border-box;
}

.ft-faculty-slide {
  width: 168px;
  height: auto;
  text-align: center;
  transition: opacity 0.35s ease, transform 0.35s ease;
  opacity: 0.45;
  transform: scale(0.88);
}

.ft-faculty-slide.swiper-slide-active {
  opacity: 1;
  transform: scale(1);
}

.ft-faculty-portrait {
  margin: 0 auto;
  width: 100%;
  max-width: 168px;
  aspect-ratio: 1;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #fff;
  box-shadow: 0 12px 40px rgba(15, 35, 70, 0.12);
  background: #dfe5ee;
}

.ft-faculty-portrait img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ft-faculty-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  color: var(--zg-text-secondary);
  box-shadow: 0 4px 18px rgba(15, 35, 70, 0.1);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s, box-shadow 0.2s;
  z-index: 3;
}

.ft-faculty-prev {
  left: 6px;
}

.ft-faculty-next {
  right: 6px;
}

.ft-faculty-nav:hover {
  color: var(--zg-blue);
  box-shadow: 0 6px 22px rgba(13, 110, 220, 0.18);
}

.ft-faculty-nav.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.ft-faculty-detail {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  padding: 28px 24px 8px;
  border-top: 1px solid var(--zg-border);
}

.ft-faculty-name {
  margin: 0 0 14px;
  font-size: clamp(20px, 2.4vw, 26px);
  font-weight: 800;
  color: var(--zg-text);
}

.ft-faculty-bio {
  margin: 0;
  font-size: 15px;
  line-height: 1.9;
  color: #5c6370;
  text-align: left;
  white-space: pre-line;
}

.ft-faculty-bio[hidden] {
  display: none;
}

.ft-faculty-role {
  margin: 0 0 16px;
  font-size: 15px;
  font-weight: 600;
  color: var(--zg-blue);
}

.ft-faculty-bullets {
  margin: 0 0 22px;
  padding: 0 0 0 1.2em;
  text-align: left;
  display: inline-block;
  max-width: 100%;
  font-size: 14px;
  line-height: 1.75;
  color: #5c6370;
}

.ft-faculty-bullets li {
  margin-bottom: 8px;
}

.ft-faculty-bullets li:last-child {
  margin-bottom: 0;
}

.ft-faculty-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  background: var(--zg-blue);
  border-radius: 999px;
  transition: background 0.2s, box-shadow 0.2s;
}

.ft-faculty-cta:hover {
  background: var(--zg-blue-hover);
  box-shadow: 0 6px 20px rgba(13, 110, 220, 0.28);
}

/* -----------------------------------------------------------------------------
   实训现场轮播
   ----------------------------------------------------------------------------- */
.ft-scene-wrap {
  position: relative;
  max-width: none;
  width: 100%;
}

.ft-scene-swiper {
  border-radius: var(--zg-radius-lg);
  overflow: hidden;
  box-shadow: var(--zg-shadow-float);
}

.ft-scene-swiper .swiper-slide {
  width: 84%;
  max-width: 640px;
}

@media (min-width: 768px) {
  .ft-scene-swiper .swiper-slide {
    width: 58%;
    max-width: 720px;
  }
}

.ft-scene-slide {
  border-radius: var(--zg-radius-lg);
  overflow: hidden;
  box-shadow: var(--zg-shadow-float);
}

.ft-scene-slide img {
  display: block;
  width: 100%;
  height: clamp(220px, 42vw, 420px);
  object-fit: cover;
}

.ft-scene-pagination {
  position: relative !important;
  margin-top: 18px !important;
  text-align: center;
}

.ft-scene-pagination .swiper-pagination-bullet {
  background: rgba(13, 110, 220, 0.35);
  opacity: 1;
}

.ft-scene-pagination .swiper-pagination-bullet-active {
  background: var(--zg-blue);
}

/* -----------------------------------------------------------------------------
   响应式
   ----------------------------------------------------------------------------- */
@media (max-width: 991px) {
  .ft-principles-grid {
    grid-template-columns: 1fr;
  }

  .ft-principles-fig {
    order: -1;
  }
}

@media (max-width: 767px) {
  .ft-hero-inner {
    align-items: flex-end;
  }

  .ft-faculty-stage {
    padding-left: 48px;
    padding-right: 48px;
  }

  .ft-faculty-nav {
    width: 36px;
    height: 36px;
  }

  .ft-faculty-slide {
    width: 56vw;
    max-width: 200px;
  }

  .ft-faculty-portrait {
    max-width: 56vw;
  }

  .ft-faculty-swiper {
    padding-bottom: 12px;
  }

  .ft-faculty-detail {
    padding: 22px 16px 4px;
  }

  .ft-faculty-bio {
    font-size: 14px;
    line-height: 1.85;
  }
}

@media (max-width: 480px) {
  .ft-faculty-stage {
    padding-left: 44px;
    padding-right: 44px;
  }
}
