/* Ledra College — current shared typography implementation.
   The current homepage is the primary visual reference for this pass, so this shared owner applies
   to inner/public route typography and deliberately does not overwrite Home's established .edu-*
   composition. Inner typography is restrained, sans-serif-led and editorial: dark ink on light
   chapters, white on intentional navy chapters, small tracked orange kickers and serif italic only
   as selective emphasis. The legacy filename is retained during V1 migration. */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@1,400;1,500;1,600&family=Inter+Tight:wght@400;500;600;700;800&display=swap');

:root{
  --ledra-display:'Inter Tight','Helvetica Neue',Arial,sans-serif;
  --ledra-editorial-accent:'Cormorant Garamond',Georgia,'Times New Roman',serif;
  --ledra-editorial-ink:#111827;
  --ledra-editorial-muted:#5F6B7A;
  /* Readable, user-zoom-aware text without a page-level transform. */
  --ledra-reading-size:clamp(1rem,calc(.875rem + .15vw),1.0625rem);
  --ledra-card-reading-size:clamp(.9375rem,calc(.8125rem + .15vw),1rem);
}

body{
  font-family:var(--ledra-display);
  color:var(--ledra-editorial-ink);
}

/* Home already owns these values in launch-integration/home refinement. Do not re-style it here. */
body:not(.home-page) h1,
body:not(.home-page) h2,
body:not(.home-page) h3,
body:not(.home-page) h4{
  font-family:var(--ledra-display)!important;
  font-style:normal!important;
  font-synthesis:none!important;
}
body:not(.home-page) h1,
body:not(.home-page) h2{
  font-weight:500!important;
  letter-spacing:-.045em!important;
  text-wrap:balance;
}
body:not(.home-page) h1{line-height:.98!important}
body:not(.home-page) h2{line-height:1.02!important}
body:not(.home-page) h3{
  font-weight:550!important;
  line-height:1.08!important;
  letter-spacing:-.025em!important;
}

/* Inner pages inherit the homepage's refined scale rather than inflating each page family. */
body:not(.home-page) main h1{font-size:clamp(48px,5vw,72px)!important}
body:not(.home-page) main h2{font-size:clamp(34px,3.25vw,48px)!important}
body:not(.home-page) main h3{font-size:clamp(20px,1.65vw,26px)!important}
body:not(.home-page) main p,
body:not(.home-page) main li{
  font-size:var(--ledra-reading-size);
  line-height:1.62;
}
body:not(.home-page) main .hero-lede{
  max-width:760px;
  font-size:17px!important;
  line-height:1.62!important;
}

/* Light/soft inner-page headings use dark ink. Home keeps its own explicit heading colours. */
body:not(.home-page) main h1,
body:not(.home-page) main h2,
body:not(.home-page) main h3{color:var(--ledra-editorial-ink)!important}

/* Light section headings already inherit --ledra-editorial-ink from the shared
   non-Home main heading rule above. Do not override descendants of navy chapters. */
