/* הוצאת ענבר - סדר ויזואלי. SrvIT 18/09/2026.
   משתמש אך ורק באסימוני העיצוב של האתר עצמו (ערכת אלמנטור 1371):
   Roboto 400/500/600, טקסט #7A7A7A, כותרות #54595F, הדגשה #FFB000, קישור #4054B2.
   העיקרון: לנרמל את הקיים. לא להוסיף שפה חדשה ולא להגדיל שום דבר. */

:root {
  --inbar-text:    #7A7A7A;
  --inbar-heading: #54595F;
  --inbar-accent:  #FFB000;
  --inbar-link:    #4054B2;
  --inbar-rule:    rgba(84, 89, 95, .14);
  --inbar-panel:   #F3F3F3;
}

/* ====== 1. הצמדות ======
   נמדד: כל תיבות הפסקאות זהות - שמאל 448, ימין 1263, רוחב 815.
   לכן לא נוגעים ברוחב. רק מבטלים מרכוז מקרי כדי שכולן יתחילו באותו קו. */
.elementor-widget-theme-post-content p[style*="text-align: center"],
.elementor-widget-theme-post-content p[style*="text-align:center"],
.elementor-widget-theme-post-content div[style*="text-align: center"] {
  text-align: start !important;
}
.elementor-widget-theme-post-content p:has(> img:only-child),
.elementor-widget-theme-post-content p:has(> a:only-child > img:only-child) {
  text-align: center !important;
}

/* ====== 2. משקלים: רק 400 / 500 / 600 ====== */
.elementor-widget-theme-post-content { color: var(--inbar-text); }
.elementor-widget-theme-post-content strong,
.elementor-widget-theme-post-content b {
  font-weight: 500;
  color: var(--inbar-heading);
}
.elementor-widget-theme-post-content h2,
.elementor-widget-theme-post-content h3,
.elementor-widget-theme-post-content h4 {
  font-weight: 600;
  color: var(--inbar-heading);
}
.elementor-widget-theme-post-content h2 { font-size: 22px; line-height: 1.4; margin: 1.7em 0 .55em; }
.elementor-widget-theme-post-content h3 { font-size: 18px; line-height: 1.45; margin: 1.4em 0 .45em; }
.elementor-widget-theme-post-content h4 { font-size: 16px; line-height: 1.5; margin: 1.2em 0 .4em; }

/* ====== 3. קצב אנכי אחיד ====== */
.elementor-widget-theme-post-content p { margin: 0 0 1.05em; line-height: 1.8; }
.elementor-widget-theme-post-content p:last-child { margin-bottom: 0; }
.elementor-widget-theme-post-content ul,
.elementor-widget-theme-post-content ol { margin: 0 0 1.05em; padding-inline-start: 1.3em; }
.elementor-widget-theme-post-content li { margin-bottom: .35em; line-height: 1.75; }
/* פסקאות ריקות שנוצרו בעורך ויוצרות חורים */
.elementor-widget-theme-post-content p:empty,
.elementor-widget-theme-post-content p:has(> br:only-child) { display: none; }

/* ====== 4. קווים: סגנון אחד בלבד בכל האתר ====== */
.elementor-widget-wp-widget-tag_cloud h5,
.elementor-widget-wp-widget-categories h5,
.elementor-widget-wp-widget-archives h5,
.elementor-widget-wp-widget-recent-comments h5,
.elementor-widget-wp-widget-recent-posts h5 {
  font-size: 14px;
  font-weight: 600;
  color: var(--inbar-heading);
  letter-spacing: .01em;
  margin: 0 0 10px;
  padding-bottom: 7px;
  border-bottom: 1px solid var(--inbar-rule);
}
.inbar-legal-links { border-top: 1px solid var(--inbar-rule) !important; }

/* ====== 5. הסרגל הצדדי נסוג אחורה ====== */
.elementor-widget-wp-widget-tag_cloud,
.elementor-widget-wp-widget-categories,
.elementor-widget-wp-widget-archives,
.elementor-widget-wp-widget-recent-comments,
.elementor-widget-wp-widget-recent-posts { font-size: 13px; }

