/* Special Fonts CSS
 * This file defines special fonts for the editor (Hebrew, Runic, Cuneiform)
 * Local font files should be placed in the same directory as this CSS file
 */

/* SBL Hebrew Font */
@font-face {
  font-family: 'SBL Hebrew';
  src: url('./SBL_Hebrew.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap; /* Improves loading performance */
}

/* Ezra SIL Font */
@font-face {
  font-family: 'Ezra SIL';
  src: url('./SILEOTSR.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* Fallback styles for special fonts */
.slate-editor [data-font-family="SBL Hebrew"] {
  font-family: 'SBL Hebrew', 'Times New Roman', serif !important;
}

.slate-editor [data-font-family="Ezra SIL"] {
  font-family: 'Ezra SIL', 'Times New Roman', serif !important;
}

.slate-editor [data-font-family="Noto Sans Runic"] {
  font-family: 'Noto Sans Runic', 'Times New Roman', serif !important;
}

.slate-editor [data-font-family="Noto Sans Cuneiform"] {
  font-family: 'Noto Sans Cuneiform', 'Times New Roman', serif !important;
}