/* News home: clear editorial blocks.
   The shared masthead, site header and site footer remain owned by existing styles. */

html body.portal-news-page .hemu-portal-main .masthead-title h1 {
  color: var(--portal-ink);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, sans-serif !important;
  font-size: clamp(38px, 3.6vw, 50px);
  font-weight: 690;
  letter-spacing: 0 !important;
  line-height: 1.12;
  text-align: left;
}

@media (max-width: 640px) {
  html body.portal-news-page .hemu-portal-main .masthead-title h1 {
    max-width: 100%;
    font-size: clamp(34px, 9vw, 41px);
    white-space: normal;
  }
}

.portal-news-page .portal-content.hemu-portal-shell {
  width: min(calc(100% - 64px), 1368px);
  padding-block: 36px 54px;
}

.portal-news-page .news-focus-layout {
  grid-template-columns: minmax(360px, 420px) minmax(380px, 1fr) minmax(340px, 400px);
  gap: 28px;
  padding-bottom: 28px;
}

.portal-news-page .news-lead-image {
  display: block;
  min-height: 332px;
  border-radius: 3px;
}

.portal-news-page .news-lead-copy {
  min-height: 332px;
  padding: 10px 0 4px;
}

.portal-news-page .portal-accent-label {
  font-size: 14px;
  letter-spacing: .02em;
}

.portal-news-page .news-lead-copy h2 {
  margin: 20px 0 15px;
  font-size: clamp(27px, 2.15vw, 32px);
  line-height: 1.52;
}

.portal-news-page .news-lead-copy > p:not(.portal-accent-label) {
  max-width: 46em;
  color: color-mix(in srgb, var(--portal-text) 92%, #000);
  font-size: 14px;
  line-height: 1.82;
}

.portal-news-page .news-lead-copy footer {
  gap: 14px;
  font-size: 11.5px;
  line-height: 1.5;
}

.portal-news-page .news-focus-layout > .portal-update-panel {
  padding: 8px 0 2px 24px;
}

.portal-news-page .portal-section-title {
  gap: 13px;
  font-size: 21px;
  font-weight: 760;
}

.portal-news-page .portal-section-title > i {
  width: 3px;
  height: 22px;
}

.portal-news-page .portal-update-list { margin-top: 14px; }

.portal-news-page .portal-update-row {
  grid-template-columns: minmax(0, 1fr) auto auto;
  gap: 11px;
  min-height: 68px;
  padding: 12px 4px 11px 0;
}

.portal-news-page .portal-update-row strong {
  font-size: 15px;
  font-weight: 670;
  line-height: 1.42;
}

.portal-news-page .portal-update-row small {
  margin-top: 5px;
  font-size: 12.5px;
  line-height: 1.45;
}

.portal-news-page .portal-update-row time {
  padding-top: 2px;
  font-size: 11px;
}

.portal-news-page .portal-update-row > em {
  min-width: 31px;
  padding: 3px 6px;
  font-size: 9px;
  text-align: center;
}

.portal-news-page .portal-update-row.is-latest::before {
  top: 19px;
  left: -14px;
}

.portal-news-page .portal-update-panel > .portal-text-link {
  margin-top: 16px;
  font-size: 13px;
}

.news-channel-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
  scroll-margin-top: calc(var(--site-header-height) + 18px);
}

.news-channel-card {
  min-width: 0;
  padding: 18px 22px 16px;
  border: 1px solid var(--portal-line);
  border-radius: 3px;
  background: var(--portal-surface);
  box-shadow: 0 9px 26px rgba(27, 43, 35, .035);
}

.news-channel-card > header {
  display: flex;
  min-height: 42px;
  gap: 18px;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid var(--portal-line);
}

.news-channel-card > header h2 {
  display: flex;
  min-width: 0;
  gap: 11px;
  align-items: center;
  margin: 0;
  color: var(--portal-ink);
  font-size: 20px;
  font-weight: 760;
  letter-spacing: .015em;
  line-height: 1.25;
}

.news-channel-card > header h2::before {
  width: 3px;
  height: 22px;
  flex: 0 0 auto;
  background: var(--portal-rust);
  content: "";
}

.news-channel-card > header h2 img {
  width: 20px;
  height: 20px;
  flex: 0 0 auto;
  object-fit: contain;
}

.news-channel-card > header > a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 3px;
  color: var(--portal-muted);
  font-size: 12.5px;
  font-weight: 650;
  white-space: nowrap;
}

.news-channel-card > header > a span {
  transition: transform 210ms var(--ease-out);
}

.news-channel-card > header > a:hover,
.news-channel-card > header > a:focus-visible { color: var(--portal-green); }

.news-channel-card > header > a:hover span,
.news-channel-card > header > a:focus-visible span { transform: translateX(4px); }

.news-channel-list > a {
  display: grid;
  grid-template-columns: 58px minmax(78px, 102px) minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 51px;
  border-bottom: 1px solid color-mix(in srgb, var(--portal-line) 84%, transparent);
  transition: color 180ms ease, background-color 180ms ease, padding 210ms var(--ease-out);
}

.news-channel-list > a:last-child { border-bottom: 0; }

.news-channel-list > a:hover,
.news-channel-list > a:focus-visible {
  padding-inline: 6px;
  color: var(--portal-green);
  background: color-mix(in srgb, var(--portal-green-soft) 48%, transparent);
}

