/* Header search pill — loaded on every page when portal features are on */
.pz-search{--pz-s-brand:var(--ast-global-color-0,#075aae);--pz-s-line:#e3e6ea;background:#fff;padding:10px 16px;border-bottom:1px solid var(--pz-s-line)}
.pz-search__form{display:flex;align-items:center;gap:4px;max-width:760px;margin:0 auto;padding:4px 4px 4px 20px;background:#f7f9fb;border:2px solid var(--pz-s-brand);border-radius:999px;box-sizing:border-box}
.pz-search__form:focus-within{background:#fff;box-shadow:0 0 0 3px rgba(7,90,174,.18)}
.pz-search .pz-search__input{flex:1;min-width:0;border:0!important;background:transparent!important;box-shadow:none!important;outline:0;padding:8px 4px!important;font-size:16px;line-height:1.3;color:#14181f;height:auto;-webkit-appearance:none;appearance:none}
.pz-search .pz-search__input::placeholder{color:#6b7480;opacity:1}
.pz-search .pz-search__input::-webkit-search-cancel-button{display:none}
.pz-search .pz-search__btn{flex:none;display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;padding:0;border:0;border-radius:50%;background:var(--pz-s-brand);color:#fff;cursor:pointer;line-height:1}
.pz-search .pz-search__btn:hover,.pz-search .pz-search__btn:focus-visible{background:var(--ast-global-color-1,#067ae0);color:#fff}

/* Footer (preview): no "Powered by", no "Home" link, Contact Us + Privacy Policy sit directly above the copyright line */
#colophon .site-below-footer-wrap .site-footer-below-section-2,
#colophon .ast-footer-html-1,
#colophon #astra-footer-menu .menu-item-home{display:none!important}
#colophon{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:4px 24px}
#colophon .site-below-footer-wrap{order:1;flex:1 1 auto;width:auto!important}
#colophon .site-above-footer-wrap{order:2;flex:0 1 auto;width:auto!important}
#colophon .site-above-footer-wrap[data-section="section-above-footer-builder"],
#colophon .site-below-footer-wrap[data-section="section-below-footer-builder"]{padding-top:22px!important;padding-bottom:22px!important;min-height:0!important}
#colophon .site-footer-above-section-1{justify-content:flex-end!important}
#colophon #astra-footer-menu{justify-content:flex-end!important}
#colophon .site-above-footer-wrap .ast-builder-grid-row-container-inner,
#colophon .site-below-footer-wrap .ast-builder-grid-row-container-inner{padding-top:0!important;padding-bottom:0!important;min-height:0!important;max-width:none!important}
#colophon .site-above-footer-wrap .ast-builder-grid-row-container-inner{padding-right:30px!important;padding-left:0!important}
#colophon .site-footer-section,#colophon .ast-builder-footer-grid-columns{min-height:0!important;align-items:center}
#colophon .ast-footer-copyright p,#colophon .ast-footer-copyright{margin:0!important}
#colophon .site-above-footer-wrap .ast-builder-grid-row,
#colophon .site-below-footer-wrap .ast-builder-grid-row{grid-template-columns:1fr!important}
#colophon .site-footer-above-section-1{justify-content:flex-end!important;text-align:right}
#colophon .site-footer-above-section-2{display:none!important}
#colophon .footer-bar-navigation,#colophon .footer-nav-wrap{width:100%}
#colophon #astra-footer-menu{display:flex;flex-wrap:wrap;gap:6px 22px;justify-content:flex-end;margin:0;padding:0}
#colophon #astra-footer-menu .menu-item{margin:0}
#colophon #astra-footer-menu .menu-item>a{padding:0!important;line-height:1.6}
#colophon .site-footer-below-section-1{justify-content:flex-start!important;text-align:left}
#colophon .ast-footer-copyright{text-align:left!important}
@media (max-width:921px){
	#colophon .site-below-footer-wrap *{padding-left:0!important;margin-left:0!important}
	#colophon .site-below-footer-wrap.ast-builder-grid-row-container{padding-left:0!important;padding-right:0!important;margin-left:0!important;margin-right:0!important}
}
@media (max-width:921px){
	#colophon .site-above-footer-wrap .ast-builder-grid-row-container-inner,
	#colophon .site-below-footer-wrap .ast-builder-grid-row-container-inner{padding-left:16px!important;padding-right:16px!important}
}

/* Wide screens: pill sits in the header row, centered between logo and menu */
@media (min-width:1240px){
	#masthead{position:relative}
	#masthead .pz-search{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:clamp(320px,34vw,540px);padding:0;border:0;background:transparent;z-index:20}
}
@media (max-width:921px){
	#colophon{flex-wrap:wrap;gap:0 16px;font-size:14px}
	#colophon .site-below-footer-wrap,#colophon .site-above-footer-wrap{flex:0 1 auto;width:auto!important;display:block!important}
	#colophon .site-above-footer-wrap .ast-builder-grid-row-container-inner{padding-right:16px!important;padding-left:0!important}
	#colophon .site-footer-above-section-1,#colophon .footer-bar-navigation,#colophon .footer-nav-wrap{width:auto!important}
	#colophon #astra-footer-menu{flex-direction:row!important;gap:4px 14px;font-size:14px}
	#colophon .ast-footer-copyright,#colophon #astra-footer-menu a{font-size:14px!important}
}
@media (max-width:921px){
	.pz-search{padding:8px 12px}
	.pz-search .pz-search__btn{width:38px;height:38px}
}
