.g-content {
  padding: 20px 0;
  background: #fff;
}

.m-lleaderleft {
  width: 916px;
  height: 410px;
}

.m-lleadername {
  width: 179px;
  text-align: center;
}

.m-lleadername img {
  display: block;
  width: 179px;
  margin: 0 auto;
  padding: 4px;
  border: 1px solid #ddd;
}

.m-lleadername p {
  line-height: 46px;
  font-size: 14px;
  color: #035ea5;
}

.m-lleadername span {
  line-height: 30px;
  font-size: 12px;
}

.m-lleaderdesc {
  width: 710px;
}

.u-lleaderti {
  width: 100%;
  height: 38px;
  line-height: 37px;
  border-bottom: 1px solid #ddd;
}

.u-lleaderti span {
  display: inline-block;
  padding: 0 18px;
  float: left;
  font-size: 16px;
  color: #355e92;
  font-weight: bold;
  border-bottom: 2px solid #355e92;
}

.m-lleaderfgbd {
  height: 180px;
  position: relative;
  margin: 6px 0 0 10px;
  font-size: 16px;
  line-height: 35px;
}

.m-lleaderfgbd p,
.m-lleaderjjbd p {
  line-height: 30px;
}

.m-lleaderjjbd {
  height: 140px;
  position: relative;
  margin: 6px 0 0 10px;
  font-size: 16px;
  line-height: 35px;
}

.m-lleaderright {
  width: 261px;
  height: auto;
  position: relative;
  overflow: hidden;
}

.m-lleaderright .hdE1 {
  width: 100%;
  height: 45px;
  zoom: 1;
  background: #dddddd;
}

.m-lleaderright .hdE1 a {
  display: block;
  width: 50%;
  height: 45px;
  line-height: 45px;
  text-align: center;
  font-size: 16px;
  color: #355e92;
  background: #dddddd;
  float: left;
}

.m-lleaderright .hdE1 a.on {
  background: #355e92;
  color: #fff;
}

.m-lleaderright .m-liftgE1 ul {
  padding: 10px;
}

.m-lleaderright .m-liftgE1 ul li {
  width: 100%;
  height: 33px;
  line-height: 33px;
  border-bottom: 1px dashed #ddd;
  float: left;
  font-size: 16px;
}

.m-lleaderright .m-liftgE1 ul li a {
  display: block;
  background: url(../img/i_icon.gif) left center no-repeat;
  text-indent: 25px;
}

.m-lleaderright .m-liftgE1 ul li.u-active a {
  color: #355e92;
  font-weight: bold;
}

.m-lleadership {
  margin: 20px 0;
}

.m-lleadership ul {
  padding: 6px 10px 0;
}

.m-lleaderimg {
  height: 242px;
}

.m-lleaderimg-bd {
  width: 1198px;
  height: 187px;
  margin-top: 15px;
  overflow: hidden;
}

.m-lleaderimg-bd ul li {
  width: 224px;
  height: 187px;
  text-align: center;
  float: left;
  margin-right: 10px;
}

.m-lleaderimg-bd ul li div {
  width: 224px;
  height: 155px;
  position: relative;
  overflow: hidden;
}

.m-lleaderimg-bd ul li img {
  width: 224px;
  height: 155px;
  display: block;
  -webkit-transform: scale(1.12);
  transform: scale(1.12);
  -webkit-transition:
    -webkit-transform 0.35s,
    opacity 0.35s;
  transition:
    transform 0.35s,
    opacity 0.35s;
}

.m-lleaderimg-bd ul li p {
  line-height: 32px;
}

.m-lleaderimg-bd ul li a:hover img {
  opacity: 0.8;
  -webkit-transform: scale(1);
  transform: scale(1);
}

/*标题 on*/
.m-titlestyle1 {
  width: 100%;
  height: 36px;
  line-height: 35px;
  border-bottom: 1px solid #ddd;
}

.m-titlestyle1 a,
.m-titlestyle1 span {
  display: inline-block;
  padding: 0 22px;
  font-size: 16px;
  color: #355e92;
  font-weight: bold;
  float: left;
  border-bottom: 2px solid #355e92;
}

.m-titlestyle2 {
  width: 100%;
  height: 40px;
  line-height: 40px;
  background: #f6f6f6;
}

.m-titlestyle2 a,
.m-titlestyle2 span {
  display: inline-block;
  padding: 0 23px;
  font-size: 16px;
  background: #355e92;
  color: #fff;
  font-weight: bold;
  float: left;
}

