.school-tools{display:flex;align-items:center;gap:20px;margin:28px 0}.school-tools label{flex:1;max-width:620px}.school-tools input{width:100%;padding:15px 18px;border:1px solid #c9d5df;border-radius:8px;background:#fff;color:#17334e;font:inherit}.school-tools output{color:#5c6f82;white-space:nowrap}.school-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}.school-profile-card{border:1px solid #d1dce6;border-radius:12px;overflow:hidden;background:#fff;display:flex;flex-direction:column}.school-profile-card[hidden]{display:none}.school-image-link{display:block;overflow:hidden;background:#e8eff3}.school-image-link img{width:100%;height:210px;object-fit:cover;display:block;transition:transform .3s}.school-image-link:hover img{transform:scale(1.025)}.school-image-blank{display:flex;align-items:center;justify-content:center;height:210px;padding:24px;background:linear-gradient(125deg,#17334f,#42768b);color:white;text-align:center}.school-card-copy{padding:24px;display:flex;flex-direction:column;flex:1}.school-card-copy h3{font-size:24px;line-height:1.4;margin:12px 0}.school-card-copy h3 a{color:inherit;text-decoration:none}.school-card-copy p{line-height:1.8;color:#4b6279;margin:0 0 24px}.school-readmore{color:#286fbb;font-weight:600;margin-top:auto;display:inline-block}.school-more{display:block;margin:32px auto 0}.school-more[hidden]{display:none}.city-card-link{display:block;height:100%;color:inherit;text-decoration:none}.city-card-link:hover{box-shadow:0 12px 32px #14304d18}.city-card-link:focus-visible,.school-profile-card a:focus-visible{outline:3px solid #3e80c5;outline-offset:3px}.city-body .school-readmore{margin-top:24px}.school-profile-hero{padding:64px 0 56px;background:#eef3f6}.school-back{display:inline-block;margin-bottom:24px;color:#286fbb}.school-hero-grid{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:center}.school-hero-grid h1{font-size:clamp(32px,4vw,58px);line-height:1.2;overflow-wrap:anywhere}.school-hero-grid p{font-size:18px;line-height:1.85;color:#4b6279}.school-hero-grid figure{margin:0}.school-hero-grid img{width:100%;height:370px;object-fit:cover;border-radius:16px}.school-hero-grid figcaption{font-size:12px;color:#64788b;margin-top:10px}.school-facts{display:flex;flex-wrap:wrap;gap:20px 40px}.school-facts dt{font-size:13px;color:#61788a;margin-bottom:6px}.school-facts dd{margin:0;white-space:pre-line}.school-reading{max-width:880px}.school-reading h2{font-size:32px;margin-top:40px}.school-reading .document-copy{font-size:18px;line-height:1.9;white-space:pre-line}.school-field-note{color:#61788a;font-size:14px;line-height:1.8}.school-fees{background:#edf3f7;padding:24px 32px;margin:36px 0;border-radius:12px}.school-fees h2{margin-top:0}.school-language-switch,.school-city-filter{display:flex;gap:12px;flex-wrap:wrap;margin:0 0 28px}.school-language-switch a,.school-city-filter a{padding:8px 12px;border:1px solid #cad8e2;border-radius:6px;text-decoration:none;color:#234969}.school-language-switch a[aria-current]{background:#17334e;color:white}.school-rows .school-row{display:flex;align-items:center;justify-content:space-between;gap:24px;text-decoration:none;background:#152e49;color:white;padding:34px;border-bottom:1px solid #aab4c1}.school-row h3{color:white}.school-row p{max-width:850px;line-height:1.8}.school-row>span{font-size:30px}.school-row:hover{background:#22445f}html[dir=rtl] .school-detail{text-align:right}.school-detail .detail-link{max-width:100%;overflow-wrap:anywhere}@media(max-width:1000px){.school-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.school-hero-grid{gap:28px}.school-hero-grid img{height:300px}}@media(max-width:650px){.school-card-grid,.school-hero-grid{grid-template-columns:1fr}.school-tools{align-items:stretch;flex-direction:column;gap:10px}.school-image-link img{height:210px}.school-profile-hero{padding:36px 0}.school-hero-grid img{height:250px}.school-reading h2{font-size:27px}.school-fees{padding:22px}.school-card-copy{padding:20px}.school-rows .school-row{padding:24px}.school-language-switch{gap:7px}.school-language-switch a{padding:8px}.school-detail .wrap{overflow-wrap:anywhere}}
/* Keep the floating chapter index in the outer margin, never over the cards. */
@media(max-width:1599px){.chapter-nav{display:none!important}}

.school-tools{display:flex;flex-wrap:wrap;align-items:end;gap:1rem}.school-tools>label:first-child{flex:1 1 20rem}.school-tools>label:not(:first-child){flex:0 1 13rem;font-size:.85rem}.school-tools select{display:block;width:100%;padding:.8rem;border:1px solid #c9d5e2;border-radius:8px;background:#fff;color:#17334f}.school-admission-status{font-size:.83rem!important;line-height:1.6!important;color:#526b7e;margin-top:1rem}.school-admission-status[data-status="confirmed"]{color:#256359}.school-admission-status[data-status="notAccepting"]{color:#8d4c30}.school-admissions{margin:2rem 0;padding:1.5rem;background:#eef4f8;border-radius:12px}.school-admissions h2{margin-top:0}@media(max-width:500px){.school-tools>label{flex:1 1 100%!important}.school-tools output{width:100%}}

.school-photo-credit{display:block;padding:5px 14px;font-size:11px;line-height:1.45;color:#60748b;background:rgba(237,243,248,.7);overflow-wrap:anywhere}.school-photo-credit a{color:inherit;text-decoration:underline}.school-profile-hero figcaption .school-photo-credit{padding:4px 0;background:transparent}
