/* Shared SCART palette and background, used by WordPress and SCART Live. */
:root{--scart-bg:#101923;--scart-panel:#1b2b3a;--scart-edge:#486779;--scart-text:#eaf0f6;--scart-muted:#afc4d8;--scart-link:#a6d8ff;--scart-gold:#ffd166;color-scheme:dark}
body.scart-themed{background:linear-gradient(135deg,#101923,#122733 55%,#122e2b)!important;color:var(--scart-text);isolation:isolate;min-height:100vh}
body.scart-themed::before,body.scart-themed::after{content:"";position:fixed;pointer-events:none;z-index:-1;border-radius:48%;width:110vw;height:80vh;left:-45vw;top:12vh;border:1px solid rgba(110,185,223,.22);box-shadow:0 0 0 32px rgba(110,185,223,.035),0 0 0 65px rgba(110,185,223,.06),0 0 0 100px rgba(110,185,223,.025);transform:rotate(-25deg);animation:scart-wave-drift 26s ease-in-out infinite alternate}
body.scart-themed::after{left:45vw;top:48vh;border-color:rgba(116,201,177,.2);box-shadow:0 0 0 35px rgba(116,201,177,.04),0 0 0 70px rgba(116,201,177,.055),0 0 0 110px rgba(116,201,177,.025);animation-delay:-13s;animation-duration:32s}
.scart-logo-panel{display:inline-flex;align-items:center;justify-content:center;padding:9px 13px;background:#fff;border:1px solid #ccd9e1;border-radius:16px;box-shadow:0 6px 24px #0003}.scart-logo-panel img{display:block;width:190px;max-width:100%;height:auto}
@keyframes scart-wave-drift{from{transform:translate3d(0,0,0) rotate(-25deg)}to{transform:translate3d(5vw,-4vh,0) rotate(-16deg)}}
@media(prefers-reduced-motion:reduce){body.scart-themed::before,body.scart-themed::after{animation:none!important}}

/* Compact shared branding and navigation. */
.scart-shared-header{position:relative!important;top:auto!important;width:100%;padding:12px 20px 0!important;margin:0 0 24px!important;text-align:left;background:linear-gradient(110deg,#101923,#17374a 53%,#193e39)!important;border-radius:0!important;overflow:visible!important;z-index:20}
.scart-header-inner{max-width:1200px;margin:auto}.scart-brand-row{display:flex;align-items:center;justify-content:center;gap:22px;padding:6px 0 14px}.scart-brand-logo{display:block;flex:0 0 150px;background:transparent!important;border:0!important;padding:0!important;box-shadow:none!important;mix-blend-mode:screen}.scart-brand-logo img{display:block;width:150px;height:auto;filter:invert(1) hue-rotate(180deg) saturate(1.3);border:0!important;border-radius:0!important}.scart-brand-text p{margin:0!important;line-height:1.45!important;font-family:system-ui,-apple-system,"Segoe UI",sans-serif!important;color:#eaf0f6!important}.scart-brand-name{font-size:21px!important;font-weight:700}.scart-brand-name span{display:block;font-size:15px;font-weight:400;color:#afc4d8}.scart-brand-location{font-size:14px!important;margin-top:4px!important;color:#d2e3ef!important}
.scart-header-nav{border-top:1px solid #48677980;padding:9px 0!important;margin:0!important}.scart-main-nav{display:flex;flex-wrap:wrap;gap:5px;justify-content:center;list-style:none!important;margin:0!important;padding:0!important}.scart-main-nav>li{position:relative;list-style:none;margin:0!important;padding:0!important}.scart-main-nav a,.scart-header-nav>a,.scart-header-nav>button{display:inline-flex;align-items:center;justify-content:center;min-height:40px;padding:7px 11px;border:1px solid #486779;border-radius:7px;background:#1b2b3a;color:#eaf0f6!important;font:14px/1.4 system-ui!important;text-decoration:none!important}.scart-main-nav a:hover,.scart-main-nav a:focus,.scart-main-nav .current-menu-item>a{border-color:#74c9b1;color:#ffd166!important}.scart-main-nav a[href="https://live.scartgroup.co.uk/"],.scart-header-nav .external-nav{background:#245846!important;border-color:#74bca1!important}.scart-main-nav ul{display:none;position:absolute;top:100%;left:0;min-width:210px;padding:8px!important;margin:0!important;background:#1b2b3a;border:1px solid #486779;border-radius:8px;list-style:none;z-index:100}.scart-main-nav ul li{list-style:none}.scart-main-nav ul a{display:block;border:0;white-space:normal}.scart-main-nav li:hover>ul,.scart-main-nav li:focus-within>ul{display:block}.scart-main-nav a:focus-visible,.scart-brand-logo:focus-visible{outline:2px solid #ffd166;outline-offset:3px}
#agama-header-distance{display:none!important}body.scart-themed .scart-shared-header::after{bottom:0}.scart-header-nav.site-tabs{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}.scart-header-nav.site-tabs .external-start{margin-left:12px}.scart-header-nav.site-tabs button[aria-disabled=true]{color:#afc4d8!important}
@media(max-width:600px){.scart-shared-header{padding:10px 12px 0!important}.scart-brand-row{gap:12px;justify-content:flex-start}.scart-brand-logo{flex-basis:96px}.scart-brand-logo img{width:96px}.scart-brand-name{font-size:18px!important}.scart-brand-name span{font-size:12px}.scart-brand-location{font-size:12px!important}.scart-main-nav{gap:5px}.scart-main-nav a,.scart-header-nav>a,.scart-header-nav>button{font-size:12px!important;padding:7px 9px}.scart-header-nav.site-tabs .external-start{margin-left:0}.scart-main-nav ul{min-width:160px;max-width:75vw}.scart-main-nav>li:nth-last-child(-n+3)>ul{left:auto;right:0}}

.scart-brand-logo{mix-blend-mode:normal!important}.scart-brand-logo img{filter:none!important}


/* Identical header geometry on main and Live sites. */
body.scart-themed .scart-shared-header{box-sizing:border-box!important;max-width:1200px!important;width:calc(100% - 40px)!important;margin:30px auto 24px!important;padding:12px 20px 0!important;min-height:0!important}
body.scart-themed .scart-brand-row{box-sizing:border-box;min-height:92px;padding:6px 0 14px!important}
body.scart-themed .scart-header-nav{box-sizing:border-box;min-height:64px;margin:0!important;padding:10px 0 12px!important;border-top:1px solid #48677980!important}
body.scart-themed .scart-header-nav.site-tabs{align-items:flex-start!important;gap:5px!important}
body.scart-themed .scart-main-nav{align-items:flex-start!important;gap:5px!important}
body.scart-themed .scart-main-nav>li{margin:0!important;padding:0!important;line-height:1!important}
body.scart-themed .scart-main-nav>li>a,body.scart-themed .scart-header-nav.site-tabs>a,body.scart-themed .scart-header-nav.site-tabs>button{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:40px!important;height:40px!important;margin:0!important;padding:7px 11px!important;line-height:1.4!important;font:14px/1.4 system-ui!important;border-radius:7px!important;vertical-align:top!important}
body.scart-themed #masthead #menu-item-887>a{margin:0!important;padding:7px 11px!important;height:40px!important;min-height:40px!important;line-height:1.4!important}
body.scart-themed .scart-header-nav.site-tabs .external-start{margin-left:0!important}
body.scart-themed>main{padding-top:0!important}
body.scart-themed>main>.scart-shared-header{width:100%!important}
body.scart-themed #main>.vision-row>#primary>#content{margin-top:0!important}
body.scart-themed #main>.vision-row>#secondary{padding-top:0!important}
@media(max-width:600px){body.scart-themed .scart-shared-header{width:calc(100% - 28px)!important;margin-top:24px!important;padding:10px 12px 0!important}body.scart-themed .scart-brand-row{min-height:92px}body.scart-themed .scart-main-nav>li>a,body.scart-themed .scart-header-nav.site-tabs>a,body.scart-themed .scart-header-nav.site-tabs>button{font-size:12px!important;padding:7px 9px!important}body.scart-themed #masthead #menu-item-887>a{padding:7px 9px!important}}
body.scart-themed .scart-header-nav{display:flex!important;align-items:flex-start!important;justify-content:center!important;flex-wrap:wrap!important;line-height:1!important}
body.scart-themed .scart-main-nav{line-height:1!important;min-height:0!important;height:auto!important}
body.scart-themed .scart-main-nav::before,body.scart-themed .scart-main-nav::after,body.scart-themed .scart-header-nav::before,body.scart-themed .scart-header-nav::after{display:none!important;content:none!important}
/* Use the clearer Live button dimensions across both navigation bars. */
body.scart-themed .scart-header-nav{min-height:70px!important}
body.scart-themed .scart-main-nav>li>a,body.scart-themed .scart-header-nav.site-tabs>a,body.scart-themed .scart-header-nav.site-tabs>button,body.scart-themed #masthead #menu-item-887>a{height:46px!important;min-height:46px!important;padding:10px 14px!important;font:15px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif!important;margin:0!important;border-width:1px!important}
@media(max-width:600px){body.scart-themed .scart-main-nav>li>a,body.scart-themed .scart-header-nav.site-tabs>a,body.scart-themed .scart-header-nav.site-tabs>button,body.scart-themed #masthead #menu-item-887>a{font-size:13px!important;padding:9px 11px!important}}

/* One footer treatment for WordPress and Live. */
body.scart-themed .site-footer{box-sizing:border-box!important;max-width:1200px!important;width:100%!important;margin:40px auto 0!important;padding:24px 20px 32px!important;border-top:1px solid #486779!important;background:transparent!important;text-align:center!important;color:#afc4d8!important;font:14px/1.8 system-ui,-apple-system,"Segoe UI",sans-serif!important}
body.scart-themed .site-footer p{margin:7px 0!important;font:inherit!important;color:inherit!important}body.scart-themed .site-footer a{color:#a6d8ff!important;font:inherit!important;text-underline-offset:3px}body.scart-themed .site-footer a:hover{color:#ffd166!important}

/* Shared navigation dimensions, independent of recovered page styles. */
html body .scart-shared-header .scart-header-nav.site-tabs{display:flex!important;align-items:center!important;justify-content:center!important;flex-wrap:wrap!important;gap:5px!important;min-height:70px!important;padding:10px 0 12px!important;margin:0!important;line-height:1!important}
html body .scart-shared-header .scart-header-nav.site-tabs>a{box-sizing:border-box!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;width:auto!important;max-width:none!important;height:46px!important;min-height:46px!important;margin:0!important;padding:10px 14px!important;border-width:1px!important;border-style:solid!important;border-radius:7px!important;font:400 15px/21px system-ui,-apple-system,"Segoe UI",sans-serif!important;letter-spacing:normal!important;text-transform:none!important;white-space:nowrap!important;vertical-align:middle!important}
html body .scart-shared-header .scart-header-nav.site-tabs>a:nth-child(-n+2){min-width:136px!important}
@media(max-width:600px){html body .scart-shared-header .scart-header-nav.site-tabs>a{font-size:13px!important;padding:9px 11px!important}html body .scart-shared-header .scart-header-nav.site-tabs>a:nth-child(-n+2){min-width:120px!important}}
