/* ==========================================================================
   leader.css —— 领导班子
   已按 xrldcsy.htm（现任领导测试页）实际 DOM 清理死代码
   清理内容：.item 行式布局、.dea 详情页、.v_news_content、空规则、注释残留
   保留内容：.leader-box / .panel-title / .leader-card（均为页面在用）
   ========================================================================== */


/* ==========================================================================
   一、板块容器 .leader-box（背景、双列布局）
   ========================================================================== */

.leader-box {
  background: url(../images/u/ldbg.jpg) no-repeat bottom center;
  background-size: cover;
  padding: 56px 0;
  min-height: 400px;
}

.leader-box .flex {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.leader-box dl {
  width: 49%;
  max-width: 681px;
}

.leader-box dl dt img {
  width: 100%;
  display: block;
}


/* ==========================================================================
   二、面板横幅标题（图片 + 叠加文字）
   ========================================================================== */

.panel-title {
  position: relative;
}

.panel-title img {
  display: block;
  width: 100%;
}

.panel-title span {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  color: #fff;
  font-size: 26px;
  font-weight: bold;
  letter-spacing: 3px;
  z-index: 1;
}


/* ==========================================================================
   三、领导卡片
   ========================================================================== */

.leader-card {
  background-image: linear-gradient(90deg, #f6e8e8 0%, #ffffff 50%, #f6e8e8 100%);
  border-radius: 6px 80px 80px 6px;     /* 左平右圆 */
  position: relative;
  overflow: hidden;
  margin-top: 8px;
}

/* 悬停：红色从左往右扫满 */
.leader-card::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background: #aa0018;
  transition: 0.5s all;
  z-index: 0;
}

.leader-card:hover::after {
  width: 100%;
}

.leader-card a {
  display: flex;
  align-items: flex-start;
  padding: 8px 30px 8px 8px;
  position: relative;
  z-index: 1;
  text-decoration: none;
}

.leader-card .photo {
  width: 128px;
  height: 169px;
  margin-right: 15px;
  flex-shrink: 0;
}

.leader-card .photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.leader-card .info {
  flex: 1;
  min-width: 0;
}

/* ---------- 姓名行 ---------- */
.leader-card .head {
  display: flex;
  align-items: baseline;
  gap: 10px;
  padding-bottom: 8px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(134, 0, 0, 0.3);
  transition: 0.3s all;
}

.leader-card .head h3 {
  margin: 0;
  font-size: 18px;
  color: #333;
  transition: 0.3s all;
}

.leader-card .head span {
  font-size: 13px;
  color: #999;
  transition: 0.3s all;
}

/* ---------- 分工正文 ---------- */
.leader-card .info p {
  margin: 0;
  font-size: 14px;
  line-height: 26px;
  color: #333;
  transition: 0.3s all;
}

/* ---------- 悬停态：文字转白 ---------- */
.leader-card:hover .head h3 {
  color: #fff;
}

.leader-card:hover .head span {
  color: rgba(255, 255, 255, 0.8);
}

.leader-card:hover .head {
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

.leader-card:hover .info p {
  color: #fff;
}


/* ==========================================================================
   四、响应式
   ========================================================================== */

@media (max-width: 1024px) {
  .leader-box {
    padding: 15px 0;
    min-height: inherit;
  }
  .leader-box dl {
    width: 100%;
    max-width: inherit;
    margin-bottom: 15px;
  }
}