/* 新闻列表、新闻详情专用样式；导航、卡片、社交入口和页脚复用首页。 */
/* 透明 GIF 占位，封面等比铺满；列表图片的背景限制在原有内边距以内。 */
.news-cover { background-size: cover; background-position: center; background-repeat: no-repeat; background-origin: content-box; background-clip: content-box; }
.banner .news-cover { aspect-ratio: 670 / 300; }
.ltopic .news-cover, .newcar_pic .news-cover, .solve .news-cover { aspect-ratio: 3 / 2; }
.news-list-title { padding: 15px 20px; margin: 0 0 15px; color: #43576a; font-size: 22px; }
.news-empty { padding: 20px; color: #777; }
.news-pagination { display: flex; align-items: center; justify-content: center; gap: 20px; padding: 20px 0; }
.list-load-more { height: auto; min-height: 30px; margin-top: 20px; }
.list-load-more a { display: block; color: #43576a; }
.list-load-more a[hidden] { display: none; }
[data-ad-position] { margin-bottom: 20px; }
.no-cover .catelog { position: static; display: inline-block; margin-top: 10px; }
.solve.no-cover .solve_title { position: static; height: auto; }
.news-sidebar .ltopic { margin-top: 10px; }
.news-sidebar .ltopic li { height: 30px; overflow: hidden; margin: 0 10px 0 20px; list-style: none; font-size: 15px; line-height: 30px; }

.article_content { min-height: 800px; padding: 5%; margin-bottom: 20px; background: #fff; box-shadow: 1px 1px 2px #ccc; }
.article_content .title { margin: 0; color: #43576a; font-size: 26px; font-weight: 600; line-height: 1.42857143; }
.article_content .attach { padding: 15px 0; }
.article_content .source, .article_content .inputdate { padding-right: 20px; color: #aaa; }
.article_content .abstract { padding: 12px; border: 1px solid #eee; border-radius: 7px; background: #fbfbfb; color: #777; font-size: 15px; line-height: 1.8; }
.article_content .content { color: #43576a; font-size: 16px; line-height: 1.8; }
.article_content .content p { margin: 20px 0; }
.article_content .content img { display: block; max-width: 95%; height: auto; margin: 0 auto; }
/* 富文本列表：与编辑器保持一致，限定在正文内，保留内联样式。 */
.article_content .content ul, .article_content .content ol { padding-left: 2em; margin: 0.5em 0; }
.article_content .content ul { list-style-type: disc; }
.article_content .content ol { list-style-type: decimal; }
.article_content .content li { margin: 0.25em 0; }
/* 富文本表格：兼容未携带编辑器样式的历史正文，保留内联底色和列宽。 */
.article_content .content table { width: 100%; margin: 0.5em 0; table-layout: fixed; border-collapse: collapse; border: 1px solid #ddd; }
.article_content .content td, .article_content .content th { box-sizing: border-box; min-width: 1em; padding: 8px; vertical-align: top; overflow-wrap: anywhere; border: 1px solid #ddd; }
.article_content .content th { font-weight: normal; text-align: left; background-color: var(--table-background-color, #f1f3f4); }
.article_content .content td > p, .article_content .content th > p { margin: 0.5em 0 15px; }
.article_content .content td > p:first-child, .article_content .content th > p:first-child { margin-top: 0; }
.article_content .content td > p:last-child, .article_content .content th > p:last-child { margin-bottom: 0; }
.page-news-detail .ad { margin-bottom: 20px; }
.page-news-detail .relative { padding-top: 5px; background: #f9f9f9; box-shadow: 1px 1px 2px #ccc; }
.page-news-detail .relative:hover { background: #fff; }

@media (max-width: 440px) {
  .page-news-detail #leftcc { padding-right: 0; padding-left: 0; }
  .page-news-detail .article_content .abstract { display: none; }
  .page-news-detail .article_content .attach { padding: 10px 0 0; }
  .page-news-detail .article_content .content img { max-width: 100%; margin: -15px auto; }
  .page-news-detail .navbar { margin-bottom: 5px; }
}
