/* sub5 修复层:字体、图片比例、正文排版、移动端适配 */
:root { --site-color: #1d86d8; }

body, button, input, select, textarea { font-family: var(--font-cn); }
body { color: #555; line-height: 1.6; font-size: 14px; }
.nav-list li a, .detail-h1 h1, .detail-con, .newsroll-ul2 li .word b a,
.info-update li .con h3 a, .info-news-list li .con h3 a { font-family: var(--font-cn); }

/* logo */
.logo h1 { line-height: 1; }
.logo img { max-width: 100%; height: auto; max-height: 82px; }
.logo .site-logo-text { font-size: 30px; font-weight: 700; line-height: 82px; display: inline-block; }

/* 列表缩略图:固定比例 */
.info-update li .img, .info-news-list li .img { width: 200px; margin-right: 20px; }
.info-update li .img a, .info-news-list li .img a { display: block; }
.info-update li .img img, .info-news-list li .img img {
  display: block; width: 200px; height: auto; aspect-ratio: 4 / 3; object-fit: cover; padding: 0 !important; background: #f2f4f6;
}
.info-update li .con, .info-news-list li .con { overflow: hidden; }
.info-update li .con h3, .info-news-list li .con h3 { font-weight: 600; }
.info-update li .con h3 a, .info-news-list li .con h3 a { font-size: 20px; line-height: 1.4; }
.info-update li .con p, .info-news-list li .con p { margin: 12px 0; height: auto; max-height: 72px; line-height: 24px; font-size: 14px; color: #666; }
.info-update li .con div, .info-news-list li .con div { font-size: 12px; color: #999; }
.info-update li, .info-news-list li { overflow: hidden; }
.info-update li:hover, .info-news-list li:hover { background: none; }

/* 轮播图 */
.newsroll-ul2 li .pic img { object-fit: cover; background: #f2f4f6; }

/* 热门文章 */
.info-tab-tablist ul li .tab-list-box .nr {
  display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 14px;
}
.info-tab-tablist ul li .tab-list-con .img img {
  display: block; width: 91px; height: 66px; object-fit: cover; background: #f2f4f6;
}
.info-tab-tablist ul li .tab-list-con .bt a { display: block; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; max-width: none; }
.info-tab-tablist ul li .tab-list-con .bt { margin-bottom: 6px; }

/* 文章页 */
.detail-h1 h1 { font-size: 28px; line-height: 1.4; font-weight: 700; }
.detail-attr { font-size: 13px; }
.detail-con { font-size: 16px; line-height: 1.75; }
.detail-con p { text-indent: 0; padding: 0; margin: 0 0 1em; line-height: 1.75; font-size: 16px; }
.detail-con img { text-indent: 0; }
.detail-share-con { font-size: 13px; line-height: 1.7; color: #888; }

/* 分页(沿用 front.css 的 ul.pagination) */
#fenye.Pagenav { margin: 24px 0 10px; clear: both; }

/* 友链 */
.info-links ul li { margin-bottom: 8px; }

/* 页脚 */
.footer { font-size: 13px; }

/* ===== 手机 ===== */
@media (max-width: 767px) {
  body { min-width: 0; }
  .wrap { width: auto; max-width: 100%; padding: 0 14px; box-sizing: border-box; }
  .fl, .fr, .wrap-left, .wrap-right { float: none; }
  .wrap-left, .wrap-right { width: auto; max-width: 100%; }
  .wrap-right { margin-top: 24px; }

  .header .menu { display: none; }
  .header .weclome { float: none; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; font-size: 12px; }

  .info-header { height: auto; padding: 10px 0 12px; }
  .logo { width: auto; float: none; }
  .logo h1 { margin-top: 0; }
  .logo img { max-height: 52px; }
  .logo .site-logo-text { font-size: 24px; line-height: 52px; }
  .search { width: auto; float: none; margin: 8px 0 0; display: block; }
  .search form { display: flex; }
  .search input.text { flex: 1; min-width: 0; width: auto; box-sizing: border-box; }
  .search input.submit { flex: 0 0 50px; }

  .nav { height: auto; padding: 0; }
  .nav .wrap { padding: 0; }
  .nav-wrap { float: none; }
  .nav-list { display: flex; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; padding: 0 6px; }
  .nav-list::after { display: none; }
  .nav-list li { float: none; flex: 0 0 auto; width: auto; height: 43px; }
  .nav-list li a { width: auto; height: 43px; padding: 0 14px; line-height: 43px; font-size: 16px; box-sizing: border-box; }
  .nav-list li a span { display: inline; width: auto; height: auto; line-height: inherit; border-left: 0; }

  .info-main { margin-top: 14px; }

  /* 首页轮播:改为静态首图 */
  .rolling-box2 { position: static; }
  .news-mainroll { width: 100%; height: auto; overflow: visible; position: static; }
  .inlude-roll2 { position: static; width: auto !important; left: 0 !important; }
  .newsroll-ul2 { float: none; width: auto !important; left: 0 !important; margin: 0 !important; }
  .newsroll-ul2 li { display: none !important; float: none; width: auto !important; height: auto; }
  .newsroll-ul2 li:first-child { display: block !important; }
  .newsroll-ul2 li .pic { width: 100%; height: auto; }
  .newsroll-ul2 li .pic img { width: 100%; height: auto; aspect-ratio: 5 / 2; }
  .newsroll-ul2 li .word { width: auto; height: auto; padding: 10px 12px; }
  .newsroll-ul2 li .word b a { font-size: 18px; line-height: 1.4; }
  .newsroll-ul2 li .word p { display: none; }
  .inlude-roll2 > .newsroll-ul2 ~ .newsroll-ul2 { display: none !important; }
  .news-jtbox { display: none; }

  .info-h h2 { font-size: 18px; }

  /* 列表:左图右文 */
  .info-update li, .info-news-list li { padding: 14px 0; display: flex; gap: 12px; align-items: flex-start; }
  .info-update li .img, .info-news-list li .img { float: none; flex: 0 0 112px; width: 112px; margin: 0; }
  .info-update li .img img, .info-news-list li .img img { width: 112px; }
  .info-update li .con, .info-news-list li .con { flex: 1; min-width: 0; }
  .info-update li .con h3 a, .info-news-list li .con h3 a {
    font-size: 16px; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  }
  .info-update li .con p, .info-news-list li .con p { display: none; }
  .info-update li .con div, .info-news-list li .con div { margin-top: 8px; }
  .info-update ul, .info-news-list ul { margin-top: -14px; }

  /* 文章页 */
  .detail-h1 h1 { font-size: 22px; }
  .detail-attr div.fl { padding-right: 0; float: none; }
  .detail-attr div.fr { padding-left: 0; float: none; margin-top: 4px; }
  .detail-attr div.fr i.i { display: none; }
  .detail-con { margin: 16px 0; }
  .detail-con table { max-width: 100%; display: block; overflow-x: auto; }
  .detail-con * { max-width: 100%; box-sizing: border-box; }
  .detail-con img { height: auto !important; }
  .info-break { overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }

  /* 热门文章 */
  .info-tab-tablist ul li .tab-list-con { height: auto; min-height: 66px; overflow: hidden; }
  .info-tab-tablist ul li .tab-list-con .con { height: auto; max-height: 36px; }

  .info-links ul { margin-left: 0; }
  .info-links ul li { margin-left: 0; margin-right: 14px; }
  ul.pagination { gap: 4px; }
  ul.pagination li a, ul.pagination li span { min-width: 32px; height: 32px; line-height: 30px; padding: 0 8px; font-size: 13px; }
  .footer { padding: 10px 14px; }
}

/* hot list titles: wrap instead of clipping */
.info-tab-tablist ul li .tab-list-box .nr{display:block;white-space:normal;overflow:visible;text-overflow:clip;word-break:break-word}
