@media (min-width: 1181px) {
  /* YFL desktop shells are React-owned and can remount after the menu enhancer
     runs. Keep the obsolete direct navigation hidden from the first paint;
     the canonical Apply Now / Menu actions are the only desktop surface. */
  body.yfl-page .bl-tier1 > :is(.bl-bar-nav, .bl-toggle, .bl-burger, .bl-mnav),
  :is(body.yfl-blog-page, body.yfl-blog-post-page) .bl-content-header > .bl-desktop-nav {
    display: none !important;
  }

  body.bl-hub-desktop-menu-open {
    overflow: hidden !important;
  }

  .bl-desktop-nav {
    gap: 12px !important;
  }

  .bl-desktop-nav > * {
    display: none !important;
  }

  .bl-desktop-nav > .bl-hub-desktop-action {
    display: inline-flex !important;
  }

  .bl-source-boundlearn-header {
    background: #0b1221 !important;
    border-bottom-color: rgba(212, 175, 55, .18) !important;
  }

  #bl-hdr-row.bl-source-boundlearn-header {
    background: #0b1221 !important;
    border-bottom-color: rgba(212, 175, 55, .18) !important;
  }

  #bl-hdr-row.bl-source-boundlearn-header.is-at-page-top {
    background: transparent !important;
    border-bottom-color: transparent !important;
  }

  .bl-hub-desktop-menu-header {
    background: transparent !important;
    border-bottom: 0 !important;
  }

  .bl-source-boundlearn-header > .bl-hub-desktop-legacy-item {
    display: none !important;
  }

  .bl-source-boundlearn-header > .bl-hub-desktop-actions {
    display: flex !important;
  }

  .bl-hub-desktop-actions {
    align-items: center;
    gap: 12px;
    margin-left: auto;
  }

  .bl-hub-desktop-action {
    position: relative;
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-family: "Manrope", "Helvetica Neue", Arial, sans-serif;
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .11em;
    text-transform: uppercase;
  }

  .bl-hub-desktop-apply {
    min-width: 104px;
    padding: 0 18px;
    color: #f5f5f7;
    background: transparent;
    transition: color .22s ease;
  }

  .bl-hub-desktop-apply::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 6px;
    height: 2px;
    border-radius: 999px;
    background: #d4af37;
    transform: scaleX(.42);
    transform-origin: center;
    transition: transform .28s cubic-bezier(.22, 1, .36, 1), background-color .22s ease;
  }

  .bl-hub-desktop-apply:hover,
  .bl-hub-desktop-apply:focus-visible {
    color: #f4d77a;
    background: transparent;
  }

  .bl-hub-desktop-apply:hover::after,
  .bl-hub-desktop-apply:focus-visible::after {
    background: #f4d77a;
    transform: scaleX(1);
  }

  .bl-hub-desktop-trigger {
    min-width: 124px;
    gap: 12px;
    padding: 0 22px;
    border: 0;
    color: #f5f5f7;
    background: rgba(11, 18, 33, .72);
    cursor: pointer;
    transition: background-color .22s ease;
  }

  .bl-hub-desktop-trigger:hover,
  .bl-hub-desktop-trigger:focus-visible {
    background: #111b30;
  }

  body.bl-boundlearn-home .bl-hub-desktop-trigger {
    min-width: 104px;
    gap: 10px;
    padding: 0 10px;
    background: transparent;
    transition: color .22s ease;
  }

  body.bl-boundlearn-home .bl-hub-desktop-trigger:hover,
  body.bl-boundlearn-home .bl-hub-desktop-trigger:focus-visible {
    color: #f4d77a;
    background: transparent;
  }

  .bl-hub-desktop-trigger svg,
  .bl-hub-desktop-close svg {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
  }

  .bl-hub-desktop-action:focus-visible,
  .bl-hub-desktop-menu a:focus-visible,
  .bl-hub-desktop-menu summary:focus-visible,
  .bl-hub-desktop-close:focus-visible {
    outline: 2px solid #f4d77a;
    outline-offset: 4px;
  }

  .bl-hub-desktop-menu {
    position: fixed;
    inset: 0;
    z-index: 5000;
    overflow: hidden;
    color: #f5f5f7;
    background: #0b1221;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition:
      opacity .3s cubic-bezier(.22, 1, .36, 1),
      visibility 0s linear .38s;
  }

  .bl-hub-desktop-menu::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
      linear-gradient(90deg, #0b1221 0%, rgba(11, 18, 33, .98) 44%, rgba(11, 18, 33, .62) 100%),
      url("/assets/media/boundlearn/boundlearn-experiences-responsive-backgrounds/boundlearn-experiences-bg-desktop-2880x1400.jpg") center / cover no-repeat;
  }

  .bl-hub-desktop-menu::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 78% 26%, rgba(212, 175, 55, .11), transparent 36%);
  }

  .bl-hub-desktop-menu[data-open="true"] {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transition-delay: 0s;
  }

  .bl-hub-desktop-menu-shell {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 100%;
    grid-template-rows: auto 1fr;
    padding: var(--bl-menu-action-top, 22px) var(--bl-menu-inline, 56px) 32px;
  }

  .bl-hub-desktop-menu-header {
    display: flex;
    min-height: 44px;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
  }

  .bl-hub-desktop-menu-logo {
    display: inline-flex;
    align-items: center;
  }

  .bl-hub-desktop-menu-logo img {
    width: auto;
    height: 22px;
    filter: brightness(0) invert(1);
  }

  .bl-hub-desktop-menu-actions {
    display: flex;
    align-items: center;
    gap: 12px;
  }

  .bl-hub-desktop-close {
    display: inline-flex;
    min-width: 124px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 0 22px;
    border: 0;
    border-radius: 8px;
    color: #f5f5f7;
    background: rgba(11, 18, 33, .7);
    font-size: 12px;
    font-weight: 800;
    line-height: 1;
    letter-spacing: .11em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .bl-hub-desktop-menu-body {
    position: relative;
    display: grid;
    width: min(1180px, 100%);
    grid-template-columns: minmax(0, 1fr) minmax(260px, .42fr);
    gap: clamp(54px, 8vw, 140px);
    align-items: center;
    padding: clamp(34px, 5vh, 64px) 0;
  }

  .bl-hub-desktop-menu-nav {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .bl-hub-desktop-menu-nav a,
  .bl-hub-desktop-menu-nav summary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding: 3px 0;
    border: 0;
    color: #f5f5f7;
    background: transparent;
    font-family: "Montserrat", Arial, sans-serif; /* impeccable-disable-line overused-font -- approved Boundlearn navigation typeface */
    font-size: clamp(34px, 4vw, 58px);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -.02em;
    text-transform: uppercase;
    text-align: left;
    cursor: pointer;
    transition: color .2s ease, transform .28s cubic-bezier(.22, 1, .36, 1);
  }

  .bl-hub-desktop-menu-nav a::after,
  .bl-hub-desktop-menu-nav summary::after {
    content: "";
    position: absolute;
    right: 100%;
    bottom: 10px;
    width: 34px;
    height: 1px;
    margin-right: 16px;
    background: #d4af37;
    transform: scaleX(0);
    transform-origin: right center;
    transition: transform .28s cubic-bezier(.22, 1, .36, 1);
  }

  .bl-hub-desktop-menu-nav a:hover,
  .bl-hub-desktop-menu-nav a:focus-visible,
  .bl-hub-desktop-menu-nav summary:hover,
  .bl-hub-desktop-menu-nav summary:focus-visible {
    color: #f4d77a;
    transform: translateX(12px);
  }

  .bl-hub-desktop-programs-disclosure[open] .bl-hub-desktop-programs-trigger {
    color: #d4af37;
    transform: translateX(12px);
  }

  .bl-hub-desktop-menu-nav a:hover::after,
  .bl-hub-desktop-menu-nav a:focus-visible::after,
  .bl-hub-desktop-menu-nav summary:hover::after,
  .bl-hub-desktop-menu-nav summary:focus-visible::after,
  .bl-hub-desktop-programs-disclosure[open] .bl-hub-desktop-programs-trigger::after {
    transform: scaleX(1);
  }

  .bl-hub-desktop-programs-trigger svg {
    width: clamp(22px, 2.1vw, 30px);
    height: clamp(22px, 2.1vw, 30px);
    flex: 0 0 auto;
    transition: transform .28s cubic-bezier(.22, 1, .36, 1);
  }

  .bl-hub-desktop-programs-disclosure {
    display: contents;
  }

  .bl-hub-desktop-programs-trigger {
    list-style: none;
  }

  .bl-hub-desktop-programs-trigger::-webkit-details-marker {
    display: none;
  }

  .bl-hub-desktop-programs-disclosure[open] .bl-hub-desktop-programs-trigger svg {
    transform: rotate(90deg);
  }

  .bl-hub-desktop-menu-side {
    display: grid;
    min-width: 0;
    align-self: stretch;
    grid-template-rows: minmax(0, 1fr) auto;
  }

  .bl-hub-desktop-programs-panel {
    position: absolute;
    top: 50%;
    right: 0;
    display: flex;
    width: min(360px, 28vw);
    flex-direction: column;
    padding: 4px 0 18px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(calc(-50% + 10px));
    pointer-events: none;
    transition:
      opacity .24s ease,
      transform .3s cubic-bezier(.22, 1, .36, 1),
      visibility 0s linear .3s;
  }

  .bl-hub-desktop-programs-disclosure[open] .bl-hub-desktop-programs-panel {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%);
    pointer-events: auto;
    transition-delay: 0s;
  }

  .bl-hub-desktop-programs-panel a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 40px;
    padding: 9px 0;
    border-bottom: 1px solid rgba(245, 245, 247, .16);
    color: #f5f5f7;
    font-family: "Montserrat", Arial, sans-serif; /* impeccable-disable-line overused-font -- approved Boundlearn navigation typeface */
    font-size: clamp(13px, 1.15vw, 16px);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: .025em;
    transition: color .2s ease, transform .24s cubic-bezier(.22, 1, .36, 1), border-color .2s ease;
  }

  .bl-hub-desktop-programs-panel a::after {
    content: "";
    width: 7px;
    height: 7px;
    flex: 0 0 auto;
    margin-left: 18px;
    border: 0;
    background: var(--bl-program-color, #d4af37);
    transform: rotate(45deg);
  }

  .bl-hub-desktop-programs-panel a:hover,
  .bl-hub-desktop-programs-panel a:focus-visible {
    transform: translateX(8px);
    color: #f4d77a;
    border-bottom-color: rgba(244, 215, 122, .48);
  }

  .bl-hub-desktop-programs-panel .bl-hub-desktop-program-overview {
    color: #d4af37;
  }

  .bl-hub-desktop-menu-note {
    align-self: end;
    max-width: 340px;
    padding: 24px 0 4px;
    border-top: 1px solid rgba(244, 215, 122, .34);
  }

  .bl-hub-desktop-menu-note strong {
    display: block;
    font-family: "Cinzel", Georgia, serif;
    font-size: clamp(22px, 2.1vw, 30px);
    font-weight: 500;
    line-height: 1.28;
  }

  .bl-hub-desktop-menu-note strong span {
    display: block;
  }

  .bl-hub-desktop-menu-note .bl-hub-desktop-note-white {
    color: #f5f5f7;
  }

  .bl-hub-desktop-menu-note .bl-hub-desktop-note-gold {
    color: #f4d77a;
  }

  .bl-hub-desktop-socials {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 22px;
  }

  .bl-hub-desktop-socials a {
    display: inline-flex;
    width: 38px;
    height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(245, 245, 247, .28);
    border-radius: 8px;
    color: #f5f5f7;
    transition: color .2s ease, border-color .2s ease, background-color .2s ease;
  }

  .bl-hub-desktop-socials a:hover,
  .bl-hub-desktop-socials a:focus-visible {
    color: #f4d77a;
    border-color: #d4af37;
    background: rgba(212, 175, 55, .08);
  }

  .bl-hub-desktop-socials svg {
    width: 17px;
    height: 17px;
  }

  @media (max-height: 760px) {
    .bl-hub-desktop-menu-shell {
      padding-bottom: 22px;
    }

    .bl-hub-desktop-menu-body {
      padding: 22px 0;
    }

    .bl-hub-desktop-menu-nav a,
    .bl-hub-desktop-menu-nav summary {
      font-size: clamp(30px, 3.5vw, 46px);
    }

    .bl-hub-desktop-programs-panel a {
      min-height: 34px;
      padding-block: 6px;
      font-size: 13px;
    }

    .bl-hub-desktop-menu-note {
      padding-top: 18px;
    }
  }
}

@media (max-width: 1180px) {
  .bl-hub-desktop-menu {
    display: none !important;
  }
}
