/* PWD.Design static-site overrides */
.elementor-invisible { opacity:1 !important; visibility:visible !important; animation:none !important; transform:none !important; }

/* Footer: the Make theme's "Built with Make" credit is stripped from the
   markup; this hides it too so a future re-scrape can't reinstate it. Her own
   copyright goes in its own class so that rule can't swallow it. */
.footer-credit { display: none !important; }

/* The Make theme floats .site-info left, so it shrinks to fit its text and
   the centring happens inside that narrow box instead of across the page.
   Clear the float and let it span the footer container. */
.site-info {
  float: none !important;
  width: 100% !important;
}

.pwd-copyright {
  text-align: center;
  font-size: 13px;
  line-height: 1.6;
  opacity: 0.75;
  padding: 4px 0 0;
  margin: 0;
}

/* Mobile nav dropdown. The panel is pinned across the viewport by
   js/pwd-static.js; these rules stop the theme squeezing its contents into
   the narrow width it inherited from the burger widget. */
@media (max-width: 1024px) {
  .elementor-widget-nav-menu .elementor-nav-menu--dropdown .elementor-nav-menu { width: 100% !important; }
  .elementor-widget-nav-menu .elementor-nav-menu--dropdown li { width: 100% !important; float: none !important; }
  .elementor-widget-nav-menu .elementor-nav-menu--dropdown a {
    white-space: normal !important; width: auto !important; display: block !important;
  }
}

/* Child pages inside the mobile panel. Elementor's expand arrow is driven by
   its frontend JS, so on a static export tapping it does nothing and the
   child pages are unreachable (Hartford's four service pages). Show them
   inline and indented, and drop the dead arrow. */
@media (max-width: 1024px) {
  .elementor-nav-menu--dropdown.elementor-nav-menu__container ul.sub-menu {
    display: block !important;
    position: static !important;
    width: 100% !important;
    max-height: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
  }
  .elementor-nav-menu--dropdown.elementor-nav-menu__container ul.sub-menu a {
    padding-left: 34px !important;
    font-size: .95em !important;
    opacity: .92;
  }
  .elementor-nav-menu--dropdown.elementor-nav-menu__container .sub-arrow { display: none !important; }
}
