/* Editorial news room. The original list, category state and pagination stay authoritative. */
body.qiai-redesign-news .rx-news {
  --rn-ink: #203a30;
  --rn-muted: #5f6e64;
  --rn-line: #d8dfd9;
  --rn-paper: #f7f8f5;
  --rn-green: #315c46;
  color: var(--rn-ink);
  background: var(--rn-paper);
  font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
}
body.qiai-redesign-news .rx-news * { box-sizing: border-box; }
body.qiai-redesign-news .rx-news .rn-container,
body.qiai-redesign-news .rx-news .news-content > .container,
body.qiai-redesign-news .rx-news .news-filter > .container,
body.qiai-redesign-news .rx-news .rn-context .container {
  width: calc(100% - 320px) !important;
  max-width: 1200px !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
body.qiai-redesign-news .rx-news a { text-underline-offset: 5px; }
body.qiai-redesign-news .rx-news :is(a, button, summary):focus-visible {
  outline: 3px solid #879e7d;
  outline-offset: 5px;
}
body.qiai-redesign-news .rx-news .rn-masthead { padding: 38px 0 0; background: #fff; }
body.qiai-redesign-news .rx-news .rn-masthead__top {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 18px; border-bottom: 1px solid var(--rn-line);
  font-size: 12px; color: var(--rn-muted); letter-spacing: 1.8px;
}
body.qiai-redesign-news .rx-news .rn-masthead__top span:first-child { color: var(--rn-green); font-weight: 600; letter-spacing: 3px; }
body.qiai-redesign-news .rx-news .rn-masthead__body { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; padding: 30px 0 26px; }
body.qiai-redesign-news .rx-news .rn-kicker { margin: 0 0 12px; color: var(--rn-green); font-size: 12px; letter-spacing: 2px; line-height: 1.6; }
body.qiai-redesign-news .rx-news .rn-masthead h1 {
  margin: 0; color: var(--rn-ink); font-family: "Songti SC", "STSong", "SimSun", serif;
  font-size: clamp(34px, 3vw, 48px); font-weight: 600; line-height: 1.32; letter-spacing: .025em;
}
body.qiai-redesign-news .rx-news .rn-masthead__intro { margin: 0 0 3px; color: var(--rn-muted); font-size: 14px; line-height: 1.9; flex-shrink: 0; }
body.qiai-redesign-news .rx-news .rn-masthead__links { display: flex; gap: 28px; padding: 0 0 24px; }
body.qiai-redesign-news .rx-news .rn-masthead__links a { color: var(--rn-ink); text-decoration: none; font-size: 13px; }
body.qiai-redesign-news .rx-news .rn-masthead__links a:hover { color: #5b6d52; }
body.qiai-redesign-news .rx-news .rn-masthead__links span { margin-left: 10px; font-size: 16px; }
body.qiai-redesign-news .rx-news .rn-filter-wrap { background: #fff; position: sticky; top: 64px; z-index: 80; }
body.qiai-redesign-news .rx-news .news-filter { position: static; padding: 0; background: #fff; border-top: 1px solid #edf0eb; border-bottom: 1px solid var(--rn-line); }
body.qiai-redesign-news .rx-news .news-filter > .container { display: flex; gap: 34px; text-align: left !important; }
body.qiai-redesign-news .rx-news .filter-btn {
  position: relative; margin: 0; padding: 18px 0 17px; min-height: 54px;
  background: transparent; color: #66726c; border: 0; border-radius: 0;
  box-shadow: none; font-size: 14px; line-height: 1.4; font-weight: 500;
  transition: color 180ms ease;
}
body.qiai-redesign-news .rx-news .filter-btn::after { content: ""; position: absolute; bottom: -1px; height: 3px; left: 0; right: 0; background: transparent; }
body.qiai-redesign-news .rx-news .filter-btn:hover,
body.qiai-redesign-news .rx-news .filter-btn.active { color: var(--rn-green); background: transparent; }
body.qiai-redesign-news .rx-news .filter-btn.active { font-weight: 600; }
body.qiai-redesign-news .rx-news .filter-btn.active::after { background: var(--rn-green); }
/* Combined with the inherited scroll padding, this clears the filter bar. */
body.qiai-redesign-news .rx-news .rn-stories { scroll-margin-top: 60px; }
body.qiai-redesign-news .rx-news .news-content { padding: 28px 0 48px !important; background: var(--rn-paper) !important; }
body.qiai-redesign-news .rx-news .news-content > div:first-child:not(.container) { background: transparent !important; pointer-events: none; }
body.qiai-redesign-news .rx-news .news-grid { display: block; }
body.qiai-redesign-news .rx-news .news-main > div:first-child:not(.news-list) { margin-bottom: 22px !important; padding-bottom: 15px !important; border-bottom-color: var(--rn-line) !important; }
body.qiai-redesign-news .rx-news .news-main > div:first-child h2 { color: var(--rn-ink) !important; font-size: 14px !important; letter-spacing: 2px; font-weight: 600 !important; }
body.qiai-redesign-news .rx-news .news-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; row-gap: 0; }
/* Deliberately do not set display on .news-item: existing JS owns flex/none. */
body.qiai-redesign-news .rx-news .news-item {
  min-width: 0; flex-direction: row; align-items: flex-start; gap: 20px;
  padding: 28px 0; margin: 0; border: 0 !important; border-bottom: 1px solid var(--rn-line) !important;
  border-radius: 0 !important; background: transparent; box-shadow: none !important; transform: none !important;
  transition: border-color 180ms ease;
}
body.qiai-redesign-news .rx-news .news-item:hover { transform: none !important; box-shadow: none !important; border-color: #849982 !important; }
body.qiai-redesign-news .rx-news .news-thumb { width: 37% !important; height: 146px !important; flex-shrink: 0; border-radius: 2px; background: #e8eee7; }
body.qiai-redesign-news .rx-news .news-thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 2px; transform: none; transition: transform 350ms ease; }
body.qiai-redesign-news .rx-news .news-item:hover .news-thumb img { transform: scale(1.025); }
body.qiai-redesign-news .rx-news .news-item-content { min-width: 0; padding: 0 !important; justify-content: flex-start; align-items: flex-start; }
body.qiai-redesign-news .rx-news .news-category-tag { margin: 0 0 10px; padding: 0; border-radius: 0; background: transparent; font-size: 11px; color: #5d785d; letter-spacing: 1px; line-height: 1.4; }
body.qiai-redesign-news .rx-news .news-item-content h3 { margin: 0 0 12px; color: var(--rn-ink); font-size: 17px; line-height: 1.65 !important; font-weight: 600; text-wrap: pretty; }
body.qiai-redesign-news .rx-news .news-item-content p { color: var(--rn-muted); font-size: 12px; line-height: 1.85; margin: 0; }
body.qiai-redesign-news .rx-news .news-item-content p:empty { display: none; }
body.qiai-redesign-news .rx-news .news-item-meta { width: 100%; display: flex; flex-wrap: wrap; gap: 7px 12px; margin-top: auto; padding-top: 3px; font-size: 11px; color: #5f6e64; line-height: 1.7; font-variant-numeric: tabular-nums; }
body.qiai-redesign-news .rx-news .news-item-meta > span { display: inline-flex; align-items: center; gap: 5px; }
body.qiai-redesign-news .rx-news .news-item-meta > a { display: inline-block; color: var(--rn-green) !important; font-size: 12px; text-decoration: none; border-bottom: 1px solid #9eaf98; }
body.qiai-redesign-news .rx-news .news-item-meta .news-live-stats { width: 100%; gap: 12px; }
/* Every filtered page gets a lead story without duplicating article text or dates. */
body.qiai-redesign-news .rx-news .news-item:nth-child(1 of .news-item:not([style*="display: none"])) {
  grid-column: 1 / -1; align-items: stretch; padding: 0 0 34px; gap: 0; margin-bottom: 6px;
  border-bottom: 1px solid #bccabc !important;
}
body.qiai-redesign-news .rx-news .news-item:nth-child(1 of .news-item:not([style*="display: none"])) .news-thumb {
  width: 62% !important; height: auto !important; aspect-ratio: 16 / 9; align-self: flex-start; border-radius: 2px;
}
body.qiai-redesign-news .rx-news .news-item:nth-child(1 of .news-item:not([style*="display: none"])) .news-item-content { padding: 24px 0 20px 34px !important; justify-content: center; }
body.qiai-redesign-news .rx-news .news-item:nth-child(1 of .news-item:not([style*="display: none"])) .news-category-tag { margin-bottom: 18px; font-size: 12px; }
body.qiai-redesign-news .rx-news .news-item:nth-child(1 of .news-item:not([style*="display: none"])) h3 {
  font-family: "Songti SC", "STSong", "SimSun", serif; font-size: clamp(24px, 2.05vw, 32px); line-height: 1.62 !important; font-weight: 600; margin-bottom: 22px;
}
body.qiai-redesign-news .rx-news .news-item:nth-child(1 of .news-item:not([style*="display: none"])) p { font-size: 13px; margin-bottom: 24px; }
body.qiai-redesign-news .rx-news .news-item:nth-child(1 of .news-item:not([style*="display: none"])) .news-item-meta { margin-top: 0; gap: 12px; font-size: 12px; }
body.qiai-redesign-news .rx-news .news-item:nth-child(1 of .news-item:not([style*="display: none"])) .news-item-meta > a { flex-basis: max-content; margin-top: 10px; padding-bottom: 4px; font-size: 13px; }
body.qiai-redesign-news .rx-news #pagination { margin-top: 38px !important; gap: 10px !important; }
body.qiai-redesign-news .rx-news #pagination button { border-radius: 2px !important; transition: background 180ms ease; }
body.qiai-redesign-news .rx-news #pagination button[aria-current="page"] { background: var(--rn-green) !important; }
body.qiai-redesign-news .rx-news #pageInfo { color: var(--rn-muted) !important; font-size: 12px !important; letter-spacing: .5px; }
body.qiai-redesign-news .rx-news .rn-context { background: var(--rn-paper); padding-bottom: 36px; }
body.qiai-redesign-news .rx-news .rn-context > section { padding: 0 !important; background: transparent !important; }
body.qiai-redesign-news .rx-news .rn-context p { color: #5f6e58 !important; font-size: 11px; line-height: 1.9 !important; border-left: 2px solid #b4bca5; padding-left: 16px; }
body.qiai-redesign-news .rx-news .rn-more { background: #eef2eb; padding: 58px 0 70px; }
body.qiai-redesign-news .rx-news .rn-section-heading { margin-bottom: 30px; }
body.qiai-redesign-news .rx-news .rn-section-heading h2 { color: var(--rn-ink); font-family: "Songti SC", "STSong", "SimSun", serif; font-size: 32px; font-weight: 600; line-height: 1.5; margin: 0 0 14px; }
body.qiai-redesign-news .rx-news .rn-section-heading > p:last-child { margin: 0; font-size: 13px; line-height: 1.8; color: var(--rn-muted); }
body.qiai-redesign-news .rx-news .rn-dossier { border-top: 1px solid #cbd6c7; }
body.qiai-redesign-news .rx-news .rn-dossier:last-child { border-bottom: 1px solid #cbd6c7; }
body.qiai-redesign-news .rx-news .rn-dossier summary { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 24px 0; cursor: pointer; list-style: none; }
body.qiai-redesign-news .rx-news .rn-dossier summary::-webkit-details-marker { display: none; }
body.qiai-redesign-news .rx-news .rn-dossier summary small { display: block; margin-bottom: 8px; color: #5b6d52; font-size: 11px; letter-spacing: 1px; }
body.qiai-redesign-news .rx-news .rn-dossier summary strong { display: block; font-size: 20px; line-height: 1.5; font-weight: 500; }
body.qiai-redesign-news .rx-news .rn-dossier__sign { position: relative; display: block; width: 24px; height: 24px; flex: 0 0 24px; }
body.qiai-redesign-news .rx-news .rn-dossier__sign::before,
body.qiai-redesign-news .rx-news .rn-dossier__sign::after { content: ""; position: absolute; width: 16px; height: 1px; top: 11px; left: 4px; background: var(--rn-green); }
body.qiai-redesign-news .rx-news .rn-dossier__sign::after { transform: rotate(90deg); }
body.qiai-redesign-news .rx-news .rn-dossier[open] .rn-dossier__sign::after { transform: none; }
body.qiai-redesign-news .rx-news .rn-dossier__body { padding: 0 0 32px; }
body.qiai-redesign-news .rx-news .rn-dossier__body > section { padding: 24px !important; background: #f9faf7 !important; border: 0 !important; }
body.qiai-redesign-news .rx-news .rn-dossier__body .container { width: 100% !important; max-width: none !important; padding: 0 !important; }
body.qiai-redesign-news .rx-news .rn-dossier__body .section-header { text-align: left; margin-bottom: 24px; }
body.qiai-redesign-news .rx-news .rn-dossier__body .section-subtitle { color: #5f6e64; font-size: 11px; letter-spacing: 1px; }
body.qiai-redesign-news .rx-news .rn-dossier__body .section-title { font-size: 24px; color: var(--rn-ink); margin: 12px 0; }
body.qiai-redesign-news .rx-news .rn-dossier__body .section-desc { max-width: 780px; font-size: 13px; color: var(--rn-muted); margin-left: 0; line-height: 1.9; }
body.qiai-redesign-news .rx-news .rn-dossier__body .info-card { padding: 20px; border-radius: 2px !important; background: #fff; border: 1px solid #e1e7dc !important; box-shadow: none !important; text-decoration: none; }
body.qiai-redesign-news .rx-news .rn-dossier__body .info-card strong { display: block; font-size: 14px; line-height: 1.8; color: var(--rn-ink); }
body.qiai-redesign-news .rx-news .rn-dossier__body .info-card span { display: block; font-size: 12px; line-height: 1.8; color: var(--rn-muted); margin-top: 6px; }
body.qiai-redesign-news .rx-news .rn-overview .container > div:first-child { margin-bottom: 24px !important; text-align: left !important; }
body.qiai-redesign-news .rx-news .rn-overview h2 { font-size: 24px !important; color: var(--rn-ink) !important; }
body.qiai-redesign-news .rx-news .rn-overview .container > div:nth-child(2) { gap: 14px !important; }
body.qiai-redesign-news .rx-news .rn-overview .container > div:nth-child(2) > div { border-radius: 2px !important; background: #fff !important; border-color: #e1e7dc !important; padding: 20px !important; }
body.qiai-redesign-news .rx-news .rn-overview .container > div:nth-child(2) p { font-size: 13px; }
body.qiai-redesign-news .rx-news .rn-overview .container > div:last-child { border-radius: 2px !important; background: #365c46 !important; padding: 24px !important; }
body.qiai-redesign-news .rx-news .rn-overview .container > div:last-child h3 { font-size: 22px !important; }
body.qiai-redesign-news .rx-news .rn-overview .container > div:last-child p { font-size: 13px; }
@media (prefers-reduced-motion: reduce) {
  body.qiai-redesign-news .rx-news *, body.qiai-redesign-news .rx-news *::before, body.qiai-redesign-news .rx-news *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
