/* Makes the design look the same inside WordPress as it did as static pages.
   WordPress and the Hello Elementor theme add a few default styles (link
   underlines, heading spacing, form-label line height) that the static pages
   never had. Selectors here are kept very low-specificity on purpose so the
   design's own rules in overrides.css always win. */
a, body .page-content a { text-decoration: none; }
body .page-content p:not(.bd-book__fallback) a:not([class]) { text-decoration: underline; } /* plain in-text links stay underlined, as before */

:where(.bd-sp) :is(h1, h2, h3, h4, h5, h6) { line-height: inherit; }
:where(.bd-sp) h1 { margin-block: .67em; }
:where(.bd-sp) h2 { margin-block: .83em; }
:where(.bd-sp) h3 { margin-block: 1em; }
:where(.bd-sp) h4 { margin-block: 1.33em; }
:where(.bd-sp) h5 { margin-block: 1.67em; }
:where(.bd-sp) h6 { margin-block: 2.33em; }

:where(.bd-sp .bd-npform) label { line-height: inherit; }
:where(.bd-sp .bd-npform) :is(input, select, textarea) { line-height: normal; }

/* the design's own pages use the design's footer (built by overrides.js); hide the theme footer there */
body.bd-skin-footer footer.elementor-location-footer { display: none !important; }
