/* One shared header for every English and BM page. */
.site-header.shared-header { --green:#007b4a;--ink:#073d36;--wrap:1120px;border:0;position:relative;z-index:10;background:#fff; }
.shared-header .header-inner { display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);align-items:center;min-height:82px;gap:28px;padding-block:6px; }
.shared-header .header-brand { display:block;justify-self:start;line-height:0; }
.shared-header .header-brand > .logo { width:auto;max-width:128px;max-height:68px;object-fit:contain; }
/* Crop only the white outer margin of the bundled logo; preserve the original mark. */
.shared-header .header-logo-crop { display:block;position:relative;width:128px;height:70px;overflow:hidden; }
.shared-header .header-logo-crop .logo { position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:164px;max-width:none;height:auto; }
.shared-header .site-nav { display:block;margin:0;order:initial;width:auto;justify-self:center;padding:0; }
.shared-header .header-menu { display:flex;align-items:center;justify-content:center;gap:8px;list-style:none;padding:0;margin:0; }
.shared-header .header-menu li { margin:0; }
.shared-header .site-nav a { display:block;position:relative;color:#234d41;font-size:13px;font-weight:650;line-height:1.4;padding:12px 14px;border-radius:8px;text-decoration:none;white-space:nowrap;transition:background .15s,color .15s; }
.shared-header .site-nav a:hover { color:#007b4a;background:#f2f8f5; }
.shared-header .site-nav a[aria-current="page"] { color:#007b4a;background:#edf7f1; }
.shared-header .site-nav a::after { content:"";position:absolute;bottom:6px;left:14px;right:14px;height:2px;border-radius:2px;background:#008350;transform:scaleX(0);transition:transform .15s; }
.shared-header .site-nav a[aria-current="page"]::after { transform:scaleX(1); }
.shared-header .header-actions { display:flex;align-items:center;justify-self:end;gap:16px;margin:0; }
.shared-header .language-switch { display:flex;align-items:center;gap:1px;padding:3px;border:1px solid #dce8e1;border-radius:999px;background:#f8fbf9; }
.shared-header .language-option { display:inline-flex;align-items:center;justify-content:center;min-width:31px;min-height:32px;padding:4px 6px;border-radius:999px;color:#526b60;font-size:10px;font-weight:750;line-height:1;text-decoration:none; }
.shared-header a.language-option:hover { color:#007b4a;background:#eaf5ee; }
.shared-header .language-option.is-active { background:#e0f0e6;color:#075c3c; }
.shared-header .header-cta { display:inline-flex;align-items:center;gap:12px;min-height:44px;padding:8px 10px 8px 18px;border-radius:999px;font-size:12px;font-weight:650;line-height:1.2;white-space:nowrap;background:#007b4a;color:#fff; }
.shared-header .header-cta:hover { background:#005f3b; }
.shared-header .header-cta-short { display:none; }
.shared-header .header-cta-arrow { display:inline-flex;align-items:center;justify-content:center;width:25px;height:25px;border-radius:50%;background:#ffffff1f;font-size:16px;line-height:1; }
.shared-header .menu-toggle { display:none;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:1px solid #d6e5dc;border-radius:10px;background:#f8fbf9;color:#073d36;cursor:pointer; }
.menu-toggle-lines,.menu-toggle-lines::before,.menu-toggle-lines::after { display:block;width:18px;height:2px;background:currentColor;border-radius:2px; }
.menu-toggle-lines { position:relative; }
.menu-toggle-lines::before,.menu-toggle-lines::after { content:"";position:absolute;left:0; }
.menu-toggle-lines::before { top:-6px; }.menu-toggle-lines::after { top:6px; }
.menu-is-open .menu-toggle-lines { background:transparent; }
.menu-is-open .menu-toggle-lines::before { top:0;transform:rotate(45deg); }
.menu-is-open .menu-toggle-lines::after { top:0;transform:rotate(-45deg); }
@media(max-width:1000px) {
 .edushe-js .shared-header .menu-toggle { display:inline-flex; }
 .edushe-js .shared-header .site-nav { display:none; }
 .shared-header .header-inner { grid-template-columns:auto minmax(0,1fr);gap:0 16px;min-height:78px; }
 .shared-header .header-actions { gap:12px; }
 .shared-header .site-nav { grid-column:1/-1;grid-row:2;justify-self:stretch;width:100%;margin:0; }
 .shared-header .header-menu { justify-content:space-between;padding-block:8px; }
 .shared-header.has-menu-toggle .menu-toggle { display:inline-flex; }
 .shared-header.has-menu-toggle .site-nav { display:none; }
 .shared-header.has-menu-toggle.menu-is-open .site-nav { display:block;border-top:1px solid #e0eae4;padding:10px 0 8px;margin-top:6px; }
 .shared-header.has-menu-toggle.menu-is-open .header-menu { display:grid;grid-template-columns:1fr 1fr;gap:5px 12px;padding:0; }
 .shared-header .site-nav a { padding:12px 14px;font-size:14px; }
}
@media(max-width:640px) {
 .shared-header .header-inner { min-height:76px;gap:0 10px;padding-block:7px; }
 .shared-header .header-logo-crop { width:104px;height:58px; }
 .shared-header .header-logo-crop .logo { width:132px; }
 .shared-header .header-brand > .logo { max-width:104px;max-height:58px; }
 .shared-header .header-actions { gap:8px; }
 .shared-header .language-switch { padding:2px; }
 .shared-header .language-option { min-width:27px;min-height:36px;padding-inline:5px;font-size:9px; }
 .shared-header .header-cta { min-height:42px;gap:5px;padding:8px 8px 8px 12px;font-size:11px; }
 .shared-header .header-cta-label { display:none; }.shared-header .header-cta-short { display:inline; }
 .shared-header .header-cta-arrow { width:20px;height:20px;font-size:13px; }
 .shared-header .menu-toggle { width:42px;height:42px; }
}
@media(max-width:380px) {
 .shared-header .header-logo-crop { width:84px;height:50px; }
 .shared-header .header-logo-crop .logo { width:112px; }
 .shared-header .header-brand > .logo { max-width:84px;max-height:50px; }
 .shared-header .header-inner { column-gap:8px; }
 .shared-header .header-actions { gap:6px; }
 .shared-header .header-cta { padding-left:10px;font-size:10px; }
}
@media(prefers-reduced-motion:reduce) { .shared-header .site-nav a,.shared-header .site-nav a::after { transition:none; } }
.site-footer.shared-footer { --wrap:1120px;--ink:#073d36;--green:#007b4a;--muted:#4a625a;background:#fff;color:#073d36;padding-top:24px; }
:is(.shared-footer,.editor-styles-wrapper) .wp-block-group > :first-child { margin-block-start:0; }
:is(.shared-footer,.editor-styles-wrapper) .wp-block-image { margin:0; }
.global-footer-contact { display:grid;grid-template-columns:.9fr 1.1fr;align-items:center;gap:64px;padding:40px;border:1px solid #d8eee3;border-radius:20px;background:linear-gradient(110deg,#e3f7ed,#f1fbf6);margin-bottom:40px;color:#073d36; }
:is(.shared-footer,.editor-styles-wrapper) .global-footer-intro .eyebrow { color:#00774b;font-size:11px;font-weight:800;letter-spacing:.12em;text-transform:uppercase;margin-bottom:14px; }
:is(.shared-footer,.editor-styles-wrapper) .global-footer-intro h2 { font-size:clamp(27px,2.8vw,36px);line-height:1.12;letter-spacing:-.04em;max-width:20ch;margin-bottom:16px;color:#073d36; }
:is(.shared-footer,.editor-styles-wrapper) .global-footer-intro p:not(.eyebrow) { color:#4a625a;font-size:15px;line-height:1.6;max-width:40ch;margin-top:0; }
.global-footer-form { min-width:0; }
.shared-enquiry-form { display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px 16px;margin:0; }
.shared-enquiry-form label { font-size:12px;line-height:1.4;gap:6px;font-weight:650;color:#16433a; }
.shared-enquiry-form input:not([type="hidden"]),.shared-enquiry-form textarea { min-width:0;min-height:44px;background:white;border:1px solid #cbded3;border-radius:7px;padding:11px 12px;font-size:14px;line-height:1.4; }
.shared-enquiry-form input::placeholder,.shared-enquiry-form textarea::placeholder { color:#6d7973;opacity:1; }
.shared-enquiry-form textarea { min-height:96px;resize:vertical; }
.shared-enquiry-form .message-field { grid-column:1/-1; }
.shared-enquiry-form .form-privacy { grid-column:1;align-self:center;margin:0;font-size:12px;line-height:1.4; }
:is(.shared-footer,.editor-styles-wrapper) .shared-enquiry-form .form-privacy a { color:#176547; }
:is(.shared-footer,.editor-styles-wrapper) .shared-enquiry-form .button { grid-column:2;justify-self:stretch;min-height:44px;background:#007b4a;font-size:13px;padding:11px 16px; }
:is(.shared-footer,.editor-styles-wrapper) .shared-enquiry-form .button:hover { background:#005f3b; }
.shared-enquiry-form > p:not(.form-privacy) { grid-column:1/-1;font-size:13px; }
.global-footer-base { background:#004b3c;color:#fff; }
.global-footer-grid { display:grid;grid-template-columns:1.1fr .8fr 1.1fr;gap:80px;padding-block:48px 40px; }
.global-footer-brand .global-footer-logo { margin:0 0 19px; }
.global-footer-logo img { width:128px;height:auto;border-radius:5px; }
.global-footer-company { font-size:13px;line-height:1.55;font-weight:650;max-width:30ch;color:#fff; }
.global-footer-tagline { font-size:13px;line-height:1.65;max-width:28ch;color:#c1ded0;margin-top:10px; }
:is(.shared-footer,.editor-styles-wrapper) .global-footer-grid h2 { font-size:11px;line-height:1.4;letter-spacing:.11em;text-transform:uppercase;color:#a8d7c1;margin:2px 0 19px; }
:is(.shared-footer,.editor-styles-wrapper) .global-footer-grid a { color:#edf6f0;text-decoration:none; }
:is(.shared-footer,.editor-styles-wrapper) .global-footer-grid a:hover,.global-footer-bottom a:hover { text-decoration:underline; }
.global-footer-links { list-style:none;margin:0;padding:0;display:grid;gap:10px;font-size:13px;line-height:1.55; }
.global-footer-contact-details p { margin:0;font-size:13px;line-height:1.7; }
.global-footer-contact-details .global-footer-email { margin-bottom:14px;font-size:14px;overflow-wrap:anywhere; }
.global-footer-contact-details .global-footer-contact-link { margin-top:15px;font-weight:650; }
.global-footer-bottom { background:#004b3c;color:#c1ded0; }
.global-footer-bottom-inner { display:flex;align-items:center;justify-content:space-between;gap:24px;border-top:1px solid #ffffff24;padding-block:20px; }
.global-footer-bottom p { margin:0;font-size:11px;line-height:1.5; }
.global-footer-bottom nav { display:flex;gap:24px; }
:is(.shared-footer,.editor-styles-wrapper) .global-footer-bottom a { color:#d4e9dc;font-size:11px;text-decoration:none; }
/* Contact details remain local; the one enquiry form is shared below. */
body.edushe-shared-ready .contact-us-page .contact-page-layout { display:block; }
body.edushe-shared-ready .contact-page-details { display:grid;grid-template-columns:1fr 1fr;gap:70px;align-items:start; }
@media(max-width:900px) {
 .global-footer-contact { gap:30px;padding:30px; }
 .global-footer-grid { gap:32px;grid-template-columns:1fr .8fr 1fr; }
}
@media(max-width:640px) {
 .site-footer.shared-footer { padding-top:12px; }
 .global-footer-contact { grid-template-columns:1fr;gap:26px;padding:25px 20px;border-radius:16px;margin-bottom:28px; }
 :is(.shared-footer,.editor-styles-wrapper) .global-footer-intro h2 { font-size:28px;margin-bottom:12px;max-width:23ch; }
 :is(.shared-footer,.editor-styles-wrapper) .global-footer-intro p:not(.eyebrow) { font-size:14px;max-width:none; }
 .shared-enquiry-form { grid-template-columns:1fr;gap:14px; }
 .shared-enquiry-form > * { grid-column:1/-1!important; }
 .shared-enquiry-form label { font-size:11px; }
 .shared-enquiry-form input:not([type="hidden"]),.shared-enquiry-form textarea { font-size:16px;padding:10px; }
 .shared-enquiry-form .form-privacy { grid-column:1/-1;font-size:11px; }
 :is(.shared-footer,.editor-styles-wrapper) .shared-enquiry-form .button { grid-column:1/-1; }
 .global-footer-grid { grid-template-columns:1fr 1fr;gap:30px 22px;padding-block:34px 30px; }
 .global-footer-brand { grid-column:1/-1;display:grid;grid-template-columns:108px 1fr;gap:8px 20px;align-items:center; }
 .global-footer-brand .global-footer-logo { grid-column:1;grid-row:1/3;margin:0; }
 .global-footer-logo img { width:108px; }
 .global-footer-company { grid-column:2;font-size:12px;align-self:end; }
 .global-footer-tagline { grid-column:2;margin:0;font-size:11px;line-height:1.6;align-self:start; }
 :is(.shared-footer,.editor-styles-wrapper) .global-footer-grid h2 { font-size:10px;letter-spacing:.08em;margin:0 0 15px; }
 .global-footer-links { font-size:12px;gap:10px; }
 .global-footer-contact-details p,.global-footer-contact-details .global-footer-email { font-size:12px; }
 .global-footer-bottom-inner { display:block;padding-block:18px; }
 .global-footer-bottom nav { margin-top:12px;gap:24px; }
 body.edushe-shared-ready .contact-page-details { grid-template-columns:1fr;gap:24px; }
}
@media(max-width:360px) {
 .shared-enquiry-form { grid-template-columns:1fr; }.shared-enquiry-form>* { grid-column:1!important; }
 .global-footer-grid { grid-template-columns:1fr; }.global-footer-brand { grid-template-columns:94px 1fr; }
}
