/* Scoped refresh for the public profile, contact and topic pages. */
html body.rxz-profile-refresh {
  --rxz-page-ink: #071935;
  --rxz-page-blue: #3158ff;
  --rxz-page-soft: #eaf2ff;
  --rxz-page-rule: #c9d2e3;
  color: var(--rxz-page-ink);
  background: #fff !important;
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
html body.rxz-profile-refresh main { background: #fff !important; }
html body.rxz-profile-refresh main :is(h1,h2,h3,p,strong,small,span,em,a,li) {
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}
html body.rxz-profile-refresh main :is(h1,h2,h3) { font-weight: 700; }
.rxz-profile-container {
  width: min(1440px, calc(100% - 2 * clamp(24px, 5vw, 82px)));
  margin-inline: auto;
}
.rxz-section-code {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .17em;
  text-transform: uppercase;
}
.rxz-section-code span { opacity: .45; margin-inline: .5em; }
.rxz-hero-mark { display: block; width: 92px; height: auto; margin-bottom: clamp(28px, 4.5vw, 64px); }
.rxz-section-number { color: var(--rxz-page-blue); font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.rxz-section-side h2 { color: var(--rxz-page-ink); font-size: clamp(32px, 3.4vw, 54px); line-height: 1.18; margin: 19px 0 0; letter-spacing: -.035em; }
.rxz-section-side > p { max-width: 19em; margin-top: 20px; color: #647086; font-size: 15px; line-height: 1.8; }

/* RXZ-blue hero fields retain the existing global navigation geometry. */
.rxz-profile-hero,
.rxz-contact-hero,
.rxz-topics-hero { background: var(--rxz-page-blue); color: #fff; }
.rxz-profile-hero,
.rxz-contact-hero { padding: clamp(52px, 8vw, 124px) 0 clamp(68px, 9vw, 142px); }
.rxz-profile-hero-grid,
.rxz-contact-hero-layout,
.rxz-topics-hero-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(250px, .65fr);
  gap: clamp(26px, 7vw, 100px);
  align-items: end;
}
.rxz-profile-hero-grid,
.rxz-contact-hero-layout { margin-top: clamp(45px, 6vw, 86px); }
.rxz-profile-hero h1,
.rxz-contact-hero h1,
.rxz-topics-hero h1 {
  color: #fff !important;
  font-size: clamp(72px, 10.8vw, 170px);
  line-height: .98;
  letter-spacing: -.065em;
  margin: 0;
}
.rxz-profile-hero-grid > p,
.rxz-contact-hero-layout > p,
.rxz-topics-hero-layout > p {
  color: #fff;
  font-size: clamp(19px, 2vw, 31px);
  font-weight: 600;
  line-height: 1.5;
  padding-bottom: .25em;
}
.rxz-topics-hero-layout > p { font-size: clamp(19px, 1.7vw, 27px); }
.rxz-contact-hero h1 { font-size: clamp(66px, 9.1vw, 142px); }
.rxz-contact-hero h1 span { color: #fff; }
.rxz-topics-hero { padding: clamp(58px, 8vw, 125px) 0 clamp(65px, 8vw, 125px); }
.rxz-topics-hero-layout { margin-top: clamp(54px, 7vw, 110px); }
.rxz-topics-hero h1 { font-size: clamp(66px, 9.4vw, 150px); }

/* About: a clean editorial hierarchy instead of a chart or education timeline. */
.rxz-about-intro,
.rxz-about-papers,
.rxz-split-grid,
.rxz-contact-directory {
  display: grid;
  grid-template-columns: minmax(210px, .42fr) minmax(0, 1fr);
  gap: clamp(45px, 8vw, 135px);
}
.rxz-about-intro { padding-block: clamp(75px, 9vw, 145px); }
.rxz-self-intro { max-width: 900px; }
.rxz-self-intro p { color: var(--rxz-page-ink); font-size: clamp(19px, 1.75vw, 25px); font-weight: 400; line-height: 1.9; letter-spacing: .012em; }
.rxz-self-intro p + p { margin-top: 1.25em; }
.rxz-profile-band { background: var(--rxz-page-soft); padding-block: clamp(72px, 8vw, 130px); }
.rxz-profile-facts { border-top: 2px solid var(--rxz-page-blue); }
.rxz-profile-facts > div { display: grid; grid-template-columns: 125px minmax(0,1fr); gap: 26px; padding: 29px 0; border-bottom: 1px solid var(--rxz-page-rule); }
.rxz-profile-facts span { color: var(--rxz-page-blue); font-size: 15px; font-weight: 700; }
.rxz-profile-facts p { color: var(--rxz-page-ink); font-size: clamp(18px, 1.4vw, 21px); line-height: 1.8; }
.rxz-about-papers { padding-block: clamp(75px, 9vw, 145px); }
.rxz-publications { list-style: none; padding: 0; margin: 0; border-top: 2px solid var(--rxz-page-blue); }
.rxz-publications li { display: grid; grid-template-columns: 70px minmax(0,1fr); gap: 24px; padding: 30px 0; border-bottom: 1px solid var(--rxz-page-rule); }
.rxz-publications span { color: var(--rxz-page-blue); font-size: 15px; font-weight: 700; }
.rxz-publications p { color: var(--rxz-page-ink); font-size: clamp(18px, 1.5vw, 23px); font-weight: 600; line-height: 1.6; overflow-wrap: anywhere; }
.rxz-profile-cta { display: grid; grid-template-columns: 1fr 1.4fr 64px; align-items: end; gap: 20px; padding: clamp(48px, 6vw, 90px) max(clamp(24px, 5vw, 82px), calc((100vw - 1440px)/2)); color: #fff !important; background: var(--rxz-page-blue); }
.rxz-profile-cta span { font-size: 13px; letter-spacing: .15em; }
.rxz-profile-cta strong { font-size: clamp(30px, 4.2vw, 64px); line-height: 1.15; }
.rxz-profile-cta b { justify-self: end; font-size: 54px; font-weight: 400; transition: transform .3s ease; }
.rxz-profile-cta:hover strong { text-decoration: underline; text-underline-offset: .15em; }
.rxz-profile-cta:hover b { transform: translate(5px,-5px); }

/* Contact: six unboxed rows, with original official platform marks. */
.rxz-contact-directory { padding-block: clamp(70px, 9vw, 140px) clamp(50px, 6vw, 95px); }
.rxz-platform-list,
.rxz-topic-list { border-top: 2px solid var(--rxz-page-blue); }
.rxz-platform-row {
  display: grid;
  grid-template-columns: 36px 54px minmax(0, 1fr) 52px;
  gap: clamp(12px, 1.5vw, 25px);
  align-items: center;
  min-height: 138px;
  padding: 25px 2px;
  border-bottom: 1px solid var(--rxz-page-rule);
  color: var(--rxz-page-ink) !important;
}
.rxz-row-index { align-self: start; padding-top: 7px; color: var(--rxz-page-blue); font-size: 13px; font-weight: 700; }
.rxz-row-icon img { width: 46px; height: 46px; object-fit: contain; }
.rxz-platform-name { display: flex; flex-direction: column; gap: 5px; }
.rxz-platform-name strong { font-size: clamp(27px, 2.9vw, 44px); font-weight: 700; line-height: 1.2; }
.rxz-platform-name small { color: #647086; font-size: 15px; }
.rxz-circle-arrow { display: grid; place-items: center; width: 48px; height: 48px; border: 1.5px solid var(--rxz-page-ink); border-radius: 50%; color: var(--rxz-page-ink); font-size: 27px; line-height: 1; font-weight: 500; transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s ease; }
.rxz-platform-row:hover strong,
.rxz-platform-row:focus-visible strong,
.rxz-topic-row:hover strong,
.rxz-topic-row:focus-visible strong { text-decoration: underline; text-underline-offset: .15em; text-decoration-thickness: .055em; }
.rxz-platform-row:hover .rxz-circle-arrow,
.rxz-platform-row:focus-visible .rxz-circle-arrow,
.rxz-topic-row:hover .rxz-circle-arrow,
.rxz-topic-row:focus-visible .rxz-circle-arrow { color: #fff; background: var(--rxz-page-ink); border-color: var(--rxz-page-ink); transform: translateX(4px); }
.rxz-contact-note { display: grid; grid-template-columns: minmax(210px, .42fr) minmax(0, 1fr); gap: clamp(45px, 8vw, 135px); padding-block: 35px 105px; border-top: 1px solid var(--rxz-page-rule); }
.rxz-contact-note span { color: var(--rxz-page-blue); font-size: 13px; font-weight: 700; letter-spacing: .1em; }
.rxz-contact-note p { max-width: 800px; color: #53647b; font-size: 16px; line-height: 1.9; }

/* Topics: the press-list rhythm, with brand-blue labels and no cards. */
.rxz-topics-directory { padding-block: clamp(70px, 9vw, 135px) clamp(48px, 6vw, 90px); }
.rxz-directory-heading { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 40px; }
.rxz-directory-heading h2 { color: var(--rxz-page-ink); font-size: clamp(33px, 4.5vw, 68px); letter-spacing: -.045em; }
.rxz-directory-heading p { color: #647086; font-size: 15px; }
.rxz-topic-row { display: grid; grid-template-columns: 64px minmax(0,1fr) 52px; gap: clamp(10px, 2vw, 34px); align-items: center; min-height: 180px; padding: 30px 2px; border-bottom: 1px solid var(--rxz-page-rule); color: var(--rxz-page-ink) !important; }
.rxz-topic-content { display: flex; flex-direction: column; gap: 7px; }
.rxz-topic-content small { color: var(--rxz-page-blue); font-size: 13px; font-weight: 700; letter-spacing: .12em; }
.rxz-topic-content strong { font-size: clamp(36px, 4.2vw, 64px); line-height: 1.2; letter-spacing: -.035em; }
.rxz-topic-content em { color: #647086; font-size: 16px; font-style: normal; }
.rxz-topic-more { display: flex; flex-wrap: wrap; gap: 15px 35px; padding-bottom: clamp(85px, 10vw, 155px); }
.rxz-topic-more a { border-bottom: 1px solid var(--rxz-page-blue); padding-block: 10px; color: var(--rxz-page-blue); font-size: 16px; font-weight: 700; }
.rxz-topic-more a:hover { color: var(--rxz-page-ink); }
.rxz-topic-more span { display: inline-block; margin-left: 8px; }

/* Only these three pages change footer colour; unrelated pages stay untouched. */
html body.rxz-profile-refresh .editorial-footer { color: #fff; background: var(--rxz-page-blue) !important; }
html body.rxz-profile-refresh .editorial-footer :is(a,p,span) { color: #fff !important; }
html body.rxz-profile-refresh .footer-masthead,
html body.rxz-profile-refresh .footer-bottom { border-color: rgba(255,255,255,.28); }
html body.rxz-profile-refresh .editorial-footer a:hover { text-decoration: underline; }
html body.rxz-profile-refresh .brand-period { color: #fff !important; }

@media (max-width: 800px) {
  .rxz-profile-hero-grid,
  .rxz-contact-hero-layout,
  .rxz-topics-hero-layout,
  .rxz-about-intro,
  .rxz-about-papers,
  .rxz-split-grid,
  .rxz-contact-directory,
  .rxz-contact-note { grid-template-columns: 1fr; }
  .rxz-profile-hero-grid,
  .rxz-contact-hero-layout,
  .rxz-topics-hero-layout { gap: 32px; }
  .rxz-profile-hero-grid > p,
  .rxz-contact-hero-layout > p,
  .rxz-topics-hero-layout > p { font-size: 19px; }
  .rxz-about-intro,
  .rxz-about-papers,
  .rxz-split-grid,
  .rxz-contact-directory { gap: 38px; }
  .rxz-section-side h2 { margin-top: 12px; }
  .rxz-contact-note { gap: 12px; }
  .rxz-profile-cta { grid-template-columns: 1fr 40px; }
  .rxz-profile-cta span { grid-column: 1 / -1; }
  .rxz-profile-cta b { font-size: 38px; }
}
@media (max-width: 600px) {
  .rxz-profile-container { width: calc(100% - 44px); }
  .rxz-profile-hero h1,
  .rxz-topics-hero h1 { font-size: clamp(62px, 16vw, 90px); }
  .rxz-contact-hero h1 { font-size: clamp(56px, 13.5vw, 80px); }
  .rxz-hero-mark { width: 68px; margin-bottom: 24px; }
  .rxz-self-intro p { font-size: 18px; line-height: 1.84; }
  .rxz-profile-facts > div { grid-template-columns: 1fr; gap: 9px; padding: 24px 0; }
  .rxz-publications li { grid-template-columns: 1fr; gap: 8px; }
  .rxz-platform-row { min-height: 112px; grid-template-columns: 26px 39px minmax(0,1fr) 38px; gap: 8px; padding: 20px 0; }
  .rxz-row-icon img { width: 38px; height: 38px; }
  .rxz-platform-name strong { font-size: 24px; }
  .rxz-platform-name small { font-size: 12px; line-height: 1.35; }
  .rxz-circle-arrow { width: 36px; height: 36px; font-size: 21px; }
  .rxz-directory-heading { display: block; }
  .rxz-directory-heading p { margin-top: 8px; }
  .rxz-topic-row { grid-template-columns: 27px minmax(0,1fr) 38px; gap: 10px; min-height: 146px; padding: 20px 0; }
  .rxz-topic-content strong { font-size: clamp(29px, 8vw, 42px); }
  .rxz-topic-content em { font-size: 13px; }
  .rxz-topic-row .rxz-circle-arrow { grid-column: 3; grid-row: 1; }
}
@media (prefers-reduced-motion: reduce) {
  .rxz-circle-arrow,
  .rxz-profile-cta b { transition: none; }
}
