@charset "utf-8";
/* 正文裸表格统一美化 —— 给正文 table 加 class="wbtbl" 即生效
   规范：藏青表头 #1c3f6e / 浅蓝分组条 #eef3fa / 斑马纹 #f7f9fc / 细线 #e6ebf2
   选择器统一加 body 前缀，确保覆盖模板内联样式与 main.css 同名规则 */
body table.wbtbl {
  width: 100% !important;
  max-width: 860px !important;
  table-layout: auto !important;
  border-collapse: collapse !important;
  border: 0 !important;
  margin: 0 auto 26px !important;
  font-family: 'Microsoft YaHei', '微软雅黑', sans-serif !important;
  font-size: 15px !important;
  color: #2c3e50 !important;
  background: #fff !important;
}
body table.wbtbl td,
body table.wbtbl th {
  padding: 12px 14px !important;
  line-height: 1.75 !important;
  border: 0 !important;
  border-bottom: 1px solid #e6ebf2 !important;
  text-align: center !important;
  vertical-align: middle !important;
  background-color: transparent !important;
  white-space: normal !important;
  word-break: break-word !important;
  font-weight: 400 !important;
}
body table.wbtbl tr:first-child td {
  border-top: 1px solid #e6ebf2 !important;
}
body table.wbtbl tr:nth-child(even) td {
  background-color: #f7f9fc !important;
}
body table.wbtbl tr:last-child td {
  border-bottom: 1px solid #e6ebf2 !important;
}
body table.wbtbl td:first-child {
  color: #1c3f6e !important;
  font-weight: 700 !important;
}
body table.wbtbl td:last-child {
  text-align: center !important;
}
/* 两列表格（序号 + 名称）：名称列左对齐，长文本更整齐 */
body table.wbtbl td:nth-child(2):last-child {
  text-align: left !important;
}
body table.wbtbl td:nth-child(2):last-child p {
  text-align: left !important;
}
/* 跨列的分组标题行 —— 自动变成浅蓝标题条 */
body table.wbtbl td[colspan] {
  width: auto !important;
  white-space: normal !important;
  background-color: #eef3fa !important;
  color: #1c3f6e !important;
  font-weight: 700 !important;
  text-align: center !important;
  letter-spacing: .5px !important;
  font-size: 16px !important;
}
/* 屏蔽 Word 粘贴残留的内联字号/字体，避免把表格撑破 */
body table.wbtbl p {
  margin: 0 !important;
  line-height: inherit !important;
  text-align: inherit !important;
}
body table.wbtbl td[colspan] p {
  text-align: center !important;
}
body table.wbtbl span,
body table.wbtbl font,
body table.wbtbl p,
body table.wbtbl div,
body table.wbtbl b,
body table.wbtbl strong,
body table.wbtbl a {
  font-size: inherit !important;
  font-family: inherit !important;
  line-height: inherit !important;
}
body table.wbtbl td[colspan] span,
body table.wbtbl td[colspan] strong,
body table.wbtbl td[colspan] b {
  font-size: 16px !important;
  color: #1c3f6e !important;
  font-weight: 700 !important;
}
body table.wbtbl td[colspan] {
  padding-top: 14px !important;
  padding-bottom: 14px !important;
}
body table.wbtbl img {
  max-width: 100% !important;
  height: auto !important;
}

/* 表头行 —— 由全站脚本自动识别（首行为「序号/姓名/单位/支部名称」等无数字表头） */
body table.wbtbl tr.wbtbl-head td {
  background-color: #1c3f6e !important;
  color: #fff !important;
  font-weight: 700 !important;
  text-align: center !important;
  font-size: 15px !important;
  letter-spacing: .5px !important;
  border-bottom: 1px solid #1c3f6e !important;
  width: auto !important;
  white-space: nowrap !important;
}
body table.wbtbl tr.wbtbl-head td span,
body table.wbtbl tr.wbtbl-head td strong,
body table.wbtbl tr.wbtbl-head td b,
body table.wbtbl tr.wbtbl-head td p {
  color: #fff !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  text-align: center !important;
}
body table.wbtbl tr.wbtbl-head + tr td {
  background-color: #fff !important;
}

