/* sub 模板修复层:现代化、图片比例、移动端适配 */
:root { --site-color: #1F6FB5; }
html, body, body * { font-family: var(--font-cn); }
body { color: #333; -webkit-text-size-adjust: 100%; }
img { max-width: 100%; }
img:hover, .logo img:hover { opacity: 1; }
a:hover { color: var(--site-color); }
.site-logo-text { font-size: 28px; line-height: 80px; font-weight: bold; }

/* 去掉固定高度造成的大块空白,浮动容器自清除 */
.zews, .neksl, .flash, .index-ce, .nav { height: auto; }
.zews::after, .neksl::after, .index-ce::after, .articles ul::after, .zbbk ul::after, .nav::after { content: ""; display: table; clear: both; }
.zbbk { height: auto; padding-bottom: 20px; }
.zbbk ul { height: auto; padding: 24px 0; border-bottom: 1px solid #eee; }
.zbbk ul::after { clear: both; }
.zbbk img { width: 240px; height: auto; aspect-ratio: 4 / 3; object-fit: cover; background: #f2f4f7; }
.zzbt { font-size: 20px; line-height: 1.4; }
.zzms { font-size: 14px; line-height: 1.7; color: #666; }
.zzsj { font-size: 13px; color: #999; word-spacing: normal; }

/* 菜单:去 hover 渐变,条目随数量排列 */
.menu { margin-top: 20px; }
.main { height: 60px; }
.logo img { width: 220px; height: 80px; object-fit: contain; }
.logo .site-logo-text { display: block; color: #fff; }

/* 列表前缀小圆点(替换缺失的 she1/she2 图片) */
.jrtt ul li, .zwksl li {
  background-image: radial-gradient(circle, var(--site-color) 2px, transparent 2.5px);
  background-size: 8px 8px; background-repeat: no-repeat; background-position: 0 center;
  padding-left: 15px;
}
.zwksl li { line-height: 1.6; padding-top: 9px; padding-bottom: 9px; }
.zwksl li a, .jrtt ul li a { display: block; }
.jrtt { height: auto; max-height: 400px; }
.jrtt ul li a { line-height: 1.7; padding: 5px 0; }
h3 { background-color: #555; }

/* 首页栏目区 */
.index { height: auto; margin-top: 30px; }
.articles h2 { margin-bottom: 20px !important; height: auto; line-height: 1.2; border-left: 4px solid var(--site-color); font-size: 22px; }
.articles ul li { height: auto !important; margin: 0 14px 18px 0 !important; width: 280px !important; }
.articles ul li:nth-child(4n) { margin-right: 0 !important; }
.articles ul li img { width: 280px !important; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; display: block; background: #f2f4f7; }
.articles ul li p { font-size: 15px; line-height: 1.5; margin-top: 8px; height: 45px; overflow: hidden; }
.slider-title { background-color: rgba(0,0,0,.45) !important; }

/* 文章页 */
.nwksd { margin-top: 10px; }
.newbi { width: auto; font-size: 26px; line-height: 1.4; padding: 10px 0; }
.zebj { height: auto; line-height: 1.8; padding: 12px 0; font-size: 14px; }
.weziks { width: auto; padding: 20px 0 40px; }
.weziks p { text-indent: 2em; font-size: 16px; line-height: 1.75; margin: 14px 0; }
.weziks img { max-width: 100%; height: auto !important; width: auto; }
.mzsm { width: auto; float: none; clear: both; box-sizing: border-box; padding: 20px 24px; border: 1px dashed #ccd6e0; background: #f7f9fb; margin-bottom: 20px; }
.mzsm p { font-size: 13px; line-height: 1.8; }
.sion { height: auto; line-height: 1.6; padding: 0; margin-top: 20px; font-size: 14px; word-spacing: 0; }

/* 侧栏 */
.ybbk { float: right; width: 300px; }
h6 { width: 100%; box-sizing: border-box; background-color: var(--site-color); }

/* 分页 */
.zbbk ul.pagination { width: auto; height: auto; padding: 0; border: 0; margin: 28px 0; }

/* 页脚 */
.footer { height: auto; padding-top: 50px; }
.foote { height: auto; }
.foote ul { overflow: hidden; }
.foote li { color: #666; font-size: 13px; }
.foote li a { color: #666; }
.deqqw { height: auto; padding-bottom: 20px; margin-top: 20px; border-top-color: var(--site-color); }
.banquan { width: auto; max-width: 1200px; }

/* 手机 */
@media (max-width: 767px) {
  .adzwz, .nav, .flash, .index-ce, .zews, .neksl, .sion, .foote, .banquan, .about, .lssst {
    width: auto; max-width: 100%; box-sizing: border-box; padding-left: 14px; padding-right: 14px;
  }
  .ad { height: auto; }
  .adzwz { height: auto; }
  .adyi { width: auto; max-width: 100%; height: auto; float: none; }
  .adyi li { float: none; line-height: 36px; font-size: 12px; }
  .menu { height: auto; margin-top: 0; }
  .nav { height: auto; padding-bottom: 8px; }
  .logo { float: none; width: auto; height: 60px; }
  .logo img { width: auto; max-width: 100%; height: 60px; }
  .logo .site-logo-text { line-height: 60px; font-size: 22px; }
  .main { float: none; width: auto; max-width: 100%; height: 44px; margin-top: 0; overflow-x: auto; overflow-y: hidden; white-space: nowrap; -webkit-overflow-scrolling: touch; }
  .main ul { white-space: nowrap; width: max-content; min-width: 100%; }
  .main ul li { float: none; display: inline-block; width: auto; }
  .main ul li a { width: auto; padding: 0 16px; font-size: 16px; line-height: 44px; }
  .flash { margin-top: 12px; height: auto; }
  .flash .layui-carousel { float: none !important; width: 100% !important; height: auto !important; aspect-ratio: 16 / 9; }
  .tt { float: none; width: auto; height: auto; margin-top: 14px; }
  h3 { width: auto; }
  .jrtt { width: auto; height: auto; max-height: none; }
  .slider-title { bottom: 24px; font-size: 14px; padding: 8px 6px; }
  .index { margin-top: 20px; }
  .articles h2 { font-size: 19px; }
  .articles ul li, .articles ul li img { width: 100% !important; }
  .articles ul li { float: none !important; margin: 0 0 16px !important; }
  .articles ul li:nth-child(4n) { margin-right: 0 !important; }
  .articles ul li p { height: auto; max-height: 45px; }
  .zbbk, .nwksd, .ybbk { float: none; width: auto; max-width: 100%; }
  .zbbk ul { width: auto; padding: 16px 0; }
  .zbbk img { width: 110px; height: auto; aspect-ratio: 4 / 3; }
  .zzbt, .zzms, .zzsj { float: none; width: auto; margin-left: 122px; }
  .zzbt { font-size: 16px; }
  .zzms { font-size: 13px; line-height: 1.6; }
  .zbbk ul li:first-child { float: left; }
  .zbbk ul::after { clear: both; }
  .ybbk { margin-top: 24px; clear: both; }
  .zwksl, h6 { width: auto; }
  .sion { margin-top: 12px; font-size: 13px; line-height: 1.5; padding-top: 6px; padding-bottom: 6px; }
  .newbi { font-size: 21px; text-align: left; }
  .zebj { text-align: left; font-size: 13px; }
  .weziks { padding-bottom: 20px; }
  .mzsm { padding: 14px; }
  .footer { padding-top: 24px; }
  .page, .dede_pages { width: auto; }
  .deqqw { height: auto; }
}
