/**
 * Program hero
 *
 * Explicit responsive styles for single-program.php. Component specificity and
 * load order own layout, spacing and typography. The few remaining !important
 * declarations are limited to visibility toggles that must override legacy
 * .mobile/.desktop helper classes.
 */

body.single-program #topshr .jci-program-hero__cta {
  text-decoration: none;
}

body.single-program #topshr .jci-program-hero__cta:hover,
body.single-program #topshr .jci-program-hero__cta:focus-visible {
  text-decoration: none;
}

body.single-program main img.fletxa2 {
  width: 28px;
  min-width: 28px;
  max-width: 28px;
  height: auto;
}

@media (max-width: 768px) {
  body.single-program #topshr {
    margin-top: 0;
  }

  /* Single Program mobile layout contract. The canonical program container owns
   * the viewport gutter; legacy Bootstrap rows/columns must not add a second
   * horizontal inset inside it. Short and Long Programs therefore share one
   * 16px mobile axis without template-specific gutter patches. */
  body.single-program main .jci-container--program {
    --jci-container-local-gutter: var(--jci-container-gutter-mobile, 16px);
  }

  body.single-program main .container-inner.jci-container--program {
    padding-inline: 0;
  }

  body.single-program main .jci-container--program.row {
    --bs-gutter-x: 0;
  }

  body.single-program main .jci-container--program > .row,
  body.single-program main .jci-container--program .row {
    --bs-gutter-x: 0;
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  body.single-program main .jci-container--program.row > [class*="col-"],
  body.single-program main .jci-container--program > .row > [class*="col-"],
  body.single-program main .jci-container--program .row > [class*="col-"] {
    width: 100%;
    max-width: none;
    padding-inline: 0;
  }

  body.single-program #topshr .jci-program-hero__inner {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 30px 14px 16px;
    background: #ecf2ff;
  }

  body.single-program #topshr .jci-program-hero__content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    padding: 0;
  }

  body.single-program #topshr .jci-program-hero__title {
    width: 100%;
    max-width: 100%;
    margin: 0;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
  }

  /* Course mobile heading ownership. Interior-page compatibility styles do not
   * participate in single-program heroes; this component therefore defines the
   * final responsive scale against the approved mobile proportions. */
  body.single-program #topshr.jci-program-hero--course .jci-program-hero__title {
    max-width: none;
    font-family: "DM Sans", sans-serif;
    font-size: clamp(27px, 7.6vw, 30px);
    line-height: 1.06;
    letter-spacing: -0.02em;
    text-wrap: wrap;
  }

  body.single-program #topshr.jci-program-hero--course .jci-program-hero__title-secondary {
    margin-top: 4px;
    font-size: 0.82em;
    line-height: 1.1;
  }

  body.single-program #topshr.jci-program-hero--course .jci-program-hero__subtitle {
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
  }

  body.single-program #topshr .jci-program-hero__title-secondary {
    margin-top: 6px;
    font-size: clamp(22px, 6vw, 30px);
    line-height: 1.14;
    letter-spacing: -0.015em;
  }

  body.single-program #topshr .jci-program-hero__subtitle {
    margin: 10px 0 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.35;
  }

  body.single-program #topshr .jci-program-hero__media {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    margin: 18px 0 0;
    padding: 0;
  }

  body.single-program #topshr .jci-program-hero__image {
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    margin: 0 0 12px;
    object-fit: cover;
  }

  body.single-program #topshr.jci-program-hero--course .jci-program-hero__image {
    object-fit: contain;
    object-position: center;
  }

  body.single-program #topshr .jci-program-hero__actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }

  body.single-program #topshr.jci-program-hero--master .jci-program-hero__desktop-actions {
    display: none;
  }

  body.single-program #topshr .jci-program-hero__cta.mobile {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    max-width: 100%;
    min-height: 48px;
    height: auto;
    margin: 0;
    padding: 13px 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    font-family: "DM Sans", sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    white-space: normal;
    overflow: visible;
    box-shadow: none;
  }

  body.single-program #topshr .jci-program-hero__cta--primary.mobile {
    background: var(--color-brand-blue, #487cff);
    color: #fff;
  }

  body.single-program #topshr .jci-program-hero__cta--secondary.mobile {
    background: var(--color-brand-navy, #041c40);
    color: #fff;
  }

  body.single-program #topshr .jci-program-hero__cta--outline.mobile {
    background: #fff;
    color: var(--bs-body-color);
    border-color: var(--color-brand-navy, #041c40);
  }

  body.single-program #topshr .jci-program-hero__cta-icon,
  body.single-program main .jci-program-hero__cta-icon.fletxa2 {
    display: block;
    flex: 0 0 28px;
    width: 28px;
    min-width: 28px;
    max-width: 28px;
    height: auto;
    max-height: 18px;
    margin: 0;
    padding: 0;
    object-fit: contain;
  }

  body.single-program #topshr2 .jci-program-inline-arrow,
  body.single-program main .jci-program-inline-arrow.fletxa2 {
    display: inline-block;
    width: 24px;
    min-width: 24px;
    max-width: 24px;
    height: auto;
    margin: 12px 0 0;
    padding: 0;
  }

  /* Long Program mobile hero reuses the approved Program action geometry while
   * keeping its own illustration. Course-specific mobile rules loaded later are
   * intentionally untouched. */
  body.single-program #topshr.jci-program-hero--master .jci-program-hero__inner {
    padding: 28px var(--jci-container-gutter-mobile, 16px) 20px;
  }

  body.single-program #topshr.jci-program-hero--master .jci-program-hero__title {
    max-width: none;
    font-family: "DM Sans", sans-serif;
    font-size: clamp(28px, 7.8vw, 32px);
    line-height: 1.06;
    letter-spacing: -0.02em;
  }

  body.single-program #topshr.jci-program-hero--master .jci-program-hero__title-secondary {
    margin-top: 4px;
    font-size: 0.82em;
    line-height: 1.1;
  }

  body.single-program #topshr.jci-program-hero--master .jci-program-hero__subtitle {
    margin-top: 8px;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.3;
  }

  body.single-program #topshr.jci-program-hero--master .jci-program-hero__media {
    margin-top: 16px;
  }

  body.single-program #topshr.jci-program-hero--master .jci-program-hero__image {
    width: min(100%, 210px);
    max-height: 190px;
    margin: 0 0 14px auto;
    object-fit: contain;
    object-position: right center;
  }

  body.single-program #topshr.jci-program-hero--master .jci-program-hero__actions {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  body.single-program #topshr.jci-program-hero--master .jci-program-hero__actions .jci-program-hero__cta {
    display: grid;
    grid-template-columns: 28px minmax(0, 1fr) 28px;
    align-items: center;
    gap: 0;
    min-height: 42px;
    padding: 9px 10px;
    font-size: 14px;
    line-height: 1.1;
  }

  body.single-program #topshr.jci-program-hero--master .jci-program-hero__actions .jci-program-hero__cta > span {
    grid-column: 2;
    min-width: 0;
    text-align: center;
  }

  body.single-program #topshr.jci-program-hero--master .jci-program-hero__actions .jci-program-hero__cta-icon {
    grid-column: 1;
    justify-self: start;
    width: 28px;
    min-width: 28px;
    max-width: 28px;
    max-height: 12px;
  }
}

