/**
 * Hebrew and Greek fonts for verse card creator
 * Optimized for RTL rendering and biblical text
 */

/* SBL Hebrew - Best for Biblical Hebrew */
@font-face {
  font-family: 'SBL Hebrew';
  font-display: swap;
  src: local('SBL Hebrew'), local('Ezra SIL'), local('Frank Ruehl CLM');
}

/* SBL Greek - Best for Biblical Greek */
@font-face {
  font-family: 'SBL Greek';
  font-display: swap;
  src: local('SBL Greek'), local('Gentium Plus'), local('Times New Roman');
}

/* Ensure RTL text renders correctly */
[dir="rtl"] {
  unicode-bidi: embed;
  text-align: right;
}

/* Hebrew-specific rendering */
.hebrew-text {
  direction: rtl;
  unicode-bidi: embed;
  font-family: 'SBL Hebrew', 'Ezra SIL', 'Frank Ruehl CLM', 'Times New Roman', serif;
  text-align: right;
}

/* Greek-specific rendering */
.greek-text {
  direction: ltr;
  font-family: 'SBL Greek', 'Gentium Plus', 'Times New Roman', serif;
}

/* Optimize text rendering for export */
.verse-text-optimized {
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "liga" 1, "calt" 1;
}


