/* WordPress-only corrections. No visual change to the public site. */

/* The admin bar is 32px tall and pushes <html> down, which shifts the fixed
   navbar off the top of the viewport for logged-in users. */
body.admin-bar .navbar { top: 32px; }
@media screen and (max-width: 782px) {
  body.admin-bar .navbar { top: 46px; }
}

/* Elementor wraps content in .elementor-widget-container; make sure that
   wrapper never constrains full-bleed sections from the original design. */
.elementor-widget-html > .elementor-widget-container { display: contents; }

/* The 404 page has no page-header spacer, so the fixed navbar covered its
   heading. Give it the same clearance the real pages get. */
body.error404 .page-header,
body.error404 .section-padding { padding-top: 160px; }

/* Some themes/plugins inject a max-width on images; the original build did not. */
.portfolio-img, .bts-grid img, .navbar .logo img, footer .logo img { max-width: none; }