@media (max-width: 420px) {
  body.single-program #topshr.jci-program-hero--master .jci-program-hero__actions {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 769px) {
  body.single-program #topshr.jci-program-hero--master .jci-program-hero__actions {
    display: none !important;
  }
}

/* Desktop program hero: full-bleed split with content aligned to the program grid. */
body.single-program {
  overflow-anchor: none;
}

body.single-program .jci-program-hero {
  z-index: 1;
}

body.single-program .jci-program-hero__inner {
  width: 100%;
  max-width: none;
  margin-inline: 0;
  padding: 0;
}

body.single-program .jci-program-hero__title {
  display: block;
  color: #0b2a55;
  font-weight: 800;
  text-transform: none !important;
  text-wrap: balance;
}

body.single-program .jci-program-hero__compact-title {
  text-transform: none;
}

body.single-program .jci-program-hero__title-primary,
body.single-program .jci-program-hero__title-secondary,
body.single-program .jci-program-hero__title > .jci-program-hero__subtitle {
  display: block;
}

body.single-program .jci-program-hero__title-secondary {
  margin-top: 0.22em;
  font-family: "DM Sans", sans-serif;
  font-size: 0.48em;
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.015em;
  text-wrap: balance;
}

body.single-program .jci-program-hero__title > .jci-program-hero__subtitle {
  font-weight: 400;
  letter-spacing: normal;
}

body.single-program .jci-program-hero__subtitle {
  color: var(--color-brand-blue, #487cff);
  font-family: "DM Sans", sans-serif;
}

body.single-program main .jci-container--program {
  font-family: "DM Sans", sans-serif;
}

@media (min-width: 769px) {
  body.single-program #topshr2 + .jci-program-basic-information {
    margin-top: 20px !important;
  }

  body.single-program {
    --jci-program-container-gutter: max(9vw, calc((100vw - var(--jci-container-max-page, 1280px)) / 2));
  }

  body.single-program > .site-wrapper main :is(.container-inner, .row.container-inner, .container-inner.row, section.container-inner).jci-container--program {
    --jci-container-local-gutter: var(--jci-program-container-gutter);
    width: min(
      var(--jci-container-max-page, 1280px),
      calc(100% - (var(--jci-program-container-gutter) * 2))
    ) !important;
    margin-left: var(--jci-program-container-gutter) !important;
    margin-right: auto !important;
  }

  body.single-program > .site-wrapper main .jci-container--program > .row {
    width: 100%;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.single-program > .site-wrapper main .jci-container--program.row > [class*="col-"]:first-child,
  body.single-program > .site-wrapper main .jci-container--program > .row > [class*="col-"]:first-child {
    padding-left: 0 !important;
  }

  body.single-program > .site-wrapper main .container-inner.jci-container:has(> .aaccordion) {
    --jci-container-local-gutter: var(--jci-program-container-gutter);
    width: min(
      var(--jci-container-max-page, 1280px),
      calc(100% - (var(--jci-program-container-gutter) * 2))
    ) !important;
    margin-left: var(--jci-program-container-gutter) !important;
    margin-right: auto !important;
    padding-left: 0;
    padding-right: 0;
  }
}

body.single-program .jci-program-hero__desktop-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px;
  margin-top: clamp(18px, 2vw, 30px);
}