/* התגיות: גודל אחיד, זרימה רגילה, בלי תוויות ובלי גובה מיותר */
.tag-cloud-link {
  font-size: 13px !important;
  line-height: 1.75 !important;
  color: var(--inbar-text);
  text-decoration: none;
}
.tag-cloud-link:hover, .tag-cloud-link:focus { color: var(--inbar-link); text-decoration: underline; }
.tagcloud { line-height: 1.9; }
.tagcloud a::after { content: " ·"; color: var(--inbar-rule); }
.tagcloud a:last-child::after { content: ""; }
/* רשימות הסרגל: צפופות, בלי תבליטים, בלי קו לכל שורה */
.elementor-widget-wp-widget-categories ul,
.elementor-widget-wp-widget-archives ul,
.elementor-widget-wp-widget-recent-comments ul,
.elementor-widget-wp-widget-recent-posts ul { list-style: none; margin: 0; padding: 0; }
.elementor-widget-wp-widget-categories li,
.elementor-widget-wp-widget-archives li,
.elementor-widget-wp-widget-recent-comments li,
.elementor-widget-wp-widget-recent-posts li {
  padding: 3px 0; line-height: 1.6; border: 0;
}
/* ארכיון של 2011-2014 לא צריך לרוץ על חצי עמוד */
.elementor-widget-wp-widget-archives ul { max-height: 180px; overflow-y: auto; }

/* ====== 6. תמונות: טיפול אחד לכולן ====== */
.elementor-widget-theme-post-content img { max-width: 100%; height: auto; }
.elementor-widget-theme-post-content p > img,
.elementor-widget-theme-post-content p > a > img { display: block; margin: 1.4em auto; }

/* ====== 7. טבלאות באותה שפה ====== */
.elementor-widget-theme-post-content table {
  width: 100%; border-collapse: collapse; margin: 1.3em 0; font-size: 15px;
}
.elementor-widget-theme-post-content th,
.elementor-widget-theme-post-content td {
  padding: 8px 11px; border: 1px solid var(--inbar-rule); text-align: start;
}
.elementor-widget-theme-post-content th {
  background: var(--inbar-panel); font-weight: 600; color: var(--inbar-heading);
}

/* ====== 8. קישורים בתוכן ====== */
.elementor-widget-theme-post-content a { color: var(--inbar-link); text-decoration: none; }
.elementor-widget-theme-post-content a:hover,
.elementor-widget-theme-post-content a:focus { text-decoration: underline; text-underline-offset: 3px; }

/* ====== 9. מובייל ====== */
@media (max-width: 767px) {
  .elementor-widget-theme-post-content h2 { font-size: 20px; }
  .elementor-widget-theme-post-content h3 { font-size: 17px; }
  .elementor-widget-wp-widget-archives ul { max-height: 150px; }
  .elementor-widget-theme-post-content table { font-size: 14px; }
}

/* ====== 10. השלמות אחידות ====== */

/* תמונות המוצרים נכנסות לרוחב אחיד אחד במקום 165 עד 230 */
.elementor-widget-theme-post-content p > img,
.elementor-widget-theme-post-content p > a > img,
.elementor-widget-theme-post-content figure img {
  width: 100%;
  max-width: 260px;
  height: auto;
}
/* תמונה שיושבת בפסקה יחד עם טקסט מקבלת מרווח ולא נדבקת אליו */
.elementor-widget-theme-post-content p > img:not(:only-child),
.elementor-widget-theme-post-content p > a:not(:only-child) > img {
  display: block;
  margin: 1.4em auto .6em;
}

/* מפריד נראה בין התגיות במקום מילים שנדבקות */
.tagcloud a::after {
  content: "·";
  margin: 0 5px;
  color: rgba(122, 122, 122, .55);
  display: inline-block;
}

/* חורים ריקים בין בלוקים */
.elementor-widget-theme-post-content br + br { display: none; }
.elementor-widget-theme-post-content p > br:only-child { display: none; }
.elementor-widget-theme-post-content p:has(> strong:empty),
.elementor-widget-theme-post-content p:has(> b:empty) { display: none; }