.news-channel-list time {
  color: var(--portal-muted);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.news-channel-list small {
  overflow: hidden;
  color: var(--portal-text);
  font-size: 12px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-channel-list strong {
  overflow: hidden;
  color: var(--portal-ink);
  font-size: 14px;
  font-weight: 590;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-channel-list em {
  justify-self: end;
  padding: 3px 6px;
  border-radius: 2px;
  color: #fff;
  background: var(--portal-rust);
  font-size: 9px;
  font-style: normal;
  font-weight: 760;
  white-space: nowrap;
}

.news-channel-list .is-latest time,
.news-channel-list .is-urgent time {
  color: var(--portal-rust);
  font-weight: 760;
}

.news-channel-sync {
  margin: 9px 0 0;
  color: var(--portal-muted);
  font-size: 11px;
  text-align: right;
}

.news-channel-empty {
  display: grid;
  min-height: 204px;
  place-items: center;
  color: var(--portal-muted);
  font-size: 13px;
  text-align: center;
}

html[data-theme="dark"] .news-channel-card {
  background: color-mix(in srgb, var(--portal-surface) 96%, #000);
  box-shadow: none;
}

html[data-theme="dark"] .news-channel-card > header h2 img {
  filter: invert(.9) sepia(.12);
}

@media (max-width: 1180px) {
  .portal-news-page .news-focus-layout {
    grid-template-columns: minmax(300px, .82fr) minmax(0, 1.18fr);
  }

  .portal-news-page .news-focus-layout > .portal-update-panel {
    grid-column: 1 / -1;
    padding: 24px 0 0;
    border-top: 1px solid var(--portal-line);
    border-left: 0;
  }

  .portal-news-page .news-focus-layout > .portal-update-panel .portal-update-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 28px;
  }
}

@media (max-width: 900px) {
  .portal-news-page .portal-content.hemu-portal-shell {
    width: min(calc(100% - 36px), 1368px);
    padding-top: 30px;
  }

  .news-channel-grid { gap: 14px; }

  .news-channel-card { padding-inline: 18px; }

  .news-channel-list > a {
    grid-template-columns: 52px minmax(68px, 82px) minmax(0, 1fr) auto;
    gap: 9px;
  }

  .news-channel-list small { font-size: 11.5px; }
  .news-channel-list strong { font-size: 13.5px; }
}

@media (max-width: 760px) {
  .portal-news-page .news-focus-layout { grid-template-columns: 1fr; gap: 22px; }

  .portal-news-page .news-lead-image {
    min-height: 0;
    aspect-ratio: 1.36;
  }

  .portal-news-page .news-lead-copy { min-height: 0; padding-bottom: 8px; }

  .portal-news-page .news-lead-copy h2 {
    margin-top: 15px;
    font-size: clamp(24px, 7.4vw, 30px);
    line-height: 1.48;
  }

  .portal-news-page .news-lead-copy > p:not(.portal-accent-label) { font-size: 13.5px; }

  .portal-news-page .news-lead-copy footer {
    margin-top: 22px;
    align-items: flex-start;
  }

  .portal-news-page .news-focus-layout > .portal-update-panel .portal-update-list {
    grid-template-columns: 1fr;
  }

  .news-channel-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .portal-news-page .portal-content.hemu-portal-shell {
    width: min(calc(100% - 28px), 1368px);
    padding-block: 24px 38px;
  }

  .portal-news-page .portal-section-title,
  .news-channel-card > header h2 { font-size: 19px; }

  .portal-news-page .portal-update-row {
    grid-template-columns: minmax(0, 1fr) auto;
    min-height: 70px;
  }

  .portal-news-page .portal-update-row time {
    grid-column: 2;
    grid-row: 1;
  }

  .portal-news-page .portal-update-row > em { display: none; }

  .news-channel-card { padding: 16px 15px 12px; }

  .news-channel-card > header { min-height: 43px; }

  .news-channel-card > header h2 { gap: 8px; }

  .news-channel-card > header h2::before { height: 20px; }

  .news-channel-card > header h2 img {
    width: 18px;
    height: 18px;
  }

  .news-channel-card > header > a { font-size: 12px; }

  .news-channel-list > a {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    min-height: 58px;
    gap: 9px;
  }

  .news-channel-list small { display: none; }
  .news-channel-list time { font-size: 12px; }
  .news-channel-list strong { font-size: 14px; }
  .news-channel-list em { font-size: 8.5px; }
}

@media (prefers-reduced-motion: reduce) {
  .news-channel-card > header > a span,
  .news-channel-list > a { transition: none; }
}

/* ZJU-inspired information modules -------------------------------------- */

.portal-news-page .hemu-portal-main { background: #f2f3f1; }
.portal-news-page .hemu-portal-masthead { background: var(--portal-paper); }

.news-snapshot-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.news-snapshot-card,
.news-channel-section {
  border: 1px solid color-mix(in srgb, var(--portal-line) 86%, #fff);
  border-radius: 2px;
  background: var(--portal-surface);
  box-shadow: 0 8px 24px rgba(27, 43, 35, .045);
}

.news-snapshot-card { padding: 20px 24px 16px; }

.news-snapshot-card > header {
  display: flex;
  min-height: 45px;
  gap: 20px;
  align-items: flex-start;
  justify-content: space-between;
  border-bottom: 1px solid var(--portal-line);
}

.news-snapshot-card > header h2 {
  display: flex;
  gap: 11px;
  align-items: center;
  margin: 0;
  color: var(--portal-ink);
  font-size: 21px;
  font-weight: 760;
  letter-spacing: .01em;
  line-height: 1.25;
}

.news-snapshot-card > header h2::before {
  width: 3px;
  height: 22px;
  background: var(--portal-rust);
  content: "";
}

.news-snapshot-card > header h2 img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.news-snapshot-card > header > a {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  margin-top: 3px;
  color: var(--portal-muted);
  font-size: 12.5px;
  font-weight: 650;
  white-space: nowrap;
}

.news-snapshot-card > header > a:hover,
.news-snapshot-card > header > a:focus-visible { color: var(--portal-green); }

.news-snapshot-card > header > a span { transition: transform 210ms var(--ease-out); }
.news-snapshot-card > header > a:hover span,
.news-snapshot-card > header > a:focus-visible span { transform: translateX(4px); }

.news-snapshot-list > a {
  display: grid;
  grid-template-columns: 56px 68px minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  min-height: 51px;
  border-bottom: 1px solid color-mix(in srgb, var(--portal-line) 84%, transparent);
  transition: color 180ms ease, background-color 180ms ease, padding 210ms var(--ease-out);
}

.news-snapshot-list > a:last-child { border-bottom: 0; }

.news-snapshot-list > a:hover,
.news-snapshot-list > a:focus-visible {
  padding-inline: 6px;
  color: var(--portal-green);
  background: color-mix(in srgb, var(--portal-green-soft) 48%, transparent);
}

.news-snapshot-list time {
  color: var(--portal-muted);
  font-size: 12.5px;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

.news-snapshot-list small {
  overflow: hidden;
  color: var(--portal-text);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-snapshot-list strong {
  overflow: hidden;
  color: var(--portal-ink);
  font-size: 15px;
  font-weight: 590;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-snapshot-list em {
  justify-self: end;
  padding: 3px 6px;
  border-radius: 2px;
  color: #fff;
  background: var(--portal-rust);
  font-size: 9px;
  font-style: normal;
  font-weight: 760;
  white-space: nowrap;
}

.news-snapshot-list .is-latest time,
.news-snapshot-list .is-soon time,
.news-snapshot-list .is-urgent time {
  color: var(--portal-rust);
  font-weight: 760;
}

.news-channel-section {
  margin-top: 18px;
  padding: 25px 0 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  scroll-margin-top: calc(var(--site-header-height) + 18px);
}

.news-channel-section-head {
  display: flex;
  gap: 40px;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 20px;
}

.news-channel-section-head > div > p {
  margin: 0 0 7px;
  color: var(--portal-rust);
  font-size: 11px;
  font-weight: 760;
  letter-spacing: .16em;
}

.news-channel-section-head h2 {
  margin: 0;
  color: var(--portal-ink);
  font-size: 25px;
  font-weight: 760;
  letter-spacing: .01em;
  line-height: 1.2;
}

.news-channel-section-head > p {
  max-width: 520px;
  margin: 0;
  color: var(--portal-muted);
  font-size: 13.5px;
  line-height: 1.65;
  text-align: right;
}

.news-channel-entry-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.news-channel-entry {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) auto 18px;
  gap: 16px;
  align-items: center;
  min-height: 158px;
  padding: 26px 24px;
  border: 1px solid var(--portal-line);
  border-radius: 1px;
  background: var(--portal-surface);
  transition: border-color 190ms ease, box-shadow 220ms ease, transform 220ms var(--ease-out);
}

.news-channel-entry:hover,
.news-channel-entry:focus-visible {
  border-color: color-mix(in srgb, var(--portal-green) 42%, var(--portal-line));
  box-shadow: 0 12px 28px rgba(27, 43, 35, .08);
  transform: translateY(-2px);
}

.news-channel-entry-icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid color-mix(in srgb, var(--portal-green) 20%, var(--portal-line));
  background: var(--portal-green-soft);
}

.news-channel-entry-icon img { width: 22px; height: 22px; }

.news-channel-entry > span:nth-child(2) { min-width: 0; }

.news-channel-entry small,
.news-channel-entry strong,
.news-channel-entry em { display: block; }

.news-channel-entry small {
  margin-bottom: 7px;
  color: var(--portal-rust);
  font-size: 10px;
  font-weight: 760;
  letter-spacing: .12em;
}

.news-channel-entry strong {
  color: var(--portal-ink);
  font-size: 22px;
  font-weight: 760;
  line-height: 1.25;
}

.news-channel-entry em {
  overflow: hidden;
  margin-top: 8px;
  color: var(--portal-text);
  font-size: 13.5px;
  font-style: normal;
  line-height: 1.55;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.news-channel-entry > b {
  color: var(--portal-muted);
  font-size: 12px;
  font-weight: 620;
  white-space: nowrap;
}

.news-channel-entry > img {
  width: 18px;
  height: 18px;
  opacity: .62;
  transition: transform 210ms var(--ease-out);
}

.news-channel-entry:hover > img,
.news-channel-entry:focus-visible > img { transform: translateX(4px); }

html[data-theme="dark"] .portal-news-page .hemu-portal-main { background: var(--portal-paper); }
html[data-theme="dark"] .news-snapshot-card,
html[data-theme="dark"] .news-channel-section,
html[data-theme="dark"] .news-channel-entry { box-shadow: none; }

html[data-theme="dark"] .news-snapshot-card > header h2 img,
html[data-theme="dark"] .news-channel-entry-icon img,
html[data-theme="dark"] .news-channel-entry > img { filter: invert(.9) sepia(.12); }

@media (max-width: 900px) {
  .news-snapshot-grid { grid-template-columns: 1fr; }
  .news-channel-section-head { align-items: flex-start; }
  .news-channel-section-head > p { max-width: 420px; }
  .news-channel-entry { grid-template-columns: 42px minmax(0, 1fr) auto 18px; padding-inline: 18px; }
}

@media (max-width: 760px) {
  .news-channel-section-head { display: block; }
  .news-channel-section-head > p { margin-top: 10px; text-align: left; }
  .news-channel-entry-grid { grid-template-columns: 1fr; }
}

@media (max-width: 520px) {
  .news-snapshot-card,
  .news-channel-section { padding: 17px 15px 14px; }

  .news-channel-section {
    padding-inline: 0;
    background: transparent;
  }

  .news-snapshot-card > header h2 { font-size: 19px; }

  .news-snapshot-list > a {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    min-height: 58px;
    gap: 9px;
  }

  .news-snapshot-list small { display: none; }
  .news-snapshot-list strong { font-size: 14.5px; }

  .news-channel-section-head h2 { font-size: 23px; }

  .news-channel-entry {
    grid-template-columns: 40px minmax(0, 1fr) 16px;
    min-height: 124px;
    gap: 13px;
    padding: 18px 14px;
  }

  .news-channel-entry-icon { width: 40px; height: 40px; }
  .news-channel-entry-icon img { width: 20px; height: 20px; }
  .news-channel-entry strong { font-size: 20px; }
  .news-channel-entry em { font-size: 13px; white-space: normal; }
  .news-channel-entry > b { display: none; }
  .news-channel-entry > img { width: 16px; height: 16px; }
}

.news-channel-entry.has-image {
  display: grid;
  grid-template-columns: minmax(220px, .44fr) minmax(0, .56fr);
  min-height: 230px;
  padding: 0;
  overflow: hidden;
  background: var(--portal-surface);
}

.news-channel-entry-media {
  position: relative;
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  background: #d9dfd7;
}

.news-channel-entry-media img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 520ms var(--ease-out), filter 300ms ease;
}

.news-channel-entry.has-image:hover .news-channel-entry-media img,
.news-channel-entry.has-image:focus-visible .news-channel-entry-media img {
  filter: saturate(1.05);
  transform: scale(1.025);
}

.news-channel-entry-copy {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 26px 26px 24px;
}

.news-channel-entry-action {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-top: 20px;
  padding-top: 14px;
  border-top: 1px solid var(--portal-line);
}

.news-channel-entry-action b {
  color: var(--portal-muted);
  font-size: 12px;
  font-weight: 620;
  white-space: nowrap;
}

.news-channel-entry-action > span {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  color: var(--portal-ink);
  font-size: 12px;
  font-weight: 680;
  white-space: nowrap;
}

.news-channel-entry-action img {
  width: 16px;
  height: 16px;
  transition: transform 210ms var(--ease-out);
}

.news-channel-entry.has-image:hover .news-channel-entry-action img,
.news-channel-entry.has-image:focus-visible .news-channel-entry-action img { transform: translateX(4px); }

html[data-theme="dark"] .news-channel-entry.has-image .news-channel-entry-action img { filter: invert(.9) sepia(.12); }

@media (max-width: 900px) {
  .news-channel-entry.has-image { grid-template-columns: minmax(180px, .42fr) minmax(0, .58fr); }
  .news-channel-entry-copy { padding: 22px; }
}

@media (max-width: 520px) {
  .news-channel-entry.has-image {
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .news-channel-entry-media {
    min-height: 0;
    aspect-ratio: 1.72;
  }

  .news-channel-entry-copy { padding: 20px 18px; }
  .news-channel-entry em { font-size: 14px; line-height: 1.6; }
  .news-channel-entry-action { margin-top: 16px; }
}

/* Mobile focus: turn the stacked content into two deliberate editorial surfaces. */
.portal-news-page .news-lead-copy h2,
.portal-news-page .news-lead-copy h2 a,
.portal-news-page .portal-update-row strong { color: var(--portal-green); }

.portal-news-page .news-lead-copy h2 a:hover,
.portal-news-page .news-lead-copy h2 a:focus-visible,
.portal-news-page .portal-update-row:hover strong,
.portal-news-page .portal-update-row:focus-visible strong { color: var(--portal-rust); }

@media (max-width: 760px) {
  .portal-news-page .news-focus-layout {
    gap: 0;
    padding-bottom: 28px;
    border-bottom: 0;
  }

  .portal-news-page .nh-hero-media {
    overflow: hidden;
    border: 1px solid var(--portal-line);
    border-bottom: 0;
    border-radius: 2px 2px 0 0;
    background: var(--portal-surface);
  }

  .portal-news-page .news-lead-image {
    aspect-ratio: 1.68;
    border-radius: 0;
  }

  .portal-news-page .news-lead-copy {
    min-height: 0;
    padding: 24px 24px 22px;
    border: 1px solid var(--portal-line);
    border-top: 0;
    border-radius: 0 0 2px 2px;
    background: var(--portal-surface);
    box-shadow: 0 10px 26px rgba(27, 43, 35, .045);
  }

  .portal-news-page .portal-accent-label {
    font-size: 12px;
    font-weight: 780;
    letter-spacing: .06em;
  }

  .portal-news-page .news-lead-copy h2 {
    margin: 13px 0 14px;
    font-size: clamp(24px, 4.8vw, 28px);
    letter-spacing: .015em !important;
    line-height: 1.46;
  }

  .portal-news-page .news-lead-copy > p:not(.portal-accent-label) {
    font-size: 14px;
    line-height: 1.78;
  }

  .portal-news-page .news-lead-copy footer {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 12px 18px;
    align-items: start;
    margin-top: 22px;
    padding-top: 15px;
    border-top: 1px solid var(--portal-line);
    font-size: 11.5px;
  }

  .portal-news-page .news-focus-layout > .portal-update-panel {
    grid-column: auto;
    margin-top: 18px;
    padding: 22px 22px 18px;
    border: 1px solid var(--portal-line);
    border-radius: 2px;
    background: var(--portal-surface);
    box-shadow: 0 10px 26px rgba(27, 43, 35, .045);
  }

  .portal-news-page .portal-section-title {
    gap: 11px;
    margin: 0;
    font-size: 20px;
  }

  .portal-news-page .portal-section-title > i { height: 20px; }

  .portal-news-page .portal-update-list { margin-top: 10px; }

  .portal-news-page .portal-update-row {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-rows: auto auto;
    gap: 5px 16px;
    min-height: 82px;
    padding: 14px 0 13px;
  }

  .portal-news-page .portal-update-row > span {
    grid-column: 1;
    grid-row: 1 / 3;
  }

  .portal-news-page .portal-update-row strong {
    display: -webkit-box;
    overflow: hidden;
    font-size: 14.5px;
    font-weight: 720;
    line-height: 1.48;
    text-overflow: clip;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .portal-news-page .portal-update-row small {
    display: -webkit-box;
    overflow: hidden;
    margin-top: 6px;
    font-size: 12.5px;
    line-height: 1.45;
    text-overflow: clip;
    white-space: normal;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 1;
  }

  .portal-news-page .portal-update-row time {
    grid-column: 2;
    grid-row: 1;
    padding-top: 2px;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
  }

  .portal-news-page .portal-update-row > em {
    display: inline-flex;
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
    align-items: center;
    justify-content: center;
    justify-self: end;
    padding: 3px 7px;
    font-size: 8.5px;
  }

  .portal-news-page .portal-update-row.is-latest {
    margin-inline: -10px;
    padding-inline: 10px;
    border-left: 2px solid var(--portal-rust);
    background: color-mix(in srgb, var(--portal-rust-soft) 46%, transparent);
  }

  .portal-news-page .portal-update-row.is-latest::before { display: none; }

  .portal-news-page .portal-update-panel > .portal-text-link {
    display: flex;
    min-height: 43px;
    align-items: center;
    justify-content: space-between;
    margin-top: 7px;
    padding-top: 12px;
    border-top: 1px solid var(--portal-line);
    color: var(--portal-green);
    font-size: 13px;
    font-weight: 680;
  }
}

/* Give the weekly watchlist more reading width and the same card feedback as
   the other editorial modules. */
@media (min-width: 1181px) {
  .portal-news-page .news-focus-layout {
    grid-template-columns: minmax(0, 1.88fr) minmax(430px, 1fr);
  }
}

/* Final interaction pass: every editorial link turns blue on hover/focus.
   Rust is only the resting color for recency and time-sensitive states. */
.portal-news-page :where(
  .portal-section-title,
  .news-snapshot-card > header h2,
  .news-channel-section-head h2,
  .portal-update-row strong,
  .news-snapshot-list strong,
  .news-channel-entry strong
) {
  font-family: var(--font) !important;
  text-align: left;
}

.portal-news-page :where(
  .news-lead-feature:hover [data-nh-focus-title],
  .news-lead-feature:focus-visible [data-nh-focus-title],
  .news-lead-feature:focus-within [data-nh-focus-title],
  .portal-update-row:hover strong,
  .portal-update-row:focus-visible strong,
  .news-snapshot-list > a:hover strong,
  .news-snapshot-list > a:focus-visible strong,
  .news-channel-list > a:hover strong,
  .news-channel-list > a:focus-visible strong,
  .news-channel-entry:hover strong,
  .news-channel-entry:focus-visible strong,
  .news-channel-entry:hover .news-channel-entry-action,
  .news-channel-entry:focus-visible .news-channel-entry-action,
  .news-snapshot-card > header > a:hover,
  .news-snapshot-card > header > a:focus-visible,
  .news-channel-card > header > a:hover,
  .news-channel-card > header > a:focus-visible,
  .news-snapshot-links a:hover,
  .news-snapshot-links a:focus-visible,
  .portal-text-link:hover,
  .portal-text-link:focus-visible
) {
  color: var(--news-interaction-blue) !important;
}

/* Blue is reserved for interaction; rust remains the status/urgency signal. */
.portal-news-page { --news-interaction-blue: #0b5f9e; }

.portal-news-page ::selection {
  background: color-mix(in srgb, var(--news-interaction-blue) 82%, #fff);
  color: #fff;
}

.portal-news-page .portal-update-row:hover strong,
.portal-news-page .portal-update-row:focus-visible strong,
.portal-news-page .news-snapshot-list > a:hover strong,
.portal-news-page .news-snapshot-list > a:focus-visible strong,
.portal-news-page .news-channel-entry:hover strong,
.portal-news-page .news-channel-entry:focus-visible strong {
  color: var(--news-interaction-blue);
}

.portal-news-page .news-snapshot-links {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-top: 3px;
  color: var(--portal-muted);
  font-size: 12.5px;
  font-weight: 650;
  white-space: nowrap;
}

.portal-news-page .news-snapshot-links a { color: inherit; }
.portal-news-page .news-snapshot-links a:hover,
.portal-news-page .news-snapshot-links a:focus-visible { color: var(--news-interaction-blue); }

/* Alert copy keeps a solid rust base. A separate narrow highlight passes over
   it, then pauses, so the waiting-state cue never makes the text disappear. */
.portal-news-page .news-alert-shimmer {
  position: relative;
  color: var(--portal-rust) !important;
}

.portal-news-page .news-lead-copy h2.news-alert-shimmer [data-nh-focus-title] {
  color: inherit;
}

@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  .portal-news-page .news-alert-shimmer::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    overflow: hidden;
    color: transparent;
    content: attr(data-shimmer-text);
    pointer-events: none;
    white-space: inherit;
    background-image: linear-gradient(
      105deg,
      transparent 0%,
      transparent 44%,
      rgba(255, 207, 183, .22) 47%,
      rgba(255, 244, 235, .92) 50%,
      rgba(255, 207, 183, .22) 53%,
      transparent 56%,
      transparent 100%
    );
    background-position: 170% 50%;
    background-size: 250% 100%;
    background-repeat: no-repeat;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    opacity: 0;
    animation: news-alert-shimmer 6.2s linear infinite;
  }
}

@keyframes news-alert-shimmer {
  0%, 12% { background-position: 170% 50%; opacity: 0; }
  15% { background-position: 170% 50%; opacity: 1; }
  55% { background-position: -70% 50%; opacity: 1; }
  58%, 100% { background-position: -70% 50%; opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .portal-news-page .news-alert-shimmer::after {
    content: none;
    animation: none;
  }
}

.portal-news-page .news-focus-layout > .portal-update-panel {
  transition: border-color 220ms ease, box-shadow 260ms ease, transform 260ms var(--ease-out);
}

.portal-news-page .news-focus-layout > .portal-update-panel:hover,
.portal-news-page .news-focus-layout > .portal-update-panel:focus-within {
  border-color: color-mix(in srgb, var(--portal-green) 35%, var(--portal-line));
  box-shadow: 0 15px 34px rgba(27, 43, 35, .09);
  transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
  .portal-news-page .news-focus-layout > .portal-update-panel {
    transition: none;
  }
}

@media (max-width: 420px) {
  .portal-news-page .news-lead-copy { padding: 21px 18px 20px; }
  .portal-news-page .news-focus-layout > .portal-update-panel { padding: 20px 18px 16px; }
  .portal-news-page .news-lead-copy h2 { font-size: 24px; }
  .portal-news-page .news-lead-copy footer { grid-template-columns: 1fr; }
  .portal-news-page .portal-update-row { column-gap: 12px; }
}

/* Full responsive pass: the clean editorial hierarchy is shared by desktop,
   tablet and mobile instead of being a mobile-only treatment. */
.portal-news-page .news-focus-layout {
  grid-template-columns: minmax(330px, .95fr) minmax(420px, 1.2fr) minmax(320px, .95fr);
  gap: 18px;
  align-items: stretch;
  padding-bottom: 24px;
  border-bottom: 0;
}

.portal-news-page .nh-hero-media,
.portal-news-page .news-lead-copy,
.portal-news-page .news-focus-layout > .portal-update-panel {
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--portal-line) 88%, #fff);
  border-radius: 2px;
  background: var(--portal-surface);
  box-shadow: 0 8px 24px rgba(27, 43, 35, .045);
}

.portal-news-page .nh-hero-media,
.portal-news-page .news-lead-image { min-height: 100%; }

.portal-news-page .news-lead-image {
  height: 100%;
  border-radius: 0;
}

.portal-news-page .news-lead-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.portal-news-page .news-lead-copy {
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 27px 29px 23px;
}

.portal-news-page .news-lead-copy h2 {
  margin: 15px 0 14px;
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, sans-serif !important;
  font-size: clamp(28px, 2.05vw, 31px);
  font-weight: 650 !important;
  letter-spacing: 0 !important;
  line-height: 1.48;
  text-wrap: wrap;
}

html body.portal-news-page .hemu-portal-main .news-lead-copy h2 {
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", "Source Han Sans SC", system-ui, sans-serif !important;
  font-weight: 650 !important;
  letter-spacing: 0 !important;
}

.portal-news-page .news-lead-copy > p:not(.portal-accent-label) {
  font-size: 14px;
  line-height: 1.78;
}

.portal-news-page .news-lead-copy footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px 18px;
  align-items: start;
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--portal-line);
}

.portal-news-page .news-lead-copy footer > span {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-news-page .news-lead-copy footer > time { white-space: nowrap; }

.portal-news-page .news-focus-layout > .portal-update-panel {
  min-width: 0;
  padding: 23px 21px 17px;
  border-left: 1px solid color-mix(in srgb, var(--portal-line) 88%, #fff);
}

.portal-news-page .portal-update-list { margin-top: 10px; }

.portal-news-page .portal-update-row {
  min-height: 61px;
  padding: 10px 0;
}

.portal-news-page .portal-update-row.is-latest {
  margin-inline: -9px;
  padding-inline: 9px;
  border-left: 2px solid var(--portal-rust);
  background: color-mix(in srgb, var(--portal-rust-soft) 42%, transparent);
}

.portal-news-page .portal-update-row.is-latest::before { display: none; }

.portal-news-page .news-snapshot-list strong,
.portal-news-page .news-channel-entry strong { color: var(--portal-green); }

.portal-news-page .news-snapshot-list > a:hover strong,
.portal-news-page .news-snapshot-list > a:focus-visible strong,
.portal-news-page .news-channel-entry:hover strong,
.portal-news-page .news-channel-entry:focus-visible strong { color: var(--portal-rust); }

.portal-news-page .news-snapshot-card,
.portal-news-page .news-channel-entry.has-image {
  border-color: color-mix(in srgb, var(--portal-line) 88%, #fff);
  box-shadow: 0 8px 24px rgba(27, 43, 35, .045);
}

@media (max-width: 1180px) {
  .portal-news-page .news-focus-layout {
    grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
    gap: 18px;
  }

  .portal-news-page .news-focus-layout > .portal-update-panel {
    grid-column: 1 / -1;
    padding: 22px 24px 17px;
    border: 1px solid color-mix(in srgb, var(--portal-line) 88%, #fff);
  }

  .portal-news-page .news-focus-layout > .portal-update-panel .portal-update-list {
    column-gap: 30px;
  }
}

@media (max-width: 900px) {
  .portal-news-page .news-lead-copy { padding: 24px 24px 21px; }
  .portal-news-page .news-lead-copy h2 { font-size: clamp(26px, 3.5vw, 30px); }
  .portal-news-page .news-snapshot-card { padding: 21px 22px 17px; }
  .portal-news-page .news-snapshot-list strong { font-size: 15px; }
}

@media (max-width: 760px) {
  .portal-news-page .news-focus-layout {
    grid-template-columns: 1fr;
    gap: 0;
    padding-bottom: 28px;
  }

  .portal-news-page .nh-hero-media {
    border-bottom: 0;
    border-radius: 2px 2px 0 0;
  }

  .portal-news-page .news-lead-image {
    min-height: 0;
    aspect-ratio: 1.68;
  }

  .portal-news-page .news-lead-copy {
    padding: 24px 24px 22px;
    border-top: 0;
    border-radius: 0 0 2px 2px;
  }

  .portal-news-page .news-lead-copy h2 {
    margin: 13px 0 14px;
    font-size: clamp(24px, 4.8vw, 28px);
    line-height: 1.46;
  }

  .portal-news-page .news-focus-layout > .portal-update-panel {
    grid-column: auto;
    margin-top: 18px;
    padding: 22px 22px 18px;
  }

  .portal-news-page .news-focus-layout > .portal-update-panel .portal-update-list {
    grid-template-columns: 1fr;
  }

  .portal-news-page .portal-update-row {
    min-height: 82px;
    padding: 14px 0 13px;
  }

  .portal-news-page .portal-update-row.is-latest {
    margin-inline: -10px;
    padding-inline: 10px;
  }
}

@media (max-width: 520px) {
  .portal-news-page .news-lead-copy { padding: 21px 18px 20px; }
  .portal-news-page .news-lead-copy footer { grid-template-columns: 1fr; }
  .portal-news-page .news-focus-layout > .portal-update-panel { padding: 20px 18px 16px; }
  .portal-news-page .news-snapshot-card { padding: 18px 17px 14px; }
}

/* The lead image and article form one feature module at every breakpoint. */
.portal-news-page .news-focus-layout {
  grid-template-columns: minmax(0, 2.3fr) minmax(320px, 1fr);
  gap: 18px;
}

.portal-news-page .news-lead-feature {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(330px, .95fr) minmax(420px, 1.2fr);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--portal-line) 88%, #fff);
  border-radius: 2px;
  background: var(--portal-surface);
  box-shadow: 0 8px 24px rgba(27, 43, 35, .045);
  color: inherit;
  text-decoration: none;
}

.portal-news-page .news-lead-feature .nh-hero-media,
.portal-news-page .news-lead-feature .news-lead-copy {
  min-width: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.portal-news-page .news-lead-feature .news-lead-copy {
  border-left: 1px solid var(--portal-line);
}

.portal-news-page .news-lead-copy h2 [data-nh-focus-title] {
  color: var(--portal-green);
  transition: color 190ms ease;
}

.portal-news-page .news-lead-feature:hover .news-lead-copy h2 [data-nh-focus-title],
.portal-news-page .news-lead-feature:focus-visible .news-lead-copy h2 [data-nh-focus-title] {
  color: var(--portal-green);
}

/* Titles that communicate recency or urgency carry the same rust signal as
   their status badge; ordinary editorial titles remain deep green. */
.portal-news-page .portal-update-row.is-latest strong,
.portal-news-page .news-snapshot-list > .is-latest strong,
.portal-news-page .news-snapshot-list > .is-soon strong,
.portal-news-page .news-snapshot-list > .is-urgent strong {
  color: var(--portal-rust);
}

@media (max-width: 1180px) {
  .portal-news-page .news-focus-layout { grid-template-columns: 1fr; }

  .portal-news-page .news-lead-feature {
    grid-template-columns: minmax(300px, .9fr) minmax(0, 1.1fr);
  }

  .portal-news-page .news-focus-layout > .portal-update-panel { grid-column: auto; }
}

@media (max-width: 760px) {
  .portal-news-page .news-focus-layout { gap: 0; }
  .portal-news-page .news-lead-feature { grid-template-columns: 1fr; }

  .portal-news-page .news-lead-feature .news-lead-copy {
    border-top: 1px solid var(--portal-line);
    border-left: 0;
  }
}

/* Restrained editorial motion: depth, image movement and status emphasis. */
.portal-news-page .news-lead-feature {
  transition: border-color 220ms ease, box-shadow 260ms ease, transform 260ms var(--ease-out);
}

.portal-news-page .news-lead-feature:hover,
.portal-news-page .news-lead-feature:focus-within {
  border-color: color-mix(in srgb, var(--portal-green) 35%, var(--portal-line));
  box-shadow: 0 15px 34px rgba(27, 43, 35, .09);
  transform: translateY(-2px);
}

.portal-news-page .news-lead-feature .news-lead-image img {
  transition: filter 360ms ease, transform 620ms var(--ease-out);
}

.portal-news-page .news-lead-feature:hover .news-lead-image img,
.portal-news-page .news-lead-feature:focus-within .news-lead-image img {
  filter: saturate(1.05) contrast(1.015);
  transform: scale(1.025);
}

.portal-news-page .news-lead-copy h2 a,
.portal-news-page .portal-update-row strong,
.portal-news-page .news-snapshot-list strong {
  transition: color 190ms ease;
}

.portal-news-page .portal-update-row > em,
.portal-news-page .news-snapshot-list > a > em {
  animation: news-status-breathe 2.8s ease-in-out infinite;
  transform-origin: center;
}

@keyframes news-status-breathe {
  0%, 100% { box-shadow: 0 0 0 0 rgba(198, 69, 43, 0); transform: scale(1); }
  50% { box-shadow: 0 0 0 4px rgba(198, 69, 43, .09); transform: scale(1.025); }
}

@media (prefers-reduced-motion: reduce) {
  .portal-news-page .news-lead-feature,
  .portal-news-page .news-lead-feature .news-lead-image img,
  .portal-news-page .news-lead-copy h2 a,
  .portal-news-page .portal-update-row strong,
  .portal-news-page .news-snapshot-list strong {
    transition: none;
  }

  .portal-news-page .portal-update-row > em,
  .portal-news-page .news-snapshot-list > a > em {
    animation: none;
  }
}

@media (min-width: 1181px) {
  .portal-news-page .news-focus-layout {
    grid-template-columns: minmax(0, 1.88fr) minmax(430px, 1fr);
  }
}

/* Timeline status scale: blue is active, red is today, orange is within
   three days, green is within seven days. Dates beyond a week have no badge. */
.portal-news-page .news-snapshot-list > a.is-ongoing > em {
  background: #2f6f9f;
}

.portal-news-page .news-snapshot-list > a.is-today > em {
  background: var(--portal-rust);
}

.portal-news-page .news-snapshot-list > a.is-near > em {
  background: #d4782c;
}

.portal-news-page .news-snapshot-list > a.is-week > em {
  background: #3f7b55;
}

.portal-news-page .news-snapshot-list > a:is(.is-today, .is-near) :is(time, strong) {
  color: var(--portal-rust);
}

.portal-news-page .news-snapshot-list > a:is(.is-ongoing, .is-week) :is(time, strong) {
  color: var(--portal-green);
}

.portal-news-page .news-snapshot-list > a > em {
  animation: none;
}

.portal-news-page .news-snapshot-list > a:is(.is-today, .is-near) > em {
  animation: news-status-breathe 2.8s ease-in-out infinite;
}

.portal-news-page .news-snapshot-list > a:hover strong,
.portal-news-page .news-snapshot-list > a:focus-visible strong {
  color: var(--news-interaction-blue) !important;
}

@media (prefers-reduced-motion: reduce) {
  .portal-news-page .news-snapshot-list > a:is(.is-today, .is-near) > em {
    animation: none;
  }
}

/* Keep the weekly hover wash on the same horizontal edge as the pinned row. */
.portal-news-page .portal-update-row:hover,
.portal-news-page .portal-update-row:focus-visible {
  margin-inline: -9px;
  padding-inline: 9px;
}

@media (max-width: 760px) {
  .portal-news-page .portal-update-row:hover,
  .portal-news-page .portal-update-row:focus-visible {
    margin-inline: -10px;
    padding-inline: 10px;
  }
}

.portal-news-page .portal-update-row.is-ongoing > em { background: #2f6f9f; }
.portal-news-page .portal-update-row.is-today > em { background: var(--portal-rust); }
.portal-news-page .portal-update-row.is-near > em { background: #d4782c; }
.portal-news-page .portal-update-row.is-week > em { background: #3f7b55; }

.portal-news-page .portal-update-row:is(.is-ongoing, .is-week) > em {
  animation: none;
}

/* Weekly rows use a small vertical status rail: badge above, publish time below. */
.portal-news-page .portal-update-row {
  grid-template-columns: minmax(0, 1fr) minmax(72px, max-content);
  grid-template-rows: auto auto;
  column-gap: 14px;
  row-gap: 5px;
  align-items: start;
}

.portal-news-page .portal-update-row > span {
  grid-column: 1;
  grid-row: 1 / 3;
}

.portal-news-page .portal-update-row > em {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}

.portal-news-page .portal-update-row > time {
  grid-column: 2;
  grid-row: 2;
  justify-self: end;
  padding-top: 0;
}

.portal-news-page .portal-update-row:not(:has(> em)) > time {
  grid-row: 1 / 3;
  align-self: center;
}
