/* R4 interior system: shared language, page-type scoped. */

body[data-page-type] {
  background: var(--brand-surface);
}

body[data-page-type="channel"] .page-hero {
  min-height: clamp(19rem, 28vw, 27rem);
  display: grid;
  align-items: end;
  padding-block: clamp(4rem, 7vw, 7.5rem) clamp(3.25rem, 5vw, 5.5rem);
  isolation: isolate;
  background:
    linear-gradient(104deg, rgba(38, 13, 22, 0.98) 0%, rgba(85, 16, 30, 0.96) 57%, rgba(59, 28, 27, 0.92) 100%),
    var(--brand-secondary);
}

body[data-page-type="channel"] .page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: 0.8;
  background:
    linear-gradient(126deg, transparent 0 47%, rgba(216, 181, 120, 0.16) 47.1% 47.18%, transparent 47.3%),
    repeating-linear-gradient(90deg, transparent 0 17.5rem, rgba(255, 254, 249, 0.035) 17.55rem 17.6rem);
}

body[data-page-type="channel"] .page-hero::after {
  right: clamp(2rem, 8vw, 9rem);
  width: min(28vw, 22rem);
  opacity: 0.13;
  filter: saturate(0.7);
}

body[data-page-type="channel"] .page-hero-copy {
  max-width: min(52rem, 72%);
}

body[data-page-type="channel"] .page-hero-copy::before {
  content: "";
  display: block;
  width: clamp(3rem, 6vw, 5.5rem);
  height: 1px;
  margin-bottom: 1.1rem;
  background: var(--brand-primary);
}

body[data-page-type="channel"] .page-hero h1 {
  margin-bottom: 0.8rem;
  font-size: clamp(3.25rem, 5.1vw, 4.8rem);
  letter-spacing: -0.055em;
  line-height: 0.93;
}

body[data-page-type="channel"] .page-hero p {
  max-width: 38rem;
  font-size: clamp(1rem, 1.25vw, 1.08rem);
  line-height: 1.76;
}

body[data-page-type="channel"] .channel-directory-section {
  position: relative;
  overflow: clip;
  padding-block: clamp(5rem, 8vw, 8.5rem);
  background: var(--brand-white);
}

body[data-page-type="channel"] .channel-directory-section::before {
  content: "";
  position: absolute;
  top: 0;
  right: 7vw;
  width: clamp(10rem, 22vw, 20rem);
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(85, 16, 30, 0.26));
}

body[data-route="events"] .channel-directory--events {
  grid-template-columns: minmax(0, 1.42fr) minmax(17rem, 0.84fr) minmax(17rem, 0.84fr);
  grid-template-areas:
    "lead top top"
    "lead chronicle archive";
  gap: 1px;
  background: rgba(216, 181, 120, 0.86);
  border: 1px solid rgba(216, 181, 120, 0.86);
}

body[data-route="events"] .channel-directory--events .directory-item {
  position: relative;
  min-height: clamp(13.5rem, 18vw, 16.5rem);
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-rows: auto 1fr auto;
  gap: 1rem;
  padding: clamp(1.5rem, 3vw, 2.7rem);
  color: var(--brand-ink);
  overflow: hidden;
  border: 0;
  background: var(--brand-white);
  box-shadow: none;
  transition: transform var(--motion-fast) var(--ease), background-color var(--motion-fast), color var(--motion-fast);
}

body[data-route="events"] .channel-directory--events .directory-item--feature {
  grid-area: lead;
  min-height: clamp(28rem, 41vw, 39rem);
  color: var(--brand-white);
  background: var(--brand-deep);
}

body[data-route="events"] .channel-directory--events .directory-item--notice {
  grid-area: top;
  min-height: clamp(13rem, 18vw, 16.5rem);
  background: var(--brand-paper);
}

body[data-route="events"] .channel-directory--events .directory-item--chronicle {
  grid-area: chronicle;
}

body[data-route="events"] .channel-directory--events .directory-item--archive {
  grid-area: archive;
  background: rgba(190, 216, 209, 0.38);
}

body[data-route="events"] .directory-item-media,
body[data-route="events"] .directory-item-scrim,
body[data-route="events"] .directory-item-ornament {
  position: absolute;
  inset: 0;
}

body[data-route="events"] .directory-item-ornament {
  overflow: hidden;
  opacity: 0.76;
  background:
    linear-gradient(148deg, transparent 0 58%, rgba(219, 162, 61, 0.2) 58.15% 58.35%, transparent 58.5%),
    linear-gradient(32deg, transparent 0 70%, rgba(255, 254, 249, 0.09) 70.1% 70.3%, transparent 70.45%);
}

body[data-route="events"] .directory-item-ornament i {
  position: absolute;
  display: block;
  width: clamp(14rem, 32vw, 31rem);
  height: clamp(14rem, 32vw, 31rem);
  border: 1px solid rgba(219, 162, 61, 0.38);
  border-radius: 50%;
}

body[data-route="events"] .directory-item-ornament i:nth-child(1) {
  top: -48%;
  right: -38%;
}

body[data-route="events"] .directory-item-ornament i:nth-child(2) {
  right: -15%;
  bottom: -48%;
}

body[data-route="events"] .directory-item-ornament i:nth-child(3) {
  top: 21%;
  left: -52%;
  border-color: rgba(255, 254, 249, 0.13);
}

body[data-route="events"] .directory-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.78) contrast(1.08) brightness(0.78);
  transition: transform var(--motion-medium) var(--ease), filter var(--motion-medium) var(--ease);
}

body[data-route="events"] .directory-item-scrim {
  background:
    linear-gradient(180deg, rgba(20, 8, 13, 0.08) 18%, rgba(20, 8, 13, 0.88) 100%),
    linear-gradient(90deg, rgba(20, 8, 13, 0.56), transparent 72%);
}

body[data-route="events"] .channel-directory--events .section-index,
body[data-route="events"] .channel-directory--events .directory-item-copy,
body[data-route="events"] .channel-directory--events .directory-item-arrow {
  position: relative;
  z-index: 1;
}

body[data-route="events"] .channel-directory--events .section-index {
  align-self: start;
  color: var(--brand-accent);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
}

body[data-route="events"] .channel-directory--events .directory-item--feature .section-index,
body[data-route="events"] .channel-directory--events .directory-item--feature .directory-item-arrow {
  color: var(--brand-primary);
}

body[data-route="events"] .channel-directory--events .directory-item-copy {
  grid-column: 1 / -1;
  align-self: end;
  max-width: 33rem;
}

body[data-route="events"] .channel-directory--events .directory-item strong {
  color: inherit;
  font-size: clamp(1.5rem, 2.4vw, 2.5rem);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

body[data-route="events"] .channel-directory--events .directory-item p {
  max-width: 35rem;
  margin-top: 0.72rem;
  color: var(--brand-muted);
  line-height: 1.68;
}

body[data-route="events"] .channel-directory--events .directory-item--feature p {
  color: rgba(255, 254, 249, 0.76);
}

body[data-route="events"] .channel-directory--events .directory-item-arrow {
  align-self: end;
  color: var(--brand-accent);
  font-size: 1.35rem;
  transition: transform var(--motion-fast) var(--ease);
}

body[data-route="events"] .channel-feature-section {
  padding-block: clamp(5.25rem, 9vw, 9.5rem);
  background:
    linear-gradient(180deg, var(--brand-surface), rgba(232, 221, 198, 0.22));
}

body[data-route="events"] .channel-section-heading {
  position: relative;
  max-width: none;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(85, 16, 30, 0.2);
}

body[data-route="events"] .channel-section-heading h2 {
  margin: 0;
  color: var(--brand-secondary);
  font-size: clamp(3rem, 5.2vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 0.94;
}

body[data-route="events"] .channel-headline-layout {
  grid-template-columns: minmax(0, 1.44fr) minmax(18rem, 0.56fr);
  gap: clamp(2rem, 5vw, 5rem);
  align-items: stretch;
}

body[data-route="events"] .channel-headline-feature {
  position: relative;
  min-height: clamp(28rem, 43vw, 40rem);
  display: block;
  overflow: hidden;
  color: var(--brand-white);
  background: var(--brand-deep);
  box-shadow: 0 2rem 4.75rem rgba(59, 28, 27, 0.16);
}

body[data-route="events"] .channel-headline-feature .headline-feature-visual {
  position: absolute;
  inset: 0;
  min-height: 0;
  display: block;
  background: var(--brand-deep);
}

body[data-route="events"] .channel-headline-feature .headline-feature-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(20, 8, 13, 0.03) 20%, rgba(20, 8, 13, 0.92) 100%),
    linear-gradient(90deg, rgba(20, 8, 13, 0.38), transparent 76%);
}

body[data-route="events"] .channel-headline-feature .headline-feature-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.8) contrast(1.06) brightness(0.84);
}

body[data-route="events"] .channel-headline-feature .headline-feature-body {
  position: absolute;
  z-index: 1;
  inset: auto clamp(1.5rem, 4vw, 4rem) clamp(1.75rem, 4vw, 3.75rem);
  max-width: 48rem;
  padding: 0;
}

body[data-route="events"] .channel-headline-feature time {
  margin-bottom: 0.95rem;
  color: var(--brand-primary);
  letter-spacing: 0.08em;
}

