/* 维吾尔语字体 CSS - 使用 zilwa.ttf */

@font-face {
    font-family: 'Zilwa';
    src: url('zilwa.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Zilwa';
    src: url('zilwa.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Zilwa';
    src: url('zilwa.ttf') format('truetype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Zilwa';
    src: url('zilwa.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Zilwa';
    src: url('zilwa.ttf') format('truetype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Zilwa';
    src: url('zilwa.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* 维吾尔语文字样式类 */
.uyghur-text {
    font-family: 'Zilwa', 'Microsoft Uighur', 'UKIJ Tuz Tom', 'Alkatip Basma Tom', 'Arabic Typesetting', 'Traditional Arabic', 'Tahoma', Arial, sans-serif;
    direction: rtl;
    text-align: right;
    line-height: 1.8;
    font-feature-settings: "liga" 1, "calt" 1, "kern" 1;
}

/* 不同字重的维吾尔语文字 */
.uyghur-light {
    font-weight: 300;
}

.uyghur-normal {
    font-weight: 400;
}

.uyghur-medium {
    font-weight: 500;
}

.uyghur-semibold {
    font-weight: 600;
}

.uyghur-bold {
    font-weight: 700;
}

/* 维吾尔语标题样式 */
.uyghur-title {
    font-size: 1.5em;
    font-weight: 600;
    line-height: 1.4;
    margin-bottom: 0.5em;
}

/* 维吾尔语段落样式 */
.uyghur-paragraph {
    line-height: 1.8;
    margin-bottom: 1em;
}

/* 维吾尔语按钮文字 */
.uyghur-button {
    font-weight: 500;
    letter-spacing: 0.02em;
}

/* 确保维吾尔语文字正确显示 */
body[dir="rtl"] {
    font-family: 'Zilwa', 'Microsoft Uighur', 'UKIJ Tuz Tom', 'Alkatip Basma Tom', Arial, sans-serif;
}

/* 维吾尔语特殊字符优化 */
.uyghur-text {
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}