/* Full-width support heroes always reverse the H1 on navy, above light-section typography. */
body.requirements-process-page main .support-full-bleed .support-hero-inner h1,
body.funding-support-page main .support-full-bleed .support-hero-inner h1,
body.student-affairs-page main .support-full-bleed .support-hero-inner h1,
body.student-welfare-page main .support-full-bleed .support-hero-inner h1{color:#fff!important}

/* Dark hero families explicitly reverse H1. These are chapter contexts, not route-specific repairs. */
body.rollout-a-page main .content-page-hero h1,
body.rollout-a-programme main .content-programme-hero h1,
body.rollout-accreditation main .rollout-hero h1,
body.rollout-international main .rollout-hero h1,
body.rollout-apply main .conversion-family-hero h1{color:#fff!important}

/* Explicitly neutralize the historical rollout-B white-text declaration on About leadership. The
   current leadership chapter is a light/soft chapter, so it follows the normal light typography. */
body.rollout-about main .about-leadership-chapter h2,
body.rollout-about main .about-leadership-chapter h3{color:var(--ledra-editorial-ink)!important}
body.rollout-about main .about-leadership-chapter p{color:var(--ledra-editorial-muted)!important}

/* Contextual dark inner chapters reverse the shared heading contract. */
body:not(.home-page) main .content-dark h2,
body:not(.home-page) main .content-dark h3,
body:not(.home-page) main .core-dark h2,
body:not(.home-page) main .core-dark h3,
body:not(.home-page) main .programme-outcomes-chapter h2,
body:not(.home-page) main .programme-outcomes-chapter h3,
body:not(.home-page) main .rollout-a-admissions-prescreen h2,
body:not(.home-page) main .rollout-a-admissions-prescreen h3,
body.rollout-a-directory main .content-section.content-split h2,
body.rollout-a-directory main .content-section.content-split h3,
body.student-benefit-page main .benefit-next h2,
body.student-benefit-page main .benefit-next h3{color:#fff!important}


/* Explicit dark-surface exceptions. All descendant heading levels stay legible
   on navy, including shared Route Cards and the conversion section. */
body:not(.home-page) main :is(.content-dark,.core-dark,.support-full-bleed,.rollout-a-admissions-prescreen,.programme-outcomes-chapter) :is(h1,h2,h3,h4),
body:not(.home-page) main :is(.content-dark,.core-dark) [data-ledra-scheme="route-cards"] > a > h3{
 color:#fff!important;
}

/* Deliberate editorial emphasis only on inner routes. Home hero emphasis is owned by home-final-qa. */
body:not(.home-page) h1 em,
body:not(.home-page) h2 em{
  font-family:var(--ledra-editorial-accent)!important;
  font-style:italic!important;
  font-weight:400!important;
  font-synthesis:none!important;
  letter-spacing:-.025em!important;
}

/* Shared inner-page kicker language. Home .edu-kicker keeps its approved larger refinement. */
body:not(.home-page) .eyebrow,
body:not(.home-page) .section-label,
body:not(.home-page) .edu-kicker,
body:not(.home-page) .content-card-kicker,
body:not(.home-page) .ledra-card-kicker{
  color:var(--ledra-orange,#E67E22);
  font-family:var(--ledra-display)!important;
  font-size:10px!important;
  font-style:normal!important;
  font-weight:800!important;
  line-height:1.25!important;
  letter-spacing:.12em!important;
  text-transform:uppercase!important;
}

/* Section introductions follow the homepage kicker -> heading -> support hierarchy. Historical
   prototype intros used a decorative orange left bar; that accent is now carried by the kicker. */
body:not(.home-page) main .content-section-head,
body:not(.home-page) main .core-section-intro,
body:not(.home-page) main .prototype-section-intro{
  margin-bottom:clamp(28px,3vw,40px);
}
body:not(.home-page) main .prototype-section-intro{
  max-width:820px!important;
  padding-left:0!important;
  border-left:0!important;
  background:transparent!important;
}
body:not(.home-page) main .content-section-head h2,
body:not(.home-page) main .core-section-intro h2,
body:not(.home-page) main .prototype-section-intro h2{
  max-width:820px;
  margin:8px 0 0!important;
}
body:not(.home-page) main .content-section-head>p,
body:not(.home-page) main .core-section-intro>p,
body:not(.home-page) main .prototype-section-intro>p{
  max-width:680px!important;
  margin:12px 0 0!important;
  color:var(--ledra-editorial-muted);
  font-size:var(--ledra-reading-size)!important;
  line-height:1.62!important;
}

@media(max-width:760px){
  :root{--ledra-reading-size:.9375rem;--ledra-card-reading-size:.875rem}
  body:not(.home-page) h1,
  body:not(.home-page) h2{text-wrap:pretty}
  body:not(.home-page) main h1{font-size:clamp(42px,11vw,56px)!important}
  body:not(.home-page) main h2{font-size:clamp(30px,8vw,40px)!important}
  body:not(.home-page) main h3{font-size:clamp(20px,6vw,24px)!important}
  body:not(.home-page) main p,
  body:not(.home-page) main li{font-size:var(--ledra-reading-size)}
}


/* User-approved blue editorial intro for the fourteen named support/programme
   subpages. Publication detail pages intentionally retain their light headers.
   The contact form is a separate preserved conversion section. */
body.ledra-blue-subpage-hero main > section:first-child {
  position:relative;
  isolation:isolate;
  padding-top:clamp(66px,6vw,106px);
  padding-bottom:clamp(72px,7vw,116px);
  background:#161b58!important;
  box-shadow:0 0 0 100vmax #161b58!important;
  clip-path:inset(0 -100vmax)!important;
  color:#fff!important;
}
body.ledra-blue-subpage-hero main > section:first-child::before {
  content:"";
  position:absolute;
  z-index:-1;
  top:0;
  bottom:0;
  left:calc(50% - 50vw);
  width:100vw;
  background:#161b58;
  pointer-events:none;
}
body.ledra-blue-subpage-hero main > section:first-child :is(h1,h2,h3),
body.ledra-blue-subpage-hero main > section:first-child :is(p,.hero-lede) {
  color:#fff!important;
}
body.ledra-blue-subpage-hero main > section:first-child :is(.eyebrow,.section-label) {
  color:#e67e22!important;
}
body.ledra-blue-subpage-hero main > section:first-child :is(.rollout-hero-copy,.programme-hero-grid) {
  position:relative;
  z-index:1;
}
body.ledra-blue-subpage-hero main > section:first-child :is(.rollout-hero-with-media,.programme-hero-grid) {
  grid-template-columns:minmax(0,1fr);
}
/* Images outside canonical Contact are intentionally absent from the source
   output; this keeps any CSS-image frames from reserving empty columns. */
body.ledra-image-free-subpage main :is(.rollout-hero-media,.content-image,.core-image,.institution-hero-media):empty {
  display:none;
}
@media(max-width:760px) {
  body.ledra-blue-subpage-hero main > section:first-child {
    padding-top:64px;
    padding-bottom:72px;
  }
}

/* Reflow image-free editorial chapters instead of retaining vacant media rails. */
body.ledra-image-free-subpage main [data-ledra-scheme="editorial-split"],
body.ledra-image-free-subpage main :is(.content-split,.core-split,.rollout-hero-with-media) {
  grid-template-columns:minmax(0,1fr);
}
body.ledra-image-free-subpage main :is(.content-image,.core-image,.rollout-hero-media,.content-media):empty {
  display:none;
}

/* Faculty: balance the academic-departments text and retained authentic photo. */
body.ledra-faculty-page main [data-ledra-scheme="editorial-split"]{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  align-items:center;
  gap:clamp(32px,4vw,64px);
}
body.ledra-faculty-page main [data-ledra-scheme="editorial-split"] .content-image{
  width:100%;max-width:none;justify-self:stretch;align-self:center;
  margin:0;min-height:0;
}
body.ledra-faculty-page main [data-ledra-scheme="editorial-split"] .content-image img{
  width:100%;height:clamp(270px,29vw,420px);min-height:0;object-fit:cover;
}
@media(max-width:760px){
  body.ledra-faculty-page main [data-ledra-scheme="editorial-split"]{grid-template-columns:1fr;gap:22px}
  body.ledra-faculty-page main [data-ledra-scheme="editorial-split"] .content-image img{height:270px}
}

/* Faculty layout: preserve the full-width shell and keep the academic overview
   reading and image rails aligned on desktop, with a natural mobile stack. */
body.ledra-faculty-page main > .content-page-hero {
  min-height:0!important;
  height:auto!important;
  padding-block:clamp(64px,6vw,90px)!important;
  background:#161b58!important;
  box-shadow:0 0 0 100vmax #161b58!important;
  clip-path:inset(0 -100vmax)!important;
}
body.ledra-faculty-page main > .content-page-hero h1,
body.ledra-faculty-page main > .content-page-hero p {color:#fff!important}
body.ledra-faculty-page main [data-ledra-scheme="editorial-split"] {
  padding-block:clamp(54px,6vw,78px);
}
body.ledra-faculty-page main [data-ledra-scheme="editorial-split"] .content-image {
  height:auto;max-width:520px;
}
body.ledra-faculty-page main [data-ledra-scheme="editorial-split"] .content-image img {
  height:clamp(270px,28vw,380px);
  max-height:none;
}
@media(max-width:900px){
  body.ledra-faculty-page main [data-ledra-scheme="editorial-split"]{grid-template-columns:1fr}
  body.ledra-faculty-page main [data-ledra-scheme="editorial-split"] .content-image {max-width:100%}
}