body.single-program .jci-program-hero :where(.btn1, .btn11, .btn2, .jci-program-hero__cta),
body.single-program .jci-program-hero :where(.btn1, .btn11, .btn2, .jci-program-hero__cta):hover,
body.single-program .jci-program-hero :where(.btn1, .btn11, .btn2, .jci-program-hero__cta):focus,
body.single-program .jci-program-hero :where(.btn1, .btn11, .btn2, .jci-program-hero__cta):focus-visible,
body.single-program .jci-program-hero :where(.btn1, .btn11, .btn2, .jci-program-hero__cta):active {
  transform: none;
  translate: none;
  top: auto;
  right: auto;
  bottom: auto;
  left: auto;
}

body.single-program .jci-program-hero :where(.btn1, .btn11, .btn2, .jci-program-hero__cta) {
  transition:
    background-color 160ms ease,
    border-color 160ms ease,
    color 160ms ease,
    box-shadow 160ms ease;
}

/* Shared Program-hero action contract. Long and short Programs now use the
 * same primary/outline geometry; legacy btn classes remain only as compatibility
 * hooks for existing templates. */
body.single-program .jci-program-hero .jci-program-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  min-height: 38px;
  padding: 0 22px;
  border-radius: 8px;
  box-sizing: border-box;
  font-family: "DM Sans", sans-serif;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
}

