/* SEO Specialist UK: sticky header (all pages) */
#masthead{position:sticky;top:var(--wp-admin--admin-bar--height,0px);z-index:999;transition:background-color .25s ease,box-shadow .25s ease}
.ast-theme-transparent-header #masthead{position:fixed;left:0;right:0;top:var(--wp-admin--admin-bar--height,0px)}
@media (max-width:600px){.admin-bar #masthead{top:0}}
html body #masthead.ssuk-scrolled,html body #masthead.ssuk-scrolled .main-header-bar,html body #masthead.ssuk-scrolled .ast-primary-header-bar,html body.ast-theme-transparent-header #masthead.ssuk-scrolled .main-header-bar{background:rgba(24,32,44,.97)!important;box-shadow:0 8px 24px rgba(0,0,0,.28)!important;border-bottom:1px solid #2f3f55!important}
html body #masthead.ssuk-scrolled .main-header-bar{box-shadow:none!important}
html body #masthead .main-header-menu .sub-menu{background:#1c2735!important;border:1px solid #2f3f55!important;border-top:3px solid #c3317d!important;box-shadow:0 14px 30px rgba(0,0,0,.35);border-radius:0 0 4px 4px;padding:6px 0;min-width:240px}
html body #masthead .main-header-menu .sub-menu .menu-link{color:#F2F5F7!important;background:transparent!important;padding:10px 18px!important;font-size:.95rem}
html body #masthead .main-header-menu .sub-menu .menu-item:hover>.menu-link,html body #masthead .main-header-menu .sub-menu .current-menu-item>.menu-link{color:#e05a9e!important;background:#243245!important}
html body #masthead .main-header-menu .sub-menu .menu-item{border:0!important}
html body #ast-mobile-header .main-header-menu,html body #ast-mobile-header .ast-mobile-header-content,html body .ast-mobile-header-content .main-header-menu .sub-menu{background:#1c2735!important}
html body #ast-mobile-header .main-header-menu .menu-link{color:#F2F5F7!important;border-color:#2f3f55!important}
body:not(.ast-theme-transparent-header) #masthead,body:not(.ast-theme-transparent-header) #masthead .main-header-bar{background:#18202c!important}
/* compact header */
html body #masthead .main-header-bar{padding-top:0!important;padding-bottom:0!important}
html body #masthead .site-primary-header-wrap{min-height:72px!important}
html body #masthead .site-branding{padding-top:8px!important;padding-bottom:8px!important}
html body #masthead .custom-logo-link img,html body #masthead .site-logo-img img{max-height:52px!important;width:auto!important;height:auto}
@media (max-width:921px){html body #masthead .site-primary-header-wrap{min-height:64px!important}html body #masthead .custom-logo-link img,html body #masthead .site-logo-img img{max-height:44px!important}html body #masthead .site-branding{padding-top:6px!important;padding-bottom:6px!important}}
section[id],[id].band{scroll-margin-top:88px}
@media (prefers-reduced-motion:reduce){#masthead{transition:none}}
