/* =====================================
   Hebrew Fonts (Global Base)
   ===================================== */

/* --- Alef --- */
@font-face {
  font-family: 'Alef';
  src: url('./fonts-he/Alef-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Alef';
  src: url('./fonts-he/Alef-Bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

/* --- Open Sans Hebrew --- */
@font-face {
  font-family: 'Open Sans Hebrew';
  src: url('./fonts-he/OpenSansHebrew-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans Hebrew';
  src: url('./fonts-he/OpenSansHebrew-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans Hebrew';
  src: url('./fonts-he/OpenSansHebrew-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Open Sans Hebrew';
  src: url('./fonts-he/OpenSansHebrew-ExtraBold.ttf') format('truetype');
  font-weight: 800;
  font-style: normal;
  font-display: swap;
}

/* =====================================
   ברירת מחדל לכל דפי האתר בעברית
   ===================================== */
html[lang="he"] body {
  font-family: 'Open Sans Hebrew', 'Alef', Arial, sans-serif !important;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  direction: rtl;
  text-align: right;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* אופציונלי – כותרות עם Alef (נראות מעט חדות וברורות יותר) */
html[lang="he"] h1,
html[lang="he"] h2,
html[lang="he"] h3,
html[lang="he"] h4,
html[lang="he"] h5 {
  font-family: 'Alef', 'Open Sans Hebrew', Arial, sans-serif !important;
}
