/* ============================================================
 * pages/about/leaders.css  公司领导页样式
 * @author sctjsj.com  @date 2026
 * ========================================================== */

/* -------------------- Banner -------------------- */
.page-about-leaders .about-banner {
  background-image: url('../images/about/about_banner@2x.webp');
}
.page-about-leaders .about-banner::after {
  background: linear-gradient(180deg, rgba(7, 30, 77, .66), rgba(7, 30, 77, .5));
}
.inner-banner__slash {
  color: var(--color-primary);
  margin-right: 6px;
}
.caddr__head{
  margin-top:6rem;
}

/* -------------------- 区块容器 -------------------- */
.leaders {
  position: relative;
  padding: 0 6.25rem;
}
.leaders__head {
  margin-bottom: var(--sp-6);
  text-align: center;
}

/* ============================================================
 * 主区域：视觉上 左文 + 右图
 * DOM 顺序：photo 在前、text 在后
 * ========================================================== */
.leaders__hero {
  position: relative;
  display: flex;
  flex-direction: row-reverse;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--sp-10);
  background: transparent;
  padding: 0;
  overflow: visible;
  margin-bottom: var(--sp-8);
}

/* -------- 右侧：图片区 -------- */
.leaders__hero-photo {
  position: relative;
  flex: none;
  width: 100%;
  height: 26.88rem;
  margin: 60px 0 0;
  background: linear-gradient(180deg, #e8f0fe 0%, #d4e4fc 100%);
  display: flex;
  overflow: visible;
  padding: 0;
  border-radius: 0;
}
.leaders__hero-photo img {
  position: absolute;
  right: 2.75rem;
  bottom: 0;
  z-index: 99;
  width: 30rem;
  height: 29.38rem;
}

/* 蓝块内底部：姓名 / 职位 / 徽章 */
.leaders__photo-caption {
  z-index: 3;
  width: 67%;
  padding: var(--sp-4) var(--sp-5) var(--sp-6);
  text-align: left;
  margin-top: 9.13rem;
  margin-left: 9rem;
}
.leaders__photo-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 6px;
}
.leaders__photo-title {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: var(--sp-4);
}
.leaders__photo-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
}
.leaders__badge-icon {
  width: 26px;
  height: 26px;
  background: #dc2626;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
}
.leaders__badge-text { text-align: left; }
.leaders__badge-title {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #dc2626;
}
.leaders__badge-sub {
  display: block;
  font-size: 11px;
  color: #999;
}

