/* Parmalat Educational — Epilogue (SIL Open Font License 1.1), self-hosted from Google Fonts:
   one variable file per subset covers every weight the site uses (300–800). */

/* latin-ext */
@font-face {
    font-family: 'Epilogue';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url("../fonts/epilogue-variable-latin-ext-1758dd8c6a2311234aa23ea09bb21609.woff2") format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* latin */
@font-face {
    font-family: 'Epilogue';
    font-style: normal;
    font-weight: 300 800;
    font-display: swap;
    src: url("../fonts/epilogue-variable-latin-55bd40791f267e233a16f80dd8a3631f.woff2") format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Base text weight of the site (Epilogue Light) */
body {
    font-weight: 300;
}

/* Headings set in rich text (e.g. a place's name in a card): the site's h4 */
h4 {
    font-size: var(--h4-size);
    line-height: var(--h4-line-height);
    font-weight: 700;
    color: var(--color-primary);
    margin: 0 0 20px;
}
@media (min-width: 768px) and (max-width: 1024px) {
    h4 {
        font-size: 28px;
        line-height: 33.6px;
    }
}
@media (max-width: 767px) {
    h4 {
        font-size: var(--h4-size-mobile);
        line-height: var(--h4-line-height-mobile);
    }
}

/* Bold text in the site's bold weight (Epilogue Bold), not one step above Light */
b,
strong {
    font-weight: 700;
}

/* On a short page the footer sits at the bottom of the window */
body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
body > main {
    flex: 1 0 auto;
}

/* Headings set in rich text as h6 (e.g. "SCHEDE" above a download): the site's h6 */
h6 {
    font-size: 26px;
    line-height: 31.2px;
    font-weight: 600;
    color: var(--color-primary);
    margin: 0;
}
@media (min-width: 768px) and (max-width: 1024px) {
    h6 {
        font-size: 22px;
        line-height: 26.4px;
    }
}
@media (max-width: 767px) {
    h6 {
        font-size: 20px;
        line-height: 24px;
    }
}