body[data-route="events"] .channel-headline-feature h3 {
  max-width: 15em;
  margin-bottom: 1rem;
  font-size: clamp(2rem, 3.5vw, 3.7rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.08;
}

body[data-route="events"] .channel-headline-feature p {
  max-width: 40rem;
  margin-bottom: 1.25rem;
  color: rgba(255, 254, 249, 0.8);
}

body[data-route="events"] .channel-headline-feature .text-link {
  color: var(--brand-white);
}

body[data-route="events"] .channel-headline-layout .headline-index {
  display: grid;
  align-content: end;
  border-top: 2px solid var(--brand-secondary);
}

body[data-route="events"] .channel-headline-layout .headline-index article {
  grid-template-columns: 4.75rem minmax(0, 1fr);
  gap: 1.15rem;
  min-height: 50%;
  padding-block: clamp(1.5rem, 3vw, 2.5rem);
}

body[data-route="events"] .channel-headline-layout .headline-index time {
  color: var(--brand-secondary);
  font-size: 0.78rem;
}

body[data-route="events"] .channel-headline-layout .headline-index h3 {
  font-family: var(--font-display-zh);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 500;
  line-height: 1.28;
}

body[data-route="events"] .channel-headline-layout .headline-index p {
  line-height: 1.68;
}

@media (hover: hover) and (pointer: fine) {
  body[data-route="events"] .channel-directory--events .directory-item:hover,
  body[data-route="events"] .channel-directory--events .directory-item:focus-visible {
    z-index: 1;
    transform: translateY(-2px);
  }

  body[data-route="events"] .channel-headline-feature:hover .headline-feature-visual img,
  body[data-route="events"] .channel-headline-feature:focus-within .headline-feature-visual img {
    transform: scale(1.03);
  }

  body[data-route="events"] .directory-item:hover .directory-item-arrow,
  body[data-route="events"] .directory-item:focus-visible .directory-item-arrow {
    transform: translateX(3px);
  }
}

html[lang="ru"] body[data-page-type="channel"] .page-hero-copy {
  max-width: min(57rem, 78%);
}

html[lang="ru"] body[data-page-type="channel"] .page-hero h1 {
  max-width: 25ch;
  font-size: clamp(2.55rem, 4.4vw, 4.85rem);
  line-height: 1.03;
  letter-spacing: -0.03em;
}

html[lang="en"] body[data-page-type="channel"] .page-hero h1 {
  max-width: 21ch;
  font-size: clamp(2.65rem, 4.7vw, 5rem);
  line-height: 1.01;
  letter-spacing: -0.035em;
}

@media (max-width: 1220px) {
  body[data-route="events"] .channel-directory--events,
  body[data-route="events"] .channel-headline-layout {
    grid-template-columns: minmax(0, 1.18fr) minmax(17rem, 0.82fr);
  }

  body[data-route="events"] .channel-directory--events {
    grid-template-areas:
      "lead top"
      "lead chronicle"
      "archive archive";
  }
}

@media (max-width: 800px) {
  body[data-page-type="channel"] .page-hero {
    min-height: 0;
    padding-block: 3.25rem 3.5rem;
  }

  body[data-page-type="channel"] .page-hero-copy,
  html[lang="ru"] body[data-page-type="channel"] .page-hero-copy {
    max-width: none;
  }

  body[data-page-type="channel"] .page-hero h1,
  html[lang="ru"] body[data-page-type="channel"] .page-hero h1,
  html[lang="en"] body[data-page-type="channel"] .page-hero h1 {
    max-width: 16ch;
    font-size: clamp(2.55rem, 10vw, 3.85rem);
    line-height: 1.02;
  }

  html[lang="ru"] body[data-page-type="channel"] .page-hero h1 {
    max-width: none;
    font-size: clamp(2.15rem, 8.4vw, 3.25rem);
  }

  body[data-route="events"] .channel-directory--events,
  body[data-route="events"] .channel-headline-layout {
    grid-template-columns: 1fr;
    grid-template-areas: none;
  }

  body[data-route="events"] .channel-directory--events .directory-item,
  body[data-route="events"] .channel-directory--events .directory-item--feature,
  body[data-route="events"] .channel-directory--events .directory-item--notice,
  body[data-route="events"] .channel-directory--events .directory-item--chronicle,
  body[data-route="events"] .channel-directory--events .directory-item--archive {
    grid-area: auto;
    min-height: 13.5rem;
  }

  body[data-route="events"] .channel-directory--events .directory-item--feature,
  body[data-route="events"] .channel-headline-feature {
    min-height: 29rem;
  }

  body[data-route="events"] .channel-headline-layout .headline-index article {
    min-height: 0;
  }
}

@media (max-width: 520px) {
  body[data-page-type="channel"] .channel-directory-section,
  body[data-route="events"] .channel-feature-section {
    padding-block: 4.25rem;
  }

  body[data-route="events"] .channel-directory--events .directory-item {
    min-height: 12rem;
    padding: 1.35rem;
  }

  body[data-route="events"] .channel-directory--events .directory-item--feature,
  body[data-route="events"] .channel-headline-feature {
    min-height: 25rem;
  }

  body[data-route="events"] .channel-headline-feature .headline-feature-body {
    right: 1.35rem;
    bottom: 1.5rem;
    left: 1.35rem;
  }

  body[data-route="events"] .channel-headline-feature h3 {
    font-size: clamp(1.8rem, 8.2vw, 2.35rem);
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-route="events"] .directory-item,
  body[data-route="events"] .directory-item-media img,
  body[data-route="events"] .channel-headline-feature .headline-feature-visual img,
  body[data-route="events"] .directory-item-arrow {
    transition: none !important;
    transform: none !important;
  }
}

/* News archive: one editorial lead, then a chronological index. */
body[data-page-type="news-list"] .page-hero {
  min-height: clamp(16rem, 22vw, 21rem);
  display: grid;
  align-items: end;
  padding-block: clamp(3.75rem, 5.5vw, 5.75rem) clamp(2.75rem, 4vw, 4.25rem);
}

body[data-page-type="news-list"] .page-hero h1 {
  max-width: 15ch;
  margin-bottom: 0.7rem;
  font-size: clamp(2.9rem, 4.45vw, 4.55rem);
  letter-spacing: -0.045em;
  line-height: 0.98;
}

body[data-page-type="news-list"] .news-archive-section {
  position: relative;
  overflow: clip;
  padding-block: clamp(4.5rem, 8vw, 8rem);
  background:
    linear-gradient(180deg, var(--brand-white) 0%, rgba(244, 244, 241, 0.82) 100%);
}

body[data-page-type="news-list"] .news-archive-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 7vw;
  width: min(23vw, 18rem);
  height: 1px;
  background: linear-gradient(90deg, rgba(85, 16, 30, 0.3), transparent);
}

body[data-page-type="news-list"] .news-archive-shell {
  position: relative;
}

body[data-page-type="news-list"] .news-archive-section .filter-bar {
  position: relative;
  z-index: 1;
  margin-bottom: clamp(3rem, 6vw, 5.75rem);
  padding-block: 1rem;
  border-color: rgba(85, 16, 30, 0.22);
}

body[data-page-type="news-list"] .news-archive-section .filter-bar strong {
  margin-right: auto;
  font-family: var(--font-display-zh);
  font-size: 1.02rem;
  font-weight: 500;
}

body[data-page-type="news-list"] .news-archive {
  display: grid;
  gap: clamp(4rem, 8vw, 8rem);
}

body[data-page-type="news-list"] .news-archive-feature {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.52fr) minmax(20rem, 0.78fr);
  align-items: center;
  min-width: 0;
}

body[data-page-type="news-list"] .news-archive-feature-media {
  min-height: clamp(30rem, 43vw, 39rem);
  display: block;
  overflow: hidden;
  background: var(--brand-deep);
}

body[data-page-type="news-list"] .news-archive-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.82) contrast(1.04) brightness(0.9);
  transition: transform var(--motion-medium) var(--ease), filter var(--motion-medium) var(--ease);
}

body[data-page-type="news-list"] .news-archive-feature-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
  margin: clamp(2.5rem, 5vw, 4.5rem) 0 clamp(2.5rem, 5vw, 4.5rem) clamp(-5.75rem, -6vw, -3rem);
  padding: clamp(2rem, 4vw, 4rem);
  background: var(--brand-white);
  border-top: 2px solid var(--brand-secondary);
  box-shadow: 0 1.5rem 3.25rem rgba(59, 28, 27, 0.1);
}

body[data-page-type="news-list"] .news-archive-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.55rem 1rem;
  margin-bottom: 1.15rem;
  color: var(--brand-muted);
  font-size: 0.78rem;
  letter-spacing: 0.04em;
}

body[data-page-type="news-list"] .news-archive-meta span {
  color: var(--brand-accent);
}

body[data-page-type="news-list"] .news-archive-meta time {
  color: var(--brand-secondary);
}

body[data-page-type="news-list"] .news-archive-feature h2 {
  max-width: 12em;
  margin-bottom: 1.1rem;
  color: var(--brand-secondary);
  font-family: var(--font-display-zh);
  font-size: clamp(2rem, 3.3vw, 3.45rem);
  font-weight: 500;
  letter-spacing: -0.052em;
  line-height: 1.1;
}

body[data-page-type="news-list"] .news-archive-feature-copy > p:not(.news-archive-meta) {
  margin-bottom: 1.15rem;
  color: var(--brand-muted);
  line-height: 1.75;
}

body[data-page-type="news-list"] .news-archive-feature-copy small {
  display: block;
  margin-bottom: 0.85rem;
  color: var(--brand-muted);
  font-size: 0.78rem;
}

body[data-page-type="news-list"] .news-archive-feature-copy .text-link {
  color: var(--brand-secondary);
}

body[data-page-type="news-list"] .news-archive-list {
  border-top: 2px solid var(--brand-secondary);
}

body[data-page-type="news-list"] .news-archive-list .news-row {
  grid-template-columns: minmax(9rem, 11rem) minmax(5.5rem, 6.5rem) minmax(0, 1fr) auto;
  gap: clamp(1rem, 2.25vw, 2rem);
  padding: clamp(1.6rem, 3vw, 2.45rem) 0;
  border-bottom-color: rgba(85, 16, 30, 0.2);
  transition: background-color var(--motion-fast), transform var(--motion-fast) var(--ease);
}

body[data-page-type="news-list"] .news-archive-list .news-row:hover,
body[data-page-type="news-list"] .news-archive-list .news-row:focus-within {
  padding-inline: 0;
  background: rgba(232, 221, 198, 0.26);
  transform: translateX(2px);
}

body[data-page-type="news-list"] .news-archive-list .news-row-media,
body[data-page-type="news-list"] .news-archive-list .news-row-media img {
  min-height: 8.5rem;
  height: 8.5rem;
}

body[data-page-type="news-list"] .news-archive-list .news-row time {
  align-self: start;
  padding-top: 0.15rem;
  color: var(--brand-accent);
  font-size: 0.82rem;
}

body[data-page-type="news-list"] .news-archive-list .news-row h2 {
  max-width: 26em;
  margin-bottom: 0.6rem;
  color: var(--brand-secondary);
  font-family: var(--font-display-zh);
  font-size: clamp(1.35rem, 2vw, 1.75rem);
  font-weight: 500;
  line-height: 1.25;
}

body[data-page-type="news-list"] .news-archive-list .news-row p {
  line-height: 1.67;
}

body[data-page-type="news-list"] .news-archive-list .news-row .news-type {
  align-self: start;
  max-width: 8em;
  padding-top: 0.15rem;
  color: var(--brand-secondary);
  line-height: 1.45;
  white-space: normal;
}

body[data-page-type="news-list"] .pagination {
  padding-top: clamp(3rem, 6vw, 5rem);
}

/* Article detail: L0 reading surface with a quiet source rail. */
body[data-page-type="article"] .article-reading-section {
  padding-block: clamp(3.25rem, 6vw, 6.5rem) clamp(5rem, 8vw, 8.5rem);
  background:
    linear-gradient(180deg, var(--brand-white), rgba(244, 244, 241, 0.56));
}

body[data-page-type="article"] .article-reading-container {
  max-width: calc(66rem + (2 * var(--gutter)));
}

body[data-page-type="article"] .article-reading-layout {
  display: grid;
  grid-template-columns: minmax(0, var(--reading)) minmax(11rem, 13rem);
  justify-content: center;
  gap: clamp(2.75rem, 6vw, 5.75rem);
  align-items: start;
}

body[data-page-type="article"] .article-reading-main,
body[data-page-type="article"] .article-reading-aside,
body[data-page-type="article"] .article-reading-body {
  min-width: 0;
}

body[data-page-type="article"] .article-reading-header {
  margin-bottom: clamp(2.2rem, 4vw, 3.5rem);
  padding-bottom: clamp(1.6rem, 3vw, 2.4rem);
  border-bottom: 1px solid var(--brand-primary);
}

body[data-page-type="article"] .article-reading-header h1 {
  max-width: none;
  margin-bottom: 1.45rem;
  color: var(--brand-secondary);
  font-size: clamp(2.25rem, 4.05vw, 4.1rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 1.08;
}

body[data-page-type="article"] .article-reading-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem 1.25rem;
  color: var(--brand-muted);
  font-size: 0.82rem;
}

body[data-page-type="article"] .article-reading-meta div {
  min-width: 0;
}

body[data-page-type="article"] .article-reading-meta dt {
  margin-bottom: 0.28rem;
  color: var(--brand-accent);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
}

body[data-page-type="article"] .article-reading-meta dd {
  margin: 0;
  overflow-wrap: anywhere;
}

body[data-page-type="article"] .article-reading-body {
  max-width: var(--reading);
  font-size: 1.08rem;
  line-height: 1.9;
}

body[data-page-type="article"] .article-reading-body blockquote {
  margin: 0 0 2.5rem;
  padding: 1.4rem 1.5rem;
  border-left-width: 2px;
  font-size: clamp(1.12rem, 1.8vw, 1.32rem);
  line-height: 1.7;
}

body[data-page-type="article"] .article-reading-body figure {
  margin: clamp(2.25rem, 5vw, 4rem) 0;
  padding: 0 0 1.05rem;
  background: transparent;
  border-bottom: 1px solid rgba(85, 16, 30, 0.22);
}

body[data-page-type="article"] .article-reading-body figure img {
  width: 100%;
  height: auto;
  margin: 0;
  object-fit: cover;
}

body[data-page-type="article"] .article-reading-body figcaption {
  margin-top: 0.8rem;
  color: var(--brand-muted);
  font-size: 0.8rem;
  line-height: 1.55;
  text-align: left;
}

body[data-page-type="article"] .article-reading-body .text-link {
  font-size: 0.96rem;
}

body[data-page-type="article"] .article-reading-aside {
  position: sticky;
  top: 7.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--brand-primary);
}

body[data-page-type="article"] .article-reading-aside strong {
  font-size: 1.02rem;
  font-weight: 500;
}

body[data-page-type="article"] .article-reading-aside a {
  font-size: 0.9rem;
  line-height: 1.45;
}

body[data-page-type="article"] .article-reading-nav {
  margin-top: clamp(3rem, 6vw, 5rem);
}

body[data-page-type="article"] .article-reading-nav a {
  min-height: 6.5rem;
}

@media (hover: hover) and (pointer: fine) {
  body[data-page-type="news-list"] .news-archive-feature:hover .news-archive-feature-media img,
  body[data-page-type="news-list"] .news-archive-feature:focus-within .news-archive-feature-media img {
    transform: scale(1.025);
  }
}

