/* Typography is managed by /css/up-typography.css. */
/* School detail v2. Isolated from all legacy detail CSS. */
@font-face{font-family:"UhakSchoolV2";font-style:normal;font-weight:400;font-display:swap;src:url("/fonts/school-detail-v2/uhak-sans-400.woff") format("woff")}
@font-face{font-family:"UhakSchoolV2";font-style:normal;font-weight:700;font-display:swap;src:url("/fonts/school-detail-v2/uhak-sans-700.woff") format("woff")}
html.up-school-v2-page body{margin:0;background:#fff;}
.up-school-v2{--ink:#262332;--muted:#655f6e;--purple:#603d80;--purple-dark:#47275f;--soft:#f3eef7;--line:#c9c1d1;--faint:#e6e0eb;--warm:#f7f6f9;--wrap:1120px;font-synthesis:none;color-scheme:light;}
.up-school-v2,.up-school-v2 *{box-sizing:border-box;}
html.up-school-v2-page{--upsd2-header-height:108px;--upsd2-nav-height:68px;scroll-behavior:smooth;scroll-padding-top:calc(var(--upsd2-header-height) + var(--upsd2-nav-height) + 12px);}
.up-school-v2{margin:0;color:var(--ink);background:#fff;font-family:"UhakSchoolV2",sans-serif;-webkit-text-size-adjust:100%;word-break:keep-all;overflow-wrap:break-word;}
.up-school-v2 a{color:inherit;text-decoration:none;}
.up-school-v2 button,.up-school-v2 input{font:inherit;}
.up-school-v2 button,.up-school-v2 a{-webkit-tap-highlight-color:transparent;}
.up-school-v2 button{color:inherit;cursor:pointer;}
.up-school-v2 button{background:none;border:0;}
.up-school-v2 button:focus-visible,.up-school-v2 a:focus-visible,.up-school-v2 summary:focus-visible,.up-school-v2 input:focus-visible{outline:3px solid #b188cd;outline-offset:5px;}
.up-school-v2 img{display:block;max-width:100%;}
.up-school-v2 p,.up-school-v2 h1,.up-school-v2 h2,.up-school-v2 h3,.up-school-v2 h4,.up-school-v2 dl,.up-school-v2 dd,.up-school-v2 ol,.up-school-v2 ul{margin:0;}




.up-school-v2 p+p{margin-top:16px;}
.up-school-v2 .wrap{width:calc(100% - 40px);max-width:calc(var(--up-global-container-width,1120px) - 40px);margin-inline:auto;}
.up-school-v2 .skip{position:fixed;top:-100px;left:20px;background:white;padding:10px;z-index:99;}
.up-school-v2 .skip:focus{top:10px;}
.up-school-v2 .site-header{border-bottom:1px solid var(--faint);background:white;}
.up-school-v2 .header-row{height:90px;display:flex;align-items:center;gap:38px;}
.up-school-v2 .brand img{width:164px;height:auto;}
.up-school-v2 .global-nav{margin-left:auto;display:flex;gap:28px;align-self:stretch;align-items:center;white-space:nowrap;}
.up-school-v2 .global-nav a{height:100%;display:flex;align-items:center;position:relative;}
.up-school-v2 .global-nav .selected{color:var(--purple);}
.up-school-v2 .global-nav .selected:after{content:"";position:absolute;bottom:0;left:0;right:0;height:4px;background:var(--purple);}
.up-school-v2 .header-consult{display:flex;align-items:center;gap:16px;border:1px solid var(--purple);color:var(--purple);padding:8px 16px;border-radius:6px;white-space:nowrap;}
.up-school-v2 .hero-shell{background:var(--warm);padding-bottom:36px;}
.up-school-v2 .breadcrumb{padding:23px 0 28px;display:flex;gap:12px;color:var(--muted);}
.up-school-v2 .breadcrumb>span:last-child{color:var(--ink);}
.up-school-v2 .hero{display:grid;grid-template-columns:1.18fr 1fr;gap:42px;align-items:center;}
.up-school-v2 .eyebrow{color:var(--purple);margin-bottom:13px;}
.up-school-v2 .eyebrow span{padding:0 5px;}
.up-school-v2 .title-row{display:flex;align-items:center;gap:14px;flex-wrap:wrap;}

.up-school-v2 .school-en{color:var(--muted);margin-top:9px;}
.up-school-v2 .tags{display:flex;gap:8px;flex-wrap:wrap;margin-top:21px;}
.up-school-v2 .tags span{border:1px solid var(--line);background:#fff;padding:3px 10px;border-radius:4px;color:#51465b;}
.up-school-v2 .hero-intro{margin-top:23px;}
.up-school-v2 .hero-actions{display:flex;gap:10px;margin-top:28px;}
.up-school-v2 .button{display:inline-flex;align-items:center;justify-content:center;gap:22px;min-height:51px;padding:12px 21px;border-radius:6px;border:1.5px solid transparent;transition:background .15s,color .15s;}
.up-school-v2 .button.primary{background:var(--purple);color:white;border-color:var(--purple);}
.up-school-v2 .button.primary:hover{background:var(--purple-dark);}
.up-school-v2 .button.secondary{background:white;border-color:var(--line);color:var(--purple);}
.up-school-v2 .button.secondary:hover{background:var(--soft);border-color:var(--purple);}
.up-school-v2 .badge{display:inline-flex;gap:7px;align-items:center;justify-content:center;min-height:40px;border:1px solid var(--up-ui-line, #8b7a9a);border-radius:5px;background:white;padding:7px 12px;color:var(--purple);white-space:nowrap;}
.up-school-v2 .badge:hover{background:var(--soft);}
.up-school-v2 .share{padding:5px 9px;min-height:34px;}
.up-school-v2 .share svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;flex-shrink:0;}
.up-school-v2 .photo-button{position:relative;display:block;padding:0;overflow:hidden;border-radius:9px;background:var(--soft);width:100%;text-align:left;}
.up-school-v2 .photo-button img{width:100%;height:100%;object-fit:cover;}
.up-school-v2 .hero-photo{aspect-ratio:1.16;max-height:425px;}
.up-school-v2 .hero-photo img{object-position:55% center;}
.up-school-v2 .zoom-mark{position:absolute;right:14px;bottom:14px;background:rgba(255,255,255,.96);width:32px;height:32px;border-radius:50%;display:grid;place-items:center;color:var(--purple);border:1px solid var(--up-ui-line, #8b7a9a);}
.up-school-v2 .hero-facts{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--up-ui-line, #8b7a9a);background:white;border-radius:8px;margin-top:34px;padding:23px 6px;}
.up-school-v2 .hero-facts>div{padding:0 25px;border-right:1px solid var(--line);}
.up-school-v2 .hero-facts>div:last-child{border:0;}
.up-school-v2 .hero-facts dt{color:var(--muted);margin-bottom:5px;}

.up-school-v2 .hero-facts dd span{margin-left:3px;}

.up-school-v2 .section-nav-shell{position:sticky;top:var(--upsd2-header-height);background:rgba(255,255,255,.98);border-top:1px solid var(--faint);border-bottom:1px solid var(--up-ui-line, #8b7a9a);z-index:20;}
.up-school-v2 .section-nav{display:flex;justify-content:space-between;gap:10px;overflow-x:auto;scrollbar-width:none;}
.up-school-v2 .section-nav::-webkit-scrollbar{display:none;}
.up-school-v2 .section-nav a{white-space:nowrap;padding:19px 5px 17px;border-bottom:4px solid transparent;color:#6b6472;}
.up-school-v2 .section-nav a.active{color:var(--purple);border-color:var(--purple);}
.up-school-v2 .section{padding:56px 0;border-bottom:1px solid var(--up-ui-line, #8b7a9a);scroll-margin-top:0;}
.up-school-v2 .section-heading{display:flex;gap:17px;align-items:flex-start;margin-bottom:28px;}
.up-school-v2 .section-number{width:35px;height:35px;display:flex;align-items:center;justify-content:center;border-radius:50%;background:var(--soft);color:var(--purple);flex-shrink:0;margin-top:6px;}
.up-school-v2 .section-heading p{margin-top:7px;color:var(--muted);}
.up-school-v2 .overview-grid{display:grid;grid-template-columns:1.35fr 1fr;gap:42px;align-items:start;}
.up-school-v2 .prose h3{margin-bottom:13px;}
.up-school-v2 .prose p{color:#534d5b;}
.up-school-v2 .fit-box{background:var(--warm);border:1px solid var(--line);border-left:4px solid var(--purple);padding:24px;border-radius:6px;}
.up-school-v2 .small-label{color:var(--purple);}
.up-school-v2 .fit-box h3{margin:9px 0 15px;}
.up-school-v2 .check-list{padding:0;list-style:none;display:grid;gap:11px;}
.up-school-v2 .check-list li{padding-left:23px;position:relative;}
.up-school-v2 .check-list li:before{content:"✓";color:var(--purple);position:absolute;left:0;}
.up-school-v2 .number-strip{display:grid;grid-template-columns:repeat(4,1fr);border-block:1px solid var(--line);padding:24px 0;margin-top:34px;}
.up-school-v2 .number-strip>div{padding-left:24px;border-left:1px solid var(--line);}
.up-school-v2 .number-strip>div:first-child{border:0;padding-left:0;}
.up-school-v2 .number-strip dt{color:var(--muted);}
.up-school-v2 .number-strip dd{margin-top:9px;}
.up-school-v2 .number-strip dd span{margin-left:5px;}
.up-school-v2 .location-card{display:grid;grid-template-columns:1.1fr 1fr;border:1px solid var(--line);border-radius:8px;overflow:hidden;}
.up-school-v2 .location-main{padding:29px;background:var(--warm);}
.up-school-v2 .location-main h3{margin-top:12px;}
.up-school-v2 .location-main h3 span{display:block;margin-top:2px;color:var(--muted);}
.up-school-v2 .location-main>p:not(.small-label){margin-top:15px;}
.up-school-v2 .location-main address{font-style:normal;color:var(--muted);margin-top:11px;}
.up-school-v2 .location-links{display:flex;gap:8px;flex-wrap:wrap;margin-top:21px;}
.up-school-v2 .location-details{padding:8px 30px;align-self:center;}
.up-school-v2 .location-details>div{padding:23px 0;border-bottom:1px solid var(--line);}
.up-school-v2 .location-details>div:last-child{border:0;}
.up-school-v2 .location-details dt{color:var(--purple);margin-bottom:8px;}
.up-school-v2 .location-details dd strong{display:block;}
.up-school-v2 .location-details dd span{display:block;margin-top:7px;color:var(--muted);}
.up-school-v2 .course-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:17px;align-items:start;}
.up-school-v2 .course-card{border:1.5px solid var(--up-ui-line, #8b7a9a);border-radius:8px;overflow:hidden;padding:24px 22px 0;}
.up-school-v2 .course-kicker{color:var(--purple);}
.up-school-v2 .course-card h3{margin-top:8px;}
.up-school-v2 .course-summary{color:var(--muted);margin-top:9px;min-height:56px;}
.up-school-v2 .course-card dl{margin:20px 0;min-height:109px;display:flex;flex-direction:column;gap:12px;}
.up-school-v2 .course-card dl>div{display:grid;grid-template-columns:74px 1fr;gap:8px;}
.up-school-v2 .course-card dt{color:var(--muted);}

.up-school-v2 details>summary{list-style:none;cursor:pointer;display:flex;align-items:center;justify-content:space-between;gap:20px;}
.up-school-v2 details>summary::-webkit-details-marker{display:none;}
.up-school-v2 .course-card details{border-top:1px solid var(--line);}
.up-school-v2 .course-card summary{min-height:60px;color:var(--purple);}
.up-school-v2 .plus{display:block;position:relative;flex-shrink:0;width:18px;height:18px;color:var(--purple);}
.up-school-v2 .plus:before,.up-school-v2 .plus:after{content:"";position:absolute;background:currentColor;left:0;top:8px;width:18px;height:2px;}
.up-school-v2 .plus:after{transform:rotate(90deg);transition:transform .15s;}
.up-school-v2 details[open]>summary .plus:after{transform:rotate(0);}
.up-school-v2 .detail-body{padding:18px 0 22px;border-top:1px solid var(--line);color:#514b59;}
.up-school-v2 .detail-body p+p{margin-top:13px;}
.up-school-v2 .plain-list{padding-left:20px;margin-bottom:15px;}
.up-school-v2 .plain-list li+li{margin-top:7px;}
.up-school-v2 .subsection{margin-top:34px;}
.up-school-v2 .subheading{display:flex;gap:15px;align-items:center;margin-bottom:17px;}
.up-school-v2 .sub-tag{display:inline-flex;color:var(--purple);background:var(--soft);border:1px solid var(--up-ui-line, #8b7a9a);border-radius:4px;padding:3px 9px;white-space:nowrap;}
.up-school-v2 .english-path{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid var(--line);border-radius:8px;background:var(--warm);}
.up-school-v2 .english-path>div{padding:25px;border-right:1px solid var(--line);}
.up-school-v2 .english-path>div:last-child{border:0;}
.up-school-v2 .path-level{color:var(--purple);}
.up-school-v2 .english-path h4{margin:6px 0 10px;}
.up-school-v2 .english-path p{color:#595261;}
.up-school-v2 .section-note{margin-top:14px;color:var(--muted);}
.up-school-v2 .feature-rows{margin-top:18px;border-top:1px solid var(--line);}
.up-school-v2 .feature-rows>div{display:grid;grid-template-columns:235px 1fr;gap:30px;padding:21px 0;border-bottom:1px solid var(--line);}
.up-school-v2 .feature-rows p{color:#534c5c;}

.up-school-v2 .consult-band{background:var(--soft);border:1px solid var(--up-ui-line, #8b7a9a);border-left:4px solid var(--purple);border-radius:7px;padding:25px 27px;margin-top:35px;display:flex;gap:25px;align-items:center;justify-content:space-between;}
.up-school-v2 .consult-band h3{margin-top:6px;}
.up-school-v2 .consult-band p{color:var(--muted);margin-top:8px;}
.up-school-v2 .consult-band .button{flex-shrink:0;gap:12px;padding:12px 17px;}
.up-school-v2 .admission-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;align-items:start;}
.up-school-v2 .info-panel{border:1px solid var(--line);border-radius:8px;padding:24px 26px;}
.up-school-v2 .panel-top{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-bottom:18px;}

.up-school-v2 .info-rows>div{display:grid;grid-template-columns:95px 1fr;gap:18px;border-top:1px solid var(--line);padding:16px 0;}
.up-school-v2 .info-rows dt{color:var(--muted);}
.up-school-v2 .info-rows dd strong{display:block;}
.up-school-v2 .info-rows dd span{color:var(--muted);display:block;margin-top:5px;}
.up-school-v2 .info-rows>div:last-child{padding-bottom:0;}
.up-school-v2 .document-list{list-style:none;padding:0;}
.up-school-v2 .document-list li{display:flex;gap:15px;padding:14px 0;border-top:1px solid var(--line);}
.up-school-v2 .document-list li>span{color:var(--purple);}

.up-school-v2 .document-list p{color:var(--muted);margin-top:3px;}
.up-school-v2 .plain-details{border-top:1px solid var(--line);margin-top:4px;}
.up-school-v2 .plain-details summary{color:var(--purple);padding:16px 0 0;}
.up-school-v2 .plain-details[open] summary{padding-bottom:16px;}
.up-school-v2 .plain-details .detail-body{padding-bottom:0;}
.up-school-v2 .intake-row{display:grid;grid-template-columns:210px 1fr;gap:26px;padding:25px 0;margin:15px 0;border-bottom:1px solid var(--line);}
.up-school-v2 .intake-row .small-label{display:block;}
.up-school-v2 .intake-row strong{display:block;margin-top:5px;}
.up-school-v2 .intake-row>p{align-self:center;color:var(--muted);}
.up-school-v2 .wide-details{border:1px solid var(--up-ui-line, #8b7a9a);border-radius:7px;margin-top:14px;}
.up-school-v2 .wide-details summary{padding:22px 25px;min-height:83px;}
.up-school-v2 .wide-details summary strong{display:block;}
.up-school-v2 .wide-details summary small{color:var(--muted);display:block;margin-top:5px;}
.up-school-v2 .wide-details .detail-body{margin:0 25px;padding:21px 0 24px;}
.up-school-v2 .wide-details[open]{border-color:var(--purple);}
.up-school-v2 .wide-details[open] summary{background:var(--warm);}
.up-school-v2 .fee-panel{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--up-ui-line, #8b7a9a);border-radius:9px;overflow:hidden;}
.up-school-v2 .fee-total{padding:32px;background:var(--soft);}
.up-school-v2 .year-label{display:inline-flex;color:var(--purple);border-bottom:1px solid var(--up-ui-line, #8b7a9a);padding-bottom:7px;margin-bottom:22px;}

.up-school-v2 .price{margin-top:9px;color:var(--purple-dark);white-space:nowrap;}
.up-school-v2 .price>span{margin-right:5px;}
.up-school-v2 .fee-total>.price+p{margin-top:15px;color:#5c5065;}
.up-school-v2 .fee-term{display:block;color:var(--muted);margin-top:23px;}
.up-school-v2 .fee-breakdown{padding:20px 30px;}
.up-school-v2 .fee-breakdown>div{display:flex;justify-content:space-between;gap:16px;padding:14px 0;border-bottom:1px solid var(--line);}
.up-school-v2 .fee-breakdown dt>span{color:var(--muted);margin-left:8px;white-space:nowrap;}

.up-school-v2 .fee-breakdown .sum{border:0;padding-top:18px;color:var(--purple);}
.up-school-v2 .fee-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px;align-items:start;}
.up-school-v2 .mini-fees>div{display:flex;justify-content:space-between;gap:15px;padding:10px 0;border-bottom:1px solid var(--faint);}
.up-school-v2 .mini-fees dd{text-align:right;}
.up-school-v2 .mini-fees+p{margin-top:15px;}
.up-school-v2 .scholarship-row{display:grid;grid-template-columns:150px 1fr;gap:30px;border-block:1px solid var(--line);padding:24px 0;margin-top:27px;}

.up-school-v2 .scholarship-row p{color:var(--muted);}
.up-school-v2 .budget-note{margin-top:18px;color:var(--muted);}
.up-school-v2 .budget-note strong{color:var(--ink);}
.up-school-v2 .boarding-intro{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:start;}
.up-school-v2 .boarding-photo{height:422px;}
.up-school-v2 .boarding-photo img{object-position:58% center;}
.up-school-v2 .boarding-facts h3{margin:7px 0 16px;}
.up-school-v2 .boarding-facts .info-rows>div{padding:13px 0;}
.up-school-v2 .boarding-details{margin-top:25px;}
.up-school-v2 .detail-rows>div{display:grid;grid-template-columns:110px 1fr;gap:25px;padding:14px 0;border-bottom:1px solid var(--faint);}
.up-school-v2 .detail-rows>div:first-child{padding-top:0;}
.up-school-v2 .detail-rows>div:last-child{border:0;padding-bottom:0;}
.up-school-v2 .detail-rows dt{color:var(--purple);}
.up-school-v2 .day-flow{display:grid;grid-template-columns:repeat(4,1fr);list-style:none;padding:0;margin:23px 0 0;position:relative;}
.up-school-v2 .day-flow li{position:relative;padding-top:27px;}
.up-school-v2 .day-flow li:before{content:"";position:absolute;top:0;left:0;width:11px;height:11px;border:3px solid var(--purple);border-radius:50%;background:white;z-index:1;}
.up-school-v2 .day-flow li:after{content:"";position:absolute;top:7px;left:0;width:100%;height:1px;background:#b4a3c1;}
.up-school-v2 .day-flow li:last-child:after{display:none;}
.up-school-v2 .day-flow span{display:block;color:var(--muted);}
.up-school-v2 .day-flow strong{display:block;margin-top:3px;}
.up-school-v2 .campus-photos{display:grid;grid-template-columns:1fr 1fr;gap:20px;}
.up-school-v2 .campus-photos .photo-button{aspect-ratio:1.9;}

.up-school-v2 .support-section{border:0;padding-bottom:65px;}
.up-school-v2 .support-intro{max-width:800px;margin-bottom:30px;}
.up-school-v2 .support-intro h3{margin-bottom:10px;}
.up-school-v2 .support-intro p{color:var(--muted);}
.up-school-v2 .support-flow{list-style:none;padding:0;}
.up-school-v2 .support-flow>li{display:grid;grid-template-columns:55px 1fr;gap:24px;position:relative;}
.up-school-v2 .support-flow>li:before{content:"";position:absolute;left:24px;top:42px;bottom:-5px;border-left:1px solid var(--up-ui-line, #8b7a9a);}
.up-school-v2 .support-flow>li:last-child:before{display:none;}
.up-school-v2 .step-number{background:white;width:49px;height:49px;border:1.5px solid var(--up-ui-line, #8b7a9a);color:var(--purple);border-radius:50%;display:grid;place-items:center;margin-top:12px;z-index:1;}
.up-school-v2 .support-flow details{border-top:1px solid var(--line);}
.up-school-v2 .support-flow summary{padding:19px 0;}
.up-school-v2 .support-flow summary strong{display:block;}
.up-school-v2 .support-flow summary small{color:var(--muted);margin-top:5px;display:block;}
.up-school-v2 .support-flow .detail-body{padding:20px 0 24px;border-top:1px dashed var(--line);max-width:850px;}
.up-school-v2 .support-flow>li:last-child details{border-bottom:1px solid var(--line);}
.up-school-v2 .final-cta{background:var(--purple);color:white;padding:54px 0;}
.up-school-v2 .final-inner{display:flex;align-items:center;justify-content:space-between;gap:50px;}
.up-school-v2 .final-cta .eyebrow{color:#ddd1e8;}

.up-school-v2 .final-cta p:not(.eyebrow){color:#eee7f3;margin-top:18px;}
.up-school-v2 .final-actions{min-width:290px;display:flex;flex-direction:column;gap:24px;}
.up-school-v2 .button.light{background:white;color:var(--purple);padding:15px 24px;}
.up-school-v2 .phone-link{text-align:center;}
.up-school-v2 .phone-link span{display:block;color:#e7dbef;margin-bottom:5px;}
.up-school-v2 .other-schools{display:flex;align-items:center;justify-content:space-between;gap:25px;padding-top:43px;padding-bottom:43px;}
.up-school-v2 .other-schools h2{margin-top:6px;}
.up-school-v2 .other-schools p:not(.small-label){color:var(--muted);margin-top:8px;}
.up-school-v2 .other-schools .button{flex-shrink:0;}
.up-school-v2 .site-footer{background:#f4f3f6;border-top:1px solid var(--line);padding:38px 0 30px;color:#675e70;}
.up-school-v2 .footer-top{display:flex;justify-content:space-between;align-items:center;gap:25px;}
.up-school-v2 .footer-top .brand img{width:152px;}
.up-school-v2 .footer-top>div{display:flex;gap:25px;}
.up-school-v2 .footer-message{color:var(--ink);margin-top:22px;margin-bottom:9px;}
.up-school-v2 .site-footer address{font-style:normal;}
.up-school-v2 .business{margin-top:9px;}
.up-school-v2 .business span{margin:0 6px;}
.up-school-v2 .copyright{margin-top:20px;}
.up-school-v2 .floating-tools{position:fixed;right:max(15px,calc((100vw - 1120px)/2 - 94px));bottom:38px;z-index:30;display:flex;flex-direction:column;gap:9px;align-items:center;}
.up-school-v2 .agent-toggle{display:flex;flex-direction:column;align-items:center;justify-content:center;width:65px;height:70px;border:1px solid var(--up-ui-line, #8b7a9a);background:white;border-radius:8px;box-shadow:0 4px 14px #39214814;color:var(--purple);}
.up-school-v2 .agent-toggle svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.5;}
.up-school-v2 .agent-toggle span{margin-top:5px;}
.up-school-v2 .to-top{width:43px;height:42px;background:#fff;border:1px solid var(--line);border-radius:50%;}
.up-school-v2 .agent-panel{position:fixed;right:90px;bottom:90px;width:300px;border:1px solid var(--up-ui-line, #8b7a9a);border-radius:10px;background:#fff;padding:23px;box-shadow:0 8px 35px #27113726;z-index:31;}
.up-school-v2 .agent-panel .panel-top{margin-bottom:15px;}


.up-school-v2 .agent-panel .agent-caption{color:var(--muted);margin-top:3px;}
.up-school-v2 .agent-panel .button{margin-top:20px;width:100%;}
.up-school-v2 .icon-button{padding:6px;min-height:40px;min-width:40px;}
.up-school-v2 .mobile-consult{display:none;}
.up-school-v2 dialog{border:0;border-radius:10px;padding:0;max-width:calc(100% - 36px);max-height:90dvh;box-shadow:0 20px 80px #0003;}
.up-school-v2 dialog::backdrop{background:#161021ce;}
.up-school-v2 #upsd2-photo-dialog{background:#17121d;width:min(1100px,90vw);overflow:auto;}
.up-school-v2 #upsd2-photo-dialog img{max-height:78dvh;object-fit:contain;width:100%;}
.up-school-v2 #upsd2-photo-dialog .dialog-close{position:absolute;right:12px;top:12px;color:#222;background:white;border-radius:50%;width:42px;height:42px;}
.up-school-v2 .image-back{display:block;color:white;margin:8px auto;padding:8px 20px;}
.up-school-v2 .share-inner{padding:28px;width:min(490px,calc(100vw - 36px));}

.up-school-v2 .share-inner p{color:var(--muted);}
.up-school-v2 .share-inner label{color:var(--muted);display:block;margin-top:20px;}
.up-school-v2 .share-inner input{width:100%;padding:12px;border:1px solid var(--line);border-radius:5px;color:var(--ink);margin-top:6px;}
.up-school-v2 .share-inner .button{width:100%;margin-top:15px;}
.up-school-v2 #upsd2-copy-status{min-height:24px;margin-top:9px;}
.up-school-v2 .photo-button:hover .zoom-mark{background:var(--soft);}
.up-school-v2 [hidden]{display:none!important;}
@media (min-width:1600px){.up-school-v2 .hero{gap:55px;}
.up-school-v2 .header-row{gap:42px;}}
@media (max-width:1100px){
.up-school-v2 .global-nav{gap:18px;}
.up-school-v2 .header-row{gap:24px;}
.up-school-v2 .brand img{width:142px;}
.up-school-v2 .header-consult{padding:7px 11px;}
.up-school-v2 .hero{gap:28px;}
.up-school-v2 .hero-photo{max-height:none;aspect-ratio:1.05;}

.up-school-v2 .title-row{gap:10px;}
.up-school-v2 .hero-facts>div{padding:0 17px;}

.up-school-v2 .hero-actions{gap:8px;}
.up-school-v2 .hero-actions .button{padding:11px 13px;gap:15px;}
.up-school-v2 .course-card{padding:21px 17px 0;}

.up-school-v2 .course-card dl>div{grid-template-columns:62px 1fr;}

.up-school-v2 .consult-band{flex-direction:column;align-items:stretch;}
.up-school-v2 .consult-band .button{align-self:flex-start;}
.up-school-v2 .overview-grid{gap:26px;}
.up-school-v2 .floating-tools{right:10px;}
.up-school-v2 .info-panel{padding:21px;}
.up-school-v2 .info-rows>div{grid-template-columns:80px 1fr;gap:12px;}
.up-school-v2 .boarding-intro{gap:25px;}

.up-school-v2 .boarding-photo{height:420px;}
.up-school-v2 .fee-total{padding:28px;}
.up-school-v2 .fee-breakdown{padding:18px 25px;}}
@media (max-width:800px){
.up-school-v2 .header-row{height:77px;gap:16px;flex-wrap:nowrap;}
.up-school-v2 .global-nav{display:none;}
.up-school-v2 .header-consult{margin-left:auto;}
.up-school-v2 .brand img{width:145px;}
.up-school-v2 .hero{grid-template-columns:1fr 1fr;align-items:start;gap:22px;}

.up-school-v2 .hero-photo{height:340px;aspect-ratio:auto;}
.up-school-v2 .hero-actions{flex-direction:column;align-items:stretch;}
.up-school-v2 .hero-actions .button{padding:9px 12px;}
.up-school-v2 .hero-facts{grid-template-columns:repeat(2,1fr);padding:0;}
.up-school-v2 .hero-facts>div{padding:18px 22px;border-bottom:1px solid var(--line);}
.up-school-v2 .hero-facts>div:nth-child(2){border-right:0;}
.up-school-v2 .hero-facts>div:nth-child(3){border-bottom:0;}
.up-school-v2 .hero-facts>div:last-child{border:0;}


.up-school-v2 .section-nav{justify-content:flex-start;gap:26px;}
.up-school-v2 .section-nav a{padding:17px 0 14px;}
.up-school-v2 .section{padding:42px 0;}
.up-school-v2 .overview-grid{grid-template-columns:1fr;}
.up-school-v2 .fit-box{padding:23px;}
.up-school-v2 .number-strip>div{padding-left:17px;}


.up-school-v2 .location-card{grid-template-columns:1fr;}
.up-school-v2 .location-main{padding:26px;}
.up-school-v2 .location-details{padding:0 26px;}
.up-school-v2 .course-grid{grid-template-columns:1fr;gap:16px;}
.up-school-v2 .course-card{padding:23px 25px 0;}

.up-school-v2 .course-summary{min-height:0;margin-top:7px;}
.up-school-v2 .course-card dl{min-height:0;display:grid;grid-template-columns:1fr 1fr;margin:22px 0;gap:20px;}
.up-school-v2 .course-card dl>div{display:block;}
.up-school-v2 .course-card dd{margin-top:4px;}

.up-school-v2 .english-path{grid-template-columns:1fr;}
.up-school-v2 .english-path>div{border-right:0;border-bottom:1px solid var(--line);padding:21px 25px;}

.up-school-v2 .feature-rows>div{grid-template-columns:180px 1fr;gap:23px;}
.up-school-v2 .admission-grid{grid-template-columns:1fr;gap:20px;}
.up-school-v2 .info-panel{padding:24px 25px;}
.up-school-v2 .info-rows>div{grid-template-columns:100px 1fr;}
.up-school-v2 .fee-total{padding:24px;}
.up-school-v2 .fee-breakdown{padding:13px 23px;}


.up-school-v2 .fee-breakdown dt>span{display:block;margin-left:0;}
.up-school-v2 .fee-detail-grid{grid-template-columns:1fr;gap:0;}
.up-school-v2 .boarding-intro{grid-template-columns:1fr;}
.up-school-v2 .boarding-photo{height:330px;}

.up-school-v2 .boarding-facts .info-rows>div{padding:15px 0;}
.up-school-v2 .final-inner{gap:28px;}

.up-school-v2 .final-actions{min-width:250px;}
.up-school-v2 .final-actions .button{padding:13px 15px;}

.up-school-v2 .other-schools{padding-top:35px;padding-bottom:35px;}

.up-school-v2 .other-schools .button{gap:13px;}
.up-school-v2 .footer-top>div{gap:17px;}
.up-school-v2 .floating-tools{bottom:85px;right:11px;}
.up-school-v2 .agent-toggle{width:50px;height:57px;opacity:.98;}
.up-school-v2 .agent-toggle svg{width:20px;height:20px;}
.up-school-v2 .agent-toggle span{margin-top:2px;}
.up-school-v2 .to-top{width:35px;height:35px;}
.up-school-v2 .agent-panel{right:70px;bottom:95px;}
.up-school-v2 .mobile-consult{display:grid;grid-template-columns:1fr 1fr 1.2fr;position:fixed;left:0;right:0;bottom:0;min-height:61px;border-top:1px solid var(--up-ui-line, #8b7a9a);background:#fff;z-index:29;padding-bottom:env(safe-area-inset-bottom);}
.up-school-v2 .mobile-consult a{display:flex;align-items:center;justify-content:center;border-right:1px solid var(--line);padding:16px 5px;}
.up-school-v2 .mobile-consult a:last-child{background:var(--purple);color:white;border:0;}
.up-school-v2 .site-footer{padding-bottom:95px;}}
@media (max-width:600px){


.up-school-v2 .header-row{height:68px;}
.up-school-v2 .header-consult{padding:6px 10px;gap:12px;}
.up-school-v2 .brand img{width:137px;}
.up-school-v2 .breadcrumb{padding:18px 0 24px;gap:9px;}
.up-school-v2 .hero-shell{padding-bottom:25px;}
.up-school-v2 .hero{grid-template-columns:1fr;gap:25px;}
.up-school-v2 .eyebrow{margin-bottom:12px;}
.up-school-v2 .title-row{gap:11px;align-items:flex-start;}
.up-school-v2 .title-row h1{width:100%;}
.up-school-v2 .title-row .share{order:1;min-height:36px;margin-top:1px;}
.up-school-v2 .hero-copy{display:flex;flex-direction:column;}
.up-school-v2 .school-en{margin-top:8px;order:0;}
.up-school-v2 .title-row{display:contents;}
.up-school-v2 .title-row h1{order:-2;}
.up-school-v2 .eyebrow{order:-3;}
.up-school-v2 .title-row .share{align-self:flex-start;order:1;margin-top:13px;}
.up-school-v2 .tags{order:2;margin-top:18px;gap:7px;}
.up-school-v2 .tags span{padding:4px 9px;}
.up-school-v2 .hero-intro{order:3;margin-top:20px;}
.up-school-v2 .desktop-only{display:none;}
.up-school-v2 .hero-actions{order:4;flex-direction:row;margin-top:23px;gap:9px;}
.up-school-v2 .hero-actions .button{padding:12px 12px;flex:1;gap:10px;min-height:49px;}
.up-school-v2 .hero-photo{height:auto;aspect-ratio:1.55;order:2;}
.up-school-v2 .hero-facts{margin-top:22px;}
.up-school-v2 .hero-facts>div{padding:16px 18px;}
.up-school-v2 .hero-facts dt{margin-bottom:5px;}



.up-school-v2 .section-nav{gap:23px;}
.up-school-v2 .section-nav a{padding:16px 0 13px;}
.up-school-v2 .section{padding:37px 0;scroll-margin-top:0;}
.up-school-v2 .section-heading{gap:12px;margin-bottom:24px;}
.up-school-v2 .section-number{width:29px;height:29px;margin-top:4px;flex-shrink:0;}

.up-school-v2 .section-heading p{margin-top:8px;}
.up-school-v2 .section-heading>div{min-width:0;}
.up-school-v2 .prose h3{margin-bottom:13px;}

.up-school-v2 .overview-grid{gap:22px;}
.up-school-v2 .fit-box{padding:21px;}

.up-school-v2 .check-list{gap:12px;}
.up-school-v2 .number-strip{grid-template-columns:1fr 1fr;padding:0;margin-top:26px;}
.up-school-v2 .number-strip>div{padding:19px 16px;border-left:0;border-bottom:1px solid var(--line);}
.up-school-v2 .number-strip>div:nth-child(odd){padding-left:0;border-right:1px solid var(--line);}
.up-school-v2 .number-strip>div:first-child{padding-top:19px;border-bottom:1px solid var(--line);border-right:1px solid var(--line);}
.up-school-v2 .number-strip>div:nth-child(n/**/+3){border-bottom:0;}

.up-school-v2 .number-strip dd{margin-top:8px;}

.up-school-v2 .location-main{padding:23px;}

.up-school-v2 .location-main h3 span{margin-top:4px;}


.up-school-v2 .location-links{gap:7px;margin-top:19px;}
.up-school-v2 .location-links .badge{padding:8px 10px;}
.up-school-v2 .location-details{padding:0 23px;}
.up-school-v2 .location-details>div{padding:22px 0;}


.up-school-v2 .course-card{padding:22px 22px 0;}

.up-school-v2 .course-summary{margin-top:9px;}
.up-school-v2 .course-card dl{grid-template-columns:1fr;gap:13px;margin:19px 0;}
.up-school-v2 .course-card dl>div{display:grid;grid-template-columns:85px 1fr;gap:10px;}
.up-school-v2 .course-card dd{margin:0;}
.up-school-v2 .course-card summary{min-height:61px;gap:12px;}
.up-school-v2 .detail-body{padding-top:17px;}
.up-school-v2 .subsection{margin-top:28px;}

.up-school-v2 .subheading{flex-wrap:wrap;gap:9px;margin-bottom:15px;}

.up-school-v2 .english-path>div{padding:21px 22px;}

.up-school-v2 .english-path h4{margin:5px 0 9px;}

.up-school-v2 .section-note{margin-top:13px;}
.up-school-v2 .feature-rows{margin-top:15px;}
.up-school-v2 .feature-rows>div{display:block;padding:22px 0;}
.up-school-v2 .feature-rows h4,.up-school-v2 .life-rows h3{margin-bottom:9px;}

.up-school-v2 .consult-band{padding:22px 21px;margin-top:27px;gap:18px;}
.up-school-v2 .consult-band h3{margin-top:8px;}

.up-school-v2 .consult-band .button{align-self:stretch;padding:12px;}
.up-school-v2 .info-panel{padding:22px;}
.up-school-v2 .panel-top{gap:10px;margin-bottom:17px;}

.up-school-v2 .info-rows>div{grid-template-columns:79px 1fr;gap:12px;padding:17px 0;}



.up-school-v2 .document-list li{padding:16px 0;gap:13px;}

.up-school-v2 .document-list p{margin-top:5px;}
.up-school-v2 .plain-details summary{gap:16px;padding-top:17px;}
.up-school-v2 .intake-row{grid-template-columns:1fr;gap:12px;margin:10px 0 20px;padding:23px 0;}
.up-school-v2 .intake-row strong{margin-top:4px;}

.up-school-v2 .wide-details summary{padding:21px;gap:17px;}

.up-school-v2 .wide-details summary small{margin-top:6px;}
.up-school-v2 .wide-details .detail-body{margin:0 21px;padding:20px 0 23px;}
.up-school-v2 .fee-panel{grid-template-columns:1fr;}
.up-school-v2 .fee-total{padding:25px;}
.up-school-v2 .year-label{margin-bottom:18px;}

.up-school-v2 .price{margin-top:7px;}


.up-school-v2 .fee-term{margin-top:18px;}
.up-school-v2 .fee-breakdown{padding:14px 24px;}
.up-school-v2 .fee-breakdown>div{padding:13px 0;}
.up-school-v2 .fee-breakdown dt>span{display:inline;margin-left:6px;}
.up-school-v2 .fee-breakdown .sum{padding:17px 0;}
.up-school-v2 .fee-detail-grid .wide-details{margin-top:15px;}
.up-school-v2 .mini-fees>div{gap:13px;}

.up-school-v2 .scholarship-row{display:block;padding:21px 0;margin-top:23px;}
.up-school-v2 .scholarship-row h3{margin-bottom:10px;}


.up-school-v2 .budget-note strong{display:block;margin-bottom:7px;}
.up-school-v2 .boarding-intro{gap:24px;}
.up-school-v2 .boarding-photo{height:auto;aspect-ratio:1.25;}
.up-school-v2 .boarding-facts h3{margin:8px 0 18px;}
.up-school-v2 .boarding-facts .info-rows>div{padding:15px 0;grid-template-columns:82px 1fr;}
.up-school-v2 .boarding-details{margin-top:21px;}
.up-school-v2 .detail-rows>div{display:block;padding:17px 0;}
.up-school-v2 .detail-rows dt{margin-bottom:7px;}

.up-school-v2 .day-flow{grid-template-columns:1fr 1fr;row-gap:24px;margin-top:23px;}
.up-school-v2 .day-flow li:nth-child(2):after{display:none;}
.up-school-v2 .day-flow li{padding-top:22px;}


.up-school-v2 .campus-photos{gap:12px;grid-template-columns:1fr 1fr;}
.up-school-v2 .campus-photos .photo-button{aspect-ratio:1.06;border-radius:6px;}
.up-school-v2 .campus-photos .zoom-mark{width:27px;height:27px;right:8px;bottom:8px;}
.up-school-v2 .life-rows{margin-top:21px;}


.up-school-v2 .support-flow>li{grid-template-columns:38px 1fr;gap:15px;}
.up-school-v2 .support-flow>li:before{left:18px;top:40px;}
.up-school-v2 .step-number{width:37px;height:37px;margin-top:17px;}
.up-school-v2 .support-flow summary{padding:19px 0;gap:12px;}

.up-school-v2 .support-flow summary small{margin-top:5px;}

.up-school-v2 .support-section{padding-bottom:40px;}
.up-school-v2 .final-cta{padding:37px 0 39px;}
.up-school-v2 .final-inner{display:block;}

.up-school-v2 .final-cta p:not(.eyebrow){margin-top:16px;}
.up-school-v2 .final-actions{margin-top:25px;gap:23px;min-width:0;}
.up-school-v2 .final-actions .button{padding:14px 17px;min-height:56px;}


.up-school-v2 .other-schools{display:block;padding-top:31px;padding-bottom:33px;}
.up-school-v2 .other-schools h2{margin-top:8px;}
.up-school-v2 .other-schools p:not(.small-label){margin-top:10px;}
.up-school-v2 .other-schools .button{display:flex;width:100%;justify-content:space-between;padding:13px 20px;margin-top:21px;}
.up-school-v2 .footer-top{align-items:flex-start;flex-direction:column;gap:21px;}
.up-school-v2 .footer-top>div{gap:23px;}
.up-school-v2 .footer-top .brand img{width:139px;}
.up-school-v2 .footer-message{margin-top:23px;}

.up-school-v2 .business{max-width:320px;}

.up-school-v2 .floating-tools{bottom:84px;right:0;gap:8px;}
.up-school-v2 .agent-toggle{width:32px;height:49px;border-radius:6px 0 0 6px;}
.up-school-v2 .agent-toggle svg{width:18px;height:18px;}

.up-school-v2 .to-top{width:32px;height:32px;}
.up-school-v2 .agent-panel{right:62px;bottom:85px;width:min(290px,calc(100vw - 78px));padding:20px;}


.up-school-v2 .share-inner{padding:23px;}

.up-school-v2 .mobile-consult a{padding:17px 5px;}


.up-school-v2 .section-heading p{max-width:100%;}}
@media (max-width:360px){


.up-school-v2 .hero-actions .button{gap:7px;padding:11px 8px;}
.up-school-v2 .hero-facts>div{padding:15px;}

.up-school-v2 .course-card,.up-school-v2 .info-panel{padding-left:19px;padding-right:19px;}
.up-school-v2 .location-main{padding:21px;}
.up-school-v2 .location-details{padding:0 21px;}

.up-school-v2 .info-rows>div{grid-template-columns:70px 1fr;gap:10px;}
.up-school-v2 .section-nav{gap:20px;}
.up-school-v2 .wide-details summary{padding:20px;}

}
@media (prefers-reduced-motion:reduce){html.up-school-v2-page{scroll-behavior:auto;}
.up-school-v2,.up-school-v2 *{transition:none!important;}}

.up-school-v2 .hero-text-only{grid-template-columns:1fr;}
.up-school-v2 .number-strip{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));}
@media(max-width:600px){.up-school-v2 .number-strip{grid-template-columns:1fr 1fr;}}

/* Information-first school format: values and conditions before long explanations. */
.up-school-v2 .key-facts{display:grid;gap:14px;margin:0;padding:0;}
.up-school-v2 .admission-facts{grid-template-columns:repeat(4,minmax(0,1fr));margin-bottom:24px;}
.up-school-v2 .key-facts>div{min-width:0;border:1px solid var(--up-ui-line, #8b7a9a);border-top:3px solid var(--purple);border-radius:8px;padding:21px 20px;background:#fff;}
.up-school-v2 .key-facts dt{color:var(--purple);margin-bottom:10px;}
.up-school-v2 .key-facts dd>strong{display:block;color:var(--ink);}
.up-school-v2 .key-facts dd>strong span{margin-left:2px;}

.up-school-v2 .key-facts dd>p{margin-top:8px;}
.up-school-v2 .key-facts dd>p.fact-note{color:var(--muted);}
.up-school-v2 .admission-prep-grid{display:grid;grid-template-columns:1.15fr 1fr;gap:22px;align-items:start;}
.up-school-v2 .intake-panel{background:var(--warm);}
.up-school-v2 .intake-panel .intake-months{color:var(--purple-dark);margin:0 0 20px;}

.up-school-v2 .boarding-intro{grid-template-columns:minmax(0,1fr) minmax(0,1.08fr);align-items:stretch;gap:30px;}
.up-school-v2 .boarding-photo{height:auto;min-height:390px;align-self:stretch;}
.up-school-v2 .boarding-key-facts{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.up-school-v2 .boarding-key-facts>div{padding:15px 18px;border-top-width:1px;background:var(--warm);}
.up-school-v2 .boarding-key-facts dt{margin-bottom:5px;}

.up-school-v2 .boarding-key-facts dd>p{margin-top:5px;}
.up-school-v2 .shared-facilities{display:flex;gap:15px;margin-top:17px;padding-top:15px;border-top:1px solid var(--line);}
.up-school-v2 .shared-facilities strong{flex-shrink:0;color:var(--purple);}
.up-school-v2 .life-facts-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px;margin-top:25px;align-items:start;}
.up-school-v2 .life-fact-panel{border:1px solid var(--up-ui-line, #8b7a9a);border-radius:8px;padding:25px 27px;min-width:0;}
.up-school-v2 .life-fact-panel h3{margin-bottom:16px;}
.up-school-v2 .life-fact-list{list-style:none;padding:0;}
.up-school-v2 .life-fact-list li{display:flex;justify-content:space-between;gap:15px;border-bottom:1px solid var(--faint);padding:10px 0;}
.up-school-v2 .life-fact-list strong{color:var(--purple);flex-shrink:0;}
.up-school-v2 .life-fact-panel .plain-details{border-top:0;margin-top:0;}
.up-school-v2 .life-fact-panel .plain-details summary{min-height:44px;}

.up-school-v2 .academic-extra{margin-top:20px;}
.up-school-v2 .academic-extra .feature-rows{margin-top:0;border-top:0;}
.up-school-v2 .academic-extra .feature-rows>div:first-child{padding-top:0;}
.up-school-v2 .academic-extra .english-path{margin-top:0;}
.up-school-v2 .campus-photos{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));}
@media(max-width:1050px){
 .up-school-v2 .admission-facts{grid-template-columns:repeat(2,minmax(0,1fr));}
 .up-school-v2 .boarding-intro{gap:24px;}
 .up-school-v2 .boarding-key-facts>div{padding:14px;}
}
@media(max-width:800px){
 .up-school-v2 .admission-prep-grid{grid-template-columns:1fr;}
 .up-school-v2 .boarding-intro{grid-template-columns:1fr;}
 .up-school-v2 .boarding-photo{height:auto;min-height:0;aspect-ratio:1.55;}
 .up-school-v2 .boarding-key-facts{grid-template-columns:repeat(4,minmax(0,1fr));}
}
@media(max-width:600px){
 .up-school-v2 .key-facts{gap:12px;}
 .up-school-v2 .key-facts>div{padding:17px 14px;}
 .up-school-v2 .key-facts dt{margin-bottom:8px;}
 
 
 
 
 .up-school-v2 .admission-prep-grid{gap:18px;}
 
 .up-school-v2 .boarding-photo{aspect-ratio:1.35;}
 .up-school-v2 .boarding-key-facts{grid-template-columns:repeat(2,minmax(0,1fr));}
 .up-school-v2 .shared-facilities{gap:12px;}
 .up-school-v2 .life-facts-grid{grid-template-columns:1fr;gap:16px;margin-top:22px;}
 .up-school-v2 .life-fact-panel{padding:22px;}
 
 .up-school-v2 .academic-extra{margin-top:16px;}
 .up-school-v2 .campus-photos{grid-template-columns:1fr 1fr;}
}
@media(max-width:360px){
 .up-school-v2 .admission-facts{grid-template-columns:1fr;}
 .up-school-v2 .boarding-key-facts>div{padding:14px 12px;}
 .up-school-v2 .shared-facilities{display:block;}
 .up-school-v2 .shared-facilities span{display:block;margin-top:4px;}
}

/* Shared header stays outside the detail root; its own styles/menu remain authoritative. */
@media(max-width:1024px){html.up-school-v2-page{--upsd2-header-height:96px;}}


/* Match the shared header container's inner edges (20px desktop / 16px mobile). */
@media screen and (max-width:1024px){.up-school-v2 .wrap{width:calc(100% - 32px);max-width:calc(var(--up-global-container-width,1120px) - 32px);}}
.up-school-v2 .floating-tools{bottom:calc(var(--upsd2-quickbar-height,62px) + 18px);}
.up-school-v2 .agent-panel{bottom:calc(var(--upsd2-quickbar-height,62px) + 22px);}

@media screen and (max-width:359px){.up-school-v2 .wrap{width:calc(100% - 24px);max-width:calc(var(--up-global-container-width,1120px) - 24px);}}

/* The same visual system, with optional school-specific information fields. */
.up-school-v2.school-facts .hero-facts{grid-template-columns:repeat(4,minmax(0,1fr));}

.up-school-v2.school-facts .hero-facts small{display:block;margin-top:5px;color:var(--muted);}
.up-school-v2.school-facts .single-column{grid-template-columns:1fr;}
.up-school-v2.school-facts .normalized-facts{grid-template-columns:repeat(2,minmax(0,1fr));align-items:stretch;}
.up-school-v2.school-facts .normalized-facts .text-value{overflow-wrap:anywhere;}
.up-school-v2.school-facts .normalized-facts .fact-note{margin-top:10px;}
.up-school-v2.school-facts .normalized-facts>div{min-width:0;}
.up-school-v2.school-facts .admission-prep-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));}
.up-school-v2.school-facts .intake-label{color:var(--purple);}
.up-school-v2.school-facts .term-row{padding-top:18px;margin-top:18px;border-top:1px solid var(--line);}
.up-school-v2.school-facts .term-row p{margin-top:5px;}
.up-school-v2.school-facts .fee-panel{grid-template-columns:minmax(0,.95fr) minmax(0,1.2fr);}
.up-school-v2.school-facts .fee-total .price{overflow-wrap:anywhere;}

.up-school-v2.school-facts .fee-options{padding:26px;min-width:0;}
.up-school-v2.school-facts .fee-options h3{margin-bottom:12px;}
.up-school-v2.school-facts .fee-options dl>div{padding:17px 0;border-bottom:1px solid var(--line);}
.up-school-v2.school-facts .fee-options dl>div:last-child{border-bottom:0;}

.up-school-v2.school-facts .fee-options dt span,.up-school-v2.school-facts .fee-options dt small{display:block;color:var(--muted);margin-top:4px;}
.up-school-v2.school-facts .fee-options dd{color:var(--purple);margin-top:7px;}
.up-school-v2.school-facts .fee-consult-card{padding:28px;border:1.5px solid var(--line);border-radius:8px;background:var(--warm);}
.up-school-v2.school-facts .fee-consult-card p{margin:10px 0 20px;}
.up-school-v2.school-facts .housing-summary{margin-top:12px;color:var(--muted);}
.up-school-v2.school-facts .boarding-key-facts{margin-top:23px;}
.up-school-v2.school-facts .boarding-intro{align-items:start;}
.up-school-v2.school-facts .boarding-photo{aspect-ratio:4/3;min-height:0;align-self:start;}
.up-school-v2.school-facts .course-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,260px),1fr));}
.up-school-v2.school-facts .course-card{padding-bottom:23px;}
.up-school-v2.school-facts .course-card h3{margin-top:0;}
.up-school-v2.school-facts .course-card dl{min-height:0;margin-bottom:0;}
.up-school-v2.school-facts .course-summary{min-height:0;}
.up-school-v2.school-facts .campus-photos:has(> :only-child){grid-template-columns:1fr;}
.up-school-v2.school-facts .campus-photos:has(> :only-child) .photo-button{aspect-ratio:2.5;}
.up-school-v2.school-facts .life-facts-grid{grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));}

.up-school-v2.school-facts .hero-actions{flex-wrap:wrap;}
@media(max-width:700px){
 .up-school-v2.school-facts .hero-facts{grid-template-columns:repeat(2,minmax(0,1fr));}
 
 .up-school-v2.school-facts .normalized-facts{grid-template-columns:1fr;}
 
 .up-school-v2.school-facts .fee-panel{grid-template-columns:1fr;}
 
 .up-school-v2.school-facts .fee-options{padding:22px;}
 .up-school-v2.school-facts .campus-photos:has(> :only-child) .photo-button{aspect-ratio:1.6;}
 .up-school-v2.school-facts .boarding-intro{grid-template-columns:1fr;}
}

.up-school-v2.school-facts .fee-more{border-top:1px solid var(--line);margin-top:6px;}
.up-school-v2.school-facts .fee-more summary{padding:18px 0;color:var(--purple);cursor:pointer;}

/* Keep page scrolling vertical; the section tab rail has its own horizontal scroll. */
html.up-school-v2-page,html.up-school-v2-page body{overflow-x:clip;}

/* The same cost panel is used for Bodwell and every normalized school. */
.up-school-v2.school-facts .international-fee-panel{grid-template-columns:1fr 1fr;}

.up-school-v2 .international-fee-panel .fee-breakdown{display:flex;flex-direction:column;min-width:0;}
.up-school-v2 .international-fee-panel .fee-breakdown .sum{margin-top:auto;padding-top:24px;}
.up-school-v2 .international-fee-panel .fee-breakdown dt{min-width:0;overflow-wrap:anywhere;}
.up-school-v2 .international-fee-panel .fee-breakdown dd{flex-shrink:0;}
.up-school-v2 .fee-option-basis{display:block;color:var(--muted);margin-top:4px;}
@media(max-width:700px){
 .up-school-v2.school-facts .international-fee-panel{grid-template-columns:1fr;}
 
 .up-school-v2 .mini-fees>div{gap:12px;flex-wrap:wrap;}
}

.up-school-v2 .related-schools{padding-top:64px;padding-bottom:12px;}
.up-school-v2 .related-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:26px;}
.up-school-v2 .related-heading h2{margin-top:6px;}
.up-school-v2 .related-basis{color:var(--muted);}
.up-school-v2 .related-table{width:100%;border-spacing:0;border-collapse:separate;border:1px solid var(--up-ui-line, #8b7a9a);border-top:3px solid var(--purple);border-radius:8px;overflow:hidden;}
.up-school-v2 .related-table th,.up-school-v2 .related-table td{text-align:left;padding:18px 16px;border-bottom:1px solid var(--line);vertical-align:middle;}
.up-school-v2 .related-table thead th{background:var(--soft);color:var(--purple);}
.up-school-v2 .related-table tbody tr:last-child>*{border-bottom:0;}
.up-school-v2 .related-table tbody th{width:35%;}
.up-school-v2 .related-school-name{display:flex;gap:13px;align-items:center;}
.up-school-v2 .related-school-name img{width:52px;height:64px;object-fit:cover;border-radius:5px;flex:none;}
.up-school-v2 .related-school-name strong{display:block;}
.up-school-v2 .related-table small,.up-school-v2 .related-cost>span{display:block;color:var(--muted);margin-top:4px;}
.up-school-v2 .related-location{width:13%;}
.up-school-v2 .related-cost{width:37%;}
.up-school-v2 .related-cost>strong{color:var(--purple);}
.up-school-v2 .related-action{white-space:nowrap;}
.up-school-v2 .related-action .badge{min-height:40px;padding:8px 12px;}
@media(max-width:700px){
 .up-school-v2 .related-schools{padding-top:42px;}
 .up-school-v2 .related-heading{display:block;}
 .up-school-v2 .related-basis{display:block;margin-top:10px;}
 .up-school-v2 .related-table,.up-school-v2 .related-table tbody{display:block;border:0;overflow:visible;}
 .up-school-v2 .related-table thead{display:none;}
 .up-school-v2 .related-table tr{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;border:1.5px solid var(--up-ui-line, #8b7a9a);border-radius:8px;padding:18px;margin-bottom:14px;}
 .up-school-v2 .related-table th,.up-school-v2 .related-table td{display:block;padding:0;width:auto;border:0;}
 .up-school-v2 .related-table tbody th{grid-column:1/-1;width:auto;}
 .up-school-v2 .related-table .related-location{grid-column:1/-1;margin-left:65px;}
 .up-school-v2 .related-location small{display:inline;margin-left:8px;}
 .up-school-v2 .related-cost{grid-column:1;min-width:0;}
 .up-school-v2 .related-action{align-self:end;}
 
 
}

/* Shared city scenery: information left, one real location photo right. */
.up-school-v2 .location-card.has-city-photo{grid-template-columns:minmax(0,55fr) minmax(0,45fr);border:1.5px solid var(--up-ui-line, #8b7a9a);align-items:stretch;}
.up-school-v2 .location-card.without-city-photo{grid-template-columns:1fr;}
.up-school-v2 .location-visual{position:relative;min-width:0;min-height:260px;background:var(--warm);}
.up-school-v2 .location-visual .city-photo{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:0;aspect-ratio:auto;display:block;}
.up-school-v2 .location-visual .city-photo img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;}
.up-school-v2 .location-visual .zoom-mark{right:14px;bottom:14px;}
.up-school-v2 .location-transport{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:0 30px;padding:0;margin-top:20px;border-top:1px solid var(--line);}
.up-school-v2 .location-transport>div{padding:21px 0;border:0;}
.up-school-v2 .city-photo-credit{position:absolute;left:12px;bottom:12px;z-index:2;max-width:calc(100% - 64px);}
.up-school-v2 .city-photo-credit>summary{display:flex;align-items:center;justify-content:center;gap:0;width:26px;height:26px;border-radius:50%;background:rgba(255,255,255,.94);color:var(--purple-dark);padding:0;list-style:none;box-shadow:0 1px 5px #0002;}
.up-school-v2 .city-photo-credit>div{position:absolute;bottom:34px;left:0;width:max-content;max-width:260px;padding:12px 14px;border:1px solid var(--line);border-radius:6px;background:white;box-shadow:0 4px 18px #0002;color:var(--muted);}
.up-school-v2 .city-photo-credit>div>span{display:block;}
.up-school-v2 .city-photo-credit a{text-decoration:underline;color:var(--purple);}
@media(max-width:700px){
 .up-school-v2 .location-card.has-city-photo{grid-template-columns:1fr;}
 .up-school-v2 .location-visual{min-height:0;aspect-ratio:16/9;}
 .up-school-v2 .location-transport{grid-template-columns:1fr;gap:0;margin-top:16px;}
 .up-school-v2 .location-transport>div+div{border-top:1px solid var(--line);}
 .up-school-v2 .city-photo-credit>div{max-width:220px;}
}

/* Registered school photos, optional captions and category filtering. */
.up-school-v2 .school-gallery .gallery-filters{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px;}
.up-school-v2 .gallery-filter{border:1px solid var(--up-ui-line, #8b7a9a);background:#fff;color:var(--purple);border-radius:999px;padding:9px 15px;min-height:42px;cursor:pointer;}
.up-school-v2 .gallery-filter.active{background:var(--purple);border-color:var(--purple);color:#fff;}
.up-school-v2 .gallery-filter:focus-visible{outline:3px solid #af95cd;outline-offset:3px;}
.up-school-v2 .gallery-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:28px 18px;align-items:start;}
.up-school-v2 .gallery-item{min-width:0;}
.up-school-v2 .gallery-item[hidden]{display:none!important;}
.up-school-v2 .gallery-photo{display:block;width:100%;aspect-ratio:4/3;border-radius:7px;overflow:hidden;}
.up-school-v2 .gallery-photo img{width:100%;height:100%;object-fit:cover;display:block;}
.up-school-v2 .gallery-item h3{margin-top:11px;}
.up-school-v2 .gallery-item p{color:var(--muted);margin-top:5px;}
.up-school-v2 .gallery-status{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}
@media(max-width:900px) and (min-width:701px){.up-school-v2 .gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:700px){
 .up-school-v2 .school-gallery .gallery-filters{flex-wrap:nowrap;overflow-x:auto;margin-bottom:20px;padding:4px 2px 9px;gap:8px;}
 .up-school-v2 .gallery-filter{flex:none;min-height:44px;}
 .up-school-v2 .gallery-grid{grid-template-columns:1fr;gap:26px;}
 .up-school-v2 .gallery-photo{aspect-ratio:4/3;}
 
 
}

.up-school-v2 .gallery-filters{scrollbar-width:none;}
.up-school-v2 .gallery-filters::-webkit-scrollbar{display:none;}

/* Optional source details: full school-specific information in compact disclosures. */
.up-school-v2 .source-details{margin-top:18px;}
.up-school-v2 .source-details .detail-body>p+ul{margin-top:18px;}
.up-school-v2 .source-table-scroll{overflow-x:auto;max-width:100%;margin:20px 0 6px;border:1px solid var(--up-ui-line, #8b7a9a);border-radius:8px;}
.up-school-v2 .source-table{width:100%;border-collapse:collapse;text-align:left;}
.up-school-v2 .source-table caption{text-align:left;padding:16px;color:#603d80;}
.up-school-v2 .source-table th,.up-school-v2 .source-table td{padding:14px 16px;border-bottom:1px solid var(--up-ui-line, #8b7a9a);vertical-align:top;min-width:110px;}
.up-school-v2 .source-table thead{background:#f2edf8;}
.up-school-v2 .source-table tbody tr:last-child>*{border-bottom:0;}
@media(max-width:700px){.up-school-v2 .source-table th,.up-school-v2 .source-table td{padding:12px;}}
