/* 首页 / 新闻动态 / 文章详情显示完整修复 */

/* 统一取消新闻文章文字的高度裁切 */
body[data-page="index.html"] .home-channel-card,
body[data-page="index.html"] .home-channel-copy,
body[data-page="index.html"] .home-news-full-card,
body[data-page="index.html"] .home-news-full-copy,
body[data-page="news.html"] .article-feature,
body[data-page="news.html"] .article-feature-copy,
body[data-page="news.html"] .article-list-item,
body[data-page="news.html"] .article-list-copy,
body[data-page="news.html"] .article-body-card,
body[data-page="news.html"] .article-full-content,
body[data-page="news.html"] .news-card,
body[data-page="news.html"] .news-body{
  height:auto !important;
  max-height:none !important;
  min-height:0 !important;
  overflow:visible !important;
}

body[data-page="index.html"] .home-channel-copy h3,
body[data-page="index.html"] .home-channel-copy span,
body[data-page="index.html"] .home-news-full-copy h3,
body[data-page="index.html"] .home-news-full-copy p,
body[data-page="news.html"] .article-feature h2,
body[data-page="news.html"] .article-feature p,
body[data-page="news.html"] .article-list-copy h3,
body[data-page="news.html"] .article-list-copy p,
body[data-page="news.html"] .article-body-card p,
body[data-page="news.html"] .article-body-card h1,
body[data-page="news.html"] .article-body-card h2,
body[data-page="news.html"] .article-body-card h3,
body[data-page="news.html"] .article-body-card blockquote,
body[data-page="news.html"] .news-body h3,
body[data-page="news.html"] .news-body p,
body[data-page="news.html"] .rank-list a span,
body[data-page="news.html"] .related-mini-list strong{
  display:block !important;
  height:auto !important;
  max-height:none !important;
  overflow:visible !important;
  text-overflow:clip !important;
  -webkit-line-clamp:unset !important;
  -webkit-box-orient:initial !important;
  white-space:normal !important;
  word-break:break-word !important;
}

/* 新闻列表页：长标题和长正文预览完整撑开，不卡片裁切 */
body[data-page="news.html"] .article-feature{
  align-items:stretch !important;
}
body[data-page="news.html"] .article-feature-copy{
  justify-content:flex-start !important;
  padding:38px 38px 36px !important;
}
body[data-page="news.html"] .article-list-item{
  align-items:start !important;
}
body[data-page="news.html"] .article-date{
  min-height:150px !important;
}
body[data-page="news.html"] .article-thumb{
  min-height:180px !important;
}
body[data-page="news.html"] .article-excerpt{
  margin-top:10px !important;
  color:#5f5147 !important;
  line-height:1.95 !important;
}

/* 文章详情页：正文、图片、表格、列表完整显示 */
body[data-page="news.html"] .article-full-content{
  display:block !important;
  width:100% !important;
  color:#4f463c !important;
  font-size:17px !important;
  line-height:2.08 !important;
}
body[data-page="news.html"] .article-full-content *{
  max-height:none !important;
  overflow:visible !important;
  word-break:break-word !important;
}
body[data-page="news.html"] .article-full-content p{
  margin:0 0 20px !important;
  color:#4f463c !important;
  font-size:17px !important;
  line-height:2.08 !important;
}
body[data-page="news.html"] .article-full-content img{
  display:block !important;
  max-width:100% !important;
  height:auto !important;
  margin:22px auto !important;
  border-radius:18px !important;
}
body[data-page="news.html"] .article-full-content table{
  width:100% !important;
  display:block !important;
  overflow-x:auto !important;
  border-collapse:collapse !important;
}
body[data-page="news.html"] .article-full-content ul,
body[data-page="news.html"] .article-full-content ol{
  margin:14px 0 22px 1.4em !important;
  color:#4f463c !important;
  line-height:2 !important;
}

