/* Pixso program design; every override belongs to the v2 program page. */
.v2-program {
    --v2-font-body: 'Noto Sans SC', system-ui, -apple-system, 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --v2-font-display: 'Alimama ShuHeiTi', var(--v2-font-body);
    --v2-heading-color: #ffde90;
    margin: 0;
    color: #fff;
    background: #0e2d5d;
    font-family: var(--v2-font-body);
}
.px-program, .px-program * { box-sizing: border-box; font-family: var(--v2-font-body); }
.px-program .rx-title { font-family: var(--v2-font-display); }
html[lang='en-us'] .v2-program { --v2-font-display: var(--v2-font-body); }
.px-program h1, .px-program h2, .px-program h3, .px-program h4, .px-program p { margin: 0; }
.px-program a { color: inherit; text-decoration: none; }
.px-program [id], .px-program [data-px-pager] { scroll-margin-top: calc(var(--hx-header-h) + 24px); }
.px-program [hidden] { display: none !important; }
.px-program a:focus-visible, .px-program button:focus-visible { outline: 3px solid #ffde90; outline-offset: 5px; }
.px-container { width: 84%; max-width: 1612px; margin: 0 auto; }
.px-program .px-title { color: #ffde90; font-family: var(--v2-font-display); font-size: clamp(30px, 2.5vw, 48px); font-weight: 700; line-height: 1.4; }
.px-faculty { background: #102851; padding-bottom: 100px; }
.px-hero { height: 39vw; max-height: 750px; background: url('../images/program-hero.webp?v=2') center top / cover no-repeat; }
.px-faculty-intro { position: relative; margin-top: -30px; padding: 0 24px; text-align: center; }
.px-faculty-intro > p { max-width: 780px; margin: 40px auto 0; font-size: clamp(16px, 1.25vw, 24px); font-weight: 600; line-height: 1.8; }
.px-faculty-content { width: 75%; max-width: 1440px; margin: 80px auto 0; }
.px-faculty-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 90px 40px; }
.px-person { display: block; min-width: 0; font-size: clamp(14px, 1.25vw, 24px); line-height: 1.5; }
.px-person img { display: block; width: 100%; height: auto; aspect-ratio: 250 / 290; object-fit: cover; object-position: center top; box-shadow: -8px 8px 0 -1px #398fea; }
.px-person h2 { margin: 24px 0 3px; color: #ffde90; font: 600 1em/1.5 var(--v2-font-body); overflow-wrap: anywhere; }
.px-person h2 span { display: block; font-family: inherit; white-space: pre-line; }
.px-person p { font-weight: 600; overflow-wrap: anywhere; }
.px-person:hover img { filter: brightness(1.08); }
@media (min-width: 768px) and (prefers-reduced-motion: no-preference) and (hover: hover) {
    .v2-program .px-person img { transition: transform 280ms ease, filter 280ms ease; }
    .v2-program .px-person:is(:hover, :focus-visible) img { transform: translateY(calc(-6 * var(--desktop-unit))); filter: brightness(1.08); }
    .v2-program .px-foundation-card { position: relative; isolation: isolate; overflow: hidden; transition: scale 280ms ease, translate 280ms ease, box-shadow 280ms ease; }
    .v2-program .px-foundation-card:hover { scale: 1.025; translate: 0 calc(-6 * var(--desktop-unit)); box-shadow: inset 0 0 0 1px rgba(255, 222, 144, .55), 0 8px 28px rgba(0, 12, 40, .18); }
    .v2-program .px-foundation-card > :not(.px-foundation-image) { position: relative; z-index: 2; }
    .v2-program .px-foundation-card .px-foundation-image { display: block; position: absolute; inset: 0; z-index: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 450ms ease; pointer-events: none; }
    .v2-program .px-foundation-card::after { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(160deg, rgba(32, 74, 141, .82), rgba(11, 34, 74, .9)); opacity: 0; transition: opacity 450ms ease; pointer-events: none; }
    .v2-program .px-foundation-card:hover .px-foundation-image { opacity: .7; }
    .v2-program .px-foundation-card:hover::after { opacity: 1; }
    .v2-program .px-foundation-card::before { content: ''; position: absolute; top: 0; left: 0; z-index: 3; width: 100%; height: calc(3 * var(--desktop-unit)); background: linear-gradient(90deg, #398fea, #ffde90); transform: scaleX(0); transform-origin: left; transition: transform 400ms ease; pointer-events: none; }
    .v2-program .px-foundation-card:hover::before { transform: scaleX(1); }
    .v2-program .px-advanced-course { position: relative; transition: scale 280ms ease, box-shadow 280ms ease; }
    .v2-program .px-advanced-course:hover { scale: 1.025; z-index: 1; box-shadow: 0 0 0 1px rgba(255, 222, 144, .4), 0 12px 32px rgba(0, 0, 0, .28); }
    .v2-program .px-advanced-course img { transition: filter 280ms ease, box-shadow 280ms ease; }
    .v2-program .px-advanced-course:hover img { filter: brightness(1.08); box-shadow: 0 0 0 1px rgba(255, 222, 144, .4); }
}
.px-pagination { display: flex; justify-content: center; gap: 0; margin-top: 40px; }
.px-pagination button { display: grid; place-items: center; width: 32px; height: 36px; border: 0; padding: 0; background: transparent; cursor: pointer; }
.px-pagination button::before { content: ''; width: 9px; height: 9px; border: 1px solid #fff; border-radius: 50%; }
.px-pagination button[aria-current='true']::before { background: #fff; }
.px-program .rx-roadmap { min-height: 56vw; }
.px-program .rx-roadmap .rx-roadmap-copy { width: 78%; padding: 6vw 0 7vw 8.75%; }
.px-program .rx-roadmap .rx-lead { max-width: 100%; margin-top: 20px; }
.px-program .rx-roadmap .rx-overview { width: 48%; min-width: 0; margin-top: 48px; padding: 35px 40px; }
.px-program .rx-roadmap .rx-overview p { white-space: normal; }
.px-program .rx-roadmap .rx-diagram { z-index: 2; width: 70%; padding: 150px 0 0; pointer-events: none; }
.px-program .rx-roadmap .rx-modules { pointer-events: none; }
.px-program .rx-roadmap .rx-module a { position: relative; display: inline-block; pointer-events: none; overflow-wrap: anywhere; }
.px-program .rx-roadmap .rx-module a > span { position: relative; z-index: 1; font: inherit; letter-spacing: inherit; pointer-events: auto; }
.px-program .rx-roadmap a.rx-stage { pointer-events: auto; }
/* Artwork hit bounds are interaction allowances; live label geometry stays separate. */
.px-program .rx-roadmap { --course-hit-unit: var(--desktop-unit); --course-hit-top: 8; --course-hit-left: 0; --course-hit-right: 0; --course-hit-height: 300; }
.px-program .rx-roadmap .rx-module:not(.px-extra-module) a::after,
.px-program .rx-roadmap a.rx-stage::after { position: absolute; top: calc(-1 * var(--course-hit-top) * var(--course-hit-unit)); left: calc(-1 * var(--course-hit-left) * var(--course-hit-unit)); right: calc(-1 * var(--course-hit-right) * var(--course-hit-unit)); height: max(100%, calc(var(--course-hit-height) * var(--course-hit-unit))); pointer-events: auto; content: ''; }
.px-program .rx-roadmap .rx-module-global { --course-hit-height: 370; }
.px-program .rx-roadmap .rx-stage-advanced { --course-hit-top: 30; --course-hit-left: 160; --course-hit-right: 160; --course-hit-height: 150; }
.px-program .rx-roadmap .rx-stage-foundation { --course-hit-top: 65; --course-hit-left: 235; --course-hit-right: 185; --course-hit-height: 230; }
.px-program .rx-roadmap .rx-module:not(.px-extra-module) a:focus-visible,
.px-program .rx-roadmap a.rx-stage:focus-visible { outline: none; }
.px-program .rx-roadmap .rx-module:not(.px-extra-module) a:focus-visible::after,
.px-program .rx-roadmap a.rx-stage:focus-visible::after { outline: 3px solid #ffde90; outline-offset: 2px; }
.px-program .rx-roadmap .rx-stage:hover, .px-program .rx-roadmap .rx-module a:hover { color: #ffde90; }
/* Native links keep the artwork's hit bounds and work without JavaScript. */
.px-program .rx-roadmap [data-course-hint] { cursor: pointer; transition: color 220ms ease, text-shadow 220ms ease; }
.px-program .rx-roadmap [data-course-hint]::before {
    content: attr(data-course-hint) ' ↓';
    position: absolute;
    z-index: 3;
    left: 50%;
    bottom: calc(100% + 14 * var(--course-hit-unit));
    width: max-content;
    max-width: 100%;
    padding: .45em .8em;
    border: 1px solid rgba(255, 222, 144, .55);
    border-radius: 4px;
    background: #102c52;
    color: #ffefd2;
    font: 600 max(12px, calc(16 * var(--course-hit-unit)))/1.5 var(--v2-font-body);
    letter-spacing: 0;
    text-shadow: none;
    pointer-events: none;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 4px);
    transition: opacity 220ms ease, transform 220ms ease, visibility 220ms;
}
.px-program .rx-roadmap .rx-module:not(.px-extra-module) a::after,
.px-program .rx-roadmap a.rx-stage::after {
    border-radius: calc(18 * var(--course-hit-unit));
    background: linear-gradient(160deg, rgba(255, 222, 144, .16), rgba(56, 164, 230, .08));
    box-shadow: inset 0 0 0 1px rgba(255, 222, 144, .65), 0 0 calc(28 * var(--course-hit-unit)) rgba(255, 222, 144, .16);
    opacity: 0;
    transition: opacity 220ms ease;
}
.px-program .rx-roadmap [data-course-hint]:is(:hover, :focus-visible) { color: #ffde90; text-shadow: 0 0 18px rgba(255, 222, 144, .55); }
.px-program .rx-roadmap [data-course-hint]:is(:hover, :focus-visible)::before { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.px-program .rx-roadmap .rx-module:not(.px-extra-module) a:is(:hover, :focus-visible)::after,
.px-program .rx-roadmap a.rx-stage:is(:hover, :focus-visible)::after { opacity: 1; }
.px-program .rx-roadmap .rx-overview a { position: relative; display: block; text-decoration: underline; text-decoration-color: rgba(255, 222, 144, .4); text-underline-offset: .2em; transition: color 220ms ease, text-decoration-color 220ms ease, background-color 220ms ease; }
.px-program .rx-roadmap .rx-overview a::after { content: '↓'; position: absolute; right: -.9em; opacity: 0; transform: translateY(-3px); transition: opacity 220ms ease, transform 220ms ease; }
.px-program .rx-roadmap .rx-overview a:is(:hover, :focus-visible) { color: #ffde90; text-decoration-color: #ffde90; background-color: rgba(255, 222, 144, .08); }
.px-program .rx-roadmap .rx-overview a:is(:hover, :focus-visible)::after { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
    .px-program .rx-roadmap [data-course-hint],
    .px-program .rx-roadmap [data-course-hint]::before,
    .px-program .rx-roadmap [data-course-hint]::after,
    .px-program .rx-roadmap .rx-module:not(.px-extra-module) a::after,
    .px-program .rx-roadmap a.rx-stage::after,
    .px-program .rx-roadmap .rx-overview a,
    .px-program .rx-roadmap .rx-overview a::after { transition: none; }
}
.px-program .rx-roadmap .rx-module { width: 25%; }
.px-program .rx-roadmap .rx-stage { font-size: clamp(24px, 2.65vw, 51px); }
.px-program .rx-roadmap .px-extra-module { position: static; transform: none; display: inline-block; width: auto; margin: 8px; }
.px-program .px-diagram-hint { margin-top: 8px; color: #cedbea; font-size: clamp(14px, 1.25vw, 24px); font-weight: 600; }
.px-hint-mobile { display: none; }
.px-program .rx-roadmap .rx-cta { margin-top: 1.6vw; }
.px-curriculum { padding: 65px 0 0; }
.px-program .px-section-title { display: flex; align-items: center; gap: 24px; color: #29d5f6; font-size: clamp(24px, 2.1vw, 40px); font-weight: 700; line-height: 1.4; }
.px-emblem { display: inline-block; flex: 0 0 60px; height: 80px; background: url('../images/program-emblem.webp') center / contain no-repeat; }
.px-program .px-lead { margin: 12px 0 40px 84px; font-size: clamp(16px, 1.25vw, 24px); font-weight: 600; line-height: 1.8; }
.px-foundation-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 48px 24px; }
.px-foundation-card { flex: 0 0 calc((100% - 48px) / 3); min-width: 0; padding: clamp(20px, 2.5vw, 48px) clamp(16px, 1.875vw, 36px); background: linear-gradient(160deg, #204a8d, #0b224a); }
.px-foundation-image { display: none; }
.px-foundation-card h3 { font-size: clamp(20px, 1.55vw, 30px); line-height: 1.5; font-weight: 600; }
.v2-program .px-foundation-card .px-course-title { background: linear-gradient(90deg, #fff, #ffda96); background-clip: text; -webkit-background-clip: text; color: transparent; }
.px-program .px-summary { margin-top: 10px; font-size: clamp(14px, 1.04vw, 20px); line-height: 1.75; font-weight: 600; }
.px-program .px-detail { font-size: clamp(14px, .94vw, 18px); line-height: 2; overflow-wrap: anywhere; }
.px-curriculum { overflow-wrap: anywhere; }
.px-curriculum .px-phrase, .px-faculty-intro .px-phrase { display: inline-block; max-width: 100%; white-space: normal; }
.px-foundation-card .px-summary { color: #ffefd2; }
.px-detail::before { content: ''; display: block; width: 80%; max-width: 485px; height: 2px; margin: 18px 0; background: linear-gradient(90deg, #ffde90, #4d85e2); }
.px-module { margin: 0 0 80px; padding: 40px 40px 85px; background: linear-gradient(155deg, #214d93, #091f45); }
.px-module-heading { display: flex; align-items: baseline; gap: 12px; margin-bottom: 55px; color: #ffefd2; }
.px-module-number { flex-shrink: 0; background: linear-gradient(#ffe3a1, #23538b); background-clip: text; -webkit-background-clip: text; color: transparent; font: italic 900 clamp(36px, 3vw, 58px)/1 var(--v2-font-body); }
.px-module-heading h3 { min-width: 0; font-size: clamp(24px, 2vw, 38px); line-height: 1.4; font-weight: 600; }
.px-module-heading h3:not(:last-child) { max-width: 45%; }
.px-module-heading .px-module-description { flex: 1 1 0; min-width: 0; font-size: clamp(14px, 1.04vw, 20px); font-weight: 600; line-height: 1.7; }
.px-course-group { margin: 0 4.5%; }
.px-program .px-category { display: table; min-width: 300px; max-width: 100%; margin: 70px 0 36px; padding: 7px 28px; background: linear-gradient(90deg, #27c8ed, transparent); font-size: clamp(22px, 1.9vw, 36px); line-height: 1.4; }
.px-course-group:first-child .px-category { margin-top: 0; }
.px-advanced-course { display: grid; grid-template-columns: minmax(180px, 23%) minmax(0, 1fr); align-items: center; gap: 4%; margin-top: 46px; }
.px-advanced-course:first-child { margin-top: 0; }
.px-advanced-course.px-no-image { grid-template-columns: minmax(0, 1fr); }
.px-advanced-course > picture { display: block; width: 100%; aspect-ratio: 300 / 214; }
.px-advanced-course > picture > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.px-advanced-course > div { min-width: 0; }
.px-advanced-course h4 { font-size: clamp(20px, 1.55vw, 30px); line-height: 1.5; font-weight: 600; }
.px-program .rx-cta { color: var(--cta-text); }
.v2-program .rx-study .rx-destination h3 img { object-fit: cover; }
@media (max-width: 767px) {
    .px-program .rx-roadmap { min-height: 0; }
    .px-program .rx-roadmap .rx-roadmap-copy { width: 84%; padding: 48px 0 0; }
    .px-program .rx-roadmap .rx-overview { width: 100%; margin-top: 24px; padding: 24px; }
    .px-program .rx-roadmap .rx-diagram { width: min(100%, 760px); padding: 90px 12px 0; }
    .px-program .px-hint-desktop { display: none; }
    .px-program .px-hint-mobile { display: block; grid-area: 3 / 1; margin: 12px 24px 30px; text-align: center; color: #ffde90; }
    .px-program .rx-roadmap .rx-module { width: 31%; }
    .px-program .rx-roadmap .rx-stage { font-size: clamp(21px, 5.5vw, 40px); }
}
@media (max-width: 767px) {
    .px-faculty { padding-bottom: 60px; }
    .px-faculty-content { width: 88%; margin-top: 50px; }
    .px-faculty-grid { gap: 48px 28px; }
    .px-container { width: 90%; }
    .px-foundation-grid { gap: 24px; }
    .px-foundation-card { flex-basis: calc((100% - 24px) / 2); }
    .px-program .px-lead { margin-left: 0; }
    .px-module { padding: 32px 24px 48px; }
    .px-course-group { margin: 0; }
}
@media (max-width: 767px) {
    .px-advanced-course { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: 32px; }
    .px-advanced-course > picture { aspect-ratio: 4 / 1; }
}
@media (max-width: 767px) {
    .px-hero { height: 115vw; max-height: 620px; background-size: auto 128%; background-position: 74% top; }
    .px-faculty-intro { margin-top: -12px; }
    .px-faculty-intro .px-title { font-size: 25px; }
    .px-faculty-intro > p { width: 84%; max-width: 550px; margin-top: 20px; font-size: 12px; line-height: 1.8; }
    .px-faculty-content { width: 92%; margin-top: 28px; }
    .px-faculty-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 28px 18px; }
    .px-person { font-size: clamp(11px, 3.2vw, 16px); }
    .px-person h2 { margin-top: 12px; }
    .px-person img { box-shadow: -4px 4px 0 -1px #398fea; }
    .px-pagination { margin-top: 20px; }
    .px-container { width: 90%; }
    .px-curriculum { padding-top: 48px; }
    .px-program .px-section-title { gap: 14px; font-size: 20px; }
    .px-emblem { flex-basis: 28px; height: 40px; }
    .px-program .px-lead { margin: 14px 0 20px; font-size: 14px; line-height: 1.8; }
    .px-foundation-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(16px, 3vw, 24px); }
    .px-foundation-card { padding: clamp(16px, 3vw, 24px); }
    .px-foundation-card h3, .px-advanced-course h4 { font-size: clamp(18px, 3vw, 22px); }
    .px-program .px-summary { font-size: clamp(14px, 2.2vw, 16px); margin-top: 5px; }
    .px-program .px-detail { font-size: clamp(14px, 2.2vw, 16px); line-height: 1.8; }
    .px-detail::before { width: 100%; margin: 10px 0; }
    .px-foundation-card .px-detail::before { width: 70%; }
    .px-module { margin: 0 0 30px; padding: 24px clamp(12px, 3vw, 24px) 32px; }
    .px-module-heading { gap: 8px; margin-bottom: 20px; }
    .px-module-heading h3 { flex: 0 1 auto; font-size: 20px; }
    .px-module-heading .px-module-description { font-size: 12px; }
    .px-module-number { font-size: 36px; }
    .px-program .px-category { min-width: min(150px, 100%); font-size: 20px; margin: 32px 0 16px; padding: 4px 12px; }
    .px-curriculum .px-pagination button { width: 44px; height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
    .px-program *, .px-program *::before { scroll-behavior: auto !important; transition: none !important; }
}
