/* Sol-In sticky header (22.9.2026). Transparent header on every page; after ~40px scroll it gets a solid navy bar and shrinks. */
.ast-theme-transparent-header #masthead,
#masthead{position:fixed!important;top:0;left:0;right:0;z-index:99;width:100%;transition:background-color .12s ease,box-shadow .2s ease}
.admin-bar #masthead{top:var(--wp-admin--admin-bar--height,32px)}
@media (max-width:782px){.admin-bar #masthead{top:46px}}
#masthead .ast-primary-header-bar,#masthead .ast-mobile-header-wrap .ast-primary-header-bar{transition:background-color .25s ease,padding .25s ease}
#masthead .custom-logo,#masthead .site-logo-img img{transition:height .25s ease,width .25s ease}
/* stuck state */
#masthead.si-stuck{background:rgba(4,44,83,.94);-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);box-shadow:0 6px 24px rgba(2,20,40,.35)}
#masthead.si-stuck .ast-primary-header-bar{padding-top:4px;padding-bottom:4px}
#masthead.si-stuck .site-branding{padding-top:6px!important;padding-bottom:6px!important}
#masthead .site-branding{transition:padding .25s ease}
#masthead.si-stuck .custom-logo,#masthead.si-stuck .site-logo-img img{height:44px!important;width:auto!important;max-width:none}
@media (max-width:1100px){#masthead.si-stuck .custom-logo,#masthead.si-stuck .site-logo-img img{height:38px!important}}
/* keep the transparent look at the top */
#masthead:not(.si-stuck){background:transparent}