/* 首页新闻动态：补充最新文章区，文章预览完整显示 */
.home-news-full-section{
  background:linear-gradient(180deg,#fff 0%,#fbf7ef 100%) !important;
}
.home-news-full-grid{
  display:grid !important;
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  gap:22px !important;
}
.home-news-full-card{
  display:flex !important;
  flex-direction:column !important;
  color:inherit !important;
  text-decoration:none !important;
  border-radius:30px !important;
  background:#fff !important;
  border:1px solid #f0e1c3 !important;
  box-shadow:0 18px 46px rgba(55,35,0,.08) !important;
  overflow:hidden !important;
  transition:.26s !important;
}
.home-news-full-card:hover{
  transform:translateY(-5px) !important;
  box-shadow:0 26px 64px rgba(55,35,0,.13) !important;
}
.home-news-full-thumb{
  width:100% !important;
  aspect-ratio:16/10 !important;
  background:#111 !important;
  overflow:hidden !important;
}
.home-news-full-thumb img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block !important;
}
.home-news-full-copy{
  padding:26px 26px 28px !important;
}
.home-news-full-copy span{
  display:inline-flex !important;
  padding:7px 12px !important;
  border-radius:999px !important;
  background:#171717 !important;
  color:var(--gold2) !important;
  font-size:12px !important;
  font-weight:900 !important;
}
.home-news-full-copy h3{
  margin:16px 0 12px !important;
  color:#3d1c0b !important;
  font-size:24px !important;
  line-height:1.45 !important;
}
.home-news-full-copy p{
  margin:0 !important;
  color:#5f5147 !important;
  font-size:15px !important;
  line-height:1.9 !important;
}
.home-news-full-copy em{
  display:inline-flex !important;
  margin-top:18px !important;
  color:#9a6814 !important;
  font-style:normal !important;
  font-weight:900 !important;
}
.home-news-full-copy em:after{content:"→";margin-left:8px}
.home-news-full-more{
  margin-top:28px !important;
  text-align:center !important;
}

@media (max-width:1100px){
  .home-news-full-grid{grid-template-columns:1fr !important;}
  body[data-page="news.html"] .article-feature-copy{padding:30px !important;}
}
@media (max-width:720px){
  body[data-page="news.html"] .article-list-item{grid-template-columns:1fr !important;}
  body[data-page="news.html"] .article-date{min-height:0 !important;}
  body[data-page="news.html"] .article-thumb{min-height:0 !important;}
  body[data-page="news.html"] .article-feature-copy{padding:22px !important;}
  body[data-page="news.html"] .article-full-content,
  body[data-page="news.html"] .article-full-content p{font-size:16px !important;line-height:1.96 !important;}
  .home-news-full-copy{padding:22px !important;}
}


/* 新闻列表页修正：列表页只显示摘要，详情页才显示完整正文 */
.news-list-page-section .news-list-head{
  display:flex !important;
  justify-content:space-between !important;
  gap:24px !important;
  align-items:flex-end !important;
  margin-bottom:26px !important;
  padding:28px 30px !important;
  border-radius:28px !important;
  background:#fff !important;
  border:1px solid #f0e1c3 !important;
  box-shadow:0 16px 42px rgba(55,35,0,.06) !important;
}
.news-list-page-section .news-list-head h2{
  margin:8px 0 8px !important;
  color:#21150d !important;
  font-size:34px !important;
  line-height:1.25 !important;
}
.news-list-page-section .news-list-head p:not(.eyebrow){
  margin:0 !important;
  max-width:680px !important;
  color:#6a5b4f !important;
  font-size:15px !important;
  line-height:1.85 !important;
}
.news-list-page-section .article-feature{display:none !important;}
.news-list-page-section .news-card-list{margin-top:0 !important;}
.news-list-page-section .article-excerpt,
.news-list-page-section .article-list-copy p{
  display:block !important;
  max-height:none !important;
  overflow:visible !important;
  color:#5f5147 !important;
  line-height:1.85 !important;
}
.news-list-page-section .news-list-row{
  min-height:0 !important;
  height:auto !important;
}
.news-list-page-section .news-list-row .article-list-copy{
  min-width:0 !important;
}
.news-pagination{
  margin-top:30px !important;
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  padding:20px !important;
  border-radius:24px !important;
  background:#fff !important;
  border:1px solid #f0e1c3 !important;
  box-shadow:0 16px 42px rgba(55,35,0,.05) !important;
}
.news-pagination span,
.news-pagination a{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-height:36px !important;
  padding:8px 12px !important;
  border-radius:999px !important;
  background:#fbf7ef !important;
  color:#5f5147 !important;
  text-decoration:none !important;
  font-weight:800 !important;
  font-size:13px !important;
}
.news-pagination .page-num-current,
.news-pagination a:hover{
  background:#171717 !important;
  color:#f4d28a !important;
}
.home-news-full-copy p{
  display:block !important;
  max-height:none !important;
  overflow:visible !important;
}
@media (max-width:720px){
  .news-list-page-section .news-list-head{display:block !important;padding:22px !important;}
  .news-list-page-section .news-list-head .btn{margin-top:16px !important;}
  .news-list-page-section .news-list-head h2{font-size:26px !important;}
}

