/* Final content and spacing pass: keep content readable and let it set the height. */
.section { padding:56px 0; }
.section-heading { margin-bottom:26px; gap:28px; }
.eyebrow { margin-bottom:13px; }
.hero-inner { min-height:0; }
.hero-copy { padding:36px 0 32px; }
.hero-art { height:530px; }
.hero-more-options { margin:22px 0 18px; }
.hero-description { margin-bottom:20px; font-size:17px; line-height:1.6; }
.hero-study-options { margin-top:21px; }
.hero-location { margin-top:12px; }
.quick-links { padding:20px 0; }
.programme-card { min-height:0; padding:24px 22px; }
.programme-card p { margin-bottom:19px; }
.programmes-foot { margin-top:22px; }
.subjects-section { padding:46px 0; }
.subject-layout { gap:42px; }
.subject-layout p:not(.eyebrow) { margin-top:17px; }
.subject-chips { min-height:0; }
.online-feature { padding:20px 24px; margin-bottom:25px; gap:20px; }
.online-feature h3 { font-size:24px; margin:5px 0 8px; }
.learning-layout { gap:40px; }
.learning-image { height:410px; }
.learning-copy h3 { font-size:38px; }
.learning-copy .tick-list { margin:18px 0 21px; }
.learning-tabs { margin-bottom:23px; }
.why-section { padding:50px 0 35px; }
.why-heading { display:grid; grid-template-columns:1fr 1fr; align-items:center; gap:50px; margin-bottom:28px; }
.why-section p { max-width:none; font-size:16px; line-height:1.6; }
.why-heading>p { max-width:520px; font-size:17px; }
.why-section h2 { font-size:42px; }
.why-reasons { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; }
.why-reasons article { padding:22px 20px; background:#ffffff0e; border:1px solid #ffffff36; border-radius:14px; }
.reason-icon { display:flex; justify-content:center; align-items:center; width:43px; height:43px; border-radius:11px; color:#9cf2fa; background:#ffffff12; margin-bottom:17px; }
.reason-icon svg { width:27px; height:27px; stroke-width:1.7; }
.why-reasons h3 { color:white; font-size:21px; line-height:1.25; margin:0 0 12px; }
.why-reasons p { margin:0; color:#e1eaff; }
.why-bottom { display:flex; align-items:center; justify-content:space-between; gap:22px; margin-top:24px; padding-top:21px; border-top:1px solid #ffffff32; }
.why-bottom .affiliation { margin:0; }
.why-bottom .text-button { font-size:15px; }
.benefits-section { padding:39px 0 29px; background:white; }
.benefits-heading { display:flex; align-items:end; justify-content:space-between; gap:24px; margin-bottom:23px; }
.benefits-heading .eyebrow { margin-bottom:10px; }
.benefits-heading h2 { font-size:35px; }
.benefits-heading>p { font-size:16px; color:var(--muted); }
.benefits-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:15px; }
.benefit-card { background:#eef9fc; border:1px solid #d0eaf2; border-radius:13px; padding:20px; }
.benefit-card:nth-child(2n) { background:#f0f5ff; border-color:#dbe6f6; }
.benefit-title { display:flex; align-items:center; gap:12px; }
.benefit-title>span { color:var(--blue); flex:0 0 32px; }
.benefit-title svg { width:30px; height:30px; stroke-width:1.7; }
.benefit-card h3 { font-size:20px; line-height:1.25; margin:0; }
.benefit-card p { color:#536887; font-size:16px; line-height:1.6; margin:13px 0 0; }
.purpose-section { padding:0 0 43px; background:white; }
.purpose-grid { display:grid; grid-template-columns:1fr 1fr; gap:18px; }
.purpose-card { border:1px solid #d5e3f4; background:#f7faff; border-radius:14px; padding:24px 26px; }
.purpose-card:nth-child(2) { background:#f0f9fb; border-color:#cde5ec; }
.purpose-title { display:flex; align-items:center; gap:12px; }
.purpose-title>span { color:var(--blue); }
.purpose-title svg { display:block; width:29px; height:29px; stroke-width:1.7; }
.purpose-title h2 { font-size:27px; line-height:1.2; margin:0; }
.purpose-card p { font-size:16px; line-height:1.65; margin:13px 0 0; color:#4a6284; }
.life-section { border-top:1px solid #e6edf7; padding-top:47px; }
.stories { gap:17px; }
.story { height:345px; }
.gallery-note { margin-top:14px; }
.testimonials-section { padding:46px 0; }
.testimonial-track { gap:28px; padding:10px 0 14px; }
.testimonial-card { flex-basis:calc((100% - 56px)/3); padding:10px 8px 0; }
.testimonial-portrait { max-width:255px; margin-bottom:12px; }
.testimonial-copy { padding-top:12px; }
.testimonial-copy blockquote { font-size:18px; line-height:1.6; }
.testimonial-controls { justify-content:flex-start; gap:25px; margin-top:9px; }
.testimonial-controls p { font-size:14px; }
.testimonial-footer { padding-top:18px; margin-top:18px; }
.apply-section { padding:52px 0; }
.apply-grid { gap:40px; }
.apply-grid h2 { font-size:55px; }
.apply-grid>div>p:not(.eyebrow) { margin:19px 0; }
.apply-options article { padding:24px; }
.faq-layout { gap:45px; }
.contact-section { padding:45px 0; }
.contact-grid { gap:40px; }
.contact-photo { height:310px; }
footer { padding-top:38px; }
.footer-grid { padding-bottom:28px; gap:30px; }
.footer-bottom { min-height:56px; }
.gallery-hero { padding:20px 0 40px; }
.gallery-breadcrumb { margin-bottom:16px; }
.gallery-hero-grid { gap:32px; }
.gallery-collage { height:365px; }
.gallery-intro>p:not(.eyebrow) { margin:20px 0 23px; }
.gallery-real-note { margin-top:20px; }
.photo-gallery { padding:46px 0; }
.gallery-toolbar { padding-bottom:20px; margin-bottom:24px; }
.gallery-grid { column-gap:18px; }
.gallery-card { margin-bottom:18px; }
.gallery-cta-section { padding-bottom:48px; }
.gallery-cta { padding:34px 38px; }
.gallery-cta h2 { font-size:43px; }
@media(max-width:1180px) {
 .hero-art { height:495px; }
 .why-reasons { gap:13px; }
 .why-reasons article { padding:21px 17px; }
 .why-reasons h3 { font-size:20px; }
 .benefit-card { padding:18px 16px; }
 .benefit-title { gap:9px; }
 .benefit-title>span { flex-basis:28px; }
 .benefit-title svg { width:26px; height:26px; }
 .benefit-card h3 { font-size:18px; }
 .learning-image { height:425px; }
 .gallery-collage { height:345px; }
}
@media(max-width:950px) {
 .section { padding:47px 0; }
 .hero-copy { padding:31px 0 28px; }
 .hero-art { height:470px; }
 .hero-more-options { margin:20px 0 18px; }
 .hero-description { font-size:16px; }
 .learning-layout { gap:28px; }
 .learning-copy h3 { font-size:32px; }
 .why-heading { gap:30px; }
 .why-section h2 { font-size:38px; }
 .why-reasons { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .why-reasons article { display:flex; align-items:start; gap:14px; padding:20px; }
 .reason-icon { flex:0 0 38px; width:38px; height:38px; margin:0; }
 .reason-icon svg { width:25px; height:25px; }
 .why-reasons h3 { font-size:21px; }
 .benefits-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
 .benefit-card { padding:20px; }
 .benefit-card h3 { font-size:21px; }
 .benefits-heading h2 { font-size:33px; }
 .benefits-heading>p { max-width:220px; }
 .purpose-card { padding:22px; }
 .testimonial-card { flex-basis:calc((100% - 28px)/2); }
 .apply-grid>div:first-child { padding-right:0; }
 .apply-flourish { display:none; }
 .gallery-hero-grid { gap:25px; }
}
@media(max-width:700px) {
 .section { padding:37px 0; }
 .section-heading { margin-bottom:22px; }
 .section-heading>p { margin-top:14px; }
 .hero-copy { padding:27px 0 20px; }
 .hero-art { height:335px; }
 .hero-more-options { margin:20px auto 18px; }
 .hero-description { margin:0 auto 20px; }
 .hero-study-options { margin-top:20px; }
 .hero-location { margin-top:12px; }
 .quick-links { padding:16px 15px; }
 .programme-card { padding:23px; }
 .programme-card p { margin-bottom:18px; }
 .programmes-foot { margin-top:18px; }
 .subjects-section { padding:36px 0; }
 .subject-layout { gap:21px; }
 .subject-layout p:not(.eyebrow) { margin-top:15px; }
 .subject-picker { padding:18px 16px; }
 .online-feature { padding:21px; gap:13px; margin-bottom:24px; }
 .online-feature h3 { font-size:25px; }
 .online-feature-icon { display:none; }
 .online-feature>.btn { margin-top:3px; }
 .learning-layout { gap:22px; }
 .learning-image { height:290px; }
 .learning-tabs { margin-bottom:21px; }
 .learning-copy h3 { font-size:32px; }
 .why-section { padding:37px 0 28px; }
 .why-heading { grid-template-columns:1fr; gap:17px; margin-bottom:22px; }
 .why-heading>p { font-size:16px; }
 .why-section h2 { font-size:36px; }
 .why-reasons { grid-template-columns:1fr; gap:12px; }
 .why-reasons article { padding:18px 16px; gap:13px; }
 .why-reasons h3 { font-size:21px; margin-bottom:9px; }
 .why-reasons p { font-size:16px; }
 .reason-icon { flex-basis:34px; width:34px; height:34px; border-radius:9px; }
 .reason-icon svg { width:23px; height:23px; }
 .why-bottom { margin-top:19px; padding-top:18px; align-items:start; flex-direction:column; gap:12px; }
 .why-bottom .affiliation { font-size:14px; }
 .why-bottom .affiliation strong { font-size:17px; }
 .why-bottom .text-button { font-size:14px; }
 .benefits-section { padding:30px 0 21px; }
 .benefits-heading { display:block; margin-bottom:20px; }
 .benefits-heading h2 { font-size:31px; }
 .benefits-heading>p { max-width:none; margin-top:12px; }
 .benefits-grid { gap:12px; }
 .benefit-card { padding:18px 14px; }
 .benefit-title { display:block; }
 .benefit-title>span { display:block; margin-bottom:11px; }
 .benefit-title svg { width:29px; height:29px; }
 .benefit-card h3 { font-size:19px; }
 .benefit-card p { margin-top:10px; font-size:16px; line-height:1.55; }
 .purpose-section { padding-bottom:30px; }
 .purpose-grid { grid-template-columns:1fr; gap:13px; }
 .purpose-card { padding:22px; }
 .purpose-title h2 { font-size:26px; }
 .purpose-card p { margin-top:12px; font-size:16px; }
 .life-section { padding-top:34px; }
 .social-links { margin-top:17px; }
 .stories { gap:13px; }
 .story,.story-wide { height:315px; }
 .gallery-note { margin-top:10px; }
 .testimonials-section { padding:35px 0; }
 .testimonial-track { padding:10px 20px 13px 0; gap:18px; }
 .testimonial-card { flex-basis:88%; padding:10px 6px 0; }
 .testimonial-portrait { max-width:240px; }
 .testimonial-copy { padding-top:12px; }
 .testimonial-copy blockquote { font-size:18px; }
 .testimonial-controls { gap:16px; }
 .testimonial-controls p { font-size:12px; }
 .testimonial-footer { padding-top:17px; margin-top:16px; gap:12px; }
 .apply-section { padding:37px 0; }
 .apply-grid { gap:24px; }
 .apply-grid h2 { font-size:47px; }
 .apply-options { gap:13px; }
 .apply-options article { padding:24px; }
 .apply-options h3 { margin:14px 0 11px; }
 .apply-options p { margin-bottom:20px; }
 .faq-layout { gap:23px; }
 .faq-layout>div>p:not(.eyebrow) { margin:16px 0; }
 .contact-section { padding:35px 0; }
 .contact-grid { gap:25px; }
 .contact-grid address { margin:19px 0; }
 .contact-photo { height:260px; }
 footer { padding-top:30px; }
 .footer-grid { gap:22px; padding-bottom:21px; }
 .gallery-hero { padding:18px 0 29px; }
 .gallery-breadcrumb { margin-bottom:20px; }
 .gallery-intro>p:not(.eyebrow) { margin:18px 0; }
 .gallery-real-note { margin-top:16px; }
 .gallery-collage { height:260px; }
 .photo-gallery { padding:34px 0; }
 .gallery-toolbar { gap:13px; margin-bottom:20px; padding-bottom:18px; }
 .gallery-card { margin-bottom:16px; max-height:400px; }
 .gallery-cta-section { padding-bottom:34px; }
 .gallery-cta { padding:28px 24px; gap:22px; }
 .gallery-cta h2 { font-size:37px; }
}

/* Same Language / Ulimi control position and button treatment as Royal Legacy. */
.edupax-language-control{display:flex;flex-direction:column;gap:5px;flex-shrink:0}
.edupax-language-label{font-size:12px;line-height:1.2;color:#506471;text-align:center;font-weight:600;letter-spacing:.3px}
.edupax-language{display:flex;padding:4px;background:#edf2f6;border:1px solid #c1d0da;border-radius:4px;gap:4px}
.edupax-language button{font-family:inherit;font-size:15px;font-weight:600;line-height:1.4;padding:10px 13px;color:#163b5e;min-height:42px;border:0;border-radius:2px;background:transparent;cursor:pointer}
.edupax-language button[aria-pressed="true"]{color:#fff;background:var(--blue);text-decoration:none}
.edupax-language button:hover:not([aria-pressed="true"]){background:#dae6ef}
.edupax-language button:focus-visible{outline:3px solid #37c5eb;outline-offset:2px}
.header-inner{gap:20px}.header-actions{gap:16px}.nav{gap:20px}
.edupax-language-modal{align-items:flex-start;margin:0 40px 22px 0}.edupax-language-modal .edupax-language-label{text-align:left}
html[lang="zu"] .hero h1{font-size:clamp(38px,4.4vw,62px);overflow-wrap:break-word}
html[lang="zu"] .nav{gap:16px}
html[lang="zu"] .hero-more-options{flex-wrap:wrap}
html[lang="zu"] .programme-card h3{overflow-wrap:break-word}
@media(max-width:1240px){.header-inner{flex-wrap:wrap;gap:12px;padding-top:13px;padding-bottom:13px;height:auto;min-height:90px}.header-actions{margin-left:auto}.nav{order:3;width:100%;justify-content:center;gap:24px}.brand{flex-shrink:0}}
@media(max-width:950px){.nav:not(.open){display:none}.nav.open{display:flex}.header-inner{flex-wrap:nowrap}.nav{position:absolute;left:0;right:0;top:100%;padding:18px 24px;background:white;flex-direction:column;align-items:stretch;box-shadow:0 10px 16px #0a294412}.menu-toggle{display:flex}.header-actions>.btn{display:none}.header-actions{gap:14px}.edupax-language button{font-size:14px;padding:9px 11px;min-height:40px}.edupax-language{padding:3px;gap:2px}}
@media(max-width:600px){.header-inner{flex-wrap:wrap;gap:9px}.header-actions{width:100%;justify-content:flex-end;border-top:1px solid #e6edf7;padding-top:8px;margin:0}.header-actions>.edupax-language-control{margin-right:auto;flex-direction:row;align-items:center;gap:10px}.edupax-language-label{font-size:11px}.edupax-language button{padding:8px 10px}.header .brand{margin:0}.header .brand img{width:48px;height:48px}.menu-toggle{margin-left:4px}.header{position:sticky}html{scroll-padding-top:165px}html[lang="zu"] .hero h1{font-size:clamp(31px,8.4vw,48px);line-height:1.12}.edupax-language-modal{margin-bottom:18px}.edupax-language-modal .edupax-language-label{font-size:12px}}
@media(max-width:600px){.hero-copy,.hero-art{min-width:0}.hero-location span{min-width:0}.online-feature>div{min-width:0}.online-feature>.btn{min-width:0;max-width:100%;white-space:normal}.testimonial-controls{flex-wrap:wrap}.testimonial-controls>div{flex-wrap:wrap}.stories{max-width:100%}}
@media(max-width:360px){.benefits-grid{grid-template-columns:1fr}.testimonial-track{max-width:100%}.header-actions>.edupax-language-control{flex-direction:column;align-items:flex-start;gap:3px}.edupax-language-label{text-align:left}.hero-cta{flex-wrap:wrap}.hero-cta .btn{flex:1 1 100%}.hero-more-options{display:flex;flex-wrap:wrap}.hero-more-options button{flex:1 1 100%}}