body.single-program .jci-program-hero .jci-program-hero__cta--primary {
  border: 1px solid var(--color-brand-blue, #487cff);
  background: var(--color-brand-blue, #487cff);
  color: #fff;
}

body.single-program .jci-program-hero .jci-program-hero__cta--outline {
  border: 1px solid var(--color-brand-navy, #041c40);
  background: #fff;
  color: var(--color-brand-navy, #041c40);
}

body.single-program .jci-program-hero .jci-program-hero__cta-icon {
  display: block;
  flex: 0 0 28px;
  width: 28px;
  min-width: 28px;
  max-width: 28px;
  height: auto;
  max-height: 14px;
  margin: 0;
  object-fit: contain;
  transition: transform 160ms ease, filter 160ms ease;
}

body.single-program .jci-program-hero .jci-program-hero__cta--outline .jci-program-hero__cta-icon {
  filter: brightness(0);
}

body.single-program .jci-program-hero .jci-program-hero__cta--primary:hover,
body.single-program .jci-program-hero .jci-program-hero__cta--primary:focus-visible,
body.single-program .jci-program-hero .jci-program-hero__cta--outline:hover,
body.single-program .jci-program-hero .jci-program-hero__cta--outline:focus-visible {
  border-color: #2f68ff;
  background: #2f68ff;
  color: #fff;
}

body.single-program .jci-program-hero .jci-program-hero__cta--outline:hover .jci-program-hero__cta-icon,
body.single-program .jci-program-hero .jci-program-hero__cta--outline:focus-visible .jci-program-hero__cta-icon {
  filter: brightness(0) invert(1);
}

@media (min-width: 769px) {
  body.single-program #topshr .jci-program-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 53%) minmax(0, 47%);
    align-items: stretch;
    height: 373px;
    min-height: 0;
  }

  body.single-program #topshr .jci-program-hero__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding:
      clamp(48px, 5vw, 78px)
      clamp(28px, 4vw, 64px)
      clamp(48px, 4vw, 78px)
      var(--jci-program-container-gutter);
  }

  body.single-program #topshr.jci-program-hero--master:not(.is-compact) .jci-program-hero__content {
    justify-content: flex-start;
    padding-top: clamp(48px, 4.5vw, 68px);
  }

  body.single-program #topshr .jci-program-hero__media {
    min-width: 0;
    min-height: 100%;
    margin: 0;
    padding: 0 var(--jci-program-container-gutter) 0 0;
    box-sizing: border-box;
    overflow: hidden;
  }

  body.single-program #topshr.jci-program-hero--master .jci-program-hero__media {
    display: flex;
    align-items: start;
  }

  body.single-program #topshr .jci-program-hero__image {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 100%;
    margin: 0;
    object-fit: cover;
  }

  body.single-program #topshr.jci-program-hero--master .jci-program-hero__image {
    height: 90%;
    min-height: 0;
    object-fit: contain;
    object-position: right center;
  }

  body.single-program #topshr .jci-program-hero__title {
    width: min(100%, 660px);
    max-width: 660px;
    margin: 0;
    font-size: clamp(48px, 3vw, 76px) !important;
    font-family: "DM Sans", sans-serif;
    line-height: 55px !important;
    letter-spacing: -2px !important;
    white-space: normal;
    overflow-wrap: normal;
    word-break: normal;
  }

  /*
   * Long-program title sizing.
   *
   * The existing title-length classes receive progressively more horizontal
   * space. A base fallback is also included so long titles improve even if an
   * older cached template does not output the length class yet.
   */
  body.single-program #topshr.jci-program-hero--master .jci-program-hero__inner {
    grid-template-columns: minmax(0, 64%) minmax(320px, 36%);
  }

  body.single-program #topshr.jci-program-hero--master .jci-program-hero__content {
    padding-right: clamp(20px, 2.5vw, 40px);
  }

  body.single-program #topshr.jci-program-hero--master .jci-program-hero__title {
    width: min(100%, 880px);
    max-width: 880px;
    font-size: clamp(48px, 3vw, 76px) !important;
    line-height: 55px !important;
    text-wrap: wrap;
  }

  body.single-program #topshr.jci-program-hero--master .jci-program-hero__title-primary {
    text-wrap: wrap;
  }

  body.single-program #topshr.jci-program-hero--master.jci-program-hero--title-short .jci-program-hero__inner {
    grid-template-columns: minmax(0, 53%) minmax(0, 47%);
  }

  body.single-program #topshr.jci-program-hero--master.jci-program-hero--title-short .jci-program-hero__title {
    width: min(100%, 660px);
    max-width: 660px;
    font-size: clamp(48px, 3vw, 76px) !important;
    line-height: 55px !important;
    text-wrap: balance;
  }

  body.single-program #topshr.jci-program-hero--master.jci-program-hero--title-medium .jci-program-hero__inner {
    grid-template-columns: minmax(0, 59%) minmax(0, 41%);
  }

  body.single-program #topshr.jci-program-hero--master.jci-program-hero--title-medium .jci-program-hero__title {
    width: min(100%, 760px);
    max-width: 760px;
    text-wrap: wrap;
  }

  body.single-program #topshr.jci-program-hero--master.jci-program-hero--title-long .jci-program-hero__inner,
  body.single-program #topshr.jci-program-hero--master.jci-program-hero--title-extra-long .jci-program-hero__inner {
    grid-template-columns: minmax(0, 66%) minmax(300px, 34%);
  }

  body.single-program #topshr.jci-program-hero--master.jci-program-hero--title-long .jci-program-hero__title,
  body.single-program #topshr.jci-program-hero--master.jci-program-hero--title-extra-long .jci-program-hero__title {
    width: min(100%, 920px);
    max-width: 920px;
    text-wrap: wrap;
  }
  /*
   * Override the generic interior-page H1 compatibility rule.
   *
   * internal-layout.css applies max-width: 500px !important to every interior
   * H1, including single-program heroes. This component-level selector restores
   * ownership of the long-program heading without changing other page titles.
   */
  body.single-program > .site-wrapper main #topshr.jci-program-hero--master h1.masters-title.jci-program-hero__title {
    width: 100% !important;
    max-width: none !important;
    letter-spacing: -2px !important;
    white-space: normal !important;
    overflow-wrap: normal;
    word-break: normal;
  }


  body.single-program #topshr.jci-program-hero--master .jci-program-hero__title-secondary {
    width: min(100%, 660px);
    max-width: 660px;
    margin-top: clamp(8px, 0.8vw, 12px);
    font-size: clamp(26px, 1.8vw, 36px);
    line-height: 1.12;
    letter-spacing: -0.02em;
  }

  body.single-program #topshr.jci-program-hero--course .jci-program-hero__title-secondary {
    max-width: 620px;
    margin-top: clamp(8px, 0.8vw, 12px);
    font-size: clamp(22px, 1.5vw, 30px);
    line-height: 1.12;
  }

  /* Shared desktop modality rhythm for long and short Programs. */
  body.single-program #topshr .jci-program-hero__subtitle {
    max-width: 620px;
    margin: 8px 0 0;
    padding: 0;
    font-size: clamp(24px, 1.1vw, 25px);
    line-height: 1.35;
  }

  /* Course expanded hero follows the same two-column Program-hero geometry as
   * long Programs. Actions live inside the content column so title, modality and
   * CTAs form one vertically centered unit instead of independent grid rows. */
  body.single-program #topshr.jci-program-hero--course .jci-program-hero__expanded {
    grid-template-columns: minmax(0, 53%) minmax(0, 47%);
    align-items: stretch;
    height: 373px;
    overflow: hidden;
    background: #ecf2ff;
  }

  /* Course media keeps one stable 47% track at desktop. The previous title-length
   * overrides narrowed the media track to 41%/34%; after the canonical right
   * gutter was deducted, some complete (contain) hero illustrations no longer
   * had enough inline space to reach the full 373px hero height. Keep title
   * length adjustments on the title itself, not on the image geometry. */

  body.single-program #topshr.jci-program-hero--course .jci-program-hero__expanded .jci-program-hero__content {
    position: relative;
    z-index: 1;
    align-self: stretch;
    justify-content: center;
    min-width: 0;
    padding:
      clamp(44px, 4vw, 64px)
      clamp(28px, 3.2vw, 48px)
      clamp(44px, 4vw, 64px)
      var(--jci-program-container-gutter);
  }

  body.single-program #topshr.jci-program-hero--course .jci-program-hero__expanded .jci-program-hero__media {
    align-self: stretch;
    width: 100%;
    max-width: none;
    height: 100%;
    margin: 0;
  }

  body.single-program #topshr.jci-program-hero--course .jci-program-hero__expanded .jci-program-hero__image {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: contain;
    object-position: right center;
  }

  body.single-program #topshr.jci-program-hero--course .jci-program-hero__expanded-actions {
    padding: 0;
  }

  body.single-program #topshr.jci-program-hero--course .jci-program-hero__expanded .jci-program-hero__title {
    width: min(100%, 520px);
    max-width: 520px;
    font-size: clamp(40px, 3vw, 52px) !important;
    line-height: 1.04 !important;
    letter-spacing: -0.025em !important;
    text-wrap: balance;
  }

  body.single-program #topshr.jci-program-hero--course.jci-program-hero--title-medium .jci-program-hero__expanded .jci-program-hero__title {
    width: min(100%, 610px);
    max-width: 610px;
  }

  body.single-program #topshr.jci-program-hero--course:is(.jci-program-hero--title-long, .jci-program-hero--title-extra-long) .jci-program-hero__expanded .jci-program-hero__title {
    width: min(100%, 700px);
    max-width: 700px;
    text-wrap: wrap;
  }

}