/* ===== 移动端补充（首页焦点图缩放由全站脚本按视口宽度计算） ===== */
@media screen and (max-width: 768px) {
  /* 首页「机关服务质量好差评」二维码浮层：缩到右下角，避免遮挡 banner */
  #adu0 {
    position: fixed !important;
    left: auto !important;
    right: 10px !important;
    top: auto !important;
    bottom: 10px !important;
    width: 92px !important;
    height: auto !important;
    z-index: 9999 !important;
    opacity: .92;
  }
  #adu0 img {
    width: 100% !important;
    height: auto !important;
    max-width: 92px !important;
  }
  /* 焦点图外层容器不吃出屏幕 */
  .banner {
    max-width: 100% !important;
    overflow: hidden !important;
  }
}

/* 短内容单元格（序号、姓名、2~5 字）不换行，避免被挤成一字一行 */
body table.wbtbl td.wb-nw {
  white-space: nowrap !important;
}
@media screen and (max-width: 768px) {
  body table.wbtbl {
    font-size: 13px !important;
  }
  body table.wbtbl td,
  body table.wbtbl th {
    padding: 9px 7px !important;
    font-size: 13px !important;
  }
  body table.wbtbl tr.wbtbl-head td,
  body table.wbtbl tr.wbtbl-head td span,
  body table.wbtbl tr.wbtbl-head td strong {
    font-size: 13px !important;
  }
  body table.wbtbl td[colspan] span,
  body table.wbtbl td[colspan] strong,
  body table.wbtbl td[colspan] {
    font-size: 14px !important;
  }
}

/* 移动端表格：固定布局，保证绝不超出屏幕 */
@media screen and (max-width: 768px) {
  body table.wbtbl {
    table-layout: fixed !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }
  body table.wbtbl td:first-child:nth-last-child(2) {
    width: 64px !important;
  }
  body table.wbtbl td:first-child:not(:nth-last-child(2)):not(:nth-last-child(1)) {
    width: 52px !important;
  }
  body table.wbtbl td[colspan] {
    width: auto !important;
  }
}

/* ===== 党委委员卡片（机关与直属单位党委委员及分工） ===== */
.wyc-wrap {
  max-width: 860px !important;
  margin: 0 auto 34px !important;
  font-family: 'Microsoft YaHei', '微软雅黑', sans-serif !important;
}
.wyc-title {
  background: #1c3f6e;
  color: #fff;
  text-align: center;
  padding: 15px 12px;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 10px 10px 0 0;
  line-height: 1.6;
}
.wyc {
  background: #fff;
  border: 1px solid #e6ebf2;
  border-top: 0;
  padding: 20px 26px 20px 26px;
  box-sizing: border-box;
}
.wyc:last-child {
  border-radius: 0 0 10px 10px;
  box-shadow: 0 3px 14px rgba(28, 63, 110, .08);
}
.wyc + .wyc {
  border-top: 1px dashed #e6ebf2;
}
/* 头部：姓名 + 职务同一行 */
.wyc-h {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 14px;
  padding: 0 0 13px 0;
  margin: 0 0 12px 0;
  border-bottom: 1px solid #eef3fa;
}
.wyc-n {
  font-size: 21px;
  font-weight: 700;
  color: #1c3f6e;
  letter-spacing: 1px;
  line-height: 1.3;
  white-space: nowrap;
  border-left: 4px solid #1c3f6e;
  padding-left: 12px;
}
.wyc-p {
  font-size: 14.5px;
  color: #5c718f;
  line-height: 1.6;
}
/* 信息行：标签 + 内容 */
.wyc-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 5px 0;
}
.wyc-k {
  flex: 0 0 78px;
  width: 78px;
  font-size: 14px;
  color: #56719a;
  font-weight: 700;
  line-height: 1.98;
  text-align: left;
  text-align-last: left;
  letter-spacing: 0;
  white-space: nowrap;
}
.wyc-v {
  flex: 1 1 auto;
  min-width: 0;
  font-size: 14.5px;
  color: #33475b;
  line-height: 1.95;
  text-align: left;
}
/* 联系党支部：逐条成行，前面一颗淡蓝圆点 */
.wyc-br {
  display: block;
  position: relative;
  padding-left: 15px;
  line-height: 1.9;
}
.wyc-br::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 11px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #a9bbd0;
}
.wyc-v .wyc-br:last-child {
  padding-bottom: 0;
}

