/* Elementor templates contain their own header/footer padding. ACSS's
   body > header/footer defaults otherwise inset their full-width backgrounds. */
body > header.elementor-location-header,
body > footer.elementor-location-footer {
  padding: 0;
}

/* The legacy footer's logo section predates ACSS section defaults. */
.elementor-location-footer section.elementor-inner-section {
  display: block;
  padding: 0;
  gap: normal;
}
.elementor-location-footer section.elementor-inner-section > .elementor-container {
  gap: normal;
}

/* Etch's global media/link reset must not change legacy inline elements. */
.elementor-location-footer .elementor-widget-theme-site-logo a,
.elementor-location-footer .elementor-widget-theme-site-logo img,
.elementor-location-footer .elementor-widget-heading .elementor-widget-container a {
  display: inline;
}
.elementor-location-header svg,
.elementor-location-footer svg {
  max-inline-size: none;
}

@media (max-width: 1024px) {
  body > header.elementor-location-header,
  body > footer.elementor-location-footer {
    line-height: 1.4em;
  }
  .elementor-location-header .elementor-widget-text-editor p,
  .elementor-location-footer .elementor-widget-text-editor p {
    line-height: inherit;
  }
}
