h1,
h2,
h3,
h4,
h5 {
    margin: 0;
    color: var(--text-strong);
    font-family: var(--font);
    text-align: center;
    text-wrap: balance;
}

h1 {
    margin: 0.6em 0;
    font-size: 2.2em;
    font-weight: 700;
    line-height: 1.15;
}

h2 {
    margin: 0.5em 0;
    font-size: 1.5em;
    font-weight: 700;
    line-height: 1.25;
}

h3 {
    margin: 0.3em 0;
    font-size: 1em;
    font-weight: 600;
    line-height: 1.4;
}

h4,
h5 {
    margin: 0.4em 0;
    font-size: 0.8em;
    font-weight: 600;
}

p {
    font-size: 1em;
    line-height: 1.6;
}

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

a.link {
    color: var(--link);
}

a.link:hover {
    text-decoration: underline;
}

.type-label-lg {
    font-family: var(--font);
    font-size: 0.9rem;
    font-weight: 600;
    line-height: 1.4;
}

small {
    font-size: 0.8em;
}

@media (max-width: 767px) {
    h1 {
        font-size: 1.9em;
    }

    h3 {
        font-size: 1.05em;
    }
}
