/*
 * General Sans — self-hosted fallback @font-face declarations
 *
 * Loaded BEFORE the Fontshare CDN link. When CDN is reachable its
 * identical font-family/weight/style declarations appear later in <head>
 * and win the CSS cascade ("last declared wins"). When CDN is unreachable
 * these rules serve silently from the theme's own assets.
 *
 * Paths are relative to this file: assets/css/ → assets/fonts/
 */

@font-face {
    font-family: "General Sans";
    src: url("../fonts/GeneralSans-Regular.woff2") format("woff2"),
         url("../fonts/GeneralSans-Regular.woff") format("woff");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "General Sans";
    src: url("../fonts/GeneralSans-Italic.woff2") format("woff2"),
         url("../fonts/GeneralSans-Italic.woff") format("woff");
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "General Sans";
    src: url("../fonts/GeneralSans-Medium.woff2") format("woff2"),
         url("../fonts/GeneralSans-Medium.woff") format("woff");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "General Sans";
    src: url("../fonts/GeneralSans-MediumItalic.woff2") format("woff2"),
         url("../fonts/GeneralSans-MediumItalic.woff") format("woff");
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "General Sans";
    src: url("../fonts/GeneralSans-Semibold.woff2") format("woff2"),
         url("../fonts/GeneralSans-Semibold.woff") format("woff");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "General Sans";
    src: url("../fonts/GeneralSans-SemiboldItalic.woff2") format("woff2"),
         url("../fonts/GeneralSans-SemiboldItalic.woff") format("woff");
    font-weight: 600;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: "General Sans";
    src: url("../fonts/GeneralSans-Bold.woff2") format("woff2"),
         url("../fonts/GeneralSans-Bold.woff") format("woff");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "General Sans";
    src: url("../fonts/GeneralSans-BoldItalic.woff2") format("woff2"),
         url("../fonts/GeneralSans-BoldItalic.woff") format("woff");
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}