@media (max-width: 1220px) {
  body[data-page-type="article"] .article-reading-layout {
    grid-template-columns: minmax(0, var(--reading));
  }

  body[data-page-type="article"] .article-reading-aside {
    position: static;
    display: grid;
    grid-template-columns: 10rem minmax(0, 1fr);
    gap: 1.5rem;
    padding-top: 1.25rem;
  }

  body[data-page-type="article"] .article-reading-aside strong {
    margin: 0;
  }

  body[data-page-type="article"] .article-reading-aside ul {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body[data-page-type="article"] .article-reading-aside li {
    border-top: 1px solid rgba(33, 33, 33, 0.16);
    border-bottom: 0;
  }

  body[data-page-type="article"] .article-reading-aside a {
    min-height: 0;
    padding: 0.55rem 0.8rem 0.55rem 0;
  }
}

@media (max-width: 800px) {
  body[data-page-type="news-list"] .page-hero {
    min-height: 0;
    padding-block: 3.25rem 3.5rem;
  }

  body[data-page-type="news-list"] .page-hero h1 {
    max-width: 12ch;
    font-size: clamp(2.55rem, 10vw, 3.8rem);
  }

  body[data-page-type="news-list"] .news-archive-section {
    padding-block: 4.25rem;
  }

  body[data-page-type="news-list"] .news-archive-section .filter-bar strong {
    width: 100%;
    margin-right: 0;
  }

  body[data-page-type="news-list"] .news-archive-feature {
    grid-template-columns: minmax(0, 1fr);
  }

  body[data-page-type="news-list"] .news-archive-feature-media {
    min-height: clamp(21rem, 72vw, 29rem);
  }

  body[data-page-type="news-list"] .news-archive-feature-copy {
    margin: -2.8rem 1.25rem 0;
    padding: 1.75rem;
  }

  body[data-page-type="news-list"] .news-archive-feature h2 {
    max-width: none;
  }

  body[data-page-type="news-list"] .news-archive-list .news-row {
    grid-template-columns: 1fr auto;
    gap: 0.75rem 1.25rem;
  }

  body[data-page-type="news-list"] .news-archive-list .news-row-media {
    grid-column: 1 / -1;
  }

  body[data-page-type="news-list"] .news-archive-list .news-row > div {
    grid-column: 1 / -1;
    grid-row: 3;
  }

  body[data-page-type="news-list"] .news-archive-list .news-row time,
  body[data-page-type="news-list"] .news-archive-list .news-row .news-type {
    grid-row: 2;
  }

  body[data-page-type="article"] .article-reading-section {
    padding-block: 3rem 5rem;
  }

  body[data-page-type="article"] .article-reading-header h1 {
    max-width: none;
    font-size: clamp(2rem, 8.2vw, 3rem);
  }

  body[data-page-type="article"] .article-reading-meta {
    grid-template-columns: 1fr 1fr;
  }

  body[data-page-type="article"] .article-reading-aside {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  body[data-page-type="article"] .article-reading-aside ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  body[data-page-type="news-list"] .news-archive-feature-copy {
    margin-right: 0.75rem;
    margin-left: 0.75rem;
    padding: 1.4rem;
  }

  body[data-page-type="news-list"] .news-archive-feature h2 {
    font-size: clamp(1.8rem, 8.25vw, 2.35rem);
  }

  body[data-page-type="news-list"] .news-archive-list .news-row {
    grid-template-columns: 1fr;
  }

  body[data-page-type="news-list"] .news-archive-list .news-row-media,
  body[data-page-type="news-list"] .news-archive-list .news-row > div,
  body[data-page-type="news-list"] .news-archive-list .news-row time,
  body[data-page-type="news-list"] .news-archive-list .news-row .news-type {
    grid-column: 1;
    grid-row: auto;
  }

  body[data-page-type="news-list"] .news-archive-list .news-row-media,
  body[data-page-type="news-list"] .news-archive-list .news-row-media img {
    min-height: 11.5rem;
    height: 11.5rem;
  }

  body[data-page-type="article"] .article-reading-meta {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-page-type="news-list"] .news-archive-feature-media img,
  body[data-page-type="news-list"] .news-archive-list .news-row {
    transition: none !important;
    transform: none !important;
  }
}

/* Performance calendar: a quiet stage programme, not a homepage scene. */
body[data-page-type="calendar"] .page-hero {
  min-height: clamp(17rem, 24vw, 23rem);
  display: grid;
  align-items: end;
  padding-block: clamp(4rem, 6vw, 6rem) clamp(3rem, 4.5vw, 4.5rem);
  background:
    radial-gradient(circle at 74% 38%, rgba(219, 162, 61, 0.22), transparent 20rem),
    linear-gradient(112deg, #170e16, var(--brand-deep) 47%, var(--brand-secondary));
}

body[data-page-type="calendar"] .page-hero h1 {
  max-width: 14ch;
  margin-bottom: 0.7rem;
  font-size: clamp(3rem, 4.75vw, 4.75rem);
  letter-spacing: -0.05em;
  line-height: 0.97;
}

body[data-page-type="calendar"] .performance-calendar-section {
  position: relative;
  overflow: clip;
  padding-block: clamp(4.5rem, 8vw, 8.5rem);
  color: var(--brand-white);
  background:
    linear-gradient(90deg, rgba(219, 162, 61, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, #251720 0%, #170e16 100%);
  background-size: clamp(10rem, 20vw, 18rem) 100%, auto;
}

body[data-page-type="calendar"] .performance-calendar-section::before,
body[data-page-type="calendar"] .performance-calendar-section::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(219, 162, 61, 0.18);
  border-radius: 50%;
  pointer-events: none;
}

body[data-page-type="calendar"] .performance-calendar-section::before {
  top: -21rem;
  right: -12rem;
  width: 42rem;
  height: 42rem;
}

body[data-page-type="calendar"] .performance-calendar-section::after {
  right: -5rem;
  bottom: -31rem;
  width: 52rem;
  height: 52rem;
  border-color: rgba(255, 254, 249, 0.06);
}

body[data-page-type="calendar"] .performance-calendar-section .container {
  position: relative;
  z-index: 1;
}

body[data-page-type="calendar"] .performance-calendar-toolbar {
  display: grid;
  grid-template-columns: minmax(13rem, 0.46fr) minmax(0, 1fr);
  align-items: end;
  gap: clamp(2rem, 5vw, 5rem);
  margin-bottom: clamp(2.75rem, 5vw, 4.5rem);
}

body[data-page-type="calendar"] .performance-calendar-title {
  min-width: 0;
}

body[data-page-type="calendar"] .performance-calendar-title span {
  display: block;
  margin-bottom: 0.55rem;
  color: var(--brand-primary);
  font-family: var(--font-number);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
}

body[data-page-type="calendar"] .performance-calendar-title h2 {
  margin: 0;
  color: var(--brand-white);
  font-size: clamp(2.2rem, 3.8vw, 4rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1.02;
}

body[data-page-type="calendar"] .performance-filter-bar {
  justify-content: flex-end;
  margin: 0;
  padding-block: 0.8rem;
  border-color: rgba(255, 254, 249, 0.24);
}

body[data-page-type="calendar"] .performance-filter-bar strong {
  color: var(--brand-primary);
}

body[data-page-type="calendar"] .performance-filter-bar .filter-button {
  color: rgba(255, 254, 249, 0.88);
  border-color: rgba(255, 254, 249, 0.3);
}

body[data-page-type="calendar"] .performance-filter-bar .filter-button:hover,
body[data-page-type="calendar"] .performance-filter-bar .filter-button:focus-visible,
body[data-page-type="calendar"] .performance-filter-bar .filter-button.is-active {
  color: var(--brand-deep);
  background: var(--brand-primary);
  border-color: var(--brand-primary);
}

body[data-page-type="calendar"] .performance-board {
  position: relative;
  grid-template-columns: minmax(16rem, 0.66fr) minmax(0, 1.34fr);
  overflow: hidden;
  border: 1px solid rgba(219, 162, 61, 0.58);
  border-top-width: 1px;
  background: rgba(255, 254, 249, 0.06);
  box-shadow: 0 2.1rem 5rem rgba(0, 0, 0, 0.25);
}

body[data-page-type="calendar"] .performance-date {
  position: relative;
  min-height: clamp(27rem, 35vw, 34rem);
  overflow: hidden;
  padding: clamp(2rem, 4vw, 4rem);
  color: var(--brand-white);
  background:
    linear-gradient(156deg, rgba(88, 20, 33, 0.98), rgba(31, 16, 25, 0.96));
}

body[data-page-type="calendar"] .performance-date::before {
  content: "";
  position: absolute;
  inset: 1.5rem;
  border: 1px solid rgba(219, 162, 61, 0.27);
}

body[data-page-type="calendar"] .performance-date > * {
  position: relative;
  z-index: 1;
}

body[data-page-type="calendar"] .performance-date span {
  color: var(--brand-primary);
  letter-spacing: 0.08em;
}

body[data-page-type="calendar"] .performance-date strong {
  align-self: center;
  color: var(--brand-white);
  font-size: clamp(5rem, 10.5vw, 9rem);
  letter-spacing: -0.075em;
}

body[data-page-type="calendar"] .performance-date i {
  position: absolute;
  right: -3.75rem;
  bottom: -4rem;
  width: clamp(14rem, 27vw, 25rem);
  height: clamp(14rem, 27vw, 25rem);
  border: 1px solid rgba(219, 162, 61, 0.36);
  border-radius: 50%;
}

body[data-page-type="calendar"] .performance-list {
  display: grid;
  align-items: stretch;
  padding: clamp(1.25rem, 3vw, 2.5rem);
  background:
    linear-gradient(180deg, rgba(255, 254, 249, 0.96), rgba(232, 221, 198, 0.9));
}

body[data-page-type="calendar"] .performance-empty {
  position: relative;
  grid-template-columns: minmax(9.5rem, 0.55fr) minmax(0, 1fr);
  min-height: 0;
  padding: clamp(1.5rem, 4vw, 3.75rem);
  border-top: 1px solid var(--brand-secondary);
  border-bottom: 1px solid rgba(85, 16, 30, 0.22);
}

body[data-page-type="calendar"] .performance-empty-mark {
  position: relative;
  min-height: 13rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    repeating-linear-gradient(to bottom, transparent 0 2.5rem, rgba(85, 16, 30, 0.1) 2.56rem 2.62rem),
    rgba(85, 16, 30, 0.04);
}

body[data-page-type="calendar"] .performance-empty-mark img {
  position: relative;
  z-index: 1;
  width: min(70%, 10rem);
  height: auto;
  filter: saturate(0.85);
}

body[data-page-type="calendar"] .performance-empty-mark span {
  position: absolute;
  width: 13rem;
  height: 13rem;
  border: 1px solid rgba(219, 162, 61, 0.38);
  border-radius: 50%;
}

body[data-page-type="calendar"] .performance-empty-mark span:nth-child(2) {
  top: -7rem;
  left: -7rem;
}

body[data-page-type="calendar"] .performance-empty-mark span:nth-child(3) {
  right: -8rem;
  bottom: -8rem;
}

body[data-page-type="calendar"] .performance-empty-mark span:nth-child(4) {
  top: 34%;
  right: -9rem;
  border-color: rgba(85, 16, 30, 0.13);
}

body[data-page-type="calendar"] .performance-empty-kicker {
  margin-bottom: 0.7rem !important;
  color: var(--brand-accent) !important;
  font-size: 0.76rem !important;
  letter-spacing: 0.08em;
}

body[data-page-type="calendar"] .performance-empty h3 {
  margin-bottom: 0.8rem;
  color: var(--brand-secondary);
  font-family: var(--font-display-zh);
  font-size: clamp(2rem, 3.15vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.045em;
}

body[data-page-type="calendar"] .performance-empty p {
  max-width: 33rem;
  color: var(--brand-muted);
  line-height: 1.75;
}

@media (max-width: 800px) {
  body[data-page-type="calendar"] .page-hero {
    min-height: 0;
    padding-block: 3.25rem 3.5rem;
  }

  body[data-page-type="calendar"] .page-hero h1 {
    font-size: clamp(2.55rem, 10vw, 3.8rem);
  }

  body[data-page-type="calendar"] .performance-calendar-section {
    padding-block: 4.25rem;
  }

  body[data-page-type="calendar"] .performance-calendar-toolbar {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  body[data-page-type="calendar"] .performance-filter-bar {
    justify-content: flex-start;
  }

  body[data-page-type="calendar"] .performance-board {
    grid-template-columns: 1fr;
  }

  body[data-page-type="calendar"] .performance-date {
    min-height: 14rem;
  }

  body[data-page-type="calendar"] .performance-date strong {
    align-self: end;
  }

  body[data-page-type="calendar"] .performance-empty {
    grid-template-columns: minmax(7rem, 0.43fr) minmax(0, 1fr);
  }
}

@media (max-width: 520px) {
  body[data-page-type="calendar"] .performance-calendar-title h2 {
    font-size: clamp(2rem, 10vw, 2.75rem);
  }

  body[data-page-type="calendar"] .performance-filter-bar strong {
    width: 100%;
  }

  body[data-page-type="calendar"] .performance-date {
    min-height: 12rem;
    padding: 1.5rem;
  }

  body[data-page-type="calendar"] .performance-date::before {
    inset: 1rem;
  }

  body[data-page-type="calendar"] .performance-empty {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.25rem;
  }

  body[data-page-type="calendar"] .performance-empty-mark {
    min-height: 10.5rem;
  }
}

/* Education: academic pathways and static resource records. */
body[data-route="education"] .academic-programmes-section {
  position: relative;
  padding-block: clamp(5rem, 9vw, 9.5rem);
  background: var(--brand-white);
}

body[data-route="education"] .academic-programmes-intro {
  top: 7.25rem;
  padding-top: 1.15rem;
  border-top: 1px solid var(--brand-primary);
}

body[data-route="education"] .academic-programmes-intro h2 {
  max-width: 8em;
  margin-bottom: 1.25rem;
  color: var(--brand-secondary);
  font-size: clamp(2.65rem, 4.4vw, 4.55rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

body[data-route="education"] .academic-programmes-intro p {
  max-width: 31rem;
  line-height: 1.8;
}

body[data-route="education"] .academic-pathways {
  border-top-width: 1px;
}

body[data-route="education"] .academic-pathway {
  min-height: clamp(12rem, 17vw, 15.5rem);
  grid-template-columns: clamp(4rem, 8vw, 6.5rem) minmax(0, 1fr);
  align-items: start;
  gap: clamp(1.25rem, 3vw, 2.5rem);
  padding: clamp(1.75rem, 3.5vw, 3rem) 0;
  border-bottom-color: rgba(85, 16, 30, 0.22);
}

body[data-route="education"] .academic-pathway .section-index {
  padding-top: 0.38rem;
  color: var(--brand-accent);
  font-size: 0.82rem;
}

body[data-route="education"] .academic-pathway strong {
  max-width: 20em;
  color: var(--brand-secondary);
  font-size: clamp(1.55rem, 2.55vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

body[data-route="education"] .academic-pathway p {
  max-width: 40rem;
  margin-top: 0.85rem;
  line-height: 1.72;
}

body[data-route="education"] .academic-resources-section {
  padding-block: clamp(5rem, 8vw, 8.5rem);
  background:
    linear-gradient(180deg, rgba(232, 221, 198, 0.65), rgba(244, 244, 241, 0.5));
}

body[data-route="education"] .academic-resources-heading {
  max-width: 50rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

body[data-route="education"] .academic-resources-heading h2 {
  max-width: 11em;
  margin: 0;
  font-size: clamp(2.65rem, 4.5vw, 4.65rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1;
}

body[data-route="education"] .academic-resource-index {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(216, 181, 120, 0.8);
  border: 1px solid rgba(216, 181, 120, 0.8);
}

body[data-route="education"] .academic-resource {
  min-height: clamp(12rem, 18vw, 15.5rem);
  display: grid;
  grid-template-columns: 3.25rem minmax(0, 1fr);
  align-content: start;
  gap: 1.25rem;
  padding: clamp(1.6rem, 3.25vw, 2.8rem);
  background: var(--brand-white);
}

body[data-route="education"] .academic-resource:nth-child(4n + 2),
body[data-route="education"] .academic-resource:nth-child(4n + 3) {
  background: rgba(255, 254, 249, 0.72);
}

body[data-route="education"] .academic-resource .section-index {
  color: var(--brand-accent);
  font-size: 0.76rem;
}

body[data-route="education"] .academic-resource strong {
  display: block;
  margin-bottom: 0.72rem;
  color: var(--brand-secondary);
  font-family: var(--font-display-zh);
  font-size: clamp(1.35rem, 2.25vw, 1.95rem);
  font-weight: 500;
  line-height: 1.16;
}

body[data-route="education"] .academic-resource p {
  margin: 0;
  color: var(--brand-muted);
  line-height: 1.68;
}

body[data-route="education"] .academic-admissions-section {
  padding-block: clamp(5rem, 9vw, 9.5rem);
  background: var(--brand-white);
}

body[data-route="education"] .academic-admissions-callout {
  display: grid;
  grid-template-columns: minmax(15rem, 0.52fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 6rem);
  align-items: stretch;
  overflow: hidden;
  color: var(--brand-white);
  background: var(--brand-deep);
  border-top: 2px solid var(--brand-primary);
}

body[data-route="education"] .academic-admissions-mark {
  position: relative;
  min-height: clamp(21rem, 31vw, 31rem);
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    repeating-linear-gradient(to bottom, transparent 0 3.2rem, rgba(219, 162, 61, 0.14) 3.25rem 3.3rem),
    linear-gradient(142deg, rgba(85, 16, 30, 0.9), rgba(23, 14, 22, 0.95));
}

body[data-route="education"] .academic-admissions-mark::before,
body[data-route="education"] .academic-admissions-mark::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(219, 162, 61, 0.28);
  border-radius: 50%;
}

body[data-route="education"] .academic-admissions-mark::before {
  top: -40%;
  right: -32%;
  width: 27rem;
  height: 27rem;
}

body[data-route="education"] .academic-admissions-mark::after {
  bottom: -47%;
  left: -40%;
  width: 23rem;
  height: 23rem;
  border-color: rgba(255, 254, 249, 0.11);
}

body[data-route="education"] .academic-admissions-mark img {
  position: relative;
  z-index: 1;
  width: min(48%, 13rem);
  max-height: 16rem;
  object-fit: contain;
}

body[data-route="education"] .academic-admissions-copy {
  align-self: center;
  padding: clamp(2.5rem, 6vw, 5.5rem) clamp(2rem, 5vw, 5rem) clamp(2.5rem, 6vw, 5.5rem) 0;
}

body[data-route="education"] .academic-admissions-copy h2 {
  max-width: 12em;
  margin-bottom: 1.1rem;
  color: var(--brand-white);
  font-size: clamp(2.35rem, 4.2vw, 4.3rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.06;
}

body[data-route="education"] .academic-admissions-copy p {
  max-width: 37rem;
  color: rgba(255, 254, 249, 0.75);
  line-height: 1.75;
}

body[data-route="education"] .academic-admissions-copy .button {
  margin-top: 1.3rem;
}

/* Admissions: authoritative policy reading, without cinematic depth. */
body[data-page-type="admissions"] .page-hero {
  min-height: clamp(17rem, 23vw, 22rem);
  display: grid;
  align-items: end;
  padding-block: clamp(3.75rem, 5.5vw, 5.75rem) clamp(3rem, 4.25vw, 4.25rem);
  background: linear-gradient(110deg, var(--brand-deep), var(--brand-secondary));
}

body[data-page-type="admissions"] .page-hero::after {
  display: none;
}

body[data-page-type="admissions"] .page-hero-copy::before {
  content: "";
  display: block;
  width: clamp(3rem, 6vw, 5rem);
  height: 1px;
  margin-bottom: 1rem;
  background: var(--brand-primary);
}

body[data-page-type="admissions"] .page-hero h1 {
  max-width: 21ch;
  margin-bottom: 0.8rem;
  font-size: clamp(2.65rem, 4.35vw, 4.55rem);
  letter-spacing: -0.045em;
  line-height: 1.05;
}

body[data-page-type="admissions"] .admissions-policy-section {
  padding-block: clamp(4rem, 7vw, 7.5rem);
  background: var(--brand-white);
}

body[data-page-type="admissions"] .admissions-policy-layout {
  grid-template-columns: minmax(12rem, 13rem) minmax(0, var(--reading));
  justify-content: center;
  gap: clamp(2.5rem, 6vw, 5.75rem);
}

body[data-page-type="admissions"] .admissions-policy-index {
  top: 7.25rem;
  padding-top: 1.1rem;
  border-top-width: 1px;
}

body[data-page-type="admissions"] .admissions-policy-index strong {
  font-size: 1.05rem;
  font-weight: 500;
}

body[data-page-type="admissions"] .admissions-policy-index a {
  min-height: 44px;
  overflow-wrap: anywhere;
}

body[data-page-type="admissions"] .admissions-policy-body {
  max-width: var(--reading);
  font-size: 1.04rem;
  line-height: 1.85;
}

body[data-page-type="admissions"] .admissions-policy-body h2 {
  margin-top: 3.25rem;
  padding-top: 0;
  font-size: clamp(1.7rem, 3vw, 2.35rem);
}

body[data-page-type="admissions"] .admissions-policy-body h3 {
  color: var(--brand-secondary);
  font-family: var(--font-display-zh);
  font-weight: 500;
}

body[data-page-type="admissions"] .admissions-policy-body figure {
  padding: clamp(1.5rem, 4vw, 3rem);
  background: var(--brand-secondary);
}

body[data-page-type="admissions"] .admissions-policy-body figure img {
  width: min(100%, 28rem);
}

body[data-page-type="admissions"] .admissions-policy-body th,
body[data-page-type="admissions"] .admissions-policy-body td,
body[data-page-type="admissions"] .admissions-policy-body .contact-panel span {
  overflow-wrap: anywhere;
}

body[data-page-type="admissions"] .admissions-policy-body .attachment-list {
  border-top-width: 1px;
}

@media (max-width: 1220px) {
  body[data-route="education"] .academic-programmes-intro {
    position: static;
  }

  body[data-page-type="admissions"] .admissions-policy-layout {
    grid-template-columns: minmax(0, var(--reading));
  }

  body[data-page-type="admissions"] .admissions-policy-index {
    position: static;
    display: grid;
    grid-template-columns: 10rem minmax(0, 1fr);
    gap: 1.5rem;
  }

  body[data-page-type="admissions"] .admissions-policy-index strong {
    margin: 0;
  }

  body[data-page-type="admissions"] .admissions-policy-index ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 1.25rem;
  }
}

@media (max-width: 800px) {
  body[data-route="education"] .academic-programmes-section,
  body[data-route="education"] .academic-resources-section,
  body[data-route="education"] .academic-admissions-section {
    padding-block: 4.25rem;
  }

  body[data-route="education"] .academic-programmes-intro h2,
  body[data-route="education"] .academic-resources-heading h2 {
    max-width: none;
    font-size: clamp(2.45rem, 9vw, 3.55rem);
  }

  body[data-route="education"] .academic-pathway {
    grid-template-columns: 1fr;
    gap: 0.75rem;
    min-height: 0;
  }

  body[data-route="education"] .academic-resource-index {
    grid-template-columns: 1fr;
  }

  body[data-route="education"] .academic-resource {
    min-height: 0;
  }

  body[data-route="education"] .academic-admissions-callout {
    grid-template-columns: 1fr;
    gap: 0;
  }

  body[data-route="education"] .academic-admissions-mark {
    min-height: 17rem;
  }

  body[data-route="education"] .academic-admissions-copy {
    padding: 2.5rem 1.5rem 3rem;
  }

  body[data-page-type="admissions"] .page-hero {
    min-height: 0;
    padding-block: 3.25rem 3.5rem;
  }

  body[data-page-type="admissions"] .page-hero h1 {
    max-width: none;
    font-size: clamp(2.3rem, 8.35vw, 3.3rem);
  }

  body[data-page-type="admissions"] .admissions-policy-index {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }

  body[data-page-type="admissions"] .admissions-policy-index ul {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 520px) {
  body[data-route="education"] .academic-resource {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  body[data-route="education"] .academic-admissions-copy h2 {
    max-width: none;
    font-size: clamp(2.1rem, 9vw, 2.85rem);
  }
}

/* People: a quiet portrait archive. Pending records stay visibly provisional. */
body[data-page-type="people-list"] .page-hero,
body[data-page-type="people-detail"] .page-hero {
  min-height: clamp(18rem, 25vw, 24rem);
  display: grid;
  align-items: end;
  padding-block: clamp(4rem, 6vw, 6.25rem) clamp(3.25rem, 4.5vw, 4.75rem);
  background:
    linear-gradient(112deg, rgba(18, 13, 20, 0.94), rgba(85, 16, 30, 0.9)),
    var(--brand-deep);
}

body[data-page-type="people-list"] .page-hero::after,
body[data-page-type="people-detail"] .page-hero::after {
  width: min(38vw, 31rem);
  opacity: 0.16;
}

body[data-page-type="people-list"] .page-hero h1,
body[data-page-type="people-detail"] .page-hero h1 {
  max-width: 12ch;
  font-size: clamp(3rem, 5.1vw, 5.1rem);
  letter-spacing: -0.055em;
  line-height: 1.04;
}

body[data-page-type="people-list"] .page-hero-copy::before,
body[data-page-type="people-detail"] .page-hero-copy::before {
  content: "ARCHIVE / 人物档案";
  display: block;
  margin-bottom: 1rem;
  color: var(--brand-primary);
  font-family: var(--font-body-zh);
  font-size: 0.67rem;
  font-weight: 700;
  letter-spacing: 0.17em;
}

html[lang="ru"] body[data-page-type="people-list"] .page-hero-copy::before,
html[lang="ru"] body[data-page-type="people-detail"] .page-hero-copy::before {
  content: "АРХИВ / ПЕРСОНАЛИИ";
}

html[lang="en"] body[data-page-type="people-list"] .page-hero-copy::before,
html[lang="en"] body[data-page-type="people-detail"] .page-hero-copy::before {
  content: "ARCHIVE / PEOPLE";
}

body[data-page-type="people-list"] .people-archive-section,
body[data-page-type="people-detail"] .person-profile-section {
  padding-block: clamp(4.75rem, 8vw, 8.75rem);
  background:
    linear-gradient(90deg, rgba(85, 16, 30, 0.028) 1px, transparent 1px),
    var(--brand-white);
  background-size: min(18vw, 17rem) 100%;
}

body[data-page-type="people-list"] .people-archive-toolbar {
  display: grid;
  grid-template-columns: minmax(11rem, 0.42fr) minmax(0, 1.58fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  align-items: start;
  margin-bottom: clamp(2.75rem, 5vw, 5rem);
  padding-block: 1.15rem;
  border-top: 1px solid var(--brand-secondary);
  border-bottom: 1px solid rgba(85, 16, 30, 0.19);
}

body[data-page-type="people-list"] .people-archive-toolbar > strong {
  color: var(--brand-secondary);
  font-family: var(--font-display-zh);
  font-size: clamp(1.1rem, 1.5vw, 1.35rem);
  font-weight: 500;
}

body[data-page-type="people-list"] .people-archive-categories {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem 1.1rem;
  padding: 0;
  margin: 0;
  list-style: none;
}

body[data-page-type="people-list"] .people-archive-categories li {
  display: inline-flex;
  min-height: 2rem;
  align-items: center;
  padding: 0.1rem 0.05rem;
  color: var(--brand-muted);
  font-size: 0.9rem;
  line-height: 1.3;
}

body[data-page-type="people-list"] .people-archive-categories li:first-child {
  color: var(--brand-secondary);
  font-weight: 700;
}

body[data-page-type="people-list"] .people-archive-categories li + li::before {
  content: "/";
  margin-right: 1.1rem;
  color: var(--brand-primary);
}

body[data-page-type="people-list"] .people-archive-empty {
  grid-template-columns: minmax(14rem, 0.57fr) minmax(0, 1.43fr);
  gap: clamp(2rem, 6vw, 6.5rem);
  min-height: clamp(22rem, 37vw, 33rem);
  padding: 0;
  overflow: hidden;
  border-top: 1px solid var(--brand-primary);
  background: transparent;
}

body[data-page-type="people-list"] .people-archive-mark {
  position: relative;
  align-self: stretch;
  min-height: 20rem;
  display: grid;
  place-items: center;
  overflow: hidden;
  background:
    repeating-linear-gradient(to bottom, transparent 0 3.45rem, rgba(219, 162, 61, 0.15) 3.48rem 3.53rem),
    linear-gradient(145deg, var(--brand-secondary), #190d16);
}

body[data-page-type="people-list"] .people-archive-mark::before,
body[data-page-type="people-list"] .people-archive-mark::after {
  content: "";
  position: absolute;
  width: min(24rem, 62vw);
  aspect-ratio: 1;
  border: 1px solid rgba(219, 162, 61, 0.25);
  border-radius: 50%;
}

body[data-page-type="people-list"] .people-archive-mark::before {
  top: -45%;
  left: -48%;
}

body[data-page-type="people-list"] .people-archive-mark::after {
  right: -45%;
  bottom: -50%;
  border-color: rgba(255, 254, 249, 0.12);
}

body[data-page-type="people-list"] .people-archive-mark img {
  position: relative;
  z-index: 1;
  width: min(41%, 10rem);
}

body[data-page-type="people-list"] .people-archive-empty > div:last-child {
  align-self: center;
  padding: clamp(2.75rem, 6vw, 6rem) clamp(1.5rem, 6vw, 6rem) clamp(2.75rem, 6vw, 4.5rem) 0;
}

body[data-page-type="people-list"] .people-archive-empty h2 {
  max-width: 9em;
  margin-bottom: 1rem;
  color: var(--brand-secondary);
  font-size: clamp(2.35rem, 4.1vw, 4.25rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.08;
}

body[data-page-type="people-list"] .people-archive-empty p {
  max-width: 36rem;
  margin-bottom: 1.2rem;
  line-height: 1.8;
}

body[data-page-type="people-list"] .people-archive-empty .text-link {
  color: var(--brand-secondary);
  font-weight: 700;
}

body[data-page-type="people-detail"] .profile-hero--pending {
  grid-template-columns: minmax(16rem, 0.66fr) minmax(0, 1.34fr);
  gap: clamp(2.5rem, 7vw, 7.5rem);
  padding-bottom: clamp(3rem, 5vw, 5rem);
  border-bottom: 1px solid rgba(85, 16, 30, 0.18);
}

body[data-page-type="people-detail"] .profile-photo--pending {
  position: relative;
  min-height: clamp(24rem, 39vw, 35rem);
  overflow: hidden;
  background:
    repeating-linear-gradient(to bottom, transparent 0 3.45rem, rgba(219, 162, 61, 0.15) 3.48rem 3.53rem),
    linear-gradient(142deg, var(--brand-secondary), #1a0e16);
}

body[data-page-type="people-detail"] .profile-photo--pending::after {
  content: "OFFICIAL PROFILE";
  position: absolute;
  right: 1.25rem;
  bottom: 1.25rem;
  color: rgba(255, 254, 249, 0.56);
  font-family: var(--font-body-zh);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.16em;
}

body[data-page-type="people-detail"] .profile-photo--pending img {
  width: min(48%, 13rem);
  max-height: 55%;
  object-fit: contain;
}

body[data-page-type="people-detail"] .profile-summary h2 {
  max-width: 11ch;
  font-size: clamp(2.8rem, 5.15vw, 5.35rem);
  font-weight: 500;
  letter-spacing: -0.065em;
  line-height: 1.03;
}

body[data-page-type="people-detail"] .profile-role {
  margin-bottom: 0.9rem;
  color: var(--brand-primary);
  font-family: var(--font-body-zh);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

body[data-page-type="people-detail"] .profile-summary > p:not(.profile-role) {
  max-width: 37rem;
  color: var(--brand-muted);
  font-size: 1.04rem;
  line-height: 1.8;
}

body[data-page-type="people-detail"] .profile-facts {
  max-width: 38rem;
  margin-top: 2.5rem;
  border-top-color: var(--brand-secondary);
}

body[data-page-type="people-detail"] .profile-facts div {
  padding-block: 1.15rem;
}

body[data-page-type="people-detail"] .profile-facts dt {
  color: var(--brand-primary);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

body[data-page-type="people-detail"] .person-profile-reading {
  max-width: var(--reading);
  margin-inline: auto;
  padding-top: clamp(1.5rem, 4vw, 3.25rem);
}

body[data-page-type="people-detail"] .person-profile-reading h2 {
  margin-top: 3rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(85, 16, 30, 0.16);
  color: var(--brand-secondary);
  font-size: clamp(1.7rem, 2.8vw, 2.25rem);
  font-weight: 500;
}

body[data-page-type="people-detail"] .person-profile-reading p {
  max-width: 42rem;
  color: var(--brand-muted);
  line-height: 1.85;
}

@media (max-width: 800px) {
  body[data-page-type="people-list"] .page-hero,
  body[data-page-type="people-detail"] .page-hero {
    min-height: 0;
    padding-block: 3.25rem 3.5rem;
  }

  body[data-page-type="people-list"] .page-hero h1,
  body[data-page-type="people-detail"] .page-hero h1 {
    max-width: none;
    font-size: clamp(2.45rem, 9vw, 3.5rem);
  }

  body[data-page-type="people-list"] .people-archive-section,
  body[data-page-type="people-detail"] .person-profile-section {
    padding-block: 4rem;
  }

  body[data-page-type="people-list"] .people-archive-toolbar,
  body[data-page-type="people-list"] .people-archive-empty,
  body[data-page-type="people-detail"] .profile-hero--pending {
    grid-template-columns: 1fr;
  }

  body[data-page-type="people-list"] .people-archive-toolbar {
    gap: 0.75rem;
  }

  body[data-page-type="people-list"] .people-archive-empty {
    gap: 0;
  }

  body[data-page-type="people-list"] .people-archive-mark {
    min-height: 14.5rem;
  }

  body[data-page-type="people-list"] .people-archive-empty > div:last-child {
    padding: 2.5rem 0 0;
  }

  body[data-page-type="people-detail"] .profile-hero--pending {
    gap: 2.25rem;
  }

  body[data-page-type="people-detail"] .profile-photo--pending {
    min-height: 18rem;
  }

  body[data-page-type="people-detail"] .profile-summary h2 {
    max-width: none;
    font-size: clamp(2.45rem, 9vw, 3.5rem);
  }
}

@media (max-width: 520px) {
  body[data-page-type="people-list"] .people-archive-categories {
    gap: 0.15rem 0.75rem;
  }

  body[data-page-type="people-list"] .people-archive-categories li + li::before {
    margin-right: 0.75rem;
  }

  body[data-page-type="people-list"] .people-archive-empty h2 {
    max-width: none;
    font-size: clamp(2.15rem, 9.5vw, 2.9rem);
  }

  body[data-page-type="people-detail"] .profile-facts {
    grid-template-columns: 1fr;
  }
}

/* Research, structure and history: low-depth institutional reference pages. */
body[data-page-type="structure"] .page-hero,
body[data-page-type="timeline"] .page-hero,
body[data-page-type="gallery"] .page-hero {
  min-height: clamp(17rem, 23vw, 22rem);
  display: grid;
  align-items: end;
  padding-block: clamp(3.75rem, 5.5vw, 5.75rem) clamp(2.75rem, 4vw, 4.25rem);
}

body[data-page-type="structure"] .page-hero::after,
body[data-page-type="timeline"] .page-hero::after {
  width: min(20vw, 14rem);
  opacity: 0.11;
}

body[data-page-type="structure"] .page-hero h1,
body[data-page-type="timeline"] .page-hero h1,
body[data-page-type="gallery"] .page-hero h1 {
  max-width: 15ch;
  margin-bottom: 0.75rem;
  font-size: clamp(2.75rem, 4.4vw, 4.5rem);
  letter-spacing: -0.05em;
  line-height: 1.02;
}

body[data-page-type="structure"] .page-hero-copy::before,
body[data-page-type="timeline"] .page-hero-copy::before {
  content: "";
  display: block;
  width: clamp(2.75rem, 5vw, 4.5rem);
  height: 1px;
  margin-bottom: 0.9rem;
  background: var(--brand-primary);
}

body[data-route="research"] .page-hero {
  background:
    linear-gradient(112deg, rgba(30, 14, 21, 0.98), rgba(85, 16, 30, 0.9)),
    var(--brand-secondary);
}

body[data-route="research"] .research-directory-section {
  position: relative;
  overflow: clip;
  padding-block: clamp(5rem, 8vw, 8.75rem);
  background:
    linear-gradient(90deg, rgba(85, 16, 30, 0.035) 1px, transparent 1px),
    var(--brand-white);
  background-size: min(21vw, 20rem) 100%;
}

body[data-route="research"] .research-directory {
  grid-template-columns: minmax(16rem, 0.62fr) minmax(0, 1.38fr);
  gap: clamp(3rem, 8vw, 9rem);
}

body[data-route="research"] .research-directory-lead {
  top: 7rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--brand-primary);
}

body[data-route="research"] .research-directory-lead h2 {
  max-width: 7em;
  margin-bottom: 1.1rem;
  color: var(--brand-secondary);
  font-size: clamp(2.65rem, 4.3vw, 4.5rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.03;
}

body[data-route="research"] .research-directory-lead p {
  max-width: 28rem;
  line-height: 1.8;
}

body[data-route="research"] .research-directory-index {
  border-top: 1px solid var(--brand-secondary);
}

body[data-route="research"] .research-directory-index .index-item {
  grid-template-columns: 4.5rem minmax(0, 1fr);
  min-height: clamp(7.5rem, 11vw, 10.5rem);
  padding-block: clamp(1.25rem, 2.5vw, 2.25rem);
}

body[data-route="research"] .research-directory-index .section-index {
  align-self: start;
  padding-top: 0.25rem;
  color: var(--brand-primary);
  font-family: var(--font-number);
  font-size: 1rem;
}

body[data-route="research"] .research-directory-index strong {
  color: var(--brand-secondary);
  font-size: clamp(1.5rem, 2.35vw, 2.15rem);
  font-weight: 500;
  letter-spacing: -0.035em;
}

body[data-route="research"] .research-directory-index p {
  max-width: 38rem;
  margin-top: 0.6rem;
  font-size: 0.95rem;
  line-height: 1.72;
}

body[data-page-type="structure"] .structure-map-section {
  padding-block: clamp(4.75rem, 8vw, 8rem);
  background: var(--brand-white);
}

body[data-page-type="structure"] .structure-map-container {
  max-width: 65rem;
}

body[data-page-type="structure"] .structure-map {
  gap: 0;
}

body[data-page-type="structure"] .structure-node {
  position: relative;
  width: min(100%, 38rem);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  border-top-width: 1px;
  box-shadow: none;
}

body[data-page-type="structure"] .structure-node.primary {
  padding-block: clamp(2.25rem, 4vw, 3.5rem);
  background:
    linear-gradient(132deg, rgba(85, 16, 30, 0.96), rgba(24, 14, 21, 0.98));
}

body[data-page-type="structure"] .structure-node.primary h2 {
  color: var(--brand-white);
  font-size: clamp(1.9rem, 3.1vw, 3.05rem);
  font-weight: 500;
}

body[data-page-type="structure"] .structure-node:not(.primary) h2,
body[data-page-type="structure"] .structure-node h3 {
  color: var(--brand-secondary);
  font-size: clamp(1.3rem, 2.1vw, 1.85rem);
  font-weight: 500;
}

body[data-page-type="structure"] .structure-node p {
  max-width: 30rem;
  margin-inline: auto;
  line-height: 1.7;
}

body[data-page-type="structure"] .structure-connector {
  height: clamp(2rem, 4vw, 3.75rem);
  background: linear-gradient(var(--brand-primary), rgba(219, 162, 61, 0.18));
}

body[data-page-type="structure"] .structure-branches {
  position: relative;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(1rem, 3vw, 2.5rem);
  padding-top: clamp(1.5rem, 3vw, 2.5rem);
}

body[data-page-type="structure"] .structure-branches::before {
  content: "";
  position: absolute;
  top: 0;
  right: 25%;
  left: 25%;
  height: 1px;
  background: rgba(219, 162, 61, 0.55);
}

body[data-page-type="structure"] .structure-branches .structure-node,
body[data-page-type="structure"] .structure-branches .org-group {
  width: 100%;
  min-height: 11.5rem;
}

body[data-page-type="structure"] details.org-group {
  border-top-width: 1px;
}

body[data-page-type="structure"] .structure-contact-section {
  padding-block: clamp(3.75rem, 6vw, 5.75rem);
  background: var(--brand-surface);
}

body[data-page-type="structure"] .structure-contact-section .section-heading {
  margin-bottom: 1.75rem;
}

body[data-page-type="structure"] .structure-contact-section .section-heading h2 {
  color: var(--brand-secondary);
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 500;
}

body[data-page-type="timeline"] .history-timeline-section {
  position: relative;
  overflow: clip;
  padding-block: clamp(4.75rem, 8vw, 8.5rem);
  background:
    linear-gradient(90deg, rgba(85, 16, 30, 0.035) 1px, transparent 1px),
    var(--brand-white);
  background-size: min(21vw, 20rem) 100%;
}

body[data-page-type="timeline"] .history-timeline-container {
  max-width: 71rem;
}

body[data-page-type="timeline"] .history-timeline-heading {
  max-width: 40rem;
  margin-bottom: clamp(2.75rem, 6vw, 5.75rem);
}

body[data-page-type="timeline"] .history-timeline-heading h2 {
  max-width: 8em;
  color: var(--brand-secondary);
  font-size: clamp(2.7rem, 4.4vw, 4.6rem);
  font-weight: 500;
  letter-spacing: -0.06em;
  line-height: 1.04;
}

body[data-page-type="timeline"] .history-timeline-heading p {
  max-width: 32rem;
  line-height: 1.8;
}

body[data-page-type="timeline"] .history-timeline {
  max-width: 63rem;
  margin-left: auto;
}

body[data-page-type="timeline"] .history-timeline::before {
  left: clamp(7.7rem, 12vw, 10.5rem);
  background: linear-gradient(var(--brand-primary), rgba(219, 162, 61, 0.12));
}

body[data-page-type="timeline"] .history-timeline article {
  grid-template-columns: clamp(6rem, 10vw, 8.75rem) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 5.5rem);
  padding-block: clamp(1.8rem, 3.5vw, 3.1rem);
}

body[data-page-type="timeline"] .history-timeline article::before {
  top: clamp(2.2rem, 3.8vw, 3.6rem);
  left: calc(clamp(7.7rem, 12vw, 10.5rem) - 0.34rem);
  width: 0.68rem;
  height: 0.68rem;
  border-width: 2px;
  box-shadow: 0 0 0 1px rgba(219, 162, 61, 0.65);
}

body[data-page-type="timeline"] .history-timeline .timeline-year {
  color: var(--brand-primary);
  font-family: var(--font-number);
  font-size: clamp(1.05rem, 1.7vw, 1.45rem);
}

body[data-page-type="timeline"] .history-timeline h3 {
  color: var(--brand-secondary);
  font-size: clamp(1.55rem, 2.55vw, 2.35rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.16;
}

body[data-page-type="timeline"] .history-timeline p {
  max-width: 42rem;
  line-height: 1.78;
}

/* Partnership is the only institutional interior granted L2 editorial depth. */
body[data-route="partnership"] .partnership-scene-section {
  position: relative;
  overflow: clip;
  padding-block: clamp(4.5rem, 8vw, 8rem);
  background:
    radial-gradient(circle at 50% 50%, rgba(219, 162, 61, 0.1), transparent 31%),
    linear-gradient(132deg, var(--brand-deep), var(--brand-secondary));
}

body[data-route="partnership"] .partnership-scene-section::before,
body[data-route="partnership"] .partnership-scene-section::after {
  content: "";
  position: absolute;
  width: min(38vw, 36rem);
  aspect-ratio: 1;
  border: 1px solid rgba(219, 162, 61, 0.18);
  border-radius: 50%;
}

body[data-route="partnership"] .partnership-scene-section::before {
  top: -58%;
  left: -11%;
}

body[data-route="partnership"] .partnership-scene-section::after {
  right: -10%;
  bottom: -61%;
  border-color: rgba(255, 254, 249, 0.09);
}

body[data-route="partnership"] .partnership-scene-container {
  position: relative;
  z-index: 1;
}

body[data-route="partnership"] .partnership-composition {
  grid-template-columns: minmax(0, 1fr) clamp(4.5rem, 8vw, 8rem) minmax(0, 1fr);
  gap: clamp(1rem, 3vw, 3rem);
}

body[data-route="partnership"] .partnership-composition .partner-institution {
  min-height: clamp(20rem, 30vw, 28rem);
  padding: clamp(2rem, 4vw, 4rem);
  border-top-width: 1px;
  box-shadow: 0 1.5rem 3rem rgba(12, 5, 9, 0.13);
}

body[data-route="partnership"] .partnership-composition .partner-institution:first-child {
  transform: translateY(clamp(0rem, 2vw, 1.6rem));
}

body[data-route="partnership"] .partnership-composition .partner-institution:last-child {
  background: rgba(255, 254, 249, 0.94);
}

body[data-route="partnership"] .partnership-composition .partner-institution img {
  width: min(42%, 9rem);
  height: clamp(5.75rem, 8vw, 7.5rem);
  margin-bottom: 1.4rem;
}

body[data-route="partnership"] .partnership-composition .partner-institution h3 {
  max-width: 17em;
  color: var(--brand-secondary);
  font-family: var(--font-display-zh);
  font-size: clamp(1.35rem, 2.2vw, 2rem);
  font-weight: 500;
  line-height: 1.22;
}

body[data-route="partnership"] .partnership-composition .partner-institution p {
  max-width: 27rem;
  line-height: 1.65;
}

body[data-route="partnership"] .culture-country-card > span {
  display: block;
  margin-bottom: .7rem;
  color: var(--brand-primary);
  font-size: .67rem;
  font-weight: 700;
  letter-spacing: .16em;
}

body[data-route="partnership"] .partner-bridge {
  color: var(--brand-primary);
}

body[data-route="partnership"] .partner-bridge::before,
body[data-route="partnership"] .partner-bridge::after {
  background: rgba(219, 162, 61, 0.78);
}

body[data-route="partnership"] .partner-bridge span {
  color: var(--brand-primary);
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
}

body[data-route="partnership"] .partnership-directory-section {
  padding-block: clamp(5rem, 8vw, 8.5rem);
  background: var(--brand-white);
}

body[data-route="partnership"] .partnership-directory {
  grid-template-columns: minmax(17rem, 0.64fr) minmax(0, 1.36fr);
  gap: clamp(3rem, 8vw, 9rem);
}

body[data-route="partnership"] .partnership-directory-lead {
  top: 7rem;
  padding-top: 1.1rem;
  border-top: 1px solid var(--brand-primary);
}

body[data-route="partnership"] .partnership-directory-lead h2 {
  max-width: 8em;
  color: var(--brand-secondary);
  font-size: clamp(2.65rem, 4.2vw, 4.4rem);
  font-weight: 500;
  letter-spacing: -0.055em;
  line-height: 1.04;
}

body[data-route="partnership"] .partnership-directory-lead p {
  max-width: 31rem;
  line-height: 1.8;
}

body[data-route="partnership"] .partnership-directory-index {
  border-top-width: 1px;
}

body[data-route="partnership"] .partnership-directory-index .index-item {
  grid-template-columns: 4.5rem minmax(0, 1fr);
  min-height: 8rem;
}

body[data-route="partnership"] .partnership-directory-index .section-index {
  align-self: start;
  padding-top: 0.18rem;
  color: var(--brand-primary);
  font-family: var(--font-number);
}

body[data-route="partnership"] .partnership-directory-index strong {
  color: var(--brand-secondary);
  font-size: clamp(1.42rem, 2.1vw, 1.95rem);
  font-weight: 500;
}

body[data-route="partnership"] .partnership-directory-index p {
  max-width: 40rem;
  margin-top: 0.55rem;
  line-height: 1.7;
}

body[data-route="partnership"] .culture-theme-list {
  border-top: 1px solid var(--brand-secondary);
}

body[data-route="partnership"] .culture-theme {
  border-bottom: 1px solid rgba(85, 16, 30, .2);
}

body[data-route="partnership"] .culture-theme summary {
  display: grid;
  grid-template-columns: 4.5rem minmax(0, 1fr) 2.5rem;
  gap: 1rem;
  align-items: start;
  padding: 1.65rem 0;
  color: var(--brand-secondary);
  cursor: pointer;
  list-style: none;
}

body[data-route="partnership"] .culture-theme summary::-webkit-details-marker {
  display: none;
}

body[data-route="partnership"] .culture-theme summary small {
  display: block;
  margin-bottom: .35rem;
  color: var(--brand-primary);
  font-family: var(--font-number);
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
}

body[data-route="partnership"] .culture-theme summary strong {
  display: block;
  max-width: 25em;
  font-family: var(--font-display-zh);
  font-size: clamp(1.35rem, 2.1vw, 2rem);
  font-weight: 500;
  line-height: 1.2;
}

body[data-route="partnership"] .culture-theme summary i {
  position: relative;
  width: 2rem;
  height: 2rem;
  border: 1px solid rgba(85, 16, 30, .25);
  border-radius: 50%;
  transition: transform 280ms var(--ease), background 220ms ease;
}

body[data-route="partnership"] .culture-theme summary i::before,
body[data-route="partnership"] .culture-theme summary i::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: .75rem;
  height: 1px;
  background: currentColor;
  transform: translate(-50%, -50%);
}

body[data-route="partnership"] .culture-theme summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

body[data-route="partnership"] .culture-theme[open] summary i {
  color: #fffaf1;
  background: var(--brand-secondary);
  transform: rotate(45deg);
}

body[data-route="partnership"] .culture-theme-content {
  padding: 0 0 2.25rem 5.5rem;
}

body[data-route="partnership"] .culture-theme-summary {
  max-width: 46rem;
  margin: 0 0 1.5rem;
  color: var(--brand-muted);
  font-size: 1.02rem;
  line-height: 1.75;
}

body[data-route="partnership"] .culture-country-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  background: rgba(85, 16, 30, .16);
  border: 1px solid rgba(85, 16, 30, .16);
}

body[data-route="partnership"] .culture-country-pair article {
  min-height: 12rem;
  padding: clamp(1.35rem, 2.8vw, 2.25rem);
  background: var(--brand-white);
}

body[data-route="partnership"] .culture-country-pair article:nth-child(2) {
  background: rgba(232, 221, 198, .28);
}

body[data-route="partnership"] .culture-country-pair span {
  color: var(--brand-primary);
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .14em;
}

body[data-route="partnership"] .culture-country-pair h3 {
  margin: .7rem 0 .55rem;
  color: var(--brand-secondary);
  font-size: clamp(1.2rem, 1.8vw, 1.55rem);
  font-weight: 550;
}

body[data-route="partnership"] .culture-country-pair p {
  margin: 0;
  color: var(--brand-muted);
  line-height: 1.7;
}

/* Gallery uses real Chinese documentary images as the visual material, not cards. */
body[data-page-type="gallery"] .gallery-archive-section {
  padding-block: clamp(4.75rem, 8vw, 8.25rem);
  background: var(--brand-white);
}

body[data-page-type="gallery"] .gallery-filter-bar {
  max-width: none;
  margin-bottom: clamp(2.25rem, 4vw, 4rem);
  padding-block: 1rem;
  border-top: 1px solid var(--brand-secondary);
  border-bottom: 1px solid rgba(85, 16, 30, 0.18);
}

body[data-page-type="gallery"] .gallery-archive-grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.9fr) minmax(0, 0.85fr);
  grid-auto-rows: minmax(15rem, 25vw);
  gap: 2px;
  border-color: rgba(85, 16, 30, 0.25);
  background: rgba(85, 16, 30, 0.25);
}

body[data-page-type="gallery"] .gallery-card {
  background: var(--brand-surface);
}

body[data-page-type="gallery"] .gallery-button {
  position: relative;
  min-height: 0;
  padding: 0;
  background: var(--brand-secondary);
}

body[data-page-type="gallery"] .gallery-button::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(24, 10, 16, 0.54));
  transition: opacity var(--motion-fast) var(--ease);
}

html[lang="zh-CN"] body[data-page-type="gallery"] .gallery-button img {
  width: 100%;
  max-width: none;
  height: 100%;
  max-height: none;
  object-fit: cover;
  filter: saturate(0.83) contrast(1.04);
}

html[lang="zh-CN"] body[data-page-type="gallery"] .gallery-card:first-child .gallery-button img {
  filter: saturate(0.9) contrast(1.07);
}

body[data-page-type="gallery"] .gallery-card figcaption {
  padding: 1rem 1.15rem 1.15rem;
  background: var(--brand-white);
}

body[data-page-type="gallery"] .gallery-card strong {
  font-family: var(--font-display-zh);
  font-size: clamp(1rem, 1.35vw, 1.28rem);
  font-weight: 500;
}

body[data-page-type="gallery"] .gallery-card span {
  display: block;
  margin-top: 0.32rem;
}

html[lang="ru"] body[data-page-type="gallery"] .gallery-archive-grid,
html[lang="en"] body[data-page-type="gallery"] .gallery-archive-grid {
  grid-auto-rows: minmax(13rem, 18vw);
}

html[lang="ru"] body[data-page-type="gallery"] .gallery-button,
html[lang="en"] body[data-page-type="gallery"] .gallery-button {
  padding: clamp(1.5rem, 3vw, 2.75rem);
}

html[lang="ru"] body[data-page-type="gallery"] .gallery-button img,
html[lang="en"] body[data-page-type="gallery"] .gallery-button img {
  width: min(76%, 16rem);
  max-height: 73%;
  object-fit: contain;
}

@media (hover: hover) and (pointer: fine) {
  body[data-route="research"] .research-directory-index .index-item:hover {
    padding-inline: 0.35rem;
  }

  body[data-page-type="gallery"] .gallery-button:hover::after,
  body[data-page-type="gallery"] .gallery-button:focus-visible::after {
    opacity: 1;
  }

  html[lang="zh-CN"] body[data-page-type="gallery"] .gallery-button:hover img,
  html[lang="zh-CN"] body[data-page-type="gallery"] .gallery-button:focus-visible img {
    transform: scale(1.025);
  }
}

@media (max-width: 1220px) {
  body[data-route="research"] .research-directory,
  body[data-route="partnership"] .partnership-directory {
    grid-template-columns: minmax(0, 1fr);
    gap: 3rem;
  }

  body[data-route="research"] .research-directory-lead,
  body[data-route="partnership"] .partnership-directory-lead {
    position: static;
    max-width: 42rem;
  }

  body[data-page-type="timeline"] .history-timeline {
    margin-left: 0;
  }
}

@media (max-width: 800px) {
  body[data-page-type="structure"] .page-hero,
  body[data-page-type="timeline"] .page-hero,
  body[data-page-type="gallery"] .page-hero {
    min-height: 0;
    padding-block: 3.25rem 3.5rem;
  }

  body[data-page-type="structure"] .page-hero h1,
  body[data-page-type="timeline"] .page-hero h1,
  body[data-page-type="gallery"] .page-hero h1 {
    max-width: none;
    font-size: clamp(2.35rem, 8.7vw, 3.35rem);
  }

  body[data-route="research"] .research-directory-section,
  body[data-page-type="structure"] .structure-map-section,
  body[data-page-type="timeline"] .history-timeline-section,
  body[data-route="partnership"] .partnership-directory-section,
  body[data-page-type="gallery"] .gallery-archive-section {
    padding-block: 4rem;
  }

  body[data-page-type="structure"] .structure-branches,
  body[data-route="partnership"] .partnership-composition {
    grid-template-columns: 1fr;
  }

  body[data-page-type="structure"] .structure-branches {
    gap: 1rem;
  }

  body[data-page-type="structure"] .structure-branches::before {
    display: none;
  }

  body[data-page-type="structure"] .structure-branches .structure-node,
  body[data-page-type="structure"] .structure-branches .org-group {
    min-height: 0;
  }

  body[data-page-type="timeline"] .history-timeline-heading {
    margin-bottom: 3.25rem;
  }

  body[data-page-type="timeline"] .history-timeline-heading h2 {
    max-width: none;
    font-size: clamp(2.35rem, 8.7vw, 3.45rem);
  }

  body[data-page-type="timeline"] .history-timeline::before {
    left: 0.3rem;
  }

  body[data-page-type="timeline"] .history-timeline article {
    grid-template-columns: 1fr;
    gap: 0.7rem;
    padding: 1.6rem 0 1.6rem 1.75rem;
  }

  body[data-page-type="timeline"] .history-timeline article::before {
    top: 1.95rem;
    left: -0.04rem;
  }

  body[data-route="partnership"] .partnership-scene-section {
    padding-block: 4rem;
  }

  body[data-route="partnership"] .partnership-composition {
    max-width: 32rem;
    margin-inline: auto;
    gap: 1rem;
  }

  body[data-route="partnership"] .partnership-composition .partner-institution:first-child {
    transform: none;
  }

  body[data-route="partnership"] .culture-country-pair {
    grid-template-columns: 1fr;
  }

  body[data-route="partnership"] .partner-bridge {
    grid-template-columns: 1fr auto 1fr;
    gap: 0.75rem;
  }

  body[data-route="partnership"] .partner-bridge::before,
  body[data-route="partnership"] .partner-bridge::after {
    width: 100%;
  }

  body[data-page-type="gallery"] .gallery-archive-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: minmax(13rem, 43vw);
  }

  body[data-page-type="gallery"] .gallery-card:first-child {
    grid-column: 1 / -1;
    grid-row: auto;
  }
}

@media (max-width: 520px) {
  body[data-route="research"] .research-directory-index .index-item,
  body[data-route="partnership"] .partnership-directory-index .index-item {
    grid-template-columns: 2.7rem minmax(0, 1fr);
    gap: 0.85rem;
  }

  body[data-route="partnership"] .culture-theme summary {
    grid-template-columns: 2.7rem minmax(0, 1fr) 2rem;
    gap: .75rem;
  }

  body[data-route="partnership"] .culture-theme-content {
    padding-left: 3.45rem;
  }

  body[data-page-type="structure"] .structure-node.primary h2 {
    font-size: clamp(1.7rem, 8vw, 2.35rem);
  }

  body[data-page-type="gallery"] .gallery-archive-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: minmax(15rem, 80vw);
  }

  body[data-page-type="gallery"] .gallery-card:first-child {
    grid-column: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  body[data-route="research"] .research-directory-index .index-item,
  body[data-page-type="gallery"] .gallery-button::after,
  body[data-page-type="gallery"] .gallery-button img {
    transition: none !important;
    transform: none !important;
  }
}

/* Russian and English news remain truthful when no translated reporting image exists. */
html[lang="ru"] body[data-page-type="news-list"] .page-hero h1 {
  max-width: 23ch;
  font-size: clamp(2.45rem, 4.1vw, 4.35rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

html[lang="en"] body[data-page-type="news-list"] .page-hero h1 {
  max-width: 20ch;
  font-size: clamp(2.55rem, 4.2vw, 4.45rem);
  letter-spacing: -0.035em;
  line-height: 1.04;
}

html[lang="ru"] body[data-page-type="news-list"] .news-archive-feature--textual,
html[lang="en"] body[data-page-type="news-list"] .news-archive-feature--textual {
  position: relative;
  display: block;
  min-height: clamp(23rem, 34vw, 31rem);
  overflow: hidden;
  padding: clamp(2rem, 5vw, 4.75rem);
  color: var(--brand-white);
  background:
    linear-gradient(115deg, rgba(23, 12, 18, 0.98), rgba(85, 16, 30, 0.94)),
    var(--brand-secondary);
}

html[lang="ru"] body[data-page-type="news-list"] .news-archive-feature--textual::before,
html[lang="en"] body[data-page-type="news-list"] .news-archive-feature--textual::before,
html[lang="ru"] body[data-page-type="news-list"] .news-archive-feature--textual::after,
html[lang="en"] body[data-page-type="news-list"] .news-archive-feature--textual::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(219, 162, 61, 0.23);
  border-radius: 50%;
}

html[lang="ru"] body[data-page-type="news-list"] .news-archive-feature--textual::before,
html[lang="en"] body[data-page-type="news-list"] .news-archive-feature--textual::before {
  top: -64%;
  right: -5%;
  width: min(34rem, 55vw);
  aspect-ratio: 1;
}

html[lang="ru"] body[data-page-type="news-list"] .news-archive-feature--textual::after,
html[lang="en"] body[data-page-type="news-list"] .news-archive-feature--textual::after {
  right: 20%;
  bottom: -67%;
  width: min(26rem, 45vw);
  aspect-ratio: 1;
  border-color: rgba(255, 254, 249, 0.09);
}

html[lang="ru"] body[data-page-type="news-list"] .news-archive-feature--textual .news-archive-feature-copy,
html[lang="en"] body[data-page-type="news-list"] .news-archive-feature--textual .news-archive-feature-copy {
  position: relative;
  z-index: 1;
  max-width: min(100%, 49rem);
  margin: 0;
  padding: 0;
  background: transparent;
  border-top: 1px solid var(--brand-primary);
  box-shadow: none;
}

html[lang="ru"] body[data-page-type="news-list"] .news-archive-feature--textual .news-archive-meta,
html[lang="en"] body[data-page-type="news-list"] .news-archive-feature--textual .news-archive-meta {
  margin-top: 1.25rem;
  color: rgba(255, 254, 249, 0.65);
}

html[lang="ru"] body[data-page-type="news-list"] .news-archive-feature--textual .news-archive-meta span,
html[lang="ru"] body[data-page-type="news-list"] .news-archive-feature--textual .news-archive-meta time,
html[lang="en"] body[data-page-type="news-list"] .news-archive-feature--textual .news-archive-meta span,
html[lang="en"] body[data-page-type="news-list"] .news-archive-feature--textual .news-archive-meta time {
  color: var(--brand-primary);
}

html[lang="ru"] body[data-page-type="news-list"] .news-archive-feature--textual h2,
html[lang="en"] body[data-page-type="news-list"] .news-archive-feature--textual h2 {
  max-width: 20ch;
  color: var(--brand-white);
  font-size: clamp(2rem, 3.45vw, 3.55rem);
  letter-spacing: -0.035em;
  line-height: 1.08;
}

html[lang="ru"] body[data-page-type="news-list"] .news-archive-feature--textual h2 {
  max-width: 23ch;
  font-size: clamp(1.95rem, 3.25vw, 3.35rem);
  letter-spacing: -0.02em;
  line-height: 1.12;
}

html[lang="ru"] body[data-page-type="news-list"] .news-archive-feature--textual .news-archive-feature-copy > p:not(.news-archive-meta),
html[lang="en"] body[data-page-type="news-list"] .news-archive-feature--textual .news-archive-feature-copy > p:not(.news-archive-meta),
html[lang="ru"] body[data-page-type="news-list"] .news-archive-feature--textual small,
html[lang="en"] body[data-page-type="news-list"] .news-archive-feature--textual small {
  color: rgba(255, 254, 249, 0.76);
}

html[lang="ru"] body[data-page-type="news-list"] .news-archive-feature--textual .text-link,
html[lang="en"] body[data-page-type="news-list"] .news-archive-feature--textual .text-link {
  color: var(--brand-white);
}

html[lang="ru"] body[data-page-type="news-list"] .news-archive-list--textual,
html[lang="en"] body[data-page-type="news-list"] .news-archive-list--textual {
  border-top-width: 1px;
}

html[lang="ru"] body[data-page-type="news-list"] .news-archive-list--textual .news-row,
html[lang="en"] body[data-page-type="news-list"] .news-archive-list--textual .news-row {
  grid-template-columns: minmax(6.5rem, 9rem) minmax(0, 1fr) minmax(8rem, 11rem);
  min-height: 9rem;
}

html[lang="ru"] body[data-page-type="news-list"] .news-archive-list--textual .news-row h2,
html[lang="en"] body[data-page-type="news-list"] .news-archive-list--textual .news-row h2 {
  max-width: 25ch;
  font-size: clamp(1.4rem, 2vw, 1.85rem);
}

html[lang="ru"] body[data-page-type="article"] .article-reading-header h1 {
  max-width: 24ch;
  font-size: clamp(2.2rem, 3.8vw, 3.85rem);
  letter-spacing: -0.023em;
  line-height: 1.1;
}

html[lang="en"] body[data-page-type="article"] .article-reading-header h1 {
  max-width: 22ch;
  font-size: clamp(2.25rem, 3.9vw, 3.95rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

html[lang="ru"] body[data-page-type="article"] .article-reading-body,
html[lang="en"] body[data-page-type="article"] .article-reading-body {
  font-size: 1.05rem;
  line-height: 1.84;
}

@media (max-width: 800px) {
  html[lang="ru"] body[data-page-type="news-list"] .page-hero h1,
  html[lang="en"] body[data-page-type="news-list"] .page-hero h1 {
    max-width: none;
    font-size: clamp(2.15rem, 8.1vw, 3.15rem);
  }

  html[lang="ru"] body[data-page-type="news-list"] .news-archive-feature--textual,
  html[lang="en"] body[data-page-type="news-list"] .news-archive-feature--textual {
    min-height: 0;
    padding: 1.75rem;
  }

  html[lang="ru"] body[data-page-type="news-list"] .news-archive-feature--textual h2,
  html[lang="en"] body[data-page-type="news-list"] .news-archive-feature--textual h2 {
    max-width: none;
    font-size: clamp(1.85rem, 8vw, 2.55rem);
  }

  html[lang="ru"] body[data-page-type="news-list"] .news-archive-list--textual .news-row,
  html[lang="en"] body[data-page-type="news-list"] .news-archive-list--textual .news-row {
    grid-template-columns: 1fr auto;
  }

  html[lang="ru"] body[data-page-type="article"] .article-reading-header h1,
  html[lang="en"] body[data-page-type="article"] .article-reading-header h1 {
    max-width: none;
    font-size: clamp(2rem, 8vw, 3rem);
  }
}

/* Language-aware measures: preserve hierarchy without forcing Chinese line counts. */
html[lang="ru"] body[data-page-type="calendar"] .page-hero h1 {
  max-width: 21ch;
  font-size: clamp(2.45rem, 4.05vw, 4.3rem);
  letter-spacing: -0.02em;
  line-height: 1.07;
}

html[lang="en"] body[data-page-type="calendar"] .page-hero h1 {
  max-width: 19ch;
  font-size: clamp(2.55rem, 4.2vw, 4.4rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

html[lang="ru"] body[data-page-type="admissions"] .page-hero h1 {
  max-width: 25ch;
  font-size: clamp(2.35rem, 3.9vw, 4.15rem);
  letter-spacing: -0.018em;
  line-height: 1.1;
}

html[lang="en"] body[data-page-type="admissions"] .page-hero h1 {
  max-width: 23ch;
  font-size: clamp(2.45rem, 4vw, 4.25rem);
  letter-spacing: -0.025em;
  line-height: 1.07;
}

html[lang="ru"] body[data-route="education"] .academic-programmes-intro h2,
html[lang="ru"] body[data-route="education"] .academic-resources-heading h2 {
  max-width: 15ch;
  font-size: clamp(2.35rem, 3.8vw, 4rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
}

html[lang="en"] body[data-route="education"] .academic-programmes-intro h2,
html[lang="en"] body[data-route="education"] .academic-resources-heading h2 {
  max-width: 14ch;
  font-size: clamp(2.45rem, 3.95vw, 4.1rem);
  letter-spacing: -0.03em;
  line-height: 1.06;
}

html[lang="ru"] body[data-route="education"] .academic-pathway strong,
html[lang="ru"] body[data-route="education"] .academic-resource strong {
  max-width: 26ch;
  font-size: clamp(1.42rem, 2.1vw, 2rem);
  letter-spacing: -0.015em;
  line-height: 1.2;
}

html[lang="en"] body[data-route="education"] .academic-pathway strong,
html[lang="en"] body[data-route="education"] .academic-resource strong {
  max-width: 25ch;
  font-size: clamp(1.45rem, 2.15vw, 2.05rem);
  line-height: 1.18;
}

html[lang="ru"] body[data-page-type="people-list"] .page-hero h1,
html[lang="ru"] body[data-page-type="people-detail"] .page-hero h1 {
  max-width: 20ch;
  font-size: clamp(2.5rem, 4.25vw, 4.35rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
}

html[lang="en"] body[data-page-type="people-list"] .page-hero h1,
html[lang="en"] body[data-page-type="people-detail"] .page-hero h1 {
  max-width: 17ch;
  font-size: clamp(2.65rem, 4.45vw, 4.55rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

html[lang="ru"] body[data-page-type="people-list"] .people-archive-empty h2,
html[lang="ru"] body[data-page-type="people-detail"] .profile-summary h2 {
  max-width: 16ch;
  font-size: clamp(2.15rem, 3.7vw, 3.8rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
}

html[lang="en"] body[data-page-type="people-list"] .people-archive-empty h2,
html[lang="en"] body[data-page-type="people-detail"] .profile-summary h2 {
  max-width: 15ch;
  font-size: clamp(2.25rem, 3.9vw, 3.95rem);
  letter-spacing: -0.03em;
  line-height: 1.08;
}

html[lang="ru"] body[data-page-type="structure"] .page-hero h1,
html[lang="ru"] body[data-page-type="timeline"] .page-hero h1,
html[lang="ru"] body[data-page-type="gallery"] .page-hero h1 {
  max-width: 22ch;
  font-size: clamp(2.35rem, 3.85vw, 4.1rem);
  letter-spacing: -0.02em;
  line-height: 1.08;
}

html[lang="en"] body[data-page-type="structure"] .page-hero h1,
html[lang="en"] body[data-page-type="timeline"] .page-hero h1,
html[lang="en"] body[data-page-type="gallery"] .page-hero h1 {
  max-width: 19ch;
  font-size: clamp(2.45rem, 4vw, 4.2rem);
  letter-spacing: -0.03em;
  line-height: 1.06;
}

html[lang="ru"] body[data-page-type="timeline"] .history-timeline-heading h2 {
  max-width: 16ch;
  font-size: clamp(2.3rem, 3.8vw, 4rem);
  letter-spacing: -0.02em;
  line-height: 1.09;
}

html[lang="en"] body[data-page-type="timeline"] .history-timeline-heading h2 {
  max-width: 14ch;
  font-size: clamp(2.4rem, 3.9vw, 4.1rem);
  letter-spacing: -0.03em;
  line-height: 1.07;
}

html[lang="ru"] body[data-route="partnership"] .partnership-directory-lead h2,
html[lang="ru"] body[data-route="research"] .research-directory-lead h2 {
  max-width: 15ch;
  font-size: clamp(2.3rem, 3.75vw, 3.95rem);
  letter-spacing: -0.02em;
  line-height: 1.09;
}

html[lang="en"] body[data-route="partnership"] .partnership-directory-lead h2,
html[lang="en"] body[data-route="research"] .research-directory-lead h2 {
  max-width: 14ch;
  font-size: clamp(2.4rem, 3.9vw, 4.1rem);
  letter-spacing: -0.03em;
  line-height: 1.07;
}

@media (max-width: 800px) {
  html[lang="ru"] body[data-page-type="calendar"] .page-hero h1,
  html[lang="en"] body[data-page-type="calendar"] .page-hero h1,
  html[lang="ru"] body[data-page-type="admissions"] .page-hero h1,
  html[lang="en"] body[data-page-type="admissions"] .page-hero h1,
  html[lang="ru"] body[data-page-type="people-list"] .page-hero h1,
  html[lang="ru"] body[data-page-type="people-detail"] .page-hero h1,
  html[lang="en"] body[data-page-type="people-list"] .page-hero h1,
  html[lang="en"] body[data-page-type="people-detail"] .page-hero h1,
  html[lang="ru"] body[data-page-type="structure"] .page-hero h1,
  html[lang="ru"] body[data-page-type="timeline"] .page-hero h1,
  html[lang="ru"] body[data-page-type="gallery"] .page-hero h1,
  html[lang="en"] body[data-page-type="structure"] .page-hero h1,
  html[lang="en"] body[data-page-type="timeline"] .page-hero h1,
  html[lang="en"] body[data-page-type="gallery"] .page-hero h1 {
    max-width: none;
    font-size: clamp(2.1rem, 8vw, 3.1rem);
  }

  html[lang="ru"] body[data-route="education"] .academic-programmes-intro h2,
  html[lang="ru"] body[data-route="education"] .academic-resources-heading h2,
  html[lang="en"] body[data-route="education"] .academic-programmes-intro h2,
  html[lang="en"] body[data-route="education"] .academic-resources-heading h2,
  html[lang="ru"] body[data-page-type="timeline"] .history-timeline-heading h2,
  html[lang="en"] body[data-page-type="timeline"] .history-timeline-heading h2,
  html[lang="ru"] body[data-route="partnership"] .partnership-directory-lead h2,
  html[lang="ru"] body[data-route="research"] .research-directory-lead h2,
  html[lang="en"] body[data-route="partnership"] .partnership-directory-lead h2,
  html[lang="en"] body[data-route="research"] .research-directory-lead h2 {
    max-width: none;
    font-size: clamp(2.05rem, 8.15vw, 3.05rem);
  }
}
