html,html *{margin:0;padding:0;border:0;background:rgba(0,0,0,0)}
h1,h2,h3,h4,h5{text-rendering:optimizelegibility;font-weight:normal}
/* 全局背景：纯黑 */
body{margin:0;font-family:"PingFang SC","Microsoft Yahei","Helvetica Neue",Helvetica,STHeiTi,sans-serif;line-height:28px;background-color:#000000;color:#000000}
body *{box-sizing:border-box}
/* 标题：政府网站级大字体，等比例放大 */
h1,h2,h3,h4,h5{color:#000000;font-weight:bold}
h1 a,h2 a,h3 a,h4 a,h5 a{color:#000000}
h1 a:hover,h2 a:hover,h3 a:hover,h4 a:hover,h5 a:hover{color:#E7383F}
/* 一级标题（文章标题）：从36px→48px，行高适配 */
h1{font-size:48px;line-height:60px;text-align:center}
/* 二级标题：从24px→36px */
h2{font-size:36px;line-height:48px}
/* 三级标题：从18px→28px */
h3{font-size:28px;line-height:40px}
/* 四级标题：从16px→24px */
h4{font-size:24px;line-height:36px}
/* 五级标题：从14px→20px */
h5{font-size:20px;line-height:32px}
a,svg{transition:ease-in-out .5s}
a,a:hover{text-decoration:none}
/* 内容容器：白色（装图片和文字的盒子），浅灰边框 */
.container{margin:40px auto;width:750px;/* 容器适度加宽，适配大字体 */display:flex;flex-direction:column;gap:24px;background-color:#FFFFFF;padding:48px;border-radius:6px;border:1px solid #EEEEEE}
.post-list{display:flex;flex-direction:column;gap:16px}
/* 列表二级标题：从13px→18px */
.post-list h2{font-size:18px;line-height:28px;border-bottom:1px solid #EEEEEE;padding-bottom:16px}
/* 列表文字：从默认→18px，hover红色 */
.post-list a{font-size:18px;color:#000000}
.post-list a:hover{color:#E7383F}
/* 正文文字：核心放大！从13px→20px，行高适配阅读 */
.post-content{font-size:20px;line-height:40px;color:#000000}
.post-content>*{margin:24px 0}
/* 正文链接：红色，hover加深，字体同步正文 */
.post-content a{font-size:inherit;color:#E7383F}
.post-content a:hover{color:#D02A30}
.post-content>ol,.post-content>ul{margin:24px 0 24px 24px;list-style:initial}
/* 列表项文字：同步正文20px，行高适配 */
.post-content>ol li,.post-content>ul li{font-size:20px;margin-bottom:12px;border-bottom-width:1px;border-bottom-style:dashed;border-bottom-color:#EEEEEE;padding:0 0 12px 8px;color:#000000}
.post-content ol li{list-style-type:decimal}
.post-content ul li{list-style-type:disc}
/* 正文段落：行高适配大字体 */
.post-content p{margin-bottom:24px;line-height:40px;color:#000000}
/* 代码块：字体同步放大，浅灰底+黑色字 */
.post-content p code{font-size:18px;padding:8px 12px;margin:0 6px;background-color:#F5F5F5;border-radius:2px;color:#000000}
.post-content p:last-child{margin-bottom:0}
/* 分割线：间距适配 */
.post-content hr{height:1px;border:none;border-top:1px dotted #EEEEEE;margin:40px 0}
/* 图片：完全自适应 + 铺满容器（核心修复） */
.post-content img{
  width: 100% !important; /* 强制铺满容器宽度 */
  max-width: 100% !important; /* 覆盖任何最大宽度限制 */
  height: auto !important; /* 强制高度自适应，优先级最高 */
  max-height: none !important; /* 移除最大高度限制，确保完全自适应 */
  object-fit: contain !important; /* 保证图片完整显示，不裁剪 */
  margin-top:16px;
  margin-bottom:16px;
  display: block !important; /* 统一为块级元素，避免行内间隙 */
}
.post-content img.alignnone{margin-left:0;margin-right:0}
.post-content img.alignleft{
  float:left;
  text-align:left;
  margin:0 16px 0 0;
  width: auto !important; /* 左对齐图片取消铺满 */
  max-width: 50% !important; /* 左对齐图片最大宽度50% */
}
.post-content img.aligncenter{
  margin-right:auto;
  margin-left:auto;
  text-align:center;
  width: 100% !important; /* 居中图片仍铺满 */
}
.post-content img.alignright{
  float:right;
  text-align:right;
  margin:0 0 0 16px;
  width: auto !important; /* 右对齐图片取消铺满 */
  max-width: 50% !important; /* 右对齐图片最大宽度50% */
}
/* 图片容器：白色底+浅灰边框，文字适配 */
.post-content .wp-caption{margin-bottom:24px;background-color:#FFFFFF;padding:16px;max-width:100%;border:1px solid #EEEEEE}
.post-content .wp-caption img{margin:0 0 8px}
.post-content .wp-caption p{font-size:18px;margin:16px 16px 8px;text-indent:0;color:#333333}
/* 引用边框：红色，文字适配 */
.post-content .wp-block-quote{border-left:.25em solid #E7383F;margin:0 0 24px;padding-left:1.5em;font-size:20px;line-height:40px}
.post-content .wp-block-image{display:block}
.post-content .wp-block-image figcaption{display:block;font-size:18px;color:#333333}
.post-content figure.alignnone{display:inline-block}
.post-content figure img{margin:0;display:block}
/* 版权区：字体放大，浅灰底+黑色字 */
.post-copyright{margin-top:40px;font-size:16px;line-height:32px;color:#333333;border:1px solid #EEEEEE;background-color:#F9F9F9;padding:16px;border-radius:6px}
/* 移动端适配：大字体适配小屏幕 */
@media only screen and (max-width: 800px){
  .container{margin-top:20px;margin-bottom:20px;width:96%;padding:24px;background-color:#FFFFFF;border:1px solid #EEEEEE;gap:20px}
  /* 移动端标题适度缩小，但仍比原版大 */
  h1{font-size:36px;line-height:48px}
  h2{font-size:28px;line-height:40px}
  h3{font-size:24px;line-height:36px}
  h4{font-size:20px;line-height:32px}
  h5{font-size:18px;line-height:28px}
  /* 移动端正文：从20px→18px，保证可读性 */
  .post-content{font-size:18px;line-height:36px}
  .post-content>ol li,.post-content>ul li{font-size:18px}
  .post-title{font-size:36px;line-height:48px;color:#000000}
  .post-list a{font-size:16px}
  .post-content p code{font-size:16px}
  .post-content .wp-caption p{font-size:16px}
  .post-content .wp-block-quote{font-size:18px;line-height:36px}
  .post-copyright{font-size:14px;line-height:28px}
  /* 移动端图片：左/右对齐也铺满容器（适配小屏） */
  .post-content img.alignleft,
  .post-content img.alignright{
    width: 100% !important;
    max-width: 100% !important;
    float: none;
    margin: 16px 0;
  }
}

/* 左侧广告弹窗核心样式 - 极致靠底部 */
.ad-popup.ad-left {
  position: fixed;
  bottom: 0px !important; /* 核心：贴紧浏览器底部（可改10px留极小间距） */
  top: auto !important;
  z-index: 999;
  display: block;
  width: calc((100vw - 850px) / 2);
  min-width: 180px;
  max-width: 450px;
  left: 20px !important;
  max-left: calc((850px - 750px) / 2) !important;
  height: 500px; /* 可自定义高度，比如600px */
  /* 取消底部内边距，极致贴底 */
  margin: 0 !important;
  padding: 0 !important;
  visibility: visible;
  opacity: 1;
  transition: all 0.3s ease;
}

/* 广告链接容器：铺满弹窗，图片居中 */
.ad-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  /* 容器无间距，保证弹窗贴底 */
  margin: 0 !important;
  padding: 0 !important;
}

/* 广告图片：等比例无裁切 */
.ad-img {
  width: 100% !important;
  height: auto !important;
  max-height: 100% !important;
  display: block !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  padding: 0 !important;
  border: none !important;
}

/* 关闭按钮：悬浮显示（位置不变） */
.ad-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  cursor: pointer;
  font-size: 18px;
  line-height: 32px;
  text-align: center;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.ad-popup:hover .ad-close {
  opacity: 1;
}
.ad-close:hover {
  background-color: #E7383F;
}

/* 适配1：大屏PC（1200px-1440px） */
@media only screen and (max-width: 1440px) and (min-width: 1201px) {
  .ad-popup.ad-left {
    max-width: 380px;
    width: calc((100vw - 850px) / 2);
    height: 450px;
    bottom: 0px !important; /* 大屏也贴底 */
  }
}

/* 适配2：小屏笔记本/主流iPad（800px-1200px） */
@media only screen and (max-width: 1200px) and (min-width: 801px) {
  .ad-popup.ad-left {
    max-width: 280px;
    width: calc((100vw - 850px) / 2);
    height: 400px;
    bottom: 0px !important; /* 小屏也贴底 */
  }
  .ad-close {
    width: 28px;
    height: 28px;
    font-size: 16px;
    line-height: 28px;
  }
}

/* 适配3：iPad mini/极窄屏（750px-800px）- 隐藏 */
@media only screen and (max-width: 800px) and (min-width: 751px) {
  .ad-popup.ad-left {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
}

/* 适配4：手机/极小屏（≤750px）- 隐藏 */
@media only screen and (max-width: 750px) {
  .ad-popup.ad-left {
    display: none !important;
  }
}

/* 兜底：弹窗宽度<180px时隐藏 */
@media only screen and (max-width: calc(850px + 180px*2)) {
  .ad-popup.ad-left {
    visibility: hidden;
    opacity: 0;
    pointer-events: none;
  }
}