/*
 * Geloni — Self-hosted + Persian fonts
 * Cormorant (legacy Latin headings): local WOFF files
 * Vazirmatn (وزیر): Persian UI body text
 */

/* ── Vazirmatn (وزیر) ───────────────────────────────── */
@font-face {
    font-family: 'Vazirmatn';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Vazirmatn';
    src: url('https://cdn.jsdelivr.net/gh/rastikerdar/vazirmatn@v33.003/fonts/webfonts/Vazirmatn-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* ── Cormorant Regular ────────────────────────────────── */
@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../webfonts/Cormorant-Regular.woff') format('woff'),
         url('../webfonts/Cormorant-Regular.ttf')  format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../webfonts/Cormorant-Regular.woff') format('woff'),
         url('../webfonts/Cormorant-Regular.ttf')  format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Cormorant Garamond';
    src: url('../webfonts/Cormorant-SemiBold.woff') format('woff'),
         url('../webfonts/Cormorant-SemiBold.ttf')  format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* ── Inter → System UI stack (no download, instant) ──── */
/* Anywhere 'Inter' was used, this alias kicks in */
@font-face {
    font-family: 'Inter';
    src: local('-apple-system'),
         local('BlinkMacSystemFont'),
         local('Segoe UI'),
         local('system-ui');
    font-weight: 100 900;
    font-display: swap;
}
