/**
 * Project fonts, self-hosted (no requests to Google; GDPR-friendly).
 * Loaded on the front end and in the block editor (enqueue_block_assets).
 *
 * - Montserrat: site text, navigation, UI (variable 400–700, + italic).
 *   Matches the small sans lettering in the logo's circle. Licence: fonts/montserrat/OFL.txt
 * - Kaushan Script: decorative, gold; for headings/accents only, never body text.
 *   Closest free match to "Pivnica" in the logo. Licence: fonts/kaushan-script/OFL.txt
 *
 * Kadence typography (Customizer) refers to "Montserrat" by name with google=false,
 * so Kadence does not load it from Google itself.
 */

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

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

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

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

@font-face {
	font-family: "Kaushan Script";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/kaushan-script/kaushan-script-latin-ext.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;
}

@font-face {
	font-family: "Kaushan Script";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url("../fonts/kaushan-script/kaushan-script-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;
}

:root {
	--pivnica-font-sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	--pivnica-font-script: "Kaushan Script", "Brush Script MT", cursive;
	--pivnica-logo-gold: #cd9100; /* Sampled from the logo. */
}

/* Heading block style "Ukrasni (zlatni)" (functions.php → register_block_style). */
.wp-block-heading.is-style-pivnica-script,
.is-style-pivnica-script {
	font-family: var(--pivnica-font-script);
	font-weight: 400;
	letter-spacing: 0;
	text-transform: none;
	color: var(--pivnica-logo-gold);
}
