/* Preserve full-width section backgrounds; give their mobile text a real gutter. */
@media(max-width:767px){
 body #content .ksc4-container,
 body #content .ka-wide,
 body #content .ka-process__inner,
 body #content .ka-values__inner{width:calc(100% - 48px)!important;max-width:none!important;margin-left:auto!important;margin-right:auto!important}
 body #content .ka-hero__content{padding-left:24px!important;padding-right:24px!important}
 body.home #content :is(.elementor-element-64b7870,.elementor-element-f8f888d,.elementor-element-b3c1f2a){padding-left:24px!important;padding-right:24px!important}
 body.home #content .elementor-element-248b638{padding-left:9px!important;padding-right:9px!important}
 body #content>.kcontact-privacy{box-sizing:border-box;width:calc(100% - 48px);margin:24px auto}
 body.page-id-3 #content .inner-post{padding-left:9px;padding-right:9px}
 body #content .kti-home__content{padding-left:24px!important;padding-right:24px!important}
}

/* Compact mobile drawer; retain the existing accessible close control. */
@media(max-width:1199px){
 html body #site-header #mmenu-wrapper .mmenu-inner{width:100%;padding:8px 24px 32px!important}
 html body #site-header #mmenu-wrapper .mmenu-close{position:relative!important;inset:auto!important;float:none!important;transform:none!important;margin:0 0 4px auto!important;color:#252825!important}
 html body #site-header #mmenu-wrapper .mmenu-close i{display:none!important}
 html body #site-header #mmenu-wrapper .mmenu-close::before,
 html body #site-header #mmenu-wrapper .mmenu-close::after{content:"";position:absolute;top:21px;left:11px;width:22px;height:2px;background:currentColor;transform:rotate(45deg)}
 html body #site-header #mmenu-wrapper .mmenu-close::after{transform:rotate(-45deg)}
 html body #site-header #mmenu-wrapper .mmenu-close:focus-visible{outline:2px solid #c90907;outline-offset:2px}
}

/* Footer: stack equipment and contact sections on narrow screens. */
@media(max-width:767px){
 html body .kasier-site-footer .kasier-footer-main{grid-template-columns:minmax(0,1fr)!important;gap:32px!important}
 html body .kasier-site-footer .kasier-footer-main>.kasier-footer-column{grid-column:1 / -1!important;grid-row:auto!important;width:100%;min-width:0}
 html body .kasier-site-footer .kasier-footer-column h3{white-space:normal!important;overflow-wrap:break-word;line-height:1.5}
 html body .kasier-site-footer .kasier-footer-contact a{min-width:0}
 html body .kasier-site-footer .kasier-footer-contact a>span:last-child{min-width:0;overflow-wrap:anywhere}
}
