/* Original Canada/Philippines detail content, sized to the shared compact guide. */
.upjg-restored{--up-global-container-width:1120px;--up-theme-body-size:13px;--up-theme-subheading-size:16px;--up-theme-section-size:21px;--up-theme-heading-leading:1.45;--up-theme-body-leading:1.75;--up-theme-card-gap:14px;--up-theme-card-pad-y:16px;--up-theme-card-pad-x:16px;--up-theme-card-border-width:1px;--up-theme-line-width:1px;--up-color-line:#ad98c5;--up-color-card-border:#ad98c5;--up-card-shadow:none}
.upjg-restored .upcj-section,.upjg-restored .uppjg-section{padding:26px 0;scroll-margin-top:calc(var(--upug-header,0px) + 65px)}
.upjg-restored .upcj-wrap,.upjg-restored .uppjg-wrap{width:100%;max-width:var(--up-global-container-width,1120px);padding-left:20px;padding-right:20px;box-sizing:border-box}
.upjg-restored h2{font-size:21px!important;line-height:1.45!important;letter-spacing:-.03em}.upjg-restored h3{font-size:16px!important;line-height:1.5!important}.upjg-restored p,.upjg-restored li,.upjg-restored dd,.upjg-restored blockquote{font-size:13px!important;line-height:1.75!important}
.upjg-restored .upcj-section-head,.upjg-restored .uppjg-section-head,.upjg-restored .uppjg-split-heading{margin-bottom:16px;gap:20px}
.upjg-restored .upcj-section-head>p,.upjg-restored .uppjg-section-head>p{margin-top:9px}
.upjg-restored .upcj-eyebrow,.upjg-restored .uppjg-eyebrow{font-size:11px!important;margin-bottom:6px}
.upjg-restored .upcj-periods article,.upjg-restored .uppjg-periods article{padding:18px}.upjg-restored .upcj-period,.upjg-restored .uppjg-period{font-size:17px;margin-bottom:10px}
.upjg-restored .upcj-types article,.upjg-restored .uppjg-types article{padding:18px}.upjg-restored .upcj-note,.upjg-restored .uppjg-note{padding:16px 18px;gap:20px;margin-top:16px}
.upjg-restored .upcj-budget-grid,.upjg-restored .uppjg-budget-grid{gap:22px}.upjg-restored .upcj-price-sheet,.upjg-restored .uppjg-price-sheet{padding:20px}.upjg-restored .upcj-living-bottom,.upjg-restored .uppjg-living-bottom{gap:20px;margin-top:20px;padding-top:20px}
.upjg-restored .upcj-service-rows article,.upjg-restored .uppjg-service-rows article{padding-top:13px;padding-bottom:13px;gap:14px}.upjg-restored .upcj-inline-cta,.upjg-restored .uppjg-inline-cta{margin-top:20px;padding-top:18px}
.upjg-restored .upcj-school-body{padding:16px}.upjg-restored .upcj-school img{max-width:100%;object-fit:cover}.upjg-restored .upcj-school-grid{gap:14px}
.upjg-restored iframe{max-width:100%}.upjg-restored a{overflow-wrap:anywhere}
@media(max-width:760px){.upjg-restored .upcj-wrap,.upjg-restored .uppjg-wrap{padding-left:14px;padding-right:14px}.upjg-restored .upcj-section,.upjg-restored .uppjg-section{padding:21px 0}.upjg-restored h2{font-size:19px!important}.upjg-restored .upcj-periods,.upjg-restored .uppjg-periods,.upjg-restored .upcj-budget-grid,.upjg-restored .uppjg-budget-grid,.upjg-restored .upcj-types,.upjg-restored .uppjg-types,.upjg-restored .upcj-note,.upjg-restored .uppjg-note{grid-template-columns:1fr}.upjg-restored .uppjg-split-heading{display:block}.upjg-restored .uppjg-split-heading>p{margin-top:10px}.upjg-restored .upcj-periods p,.upjg-restored .uppjg-periods p{min-height:0}.upjg-restored .upcj-periods article,.upjg-restored .uppjg-periods article{border-right:0;border-bottom:1px solid #ad98c5}.upjg-restored .upcj-periods article:last-child,.upjg-restored .uppjg-periods article:last-child{border-bottom:0}}

.upjg-restored .uppjg-video-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;margin-top:18px}.upjg-restored .uppjg-video-grid article{min-width:0}.upjg-restored .uppjg-video-grid h3{font-size:14px!important;margin-top:9px}.upjg-restored .uppjg-video{aspect-ratio:16/9}.upjg-restored .uppjg-video iframe{width:100%;height:100%}
@media(max-width:760px){.upjg-restored .uppjg-video-grid{display:flex;gap:10px;overflow-x:auto;scroll-snap-type:x mandatory;padding-bottom:8px}.upjg-restored .uppjg-video-grid article{flex:0 0 100%;scroll-snap-align:start}}

.upjg-restored .uppjg-guidance-criteria{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));background:#50317d;border:1px solid #50317d;border-radius:4px;overflow:hidden}
.upjg-restored .uppjg-guidance-criteria article{display:flex;align-items:center;justify-content:center;min-height:70px;padding:16px 12px;border:0;border-right:1px solid #8971aa;box-sizing:border-box}
.upjg-restored .uppjg-guidance-criteria article:last-child{border-right:0}
.upjg-restored .uppjg-guidance-criteria .uppjg-period{margin:0;color:#fff;font-size:17px;font-weight:750;line-height:1.4;text-align:center}
@media(max-width:760px){.upjg-restored .uppjg-guidance-criteria{grid-template-columns:repeat(2,minmax(0,1fr))}.upjg-restored .uppjg-guidance-criteria article{min-height:62px;padding:14px 10px;border:0;border-bottom:1px solid #8971aa}.upjg-restored .uppjg-guidance-criteria article:nth-child(odd){border-right:1px solid #8971aa}.upjg-restored .uppjg-guidance-criteria article:nth-last-child(-n+2){border-bottom:0}.upjg-restored .uppjg-guidance-criteria .uppjg-period{font-size:16px}}

.upjg-restored .uppjg-results-table-wrap{max-width:100%;overflow-x:auto;scrollbar-width:thin;border-top:2px solid #6441a0;border-bottom:1px solid #ad98c5}
.upjg-restored .uppjg-results-table{border-collapse:collapse;width:100%;font-size:12px;line-height:1.5;color:#30243f;text-align:left}
.upjg-restored .uppjg-results-table th,.upjg-restored .uppjg-results-table td{padding:8px 11px;white-space:nowrap;border-bottom:1px solid #d6c9e6;vertical-align:middle}
.upjg-restored .uppjg-results-table thead{background:#f0eaf7}.upjg-restored .uppjg-results-table th{font-weight:700}.upjg-restored .uppjg-results-table td{font-weight:400}.upjg-restored .uppjg-results-table tbody tr:last-child>*{border-bottom:0}
@media(max-width:760px){.upjg-restored .uppjg-results-table{font-size:12px}.upjg-restored .uppjg-results-table th,.upjg-restored .uppjg-results-table td{padding:7px 9px}}

.upjg-restored .uppjg-results-table tr[hidden]{display:none}.upjg-restored .uppjg-results-actions{display:flex;justify-content:center;align-items:center;gap:10px;margin-top:10px}.upjg-restored .uppjg-results-more{min-height:34px;padding:7px 22px;background:#50317d;color:#fff;border:1px solid #50317d;border-radius:4px;font-family:inherit;font-size:12px;font-weight:600;cursor:pointer}.upjg-restored .uppjg-results-more[hidden]{display:none}.upjg-restored .uppjg-results-count{font-size:11px;color:#655573}

.upjg-restored .uppjg-results-note{font-size:11px!important;line-height:1.5!important;color:#756780;margin:7px 0 0!important}

.upjg-restored .uppjg-guidance-criteria article{flex-direction:column;gap:8px;min-height:88px}
.upjg-restored .uppjg-guidance-criteria p{margin:0;color:#e9e1f2;font-size:12px!important;line-height:1.5!important;text-align:center;word-break:keep-all;min-height:0}
@media(max-width:760px){.upjg-restored .uppjg-guidance-criteria article{min-height:86px;gap:6px}.upjg-restored .uppjg-guidance-criteria p{font-size:11px!important}}

.upjg-support-quote{margin:16px 0;padding:13px 16px;border-left:3px solid #6441a0;background:#fff}.upjg-support-quote blockquote{margin:0;font-size:13px;line-height:1.7;color:#33283f}.upjg-support-quote figcaption{margin-top:7px;font-size:11px;color:#756780}.upjg-support-links{margin-top:15px}

.upjg-restored .upjg-transfer-summary{display:flex;align-items:center;justify-content:space-between;gap:20px}
.upjg-restored .upjg-transfer-summary h2{margin:0 0 8px}.upjg-restored .upjg-transfer-summary p{margin:0}.upjg-restored .upjg-transfer-summary>a{flex-shrink:0;min-height:38px;padding:9px 16px;font-size:12px;white-space:nowrap}
@media(max-width:760px){.upjg-restored .upjg-transfer-summary{align-items:flex-start;flex-direction:column;gap:12px}.upjg-restored .upjg-transfer-summary>a{min-height:38px}}

.upjg-restored .upjg-housing-cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.upjg-restored .upjg-housing-cards article{background:#50317d;border:1px solid #50317d;border-radius:4px;padding:20px 16px;text-align:center}
.upjg-restored .upjg-housing-cards h3{color:#fff;margin:0 0 8px;font-weight:750}.upjg-restored .upjg-housing-cards p{color:#e9e1f2;margin:0;font-size:13px!important;line-height:1.5!important}
@media(max-width:760px){.upjg-restored .upjg-housing-cards{grid-template-columns:1fr;gap:8px}.upjg-restored .upjg-housing-cards article{padding:16px}}