@media screen and (max-width: 768px) {
  .wyc-wrap {
    max-width: 100% !important;
  }
  .wyc-title {
    font-size: 15.5px;
    padding: 13px 10px;
  }
  .wyc {
    padding: 16px 15px 16px 15px;
  }
  .wyc-h {
    flex-direction: column;
    align-items: flex-start;
    gap: 7px;
    padding-bottom: 11px;
    margin-bottom: 10px;
  }
  .wyc-n {
    font-size: 18px;
    padding-left: 10px;
    border-left-width: 3px;
  }
  .wyc-p {
    font-size: 13.5px;
    padding-left: 10px;
  }
  .wyc-row {
    flex-direction: column;
    gap: 1px;
    padding: 6px 0;
  }
  .wyc-k {
    flex: none;
    width: auto;
    font-size: 12.5px;
    line-height: 1.7;
    text-align: left;
    text-align-last: left;
    color: #7a8fab;
  }
  .wyc-v {
    font-size: 13.5px;
    line-height: 1.85;
  }
  .wyc-br {
    padding-left: 13px;
  }
  .wyc-br::before {
    top: 10px;
    width: 4px;
    height: 4px;
  }
}

/* ===== 列表页（支部动态等）：标题短时被压成几个字，改为撑满整行（2026-11-17） ===== */
.sList li {
  display: block !important;
}
.sList li > a {
  display: flex !important;
  align-items: center !important;
  width: 100% !important;
  box-sizing: border-box !important;
}
.sList li font {
  float: none !important;
  order: 2 !important;
  flex: 0 0 auto !important;
  margin-left: 24px !important;
}
.sList li .list-title {
  flex: 1 1 auto !important;
  min-width: 0 !important;
}
@media screen and (max-width: 768px) {
  .sList li > a {
    display: block !important;
  }
  .sList li font {
    margin-left: 0 !important;
  }
}

/*__mob2*/
/* ===== 手机端 v2：表格自适应 + 列表项重排（2026-11-17） ===== */
@media screen and (max-width:768px){

  /* --- 正文表格：取消固定列宽，让表格缩进容器内 --- */
  body table.wbtbl{
    table-layout:auto!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    margin:0 auto 20px!important;
    font-size:12.5px!important;
  }
  body table.wbtbl td,body table.wbtbl th{
    width:auto!important;
    max-width:none!important;
    min-width:0!important;
    white-space:normal!important;
    word-break:break-word!important;
    overflow-wrap:break-word!important;
    font-size:12.5px!important;
    line-height:1.65!important;
    padding:8px 6px!important;
  }
  body table.wbtbl span,body table.wbtbl font,body table.wbtbl p,
  body table.wbtbl strong,body table.wbtbl b,body table.wbtbl div,
  body table.wbtbl a{
    font-size:inherit!important;line-height:inherit!important;font-family:inherit!important;
  }
  body table.wbtbl td.wb-nw{white-space:normal!important}
  body .m-tblwrap{
    width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch;
    margin:0 0 18px;padding-bottom:2px;
  }
  body .m-tblwrap::before{
    content:'表格可左右滑动查看 →';display:block;
    font-size:11.5px;color:#9aa7b8;text-align:right;padding:0 2px 4px;
  }
  body .m-tblwrap>table.wbtbl{margin-bottom:0!important}

  /* --- 列表项：日期独立一行 + 标题带真圆点 --- */
  body .sList li{
    height:auto!important;
    line-height:1.55!important;
    padding:9px 0!important;
    border-bottom:1px solid #f0f0f0!important;
    font-size:15px!important;
  }
  body .sList li>a{
    display:block!important;
    width:100%!important;
  }
  body .sList li font{
    display:block!important;
    float:none!important;
    order:0!important;
    flex:none!important;
    margin:0!important;
    padding:0 0 3px 14px!important;
    font-size:12.5px!important;
    color:#a0adbe!important;
    line-height:1.5!important;
  }
  body .sList li .list-title{
    display:block!important;
    flex:none!important;
    background:none!important;
    padding:0 0 0 14px!important;
    position:relative!important;
    white-space:normal!important;
    word-break:break-word!important;
    overflow:visible!important;
    text-overflow:clip!important;
    line-height:1.55!important;
    font-size:15px!important;
    color:#33475b!important;
  }
  body .sList li .list-title::before{
    content:'';position:absolute;left:2px;top:8px;
    width:5px;height:5px;border-radius:50%;background:#c3cfdf;
  }
  body .sList li:last-child{border-bottom:0!important}
}