body.single-program #topshr.jci-program-hero--course .jci-program-hero__compact {
  display: none;
}

/*
 * Course compact summary bar.
 *
 * The expanded hero remains in normal document flow and scrolls naturally.
 * A separate, opaque summary bar is fixed below the complete site header only
 * after the expanded hero has passed its activation line. The compact bar is
 * revealed as one visual unit: its background covers the outgoing hero first,
 * then all of its contents fade together on a single timeline. No layout
 * morphing, cloned runtime DOM, scroll-linked progress or height animation is
 * involved.
 */
@media (min-width: 1025px) {
  body.single-program {
    --jci-course-hero-compact-height: 104px;
  }

  body.single-program #topshr.jci-program-hero--course {
    position: relative;
    z-index: auto;
    margin-bottom: 0;
    overflow: visible;
    background: #ecf2ff;
  }

  body.single-program #topshr.jci-program-hero--course .jci-program-hero__compact {
    position: fixed;
    top: var(--jci-header-visual-offset, var(--jci-header-offset, 126px));
    right: 0;
    left: 0;
    z-index: 900;
    display: block;
    width: 100%;
    height: var(--jci-course-hero-compact-height);
    min-height: var(--jci-course-hero-compact-height);
    visibility: hidden;
    overflow: visible;
    pointer-events: none;
    isolation: isolate;
    transition: visibility 0s linear 110ms;
  }

  body.single-program #topshr.jci-program-hero--course .jci-program-hero__compact::before,
  body.single-program #topshr.jci-program-hero--course .jci-program-hero__compact::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
  }

  body.single-program #topshr.jci-program-hero--course .jci-program-hero__compact::before {
    z-index: 0;
    background: #ecf2ff;
  }

  body.single-program #topshr.jci-program-hero--course .jci-program-hero__compact::after {
    z-index: 2;
    opacity: 0;
    box-shadow:
      inset 0 -1px 0 rgba(4, 28, 64, 0.07),
      0 3px 8px rgba(14, 28, 64, 0.08);
    transition: opacity 110ms cubic-bezier(0.2, 0, 0, 1);
  }

  body.single-program #topshr.jci-program-hero--course .jci-program-hero__compact-inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(240px, 1fr) auto clamp(180px, 16vw, 210px);
    align-items: center;
    column-gap: clamp(16px, 1.5vw, 24px);
    width: 100%;
    height: 100%;
    min-height: var(--jci-course-hero-compact-height);
    padding-inline: var(--jci-program-container-gutter);
    box-sizing: border-box;
    opacity: 0;
    transition: opacity 110ms cubic-bezier(0.2, 0, 0, 1);
  }

  body.single-program #topshr.jci-program-hero--course .jci-program-hero__compact.is-visible {
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  body.single-program #topshr.jci-program-hero--course .jci-program-hero__compact.is-visible::after,
  body.single-program #topshr.jci-program-hero--course .jci-program-hero__compact.is-visible .jci-program-hero__compact-inner {
    opacity: 1;
  }

  body.single-program #topshr.jci-program-hero--course .jci-program-hero__compact-copy {
    min-width: 0;
  }

  body.single-program #topshr.jci-program-hero--course .jci-program-hero__compact-title {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    padding-bottom: 0;
    color: var(--bs-body-color);
    font-family: "DM Sans", sans-serif;
    font-size: clamp(20px, 1.7vw, 24px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -0.018em;
    text-wrap: wrap;
  }

  body.single-program #topshr.jci-program-hero--course :where(
    .jci-program-hero__compact-title-primary,
    .jci-program-hero__compact-title-secondary,
    .jci-program-hero__compact-subtitle
  ) {
    display: block;
  }

  body.single-program #topshr.jci-program-hero--course .jci-program-hero__compact-title-secondary {
    margin-top: 3px;
    font-size: 0.66em;
    font-weight: 600;
    line-height: 1.08;
  }

  body.single-program #topshr.jci-program-hero--course .jci-program-hero__compact-subtitle {
    margin-top: 6px;
    color: var(--color-brand-blue, #487cff);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: normal;
  }

  body.single-program #topshr.jci-program-hero--course .jci-program-hero__compact-actions {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    min-width: max-content;
    margin: 0;
    padding: 0;
  }

  body.single-program #topshr.jci-program-hero--course .jci-program-hero__compact-actions :where(.btn1, .btn11, .btn2) {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 9px;
    float: none;
    width: auto;
    max-width: none;
    min-width: 0;
    min-height: 38px;
    height: 38px;
    margin: 0;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 14px;
    line-height: 1;
    white-space: nowrap;
  }

  body.single-program #topshr.jci-program-hero--course .jci-program-hero__compact-actions .fletxa2 {
    width: 18px;
    min-width: 18px;
    max-width: 18px;
    height: auto;
    margin: 0;
  }

  body.single-program #topshr.jci-program-hero--course .jci-program-hero__compact-media {
    align-self: stretch;
    width: 100%;
    height: var(--jci-course-hero-compact-height);
    overflow: hidden;
  }

  body.single-program #topshr.jci-program-hero--course .jci-program-hero__compact-image {
    display: block;
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: contain;
    object-position: right center;
  }

  body.single-program #topshr.jci-program-hero--master {
    --jci-program-hero-compact-nav-height: 52px;
  }

  body.single-program #topshr.jci-program-hero--master.is-nav-sticky > .sup-nav,
  body.single-program #topshr.jci-program-hero--master.is-tab-navigation-active > .sup-nav,
  body.single-program #topshr.jci-program-hero--master > .sup-nav.is-sticky {
    position: fixed;
    top: var(--jci-header-offset);
    left: var(--jci-program-container-gutter);
    z-index: 20;
    display: block;
    width: min(
      var(--jci-container-max-page, 1280px),
      calc(100vw - (var(--jci-program-container-gutter) * 2))
    );
    min-height: var(--jci-program-hero-compact-nav-height);
    height: auto;
    margin: 0;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-top: 0;
    padding-bottom: 0;
    background: #fff;
    border-bottom: 1px solid rgba(4, 28, 64, 0.14);
    box-shadow:
      0 1px 0 rgba(4, 28, 64, 0.08),
      0 0 0 100vmax #fff;
    clip-path: inset(0 -100vmax);
    overflow-x: auto;
    overflow-y: hidden;
    transform: none;
  }

  body.single-program #topshr.jci-program-hero--master:is(.is-nav-sticky, .is-tab-navigation-active) {
    padding-bottom: var(--jci-program-hero-compact-nav-height, 52px);
  }

  body.single-program #topshr.jci-program-hero--master:is(.is-nav-sticky, .is-tab-navigation-active) ~ .div-master:not(.hidden) {
    padding-top: 24px;
  }

  body.single-program #topshr.jci-program-hero--master:is(.is-nav-sticky, .is-tab-navigation-active) > .sup-nav > .sup-nav-mini__list,
  body.single-program #topshr.jci-program-hero--master > .sup-nav.is-sticky > .sup-nav-mini__list {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0;
    width: 100%;
    min-width: 0;
    min-height: var(--jci-program-hero-compact-nav-height);
    height: var(--jci-program-hero-compact-nav-height);
    margin-top: 0;
    margin-bottom: 0;
  }

  body.single-program #topshr.jci-program-hero--master:is(.is-nav-sticky, .is-tab-navigation-active) > .sup-nav > .sup-nav-mini__list > li,
  body.single-program #topshr.jci-program-hero--master > .sup-nav.is-sticky > .sup-nav-mini__list > li {
    display: flex;
    flex: 1 1 0;
    min-width: 0;
  }

  body.single-program #topshr.jci-program-hero--master:is(.is-nav-sticky, .is-tab-navigation-active) > .sup-nav > .sup-nav-mini__list > li > :where(a, span),
  body.single-program #topshr.jci-program-hero--master > .sup-nav.is-sticky > .sup-nav-mini__list > li > :where(a, span) {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: var(--jci-program-hero-compact-nav-height);
    height: var(--jci-program-hero-compact-nav-height);
    padding-top: 0;
    padding-bottom: 0;
    text-align: center;
  }

}

