/* Bega typography — headings in "A Love of Thunder", body copy in Open Sans (loaded
   from Google Fonts in base.html.twig). The font families themselves come from the
   brand tokens (--font-family, --font-family-heading). */

@font-face {
    font-family: 'A Love of Thunder';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("../fonts/a_love_of_thunder-webfont-e16e19c11c69119f1ab0b936daf95b9a.woff2") format('woff2'),
         url("../fonts/a_love_of_thunder-webfont-243c28dae7bbf53a8d9507544f94f132.woff") format('woff');
}

:root {
    --base-font-size: 16;

    --h1-family: var(--font-family-heading);
    --h1-size: 2.25rem;
    --h1-line-height: 1.1em;
    --h1-weight: 700;

    --h2-family: var(--font-family-heading);
    --h2-size: 2.25rem;
    --h2-line-height: 1em;
    --h2-weight: 700;

    --h3-family: var(--font-family-heading);
    --h3-size: 1.375rem;
    --h3-line-height: 1.1em;
    --h3-weight: 700;

    --h4-family: var(--font-family-heading);
    --h4-size: 1.375rem;
    --h4-line-height: 1.2em;
    --h4-weight: 700;

    --p-family: var(--font-family);
    --p-size: 1rem;
    --p-line-height: 1.5em;
    --p-weight: 400;
}

body {
    -moz-osx-font-smoothing: grayscale;
    line-height: 1.5;
}

h1, .h1,
h2, .h2,
h3, .h3,
h4, .h4 {
    color: var(--color-text-dark);
    text-transform: uppercase;
}

h1, .h1 { font-family: var(--h1-family); font-size: var(--h1-size); font-weight: var(--h1-weight); line-height: var(--h1-line-height); }
h2, .h2 { font-family: var(--h2-family); font-size: var(--h2-size); font-weight: var(--h2-weight); line-height: var(--h2-line-height); }
h3, .h3 { font-family: var(--h3-family); font-size: var(--h3-size); font-weight: var(--h3-weight); line-height: var(--h3-line-height); }
h4, .h4 { font-family: var(--h4-family); font-size: var(--h4-size); font-weight: var(--h4-weight); line-height: var(--h4-line-height); }

p {
    font-family: var(--p-family);
    font-size: var(--p-size);
    font-weight: var(--p-weight);
    line-height: var(--p-line-height);
}
