/* Static-site overrides. elementor.css is captured from the live site and not edited by hand.
   These rules replace what WordPress and Elementor did with scripts. */

/* Sticky header. On live, Elementor Pro pins the header section at the top from the first pixel. */
.elementor-location-header { position: sticky; top: 0; z-index: 99; }

/* Mobile menu popup (Elementor template 38). site.js opens and closes it. */
.elementor-popup-modal[hidden] { display: none !important; }
.elementor-popup-modal:focus { outline: none; }
.elementor-popup-modal [data-elementor-type=popup] { display: block; } /* Elementor revealed it with an inline style. */
.elementor-popup-modal .dialog-widget-content.fadeInRight { animation-name: fadeInRight; }
.elementor-popup-modal.is-closing .dialog-widget-content { animation: fadeOutRight .5s both; }
@keyframes fadeOutRight { to { opacity: 0; transform: translate3d(100%, 0, 0); } }
body.dialog-prevent-scroll { max-height: 100vh; overflow: hidden; }

/* Contact form. Hidden trap field for bots, and the result message under the button. */
.lean-form__trap { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.lean-form__status { font-size: 15px; line-height: 1.5; text-align: center; margin-top: 10px; }
.lean-form__status:empty { display: none; }
.lean-form button[disabled] { opacity: .6; cursor: progress; }

main:focus { outline: none; }
@media (prefers-reduced-motion: reduce) {
  .elementor-popup-modal .dialog-widget-content { animation: none !important; }
}

/* Inline SVG icons (content/icons.mjs) in place of the Font Awesome kit. Keep each icon's own width, and let the art
   reach above its box as the font glyphs did. */
.elementor-icon svg.ldsd-icon, .elementor-icon-list-icon svg.ldsd-icon { width: auto; overflow: visible; }
/* An SVG gives the icon box no text baseline, which left descender space under it (126px boxes instead of 120). */
.elementor-icon:has(> svg.ldsd-icon) { vertical-align: top; }
