:root { --sm-blue:#065da8; --sm-navy:#094070; --sm-white:#fff; --sm-gutter:clamp(20px,3vw,40px); --sm-section-space:80px; --sm-site-max:2020px; --sm-site-width:min(100vw,var(--sm-site-max)); }
[hidden] { display:none !important; }
.sm-screen-reader,.sm-skip:not(:focus) { position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip-path:inset(50%); white-space:nowrap; border:0; }
.sm-skip:focus { position:fixed; top:10px; left:10px; padding:16px 24px; z-index:99999; background:#fff; color:#065da8; }
.sm-body :where(a,button,input,textarea,select,summary):focus-visible { outline:3px solid #fac535; outline-offset:4px; box-shadow:0 0 0 7px #094070; }
html,body.sm-body { background:#26416a; }
.sm-body { overflow-x:clip; }
.sm-site { position:relative; width:100%; max-width:var(--sm-site-max); margin-inline:auto; background:#fff; }
.admin-bar .sm-site > .sm-site-header { top:0; }
@media(min-width:2021px){.sm-site .ss-go-top { right:calc((100vw - var(--sm-site-max)) / 2 + 4rem); }}
.sm-site > main { min-height:60vh; }
.sm-content { max-width:1180px; margin:auto; padding:50px var(--sm-gutter) 70px; }
.entry-content > * { max-width:1100px; margin-left:auto; margin-right:auto; }
.entry-content > .alignwide { max-width:1342px; width:calc(var(--sm-site-width) - 2 * var(--sm-gutter)); margin-left:50%; transform:translateX(-50%); }
.entry-content > .alignfull { max-width:none; width:var(--sm-site-width); margin-left:50%; transform:translateX(-50%); }
.sm-home-content > * { max-width:none; }
.sm-home-content > :is(.alignwide,.alignfull) { width:100%; margin-left:auto; transform:none; }
.sm-section { width:min(1342px,calc(100% - 2 * var(--sm-gutter))); margin:70px auto; }
.sm-home-content > .sm-section { max-width:1342px; }
.sm-home-content > .smb-hero { margin:0; }
.sm-breadcrumbs ol { list-style:none; display:flex; gap:12px; flex-wrap:wrap; padding:0; margin:0 0 30px; font-size:14px; }
.sm-breadcrumbs li { padding:0; }
.sm-breadcrumbs li + li::before { content:'›'; margin-right:12px; }
.sm-page-banner { position:relative; min-height:300px; margin:0; }
.sm-page-banner img { display:block; width:100%; min-height:350px; max-height:700px; object-fit:cover; }
.sm-page-banner .main-title { width:90%; z-index:1; }
.sm-page-banner.sm-banner-plain { background:#065da8; min-height:350px; }
.sm-page-banner.sm-banner-plain::before { background:transparent; }
.sm-page-banner.sm-banner-plain .main-title { position:absolute; top:65%; }
.sm-listing { padding:230px var(--sm-gutter) 70px; max-width:1422px; margin:auto; }
.sm-listing-header { margin-bottom:45px; }
.sm-news-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:40px; max-width:none; }
.sm-news-grid > .column { width:auto; max-width:none; padding:0; }
.sm-news-link { display:block; text-decoration:none; color:inherit; height:100%; }
.sm-news-link > img { display:block; width:100%; aspect-ratio:3/2; object-fit:cover; border-radius:20px; }
.sm-news-link h3 { margin:15px 0; font-size:28px; }
.sm-news-link:hover h3 { text-decoration:underline; text-underline-offset:4px; }
.sm-read-more { color:#065da8; font-weight:700; }
.sm-news-heading { display:flex; gap:20px; align-items:center; justify-content:space-between; }
.sm-post-meta { display:flex; gap:16px; margin:0 0 30px; flex-wrap:wrap; }
.sm-footer-logo img { width:135px; height:auto; margin:0 0 25px; }
.s-footer address { font-style:normal; }
.sm-footer-heading { color:#fff; font-size:30px; margin:25px 0 15px; }
.sm-footer-safeguarding { font-size:13px; line-height:1.5; }
.sm-footer-menu,.sm-social-links { list-style:none; display:flex; gap:16px; margin:0; padding:0; flex-wrap:wrap; }
.sm-footer-menu li,.sm-social-links li { padding:0; }
.sm-social-links svg { width:24px; height:24px; fill:currentColor; }
.sm-social-links a { width:48px; height:48px; display:grid; place-items:center; background:#fff; color:#065da8; border-radius:50%; }
.sm-social-links a:hover { background:#094070; color:#fff; }
.sm-form-status { padding:20px; border:1px solid #fff; }
.sm-footer-menu a:hover { text-decoration:underline; }
.ss-go-top a { display:grid; place-items:center; min-width:44px; min-height:44px; font-size:25px; color: black}
.ss-go-top a:hover { color: white}
.sm-button { display:inline-flex; align-items:center; justify-content:center; padding:15px 24px; border-radius:12px; background:#065da8; color:#fff; font-weight:700; text-decoration:none; }
.sm-button:hover { background:#094070; color:#fff; }
.sm-logo-list { list-style:none; display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:40px; padding:0; margin:0; }
.sm-logo-item { flex:0 1 160px; padding:0; }
.sm-accreditation-logo { width:100%; max-height:140px; object-fit:contain; }
.sm-accreditations-title { text-align:center; }
.sm-accreditations { padding:40px; }
.sm-text-center { text-align:center; }
.sm-introduction { max-width:1100px; }
.sm-quote { position:relative; }
.sm-quote > blockquote { background:none; }
.sm-quote > figcaption { grid-column:1 / -1; margin:0; padding:0 40px 32px; }
@media (max-width:1299px) and (min-width:901px){ .sm-page-banner img { min-height:420px; } }
@media(max-width:900px){ .sm-section{margin:40px auto;} .sm-content{padding:30px 20px 40px;} .sm-page-banner img{min-height:300px;} .sm-listing{padding-top:160px;} .sm-news-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:25px;} }
@media(max-width:600px){.sm-news-grid{grid-template-columns:1fr;} .sm-news-heading{align-items:flex-start;flex-direction:column;} .sm-listing{padding-top:140px;} }
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto !important;} .sm-body *, .sm-body *::before,.sm-body *::after{animation:none !important;transition:none !important;} }

.sm-body .s-hero.inner-header.sm-page-banner { height:auto; min-height:350px; overflow:hidden; }
.sm-body .sm-page-banner .main-title { margin:0; top:calc(50% + 40px); }
.sm-body .sm-page-banner .main-title h1 { font-size:clamp(28px,4vw,68px); line-height:1.15; }
.sm-body .sm-page-banner::before { background:rgba(0,0,0,.5); }
.sm-body .sm-page-banner.sm-banner-plain::before { background:transparent; }
.sm-body .sm-page-banner.sm-banner-plain .main-title { top:65%; }
.sm-attendance .sm-attendance-label { margin:0; color:#fff; }

/* Demo footer, adapted to the accessible WordPress form and menus. */
.s-footer .sm-footer-logo img { display:block; width:140px; max-width:100%; height:auto; margin:0 0 20px; }
.s-footer .sm-footer-address { margin:0; font-style:normal; }
.s-footer .sm-footer-address .icon-align-text { margin-bottom:14px; line-height:30px; overflow-wrap:anywhere; }
.s-footer .sm-footer-heading { color:var(--color-4); font-family:var(--font-3); font-weight:400; font-size:var(--text-lg); line-height:1.3; margin:32px 0 0; }
.s-footer__subscribe > .sm-footer-heading { margin-top:0; }
.s-footer .sm-footer-safeguarding { font-size:12px; line-height:14px; }
.s-footer .sm-social-links { gap:8px; margin:0 0 10px; }
.s-footer .sm-social-links a { width:44px; height:44px; background:var(--color-3); color:#fff; }
.s-footer .sm-social-links a:hover,.s-footer .sm-social-links a:focus-visible { background:var(--color-3-darker); color:#fff; }
.s-footer .sm-social-links svg { width:27px; height:27px; }
.s-footer .sm-footer-form { padding:0; }
.s-footer .sm-footer-form :is(input[type="text"],input[type="email"],textarea) { display:block; box-sizing:border-box; width:100%; height:var(--vspace-2); background:#fff; border:1px solid #fff; border-radius:20px; padding:9px 12px; margin:0 0 var(--vspace-0_5); text-align:left; color:#252525; font-family:var(--font-1); }
.s-footer .sm-footer-form .nf-field-element textarea { height:150px; min-height:100px; border-radius:20px; padding:9px 12px; resize:vertical; }
.s-footer .sm-footer-form ::placeholder { color:#616161; opacity:1; }
.s-footer .sm-footer-form :is(button,input[type="submit"],input[type="button"]) { display:block; width:50%; margin:0 0 0 auto; background:#000; color:#fff; border:0; border-radius:100px; }
.s-footer .sm-footer-form :is(button,input[type="submit"],input[type="button"]):hover { background:var(--color-gray-16); color:#fff; }
.s-footer .ss-copyright { display:flex; align-items:baseline; gap:16px; flex-wrap:wrap; }
.s-footer .ss-copyright > span::after { content:none; }
.s-footer .sm-footer-menu { gap:0; font-size:calc(var(--text-size) * .7222); line-height:var(--vspace-0_75); }
.s-footer .sm-footer-menu > li + li::before { content:'/'; padding:0 10px; }
@media(max-width:800px) { .s-footer .sm-footer-logo img { width:120px; } .s-footer .sm-footer-heading { margin:22px 0 0; } .s-footer .sm-social-links svg { width:22px; height:22px; } .s-footer .sm-social-links {margin: 0} .s-footer .sm-footer-address .icon-align-text {font-size: 18px;line-height: 26px;}}
@media(max-width:600px) { .s-footer .sm-footer-form :is(button,input[type="submit"],input[type="button"]) { width:100%; margin-left:0; } .s-footer .ss-copyright { display:block; } .s-footer .sm-footer-logo img { width:100px; }} 
.s-footer__subscribe > .sm-footer-heading { font-size:var(--text-xl); line-height:var(--vspace-1_25); }
.s-footer .sm-footer-form :is(button,input[type="submit"],input[type="button"]) { --btn-height:calc(var(--vspace-btn) - .8rem); }
/* The supplied demo uses a yellow footer submit button. */
.s-footer .sm-footer-form :is(button,input[type="submit"],input[type="button"]) { background:var(--color-4); color:#000; }
.s-footer .sm-footer-form :is(button,input[type="submit"],input[type="button"]):hover { background:#000; color:#fff; }

/* Automatic child-page links on the Child Pages template. */
.sm-child-pages { margin-top:36px; }
.sm-child-page-list { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; list-style:none; margin:0; padding:0; }
.sm-child-page-list > li { margin:0; padding:0; min-width:0; }
.sm-child-page-link { display:flex; align-items:center; justify-content:space-between; gap:20px; box-sizing:border-box; height:100%; min-height:72px; padding:22px 26px; border-radius:18px; background:var(--sm-navy,#094070); color:#fff; font-family:var(--font-3,'Varela Round',sans-serif); font-size:20px; font-weight:700; line-height:1.4; text-decoration:none; transition:background-color .15s,color .15s; }
.sm-child-page-link > span { min-width:0; overflow-wrap:anywhere; }
.sm-child-page-link > svg { width:24px; height:24px; flex:0 0 24px; }
.sm-child-page-link:hover { background:var(--color-4,#fac535); color:#001d3d; }
.sm-child-page-link:focus-visible { background:var(--color-4,#fac535); color:#001d3d; outline:3px solid #065da8; outline-offset:4px; box-shadow:none; }
@media(max-width:600px){ .sm-child-page-list { grid-template-columns:1fr; gap:14px; } .sm-child-page-link { min-height:64px; padding:18px 20px; font-size:18px; } }

/* Page banners account for the header and use flow layout for long titles. */
:root { --sm-header-height:194px; }
.sm-body .s-hero.inner-header.sm-page-banner { box-sizing:border-box; display:grid; place-items:center; isolation:isolate; height:auto; min-height:clamp(350px,calc(var(--sm-site-width) * var(--sm-banner-image-scale,.52)),700px); padding:var(--sm-header-height) var(--sm-gutter) 0; margin:0; overflow:hidden; }
.sm-body .sm-page-banner > img { position:absolute; inset:0; z-index:0; display:block; width:100%; height:100%; min-height:0; max-height:none; margin:0; object-fit:cover; border:0; }
.sm-body .sm-page-banner::before { z-index:1; pointer-events:none; }
.sm-body .sm-page-banner .main-title,
.sm-body .sm-page-banner.sm-banner-plain .main-title { position:relative; top:auto; left:auto; transform:none; width:100%; max-width:1342px; margin:0 auto; z-index:2; }
.sm-body .sm-page-banner .main-title h1 { margin:0; overflow-wrap:anywhere; }
.sm-body .s-hero.inner-header.sm-page-banner.sm-banner-plain { --sm-banner-space:clamp(28px,5.5vw,84px); min-height:0; padding-top:calc(var(--sm-header-height) + var(--sm-banner-space)); padding-bottom:var(--sm-banner-space); background:#065da8; }
.sm-body .sm-page-banner.sm-banner-plain::before { display:none; }
@media(max-width:900px){ :root { --sm-header-height:112px; } }
@media(max-width:699px){ :root { --sm-header-height:96px; } }

@media(min-width:901px) and (max-width:1299px){ .sm-body .s-hero.inner-header.sm-page-banner:not(.sm-banner-plain) { min-height:clamp(420px,calc(var(--sm-site-width) * var(--sm-banner-image-scale,.52)),700px); } }
@media(max-width:900px){ .sm-body .s-hero.inner-header.sm-page-banner:not(.sm-banner-plain) { min-height:clamp(300px,calc(var(--sm-site-width) * var(--sm-banner-image-scale,.52)),700px); } }

/* Ninja Forms footer: retain the demo's rounded fields and yellow submit button. */
.s-footer .sm-footer-form .nf-form-title { display:none; }
.s-footer .sm-footer-form .nf-field-container { margin-bottom:var(--vspace-0_5); }
.s-footer .sm-footer-form .nf-field-label { color:#fff; font-size:16px; }
.s-footer .sm-footer-form .nf-field-label label { color:inherit; }
.s-footer .sm-footer-form :is(input[type="tel"],input[type="number"],input[type="url"],select) { box-sizing:border-box; width:100%; background:#fff; color:#252525; border:1px solid #fff; border-radius:20px; padding:9px 12px; font-family:var(--font-1); }
.s-footer .sm-footer-form .nf-field-element :is(input[type="text"],input[type="email"],textarea) { margin-bottom:0; }
.s-footer .sm-footer-form .submit-container .nf-field-element { text-align:right; }
.s-footer .sm-footer-form .nf-field-element :is(input[type="submit"],input[type="button"],button) { height:var(--btn-height); padding:0 24px; font-family:var(--font-1); font-weight:700; cursor:pointer; }
.s-footer .sm-footer-form :is(.nf-error-msg,.nf-form-errors,.ninja-forms-req-symbol) { color:#fff; }
.s-footer .sm-footer-form .nf-error :is(input,textarea,select) { border:2px solid #a52323; }
.s-footer .sm-footer-form .nf-response-msg { color:#fff; }
.s-footer .sm-footer-form .nf-before-form-content {display:none}
.s-footer .sm-footer-form .nf-form-content {padding: 0px;}

/* Visible keyboard focus for the footer Ninja Forms submit control. */
.s-footer .sm-footer-form .submit-container :is(input[type="submit"],input[type="button"],button):focus-visible {
 outline:3px solid #fff;
 outline-offset:4px;
 box-shadow:0 0 0 7px var(--sm-navy,#094070);
}

/* Inner pages and post listings have a header in normal document flow. */
.sm-inner-layout .sm-site-header { position:relative; top:0; background:#065da8; backdrop-filter:none; }
.sm-inner-layout.admin-bar .sm-site-header { top:0; }
.sm-inner-layout .s-hero.inner-header.sm-page-banner { padding:32px var(--sm-gutter); min-height:clamp(240px,30vw,460px); }
.sm-inner-layout .s-hero.inner-header.sm-page-banner.sm-banner-plain { min-height:0; padding:clamp(32px,4vw,64px) var(--sm-gutter); }
.sm-inner-layout .sm-listing { padding-top:clamp(32px,4vw,60px); }
.sm-listing > .row.sm-news-grid { width:100%; max-width:none; margin-left:0; margin-right:0; }
.sm-content .post-navigation .nav-links { display:flex; justify-content:space-between; align-items:flex-start; gap:24px; }
.sm-content .post-navigation .nav-previous { flex:0 1 48%; text-align:left; }
.sm-content .post-navigation .nav-next { flex:0 1 48%; margin-left:auto; text-align:right; }
.sm-content .post-navigation .nav-links a { display:block; overflow-wrap:anywhere; }
@media(max-width:900px){.sm-inner-layout .s-hero.inner-header.sm-page-banner:not(.sm-banner-plain){min-height:clamp(220px,35vw,320px);padding:28px 20px;}.sm-content .post-navigation .nav-links{gap:16px;}}

/* Featured banners: taller desktop crop and consistent intermediate sizing. */
@media(min-width:1201px){.sm-inner-layout .s-hero.inner-header.sm-page-banner:not(.sm-banner-plain){min-height:clamp(380px,34vw,560px);}}
@media(min-width:900px) and (max-width:1200px){.sm-inner-layout .s-hero.inner-header.sm-page-banner:not(.sm-banner-plain){min-height:clamp(280px,28vw,340px);padding:28px var(--sm-gutter);}}

/* Section navigation only takes space when the primary menu has a branch. */
.sm-section-layout { display:grid; grid-template-columns:clamp(250px,25%,350px) minmax(0,1fr); grid-template-areas:"sidebar content"; gap:clamp(24px,4vw,60px); align-items:stretch; }
.sm-section-main { grid-area:content; min-width:0; }
.sm-section-main .entry-content > * { max-width:none; }
.sm-section-sidebar { grid-area:sidebar; background:#065da8; color:#fff; padding:0 18px 12px; overflow-wrap:anywhere; }
.sm-section-sidebar-title { margin:0 -18px 6px; border-bottom:1px solid #7194b3; background:#073257; color:#fff; font-weight:700; }
.sm-section-sidebar-title > :is(a,span) { padding:14px 18px; }
.sm-section-sidebar ul { list-style:none; margin:0; padding:0; }
.sm-section-sidebar li { padding:0; margin:0; }
.sm-section-sidebar li + li { border-top:1px solid #7194b3; }
.sm-section-sidebar li > ul { padding-inline-start:12px; margin-bottom:6px; }
.sm-section-sidebar :is(a,li > span,.sm-section-sidebar-title > span) { display:flex; align-items:center; min-height:44px; color:inherit; }
.sm-section-sidebar li > :is(a,span) { padding:8px 6px; line-height:1.4; }
.sm-section-sidebar a:hover { color:#fff; background:#1e527f; text-decoration:underline; }
.sm-section-sidebar a:focus-visible { outline:3px solid #fac535; outline-offset:-3px; box-shadow:none; }
.sm-section-sidebar .sm-section-active > a,
.sm-section-sidebar .sm-section-active > a:hover { background:#fac535; color:#094070; font-weight:700; }
.sm-section-sidebar [aria-current="page"],.sm-section-sidebar a[aria-current="page"]:hover { background:#fac535; color:#094070; font-weight:700; }
.sm-section-sidebar a[aria-current="page"]:focus-visible,
.sm-section-sidebar .sm-section-active > a:focus-visible { outline-color:#094070; }
@media(max-width:1200px){.sm-section-layout{grid-template-columns:minmax(0,1fr);grid-template-areas:"content" "sidebar";}}
@media(max-width:900px){
 .sm-section-layout{grid-template-areas:"content";}
 .sm-section-sidebar{display:none;}
}

.sm-listing .sm-section-main > .sm-news-grid { width:100%; max-width:none; margin-inline:0; grid-template-columns:repeat(2,minmax(0,1fr)); }
@media(max-width:600px){.sm-listing .sm-section-main > .sm-news-grid{grid-template-columns:minmax(0,1fr);}}


/* Sidebars sit beside the entire page column, including its banner. */
.sm-section-page { box-sizing:border-box; width:100%; padding:clamp(24px,4vw,60px) var(--sm-gutter) clamp(40px,5vw,70px); }
.sm-listing.sm-listing-with-sidebar { max-width:none; }
.sm-section-page .sm-section-main > .sm-content { background:#fff; max-width:none; padding:clamp(12px,1.2vw,20px) 0 0; }
.sm-inner-layout .sm-section-page .s-hero.inner-header.sm-page-banner:not(.sm-banner-plain) {
 min-height:clamp(220px,30vw,460px);
}
.sm-section-page .sm-page-banner .main-title h1 { font-size:clamp(28px,3.5vw,60px); }
.sm-section-main .entry-content > :is(.alignwide,.alignfull),
.sm-section-main .entry-content > .sm-quote:is(.alignwide,.alignfull) { width:100%; max-width:100%; margin-inline:auto; transform:none; }

/* Match the header's outer gutters while keeping the footer columns responsive. */
.s-footer { --sm-footer-gutter:40px; }
.s-footer > :is(.s-footer__main,.s-footer__bottom) > .row {
 box-sizing:border-box; width:100%; max-width:none; padding-inline:var(--sm-footer-gutter);
}
.s-footer__main > .row > :first-child { padding-inline-start:0; }
.s-footer__main > .row > :last-child { padding-inline-end:0; }
.s-footer__bottom > .row > .column { padding-inline:0; }
@media(max-width:900px){.s-footer{--sm-footer-gutter:20px;}}
@media(max-width:800px){.s-footer__main > .row > .column{padding-inline:0;}}
@media(max-width:699px){.s-footer{--sm-footer-gutter:12px;}}
