/*
 * marketing-base.css — the minimal browser-normalize the marketing pages used to
 * get from the Elementor framework CSS (style.min.css's body reset + frontend.min.css's
 * global box-sizing). The whole Elementor stack was removed once every marketing page
 * was rewritten to BEM; the `.mkt-*` rules assume border-box and a 0-margin body, so
 * those two invariants must live somewhere — here.
 *
 * Also carries the one live helper that used to sit in elementor/marketing-overrides.css.
 */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, "Noto Sans", sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
}

/* The Elementor kit (post-10.css) applied text-transform:capitalize to h1/h2/h4, and
   many .mkt-* heading rules relied on it for Title-Case display without setting a
   transform of their own (the source text is lower-case). Reproduce it — sections that
   want sentence case already override with an explicit `text-transform: none`, which
   wins on specificity. (h3/h5 were never capitalized by the kit.) */
h1,
h2,
h4 {
    text-transform: capitalize;
}

/* Reboot margins the kit's style.min.css set on bare block elements. The .mkt-*
   rules override these where they set their own margins; bare elements (and the
   accumulated vertical rhythm the pages were golded against) rely on these values. */
h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0.5rem;
    margin-bottom: 1rem;
}

p {
    margin-top: 0;
    margin-bottom: 0.9rem;
}

dl,
ol,
ul {
    margin-top: 0;
    margin-bottom: 0;
}

/* Animated GIF icons (home feature boxes, events-landing feature boxes). Size-capped
   so a large source GIF never blows out its cell; centred in its wrapper. */
.marketing-anim-icon {
    display: block;
    max-width: 120px;
    height: auto;
    margin: 0 auto;
}
