/*Hanzi et Pinyin */

@font-face {
    font-family: '方正楷体简体';
    src: local('方正楷体简体'), url('../fonts/方正楷体简体.ttf') format('TrueType');
  }
  

@font-face {
  font-family: '方正甲骨文';
  src: local('方正甲骨文'), url('../fonts/方正甲骨文.ttf') format('TrueType');
}

@font-face {
  font-family: '金文大篆体';
  src: url('../fonts/金文大篆体.woff2') format('woff2'),
       url('../fonts/金文大篆体.ttf') format('TrueType');
  font-display: swap;
}


@font-face {
  font-family: '方正小篆体';
  src: url('../fonts/方正小篆体.ttf') format('TrueType');
}
/*
@font-face {
  font-family: '方正小篆体';
  src: local('方正小篆体'), url('https://learn-chinese.online/00/fonts/方正小篆体.ttf') format('TrueType');
}
*/

@font-face {
  font-family: '方正隶书简体';
  src: local('方正隶书简体'), url('../fonts/方正隶书简体.ttf') format('TrueType');
}

@font-face {
  font-family: 'Kaitifan';
  src: local('Kaiti'), url('../fonts/fzktif.woff2') format('woff2');
}

/* Police de secours pour les caractères chinois rares (plan supplémentaire / ext. B+) */
@font-face {
  font-family: 'Plangothic P2';
  src: url('https://cdn.jsdelivr.net/gh/Fitzgerald-Porthmouth-Koenigsegg/Plangothic_Project@V2.9.5792/fonts/web/PlangothicP2-Regular.woff2') format('woff2');
  unicode-range: U+20000-2A6DF, U+2A700-2EBEF, U+2F800-2FA1F, U+30000-3134F;
  font-display: swap;
}

/* Caractères rares isolés dans les paragraphes (intros, notes) */
.field--name-body p,
.field--name-body li {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto,
    "Noto Sans", "Liberation Sans", Arial, 'Plangothic P2', sans-serif;
}

.hanzi {
    font-family: '方正楷体简体', sans;
    font-size: 1.7em;
    color: blue;
}

.hanziSmall{
   font-family: '方正楷体简体',  serif;
   font-size: 1em; 
   font-style: normal;
   font-weight: bold;
   color: #f37e7a; 
}

.pinyin {
    color: green;
}

.pinyinSmall {
    font-weight: 400;
    font-size: 1em;
    font-style: normal;
    color: #32a669;
}


ruby {
    padding-top: 15px;
    font-family: '方正楷体简体', 'Plangothic P2', sans;   /* ← seul changement */
    font-size: 2em;
    color: blue;
    letter-spacing: 0.1em;
    line-height: 2;
}

ruby rt {
    font-family: 'arial',sans;
    font-size: 0.5em;    /* taille appliquée au pinyin */
    color: grey;
    font-weight: 100; 
    letter-spacing: 0em;
    padding-bottom: 5px;
}


.jiaguwen {
  font-family: '方正甲骨文',  sans;
}

.jinwen {
  font-family: '金文大篆体',  sans;
}

.zhuanshu {
  font-family: '方正小篆体',  sans;
}

.lishu {
  font-family: '方正隶书简体',  sans;
}


.kaishujian {
  font-family: '方正楷体简体',  sans;
}

.kaishufan {
  font-family: 'Kaitifan',  sans;
}



