/* Self-hosted Unicode typography. No visitor-installed fonts are required. */
@font-face {
    font-family: 'Lion Sans';
    src: url('fonts/lion-sans-300.ttf') format('truetype');
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: 'Lion Sans';
    src: url('fonts/lion-sans-400.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'Lion Sans';
    src: url('fonts/lion-sans-500.ttf') format('truetype');
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: 'Lion Sans';
    src: url('fonts/lion-sans-600.ttf') format('truetype');
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: 'Lion Sans';
    src: url('fonts/lion-sans-700.ttf') format('truetype');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

/* Legacy pages ask for VNI-Avo first. Map that name to the bundled Unicode
   files so an incompatible VNI font installed on a visitor's machine can
   never be selected. */
@font-face {
    font-family: 'VNI-Avo';
    src: url('fonts/lion-sans-300.ttf') format('truetype');
    font-style: normal;
    font-weight: 300;
    font-display: swap;
}
@font-face {
    font-family: 'VNI-Avo';
    src: url('fonts/lion-sans-400.ttf') format('truetype');
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}
@font-face {
    font-family: 'VNI-Avo';
    src: url('fonts/lion-sans-500.ttf') format('truetype');
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}
@font-face {
    font-family: 'VNI-Avo';
    src: url('fonts/lion-sans-600.ttf') format('truetype');
    font-style: normal;
    font-weight: 600;
    font-display: swap;
}
@font-face {
    font-family: 'VNI-Avo';
    src: url('fonts/lion-sans-700.ttf') format('truetype');
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

:root { --lion-unicode-sans: 'Lion Sans', Arial, Helvetica, sans-serif; }

/* Inline legacy declarations are common in the exported pages. */
[style*="VNI-Avo"],
[style*="UTM Avo"] {
    font-family: var(--lion-unicode-sans) !important;
}
