/* Mobile header and footer refinement. Native menus and Solutio credit remain intact. */
@media(max-width:50.99rem){
 .casimir-masthead,body.adalbert-site .adalbert-masthead{display:flex;flex-direction:column;align-items:stretch;gap:18px;padding:22px 18px 16px;min-height:0;}
 .casimir-brand,body.adalbert-site .adalbert-brand{display:flex;align-items:center;gap:14px;min-width:0;}
 .casimir-brand>img{width:60px;height:84px;flex-shrink:0;object-fit:contain;}
 body.adalbert-site .adalbert-brand img{width:56px;height:72px;flex-shrink:0;}
 .casimir-brand h1{font-size:26px!important;line-height:1.03!important;margin:0!important;}
 .casimir-brand p{font-size:11px!important;line-height:1.5!important;margin:9px 0 0!important;}
 body.adalbert-site .adalbert-brand h1{font-size:22px;line-height:1.2;letter-spacing:-.4px;}
 body.adalbert-site .adalbert-brand p{font-size:14px;line-height:1.4;margin-top:6px;}
 .casimir-utilities,body.adalbert-site .adalbert-utilities{box-sizing:border-box;display:flex;align-items:center;justify-content:stretch;gap:8px;width:100%;margin:0;padding:0 52px 0 0!important;min-height:44px;}
 .casimir-utilities a.button,body.adalbert-site .adalbert-utilities a.button{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:6px;min-height:44px;flex:1;padding:8px 4px!important;margin:0!important;font-size:11px!important;line-height:1.2;white-space:nowrap;border-radius:6px;border:1px solid #ffffff40!important;background:#ffffff0c;}
 body.adalbert-site .adalbert-utilities a.button{font-size:12px!important;border:1px solid #e0e1e4!important;background:#f7f7f8;}
 body #g-page-surround>.g-offcanvas-toggle{border-radius:6px;}
 .casimir-footer-brand,body.adalbert-site .adalbert-footer-contact{display:grid;grid-template-columns:52px minmax(0,1fr);align-items:center;gap:16px;}
 .casimir-footer-brand>div,body.adalbert-site .adalbert-footer-contact>div{display:contents;}
 .casimir-footer-brand>a>img{width:52px;height:74px;object-fit:contain;}
 body.adalbert-site .adalbert-footer-contact img{box-sizing:border-box;width:52px;height:66px;padding:4px;}
 .casimir-footer h2,body.adalbert-site .adalbert-footer h2{font-size:20px;line-height:1.3;margin:0!important;}
 .casimir-footer-brand p,body.adalbert-site .adalbert-footer-contact p{grid-column:1/-1;font-size:14px!important;line-height:1.85;margin:0!important;overflow-wrap:anywhere;}
 .casimir-footer-brand p a[href^="mailto:"]{display:block;}
 .casimir-footer-links{display:grid;grid-template-columns:1fr 1fr;gap:4px 18px;padding-top:20px;margin-top:22px;border-top:1px solid #ffffff26;}
 .casimir-footer-links a{font-size:12px;line-height:1.6;padding:8px 0;}
 body.adalbert-site .adalbert-footer-columns{gap:24px;}
 body.adalbert-site .adalbert-footer-links{padding-top:22px;border-color:#ffffff26;}
 body.adalbert-site .adalbert-footer-links ul{display:grid;grid-template-columns:1fr 1fr;gap:10px 16px;}
 body.adalbert-site .adalbert-footer-links li{font-size:12px;line-height:1.6;margin:0;padding:4px 0;}
 body.adalbert-site .adalbert-footer-bottom{gap:12px;margin-top:24px;padding-top:18px;}
 body.adalbert-site .adalbert-footer-bottom p{font-size:11px;}
}

@media(max-width:50.99rem){body #g-page-surround>.g-offcanvas-toggle{top:var(--mobile-header-menu-top,132px)!important;right:18px!important;left:auto!important;width:44px;height:44px;display:flex;align-items:center;justify-content:center}.g-offcanvas-open body #g-page-surround>.g-offcanvas-toggle{top:20px!important;left:12px!important;right:auto!important}}