@media (min-width: 1025px) and (max-width: 1180px) {
  body.single-program #topshr.jci-program-hero--course .jci-program-hero__compact-inner {
    grid-template-columns: minmax(270px, 1fr) auto 150px;
    column-gap: 18px;
  }

  body.single-program #topshr.jci-program-hero--course .jci-program-hero__compact-actions {
    gap: 10px;
  }

  body.single-program #topshr.jci-program-hero--course .jci-program-hero__compact-actions :where(.btn1, .btn11, .btn2) {
    padding-inline: 16px;
    font-size: 14px;
  }
}

@media (max-width: 1024px) {
  body.single-program #topshr.jci-program-hero {
    position: relative;
    top: auto;
    z-index: 1;
    margin-bottom: 0;
    box-shadow: none;
  }
}

@media (min-width: 769px) {
  body.single-program .jci-container--program .col-8 > p:has(+ .aaccordion) {
    max-width: 80%;
  }
}

/*
 * Course topic accordion.
 *
 * The legacy stylesheet can replace `.fletxa.icon` with a horizontal arrow
 * and can leave the icon in the normal text flow. Target the existing
 * `.thinline2` topic rows as well as the newer component class so the real
 * FAQ chevron remains visible and aligned to the far right.
 */
body.single-program .jci-course-topic-accordion > .aaccordion-item,
body.single-program .aaccordion > .aaccordion-item.thinline2 {
  padding: 0 10px;
}

