/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Sep 30 2026 | 22:54:44 */
/* ========================================================
   1. טעינת פונטים
   ======================================================== */
@font-face {
  font-family: 'VilnaHebrew';
  src: url('http://www.ngtech.co.il/fonts/pft_vilnahebrew.woff2') format('woff2'),
       url('http://www.ngtech.co.il/fonts/pft_vilna-webfont.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

/* ========================================================
   2. הגדרות בסיס ומעטפת
   ======================================================== */
.torah-post,
.torah-post * {
  font-family: 'VilnaHebrew', serif !important;
}

.torah-post {
  direction: rtl;
  max-width: 645px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
  padding: 0 16px;
  color: rgb(17, 17, 17);
}

/* ========================================================
   3. כותרות (Header)
   ======================================================== */
.torah-post header {
  text-align: center;
  margin-bottom: 2rem;
}

.torah-post h1 {
  font-size: 2.1rem !important;
  letter-spacing: -0.5px !important;
  margin-bottom: 0.3rem;
  line-height: 1.3 !important;
  color: rgb(17, 17, 17);
}

.torah-post h2 {
  font-size: 1.5rem !important;
  font-weight: normal;
  color: #333;
  margin: 0 0 0.4rem 0;
}

.torah-post h3 {
  font-size: 1.25rem !important;
  color: #555;
  margin: 0;
}

/* ========================================================
   4. גוף המאמר (Article)
   ======================================================== */
.torah-post article {
  text-align: justify;
  text-justify: inter-word;
  text-wrap: pretty;
}

.torah-post article p {
  font-size: 23px !important;
  line-height: 1.6 !important;
  letter-spacing: -0.4px !important;
  word-spacing: -1px !important;
  margin-block-start: 18px !important;
  margin-block-end: 18px !important;
  color: rgb(17, 17, 17) !important;
}

.torah-post em {
  font-style: normal;
  font-weight: bold;
}

/* ========================================================
   5. אלמנטים כלליים ומפרידים
   ======================================================== */
.torah-post hr {
  margin: 2.5rem 0 1.5rem 0;
  border: none;
  border-top: 1px solid #ddd;
}

/* ========================================================
   6. הערות שוליים (Footer)
   ======================================================== */
.torah-post footer {
  text-align: justify;
  text-justify: inter-word;
}

.torah-post footer p {
  font-size: 19px !important;
  line-height: 1.5 !important;
  letter-spacing: -0.3px !important;
  color: #333 !important;
  margin-bottom: 1rem !important;
}

.torah-post a.footnote-link {
  text-decoration: none;
  font-weight: bold;
  color: #1a5276;
  margin-inline-end: 4px;
}

/* הגדרה מפורשת ל-strong ול-b */
.torah-post strong,
.torah-post b {
  font-weight: 700 !important;
  color: #000 !important; /* צבע שחור מלא נותן ניגודיות שמחזקת את ההדגשה */
}

/* ========================================================
   7. הערות ותובנות עורך (Editor Notes)
   ======================================================== */
.torah-post .editor-notes {
  background-color: #f7f9fa;
  border-right: 3px solid #1a5276;
  padding: 14px 18px;
  margin: 24px 0;
  border-radius: 2px;
}

.torah-post .editor-notes h4 {
  font-size: 1.2rem !important;
  color: #1a5276 !important;
  margin: 0 0 10px 0 !important;
  font-weight: bold;
}

.torah-post .editor-notes p {
  font-size: 20px !important;
  line-height: 1.55 !important;
  letter-spacing: -0.3px !important;
  color: #2c3e50 !important;
  margin-block-start: 10px !important;
  margin-block-end: 10px !important;
}

.torah-post .editor-notes p:last-child {
  margin-block-end: 0 !important;
}

/* ========================================================
   8. התאמה למכשירים ניידים (רספונסיביות עד 600px)
   ======================================================== */
@media screen and (max-width: 600px) {
  .torah-post {
    padding: 0 12px;
  }

  /* כותרות בנייד */
  .torah-post h1 {
    font-size: 1.8rem !important;
  }

  .torah-post h2 {
    font-size: 1.3rem !important;
  }

  .torah-post h3 {
    font-size: 1.15rem !important;
  }

  /* יישור לשני הצדדים עם סיומת שורה לימין */
  .torah-post article,
  .torah-post footer {
    text-align: justify !important;
    text-justify: inter-word !important;
    text-align-last: right;
  }

  /* גוף הטקסט בנייד */
  .torah-post article p {
    font-size: 19px !important;
    line-height: 1.55 !important;
    letter-spacing: -0.3px !important;
    word-spacing: normal !important;
    margin-block-start: 14px !important;
    margin-block-end: 14px !important;
    text-align: justify !important;
    text-align-last: right;
  }

  /* הערות שוליים בנייד */
  .torah-post footer p {
    font-size: 16px !important;
    line-height: 1.45 !important;
    letter-spacing: normal !important;
    text-align: justify !important;
    text-align-last: right;
  }

  /* הערות עורך בנייד */
  .torah-post .editor-notes {
    padding: 10px 14px;
    margin: 18px 0;
  }

  .torah-post .editor-notes h4 {
    font-size: 1.05rem !important;
  }

  .torah-post .editor-notes p {
    font-size: 17px !important;
    line-height: 1.45 !important;
    text-align: justify !important;
    text-align-last: right;
  }
}