/* Clone overrides: targeted fixes for static-clone behavior and approved metadata headings. */

.metadata-contact-h1 .elementor-heading-title {
  color: #8b8b8b;
  font-size: clamp(3.25rem, 5vw, 4.5rem);
  line-height: 1.2;
  margin: 0;
}

.postid-2353 .metadata-drain-tile-subheading {
  color: #222;
  font-size: 50px;
  line-height: 1.1;
  margin: 1.25rem 0 0;
  text-align: start;
}

@media (max-width: 767px) {
	.postid-2353 .metadata-drain-tile-subheading {
		font-size: 35px;
		line-height: 1.1;
		text-align: start;
	}

  .postid-2353 .elementor-element-1263c7fd,
  .postid-2353 .elementor-element-459d948c {
    box-sizing: border-box;
    flex: 0 1 350px !important;
    max-width: calc(100vw - 40px) !important;
    min-width: 0 !important;
    width: 350px !important;
  }

  .postid-2353 .elementor-element-1263c7fd .elementor-heading-title {
    display: block !important;
    font-size: clamp(2.25rem, 10.5vw, 2.75rem) !important;
    line-height: 1.05 !important;
    max-width: calc(100vw - 40px) !important;
    overflow-wrap: break-word;
    white-space: normal !important;
    width: 350px !important;
    word-break: normal;
  }

  .postid-2353 .elementor-element-459d948c p {
    box-sizing: border-box;
    display: block !important;
    max-width: calc(100vw - 40px) !important;
    overflow-wrap: break-word;
    white-space: normal !important;
    width: 350px !important;
  }

  .page-id-3261 .metadata-contact-h1,
  .page-id-3261 .elementor-element-70e97dc {
    box-sizing: border-box;
    flex: 0 1 350px !important;
    max-width: calc(100vw - 40px) !important;
    min-width: 0 !important;
    width: 350px !important;
  }

  .page-id-3261 .metadata-contact-h1 .elementor-heading-title {
    display: block !important;
    font-size: clamp(2.5rem, 12vw, 3.25rem) !important;
    line-height: 1.05 !important;
    max-width: calc(100vw - 40px) !important;
    overflow-wrap: break-word;
    white-space: normal !important;
    width: 350px !important;
    word-break: normal;
  }

  .page-id-3261 .elementor-element-70e97dc .elementor-heading-title {
    display: block !important;
    font-size: clamp(1.5rem, 7vw, 1.8rem) !important;
    line-height: 1.2 !important;
    max-width: calc(100vw - 40px) !important;
    overflow-wrap: break-word;
    white-space: normal !important;
    width: 350px !important;
  }
}

/* Restore the cloned Elementor menu's original open state. The source CSS supplies its visual treatment. */
@media (min-width: 1025px) {
  #menu-1-a42c4cd li.nlo-menu-open > .sub-menu {
    display: block !important;
    z-index: 1000;
  }

  #menu-1-a42c4cd > li.nlo-menu-open > .sub-menu {
    min-width: 15.5rem;
  }

  #menu-1-a42c4cd li.nlo-menu-open > .sub-menu li.nlo-menu-open > .sub-menu {
    left: 100%;
    min-width: 19rem;
    /* Elementor's captured rule sets nested menus below their row. The live flyout is right-aligned with the row. */
    top: 0 !important;
  }
}

/* The captured fullscreen-menu script is not shipped with the static clone. Restore its existing open state only. */
#uc_fullscreen_navigation_menu_elementor_4b1207d.menu-opened .ue_menu,
#uc_fullscreen_navigation_menu_elementor_4b1207d2.menu-opened .ue_menu,
#uc_fullscreen_navigation_menu_elementor_4b1207d3.menu-opened .ue_menu {
  visibility: visible;
}

/* Restore the captured menu disclosure chevrons without depending on the missing WordPress icon font. */
#uc_fullscreen_navigation_menu_elementor_4b1207d .dropdown-menu-toggle,
#uc_fullscreen_navigation_menu_elementor_4b1207d2 .dropdown-menu-toggle,
#uc_fullscreen_navigation_menu_elementor_4b1207d3 .dropdown-menu-toggle {
  align-items: center;
  display: inline-flex;
  height: 1em;
  justify-content: center;
  margin-left: 0.55em;
  width: 1em;
}

#uc_fullscreen_navigation_menu_elementor_4b1207d .dropdown-menu-toggle::after,
#uc_fullscreen_navigation_menu_elementor_4b1207d2 .dropdown-menu-toggle::after,
#uc_fullscreen_navigation_menu_elementor_4b1207d3 .dropdown-menu-toggle::after {
  border-bottom: 2px solid currentColor;
  border-right: 2px solid currentColor;
  content: '';
  height: 0.42em;
  transform: rotate(45deg) translate(-0.08em, -0.08em);
  transition: transform 0.2s ease;
  width: 0.42em;
}

#uc_fullscreen_navigation_menu_elementor_4b1207d .dropdown-menu-toggle[aria-expanded='true']::after,
#uc_fullscreen_navigation_menu_elementor_4b1207d2 .dropdown-menu-toggle[aria-expanded='true']::after,
#uc_fullscreen_navigation_menu_elementor_4b1207d3 .dropdown-menu-toggle[aria-expanded='true']::after {
  transform: rotate(-135deg) translate(-0.15em, -0.15em);
}

/* The captured widget injects a second Font Awesome pointer at runtime. Keep the local chevron only. */
#uc_fullscreen_navigation_menu_elementor_4b1207d .uc-menu-item-pointer,
#uc_fullscreen_navigation_menu_elementor_4b1207d2 .uc-menu-item-pointer,
#uc_fullscreen_navigation_menu_elementor_4b1207d3 .uc-menu-item-pointer {
  display: none !important;
}

/* Jobs is the final mobile item and should not render the widget's hover underline. */
#uc_fullscreen_navigation_menu_elementor_4b1207d .menu-item-3250 > .menu-link::after,
#uc_fullscreen_navigation_menu_elementor_4b1207d2 .menu-item-3250 > .menu-link::after,
#uc_fullscreen_navigation_menu_elementor_4b1207d3 .menu-item-3250 > .menu-link::after {
  display: none !important;
}

/* Keep top-level mobile labels, including Service Areas, on one line at narrow widths. */
@media (max-width: 480px) {
  #uc_fullscreen_navigation_menu_elementor_4b1207d .uc-list-menu > li > .menu-link,
  #uc_fullscreen_navigation_menu_elementor_4b1207d2 .uc-list-menu > li > .menu-link,
  #uc_fullscreen_navigation_menu_elementor_4b1207d3 .uc-list-menu > li > .menu-link {
    font-size: clamp(1.5rem, 7vw, 1.875rem) !important;
    white-space: nowrap;
  }
}