body.single-program .jci-course-topic-accordion > .aaccordion-item > .aaccordion-header,
body.single-program .aaccordion > .aaccordion-item.thinline2 > .aaccordion-header {
  display: grid !important;
  grid-template-columns: minmax(64px, auto) minmax(0, 1fr) 20px !important;
  align-items: center !important;
  column-gap: clamp(16px, 2vw, 28px) !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 10px 0 !important;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-align: left;
  cursor: default;
  appearance: none;
}

body.single-program .jci-course-topic-accordion > .aaccordion-item > button.aaccordion-header,
body.single-program .aaccordion > .aaccordion-item.thinline2 > button.aaccordion-header {
  cursor: pointer;
}

body.single-program .jci-course-topic-accordion > .aaccordion-item > .aaccordion-header > span:first-child,
body.single-program .aaccordion > .aaccordion-item.thinline2 > .aaccordion-header > span:first-child {
  grid-column: 1;
  min-width: 0;
}

body.single-program .jci-course-topic-accordion > .aaccordion-item > .aaccordion-header > span:nth-child(2),
body.single-program .aaccordion > .aaccordion-item.thinline2 > .aaccordion-header > span:nth-child(2) {
  grid-column: 2;
  min-width: 0;
}

body.single-program .jci-course-topic-accordion__index {
  color: var(--color-brand-blue, #487cff);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
}

body.single-program .jci-course-topic-accordion__title {
  color: var(--bs-body-color);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.35;
  text-transform: none;
}

body.single-program .jci-course-topic-accordion > .aaccordion-item > .aaccordion-content,
body.single-program .aaccordion > .aaccordion-item.thinline2 > .aaccordion-content {
  padding-left: calc(64px + clamp(16px, 2vw, 28px)) !important;
}

body.single-program .jci-course-topic-accordion .jci-course-topic-accordion__icon,
body.single-program .aaccordion > .aaccordion-item.thinline2 > .aaccordion-header > img:last-child {
  content: normal !important;
  position: static !important;
  inset: auto !important;
  display: block !important;
  grid-column: 3 !important;
  justify-self: end !important;
  align-self: center !important;
  float: none !important;
  width: 20px !important;
  min-width: 20px !important;
  max-width: 20px !important;
  height: auto !important;
  margin: 2px 0 0 !important;
  padding: 0 !important;
  object-fit: contain !important;
  transform: none;
  transition: transform 180ms ease;
}

body.single-program .jci-course-topic-accordion > .aaccordion-item.active > .aaccordion-header .jci-course-topic-accordion__icon,
body.single-program .aaccordion > .aaccordion-item.thinline2.active > .aaccordion-header > img:last-child {
  transform: rotate(180deg);
}

body.single-program .jci-course-topic-accordion > .aaccordion-item > .aaccordion-header:focus-visible,
body.single-program .aaccordion > .aaccordion-item.thinline2 > .aaccordion-header:focus-visible {
  outline: 2px solid currentColor;
  outline-offset: 4px;
}

@media (max-width: 768px) {
  body.single-program .jci-course-topic-accordion > .aaccordion-item > .aaccordion-header,
  body.single-program .aaccordion > .aaccordion-item.thinline2 > .aaccordion-header {
    grid-template-columns: 32px minmax(0, 1fr) 18px !important;
    align-items: center !important;
    column-gap: 10px !important;
    padding: 12px 0 !important;
  }

  body.single-program .jci-course-topic-accordion__index {
    font-size: 12px;
    line-height: 1.35;
  }

  body.single-program .jci-course-topic-accordion__title {
    font-size: 14px;
    line-height: 1.35;
  }

  body.single-program .jci-course-topic-accordion > .aaccordion-item > .aaccordion-content,
  body.single-program .aaccordion > .aaccordion-item.thinline2 > .aaccordion-content {
    padding-left: 42px !important;
  }

  body.single-program .jci-course-topic-accordion .jci-course-topic-accordion__icon,
  body.single-program .aaccordion > .aaccordion-item.thinline2 > .aaccordion-header > img:last-child {
    width: 18px !important;
    min-width: 18px !important;
    max-width: 18px !important;
    height: auto !important;
    align-self: start !important;
    margin-top: 1px !important;
  }
}



/* Course content spacing and existing utility adjustments. */
body.single-program #topshr2 ~ .row strong.font18.blue + .blues.margtop20 li {
  margin-bottom: 10px;
}

body.single-program .bordersblue {
  padding: 15px 5px !important;
}

body.single-program .bordersblue.row + .row.rowmobile.container-inner {
  margin-top: 80px !important;
}

body.single-program #topshr2 ~ .row.container-inner.margtop100 {
  margin-top: 100px !important;
}

body.single-program #topshr2 ~ .row.container-inner.margtop100 + .row.container-inner.margtop20 .col-6 > img.w100 {
  width: 80%;
  max-width: 100%;
  height: auto;
}

body.single-program .bgdarkblue .white,
body.single-program .bgdarkblue .white p {
  color: #fff !important;
}

