/* =========================================================
   NETA — base reset
   ---------------------------------------------------------
   Neutral foundation, loaded FIRST so every theme stylesheet
   can override it with plain selectors.

   Replaces the reset inherited from Hello Elementor. The
   spacing/metrics that layout was built on are kept (body
   line-height, heading and paragraph margins, box-sizing);
   Hello's branding is gone: no pink links (#c36), no pink
   outlined buttons, no grey 3px form fields.
========================================================= */

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

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

body {
    margin: 0;
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ---------- Typography ---------- */

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

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-block: 0 0.9rem;
}

b,
strong {
    font-weight: bolder;
}

small {
    font-size: 80%;
}

sub,
sup {
    position: relative;
    font-size: 75%;
    line-height: 0;
    vertical-align: baseline;
}

sub { bottom: -0.25em; }
sup { top: -0.5em; }

hr {
    box-sizing: content-box;
    height: 0;
    overflow: visible;
}

pre,
code,
kbd,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

pre {
    white-space: pre-wrap;
}

dl,
dd,
dt,
ol,
ul,
li {
    margin-block: 0;
}

/* ---------- Links: inherit the surrounding colour ---------- */

a {
    color: inherit;
    background-color: transparent;
    text-decoration: none;
}

/* ---------- Media ---------- */

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

/* ---------- Forms: neutral, styled by the components ---------- */

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

button,
input {
    overflow: visible;
}

button,
select {
    text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    display: inline-block;
    padding: 0.5rem 1rem;

    color: inherit;
    background-color: transparent;
    border: 1px solid transparent;
    border-radius: 3px;

    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    -webkit-appearance: button;
    user-select: none;
}

button:not(:disabled),
[type="button"]:not(:disabled),
[type="submit"]:not(:disabled) {
    cursor: pointer;
}

button:focus:not(:focus-visible) {
    outline: none;
}

label {
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
}

textarea {
    overflow: auto;
    resize: vertical;
}

select {
    display: block;
}

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

[type="search"] {
    -webkit-appearance: textfield;
    outline-offset: -2px;
}

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

::-webkit-file-upload-button {
    -webkit-appearance: button;
    font: inherit;
}

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

legend {
    display: table;
    max-width: 100%;
    padding: 0;
    color: inherit;
    white-space: normal;
}

/* ---------- Misc ---------- */

details {
    display: block;
}

summary {
    display: list-item;
}

[hidden],
template {
    display: none;
}

table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
}
