/* GC Academy V13.14 | All program & scholarship detail heroes
 * Full-bleed responsive image: applies ONLY to .gc14-program-immersive.
 * Preserves database, media roles, language, form, SEO, motion controller,
 * and explicitly selected 'split' admin layout.
 */
body .program-detail-hero.gc14-program-immersive {
  position:relative !important;
  isolation:isolate;
  display:block;
  overflow:hidden;
  width:100%;
  background:#071d40 !important;
  color:#fff;
}
body .program-detail-hero.gc14-program-immersive::before {
  display:none!important; /* The bespoke contrast veil is used instead. */
}
body .program-detail-hero.gc14-program-immersive > .gc14-program-hero-art,
body .program-detail-hero.gc14-program-immersive > picture.gc16-hero-bg {
  position:absolute!important;
  display:block!important;
  inset:0!important;
  width:100%!important;
  max-width:none!important;
  height:100%!important;
  max-height:none!important;
  min-height:0!important;
  padding:0!important;
  margin:0!important;
  overflow:hidden!important;
  border:0!important;
  border-radius:0!important;
  pointer-events:none;
  z-index:0!important;
}
body .program-detail-hero.gc14-program-immersive > :is(.gc14-program-hero-art,picture.gc16-hero-bg) > img {
  position:absolute!important;
  inset:0!important;
  display:block!important;
  width:100%!important;
  height:100%!important;
  max-width:none!important;
  max-height:none!important;
  border:0!important;
  border-radius:0!important;
  padding:0!important;
  margin:0!important;
  object-fit:cover!important;
  object-position:var(--gc-img-position,center center)!important;
  transform:scale(max(1,var(--gc-img-zoom,1)))!important;
  animation:none!important;
  will-change:auto!important;
}
body .program-detail-hero.gc14-program-immersive > .gc14-program-veil {
  position:absolute;
  inset:0;
  pointer-events:none;
  z-index:1;
  background:linear-gradient(to left,
    rgba(5,19,45,.97) 0%,
    rgba(6,22,50,.94) 22%,
    rgba(6,23,53,.77) 46%,
    rgba(6,22,48,.42) 69%,
    rgba(5,20,46,.21) 100%);
}
html[dir="ltr"] body .program-detail-hero.gc14-program-immersive > .gc14-program-veil {
  background:linear-gradient(to right,
    rgba(5,19,45,.97) 0%,rgba(6,22,50,.94) 22%,rgba(6,23,53,.77) 46%,
    rgba(6,22,48,.42) 69%,rgba(5,20,46,.21) 100%);
}
body .program-detail-hero.gc14-program-immersive .program-detail-bg {
  display:none!important;
}
body .program-detail-hero.gc14-program-immersive > .program-detail-hero-layout {
  box-sizing:border-box;
  position:relative!important;
  z-index:2!important;
  display:flex!important;
  flex-direction:column!important;
  justify-content:flex-start!important;
  align-items:stretch!important;
  gap:clamp(18px,2.4vw,32px)!important;
  width:100%;
  min-height:clamp(660px,calc(100svh - 90px),940px)!important;
  padding-block:clamp(74px,5.8vw,108px) clamp(34px,4vw,56px)!important;
}
body .program-detail-hero.gc14-program-immersive .program-detail-copy {
  position:relative;
  z-index:3;
  flex:none;
  min-width:0;
  width:min(760px,66%)!important;
  max-width:100%!important;
  margin-inline-end:auto!important;
  margin-inline-start:0!important;
  text-align:start!important;
}
body .program-detail-hero.gc14-program-immersive :is(.program-detail-copy h1,.program-detail-copy h2,.program-detail-copy > p) {
  color:#fff!important;
  text-shadow:0 2px 16px rgba(0,10,30,.22);
}
body .program-detail-hero.gc14-program-immersive .program-detail-copy h1 {
  font-size:clamp(2.55rem,4.4vw,5.2rem)!important;
  line-height:1.18!important;
  text-wrap:balance;
}
body .program-detail-hero.gc14-program-immersive .program-detail-copy h2 {
  font-size:clamp(1.6rem,2.55vw,2.85rem)!important;
  line-height:1.38!important;
  text-wrap:balance;
}
body .program-detail-hero.gc14-program-immersive .program-detail-copy > p {
  font-size:clamp(.98rem,1.05vw,1.15rem)!important;
  line-height:1.95!important;
  max-width:690px!important;
}
body .program-detail-hero.gc14-program-immersive :is(.breadcrumbs,.breadcrumbs a,.breadcrumbs b,.breadcrumbs span,.kicker) {
  color:#fff!important;
}
body .program-detail-hero.gc14-program-immersive .kicker.light {
  color:#ffd678!important;
}
body .program-detail-hero.gc14-program-immersive .program-detail-actions {
  display:flex!important;
  flex-wrap:wrap;
  gap:12px!important;
  align-items:stretch;
  margin-block:clamp(18px,2.2vw,28px) 0!important;
}
body .program-detail-hero.gc14-program-immersive .program-detail-actions > .button {
  min-height:51px;
  min-width:145px;
  display:inline-flex;
  justify-content:center;
  align-items:center;
}
body .program-detail-hero.gc14-program-immersive .program-detail-actions > .button-outline {
  background:rgba(255,255,255,.11)!important;
  border-color:rgba(255,255,255,.65)!important;
  color:#fff!important;
}
body .program-detail-hero.gc14-program-immersive .program-fact-row {
  display:grid!important;
  grid-template-columns:repeat(4,minmax(0,1fr))!important;
  gap:10px!important;
  width:100%!important;
  max-width:750px!important;
  margin:clamp(18px,2.2vw,28px) 0 0!important;
}
body .program-detail-hero.gc14-program-immersive .program-fact-row > div {
  box-sizing:border-box;
  display:flex!important;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  min-width:0;
  min-height:88px;
  gap:9px;
  padding:12px 7px!important;
  background:rgba(23,50,91,.55)!important;
  border:1px solid rgba(216,230,250,.18)!important;
  border-radius:14px!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.08);
}
body .program-detail-hero.gc14-program-immersive .program-fact-row > div :is(b,span) {
  color:#fff!important;
}
body .program-detail-hero.gc14-program-immersive .program-fact-row > div b {
  font-size:clamp(.74rem,.85vw,.89rem)!important;
  line-height:1.5!important;
  overflow-wrap:anywhere;
}
body .program-detail-hero.gc14-program-immersive .program-fact-row > div > span,
body .program-detail-hero.gc14-program-immersive .program-fact-row svg {
  color:#ffd275!important;
}
body .program-detail-hero.gc14-program-immersive .gc14-program-trainers {
  box-sizing:border-box;
  position:relative;
  z-index:3;
  width:min(520px,48%);
  max-width:100%;
  margin-inline-start:0;
  margin-inline-end:auto;
  padding:15px 18px;
  border:1px solid rgba(230,235,255,.31);
  border-radius:18px;
  background:rgba(6,23,55,.82);
  box-shadow:0 18px 54px rgba(0,12,32,.23);
  color:#fff;
  backdrop-filter:blur(9px);
}
html[dir="ltr"] body .program-detail-hero.gc14-program-immersive .gc14-program-trainers {
  margin-inline-start:auto;
  margin-inline-end:0;
}
body .program-detail-hero.gc14-program-immersive .gc14-trainers-label {
  display:block;
  color:#ffdb87;
  font-size:.8rem;
  font-weight:800;
  margin-bottom:6px;
}
body .program-detail-hero.gc14-program-immersive .gc14-trainer-list {
  display:grid;
  grid-template-columns:1fr;
  gap:0;
}
body .program-detail-hero.gc14-program-immersive .gc14-trainer {
  display:flex;
  flex-direction:row;
  align-items:center;
  gap:12px;
  min-width:0;
  padding:8px 0;
  border-bottom:1px solid rgba(240,245,255,.16);
}
body .program-detail-hero.gc14-program-immersive .gc14-trainer:last-child {border-bottom:0;}
body .program-detail-hero.gc14-program-immersive .gc14-trainer > img {
  display:block;
  flex:none;
  width:43px;
  height:43px;
  object-fit:cover;
  border:1px solid rgba(255,222,147,.5);
  border-radius:50%;
}
body .program-detail-hero.gc14-program-immersive .gc14-trainer > span {display:block;min-width:0;flex:1;}
body .program-detail-hero.gc14-program-immersive .gc14-trainer b {
  display:block;
  font-size:.84rem;
  color:#fff!important;
  line-height:1.5;
}
body .program-detail-hero.gc14-program-immersive .gc14-trainer small {
  display:block;
  font-size:.71rem;
  color:#d6e3f6!important;
  line-height:1.5;
}
@media (max-width:1050px) and (min-width:781px) {
  body .program-detail-hero.gc14-program-immersive > .program-detail-hero-layout {
    padding-top:clamp(68px,6vw,92px)!important;
    padding-bottom:clamp(28px,3vw,42px)!important;
    gap:20px!important;
  }
  body .program-detail-hero.gc14-program-immersive .program-detail-copy {width:min(720px,76%)!important;}
  body .program-detail-hero.gc14-program-immersive .gc14-program-trainers {width:min(500px,58%);}
  body .program-detail-hero.gc14-program-immersive .program-fact-row {grid-template-columns:repeat(2,minmax(0,1fr))!important;}
}
@media (max-width:780px) {
  body .program-detail-hero.gc14-program-immersive > .program-detail-hero-layout {
    min-height:clamp(660px,100svh,1020px)!important;
    gap:18px!important;
    padding-top:clamp(28px,4.5vw,44px)!important;
    padding-bottom:clamp(28px,6vw,48px)!important;
    justify-content:flex-start!important;
  }
  body .program-detail-hero.gc14-program-immersive > .gc14-program-veil {
    background:linear-gradient(180deg,
      rgba(3,15,37,.95) 0%,rgba(4,19,44,.91) 21%,
      rgba(5,24,53,.79) 47%,rgba(3,17,40,.87) 75%,rgba(2,15,37,.98) 100%)!important;
  }
  body .program-detail-hero.gc14-program-immersive > :is(.gc14-program-hero-art,picture.gc16-hero-bg) > img {
    object-position:var(--gc-img-position,center center)!important;
  }
  body .program-detail-hero.gc14-program-immersive .program-detail-copy {
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
  }
  body .program-detail-hero.gc14-program-immersive .program-detail-copy h1 {
    font-size:clamp(2.1rem,8.4vw,3.15rem)!important;
    line-height:1.18!important;
  }
  body .program-detail-hero.gc14-program-immersive .program-detail-copy h2 {
    font-size:clamp(1.36rem,5.5vw,2.2rem)!important;
    line-height:1.36!important;
  }
  body .program-detail-hero.gc14-program-immersive .program-detail-copy > p {
    font-size:clamp(.93rem,3.5vw,1.05rem)!important;
    line-height:1.88!important;
  }
  body .program-detail-hero.gc14-program-immersive .program-detail-actions {
    gap:10px!important;
    margin-top:18px!important;
  }
  body .program-detail-hero.gc14-program-immersive .program-detail-actions > .button {
    flex:1 1 140px;
    min-width:0;
    text-align:center;
  }
  body .program-detail-hero.gc14-program-immersive .program-fact-row {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    gap:9px!important;
    margin-top:18px!important;
  }
  body .program-detail-hero.gc14-program-immersive .program-fact-row > div {
    min-height:81px;
    padding:11px 7px!important;
  }
  body .program-detail-hero.gc14-program-immersive .program-fact-row > div b {
    font-size:clamp(.74rem,3.05vw,.92rem)!important;
  }
  body .program-detail-hero.gc14-program-immersive .gc14-program-trainers {
    width:100%;
    max-width:100%;
    margin:3px 0 0;
    padding:13px 15px;
    border-radius:16px;
    backdrop-filter:none;
    background:rgba(5,22,52,.89);
  }
}
@media (max-width:360px) {
  body .program-detail-hero.gc14-program-immersive .program-detail-actions > .button {flex-basis:100%;}
  body .program-detail-hero.gc14-program-immersive .program-fact-row {gap:7px!important;}
}
@media (prefers-reduced-motion:reduce) {
  body .program-detail-hero.gc14-program-immersive,
  body .program-detail-hero.gc14-program-immersive * {
    scroll-behavior:auto!important;
    animation-duration:0s!important;
    transition-duration:0s!important;
  }
}