body.single-program .container-inner.thin.bordersblue:not(.row) {
  margin-top: 80px !important;
  margin-bottom: 80px !important;
}

body.single-program .container-inner.thin.bordersblue:not(.row) > .row {
  padding-top: 30px !important;
  padding-bottom: 30px !important;
}

body.single-program .container-inner.thin.bordersblue:not(.row) h2 {
  font-size: 35px !important;
  font-weight: 600 !important;
  letter-spacing: -1px !important;
}


@media (prefers-reduced-motion: reduce) {
  body.single-program #topshr .jci-program-hero__inner,
  body.single-program #topshr .jci-program-hero__content,
  body.single-program #topshr .jci-program-hero__title,
  body.single-program #topshr.jci-program-hero--course .jci-program-hero__compact,
  body.single-program #topshr.jci-program-hero--course .jci-program-hero__compact::after,
  body.single-program #topshr.jci-program-hero--course .jci-program-hero__compact-inner,
  body.single-program .aaccordion .aaccordion-header .jci-faqs__icon {
    transition: none;
  }
}

/* 2026-09-07 Program hero vector artwork
 *
 * Program header illustrations are now supplied as tightly cropped SVGs. Keep
 * the complete vector composition visible while allowing the trimmed viewBox
 * to use the full media column; raster hero behaviour remains unchanged. */
body.single-program #topshr .jci-program-hero__image--vector,
body.single-program #topshr .jci-program-hero__compact-image--vector {
  object-fit: contain;
  object-position: center center;
}

@media (min-width: 769px) {
  body.single-program #topshr.jci-program-hero--master .jci-program-hero__image--vector,
  body.single-program #topshr.jci-program-hero--course .jci-program-hero__expanded .jci-program-hero__image--vector {
    width: 100%;
    height: 100%;
    min-height: 100%;
    object-fit: contain;
    object-position: center center;
  }
}

/* Long Program artwork orientation
 *
 * The geometric hero artwork can be intrinsically horizontal or vertical.
 * Keep one semantic hero and let the Media Library dimensions select a layout
 * modifier, rather than asking editors to tune per-program CSS. Neutral artwork
 * retains the current composition. */
@media (min-width: 769px) {
  body.single-program #topshr.jci-program-hero--master.jci-program-hero--artwork-horizontal .jci-program-hero__media,
  body.single-program #topshr.jci-program-hero--master.jci-program-hero--artwork-vertical .jci-program-hero__media {
    align-items: center;
    justify-content: flex-end;
  }

  body.single-program #topshr.jci-program-hero--master.jci-program-hero--artwork-horizontal.jci-program-hero--title-short .jci-program-hero__inner {
    grid-template-columns: minmax(0, 52%) minmax(0, 48%);
  }

  body.single-program #topshr.jci-program-hero--master.jci-program-hero--artwork-horizontal.jci-program-hero--title-medium .jci-program-hero__inner {
    grid-template-columns: minmax(0, 57%) minmax(0, 43%);
  }

  body.single-program #topshr.jci-program-hero--master.jci-program-hero--artwork-vertical.jci-program-hero--title-short .jci-program-hero__inner {
    grid-template-columns: minmax(0, 58%) minmax(0, 42%);
  }

  body.single-program #topshr.jci-program-hero--master.jci-program-hero--artwork-vertical.jci-program-hero--title-medium .jci-program-hero__inner {
    grid-template-columns: minmax(0, 62%) minmax(0, 38%);
  }

  body.single-program #topshr.jci-program-hero--master.jci-program-hero--artwork-horizontal .jci-program-hero__image,
  body.single-program #topshr.jci-program-hero--master.jci-program-hero--artwork-horizontal .jci-program-hero__image--vector {
    width: 100%;
    max-width: 100%;
    height: 78%;
    min-height: 0;
    max-height: 78%;
    margin: auto 0 auto auto;
    object-fit: contain;
    object-position: right center;
  }

  body.single-program #topshr.jci-program-hero--master.jci-program-hero--artwork-vertical .jci-program-hero__image,
  body.single-program #topshr.jci-program-hero--master.jci-program-hero--artwork-vertical .jci-program-hero__image--vector {
    width: 76%;
    max-width: 76%;
    height: 96%;
    min-height: 0;
    max-height: 96%;
    margin: 1% 0 auto auto;
    object-fit: contain;
    object-position: right center;
  }
}

@media (max-width: 768px) {
  body.single-program #topshr.jci-program-hero--master.jci-program-hero--artwork-horizontal .jci-program-hero__image,
  body.single-program #topshr.jci-program-hero--master.jci-program-hero--artwork-horizontal .jci-program-hero__image--vector {
    width: min(100%, 260px);
    max-height: 145px;
    margin-right: 0;
    object-fit: contain;
    object-position: right center;
  }

  body.single-program #topshr.jci-program-hero--master.jci-program-hero--artwork-vertical .jci-program-hero__image,
  body.single-program #topshr.jci-program-hero--master.jci-program-hero--artwork-vertical .jci-program-hero__image--vector {
    width: min(68%, 170px);
    max-height: 210px;
    margin-right: 8px;
    object-fit: contain;
    object-position: right center;
  }
}

