/* Loaded only below the original 984px desktop layout. */
*, *::before, *::after { box-sizing: border-box; }
body, .full { min-width: 0; }
body { margin: 0; }
.container_12 { width: 100%; max-width: 100%; padding-left: 20px; padding-right: 20px; }
.container_12 .container_12 { padding-left: 0; padding-right: 0; }
.container_12 [class*="grid_"] { width: 100%; float: none; display: block; margin: 0; min-width: 0; }
img, video, iframe { max-width: 100%; }
img { height: auto; }
#header { background: #fff; }
#inner-header { padding-top: 16px; padding-bottom: 16px; }
#inner-header > .grid_12 { display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
#inner-header #logo { width: 150px; flex: 0 0 150px; }
#logo img { display: block; width: 100%; }
#inner-header #nav-headerText { flex: 1; min-width: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 14px; position: static; }
#headerText { position: static; width: 100%; max-width: 358px; float: none; order: 0; }
#headerText img { display: block; margin-left: auto; }
#mobile-menu-toggle:not([hidden]) { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 44px; padding: 10px 16px; border: 0; background: #231f20; color: #fff; font: bold 16px Arial, sans-serif; cursor: pointer; order: 1; }
.hamburger-icon { display: flex; flex-direction: column; gap: 4px; width: 22px; }
.hamburger-icon span { display: block; width: 22px; height: 2px; background: currentColor; }
#mobile-menu-toggle[aria-expanded="true"] { background: #b80000; }
#mobile-menu-toggle:focus-visible, #nav-header a:focus-visible { outline: 3px solid #e60000; outline-offset: 3px; }
#nav-header { order: 2; width: 100%; }
.mobile-menu-ready #nav-header { display: none; }
.mobile-menu-ready #nav-header.is-open { display: block; }
#nav-header nav[role="navigation"] { float: none; margin: 0; }
#nav-header nav[role="navigation"] .menu { display: block; width: 100%; height: auto; }
#nav-header ul { padding: 0; margin: 0; list-style: none; }
#nav-header nav[role="navigation"] .menu ul li { float: none; }
#nav-header nav[role="navigation"] .menu ul li a { float: none; height: auto; min-height: 44px; padding: 14px 12px; font-size: 16px; border-bottom: 1px solid #ddd; }
#nav-header nav[role="navigation"] .menu ul li ul { position: static; width: auto; margin: 0 0 0 16px; background: #f3f3f3; }
#innerBanner { height: auto; padding-top: 20px; padding-bottom: 24px; }
#bgImageInternal, #banner-mechanical, #banner-electrical, #banner-plc { float: none; width: 100%; height: 280px; margin: 0; background-size: contain; background-position: center; }
#banner_Text { position: static; margin: 20px 0 0; width: 100%; }
#banner_Text h1, #main_contentText h1 { width: auto; height: auto; margin: 8px 0; font-size: clamp(22px, 4.5vw, 34px); line-height: 1.35; text-indent: 0; }
#banner_Text h1 span, #main_contentText h1 span { height: auto; line-height: 1.5; box-decoration-break: clone; -webkit-box-decoration-break: clone; }
#bannerHeaderAbout #innerBanner { min-height: 260px; display: flex; align-items: flex-end; }
#contactHeader { display: flex; flex-direction: column; }
#contactHeader > .contactImage, #contactHeader > img { order: 0; display: block; width: 100%; height: 240px; margin: 0; object-fit: cover; }
#contactHeader > .contactImage img { width: 100%; height: 240px; object-fit: cover; }
#innerBannerContact { order: 1; padding-top: 12px; padding-bottom: 20px; background: #333; }
#innerBannerContact #banner_Text { margin-top: 0; }
#main-home #bg-image { width: 100%; float: none; height: 320px; margin: 0; background-size: contain; background-position: center; }
#main_contentText { position: static; margin: 0 0 24px; }
#contentText { width: 100%; font-size: 16px; line-height: 1.6; }
#quickLinks { padding-top: 16px; padding-bottom: 24px; }
#quickLinks #links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
#links a, #links .quickLink { display: block; padding: 0; }
#links img { display: block; width: 100%; }
#main, #sidebar, #sidebar-left, #sidebar1, #main-postText, #address, #contactForm, #contact, #customers { width: 100%; float: none; margin-left: 0; margin-right: 0; }
#content, #contactMain, #casestudy, #main-postText { padding-top: 24px; padding-bottom: 24px; }
#main-post { margin-top: 0; }
.post_content { width: 100%; float: none; font-size: 16px; line-height: 1.65; overflow-wrap: anywhere; }
.post_content ul, .post_content ol { margin-left: 1.4em; margin-right: 0; }
.page-title, .main-postTitle, .main-contentTitle, .run_list_news h3 { width: 100%; height: auto; float: none; }
#sidebar { padding: 24px 0; }
#sidebar ul { font-size: 16px; line-height: 1.6; }
#address { line-height: 1.6; font-size: 16px; }
#address a { display: inline-block; padding: 8px 0; }
#contactForm { padding-top: 24px; }
.wpcf7, .wpcf7-form, .wpcf7-form-control-wrap { max-width: 100%; }
.contactBox, .wpcf7-textarea, input[type="text"], input[type="email"], input[type="tel"], select, textarea { width: 100%; max-width: 100%; font-size: 16px; min-height: 44px; }
textarea { min-height: 140px; }
.sendButton, input[type="submit"] { min-height: 44px; padding: 10px 20px; font-size: 16px; cursor: pointer; }
.post_content table { display: block; max-width: 100%; overflow-x: auto; }
#internal-footerText { padding-top: 24px; padding-bottom: 24px; }
#contact { line-height: 1.6; font-size: 14px; padding: 0; }
#contact br { display: none; }
#contact a { display: inline-block; min-height: 44px; padding: 10px 0; }
.internal-footerTitle { width: 100%; margin: 16px 0; }
.customersImage { float: none; max-width: 100%; margin: 12px 0; }
#inner-footer p { line-height: 1.8; overflow-wrap: anywhere; }
#inner-footer a { display: inline-block; padding: 8px 0; }
@media (max-width: 600px) {
  .container_12 { padding-left: 16px; padding-right: 16px; }
  #inner-header #logo { width: 120px; flex-basis: 120px; }
  #inner-header #nav-headerText { flex: 0 0 100%; }
  #headerText { position: absolute; right: 16px; top: 16px; width: calc(100% - 168px); max-width: 260px; }
  #mobile-menu-toggle:not([hidden]) { align-self: stretch; }
  #main-home #bg-image { height: 240px; }
  #bgImageInternal, #banner-mechanical, #banner-electrical, #banner-plc { height: 220px; }
  #contactHeader > .contactImage, #contactHeader > img, #contactHeader > .contactImage img { height: 190px; }
  .alignleft, img.alignleft, .alignright, img.alignright { float: none; display: block; margin: 12px 0; }
}
