/* overflow + media safety for static restore */
html, body { max-width: 100%; overflow-x: hidden; }
img, video, iframe, svg, canvas, table, embed, object { max-width: 100%; height: auto; }
pre, code { overflow-wrap: anywhere; word-break: break-word; }

/* Submenu desktop tidak muat di layar sempit; menu hamburger sudah ada. */
@media (max-width: 767px) {
  .newsub_menu, .newsub_menu2 { display: none !important; }
}


/* Stronger overflow protection (scrollWidth must not exceed viewport) */
html, body { max-width: 100%; overflow-x: hidden; overflow-wrap: anywhere; }
img, video, iframe, svg, canvas, table, embed, object { max-width: 100%; height: auto; }
a, p, li, td, th, h1, h2, h3, h4, pre, code { overflow-wrap: anywhere; word-break: break-word; }

@media (max-width: 844px) {
  .newsub_menu, .newsub_menu2 { display: none !important; }
  .uk-container, .uk-navbar, .head, .head-inner, .footer, .wrapper, .page,
  .uk-offcanvas-content, .uk-grid, [class*="uk-width"] {
    max-width: 100% !important;
  }
  .uk-flex, .uk-grid { flex-wrap: wrap !important; }
}