/* ================================================================
 * GC Academy V13.16 | bilingual / responsive hero-content fitting
 * Desktop: intrinsic two-column composition, copy + experts in same row.
 * Mobile: compact but readable vertical flow; no clipped CTA/facts.
 * All selectors scoped to existing immersive program/scholarship heroes.
 * ================================================================ */
body .program-detail-hero.gc14-program-immersive > .program-detail-hero-layout {
  max-width:1280px!important;
  margin-inline:auto!important;
  padding-inline:clamp(18px,2.2vw,28px)!important;
}
@media (min-width: 1161px) {
  body .program-detail-hero.gc14-program-immersive > .program-detail-hero-layout {
    display:grid!important;
    grid-template-columns:minmax(0, 1.72fr) minmax(0, 1fr)!important;
    align-items:end!important;
    justify-content:stretch!important;
    gap:clamp(22px,2.65vw,40px)!important;
    min-height:clamp(575px,calc(100svh - 90px),820px)!important;
    padding-block:clamp(30px,3.25vw,52px) clamp(26px,2.5vw,40px)!important;
  }
  body .program-detail-hero.gc14-program-immersive .program-detail-copy {
    grid-column:1;
    grid-row:1;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
    align-self:start!important;
  }
  body .program-detail-hero.gc14-program-immersive .gc14-program-trainers {
    grid-column:2;
    grid-row:1;
    align-self:end!important;
    justify-self:stretch!important;
    width:100%!important;
    max-width:100%!important;
    margin:0!important;
  }
  body .program-detail-hero.gc14-program-immersive .program-detail-copy h1 {
    font-size:clamp(2.5rem,3.65vw,4.5rem)!important;
    line-height:1.12!important;
  }
  body .program-detail-hero.gc14-program-immersive .program-detail-copy h2 {
    font-size:clamp(1.45rem,2.1vw,2.38rem)!important;
    line-height:1.29!important;
  }
  body .program-detail-hero.gc14-program-immersive .program-detail-copy > p {
    font-size:clamp(.94rem,1.01vw,1.08rem)!important;
    line-height:1.7!important;
    max-width:100%!important;
  }
  body .program-detail-hero.gc14-program-immersive .program-fact-row {
    max-width:none!important;
    gap:9px!important;
    margin-top:15px!important;
  }
  body .program-detail-hero.gc14-program-immersive .program-fact-row > div {
    min-height:76px!important;
    padding:9px 7px!important;
    gap:5px!important;
  }
  body .program-detail-hero.gc14-program-immersive .program-detail-actions {
    margin-top:15px!important;
  }
  body .program-detail-hero.gc14-program-immersive .program-detail-actions > .button {
    min-height:46px!important;
    padding-block:9px!important;
  }
  body .program-detail-hero.gc14-program-immersive .gc14-trainer {
    padding-block:6px!important;
  }
}
/* Shared desktop content rhythm in Arabic RTL and English LTR. */
@media (min-width:781px) {
  body .program-detail-hero.gc14-program-immersive .breadcrumbs {
    margin-bottom:clamp(10px,1.1vw,17px)!important;
    line-height:1.5!important;
  }
  body .program-detail-hero.gc14-program-immersive .kicker {
    margin-block:8px 10px!important;
  }
  body .program-detail-hero.gc14-program-immersive .program-detail-copy h1 {
    margin-block:5px 9px!important;
    overflow-wrap:break-word;
  }
  body .program-detail-hero.gc14-program-immersive .program-detail-copy h2 {
    margin-block:10px 10px!important;
    overflow-wrap:break-word;
  }
  body .program-detail-hero.gc14-program-immersive .program-detail-copy > p {
    margin-block:10px!important;
  }
}
/* Intermediate laptops: avoid a narrow side column and retain intrinsic height. */
@media (min-width:781px) and (max-width:1160px) {
  body .program-detail-hero.gc14-program-immersive > .program-detail-hero-layout {
    min-height:0!important;
    padding-block:clamp(26px,3.5vw,46px)!important;
    gap:18px!important;
  }
  body .program-detail-hero.gc14-program-immersive .program-detail-copy {
    width:min(760px,85%)!important;
  }
  body .program-detail-hero.gc14-program-immersive .program-detail-copy h1 {
    font-size:clamp(2.25rem,4.5vw,3.65rem)!important;
    line-height:1.17!important;
  }
  body .program-detail-hero.gc14-program-immersive .program-detail-copy h2 {
    font-size:clamp(1.4rem,2.7vw,2.25rem)!important;
    line-height:1.35!important;
  }
  body .program-detail-hero.gc14-program-immersive .program-fact-row {
    grid-template-columns:repeat(4,minmax(0,1fr))!important;
    margin-top:14px!important;
  }
  body .program-detail-hero.gc14-program-immersive .program-fact-row > div {
    min-height:72px!important;
    padding-block:8px!important;
    gap:5px!important;
  }
  body .program-detail-hero.gc14-program-immersive .gc14-program-trainers {
    width:min(500px,54%)!important;
    margin-inline-start:0!important;
    margin-inline-end:auto!important;
  }
}
/* Phone: keep all facts inside the hero while moving headline and CTAs up. */
@media (max-width:780px) {
  body .program-detail-hero.gc14-program-immersive > .program-detail-hero-layout {
    min-height:0!important;
    height:auto!important;
    padding-block:clamp(12px,3vw,22px) clamp(22px,4.5vw,35px)!important;
    gap:13px!important;
  }
  body .program-detail-hero.gc14-program-immersive .breadcrumbs {
    font-size:clamp(.78rem,2.55vw,.88rem)!important;
    line-height:1.5!important;
    margin-bottom:12px!important;
  }
  body .program-detail-hero.gc14-program-immersive .kicker {
    font-size:clamp(.84rem,3.05vw,1rem)!important;
    line-height:1.5!important;
    margin-block:7px 8px!important;
  }
  body .program-detail-hero.gc14-program-immersive .program-detail-copy h1 {
    font-size:clamp(1.85rem,7.5vw,2.7rem)!important;
    line-height:1.15!important;
    margin-block:6px 9px!important;
    overflow-wrap:break-word!important;
  }
  body .program-detail-hero.gc14-program-immersive .program-detail-copy h2 {
    font-size:clamp(1.26rem,4.8vw,1.88rem)!important;
    line-height:1.31!important;
    margin-block:8px!important;
    overflow-wrap:break-word!important;
  }
  body .program-detail-hero.gc14-program-immersive .program-detail-copy > p {
    font-size:clamp(.88rem,3.45vw,1.02rem)!important;
    line-height:1.68!important;
    margin-block:9px!important;
    max-width:100%!important;
  }
  body .program-detail-hero.gc14-program-immersive .program-detail-actions {
    margin-top:14px!important;
    gap:9px!important;
  }
  body .program-detail-hero.gc14-program-immersive .program-detail-actions > .button {
    min-height:46px!important;
    padding:10px 9px!important;
    flex-basis:calc(50% - 5px)!important;
    font-size:clamp(.81rem,3.2vw,.98rem)!important;
    line-height:1.35!important;
  }
  body .program-detail-hero.gc14-program-immersive .program-fact-row {
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
    margin-top:13px!important;
    gap:8px!important;
  }
  body .program-detail-hero.gc14-program-immersive .program-fact-row > div {
    min-height:70px!important;
    padding:9px 6px!important;
    gap:4px!important;
  }
  body .program-detail-hero.gc14-program-immersive .program-fact-row > div b {
    font-size:clamp(.72rem,2.95vw,.86rem)!important;
    line-height:1.45!important;
  }
  body .program-detail-hero.gc14-program-immersive .program-fact-row svg {
    width:21px!important;
    height:21px!important;
  }
  body .program-detail-hero.gc14-program-immersive .gc14-program-trainers {
    width:100%!important;
    margin:0!important;
    padding:12px!important;
  }
  body .program-detail-hero.gc14-program-immersive .gc14-trainer {
    padding-block:6px!important;
  }
}
@media (max-width:360px) {
  body .program-detail-hero.gc14-program-immersive .program-detail-actions > .button {
    flex-basis:100%!important;
  }
}
/* No per-language hardcoded left/right positions: CSS logical direction handles RTL/LTR. */
html[dir="rtl"] body .program-detail-hero.gc14-program-immersive .program-detail-copy,
html[dir="ltr"] body .program-detail-hero.gc14-program-immersive .program-detail-copy {
  text-align:start!important;
}
html[dir="rtl"] body .program-detail-hero.gc14-program-immersive .gc14-program-trainers,
html[dir="ltr"] body .program-detail-hero.gc14-program-immersive .gc14-program-trainers {
  text-align:start!important;
}
