/*
 * Grad Smederevo — fontovi (self-hosted, bez spoljnih zahteva)
 *
 *   Montserrat — naslovi i sav verzal: navigacija, dugmad, oznake (SIL OFL 1.1)
 *   Open Sans  — osnovni tekst i interfejs (SIL OFL 1.1)
 *
 * Promenljivi fontovi (osa wght): jedan fajl po pismu pokriva sve težine
 * (Montserrat 500–700, Open Sans 400–700 i kurziv).
 * Izvor: Google Fonts (Montserrat v31, Open Sans v44). Podskup latin-ext je sužen na
 * Latin Extended-A (srpska latinica: č ć đ š ž) i rumunska slova.
 * Pisma su odvojeni fajlovi (unicode-range): pregledač preuzima samo ono što strana koristi.
 */

/* ---------- Montserrat (naslovi, verzal) ---------- */
@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 500 700;
	font-display: swap;
	src: url("../fonts/montserrat-cyrillic.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 500 700;
	font-display: swap;
	src: url("../fonts/montserrat-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-0130, U+0132-0151, U+0154-017F, U+0218-021B;
}

@font-face {
	font-family: "Montserrat";
	font-style: normal;
	font-weight: 500 700;
	font-display: swap;
	src: url("../fonts/montserrat-latin.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;
}

/* ---------- Open Sans (tekst) ---------- */
@font-face {
	font-family: "Open Sans";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/open-sans-cyrillic.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: "Open Sans";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/open-sans-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-0130, U+0132-0151, U+0154-017F, U+0218-021B;
}

@font-face {
	font-family: "Open Sans";
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/open-sans-latin.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;
}

@font-face {
	font-family: "Open Sans";
	font-style: italic;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/open-sans-italic-cyrillic.woff2") format("woff2");
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: "Open Sans";
	font-style: italic;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/open-sans-italic-latin-ext.woff2") format("woff2");
	unicode-range: U+0100-0130, U+0132-0151, U+0154-017F, U+0218-021B;
}

@font-face {
	font-family: "Open Sans";
	font-style: italic;
	font-weight: 400 700;
	font-display: swap;
	src: url("../fonts/open-sans-italic-latin.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;
}

/* ---------- Rezervni fontovi sa usklađenim metrikama (bez pomeranja rasporeda) ----------
 * Vrednosti su izračunate iz samih fontova (fontTools): prosečna širina srpskog ćiriličnog
 * teksta u odnosu na Arial / Arial Bold, i hhea metrike preračunate za size-adjust.
 */
@font-face {
	font-family: "Open Sans Fallback";
	font-weight: 400 500;
	src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Helvetica");
	size-adjust: 104.36%;
	ascent-override: 102.42%;
	descent-override: 28.07%;
	line-gap-override: 0%;
}

@font-face {
	font-family: "Open Sans Fallback";
	font-weight: 600 700;
	src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Helvetica Bold");
	size-adjust: 106.08%;
	ascent-override: 100.76%;
	descent-override: 27.62%;
	line-gap-override: 0%;
}

@font-face {
	font-family: "Montserrat Fallback";
	font-weight: 400 500;
	src: local("Arial"), local("ArialMT"), local("Liberation Sans"), local("Helvetica");
	size-adjust: 113.62%;
	ascent-override: 85.19%;
	descent-override: 22.09%;
	line-gap-override: 0%;
}

@font-face {
	font-family: "Montserrat Fallback";
	font-weight: 600 700;
	src: local("Arial Bold"), local("Arial-BoldMT"), local("Liberation Sans Bold"), local("Helvetica Bold");
	size-adjust: 110.31%;
	ascent-override: 87.75%;
	descent-override: 22.75%;
	line-gap-override: 0%;
}
