/* ============================================================
   新闻页样式 news.css(列表 + 详情,PC + 移动端)
   ============================================================ */
.news .banner { background: #f7faff url(../assets/images/news/p-1-bg.png) no-repeat center/cover; width: 100%; height: 512px; padding: 133px 180px 0; box-sizing: border-box; }
.banner-title { font-size: 36px; font-weight: bold; line-height: 49px; letter-spacing: normal; background: linear-gradient(90deg, #19b6ff, #007aff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; text-fill-color: transparent; margin-bottom: 3px; }
.banner-sub-title { font-size: 26px; font-weight: bold; line-height: 36px; letter-spacing: normal; color: #262626; margin-bottom: 12px; }
.banner-text { line-height: 22px; font-size: 16px; color: #595959; width: 600px; margin-bottom: 68px; }
.news-list { padding: 24px 0; }
.responsive-list-container { padding: 0 140px 40px; width: 100%; height: auto; min-width: 1024px; box-sizing: border-box; display: grid; grid-gap: 14px; grid-template-columns: repeat(4, minmax(calc((100% - 3 * 14px) / 4), 1fr)); }
.list-item { border-radius: 8px; box-sizing: border-box; overflow: hidden; background: #fff; box-shadow: 0 10px 24px 0 rgba(0, 28, 59, 0.08); padding-bottom: 12px; display: block; text-decoration: none; color: inherit; }
.item-content { border-radius: 8px; background: linear-gradient(180deg, #ebf0f9 0%, #fff 100%); box-sizing: border-box; padding: 8px 8px 0; border: 1px solid #fff; }
.item-content .item-img { width: 100%; overflow: hidden; height: auto; aspect-ratio: 266 / 166; border-radius: 4px; margin-bottom: 16px; }
.item-content .item-img img { width: 100%; height: auto; aspect-ratio: 266 / 166; }
.item-title { height: 23px; line-height: 23px; font-size: 16px; font-weight: 500; margin-bottom: 7px; color: #262626; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; word-break: break-all; }
.item-bottom { display: flex; justify-content: space-between; align-items: center; }
.item-tag { border-radius: 2px; opacity: 1; height: 21px; line-height: 21px; background: rgba(0, 122, 255, 0.08); font-size: 12px; color: #007aff; padding: 0 4px; }
.item-time { height: 21px; line-height: 21px; font-size: 14px; color: #595959; }
@media (min-width: 1440px) {
  .responsive-list-container { grid-template-columns: repeat(5, minmax(calc((100% - 4 * 14px) / 5), 1fr)); }
}

/* 分页 */
.pagination { display: flex; justify-content: center; align-items: center; gap: 8px; padding: 10px 0 40px; }
.page-btn, .page-num { display: flex; align-items: center; justify-content: center; height: 36px; min-width: 36px; padding: 0 12px; box-sizing: border-box; border-radius: 8px; font-size: 14px; color: #595959; background: #fff; border: 1px solid #d9d9d9; text-decoration: none; transition: all 0.2s ease; }
.page-btn:hover, .page-num:hover { color: #007aff; border-color: #007aff; }
.page-num.is-active { background: #007aff; border-color: #007aff; color: #fff; }
.page-btn.is-disabled { color: #8c8c8c; border-color: #e5e5e5; cursor: not-allowed; pointer-events: none; }
/* 分页标签 pagelist 输出适配(与上方 .page-btn/.page-num 外观一致) */
.pagination li { list-style: none; }
.pagination li a {
  display: flex; align-items: center; justify-content: center;
  height: 36px; min-width: 36px; padding: 0 12px; box-sizing: border-box;
  border-radius: 8px; font-size: 14px; color: #595959; background: #fff;
  border: 1px solid #d9d9d9; text-decoration: none; transition: all 0.2s ease;
}
/* 可点击页码/上一页/下一页 */
.pagination li a[href]:hover { color: #007aff; border-color: #007aff; }
/* 禁用态与省略号(无 href): 灰色、不可点击 */
.pagination li a:not([href]) { color: #8c8c8c; border-color: #e5e5e5; cursor: not-allowed; }
/* 当前页(蓝底白字, 置于最后以覆盖 :not([href]) 的灰色, 锁定 hover 不变色) */
.pagination li.active a,
.pagination li.active a:hover { background: #007aff; border-color: #007aff; color: #fff; }
.page-ellipsis { color: #8c8c8c; font-size: 14px; padding: 0 4px; }

/* ===== 新闻详情(照 app/pages/news/[id].vue) ===== */
.news-detail { background: #f7f7f7; }
.news-detail .part-1 { height: 350px; padding: 78px 84px 0 84px; box-sizing: border-box; background: #f7f7f7 url(../assets/images/news/news-detail.png) no-repeat center/cover; }
.news-detail .part-1-box { width: 1135px; display: flex; margin: 0 auto; }
.news-detail .part-1-box .pic-1-pic { width: 330px; height: 191px; border-radius: 10px; opacity: 1; background: #ffffff; box-sizing: border-box; padding: 5px; margin-right: 15px; }
.news-detail .part-1-box .pic-1-pic img { width: 320px; height: 181px; border-radius: 8px; }
.news-detail .bread-nav { height: 23px; line-height: 23px; width: 1135px; display: flex; margin: 0 auto 23px auto; color: #595959; font-size: 16px; }
.news-detail .bread-nav .span { color: #262626; padding: 0 10px; }
.news-detail .bread-nav a { color: #007aff; }
.news-detail .part-1-title {line-height: 35px; font-size: 24px; font-weight: 500; color: #262626; margin-bottom: 15px; }
.news-detail .part-1-block { height: 20px; line-height: 20px; color: #262626; font-size: 14px; margin-bottom: 4px; }
.news-detail .part-1-block .icon-time { width: 11px; height: 11px; margin-right: 5px; vertical-align: middle; }
.news-detail .part-1-block .icon-address { width: 10px; height: 12px; margin-right: 5px; vertical-align: middle; }
.news-detail .content { display: flex; width: 1135px; margin: 0 auto; padding: 12px 0 57px 0; justify-content: space-between; }
.news-detail .content-main { background: #ffffff; border-radius: 4px; flex-grow: 1; padding: 24px 32px; }
.news-detail .content-main .title { font-size: 30px; font-weight: 600; color: #262626;  line-height: 43px; margin-bottom: 15px; }
.news-detail .content-main .time { color: #8c8c8c; font-size: 16px; height: 23px; line-height: 23px; margin-bottom: 23px; }
.news-detail .news { width: 298px; height: fit-content; background: #ffffff url(../assets/images/news/news-flag.png) no-repeat 220px 6px/66px 76px; margin-left: 12px; border-radius: 4px; flex-grow: 0; flex-shrink: 0; }
.news-detail .news .header { position: static; top: auto; left: auto; right: auto; z-index: auto; display: block; height: 20px; line-height: 20px; color: #262626; font-size: 14px; font-weight: 500; margin: 12px 12px 8px 12px; padding-left: 22px; box-sizing: border-box; background: url(../assets/images/news/news-fire.png) no-repeat left center/20px; }
.news-detail .news .news-item { box-sizing: border-box; padding: 20px 12px 12px 12px; border-bottom: 1px solid #f7f7f7; margin: 0 12px; cursor: pointer; display: flex; text-decoration: none; }
.news-detail .news .news-item .img { display: flex; width: 102px; height: 64px; margin-right: 8px; border-radius: 4px; flex-shrink: 0; flex-grow: 0; }
.news-detail .news .news-item .info { display: flex; flex-direction: column; justify-content: center; }
.news-detail .news .news-item .title { font-size: 14px; font-weight: 500; color: #262626; height: 40px; line-height: 20px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; margin-bottom: 7px; }
.news-detail .news .news-item .time { font-size: 14px; font-weight: 350; height: 20px; line-height: 20px; color: #595959; }
.news-detail .news .news-item:last-child { border: 0; }

/* ============ 移动端 ============ */
@media screen and (max-width: 767px) {
  .news .banner { height: auto; padding: 80px 16px 30px; background-size: cover; }
  .banner-title { font-size: 26px; line-height: 36px; }
  .banner-sub-title { font-size: 20px; line-height: 28px; }
  .banner-text { width: 100%; font-size: 14px; margin-bottom: 0; }
  .responsive-list-container { padding: 0 16px 30px; min-width: 0; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-gap: 10px; }
  .item-title { font-size: 13px; }
  .item-time { font-size: 12px; }

  .news-detail .part-1 { height: auto; padding: 80px 16px 24px; background-size: cover; }
  .news-detail .bread-nav { width: 100%; padding: 0 16px; box-sizing: border-box; flex-wrap: wrap; margin-bottom: 16px; }
  .news-detail .part-1-box { width: 100%; flex-direction: column; padding: 16px; }
  .news-detail .part-1-box .pic-1-pic { width: 100%; height: auto; margin-right: 0; }
  .news-detail .part-1-box .pic-1-pic img { width: 100%; height: auto; }
  .news-detail .part-1-info { margin: 16px 0 0; }
  .news-detail .part-1-title { font-size: 20px; line-height: 30px; }
  .news-detail .content { width: 100%; flex-direction: column; padding: 24px 16px 40px; }
  .news-detail .content-main { padding: 16px; }
  .news-detail .content-main .title { font-size: 22px; }
  .news-detail .news { width: 100%; margin-top: 32px; }
  .news-detail .news .news-item .title { font-size: 13px; }
}
.content #news-detail-html,
.content #news-detail-html h1,
.content #news-detail-html h2,
.content #news-detail-html h3,
.content #news-detail-html h4,
.content #news-detail-html h5,
.content #news-detail-html h6,
.content #news-detail-html div,
.content #news-detail-html p,
.content #news-detail-html li,
.content #news-detail-html ul,
.content #news-detail-html img{
  margin: revert;
  padding: revert;
}