/* Base styles: the Hello Elementor theme reset plus the staging Elementor
   kit (fonts, sizes, colours), so text renders as it does on staging. */

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

html {
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font-sans);
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-body);
    background-color: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    display: block;
}

img,
svg {
    max-width: 100%;
    height: auto;
    border: none;
}

svg {
    display: block;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    background-color: transparent;
}

a:hover {
    color: var(--color-primary-hover);
}

h1, h2, h3, h4, h5, h6 {
    margin-block: 0.5rem 1rem;
    font-family: var(--font-sans);
    font-weight: 600;
    line-height: 1.2;
    color: inherit;
}

h1 { font-size: var(--fs-h1); }
h2 { font-size: var(--fs-h2); }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-h4); line-height: 1.2em; }
h5 { font-size: var(--fs-h5); line-height: 1.2em; }
h6 { font-size: var(--fs-h6); line-height: 1.2em; }

@media (max-width: 767px) {
    h2, h3 { line-height: 1.2em; }
    h4, h5, h6 { line-height: 1.3em; }
}

p {
    margin-block: 0 0.9rem;
}

ul, ol {
    margin: 0;
    padding: 0;
}

address {
    font-style: normal;
}

button,
input,
select,
textarea {
    margin: 0;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.5;
}

:focus-visible {
    /* --focus-ring turns white on blue grounds (utilities.css). */
    outline: 3px solid var(--focus-ring, var(--color-primary));
    outline-offset: 2px;
}
