/* Stability cleanup: header duplicates + footer contrast */
.header-utility-strip{display:none !important;}

/* Keep desktop header on one row and prevent duplicate-looking utility links */
.site-header .header-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:nowrap;}
.site-header .site-logo{flex:0 0 auto;}
.site-header .mega-nav{flex:1 1 auto;justify-content:center;min-width:0;}
.site-header .nav-actions{flex:0 0 auto;}

/* Footer contrast fix */
.shell-footer-inner{background:linear-gradient(180deg,#ffffff,#f8fafc) !important;}
.shell-footer-brand,.shell-footer-col{background:#ffffff !important;border:1px solid rgba(148,163,184,.22) !important;}
.shell-footer .footer-col h4,
.shell-footer .footer-brand .logo,
.shell-footer .footer-brand p,
.shell-footer .footer-col a,
.shell-footer .footer-col span,
.shell-footer .footer-bottom span,
.shell-footer .footer-bottom a{color:#0f172a !important;opacity:1 !important;}
.shell-footer .footer-col a:hover,.shell-footer .footer-bottom a:hover{color:var(--primary) !important;}
.shell-footer-bottom{border-top:1px solid rgba(148,163,184,.18) !important;}

/* Footer social / small links readable */
.site-footer a{ text-decoration:none; }

@media (max-width:980px){
  .site-header .header-inner{flex-wrap:wrap;}
  .site-header .site-logo{order:1;}
  .site-header .nav-actions{order:2;margin-inline-start:auto;}
}