/* -------- 左侧：文字区 -------- */
.leaders__hero-text {
  position: relative;
  flex: 1 1 auto;
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.leaders__hero-title {
  position: relative;
  display: block;
  margin: 0 0 var(--sp-6);
  padding: 0 20px;
  font-size: clamp(28px, 3vw, 40px);
  font-weight: 700;
  color: var(--text-main);
  line-height: 1.4;
}

.leaders__quote-mark {
  vertical-align: middle;
  opacity: .9;
  font-family: PFDinTextCompPro;
  font-weight: normal;
  font-size: 5rem;
  color: #1E4EB4;
}
.leaders__quote-mark:first-child { margin-right: 6px; }
.leaders__quote-mark:last-child  { margin-left: 6px; }

.leaders__hero-title p {
  position: relative;
  display: inline-block;
}
.leaders__hero-title p::before {
  content: "“";
  position: absolute;
  left: -5.3rem;
  top: -5.3rem;
  font-family: PFDinTextCompPro;
  font-weight: normal;
  font-size: 5rem;
  color: #1E4EB4;
}
.leaders__hero-title p::after {
  content: "”";
  position: absolute;
  right: -60px;
  bottom: -107px;
  text-align: end;
  font-family: PFDinTextCompPro;
  font-weight: normal;
  font-size: 5rem;
  color: #1E4EB4;
}

.leaders__hero-divider {
  height: 1px;
  background: #e5e7eb;
  margin: 0 0 var(--sp-4);
}

.leaders__photo-caption > div:not(.leaders__photo-badge) {
  font-family: PingFang;
  font-weight: 500;
  font-size: 1.13rem;
  color: #333333;
  line-height: 2.5rem;
  text-align: end;
  margin-top: 5rem;
}

.leaders__hero-text > * {
  color: var(--text-sub);
  line-height: 2;
}

.lazyimg {
  position: absolute;
  right: 2.75rem;
  bottom: 0;
  width: 30rem;
  height: 118%;
  max-height: none;
  object-fit: contain;
  object-position: bottom center;
  background: none;
  z-index: 2;
  pointer-events: none;
}

.leaders__chap {
  position: relative;
  margin: var(--sp-6) 0 var(--sp-3);
  padding-left: 0;
  font-size: var(--fs-md);
  font-weight: 700;
  color: var(--color-primary);
  text-indent: 0em !important;
}
.leaders__hero-text p { text-indent: 2em; }

.leaders__chap::before {
  content: '';
  color: var(--color-primary);
  background-image: url('../images/about/a.png');
  margin-right: 6px;
  width: 16px;
  height: 16px;
  display: inline-block;
  vertical-align: middle;
  background-size: contain;
  background-repeat: no-repeat;
}

.leaders__para {
  color: var(--text-sub);
  line-height: 2;
  margin-bottom: var(--sp-4);
  text-align: justify;
}

/* -------------------- 右下装饰图 -------------------- */
.leaders__deco {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 55.88rem;
  height: 37.75rem;
  opacity: .9;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 40%);
  mask-image: linear-gradient(180deg, transparent, #000 40%);
}
.leaders__deco .lazyimg { right: 0 !important; }
.leaders__deco img { width: 100%; }

/* ============================================================
 * 平板 / 小桌面：1024 以下
 * ========================================================== */
@media (max-width: 1024px) {
  .leaders__hero {
    gap: var(--sp-6);
  }
  .leaders__hero-photo {
    width: 300px;
    min-height: 360px;
  }
  .leaders__hero-title {
    font-size: 30px;
  }
  .leaders__deco {
    display: none;
  }
}
@media (max-width: 500px) {
   .leaders__hero-photo {
    flex-direction: row !important;
    align-items: flex-start;
    gap: 1rem;
  }
    .leaders__hero-photo img {
 width: 5rem !important;
        height: auto !important;
    }
  .leaders__photo-caption {
    flex: 1 1 auto;
    width: auto;
    margin-top: 0 !important;
  }
  .leaders { padding: 0 1rem; }
  .leaders__head { margin-bottom: 1rem; }

  .leaders__hero {
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
  }

  /* 蓝块：上下留白 */
  .leaders__hero-photo {
    width: 100%;
    height: auto;
    min-height: 0;
    margin: 30px auto 0;

  }

  /* 人物照片：缩小居中 */
    .leaders__hero-photo img {
        width: 55%;
        height: auto;
        margin: 0.5rem auto -1rem;
        padding: 0;
        right: 10%;
        top: -55%;
        bottom: 0;
        display: block;
    }

  /* 文字框：内边距 + 浅底，像在框里 */
  .leaders__photo-caption {
    width: calc(100% - 2rem);
    margin: 0 auto;
    padding: 1rem 1.25rem 1.25rem;
    border-radius: 0.5rem;
    box-sizing: border-box;
    text-align: left;
  }

  .leaders__photo-name { font-size: 1rem; margin-bottom: 4px; }
  .leaders__photo-title { font-size: 0.75rem; margin-bottom: 0.75rem; }

  .leaders__photo-badge {
    padding: 4px 10px;
    gap: 6px;
  }
  .leaders__badge-icon { width: 1.25rem; height: 1.25rem; font-size: 0.6875rem; }
  .leaders__badge-title { font-size: 0.6875rem; }
  .leaders__badge-sub   { font-size: 0.625rem; }

  .leaders__photo-caption > div:not(.leaders__photo-badge) {
    text-align: left;
    font-size: 0.875rem;
    line-height: 1.8;
    margin-top: 1rem;
  }

  /* 以下是原样保留的文字区样式 */
  .leaders__hero-text { max-width: 100%; padding: 0 0.25rem; }

  .leaders__hero-title {
    font-size: 1.25rem;
    line-height: 1.5;
    margin: 1rem 1rem;
    width: 60%;
    
    padding: 0 0.75rem;
  }
  .leaders__hero-title p::before {
    left: -1.75rem;
    top: -1.75rem;
    font-size: 2.5rem;
  }
  .leaders__hero-title p::after {
    right: -1.25rem;
    bottom: -3rem;
    font-size: 2.5rem;
  }
  .leaders__quote-mark { font-size: 2.5rem; }
  .leaders__hero-divider { margin-bottom: 1rem; }
  .leaders__chap { margin: 1.5rem 0 0.5rem; font-size: 1rem; }
  .leaders__chap::before { width: 14px; height: 14px; margin-right: 4px; }
  .leaders__para { font-size: 0.9375rem; line-height: 1.9; margin-bottom: 1rem; text-align: justify; }
  .leaders__deco { display: none; }
}