/* News flow — reuses the resource portal's organic gateway language. */

body.news-flow-page {
  --nf-conference: #426d81;
  --nf-opportunity: #9a6f2d;
  --nf-community: #2f7455;
  --nf-platform: #76536f;
  color: var(--rh-ink);
  background: var(--rh-paper);
  overflow-x: clip;
}

.news-flow-page,
.news-flow-page *,
.news-flow-page *::before,
.news-flow-page *::after { box-sizing: border-box; }

.news-flow-page :where(a, button) { -webkit-tap-highlight-color: transparent; }
.news-flow-page [hidden] { display: none !important; }

.nf-page { min-height: 100vh; background: #f4f2e9; }
html[data-theme="dark"] .nf-page { background: var(--rh-paper); }

.nf-portal .rh-portal-hero::before { background: rgba(247, 245, 238, .22); }
.nf-portal .rh-portal-story h1 { max-width: 820px; }
.nf-portal .rh-live { min-height: 380px; }
.nf-portal .rh-live-list { gap: 8px; }

.nf-live-item {
  display: grid;
  width: 100%;
  min-height: 92px;
  grid-template-columns: 112px minmax(0, 1fr);
  align-items: center;
  gap: 14px;
  padding: 9px;
  border-radius: 18px;
  color: var(--portal-ink);
  text-decoration: none;
  transition: background 240ms ease, transform 340ms var(--rh-ease);
}

.nf-live-item:hover,
.nf-live-item:focus-visible { background: rgba(255, 255, 255, .84); transform: translateX(-4px); }
.nf-live-item > img { width: 112px; height: 66px; border-radius: 13px; object-fit: cover; filter: saturate(.85); }
.nf-live-item > span { display: grid; gap: 7px; min-width: 0; }
.nf-live-item strong { display: -webkit-box; overflow: hidden; font-size: 13px; line-height: 1.42; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.nf-live-item time { color: #78847e; font-size: 11px; }

.nf-portal .rh-category-band a[data-kind="conference"] { --category-color: var(--nf-conference); }
.nf-portal .rh-category-band a[data-kind="opportunity"] { --category-color: var(--nf-opportunity); }
.nf-portal .rh-category-band a[data-kind="community"] { --category-color: var(--nf-community); }
.nf-portal .rh-category-band a[data-kind="platform"] { --category-color: var(--nf-platform); }

.nf-portal .rh-recent li a { grid-template-columns: 46px minmax(0, 1fr) 20px; }
.nf-portal .rh-recent li img { object-fit: contain; }
.nf-portal .rh-recent .nf-recent-latest { display: inline-flex; min-height: 19px; align-items: center; margin-right: 8px; padding: 0 7px; border-radius: 999px; color: #fff; background: #a16050; font-size: 8px; font-weight: 760; letter-spacing: .08em; vertical-align: 1px; }
.nf-portal .rh-mini-topic > span { background: rgba(15, 39, 29, .24); }
.nf-portal .rh-theme-grid { grid-template-areas: "theme-a theme-b theme-c" "theme-a theme-d theme-e" "theme-f theme-f theme-f"; }

@media (min-width: 1121px) {
  .nf-portal .rh-portal-dashboard {
    grid-template-columns: minmax(0, 1.12fr) minmax(360px, .88fr);
  }

  .nf-portal .rh-topic-pair { grid-column: 1 / -1; }
}

@media (min-width: 701px) and (max-width: 1120px) {
  .nf-portal .rh-recent,
  .nf-portal .rh-topic-pair { grid-column: 1 / -1; }
}

.nf-home-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 72px;
  margin-bottom: 82px;
  padding: 0 22px;
  border-radius: 20px;
  color: #fff;
  background: #214c38;
}
.nf-home-note strong { font-size: 15px; }
.nf-home-note p { margin: 0; color: rgba(255,255,255,.72); font-size: 12px; }
.nf-home-note a { display: inline-flex; min-height: 38px; align-items: center; gap: 8px; padding: 0 14px; border-radius: 999px; color: #17372b; background: #eaf0e8; font-size: 11px; font-weight: 680; text-decoration: none; white-space: nowrap; }
.nf-home-note img { width: 14px; height: 14px; }

/* Shared news subpage: same organic hero and command bar as resource pages. */
.nf-subpage .ro-hero { padding-top: 72px; }
.nf-subpage .ro-hero h1 { color: var(--rh-ink); }
.nf-subpage .ro-hero figure { height: 300px; }
.nf-subpage .ro-hero figure img { filter: saturate(.82) contrast(.96); }

.nf-command-wrap {
  position: relative;
  z-index: 8;
  margin-bottom: 54px;
  padding: 0 18px;
  border-radius: 24px;
  background: color-mix(in srgb, #fff 94%, transparent);
  box-shadow: 0 18px 52px rgba(36, 61, 49, .1);
  backdrop-filter: blur(18px);
}

.nf-command {
  display: grid;
  min-height: 84px;
  grid-template-columns: minmax(260px, .78fr) minmax(0, 1.22fr) auto;
  align-items: center;
  gap: 26px;
}

.nf-command-home {
  display: none;
  color: var(--rh-green-deep);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-decoration: none;
}

.nf-search {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 11px;
  padding-inline: 16px;
  border-radius: 999px;
  background: #efefe7;
}
.nf-search img { width: 17px; height: 17px; opacity: .62; }
.nf-search input { width: 100%; height: 52px; border: 0; outline: 0; color: var(--rh-ink); background: transparent; font: inherit; font-size: 13px; }

.nf-filter-row { display: flex; min-width: 0; align-items: center; gap: 7px; overflow-x: auto; scrollbar-width: none; }
.nf-filter-row::-webkit-scrollbar { display: none; }
.nf-filter-row button,
.nf-filter-row select,
.nf-filter-row a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  flex: 0 0 auto;
  padding: 0 13px;
  border: 0;
  border-radius: 999px;
  color: var(--rh-muted);
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  text-decoration: none;
  transition: color 200ms ease, background 200ms ease, transform 280ms var(--rh-ease);
}
.nf-filter-row button:hover,
.nf-filter-row button:focus-visible,
.nf-filter-row a:hover,
.nf-filter-row a:focus-visible { color: var(--rh-ink); background: color-mix(in srgb, var(--rh-green) 8%, transparent); transform: translateY(-1px); }
.nf-filter-row button[aria-pressed="true"] { color: #fff; background: var(--rh-green-deep); }
.nf-filter-row select { max-width: 190px; border: 1px solid var(--rh-line); background: #fff; }

.nf-command-status { margin: 0; color: var(--rh-muted); font-size: 11px; text-align: right; white-space: nowrap; }
.nf-refresh { min-height: 38px; padding: 0 14px; border: 0; border-radius: 999px; color: #fff; background: var(--rh-green-deep); cursor: pointer; font: inherit; font-size: 11px; font-weight: 680; }
.nf-refresh:disabled { cursor: wait; opacity: .62; }

.nf-feed-section { padding-bottom: 112px; }
.nf-section-head { display: flex; align-items: end; justify-content: space-between; gap: 54px; margin-bottom: 28px; }
.nf-section-head > div > p { margin: 0 0 14px; color: var(--rh-green); font-size: 10px; font-weight: 720; letter-spacing: .17em; text-transform: uppercase; }
.nf-section-head h2 { margin: 0; color: var(--rh-ink); font-family: "Noto Serif SC", "Songti SC", STSong, serif; font-size: clamp(34px, 4vw, 52px); font-weight: 570; letter-spacing: -.04em; }
.nf-section-head > p { max-width: 52ch; margin: 0; color: var(--rh-muted); font-size: 13px; line-height: 1.8; }

.nf-preview-note { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 52px; margin-bottom: 26px; padding: 0 16px; border-radius: 16px; background: #e9e8df; }
.nf-preview-note strong { color: var(--rh-green-deep); font-size: 10px; letter-spacing: .11em; }
.nf-preview-note span { color: var(--rh-muted); font-size: 11px; }

.nf-feature-card {
  display: grid;
  min-height: 404px;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .95fr);
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: 0 18px 52px rgba(36, 61, 49, .08);
}
.nf-feature-card figure { position: relative; min-height: 404px; margin: 0; overflow: hidden; }
.nf-feature-card figure > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(.96); transition: transform 720ms var(--rh-ease); }
.nf-feature-card:hover figure > img { transform: scale(1.025); }
.nf-feature-card figcaption { position: absolute; top: 22px; left: 22px; padding: 7px 10px; border-radius: 999px; color: #fff; background: rgba(24,72,48,.88); font-size: 9px; letter-spacing: .08em; }
.nf-feature-card > div { display: flex; flex-direction: column; justify-content: center; padding: clamp(34px, 5vw, 64px); }
.nf-feature-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; color: var(--rh-green); font-size: 10px; font-weight: 680; }
.nf-feature-card h3 { margin: 18px 0 14px; color: var(--rh-ink); font-family: "Noto Serif SC", "Songti SC", STSong, serif; font-size: clamp(29px, 3.2vw, 42px); font-weight: 570; letter-spacing: -.035em; line-height: 1.25; }
.nf-feature-card p { margin: 0; color: var(--rh-muted); font-size: 13px; line-height: 1.82; }
.nf-feature-card a,
.nf-card a,
.nf-boundary a { display: inline-flex; width: fit-content; min-height: 40px; align-items: center; gap: 9px; margin-top: 24px; padding: 0 15px; border-radius: 999px; color: #fff; background: var(--rh-green-deep); font-size: 11px; font-weight: 680; text-decoration: none; }
.nf-feature-card a img,
.nf-card a img,
.nf-boundary a img { width: 14px; height: 14px; filter: brightness(0) invert(1); }

.nf-card-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; margin-top: 18px; }
.nf-card {
  display: flex;
  min-height: 330px;
  flex-direction: column;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(36, 61, 49, .065);
  transition: transform 360ms var(--rh-ease), box-shadow 320ms ease;
}
.nf-card:hover { box-shadow: 0 20px 52px rgba(36,61,49,.1); transform: translateY(-5px); }
.nf-card figure { position: relative; height: 166px; margin: 0; overflow: hidden; }
.nf-card figure img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.82) contrast(.96); transition: transform 700ms var(--rh-ease); }
.nf-card:hover figure img { transform: scale(1.035); }
.nf-card figure span { position: absolute; right: 13px; bottom: 13px; padding: 6px 9px; border-radius: 999px; color: #fff; background: rgba(24,72,48,.86); font-size: 9px; }
.nf-card > div { display: flex; flex: 1; flex-direction: column; padding: 22px; }
.nf-card time { color: var(--rh-muted); font-size: 10px; }
.nf-card h3 { margin: 12px 0 8px; color: var(--rh-ink); font-family: "Noto Serif SC", "Songti SC", STSong, serif; font-size: 20px; font-weight: 570; line-height: 1.4; }
.nf-card p { margin: 0; color: var(--rh-muted); font-size: 11px; line-height: 1.7; }
.nf-card dl { display: grid; gap: 7px; margin: 17px 0 0; padding-top: 13px; border-top: 1px solid var(--rh-line); }
.nf-card dl div { display: flex; justify-content: space-between; gap: 16px; }
.nf-card :is(dt, dd) { margin: 0; color: var(--rh-muted); font-size: 10px; }
.nf-card a { margin-top: auto; transform: translateY(12px); }

.nf-boundary { display: grid; grid-template-columns: minmax(220px, .65fr) minmax(0, 1.35fr) auto; align-items: center; gap: clamp(32px, 6vw, 78px); margin-top: 64px; padding: 30px 34px; border-radius: 24px; background: #e5eae2; }
.nf-boundary h2 { margin: 0; color: var(--rh-ink); font-family: "Noto Serif SC", "Songti SC", STSong, serif; font-size: 25px; font-weight: 570; }
.nf-boundary p { margin: 0; color: var(--rh-muted); font-size: 12px; line-height: 1.75; }
.nf-boundary a { margin: 0; white-space: nowrap; }

/* Research progress: a focused, automatically refreshed official-source feed. */
.rp-portal-hero {
  position: relative;
  min-height: 372px;
  overflow: hidden;
  isolation: isolate;
  background: #e8e6de;
}
.rp-portal-hero::after {
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, rgba(247,246,240,.98) 0%, rgba(247,246,240,.94) 37%, rgba(247,246,240,.62) 54%, rgba(247,246,240,.14) 76%, rgba(247,246,240,.04) 100%);
  content: "";
}
.rp-portal-background {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 51%;
  filter: saturate(.82) contrast(.97);
  transform: scale(1.008);
}
.rp-portal-layout {
  position: relative;
  display: grid;
  min-height: 372px;
  grid-template-columns: minmax(0, 1fr) minmax(250px, 310px);
  align-items: center;
  gap: clamp(42px, 7vw, 96px);
  padding-block: 50px 46px;
}
.rp-portal-copy { max-width: 690px; }
.rp-portal-kicker { margin: 0 0 19px; color: #526f80; font-size: 10px; font-weight: 760; letter-spacing: .12em; }
.rp-portal-copy h1 { margin: 0; color: var(--rh-ink); font-family: "Noto Serif SC", "Songti SC", STSong, serif; font-size: clamp(54px, 6vw, 76px); font-weight: 580; letter-spacing: -.055em; line-height: .98; }
.rp-portal-copy > p:last-child { max-width: 690px; margin: 25px 0 0; color: var(--rh-muted); font-size: 14px; line-height: 1.9; }

.rp-hero-monitor {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 19px 21px;
  border: 1px solid rgba(255,255,255,.76);
  border-radius: 22px;
  background: rgba(250,252,251,.84);
  box-shadow: 0 18px 44px rgba(45,57,64,.12);
  backdrop-filter: blur(18px) saturate(116%);
}
.rp-hero-monitor > span { position: relative; width: 12px; height: 12px; flex: 0 0 auto; border-radius: 50%; background: #526f80; box-shadow: 0 0 0 7px rgba(82,111,128,.11); }
.rp-hero-monitor > span::after { position: absolute; inset: 3px; border-radius: inherit; background: #fff; content: ""; animation: rp-monitor-pulse 2.4s ease-in-out infinite; }
.rp-hero-monitor p { display: grid; min-width: 0; gap: 5px; margin: 0; }
.rp-hero-monitor strong { color: var(--rh-ink); font-size: 12px; font-weight: 700; line-height: 1.4; }
.rp-hero-monitor small { color: var(--rh-muted); font-size: 9px; line-height: 1.45; }

@media (min-width: 1041px) {
  .rp-portal-layout { grid-template-columns: minmax(0, 760px); }
  .rp-hero-monitor {
    position: absolute;
    right: 0;
    bottom: 43px;
    width: fit-content;
    max-width: 260px;
    gap: 11px;
    padding: 10px 15px;
    border-radius: 999px;
  }
  .rp-hero-monitor > span {
    width: 9px;
    height: 9px;
    box-shadow: 0 0 0 5px rgba(82,111,128,.1);
  }
  .rp-hero-monitor > span::after { inset: 2px; }
  .rp-hero-monitor p { gap: 2px; }
  .rp-hero-monitor strong { font-size: 11px; white-space: nowrap; }
  .rp-hero-monitor small { font-size: 8px; white-space: nowrap; }
}

.rp-command-band {
  position: relative;
  z-index: 8;
  display: grid;
  min-height: 78px;
  grid-template-columns: auto minmax(320px, 1fr) auto;
  align-items: center;
  gap: 18px;
  margin-top: -19px;
  margin-bottom: 28px;
  padding: 12px 18px;
  border: 1px solid rgba(255,255,255,.7);
  border-radius: 24px;
  background: rgba(255,255,255,.92);
  box-shadow: 0 20px 56px rgba(36,61,49,.12);
  backdrop-filter: blur(18px);
}
.rp-command-label { display: grid; min-width: 108px; gap: 3px; padding: 0 16px 0 4px; border-right: 1px solid var(--rh-line); }
.rp-command-label small { color: #9a948b; font-size: 8px; letter-spacing: .1em; }
.rp-command-label strong { color: var(--rh-ink); font-family: "Noto Serif SC", "Songti SC", STSong, serif; font-size: 17px; font-weight: 570; }
.rp-command-search { display: flex; min-width: 0; align-items: center; gap: 11px; padding: 0 17px; border: 1px solid transparent; border-radius: 999px; background: #efeee8; transition: border-color 220ms ease, background 220ms ease; }
.rp-command-search:focus-within { border-color: rgba(159,115,82,.3); background: #fff; }
.rp-command-search img { width: 17px; height: 17px; opacity: .62; }
.rp-command-search input { width: 100%; height: 48px; border: 0; outline: 0; color: var(--rh-ink); background: transparent; font: inherit; font-size: 12px; }
.rp-command-status { margin: 0; color: var(--rh-muted); font-size: 10px; text-align: right; white-space: nowrap; }

.rp-monitor-state { display: flex; min-width: 0; align-items: center; gap: 11px; padding: 0 4px; }
.rp-monitor-state > span { position: relative; width: 10px; height: 10px; flex: 0 0 auto; border-radius: 50%; background: #526f80; box-shadow: 0 0 0 6px rgba(82,111,128,.11); }
.rp-monitor-state > span::after { position: absolute; inset: 2px; border-radius: inherit; background: #fff; content: ""; animation: rp-monitor-pulse 2.4s ease-in-out infinite; }
.rp-monitor-state p { display: grid; min-width: 0; gap: 3px; margin: 0; }
.rp-monitor-state strong { overflow: hidden; color: var(--rh-ink); font-size: 11px; font-weight: 680; text-overflow: ellipsis; white-space: nowrap; }
.rp-monitor-state small { overflow: hidden; color: var(--rh-muted); font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
@keyframes rp-monitor-pulse { 0%, 100% { opacity: .25; transform: scale(.55); } 50% { opacity: .95; transform: scale(1); } }

.rp-feed { min-height: 440px; }
.rp-feed-section { padding-top: 0; padding-bottom: 44px; }
.rp-feature-card,
.rp-card { color: inherit; text-decoration: none; }
.rp-feature-card {
  display: grid;
  height: clamp(410px, 32vw, 460px);
  min-height: 0;
  grid-template-columns: minmax(0, 1.08fr) minmax(380px, .92fr);
  overflow: hidden;
  border: 1px solid color-mix(in srgb, var(--rh-line) 76%, transparent);
  border-radius: 30px;
  background: #fff;
  box-shadow: 0 22px 60px rgba(47, 52, 68, .09);
  transition: border-color 280ms ease, box-shadow 360ms ease, transform 420ms var(--rh-ease);
}
.rp-feature-card:hover { border-color: rgba(159, 115, 82, .26); box-shadow: 0 30px 72px rgba(47, 52, 68, .14); transform: translateY(-4px); }
.rp-feature-card:focus-visible,
.rp-card:focus-visible { outline: 3px solid rgba(65, 101, 124, .34); outline-offset: 4px; }
.rp-feature-card figure { position: relative; min-width: 0; min-height: 0; margin: 0; overflow: hidden; background: #e9e8e0; }
.rp-feature-card figure::after,
.rp-card figure::after { position: absolute; inset: auto 0 0; height: 42%; background: linear-gradient(transparent, rgba(25, 29, 38, .46)); content: ""; pointer-events: none; }
.rp-feature-card figure > img,
.rp-card figure > img { width: 100%; height: 100%; object-fit: cover; filter: saturate(.9) contrast(.99); transition: transform 760ms var(--rh-ease), filter 420ms ease; }
.rp-feature-card:hover figure > img,
.rp-card:hover figure > img { filter: saturate(.93) contrast(1); transform: scale(1.03); }
.rp-feature-card figcaption,
.rp-card figure > span { position: absolute; z-index: 2; right: 18px; bottom: 17px; padding: 7px 11px; border: 1px solid rgba(255,255,255,.34); border-radius: 999px; color: #fff; background: rgba(72, 101, 116, .84); backdrop-filter: blur(10px); font-size: 9px; letter-spacing: .06em; }
.rp-feature-card .rp-latest-badge { position: absolute; z-index: 3; top: 18px; left: 18px; display: inline-flex; min-height: 34px; align-items: center; gap: 7px; padding: 0 12px; border: 1px solid rgba(255,255,255,.5); border-radius: 999px; color: #fff; background: rgba(159, 90, 72, .9); box-shadow: 0 10px 28px rgba(74, 39, 29, .18); backdrop-filter: blur(12px); font-size: 10px; font-weight: 720; letter-spacing: .08em; }
.rp-feature-card .rp-latest-badge img { width: 13px; height: 13px; filter: brightness(0) invert(1); }
.rp-feature-copy { display: flex; min-width: 0; flex-direction: column; justify-content: center; padding: clamp(28px, 3vw, 38px); }
.rp-card-meta { display: flex; min-width: 0; flex-wrap: wrap; align-items: center; gap: 7px 16px; color: #a36549; font-size: 10px; font-weight: 680; letter-spacing: .025em; }
.rp-card-meta span { overflow: hidden; color: var(--rh-muted); font-weight: 500; text-overflow: ellipsis; white-space: nowrap; }
.rp-feature-card h3 { display: -webkit-box; overflow: hidden; margin: 15px 0 12px; color: var(--rh-ink); font-family: "Noto Serif SC", "Songti SC", STSong, serif; font-size: clamp(27px, 2.35vw, 34px); font-weight: 570; letter-spacing: -.035em; line-height: 1.28; word-break: normal; overflow-wrap: normal; text-wrap: balance; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }
.rp-title-word { white-space: nowrap; }
.rp-feature-card p { display: -webkit-box; overflow: hidden; margin: 0; color: var(--rh-muted); font-size: 12px; line-height: 1.78; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.rp-card-action { display: inline-flex; width: fit-content; min-height: 38px; align-items: center; gap: 8px; margin-top: 20px; padding: 0 14px; border-radius: 999px; color: #fff; background: #9f7352; font-size: 10px; font-weight: 690; transition: background 220ms ease, gap 280ms ease; }
.rp-card-action img { width: 14px; height: 14px; filter: brightness(0) invert(1); }
.rp-feature-card:hover .rp-card-action { gap: 12px; background: #8d6244; }

.rp-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; margin-top: 20px; }
.rp-card { display: flex; min-width: 0; min-height: 366px; flex-direction: column; overflow: hidden; border: 1px solid color-mix(in srgb, var(--rh-line) 78%, transparent); border-radius: 24px; background: #fff; box-shadow: 0 12px 34px rgba(47, 52, 68, .065); transition: border-color 260ms ease, box-shadow 340ms ease, transform 380ms var(--rh-ease); }
.rp-card:hover { border-color: rgba(128, 108, 146, .25); box-shadow: 0 22px 52px rgba(47, 52, 68, .12); transform: translateY(-5px); }
.rp-card figure { position: relative; height: 220px; margin: 0; overflow: hidden; background: #e9e8e0; }
.rp-card > div { display: flex; min-width: 0; flex: 1; flex-direction: column; padding: 23px 24px 25px; }
.rp-card h3 { display: block; overflow: visible; margin: 13px 0 9px; color: var(--rh-ink); font-family: "Noto Serif SC", "Songti SC", STSong, serif; font-size: 20px; font-weight: 570; line-height: 1.45; word-break: normal; overflow-wrap: normal; text-wrap: pretty; }
.rp-card p { display: -webkit-box; overflow: hidden; margin: auto 0 0; padding-top: 8px; color: var(--rh-muted); font-size: 11px; line-height: 1.72; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.rp-card:nth-child(3n + 2) figure > span { background: rgba(111, 92, 126, .84); }
.rp-card:nth-child(3n) figure > span { background: rgba(164, 95, 75, .84); }

.rp-loading { display: grid; min-height: 440px; grid-template-columns: 1.08fr .92fr; gap: 18px; }
.rp-loading span { border-radius: 28px; background: linear-gradient(110deg, #e5e5dd 18%, #f8f7f2 38%, #e5e5dd 58%); background-size: 220% 100%; animation: pp-shimmer 1.6s linear infinite; }
.rp-loading span:first-child { grid-row: 1 / 3; }
.rp-empty { padding: 88px 28px; border: 1px solid var(--rh-line); border-radius: 28px; background: #fff; text-align: center; }
.rp-empty span { color: #9f7352; font-size: 9px; font-weight: 760; letter-spacing: .18em; }
.rp-empty h3 { margin: 15px 0 9px; color: var(--rh-ink); font-family: "Noto Serif SC", "Songti SC", STSong, serif; font-size: 28px; font-weight: 570; }
.rp-empty p { max-width: 52ch; margin: 0 auto; color: var(--rh-muted); font-size: 12px; line-height: 1.8; }
.rp-boundary {
  gap: clamp(24px, 4vw, 54px);
  margin-top: 34px;
  padding: 26px 30px;
  border: 1px solid color-mix(in srgb, var(--rh-line) 74%, transparent);
  background: color-mix(in srgb, #e8e2db 66%, #f4f3ee);
}
.rp-boundary h2 { font-size: 23px; }
.rp-boundary p { max-width: 64ch; }
.rp-boundary a { min-height: 42px; padding-inline: 17px; }

html[data-theme="dark"] .rp-portal-hero::after { background: linear-gradient(90deg,rgba(17,23,19,.96),rgba(17,23,19,.84) 45%,rgba(17,23,19,.4)); }
html[data-theme="dark"] .rp-hero-monitor,
html[data-theme="dark"] .rp-command-band,
html[data-theme="dark"] :is(.rp-feature-card,.rp-card) { background: rgba(27,34,29,.94); }
html[data-theme="dark"] .rp-command-search { background: #222922; }

.pp-loading {
  display: grid;
  min-height: 360px;
  grid-template-columns: 1.05fr .95fr;
  gap: 18px;
}
.pp-loading span { border-radius: 24px; background: linear-gradient(110deg, #e8e9e1 18%, #f6f6f1 38%, #e8e9e1 58%); background-size: 220% 100%; animation: pp-shimmer 1.6s linear infinite; }
.pp-loading span:first-child { grid-row: 1 / 3; }
.pp-empty { padding: 84px 28px; border-radius: 26px; background: #fff; box-shadow: 0 18px 52px rgba(36,61,49,.06); text-align: center; }
.pp-empty span { color: var(--rh-green); font-size: 9px; font-weight: 760; letter-spacing: .18em; }
.pp-empty h3 { margin: 15px 0 9px; color: var(--rh-ink); font-family: "Noto Serif SC", "Songti SC", STSong, serif; font-size: 28px; font-weight: 570; }
.pp-empty p { max-width: 52ch; margin: 0 auto; color: var(--rh-muted); font-size: 12px; line-height: 1.8; }
@keyframes pp-shimmer { to { background-position: -220% 0; } }

/* Conference feed styled as resource cards while keeping the real API. */
.nf-conference-command { grid-template-columns: minmax(250px, .82fr) minmax(0, 1fr) auto auto; }
.conference-feed-meta { display: flex; min-height: 48px; align-items: center; justify-content: space-between; gap: 22px; margin-bottom: 12px; }
.conference-feed-meta > p { margin: 0; color: var(--rh-muted); font-size: 11px; }
.conference-feed-meta > div { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 7px; }
.conference-feed-meta span { padding: 6px 9px; border-radius: 999px; color: var(--rh-muted); background: #e9e9e1; font-size: 9px; }
.conference-feed-meta span::before { display: inline-block; width: 6px; height: 6px; margin-right: 6px; border-radius: 50%; background: #a47724; content: ""; }
.conference-feed-meta span.is-ok::before { background: #4f8b68; }
.conference-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; border: 0; }
.conference-entry {
  position: relative;
  display: grid;
  min-height: 324px;
  grid-template-columns: 110px minmax(0, 1fr);
  align-content: start;
  gap: 22px;
  padding: 26px;
  border: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(36, 61, 49, .065);
  transition: transform 360ms var(--rh-ease), box-shadow 320ms ease;
}
.conference-entry:hover { box-shadow: 0 20px 52px rgba(36,61,49,.1); transform: translateY(-5px); }
.conference-date { display: grid; align-content: start; gap: 7px; padding-top: 5px; }
.conference-date strong { color: var(--rh-rust); font: 560 21px/1.1 Georgia, serif; letter-spacing: -.035em; }
.conference-date span { color: var(--rh-muted); font-size: 10px; letter-spacing: .08em; }
.conference-entry-body { min-width: 0; }
.conference-entry-eyebrow { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 13px; }
.conference-entry-eyebrow span { padding: 5px 7px; border-radius: 999px; color: var(--rh-muted); background: #edf0ea; font-size: 9px; }
.conference-entry-eyebrow .conference-discipline { color: #426d81; }
.conference-entry h3 { margin: 0; font-family: "Noto Serif SC", "Songti SC", STSong, serif; font-size: clamp(19px, 2vw, 25px); font-weight: 570; line-height: 1.42; }
.conference-entry h3 a { color: var(--rh-ink); text-decoration: none; }
.conference-details { display: grid; gap: 7px; margin: 20px 0 0; padding-top: 14px; border-top: 1px solid var(--rh-line); }
.conference-details div { display: flex; justify-content: space-between; gap: 18px; }
.conference-details :is(dt, dd) { margin: 0; color: var(--rh-muted); font-size: 10px; }
.conference-details dd { text-align: right; }
.conference-official-link { grid-column: 2; display: inline-flex; width: fit-content; min-height: 38px; align-items: center; gap: 8px; align-self: end; justify-self: start; padding: 0 14px; border: 0; border-radius: 999px; color: #fff; background: var(--rh-green-deep); font-size: 11px; font-weight: 680; text-decoration: none; }
.conference-official-link img { width: 14px; height: 14px; filter: brightness(0) invert(1); }
.conference-skeleton { min-height: 260px; border-radius: 22px; background: #fff; }
.conference-empty { grid-column: 1 / -1; padding: 72px 24px; border-radius: 22px; background: #fff; text-align: center; }
.conference-empty strong { color: var(--rh-ink); font-size: 18px; }
.conference-empty p { margin: 9px 0 0; color: var(--rh-muted); font-size: 12px; }

html[data-theme="dark"] .nf-page,
html[data-theme="dark"] .nf-card,
html[data-theme="dark"] .nf-feature-card,
html[data-theme="dark"] .rp-feature-card,
html[data-theme="dark"] .rp-card,
html[data-theme="dark"] .rp-empty,
html[data-theme="dark"] .conference-entry,
html[data-theme="dark"] .conference-empty,
html[data-theme="dark"] .pp-empty { background: #18211b; }
html[data-theme="dark"] .nf-command-wrap { background: rgba(24, 33, 27, .94); }
html[data-theme="dark"] .nf-search,
html[data-theme="dark"] .nf-preview-note,
html[data-theme="dark"] .conference-feed-meta span { background: #202b24; }
html[data-theme="dark"] .nf-filter-row select { color: var(--rh-ink); background: #202b24; }
html[data-theme="dark"] .nf-boundary { background: #1d2b22; }
html[data-theme="dark"] .rp-boundary { background: #29241f; }
html[data-theme="dark"] .rp-loading span { background: linear-gradient(110deg, #1d2921 18%, #2a322d 38%, #1d2921 58%); background-size: 220% 100%; }
html[data-theme="dark"] .pp-loading span { background: linear-gradient(110deg, #1d2921 18%, #26352b 38%, #1d2921 58%); background-size: 220% 100%; }
html[data-theme="dark"] .nf-live-item { color: #eef3ef; }
html[data-theme="dark"] .nf-live-item:hover,
html[data-theme="dark"] .nf-live-item:focus-visible { background: rgba(255,255,255,.07); }

@media (max-width: 1040px) {
  .nf-command { grid-template-columns: minmax(230px, .78fr) minmax(0, 1.22fr); gap: 16px; padding-block: 12px; }
  .nf-command-status { text-align: left; }
  .nf-conference-command { grid-template-columns: minmax(230px, .8fr) minmax(0, 1fr) auto; }
  .nf-conference-command .nf-command-status { grid-column: 1 / -1; }
  .nf-card-grid { grid-template-columns: 1fr 1fr; }
  .nf-card-grid .nf-card:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .conference-list { grid-template-columns: 1fr; }
  .rp-portal-layout { grid-template-columns: minmax(0, 1fr) minmax(240px, 290px); gap: 38px; }
  .rp-command-band { grid-template-columns: auto minmax(280px, 1fr) auto; }
  .rp-card-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nf-portal .rh-portal-story h1 { font-size: 50px; line-height: 1.04; }
  .nf-portal .rh-live { min-height: 0; }
  .nf-live-item { min-width: 236px; grid-template-columns: 1fr; }
  .nf-live-item > img { width: 100%; height: 106px; }
  .nf-home-note { align-items: flex-start; flex-direction: column; margin-bottom: 58px; padding-block: 18px; }
  .nf-subpage .ro-hero { padding-top: 52px; }
  .nf-subpage .ro-hero h1 { font-size: 52px; }
  .nf-subpage .ro-hero figure { height: 190px; }
  .rp-portal-hero { min-height: 0; }
  .rp-portal-hero::after { background: linear-gradient(180deg,rgba(246,244,236,.96),rgba(246,244,236,.78)); }
  .rp-portal-layout { min-height: 0; grid-template-columns: 1fr; gap: 26px; padding-block: 44px 52px; }
  .rp-portal-copy h1 { font-size: 52px; }
  .rp-portal-copy > p:last-child { margin-top: 20px; font-size: 13px; }
  .rp-hero-monitor { width: fit-content; max-width: 100%; padding: 16px 18px; border-radius: 19px; }
  .rp-command-band { grid-template-columns: 1fr; gap: 12px; margin-top: -18px; margin-bottom: 42px; padding: 16px; border-radius: 22px; }
  .rp-command-label { display: flex; min-width: 0; align-items: baseline; justify-content: space-between; padding: 0 4px; border: 0; }
  .rp-command-search { grid-column: auto; grid-row: auto; }
  .rp-command-status { grid-column: auto; grid-row: auto; padding: 0 4px 2px; text-align: left; }
  .nf-command-wrap { margin-bottom: 42px; padding: 14px; border-radius: 20px; }
  .nf-command,
  .nf-conference-command { grid-template-columns: 1fr; gap: 12px; padding: 0; }
  .nf-command-home { display: inline-flex; }
  .nf-search { order: 1; }
  .nf-filter-row { order: 2; width: 100%; padding-bottom: 2px; }
  .nf-command-status { order: 3; }
  .nf-refresh { order: 4; width: 100%; }
  .nf-section-head { align-items: flex-start; flex-direction: column; gap: 18px; }
  .nf-preview-note { align-items: flex-start; flex-direction: column; gap: 6px; padding-block: 13px; }
  .nf-feature-card { grid-template-columns: 1fr; }
  .nf-feature-card figure { min-height: 260px; }
  .nf-feature-card > div { padding: 30px 24px 34px; }
  .nf-card-grid { grid-template-columns: 1fr; }
  .nf-card-grid .nf-card:last-child:nth-child(odd) { grid-column: auto; }
  .nf-boundary { grid-template-columns: 1fr; gap: 18px; padding: 26px 24px; }
  .pp-loading { min-height: 420px; grid-template-columns: 1fr; }
  .pp-loading span:first-child { min-height: 230px; grid-row: auto; }
  .conference-feed-meta { align-items: flex-start; flex-direction: column; }
  .conference-feed-meta > div { justify-content: flex-start; }
  .conference-entry { grid-template-columns: 1fr; gap: 14px; padding: 24px; }
  .conference-date { display: flex; align-items: baseline; }
  .conference-official-link { grid-column: auto; }
  .rp-feature-card { height: auto; grid-template-columns: 1fr; min-height: 0; border-radius: 24px; }
  .rp-feature-card figure { min-height: 244px; }
  .rp-feature-copy { padding: 29px 24px 32px; }
  .rp-feature-card h3 { font-size: 28px; }
  .rp-card-grid { grid-template-columns: 1fr; }
  .rp-card figure { height: 210px; }
  .rp-feed-section { padding-bottom: 28px; }
  .rp-boundary { gap: 13px; margin-top: 26px; padding: 22px 20px; }
  .rp-boundary h2 { font-size: 22px; line-height: 1.35; }
  .rp-boundary p { font-size: 11px; line-height: 1.72; }
  .rp-boundary a { margin-top: 2px; }
  .rp-loading { min-height: 420px; grid-template-columns: 1fr; }
  .rp-loading span:first-child { min-height: 250px; grid-row: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .news-flow-page *,
  .news-flow-page *::before,
  .news-flow-page *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; }
}