.m-titlestyle3 {
  width: 100%;
  height: 40px;
  line-height: 40px;
  background: #f6f6f6;
}

.m-titlestyle3 a,
.m-titlestyle3 span {
  display: inline-block;
  padding-left: 12px;
  font-size: 16px;
  color: #355e92;
  font-weight: bold;
  border-left: 4px solid #355e92;
  float: left;
}

/*标题 end*/

/*列表 on*/
.m-liststyle ul li {
  line-height: 33px;

  font:
    16px/2 "Microsoft YaHei",
    "微软雅黑";
}

.m-liststyle ul li a {
  padding-left: 14px;
}

.m-liststyle ul li span {
  font-size: 12px;
  color: #999;
  float: right;
}

/*列表 end*/
/* ========== 领导信息页移动端自适应 ========== */
@media screen and (max-width: 1024px) {
  /* 主容器自适应 */
  .g-content {
    padding: 10px;
  }

  /* 左侧领导信息区域：改为上下堆叠 */
  .m-lleaderleft {
    width: 100%;
    height: auto;
    float: none;
  }

  /* 头像区域 */
  .m-lleadername {
    width: 100%;
    float: none;
    text-align: center;
  }
  .m-lleadername img {
    width: 60%;
    max-width: 200px;
    margin: 0 auto;
  }

  /* 领导分工+简介区域 */
  .m-lleaderdesc {
    width: 100%;
    float: none;
    margin-top: 20px;
  }

  /* 右侧领导列表：移到左侧下方，改为横向滚动或网格 */
  .m-lleaderright {
    width: 100%;
    float: none;
    margin-top: 30px;
  }

  /* 右侧标签切换（县政府领导 / 乡镇领导）保持原有功能，但宽度自适应 */
  .m-lleaderright .hdE1 a {
    font-size: 14px;
  }

  /* 领导列表：改为两列网格（可选，也可保持单列） */
  .m-lleaderright .m-liftgE1 ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0 15px;
    padding: 10px 0;
  }
  .m-lleaderright .m-liftgE1 ul li {
    width: auto;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  /* 领导活动区域 */
  .m-lleadership {
    margin-top: 30px;
  }

  /* 领导活动列表：标题自适应，列表项右对齐时间改为换行 */
  .m-liststyle ul li {
    line-height: 1.6;
    font-size: 14px;
    padding: 8px 0;
    position: relative;
  }
  .m-liststyle ul li span {
    float: none;
    display: inline-block;
    margin-left: 10px;
    font-size: 12px;
  }
  .m-liststyle ul li a {
    display: block;
    padding-right: 10px;
  }

  /* 标题行样式微调 */
  .m-titlestyle2,
  .m-titlestyle3 {
    height: 45px;
    line-height: 1.5;
  }
  .m-titlestyle2 a,
  .m-titlestyle2 span,
  .m-titlestyle3 a,
  .m-titlestyle3 span {
    padding: 0 15px;
    font-size: 16px;
    height: 45px;
    line-height: 45px;
    width: 42%;
    text-align: center;
  }
}

/* 手机小屏（≤768px）进一步优化 */
@media screen and (max-width: 768px) {
  /* 领导分工/简介的滚动区域高度适当缩小 */
  .m-lleaderfgbd,
  .m-lleaderjjbd {
    height: auto;
    max-height: 200px;
    overflow-y: auto;
    font-size: 14px;
    line-height: 1.6;
  }

  /* 右侧领导列表改为单列，更易阅读 */
  .m-lleaderright .m-liftgE1 ul {
    grid-template-columns: 1fr;
  }
  .m-lleaderright .m-liftgE1 ul li {
    white-space: normal;
    text-overflow: clip;
  }

  /* 领导活动列表：时间放在标题下方或右侧 */
  .m-liststyle ul li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
  }
  .m-liststyle ul li span {
    order: 1;
    margin-left: 0;
  }
  .m-liststyle ul li a {
    order: 0;
    width: 100%;
    margin-bottom: 4px;
  }

  /* 标题字体略缩小 */
  .u-lleaderti span {
    font-size: 14px;
    padding: 0 12px;
  }
  .m-lleaderright .hdE1 a {
    font-size: 16px;
    font-weight: 600;
  }
}

/* 超小屏（≤480px） */
@media screen and (max-width: 480px) {
  .m-lleadername img {
    width: 80%;
  }
  .m-lleaderfgbd,
  .m-lleaderjjbd {
    font-size: 13px;
  }
  .m-liststyle ul li a {
    font-size: 13px;
  }
}