/* 新闻列表分页完整前端：自动读取后台数量并分页 */
.news-list-stats{
  display:flex !important;
  flex-wrap:wrap !important;
  gap:10px !important;
  margin-top:16px !important;
}
.news-list-stats span{
  display:inline-flex !important;
  align-items:center !important;
  min-height:34px !important;
  padding:7px 13px !important;
  border-radius:999px !important;
  background:#fff6e3 !important;
  border:1px solid rgba(216,173,92,.24) !important;
  color:#8a5b12 !important;
  font-size:13px !important;
  font-weight:900 !important;
}
.news-pagination-wrap{
  margin-top:34px !important;
  padding:24px !important;
  border-radius:28px !important;
  background:linear-gradient(180deg,#fff 0%,#fffaf2 100%) !important;
  border:1px solid #f0e1c3 !important;
  box-shadow:0 18px 46px rgba(55,35,0,.07) !important;
}
.news-pagination-info{
  display:flex !important;
  flex-wrap:wrap !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:12px !important;
  margin-bottom:16px !important;
  padding-bottom:16px !important;
  border-bottom:1px solid #f3e7d0 !important;
}
.news-pagination-info strong{
  color:#21150d !important;
  font-size:20px !important;
  line-height:1.35 !important;
}
.news-pagination-info span{
  color:#7b6a5b !important;
  font-size:14px !important;
  line-height:1.7 !important;
  font-weight:800 !important;
}
.news-pagination-wrap .news-pagination{
  margin-top:0 !important;
  padding:0 !important;
  box-shadow:none !important;
  border:none !important;
  background:transparent !important;
}
.news-pagination .page-status{
  background:#171717 !important;
  color:#f4d28a !important;
  padding-left:16px !important;
  padding-right:16px !important;
}
.news-pagination .page-index a,
.news-pagination .page-pre a,
.news-pagination .page-next a,
.news-pagination .page-last a{
  background:#fff !important;
  border:1px solid #ead8b5 !important;
  color:#5f5147 !important;
}
.news-pagination .page-index a:hover,
.news-pagination .page-pre a:hover,
.news-pagination .page-next a:hover,
.news-pagination .page-last a:hover{
  background:#171717 !important;
  border-color:#171717 !important;
  color:#f4d28a !important;
}
.news-pagination .page-numbar{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  gap:8px !important;
  padding:0 !important;
  background:transparent !important;
}
.news-pagination .page-numbar .page-num,
.news-pagination a.page-num{
  min-width:38px !important;
  min-height:38px !important;
  padding:8px 12px !important;
  border-radius:999px !important;
  background:#fbf7ef !important;
  border:1px solid #ead8b5 !important;
  color:#5f5147 !important;
}
.news-pagination .page-numbar .page-num-current,
.news-pagination a.page-num-current{
  background:#171717 !important;
  border-color:#171717 !important;
  color:#f4d28a !important;
}
.news-page-select{
  margin-top:16px !important;
  text-align:center !important;
}
.news-page-select select{
  min-width:160px !important;
  min-height:42px !important;
  padding:0 14px !important;
  border-radius:999px !important;
  border:1px solid #ead8b5 !important;
  background:#fff !important;
  color:#5f5147 !important;
  font-weight:800 !important;
  outline:none !important;
}
@media (max-width:720px){
  .news-list-stats{gap:8px !important;}
  .news-list-stats span{font-size:12px !important;min-height:30px !important;padding:6px 10px !important;}
  .news-pagination-wrap{padding:18px !important;border-radius:22px !important;}
  .news-pagination-info{display:block !important;}
  .news-pagination-info span{display:block !important;margin-top:8px !important;}
  .news-pagination{justify-content:flex-start !important;overflow-x:auto !important;flex-wrap:nowrap !important;padding-bottom:6px !important;}
  .news-pagination span,.news-pagination a{flex:0 0 auto !important;}
  .news-page-select{text-align:left !important;}
}

/* 新闻列表分页美化 v3 */
.news-list-page-section .news-list-head{
  align-items:center !important;
}
.news-list-page-section .news-list-head p:not(.eyebrow),
.news-list-page-section .news-list-stats{
  display:none !important;
}
.news-pagination-wrap{
  position:relative !important;
  overflow:hidden !important;
  margin-top:42px !important;
  padding:28px !important;
  border-radius:34px !important;
  background:
    radial-gradient(circle at 8% 0%,rgba(244,210,138,.22),transparent 34%),
    linear-gradient(135deg,#fffdf8 0%,#fff 52%,#fbf7ef 100%) !important;
  border:1px solid #ead8b5 !important;
  box-shadow:0 24px 70px rgba(55,35,0,.10) !important;
}
.news-pagination-wrap:before{
  content:"" !important;
  position:absolute !important;
  left:0 !important;
  top:0 !important;
  width:100% !important;
  height:4px !important;
  background:linear-gradient(90deg,#d8ad5c 0%,#f4d28a 42%,rgba(244,210,138,0) 100%) !important;
}
.news-pagination-top{
  position:relative !important;
  z-index:1 !important;
  display:flex !important;
  align-items:center !important;
  justify-content:space-between !important;
  gap:14px !important;
  margin-bottom:18px !important;
}
.pagination-kicker{
  display:inline-flex !important;
  height:36px !important;
  align-items:center !important;
  padding:0 15px !important;
  border-radius:999px !important;
  background:#171717 !important;
  color:#f4d28a !important;
  font-size:13px !important;
  font-weight:900 !important;
  letter-spacing:.08em !important;
}
.pagination-count{
  color:#7b6a5b !important;
  font-size:14px !important;
  font-weight:900 !important;
}
.news-pagination-info{display:none !important;}
.news-pagination.pretty-pagination,
.news-pagination{
  position:relative !important;
  z-index:1 !important;
  display:flex !important;
  flex-wrap:wrap !important;
  justify-content:center !important;
  align-items:center !important;
  gap:10px !important;
  padding:16px !important;
  margin:0 !important;
  min-height:74px !important;
  border-radius:26px !important;
  background:rgba(255,255,255,.78) !important;
  border:1px solid rgba(234,216,181,.78) !important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.85),0 14px 36px rgba(55,35,0,.05) !important;
  font-size:0 !important;
}
.news-pagination .pager-chip,
.news-pagination a,
.news-pagination span{
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  min-width:42px !important;
  min-height:42px !important;
  padding:9px 14px !important;
  border-radius:999px !important;
  border:1px solid #ead8b5 !important;
  background:#fff !important;
  color:#5f5147 !important;
  text-decoration:none !important;
  font-size:14px !important;
  line-height:1 !important;
  font-weight:900 !important;
  white-space:nowrap !important;
  box-shadow:0 8px 20px rgba(55,35,0,.05) !important;
  transition:transform .2s ease, background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease !important;
}
.news-pagination a:hover,
.news-pagination .pager-chip:hover{
  transform:translateY(-2px) !important;
  background:#171717 !important;
  border-color:#171717 !important;
  color:#f4d28a !important;
  box-shadow:0 14px 30px rgba(0,0,0,.14) !important;
}
.news-pagination .pager-meta,
.news-pagination .page-status{
  min-width:auto !important;
  background:#fff6e3 !important;
  color:#8a5b12 !important;
  border-color:rgba(216,173,92,.28) !important;
}
.news-pagination .page-num-current,
.news-pagination .current,
.news-pagination .active,
.news-pagination span[aria-current="page"]{
  background:#171717 !important;
  border-color:#171717 !important;
  color:#f4d28a !important;
}
.news-page-select{
  position:relative !important;
  z-index:1 !important;
  margin-top:18px !important;
  display:flex !important;
  justify-content:center !important;
}
.news-page-select select{
  min-width:168px !important;
  min-height:44px !important;
  padding:0 18px !important;
  border-radius:999px !important;
  border:1px solid #ead8b5 !important;
  background:#fff !important;
  color:#5f5147 !important;
  font-size:14px !important;
  font-weight:900 !important;
  box-shadow:0 10px 26px rgba(55,35,0,.06) !important;
  outline:none !important;
}
@media (max-width:720px){
  .news-pagination-wrap{padding:20px !important;border-radius:26px !important;}
  .news-pagination-top{display:block !important;}
  .pagination-count{display:block !important;margin-top:10px !important;}
  .news-pagination{justify-content:flex-start !important;flex-wrap:nowrap !important;overflow-x:auto !important;padding:13px !important;min-height:68px !important;}
  .news-pagination .pager-chip,
  .news-pagination a,
  .news-pagination span{flex:0 0 auto !important;min-height:38px !important;min-width:38px !important;font-size:13px !important;padding:8px 12px !important;}
  .news-page-select{justify-content:flex-start !important;}
}
