/* 迁移版前台补充样式（老站 style.css 不含这些新结构） */
.list-wrap { display: flex; flex-wrap: wrap; gap: 20px; padding: 30px 0 10px; }
.list-item { width: calc(33.333% - 14px); box-sizing: border-box; }
.list-item a { display: block; background: #fff; border: 1px solid #eee; border-radius: 4px; overflow: hidden; color: #333; }
.list-item a:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.list-img img { display: block; width: 100%; height: 180px; object-fit: cover; }
.list-txt { padding: 12px 14px 16px; }
.list-txt h3 { font-size: 16px; line-height: 1.5; margin: 0 0 6px; height: 48px; overflow: hidden; }
.list-txt p { font-size: 13px; color: #777; line-height: 1.6; margin: 0 0 8px; height: 42px; overflow: hidden; }
.list-time { font-size: 12px; color: #999; }
.pager { padding: 24px 0 40px; text-align: center; }
.pager a { display: inline-block; min-width: 32px; height: 32px; line-height: 32px; margin: 0 4px; padding: 0 8px; border: 1px solid #ddd; border-radius: 3px; color: #555; font-size: 13px; }
.pager a.dq, .pager a:hover { background: #0b79d0; border-color: #0b79d0; color: #fff; }
.site-form { max-width: 420px; margin: 30px auto 60px; padding: 24px; background: #fff; border: 1px solid #eee; border-radius: 6px; }
.site-form label { display: block; font-size: 13px; color: #666; margin: 0 0 6px; }
.site-form .form-input { width: 100%; box-sizing: border-box; height: 40px; padding: 0 12px; border: 1px solid #ddd; border-radius: 3px; margin-bottom: 16px; font-size: 14px; }
.site-form .form-btn { width: 100%; height: 42px; border: 0; border-radius: 3px; background: #0b79d0; color: #fff; font-size: 15px; cursor: pointer; }
.site-form .form-btn:hover { background: #0966b0; }
.site-form .form-error { color: #d93025; font-size: 13px; padding-left: 18px; margin: 0 0 12px; }
.site-form .form-tip { font-size: 13px; color: #888; text-align: center; margin: 16px 0 0; }
.site-form .form-tip a { color: #0b79d0; }
.comments { margin: 20px 0 60px; padding-top: 24px; border-top: 1px solid #eee; }
.comments-title { font-size: 16px; font-weight: 600; margin: 0 0 16px; }
.comment-list { list-style: none; padding: 0; margin: 0 0 20px; }
.comment-list li { padding: 12px 0; border-bottom: 1px dashed #eee; }
.comment-head { font-size: 13px; color: #888; margin-bottom: 4px; }
.comment-head strong { color: #333; margin-right: 10px; }
.comment-body { font-size: 14px; line-height: 1.8; color: #444; white-space: pre-wrap; }
.comment-empty { color: #999; font-size: 13px; }
.comment-form textarea { width: 100%; box-sizing: border-box; padding: 10px 12px; border: 1px solid #ddd; border-radius: 3px; font-size: 14px; }
.comment-form button { margin-top: 10px; height: 38px; padding: 0 20px; border: 0; border-radius: 3px; background: #0b79d0; color: #fff; cursor: pointer; }
.comment-login { font-size: 13px; color: #888; }
.comment-login a { color: #0b79d0; }
.danye, .article-content { padding: 24px 0 40px; font-size: 15px; line-height: 1.9; color: #333; }
.danye img, .article-content img { max-width: 100%; height: auto; }
.page-banner img { display: block; width: 100%; max-height: 420px; object-fit: cover; }
.article { padding-bottom: 40px; }
.article-meta { color: #999; font-size: 13px; padding: 16px 0; border-bottom: 1px solid #eee; }
.article-meta span + span { margin-left: 16px; }
.article-cover { padding: 20px 0 0; }
.article-cover img { max-width: 100%; }
@media (max-width: 900px) {
  .list-item { width: calc(50% - 10px); }
}
@media (max-width: 600px) {
  .list-item { width: 100%; }
}

/* 各栏目模板版式 */
.list-news { list-style: none; padding: 20px 0 0; margin: 0; }
.list-news li { border-bottom: 1px dashed #e8e8e8; }
.list-news li a { display: block; padding: 16px 0 14px; color: #333; position: relative; }
.list-news li a:hover span { color: #0b79d0; }
.list-news em { float: right; font-style: normal; font-size: 13px; color: #999; }
.list-news span { font-size: 15px; padding-right: 100px; display: block; }
.list-news p { margin: 6px 100px 0 0; font-size: 13px; color: #888; line-height: 1.7; }

.list-honor { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; padding: 24px 0 0; }
.honor-item { display: block; text-align: center; color: #333; background: #fff; border: 1px solid #eee; border-radius: 4px; padding-bottom: 12px; }
.honor-item:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.honor-img img { width: 100%; height: 150px; object-fit: cover; display: block; }
.honor-item p { font-size: 13px; margin: 10px 10px 0; line-height: 1.5; height: 40px; overflow: hidden; }

.list-chain { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; padding: 24px 0 0; }
.chain-item { display: flex; gap: 16px; background: #fff; border: 1px solid #eee; border-radius: 4px; padding: 14px; color: #333; }
.chain-item:hover { box-shadow: 0 6px 18px rgba(0,0,0,.08); }
.chain-img { width: 180px; flex: 0 0 180px; }
.chain-img img { width: 180px; height: 120px; object-fit: cover; display: block; }
.chain-txt h3 { font-size: 16px; margin: 6px 0 8px; }
.chain-txt p { font-size: 13px; color: #777; line-height: 1.7; margin: 0; }

.list-team { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; padding: 24px 0 0; text-align: center; }
.team-item { background: #fff; border: 1px solid #eee; border-radius: 4px; padding-bottom: 14px; }
.team-img img { width: 100%; height: 220px; object-fit: cover; display: block; }
.team-item h3 { font-size: 15px; margin: 12px 0 4px; }
.team-item p { font-size: 12px; color: #888; margin: 0 12px; }

.list-gallery { display: grid; gap: 16px; padding: 24px 0 0; }
.list-gallery.cols-2 { grid-template-columns: repeat(2, 1fr); }
.list-gallery.cols-3 { grid-template-columns: repeat(3, 1fr); }
.gallery-item { display: block; color: #333; }
.gallery-item img { width: 100%; height: 240px; object-fit: cover; display: block; }
.gallery-item p { font-size: 13px; text-align: center; margin: 8px 0 0; }

@media (max-width: 900px) {
  .list-honor, .list-team { grid-template-columns: repeat(2, 1fr); }
  .list-chain { grid-template-columns: 1fr; }
  .list-gallery.cols-3 { grid-template-columns: repeat(2, 1fr); }
}

/* 前台：上拉加载与旧模板对齐 */
.load-more { text-align: center; padding: 24px 0 40px; font-size: 13px; color: #999; }
.load-more[data-state="loading"] { color: #0b79d0; }
.load-more[data-state="done"]::before { content: "— "; }
.load-more[data-state="done"]::after { content: " —"; }
.Inside { padding: 20px 0 60px; }
.Inside .header { border-bottom: 1px solid #e5e5e5; padding-bottom: 16px; margin-bottom: 24px; }
.Inside .header .title { font-size: 24px; line-height: 1.5; color: #333; margin: 0 0 10px; font-weight: 400; }
.Inside .header .time { font-size: 13px; color: #999; }
.Inside .postbody { font-size: 15px; line-height: 1.9; color: #333; }
.Inside .postbody img { max-width: 100%; height: auto; }
.Inside .description { margin-top: 32px; padding-top: 16px; border-top: 1px dashed #e5e5e5; }
.Inside .description p { margin: 0 0 8px; }
.Inside .description_btn { font-size: 14px; color: #666; }
.Inside .description_btn:hover { color: #0b79d0; }

/* 无图占位（老站用外链占位图，这里本地化） */
.industry_imgtxt_img.no-img, .honor-img.no-img, .chain-img.no-img, .list-img.no-img {
    background: #f2f2f2; display: flex; align-items: center; justify-content: center;
}
.industry_imgtxt_img.no-img::after { content: "暂无图片"; font-size: 14px; color: #bbb; }
.industry_imgtxt_img img { width: 100%; height: 100%; object-fit: cover; }
.honor-img img, .chain-img img, .gallery-item img, .team-img img { max-width: 100%; height: auto; }

/* 行业话题无图占位 */
.picScroll ul li.no-img { background: #dfe3e8; }
.picScroll ul li.no-img .tit { color: #333; }

/* 搜索页：关键词单独一行，避免撑坏标题条 */
.search-summary { padding: 10px 20px 0; font-size: 14px; color: #666; word-break: break-all; }
.search-summary strong { color: #da251d; font-weight: 400; }
.search-empty { padding: 40px 20px; color: #999; font-size: 15px; height: auto !important; }

/* 详情页失效图片隐藏，不显示碎图 */
.postbody img[data-broken="1"] { display: none; }

/* 相册灯箱 */
.lb-box { position: fixed; inset: 0; z-index: 9999; display: none; align-items: center; justify-content: center; background: rgba(0,0,0,.82); }
.lb-box.on { display: flex; }
.lb-box img { max-width: 86vw; max-height: 82vh; box-shadow: 0 10px 40px rgba(0,0,0,.5); background: #fff; }
.lb-close { position: absolute; top: 18px; right: 26px; font-size: 38px; line-height: 1; color: #fff; cursor: pointer; user-select: none; }
.lb-prev, .lb-next { position: absolute; top: 50%; transform: translateY(-50%); font-size: 40px; color: #fff; cursor: pointer; padding: 0 24px; user-select: none; opacity: .75; }
.lb-prev:hover, .lb-next:hover, .lb-close:hover { opacity: 1; }
.lb-prev { left: 10px; }
.lb-next { right: 10px; }
.lb-cap { position: absolute; bottom: 26px; left: 0; right: 0; text-align: center; color: #fff; font-size: 14px; padding: 0 40px; }
