@charset "utf-8";

/* --- Base Styles --- */
body {
    background-color: #edf1f4;
    font-family: Arial, sans-serif; /* Default font for English */
}
.container {
    width: 80%;
    margin: 0 auto;
    padding: 0;
}
a, .li {
    cursor: pointer;
}


/* --- Self-Hosted Font Definitions --- */

/* 1. Define the Simplified Chinese (SC) font. THIS PART WAS MISSING. */
@font-face {
    font-family: 'Noto Sans SC';
    font-style: normal;
    font-weight: 400;
    src: url('../font/noto-sans-sc-v39-latin-regular.woff2') format('woff2'),
         url('../font/noto-sans-sc-v39-latin-regular.woff') format('woff');
}

/* 2. Define the Traditional Chinese (TC) font. */
@font-face {
    font-family: 'Noto Sans TC';
    font-style: normal;
    font-weight: 400;
    src: url('../font/noto-sans-tc-v38-latin-regular.woff2') format('woff2'),
         url('../font/noto-sans-tc-v38-latin-regular.woff') format('woff');
}


/* --- Language-Specific Font Application --- */

/* This rule for SC now matches your working TC rule. */
[lang="zh-CN"], [lang="zh-CN"] * {
    font-family: 'Noto Sans SC', sans-serif !important;
}

/* This is your working rule for TC. */
[lang="zh-TW"], [lang="zh-TW"] * {
    font-family: 'Noto Sans TC', sans-serif !important;
}

