/* Gamze 11.10: one heading hierarchy, including wide desktop screens.
   Additive overlay: preserve approved imagery, copy, layout and status colours. */
:root {
  --rt-heading-hero: clamp(32px, 3.75vw, 48px);
  --rt-heading-section: clamp(26px, 2.8vw, 36px);
  --rt-heading-card: clamp(20px, 1.8vw, 24px);
  --rt-f-display-2xl: var(--rt-heading-hero);
  --rt-f-display-xl: var(--rt-heading-hero);
  --rt-f-display-lg: var(--rt-heading-section);
  --rt-f-display-md: var(--rt-heading-card);
}
body.rt-shell--marketing #rt-main :where(h1, .rt-title--hero, .rt-title--page),
body.rt-theme-font-sync :where(.design-hero h1, .r10-program-hero h1) {
  font-size: var(--rt-heading-hero) !important;
  line-height: 1.18 !important;
}
body.rt-shell--marketing #rt-main :where(.rt-nk-title, .rt-section-head__title,
  .rt-title--section, .rt-cta-band__title, .rt-home-programmes__heading, .rt-chars__heading,
  #rt-home-trust-title-r74, #rt-home-age-guide, .r63-world-statement, .r10-band h2),
body.rt-theme-font-sync :where(.design-section h2, .design-team-band h2,
  .design-close h2, .r10-band h2, .r63-world-statement) {
  font-size: var(--rt-heading-section) !important;
  line-height: 1.25 !important;
}
/* Large programme display titles are content headings, not hero headings. */
body.rt-shell--marketing #home-programmes h3,
body.rt-theme-font-sync .design-slide h3 {
  font-size: var(--rt-heading-section) !important;
  line-height: 1.25 !important;
}
body.rt-shell--marketing #rt-main .rt-steps__title,
body.rt-shell--marketing #rt-main .rt-principle__title,
body.rt-theme-font-sync :where(.design-teacher h3, .r10-report-sheet h3) {
  font-size: var(--rt-heading-card) !important;
  line-height: 1.35 !important;
}
body.rt-shell--marketing #rt-main .rt-principle__num {
  font-size: clamp(34px, 3.5vw, 48px) !important;
  line-height: 1.15 !important;
}
body.rt-shell--marketing #rt-main .rt-cms-call {
  font-size: var(--rt-heading-section) !important;
  line-height: 1.35 !important;
}
/* Reading copy must not grow to 28 px merely because the viewport is wide. */
body.rt-shell--marketing #home-trust-scene p,
body.rt-theme-font-sync .design-lead {
  font-size: 18px !important;
  line-height: 1.6 !important;
}
/* A profile name and working-panel title have a quieter hierarchy. */
body.rt-theme-font-sync .design-profile-name h1,
html.rt-panel-root #rt-main :where(.rtp-hero__title, .rt-panel-hero__title,
  .rt-pp-head__title, .rt-tp-head__title, .page-title) {
  font-size: clamp(28px, 2.4vw, 34px) !important;
  line-height: 1.25 !important;
}
/* Small card labels, footer headings, icons, dates and figures keep their size. */
