/* 2026-10-03 /news front page — homepage newsroom language with more information. */
body[data-news-category="all"] .news-pro-main{background:#f6f8fb}
body[data-news-category="all"] .news-pro-main>.container{max-width:1240px}
body[data-news-category="all"] .news-pro-section-head{margin-top:14px;padding:10px 0 8px;border-top:3px solid #172438}
body[data-news-category="all"] .news-pro-section-head h2{font-size:21px;line-height:1.2}
.news-main-front-host{display:block!important;margin:0!important;padding:0!important;border:0!important;background:#fff!important}
.news-main-front-layout{display:grid;grid-template-columns:minmax(220px,.88fr) minmax(390px,1.3fr) minmax(220px,.88fr);gap:16px;padding:16px 18px 18px;border:1px solid #dfe5eb;border-radius:12px;background:#fff}
.news-main-front-side{display:flex;flex-direction:column;gap:18px;min-width:0}
.news-main-front-brief+ .news-main-front-brief{padding-top:16px;border-top:1px solid #dfe5eb}
.news-main-front-brief header,.news-main-front-category header{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:0 0 6px;padding:0 0 7px;border-bottom:1px solid #dfe5eb}
.news-main-front-brief header h3,.news-main-front-category header h3{display:flex;align-items:center;gap:8px;margin:0;color:#172438;font:800 18px/1.2 system-ui,-apple-system,"PingFang SC","Microsoft YaHei",sans-serif}
.news-main-front-brief header h3 i,.news-main-front-category header h3 i{display:block;width:3px;height:20px;border-radius:1px;background:#e11d2e;flex:0 0 auto}
.news-main-front-brief header>a,.news-main-front-category header>a{color:#7b8796;font-size:11px;font-weight:600;text-decoration:none;white-space:nowrap}
.news-main-front-brief>div{display:flex;flex-direction:column}
.news-main-front-brief>div>a{display:block;padding:6px 0;border-bottom:1px solid #edf0f3;color:#2c3b4d;text-decoration:none}
.news-main-front-brief>div>a:last-child{border-bottom:0}
.news-main-front-brief>div strong{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden;font-size:14px;line-height:1.45;font-weight:600}
.news-main-front-empty{padding:8px 0;color:#9aa5b3;font-size:12px}
.news-main-front-feature{min-width:0;padding:2px 16px 0;border-left:1px solid #e0e5eb;border-right:1px solid #e0e5eb}
.news-main-front-feature-main{display:block;padding:2px 0 12px;color:inherit;text-decoration:none;border-bottom:1px solid #dfe5eb}
.news-main-front-feature-main>span{display:inline-block;margin-bottom:6px;padding:2px 7px;border:1px solid #efb8be;background:#fff7f8;color:#c51625;font-size:10px;font-weight:700}
.news-main-front-feature-main h2{margin:0;color:#142033;font-family:"Songti SC","STSong","Noto Serif SC","Source Han Serif SC",serif;font-size:29px;line-height:1.36;font-weight:800;letter-spacing:.01em}
.news-main-front-feature-main p{margin:9px 0 0;color:#607083;font-size:13.5px;line-height:1.68;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3;overflow:hidden}
.news-main-front-related{padding-top:7px}
.news-main-front-related>a,.news-main-front-category-list>a,.news-main-front-quick a{display:grid;grid-template-columns:7px minmax(0,1fr);gap:7px;align-items:start;color:#334357;text-decoration:none}
.news-main-front-related>a{padding:6px 0;border-bottom:1px solid #edf0f3}
.news-main-front-related>a:last-child{border-bottom:0}
.news-main-front-related i,.news-main-front-category-list i,.news-main-front-quick i{width:4px;height:4px;margin-top:8px;border-radius:50%;background:#e11d2e}
.news-main-front-related strong{font-size:13.8px;line-height:1.45;font-weight:600}
.news-main-front-quick-host{display:block!important;margin:10px 0 0!important;padding:0!important;border:0!important;background:transparent!important}
.news-main-front-quick{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border:1px solid #dfe5eb;border-radius:12px;background:#fff;overflow:hidden}
.news-main-front-quick>div{padding:7px 14px}
.news-main-front-quick>div+div{border-left:1px solid #e2e7ed}
.news-main-front-quick a{padding:6px 0;border-bottom:1px solid #edf0f3}
.news-main-front-quick a:last-child{border-bottom:0}
.news-main-front-quick strong{font-size:13.8px;line-height:1.42;font-weight:600}
.news-main-front-category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0;border:1px solid #dfe5eb;border-radius:12px;background:#fff;overflow:hidden}
.news-main-front-category{min-width:0;padding:14px 16px 12px;border-right:1px solid #e1e6ec;border-bottom:1px solid #e1e6ec}
.news-main-front-category:nth-child(3n){border-right:0}
.news-main-front-category:nth-last-child(-n+1){border-bottom:0}
.news-main-front-category-lead{display:block;padding:1px 0 7px;color:inherit;text-decoration:none}
.news-main-front-category-lead>strong{display:block;color:#172438;font-family:"Songti SC","STSong","Noto Serif SC","Source Han Serif SC",serif;font-size:17px;line-height:1.42;font-weight:800}
.news-main-front-category-lead>p{margin:5px 0 0;color:#6b7888;font-size:12.5px;line-height:1.55;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.news-main-front-category-list{padding-top:4px;border-top:1px solid #edf0f3}
.news-main-front-category-list>a{padding:5px 0;border-bottom:1px solid #f0f2f4}
.news-main-front-category-list>a:last-child{border-bottom:0}
.news-main-front-category-list strong{font-size:13.5px;line-height:1.42;font-weight:600}
.news-main-front-latest{margin-top:10px;border:1px solid #dfe5eb;border-radius:12px;background:#fff;overflow:hidden}
.news-main-front-latest>header{padding:10px 14px 8px;border-bottom:1px solid #dfe5eb}
.news-main-front-latest>header h3{margin:0;font-size:18px;color:#172438}
.news-main-front-latest>div{display:grid;grid-template-columns:repeat(3,minmax(0,1fr))}
.news-main-front-latest>div>div{padding:6px 14px}
.news-main-front-latest>div>div+div{border-left:1px solid #e1e6ec}
.news-main-front-latest a{display:grid;grid-template-columns:auto minmax(0,1fr);gap:7px;align-items:start;padding:6px 0;border-bottom:1px solid #edf0f3;color:#2d3d50;text-decoration:none}
.news-main-front-latest a:last-child{border-bottom:0}
.news-main-front-latest a span{margin-top:2px;color:#c51625;font-size:10px;font-weight:700;white-space:nowrap}
.news-main-front-latest a strong{display:block;font-size:13.5px;line-height:1.43;font-weight:600}.news-main-front-latest a p{margin:3px 0 0;color:#7a8796;font-size:11.5px;line-height:1.45;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.news-main-more-batch{margin-top:10px;border:1px solid #dfe5eb;border-radius:12px;background:#fff;overflow:hidden}
.news-main-more-batch>div{display:grid;grid-template-columns:repeat(4,minmax(0,1fr))}
.news-main-more-batch>div>div{padding:7px 12px}
.news-main-more-batch>div>div+div{border-left:1px solid #e1e6ec}
.news-main-more-batch a{display:block;padding:7px 0;border-bottom:1px solid #edf0f3;color:#2d3d50;text-decoration:none}
.news-main-more-batch a:last-child{border-bottom:0}
.news-main-more-batch a>span{display:block;margin-bottom:2px;color:#c51625;font-size:10px;font-weight:700}
.news-main-more-batch a>strong{display:block;font-size:13.5px;line-height:1.43;font-weight:600}
.news-main-more-batch a.is-lead>strong{font-size:15px;color:#172438}
.news-main-more-batch a>p{margin:4px 0 0;color:#758190;font-size:11.5px;line-height:1.45;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.news-main-front-brief a:hover strong,.news-main-front-feature a:hover h2,.news-main-front-related a:hover strong,.news-main-front-quick a:hover strong,.news-main-front-category a:hover strong,.news-main-front-latest a:hover strong,.news-main-more-batch a:hover strong{color:#0b63ce}
@media(max-width:1000px){
  .news-main-front-layout{grid-template-columns:1fr 1fr}.news-main-front-feature{grid-column:1/-1;grid-row:1;border:0;border-bottom:1px solid #e0e5eb;padding:0 0 14px}.news-main-front-side{gap:14px}.news-main-front-category-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.news-main-front-category:nth-child(n){border-right:1px solid #e1e6ec}.news-main-front-category:nth-child(even){border-right:0}.news-main-front-quick,.news-main-front-latest>div{grid-template-columns:repeat(2,minmax(0,1fr))}.news-main-more-batch>div{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:680px){
  .news-main-front-layout{grid-template-columns:1fr;padding:12px 14px}.news-main-front-feature{grid-column:1;grid-row:1}.news-main-front-side{padding-top:12px}.news-main-front-feature-main h2{font-size:23px}.news-main-front-brief header h3,.news-main-front-category header h3{font-size:17px}.news-main-front-quick,.news-main-front-category-grid,.news-main-front-latest>div,.news-main-more-batch>div{grid-template-columns:1fr}.news-main-front-quick>div+div,.news-main-front-latest>div>div+div,.news-main-more-batch>div>div+div{border-left:0;border-top:1px solid #e1e6ec}.news-main-front-category:nth-child(n){border-right:0}
}


/* 2026-10-03: fill the three-column headline module with 3-line summaries. */
body[data-news-category="all"] .news-main-front-quick a{
  grid-template-columns:7px minmax(0,1fr)!important;
  grid-template-rows:auto auto!important;
  align-content:start!important;
}
body[data-news-category="all"] .news-main-front-quick a>i{grid-column:1;grid-row:1;margin-top:8px!important}
body[data-news-category="all"] .news-main-front-quick a>strong{grid-column:2;grid-row:1}
body[data-news-category="all"] .news-main-front-quick a>p{
  grid-column:2;grid-row:2;
  margin:6px 0 0!important;
  color:#718096!important;
  font-size:12px!important;
  line-height:1.55!important;
  font-weight:400!important;
  display:-webkit-box!important;
  -webkit-box-orient:vertical!important;
  -webkit-line-clamp:3!important;
  overflow:hidden!important;
}


/* 2026-10-03 V13: complete category rows + Google Ads placeholder */
.news-main-front-ad-slot{
  grid-column:span 2;
  min-width:0;
  min-height:100%;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:14px 18px;
  border-bottom:0;
  background:#fafbfc;
  color:#a2acb8;
  font-size:11px;
  letter-spacing:.12em;
}
.news-main-front-ad-slot span{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  min-height:150px;
  border:1px dashed #d5dce5;
  border-radius:8px;
  background:#fff;
}
@media(max-width:1050px){
  .news-main-front-ad-slot{grid-column:1/-1}
}
@media(max-width:720px){
  .news-main-front-ad-slot{grid-column:1;padding:10px 12px}
  .news-main-front-ad-slot span{min-height:100px}
}


/* V14: Google AdSense reserved space stays visually blank until ad code is inserted. */
.news-main-front-ad-slot{
  display:block!important;
  min-height:150px!important;
  padding:0!important;
  border:0!important;
  background:#fff!important;
  color:transparent!important;
}
.news-main-front-ad-slot::before,.news-main-front-ad-slot::after{content:none!important}


/* 2026-10-04 V17 — hard reset when returning from a subcategory to 要闻. */
body.pro-news-page[data-news-category="all"] #channelLead.news-pro-lead.news-main-front-host{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  grid-template-columns:none!important;
  grid-auto-columns:auto!important;
  gap:0!important;
  margin-left:0!important;
  margin-right:0!important;
}
body.pro-news-page[data-news-category="all"] #headlineStrip.news-pro-headlines.news-main-front-quick-host{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  grid-template-columns:none!important;
  grid-auto-columns:auto!important;
  gap:0!important;
  margin-left:0!important;
  margin-right:0!important;
}
body.pro-news-page[data-news-category="all"] #headlineStrip .news-main-front-quick{
  display:grid!important;
  width:100%!important;
  max-width:none!important;
  grid-template-columns:repeat(3,minmax(0,1fr))!important;
}
@media(max-width:1000px){
  body.pro-news-page[data-news-category="all"] #headlineStrip .news-main-front-quick{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:680px){
  body.pro-news-page[data-news-category="all"] #headlineStrip .news-main-front-quick{grid-template-columns:1fr!important}
}


/* 2026-10-04 V22 — isolated host for front-page “更多新闻”.
   It is a normal full-width block outside #newsBatches, so loading more cannot
   alter the already-rendered lead/headline/category modules above it. */
body.pro-news-page[data-news-category="all"] #newsMoreBatches.news-more-batches-host{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  margin:0!important;
  padding:0!important;
  overflow:visible!important;
}
body.pro-news-page[data-news-category="all"] #newsMoreBatches>.news-main-more-batch{
  display:block!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
  box-sizing:border-box!important;
}
body.pro-news-page[data-news-category="all"] #newsMoreBatches>.news-main-more-batch>div{
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  width:100%!important;
  max-width:none!important;
  min-width:0!important;
}
@media(max-width:1000px){
  body.pro-news-page[data-news-category="all"] #newsMoreBatches>.news-main-more-batch>div{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:680px){
  body.pro-news-page[data-news-category="all"] #newsMoreBatches>.news-main-more-batch>div{grid-template-columns:1fr!important}
}

/* 2026-10-04 V29 — 要闻分类新闻重新排版。
   桌面端：美国和中国都纵向占两格；教育移到原中国位置；
   中国填入原中部空白并延伸到下一行；美国、中国各显示 11 条。 */
@media(min-width:1001px){
  body.pro-news-page[data-news-category="all"] .news-main-front-category-grid{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
    grid-template-areas:
      "world us culture"
      "immigration us tech"
      "society china business"
      "opinion china life"!important;
    align-items:stretch!important;
  }
  body.pro-news-page[data-news-category="all"] .news-main-front-category{border-right:1px solid #e1e6ec!important;border-bottom:1px solid #e1e6ec!important}
  body.pro-news-page[data-news-category="all"] .news-main-front-category-world{grid-area:world}
  body.pro-news-page[data-news-category="all"] .news-main-front-category-us{grid-area:us}
  body.pro-news-page[data-news-category="all"] .news-main-front-category-culture{grid-area:culture;border-right:0!important}
  body.pro-news-page[data-news-category="all"] .news-main-front-category-immigration{grid-area:immigration}
  body.pro-news-page[data-news-category="all"] .news-main-front-category-tech{grid-area:tech;border-right:0!important}
  body.pro-news-page[data-news-category="all"] .news-main-front-category-society{grid-area:society}
  body.pro-news-page[data-news-category="all"] .news-main-front-category-china{grid-area:china;border-bottom:0!important}
  body.pro-news-page[data-news-category="all"] .news-main-front-category-business{grid-area:business;border-right:0!important}
  body.pro-news-page[data-news-category="all"] .news-main-front-category-opinion{grid-area:opinion;border-bottom:0!important}
  body.pro-news-page[data-news-category="all"] .news-main-front-category-life{grid-area:life;border-right:0!important;border-bottom:0!important}

  /* 两个加高栏目沿用同一视觉规则，让新增标题自然填满双格高度。 */
  body.pro-news-page[data-news-category="all"] .news-main-front-category-us,
  body.pro-news-page[data-news-category="all"] .news-main-front-category-china{
    display:flex!important;
    flex-direction:column!important;
  }
  body.pro-news-page[data-news-category="all"] .news-main-front-category-us .news-main-front-category-list,
  body.pro-news-page[data-news-category="all"] .news-main-front-category-china .news-main-front-category-list{
    flex:1 1 auto!important;
  }
}

/* 2026-10-07: every existing summary slot on the news front page shows 2–3 lines. */
body[data-news-category="all"] .news-main-front-feature-main p{min-height:calc(1.68em * 3)}
body[data-news-category="all"] .news-main-front-quick a>p{min-height:calc(1.55em * 3)}
body[data-news-category="all"] .news-main-front-category-lead>p,body[data-news-category="all"] .news-main-front-latest a p,body[data-news-category="all"] .news-main-more-batch a>p{min-height:calc(1.45em * 2)}
