/*!
Theme Name: Twenty Twenty-Four Child
Theme URI: https://wordpress.org/themes/twentytwentyfour/
Template: twentytwentyfour
Author: שמך
Author URI: https://example.com
Description: תבנית בת עבור Twenty Twenty-Four
Version: 1.0.0.0.74
*/

/* הערה: פונט Rubik נטען דרך functions.php באמצעות wp_enqueue_style */

/* ייבוא כל הקבצים */

/* === variables_and_globals === */
/**   
 * === משתני צבעים וערכי בסיס ===
 * הגדרת משתני CSS גלובליים לשימוש בכל האתר
 * מאפשר שינוי מהיר של ערכי צבעים וסגנונות מרכזיים
 * 
 * הערה: פונט Rubik נטען מגוגל דרך @import בראש קובץ map.css
 */ 
 :root {
    /* ===  פלטת צבעים === */

    /* צבעי מתוג דעת */
    --primary-color-daat: #8B4513; /* צבע ראשי מותג גולדמן */
    --secondary-color-daat: #CD853F; /*  צבע משנה מותג גולדמן */
    --secondary-color-daat-bright: #DAA520; /*  צבע משני בהיר מותג גולדמן */
    --secondary-color-daat-background: #f5e7c0; /*  צבע משנה לרקעים מותג גולדמן */
    
    /* צבעים ראשיים - פלטה מעודכנת בסגנון מגזין יוקרתי */
    --primary-color: #1a1a1a; /* שחור כמעט */
    --primary-alt: #2d2d2d; /* שחור רך יותר */
    --secondary-color: #1274ac; /* כחול מגזיני */
    --secondary-color-dark: #004e8c; /* כחול עמוק */
    --secondary-color-bright: #3389cc; /* כחול בהיר */
  
    /* גווני אפור למבנה האתר ורקעים */
    --gray-dark: #333333; /* אפור כהה לטקסט */
    --gray-medium: #666666; /* אפור בינוני */
    --gray-mild: #d9d9d9; /* אפור בהיר לגבולות */
    --gray-soft: #f7f7f7; /* אפור עדין מאוד לרקעים */
    --light-gray: #f5f5f5; /* אפור בהיר לרקע האתר */
    
    /* צבעים נייטרליים */
    --white: #ffffff;
    --off-white: #fafafa; /* גרסה עדינה של לבן */
    --text-color: #000000; /* צבע טקסט כללי - שחור */
    
    /* צבעים להדגשות עדינות */
    --accent-blue: #e6eef5; /* כחול עדין לרקעים */
    --link-hover: #b22222; /* אדום עמוק להובר של קישורים */
    
    /* צבעי פונקציונליות */
    --alert-red: #b22222; /* אדום מעודן */
    --alert-red-light: #f8e6e6; /* רקע אדום עדין */
    
    /* צבעים ייעודיים */
    --site-title-color: #000000;
    --site-subtitle-color: #4d4d4d;
    --nav-text-color: #000000;
    
    /* אפקטים */
    --box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    --subtle-border: 1px solid #e0e0e0;
    
    /* רוחב עמודה */
    --wp--style--global--content-size: 750px;
    --wp--style--global--wide-size: 1200px;
    
    /* === משתני פונטים === */
    --font-family-primary: 'Rubik', sans-serif;
    --font-family-secondary: 'Rubik', sans-serif;
    --font-family-accent: 'Rubik', sans-serif;
    --font-family-serif: 'Rubik', sans-serif;
    --font-family-sans: 'Rubik', sans-serif;
    /* ברירת מחדל לעמודות בארכיונים; יתעדכן ע״י מחלקות body */
    --archive-columns: 3;
  }

  /* מחלקות body לקביעת מספר עמודות בארכיונים */
  .archive-columns-1 { --archive-columns: 1; }
  .archive-columns-2 { --archive-columns: 2; }
  .archive-columns-3 { --archive-columns: 3; }
  .archive-columns-4 { --archive-columns: 4; }
  .archive-columns-5 { --archive-columns: 5; }
  .archive-columns-6 { --archive-columns: 6; }
  
  /**
   * === סגנונות כלליים ===
   * איפוס ערכי ברירת מחדל והגדרות בסיסיות לכל האלמנטים
   */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }
  
  body {
  font-family: var(--font-family-accent) !important;
  color: var(--text-color);
  direction: rtl;
  line-height: 1.6;
  background-color: var(--white);
  font-size: 18px;
}
  
  /**
   * === טיפוגרפיה בסיסית ===
   * הגדרות עבור כותרות, פסקאות וקישורים
   */
  h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-accent) !important;
  color: var(--primary-color);
  margin-bottom: 0.8rem;
  font-weight: 700;
  line-height: 1.2;
}
  
  h1 { 
  font-family: var(--font-family-accent) !important;
  font-size: 2.2rem; 
  font-weight: 800;
}
  h2 { 
  font-family: var(--font-family-accent) !important;
  font-size: 1.8rem; 
  font-weight: 300;
}
  h3 { font-size: 1.4rem; }
  
  p {
  font-family: var(--font-family-accent) !important;
  margin-bottom: 1.2rem;
  font-size: 20px;
  font-weight: 400;
}
  
  /**
   * === סגנונות הדגשה בטקסט ===
   * שני סגנונות הדגשה: טקסט מודגש רגיל וטקסט ממורקר עם רקע
   */
  
  /* סגנון טקסט מודגש (bold) */
strong, b, .has-strong-font-weight, .has-bold-font-weight {
  font-weight: 700;
  color: var(--primary-color);
}
  
  /* סגנון טקסט ממורקר ברקע - עם צבע עדין יותר */
  mark, .wp-block-paragraph mark, .has-highlight-background {
    background-color: #f0f7ff;
    color: var(--primary-color);
    font-weight: normal;
    padding: 0 2px;
    border-radius: 0;
  }
  
  a {
    color: var(--secondary-color);
    text-decoration: none;
    transition: color 0.2s ease;
  }
  
  a:hover {
    color: var(--link-hover);
  }
  
  /**
   * === מיכלים ומבנה ===
   * הגדרות מיכל מרכזי עבור תוכן האתר
   */
  .container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
  }
  
  /**
   * === כפתורים ===
   * עיצוב כפתורים בסגנון מינימליסטי
   */
  .btn, 
  .wp-block-button__link {
    display: inline-block;
    padding: 8px 16px;
    background-color: var(--secondary-color);
    color: var(--white) !important;
    border-radius: 2px;
    font-weight: 400;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
  }
  
  .wp-block-button {
    text-align: center;
  }
  
  .btn:hover, 
  .wp-block-button__link:hover {
    background-color: var(--secondary-color-dark);
  }
  
  .btn-secondary,
  .is-style-outline .wp-block-button__link {
    background-color: transparent;
    border: 1px solid var(--secondary-color);
    color: var(--secondary-color) !important;
  }
  
  .btn-secondary:hover,
  .is-style-outline .wp-block-button__link:hover {
    background-color: var(--secondary-color);
    color: var(--white) !important;
  }
  
  /* קישור דילוג לתוכן - מוסתר חזותית ומופיע רק בפוקוס (נגישות מקלדת) */
  .skip-to-content-link {
    position: absolute;
    top: -100px;
    left: 0;
    padding: 10px 15px;
    background-color: var(--primary-color);
    color: #fff;
    z-index: 9999;
    transition: top 0.3s;
    text-decoration: none;
    font-weight: 600;
  }
  
  .skip-to-content-link:focus {
    top: 0;
  }
  
  /**
   * === ביטול מסגרת focus על קישורים ===
   * מבטל את המסגרת הכחולה שמופיעה בלחיצה על קישורים
   * נשמר רק לקישור הדילוג לתוכן לשם נגישות
   */
  a:focus,
  a:focus-visible,
  a:active {
    outline: none !important;
    box-shadow: none !important;
  }
  
  /* שמירה על outline לקישור דילוג לתוכן - חשוב לנגישות! */
  .skip-to-content-link:focus {
    outline: 2px solid #fff !important;
    outline-offset: 2px;
  }
  


/* === header-unified === */
/**
 * ========================================
 * כותרת עליונה מאוחדת - Header + Search
 * ========================================
 * קובץ CSS מאוחד לכותרת העליונה כולל חיפוש
 * גרסה: 2.0.0 - Goldman Art
 * 
 * מבנה העמודות:
 * - 25% לוגו (ימין)
 * - 55% תפריטי ניווט (מרכז)
 * - 20% חיפוש (שמאל)
 */

/* ========================================
   1. הסתרת כותרת FSE כפולה
   ======================================== */
header.wp-block-template-part {
  display: none !important;
  height: 0 !important;
  overflow: hidden !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
  box-shadow: none !important;
}

/* ========================================
   2. מיכל הכותרת הראשי
   ======================================== */
header.site-header,
.site-header,
#masthead {
  background-color: #f5e7c0;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  width: 100%;
  margin: 0;
  direction: rtl;
  padding: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* נטרול מרווחים שליליים של alignfull */
.wp-site-blocks > header.site-header,
.wp-site-blocks > .site-header,
.wp-site-blocks > #masthead,
.wp-block-template-part header.site-header,
.wp-block-template-part .site-header,
.alignfull > header.site-header,
header.site-header.alignfull {
  margin-left: 0 !important;
  margin-right: 0 !important;
  width: 100% !important;
}

/* רק בעמוד הבית: כותרת צפה עם מרווחים */
body.home header,
body.home .site-header,
body.home #masthead {
  top: 10px;
  width: calc(100% - 40px);
  margin: 10px 20px 0 20px;
}

body.home .wp-site-blocks > header.site-header,
body.home .wp-site-blocks > .site-header,
body.home .wp-site-blocks > #masthead,
body.home .wp-block-template-part header.site-header,
body.home .wp-block-template-part .site-header,
body.home .alignfull > header.site-header,
body.home header.site-header.alignfull {
  margin-left: 20px !important;
  margin-right: 20px !important;
  width: calc(100% - 40px) !important;
}

/* הוספת מסגרת דקה גם בעמוד הבית */
body.home .site-header {
  border: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/* ביטול מסגרת בעמודי פוסט למניעת קו כפול */
body.single .site-header,
body.single-post .site-header {
  border: none !important;
}

/* ========================================
   3. מיכל תוכן הכותרת
   ======================================== */
.header-container {
  display: grid;
  grid-template-columns: 25% 55% 20%;
  height: 53px !important;
  min-height: 53px !important;
  max-height: 53px !important;
  padding: 0 20px;
  max-width: 4400px;
  margin: 0 auto;
  width: 100%;
  position: relative;
  transition: none !important;
}

/* ========================================
   4. אזור הלוגו (25%)
   ======================================== */
.logo-container,
.site-branding {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 100%;
  padding-right: 0;
  margin-right: 0;
  min-width: 180px;
  order: -1;
  overflow: hidden;
}

.logo-container > a {
  display: flex;
  align-items: center;
  height: 100%;
  line-height: 0;
  outline: none;
}

.logo-container > a:focus,
.logo-container > a:focus-visible {
  outline: none;
}

.logo {
  height: 47px;
  width: auto;
  max-width: none;
  object-fit: contain;
  margin-left: 0px;
  margin-right: -1px;
  align-self: center;
  display: block;
}

/* לוגו אחיד לכל העמודים */
.logo {
  display: block;
}

/* הסתרת שם האתר והסלוגן */
.site-branding-text,
.site-title,
.site-description {
  display: none;
}

/* ========================================
   5. אזור תפריטי הניווט (55%)
   ======================================== */
.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  position: relative;
}

.menu-items-list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  height: 100%;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.menu-item {
  margin: 0 3px;
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.menu-item a {
  display: flex;
  align-items: center;
  height: 100%;
  padding: 0 12px;
  color: var(--primary-color);
  font-weight: 500;
  font-size: 0.95rem;
  font-family: var(--font-family-accent) !important;
  letter-spacing: -0.01em;
  text-decoration: none;
  white-space: nowrap;
  position: relative;
  transition: color 0.2s ease;
  outline: none;
}

.menu-item a:hover {
  color: var(--primary-color-daat);
}

.menu-item a:focus,
.menu-item a:focus-visible {
  outline: none;
}

/* קו תחתון בהובר */
.menu-item a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color-daat);
  transition: width 0.2s ease;
}

.menu-item a:hover::after {
  width: 100%;
}

/* ========================================
   6. אזור החיפוש והשפה (20%)
   ======================================== */
.controls-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  overflow: visible;
  gap: 8px;
}

/* לחצן החלפת שפה */
.language-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: 1px solid var(--primary-color-daat);
  border-radius: 4px;
  padding: 6px 14px;
  cursor: pointer;
  color: var(--primary-color-daat);
  font-size: 0.85rem;
  font-family: var(--font-family-accent) !important;
  font-weight: 600;
  outline: none;
  transition: all 0.2s ease;
  min-width: 48px;
  height: 32px;
  margin: 0;
  flex-shrink: 0;
}

.language-btn:hover {
  background-color: var(--primary-color-daat);
  color: #f5e7c0;
  transform: translateY(-1px);
}

.language-btn:active {
  transform: translateY(0);
}

.language-btn:focus,
.language-btn:focus-visible {
  outline: 2px solid var(--primary-color-daat);
  outline-offset: 2px;
}

.language-text {
  display: inline-block;
  line-height: 1;
}

/* לחצן חיפוש */
.search-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 8px 12px;
  cursor: pointer;
  color: var(--primary-color-daat);
  font-size: 0.9rem;
  font-family: var(--font-family-accent) !important;
  font-weight: 500;
  outline: none;
  transition: color 0.2s ease;
}

.search-btn:hover {
  color: var(--primary-color-daat);
}

.search-btn:focus,
.search-btn:focus-visible,
.search-btn:active {
  outline: none !important;
}

.search-btn i {
  font-size: 14px;
}

.search-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 8px;
  background-color: currentColor;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' width='24' height='24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'%3E%3C/circle%3E%3Cline x1='21' y1='21' x2='16.65' y2='16.65'%3E%3C/line%3E%3C/svg%3E");
  -webkit-mask-size: contain;
  mask-size: contain;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
}

/* תיבת החיפוש המורחבת */
.search-form-container {
  position: fixed;
  top: 53px;
  left: 0;
  right: 0;
  width: 100%;
  background-color: #f5e7c0;
  padding: 20px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  z-index: 101;
  border: 1px solid var(--gray-mild);
  border-radius: 0;
  display: none;
}

/* בעמוד הבית: התאמה למרווח הכותרת */
body.home .search-form-container {
  top: 63px;
  left: 10px;
  right: 10px;
  width: calc(100% - 20px);
}

.search-form-container:not([hidden]) {
  display: block;
  animation: slideDown 0.25s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

[hidden] {
  display: none !important;
}

.search-form {
  display: flex;
  align-items: center;
  max-width: 700px;
  margin: 0 auto;
  position: relative;
}

.search-field {
  width: 100%;
  padding: 12px 40px 12px 40px;
  border: none;
  border-bottom: 1px solid #000000;
  border-radius: 0;
  background-color: transparent;
  color: var(--text-color);
  font-size: 1rem;
  direction: rtl;
  transition: border-bottom-color 0.2s ease;
  font-family: var(--font-family-accent) !important;
}

.search-field::placeholder {
  color: var(--gray-medium);
}

.search-field:focus {
  outline: none;
  border-bottom-color: #000000;
  box-shadow: none;
}

/* הסתרת כפתור X של הדפדפן */
.search-field::-webkit-search-cancel-button {
  display: none;
  -webkit-appearance: none;
}

.search-field::-webkit-search-decoration {
  display: none;
  -webkit-appearance: none;
}

.search-submit {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: var(--primary-color-daat);
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
  transition: color 0.2s ease;
  z-index: 102;
  outline: none;
}

.search-submit:hover {
  color: var(--primary-color-daat);
}

.search-submit:focus,
.search-submit:focus-visible {
  outline: none;
}

.search-close {
  display: none !important;
}

/* נגישות */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* ========================================
   7. עיצוב נגטיבי לכל העמודים מלבד עמוד הבית
   ======================================== */
body:not(.home) .site-header {
  background-color: #f5e7c0 !important;
  border-color: rgba(0, 0, 0, 0.1) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
}

body:not(.home) .site-title,
body:not(.home) .site-description,
body:not(.home) .menu-item a,
body:not(.home) .search-btn {
  color: var(--primary-color-daat) !important;
}

body:not(.home) .site-description {
  color: var(--gray-medium) !important;
}

body:not(.home) .search-icon {
  background-color: currentColor !important;
}

body:not(.home) .menu-item a::after {
  background-color: var(--primary-color-daat) !important;
}

body:not(.home) .menu-item a:hover {
  color: var(--primary-color-daat) !important;
}

/* ========================================
   8. התאמות לגרסה האנגלית (LTR)
   ======================================== */
.site-lang-en header.site-header,
.site-lang-en .site-header,
.site-lang-en #masthead {
  direction: ltr;
}

/* גריד LTR - סדר משמאל לימין - אותן עמודות כמו RTL */
.header-container.header-ltr {
  direction: ltr;
  grid-template-columns: 25% 55% 20% !important;  /* לוגו | תפריט | חיפוש */
}

/* לוגו בצד שמאל בגרסה האנגלית */
.site-lang-en .logo-container,
.site-lang-en .site-branding,
.header-ltr .logo-container,
.header-ltr .site-branding {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: 0;
}

.site-lang-en .logo,
.header-ltr .logo {
  margin-right: 0px;
  margin-left: -1px;
}

/* חיפוש ושפה בצד ימין בגרסה האנגלית */
.site-lang-en .controls-container,
.header-ltr .controls-container {
  justify-content: flex-end;
}

/* תיקון כיוון אייקון החיפוש */
.site-lang-en .search-icon,
.header-ltr .search-icon {
  margin-left: 0;
  margin-right: 8px;
}

/* תיקון מיקום כפתור החיפוש בתיבה המורחבת */
.site-lang-en .search-submit,
.header-ltr .search-submit {
  left: auto;
  right: 15px;
}

/* תיקון כיוון שדה החיפוש */
.site-lang-en .search-field,
.header-ltr .search-field {
  padding: 12px 40px 12px 40px;
  direction: ltr;
  text-align: left;
}

/* ========================================
   9. התאמות למובייל
   ======================================== */
@media (max-width: 1024px) {
  /* ברירת מחדל במובייל: כותרת צמודה */
  header,
  .site-header,
  #masthead {
    top: 0;
    width: 100%;
    margin: 0;
  }
  
  /* רק בעמוד הבית במובייל: מרווחים */
  body.home header,
  body.home .site-header,
  body.home #masthead {
    top: 10px;
    width: calc(100% - 20px);
    margin: 10px 10px 0 10px;
  }
  
  body.home .wp-site-blocks > header.site-header,
  body.home .wp-site-blocks > .site-header,
  body.home .wp-site-blocks > #masthead,
  body.home .wp-block-template-part header.site-header,
  body.home .wp-block-template-part .site-header,
  body.home .alignfull > header.site-header,
  body.home header.site-header.alignfull {
    margin-left: 10px !important;
    margin-right: 10px !important;
    width: calc(100% - 20px) !important;
  }
  
  /* מבנה גריד במובייל */
  .header-container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    padding: 0 10px;
    height: 42px;
  }
   
  /* לוגו במרכז */
  .logo-container,
  .site-branding {
    grid-column: 2;
    justify-content: center !important;
    align-items: center;
    max-width: 100%;
    overflow: visible;
    height: 100%;
  }
  
  .logo {
    height: 35px;
    max-height: 35px;
    margin-left: 0 !important;
    margin-right: 0 !important;
    align-self: center;
    display: block;
    position: relative;
    top: 0;
  }
  
  .logo-container > a {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    line-height: 0;
  }
  
  /* הסתרת תפריט הניווט העליון במובייל */
  .nav-menu {
    display: none;
  }
  
  /* המיכל של החיפוש והשפה - יחידה אחת בגריד */
  .controls-container {
    display: flex;
    align-items: center;
    gap: 8px;
    height: 100%;
  }
  
  /* לחצן שפה במובייל */
  .language-btn {
    padding: 4px 10px;
    font-size: 0.8rem;
    min-width: 40px;
    height: 28px;
    margin: 0;
    flex-shrink: 0;
  }
  
  /* ביטול gap מיותר בעברית */
  .controls-container {
    gap: 6px;
  }
  
  /* חיפוש */
  .search-text {
    display: none;
  }
  
  .search-icon {
    margin-left: 0;
  }
  
  .search-btn {
    display: flex !important;
    align-items: center !important;
    height: 100%;
    padding-left: 0 !important;
    margin-right: 0 !important;
  }
  
  .controls-container {
    grid-column: 3;
    justify-self: end;
    order: 3;
  }
  
  /* התאמת טופס החיפוש למובייל */
  .search-form-container {
    top: 42px;
    padding: 10px 0;
  }
  
  body.home .search-form-container {
    top: 52px;
  }
  
  .search-field {
    padding: 10px 35px 10px 35px;
    font-size: 0.9rem;
    border: none;
    border-bottom: 1px solid #000000;
  }
  
  .search-submit,
  .search-close {
    font-size: 0.9rem;
  }
  
  .search-close {
    right: 12px;
  }
  
  /* עיצוב נגטיבי למובייל */
  body:not(.home) .site-header {
    background-color: #f5e7c0 !important;
    border-color: rgba(0, 0, 0, 0.1) !important;
  }
  
  body:not(.home) .search-icon {
    background-color: currentColor !important;
  }
  
  body:not(.home) .search-btn {
    color: var(--primary-color-daat) !important;
  }
  
  /* צבע כפתור פתיחת תפריט הצד במובייל */
  body.home .mobile-nav-toggle {
    color: var(--primary-color-daat) !important;
  }
  
  body:not(.home) .mobile-nav-toggle {
    color: var(--primary-color-daat) !important;
  }
  
  .mobile-nav-toggle span {
    background-color: currentColor !important;
    display: block !important;
    width: 20px !important;
    height: 2px !important;
    margin: 3px auto !important;
  }
  
  /* מיקומים במובייל - עברית (RTL): תפריט מובייל (ימין) | לוגו (מרכז) | חיפוש+שפה (שמאל) */
  /* בעברית, הגריד הוא RTL, אז grid-column: 1 = ימין */
  .mobile-nav-toggle {
    grid-column: 1 !important;
    justify-self: start !important;
    align-self: center !important;
    order: 1 !important;
    position: static !important;
    transform: none !important;
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    height: 100%;
  }
  
  /* הסרת outline בפוקוס/לחיצה */
  .mobile-nav-toggle:focus,
  .mobile-nav-toggle:focus-visible,
  .mobile-nav-toggle:active {
    outline: none !important;
    box-shadow: none !important;
  }
  
  .logo-container {
    grid-column: 2 !important;
    order: 2 !important;
  }
  
  .controls-container {
    grid-column: 3 !important;
    justify-self: end !important;
    order: 3 !important;
  }
  
  /* התאמות למובייל בגרסה האנגלית (LTR): תפריט מובייל (שמאל) | לוגו (מרכז) | חיפוש+שפה (ימין) */
  /* באנגלית, הגריד הוא LTR, אז grid-column: 1 = שמאל */
  .header-ltr .mobile-nav-toggle {
    grid-column: 1 !important;
    justify-self: start !important;
    order: 1 !important;
  }
  
  .header-ltr .logo-container {
    grid-column: 2 !important;
    order: 2 !important;
  }
  
  .header-ltr .controls-container {
    grid-column: 3 !important;
    justify-self: end !important;
    order: 3 !important;
  }
  
  /* הפיכת כיוון header-container במובייל LTR */
  .header-container.header-ltr {
    direction: ltr !important;
  }
}

/* ========================================
   התאמות למסכים קטנים מאוד (פחות מ-480px)
   ======================================== */
@media (max-width: 480px) {
  /* הקטנת לחצן השפה ב-20% כדי למנוע חיתוך */
  .language-btn {
    padding: 3px 8px !important;
    font-size: 0.64rem !important; /* 0.8rem * 0.8 = 0.64rem */
    min-width: 32px !important; /* 40px * 0.8 = 32px */
    height: 22px !important; /* 28px * 0.8 ≈ 22px */
    gap: 3px !important;
  }
  
  /* התאמת גודל הטקסט בתוך הלחצן */
  .language-text {
    font-size: 0.64rem !important;
  }
}

/* ========================================
   התאמות למסכים זעירים מאוד (פחות מ-360px)
   ======================================== */
@media (max-width: 360px) {
  /* הקטנה נוספת במסכים ממש קטנים */
  .language-btn {
    padding: 2px 6px !important;
    font-size: 0.6rem !important;
    min-width: 28px !important;
    height: 20px !important;
    gap: 2px !important;
  }
  
  .language-text {
    font-size: 0.6rem !important;
  }
  
  /* הקטנת gap בין הכפתורים */
  .controls-container {
    gap: 4px !important;
  }
}

/* ========================================
   10. מיקוד מקלדת - נגישות
   ======================================== */
a:focus,
button:focus,
input:focus {
  outline: 2px solid var(--primary-color-daat);
  outline-offset: 2px;
}



/* === footer === */
/**
 * === פוטר מינימליסטי ===
 * עיצוב מינימליסטי לכותרת התחתונה
 */

 .site-footer {
  background-color: #f5e7c0;
  padding: 25px 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-family: var(--font-family-accent) !important;
  direction: rtl;
}

.site-footer .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.footer-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
}

/* אייקונים חברתיים */
.footer-social {
  display: flex;
  gap: 12px;
}

.social-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-medium);
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}

.social-icon:hover {
  color: var(--primary-color-daat);
  border-color: var(--primary-color-daat);
}

.social-icon i {
  font-size: 16px;
}

/* קישורים */
.footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.footer-links a {
  color: var(--primary-color-daat);
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0 5px;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--secondary-color-daat);
}

.footer-links .separator {
  color: var(--primary-color-daat);
  font-size: 0.85rem;
}

/* הרשמה לעדכונים  */
.footer-newsletter {
  flex-shrink: 0;
}

.newsletter-wrapper {
  display: flex;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 2px;
  overflow: hidden;
  height: 32px; /* מגדיר גובה קטן יותר */
}

.footer-newsletter input {
  border: none;
  padding: 6px 10px; /* פדינג מוקטן */
  font-size: 0.8rem; /* גופן קטן יותר */
  background-color: white;
  color: var(--gray-dark);
  min-width: 150px; /* רוחב מינימלי קטן יותר */
  font-family: var(--font-family-accent) !important;
}

.footer-newsletter input:focus {
  outline: none;
}

/* הרשמה לעדכונים - בסגנון האייקונים החברתיים */
.footer-newsletter button {
  background-color: white; /* רקע לבן כמו האייקונים */
  color: var(--gray-medium); /* צבע טקסט כמו האייקונים */
  border: 1px solid rgba(0, 0, 0, 0.1); /* גבול זהה לאייקונים */
  padding: 0 12px;
  cursor: pointer;
  transition: all 0.2s ease; /* שיניתי מ-background-color ל-all כדי שהכל יהיה באנימציה */
  font-size: 0.8rem;
  height: 100%; /* להתאמה מלאה לגובה השדה */
}

.footer-newsletter button:hover {
  color: var(--primary-color-daat); /* שינוי צבע טקסט בהרחפה - כמו באייקונים */
  border-color: var(--primary-color-daat); /* שינוי צבע גבול בהרחפה - כמו באייקונים */
  background-color: white; /* נשאר לבן גם בהרחפה */
}

/* זכויות יוצרים */
.footer-copyright {
  color: var(--primary-color-daat);
  font-size: 0.8rem;
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 15px;
  }
  
  /* סדר האלמנטים במובייל: 1) זכויות יוצרים, 2) ניוזלטר, 3) קישורים */
  .footer-copyright { order: 1; }
  .footer-newsletter { order: 2; }
  .footer-links { order: 3; }

  .footer-links {
    flex-direction: row; /* שיהיו בשורה */
    justify-content: center; /* מרכוז אופקי */
    flex-wrap: nowrap; /* ללא שבירת שורה */
    white-space: nowrap; /* מונע שבירת שורה פנימית */
    gap: 8px; /* רווח קטן יותר בין הקישורים */
    width: 100%; /* מנצל את כל הרוחב */
  }
  
  .footer-links .separator {
    display: inline; /* מציג את המפרידים */
    font-size: inherit; /* שומר על יחס לגודל הטקסט */
  }
  
  .footer-links a {
    font-size: clamp(12px, 2.4vw, 16px); /* מתאים את עצמו לרוחב המסך */
    padding: 2px 4px; /* פדינג מצומצם כדי למנוע גלילה */
    white-space: nowrap; /* מונע שבירת שורה בתוך הטקסט */
  }
  
  .newsletter-wrapper {
    width: 100%;
  }
  
  .footer-newsletter input {
    width: 100%;
    min-width: auto;
  }
}

/* מדיה קוורי לשינוי גודל פונט בהתאם לרוחב המסך */
@media (max-width: 480px) {
  .footer-links {
    gap: 6px; /* מקטין רווחים במסכים הכי קטנים */
  }
  .footer-links a {
    font-size: clamp(11px, 3.4vw, 14px); /* מצמצם עוד יותר במסכים צרים */
    padding: 1px 3px; /* פדינג קטן יותר כדי למנוע גלילה */
  }
}

@media (min-width: 481px) and (max-width: 768px) {
  .footer-links a {
    font-size: clamp(12px, 2.2vw, 15px); /* מתאים למסכים בינוניים */
  }
}


/* === sidebar === */
/**
 * === תפריט צד למובייל ===
 * סגנונות לתפריט צד מונגש למובייל
 * גרסה: 2.0.0
 */

/* סגנונות לנגישות */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* מיכל תפריט הצד */
.mobile-side-nav {
    display: none;
}
  
/* תפריט צד - מצב פתוח */
body.mobile-menu-active .mobile-side-nav {
    display: block;
    position: fixed;
    top: 60px;
    right: 0;
    width: 50%; /* שינוי מ-250px ל-50% מרוחב המסך */
    height: calc(100vh - 60px);
    background-color: var(--secondary-color-daat-bright);
    color: var(--primary-color-daat);
    z-index: 101;
    padding: 20px;
    box-sizing: border-box;
    box-shadow: -1px 0 8px rgba(0, 0, 0, 0.08);
    overflow-y: auto;
    border-left: 1px solid rgba(0, 0, 0, 0.1);
}

/* כותרות בתפריט הצד */
.mobile-side-nav h3 {
    color: var(--primary-color-daat);
    font-size: 1.05rem;
    font-weight: 600;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--gray-mild);
    width: 100%;
    text-align: right;
    font-family: var(--font-family-accent) !important;
    letter-spacing: -0.01em;
}
  
/* קטע תפריט */
.mobile-side-nav-section {
    margin-bottom: 25px;
}
  
/* פריטי התפריט */
.mobile-side-nav ul {
    margin: 0;
    padding: 0;
    list-style: none;
}
  
.mobile-side-nav ul li {
    margin: 0;
    padding: 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}
  
.mobile-side-nav ul li:last-child {
    border-bottom: none;
}
  
.mobile-side-nav ul li a {
    display: block;
    width: 100%;
    text-align: right;
    padding: 12px 0;
    color: var(--primary-color-daat);
    font-size: 1rem;
    font-weight: 500;
    transition: color 0.2s ease, padding-right 0.2s ease;
    text-decoration: none;
    font-family: var(--font-family-accent) !important;
}
  
.mobile-side-nav ul li a:hover {
    color: var(--secondary-color-daat);
    padding-right: 5px;
    background-color: transparent;
}

/* סגנון כפתור סגירה */
.mobile-nav-header {
    display: flex;
    justify-content: flex-end;
    padding: 0 0 15px 0;
    margin-bottom: 10px;
    border-bottom: 1px solid var(--gray-mild);
}
  
.mobile-menu-close {
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    color: var(--gray-medium);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    position: relative;
}

.mobile-menu-close::before,
.mobile-menu-close::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 1px;
    background-color: var(--primary-color);
    transform-origin: center;
}

.mobile-menu-close::before {
    transform: rotate(45deg);
}

.mobile-menu-close::after {
    transform: rotate(-45deg);
}

/* מרכוז כפתור התפריט במיכל השמאלי */
.mobile-menu-space {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 100% !important;
    width: 100% !important;
}

/* עיצובים לכפתור פתיחת תפריט */
.mobile-nav-toggle {
    display: none; /* מוסתר כברירת מחדל, יוצג רק במובייל */
    background: none;
    border: none;
    cursor: pointer;
    transition: color 0.2s ease;
    margin: 0;
    padding: 0;
    z-index: 100;
    width: 32px;
    height: 32px;
    justify-content: center;
    align-items: center;
    position: relative;
}

.mobile-nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background-color: currentColor;
    position: absolute;
    transition: transform 0.2s ease;
}

.mobile-nav-toggle span:nth-child(1) {
    top: 13px;
}

.mobile-nav-toggle span:nth-child(2) {
    top: 19px;
}

.mobile-nav-toggle span:nth-child(3) {
    top: 25px;
}

.mobile-nav-toggle span:nth-child(4) {
    top: 31px;
}

.mobile-nav-toggle:hover span {
    background-color: var(--secondary-color-daat);
}

/* מיקוד נראה היטב */
.mobile-nav-toggle:focus-visible,
.mobile-menu-close:focus-visible {
    outline: 2px solid var(--secondary-color-daat);
    outline-offset: 2px;
}

/* כפתור תפריט במצב פתוח */
body.mobile-menu-active .mobile-nav-toggle span:nth-child(1) {
    opacity: 0;
}

body.mobile-menu-active .mobile-nav-toggle span:nth-child(2) {
    transform: translate(0, 3px) rotate(45deg);
}

body.mobile-menu-active .mobile-nav-toggle span:nth-child(3) {
    transform: translate(0, -3px) rotate(-45deg);
}

body.mobile-menu-active .mobile-nav-toggle span:nth-child(4) {
    opacity: 0;
}

/* תיקון סלוגן האתר במובייל */
@media screen and (max-width: 1024px) {
    /* הגבלת רוחב הסלוגן והכותרת */
    .site-branding-text {
        max-width: 100%;
        overflow: hidden;
    }
    
    .site-title {
        font-size: 1.2rem;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        max-width: 100%;
    }
    
    .site-description {
        font-size: 0.75rem;
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        max-width: 100%;
    }
    
    /* מיכל לוגו ושם האתר */
    .logo-container {
        overflow: hidden !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }
    
    /* כפתור התפריט מוצג רק במובייל */
    .mobile-nav-toggle {
        display: flex !important;
    }
    
    /* גובה התפריט מותאם לגובה הכותרת במובייל */
    body.mobile-menu-active .mobile-side-nav {
        top: 60px;
        height: calc(100vh - 60px);
        width: 50%; /* וודא שגם במובייל התפריט יכסה 50% מהמסך */
    }
    
    /* התאמת גודל טקסט במובייל */
    .mobile-side-nav h3 {
        font-size: 1rem;
    }
    
    .mobile-side-nav ul li a {
        font-size: 0.95rem;
    }
}

/* הסתרה במסכי דסקטופ */
@media screen and (min-width: 1025px) {
    .mobile-nav-toggle {
        display: none !important;
    }
}

/* ========================================
   התאמות לגרסה האנגלית (LTR)
   ======================================== */
.site-lang-en .mobile-side-nav,
body.site-lang-en.mobile-menu-active .mobile-side-nav {
    right: auto !important;
    left: 0 !important;
    box-shadow: 1px 0 8px rgba(0, 0, 0, 0.08) !important;
    border-left: none !important;
    border-right: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/* יישור טקסט לשמאל באנגלית */
.site-lang-en .mobile-side-nav h3 {
    text-align: left !important;
    direction: ltr !important;
}

.site-lang-en .mobile-side-nav ul li a {
    text-align: left !important;
    direction: ltr !important;
}

.site-lang-en .mobile-side-nav ul li a:hover {
    padding-right: 0 !important;
    padding-left: 5px !important;
}



/* === category === */
/**
 * === עיצוב עמוד קטגוריות ===
 * עיצוב בסגנון מינימליסטי ומודרני
 * מציג פוסטים בפורמט גריד רספונסיבי עם דגש על טיפוגרפיה וקריאות
 * תומך בסידור ידני של עד 8 פוסטים ראשונים
 */

/* כותרת ראשית של הקטגוריה */
.archive-title {
  color: var(--primary-color);
  font-size: 2.2rem;
  margin-top: 60px;
  margin-bottom: 1.5rem; 
  font-weight: 700;
  text-align: right;
  line-height: 1.2;
  font-family: var(--font-family-accent) !important;
  letter-spacing: -0.02em;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  padding-bottom: 0.8rem;
}

/* הגבלת רוחב למיכלים הראשיים */
.archive-header,
.category-query {
  max-width: var(--content-width, 1200px);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

/* מיכל הגריד של הפוסטים */
.category-posts-grid {
  display: grid;
  grid-template-columns: repeat(var(--archive-columns, 3), minmax(0, 1fr)); 
  gap: 2.5rem;
  margin: 0 0 3.5rem 0;
  padding: 0;
}

/* כרטיס פוסט בודד */
.category-post-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: #ffffff;
  transition: all 0.2s ease-in-out;
  height: 100%;
  padding: 0;
  margin: 0;
  border: none;
  position: relative;
  border-radius: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.category-post-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

/* קישור התמונה */
.category-post-image-link {
  display: block;
  position: relative;
  overflow: hidden;
  padding-top: 66.67%; /* יחס 3:2 */
  margin: 0;
  line-height: 0;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

/* פיקס ספציפי לבלוק התמונה בוורדפרס */
.category-query figure.wp-block-post-featured-image {
  margin: 0;
  padding: 0;
  line-height: 0;
  overflow: hidden;
}

/* תמונה ראשית של הפוסט */
.category-post-image {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
  margin: 0;
  padding: 0;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.category-post-image-link:hover .category-post-image {
  transform: scale(1.03);
}

/* רווח בין התמונה לתוכן בכרטיסי קטגוריה */
.category-post-image-link + .category-post-content {
  margin-top: 0;
}

/* תוכן הפוסט */
.category-post-content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: 0.5rem 1.2rem 1.2rem; /* padding-top: 8px לאיזון עם margin-bottom של תג המק"ט */
  margin: 0;
  background-color: transparent;
}

/* מיכל תג מק״ט - מעל הכותרת */
.category-post-card .super-title-container {
  min-height: 32px;
  display: block;
  margin-bottom: 8px;
  border-bottom: none !important;
}

.category-post-card .super-title-container a {
  border-bottom: none !important;
  text-decoration: none !important;
}

.category-post-card .super-title-link {
  text-decoration: none !important;
  display: inline-block;
  border-bottom: none !important;
}

.category-post-card .super-title-link:hover {
  text-decoration: none !important;
  border-bottom: none !important;
}

.category-post-card .super-title-tag {
  display: inline-block;
  background: var(--secondary-color-daat-background);
  color: var(--primary-color-daat);
  border: 1px solid var(--primary-color-daat);
  padding: 4px 10px;
  font-size: 0.7rem;
  font-weight: 600;
  border-radius: 3px;
  line-height: 1.4;
  letter-spacing: 0.3px;
  transition: opacity 0.3s ease;
  text-decoration: none !important;
}

.category-post-card .super-title-link:hover .super-title-tag {
  opacity: 0.9;
}

/* כותרת הפוסט */
.category-post-title {
  font-size: 1.3rem;
  font-weight: 600; /* משקל 600 לעברית (Rubik) */
  margin: 0 0 0.1rem 0; /* הרווח מהתמונה נשלט דרך padding-top של התוכן */
  line-height: 1.3;
  padding: 0;
  font-family: 'Rubik', var(--font-family-accent) !important;
}

.category-post-title a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color 0.2s ease;
  outline: none !important;
}

.category-post-title a:hover {
  color: var(--primary-color-daat); /* צבע אדום ראשי */
}

.category-post-title a:focus {
  outline: none !important;
  box-shadow: none !important;
}

.category-post-title a:active {
  outline: none !important;
  box-shadow: none !important;
}

/* מצב פוקוס לקישורים אחרים - לשיפור נגישות מקלדת */
.category-post-image-link:focus,
.category-post-read-more:focus,
.category-pagination a:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

/* כותרת משנה (תקציר הפוסט) - לא בשימוש יותר */
/* .category-post-subtitle - removed */

/* מידע על הפוסט (תאריך וכו') */
.category-post-meta {
  margin-top: auto;
  padding-top: 0.8rem;
  margin-bottom: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  font-size: 0.85rem;
  color: var(--gray-medium);
  display: flex;
  align-items: center;
  font-family: var(--font-family-accent) !important;
}

/* אייקון התאריך */
.category-post-date {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  font-weight: 400;
}

/* הסרת האייקון לפני התאריך בארכיונים */
.category-post-date::before {
  content: none;
}

/* כפתור "קרא עוד" */
.category-post-read-more { display: none !important; }

/* ניווט בין עמודים */
.category-pagination {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  font-family: var(--font-family-accent) !important;
}

.category-pagination a {
  display: inline-flex;
  align-items: center;
  padding: 0.6rem 1.2rem;
  background-color: transparent;
  color: var(--secondary-color) !important;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid var(--secondary-color);
  font-size: 0.9rem;
}

.category-pagination a:hover {
  background-color: var(--secondary-color);
  color: var(--white) !important;
}

.category-pagination a:focus {
  background-color: var(--secondary-color);
  color: var(--white) !important;
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

.category-pagination-prev::before {
  content: "←";
  margin-left: 0.5rem;
}

.category-pagination-next::after {
  content: "→";
  margin-right: 0.5rem;
}

/* מספרי עמודים */
.category-pagination-numbers {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.category-pagination-numbers .page-numbers {
  min-width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-pagination-numbers .page-numbers.current {
  background-color: var(--secondary-color);
  color: var(--white);
  border: 1px solid var(--secondary-color);
}

/* פיקס ספציפי לוורדפרס */
.category-posts-container {
  margin: 0 !important;
  padding-top: 0 !important;
}

/* התאמה לגדלי מסך שונים */
@media screen and (max-width: 1200px) {
  .category-posts-grid {
    grid-template-columns: repeat(var(--archive-columns, 3), 1fr);
    gap: 2rem;
  }
  
  .archive-title {
    font-size: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .category-posts-grid {
    grid-template-columns: repeat(var(--archive-columns, 2), 1fr);
    gap: 1.5rem;
  }
  
  .category-post-content {
    padding: 0.5rem 1rem 1.2rem; /* padding-top: 8px לאיזון במובייל */
  }
  
  .category-post-title {
    font-size: 1.2rem;
  }
  
  .archive-title {
    font-size: 1.7rem;
    margin-bottom: 1.2rem;
  }
}

@media screen and (max-width: 480px) {
  .category-posts-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  
  .archive-title {
    font-size: 1.5rem;
    text-align: right;
  }
  
  /* במסכים קטנים, נציג רק קישורי קודם/הבא */
  .category-pagination-numbers {
    display: none;
  }
}

/* תמיכות נגישות */
@media screen and (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

@media screen and (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ===================== */
/* ארכיונים: קטגוריות ותגים */
/* התאמות לתמונות ברשימות פוסטים המבוססות בלוקים */
/* ===================== */

/* מיכל פוסט בארכיונים (קטגוריות/תגיות) */
.archive .wp-block-post {
  background-color: #ffffff;
  border-radius: 0;
  overflow: hidden;
  padding: 0; /* מבטיח שאין ריווח סביב התמונה */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* עטיפת התמונה בפוסטים בארכיונים – כפיית יחס 3:2 וביטול עיגול פינות */
.archive .wp-block-post-featured-image {
  aspect-ratio: 3 / 2 !important;
  overflow: hidden;
  border-top-left-radius: inherit !important;
  border-top-right-radius: inherit !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  margin: 0;
}

/* קישור התמונה ימלא את המיכל */
.archive .wp-block-post-featured-image a {
  display: block;
  width: 100%;
  height: 100%;
  border-top-left-radius: inherit !important;
  border-top-right-radius: inherit !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
}

/* התמונה עצמה – חיתוך מרכזי ליחס 3:2, ללא פינות מעוגלות */
.archive .wp-block-post-featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  border-top-left-radius: inherit !important;
  border-top-right-radius: inherit !important;
  border-bottom-left-radius: 0 !important;
  border-bottom-right-radius: 0 !important;
  display: block;
}

/* ריווח פנימי לטקסט בארכיוני פוסטים במובייל בלבד (רק לאחים אחרי התמונה) */
@media screen and (max-width: 768px) {
  .archive .wp-block-post .wp-block-post-featured-image ~ * {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }
}

/* רווח נוח בין התמונה לכותרת בארכיונים */
.archive .wp-block-post .wp-block-post-featured-image + * {
  margin-top: 0.5rem !important;
}

/* מטא של פוסטים בארכיונים: מחבר — תאריך בשורה אחת */
.archive .archive-post-author,
.archive .archive-post-meta-sep,
.archive .wp-block-post-date {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
}

.archive .archive-post-author__link {
  color: var(--primary-color);
  text-decoration: none;
  border-bottom: 1px solid rgba(0,0,0,0.1);
}

.archive .archive-post-author__link:hover {
  color: var(--secondary-color);
  border-bottom-color: var(--secondary-color);
}

/* התאמת מפריד למחבר/תאריך ל־| */
.archive .archive-post-meta-sep {
  font-weight: 400;
  color: var(--gray-medium);
}



/* === search-results === */
/**
 * === עיצוב עמוד תוצאות חיפוש ===
 * עיצוב מינימליסטי ומודרני לעמוד תוצאות חיפוש
 * על בסיס העיצוב החדש של עמודי הקטגוריות
 * 
 * שים לב: משתמש בשמות ייחודיים כדי למנוע התנגשות עם החיפוש בכותרת
 */

/* עיצוב כותרת תוצאות החיפוש - מתאים לעמוד 404 */
.search-page-title {
  color: var(--primary-color);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1.5rem; 
  font-weight: 700;
  text-align: right;
  line-height: 1.2;
  font-family: var(--font-family-accent) !important;
  letter-spacing: -0.02em;
}

/* עיצוב טופס החיפוש בעמוד תוצאות */
.search-page-form {
  margin: 0 auto 2.5rem auto;
  max-width: 700px;
}

.search-page-form .wp-block-search__inside-wrapper {
  display: flex;
  flex-direction: row-reverse;
  border: 1px solid var(--gray-mild);
  transition: border-color 0.2s ease;
  border-radius: 0;
}

.search-page-form .wp-block-search__inside-wrapper:focus-within {
  border-color: var(--secondary-color-daat);
  outline: none;
}

.search-page-form .wp-block-search__input {
  flex-grow: 1;
  border: none;
  border-radius: 0;
  padding: 14px 16px;
  font-size: 1.05rem;
  color: var(--text-color);
  background-color: var(--white);
  font-family: var(--font-family-accent) !important;
  direction: rtl;
  text-align: right;
  min-height: 52px;
}

.search-page-form .wp-block-search__input:focus {
  outline: none;
}

.search-page-form .wp-block-search__button {
  background-color: var(--primary-color-daat);
  color: var(--white);
  border: none;
  border-radius: 0;
  padding: 14px 24px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-family: var(--font-family-accent) !important;
  font-size: 0.95rem;
  min-width: 120px;
}

.search-page-form .wp-block-search__button:hover {
  background-color: var(--secondary-color-daat);
}

/* הודעת אין תוצאות */
.search-results-no-results {
  text-align: center;
  padding: 2rem 0;
  margin: 0 auto;
  max-width: 700px;
}

.search-results-no-results p {
  font-size: 1.1rem;
  color: var(--gray-dark);
  margin-bottom: 0;
  font-family: var(--font-family-accent) !important;
}

.search-results-no-results p:first-child {
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0;
}

/* קונטיינר תוצאות החיפוש */
.search-results-posts-container {
  width: 100%;
  max-width: 100%;
}

/* גריד התוצאות – זהה לארכיונים: עמודות דינמיות לפי --archive-columns */
body.search .wp-block-post-template.wp-block-post-template,
body.search .search-results-posts-grid {
  display: grid;
  grid-template-columns: repeat(var(--archive-columns, 3), minmax(0, 1fr));
  gap: 2.5rem;
}

/* כפיית יחס 3:2 וביטול עיגול פינות לתמונות */
body.search .wp-block-post-featured-image { 
  aspect-ratio: 3 / 2; 
  overflow: hidden; 
  border-radius: 0 !important; 
}

body.search .wp-block-post-featured-image a { 
  display: block; 
  width: 100%; 
  height: 100%; 
  border-radius: 0 !important; 
}

body.search .wp-block-post-featured-image img { 
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  object-position: center; 
  border-radius: 0 !important; 
  display: block; 
}

/* מחבר — תאריך בשורה אחת */
body.search .archive-post-author,
body.search .archive-post-meta-sep,
body.search .wp-block-post-date {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
}

body.search .archive-post-author__link { 
  color: var(--primary-color); 
  text-decoration: none; 
  border-bottom: 1px solid rgba(0,0,0,0.1); 
}

body.search .archive-post-author__link:hover { 
  color: var(--secondary-color-daat); 
  border-bottom-color: var(--secondary-color-daat); 
}

/* כרטיסיות התוצאות */
body.search .category-post-card {
  background: var(--white);
  border: 1px solid rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

body.search .category-post-card:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

/* תוכן הכרטיסייה */
body.search .category-post-content {
  padding: 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  flex-grow: 1;
}

/* כותרת הפוסט */
body.search .category-post-title {
  margin: 0;
  line-height: 1.4;
}

body.search .category-post-title a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 700;
  font-size: 1.1rem;
  transition: color 0.2s ease;
}

body.search .category-post-title a:hover {
  color: var(--secondary-color-daat);
}

/* תקציר הפוסט */
body.search .category-post-subtitle {
  color: var(--gray-dark);
  font-size: 0.95rem;
  line-height: 1.5;
  margin: 0;
}

/* מטא-דאטה של הפוסט */
body.search .category-post-meta {
  margin-top: auto;
  padding-top: 0.8rem;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

body.search .category-post-date {
  font-size: 0.85rem;
  color: var(--gray-medium);
}

/* כפתור קרא עוד */
body.search .category-post-read-more {
  display: inline-block;
  color: var(--secondary-color-daat);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: color 0.2s ease;
  margin-top: 0.5rem;
}

body.search .category-post-read-more:hover {
  color: var(--primary-color-daat);
  text-decoration: underline;
}

/* פגינציה */
body.search .category-pagination {
  margin-top: 3rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

body.search .category-pagination a {
  color: var(--secondary-color-daat);
  text-decoration: none;
  transition: color 0.2s ease;
}

body.search .category-pagination a:hover {
  color: var(--primary-color-daat);
}

/* טקסט הנחיה בעמוד תוצאות */
body.search .search-results-hint {
  font-size: 0.9rem;
  color: var(--gray-medium);
  margin: 1rem 0 2rem;
  text-align: center;
  font-family: var(--font-family-accent) !important;
}

/* התאמה למסכים קטנים */
@media screen and (max-width: 768px) {
  body.search .wp-block-post-template.wp-block-post-template {
    grid-template-columns: repeat(var(--archive-columns, 2), 1fr);
    gap: 1.5rem;
  }
  
  .search-page-title {
    font-size: 1.7rem;
    margin-bottom: 1.2rem;
  }
  
  .search-page-form {
    max-width: 100%;
  }
  
  .search-page-form .wp-block-search__input {
    padding: 12px 14px;
    font-size: 1rem;
    min-height: 48px;
  }
  
  .search-page-form .wp-block-search__button {
    padding: 12px 18px;
    font-size: 0.9rem;
    min-width: 100px;
  }
  
  .search-results-no-results {
    padding: 2rem 1.5rem;
    margin: 2rem auto;
  }
  
  .search-results-no-results p {
    font-size: 1rem;
  }
  
  .search-results-no-results p:first-child {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 480px) {
  .search-page-title {
    font-size: 1.5rem;
    text-align: right;
  }
  
  .search-page-form .wp-block-search__input {
    padding: 10px 12px;
  }
  
  .search-page-form .wp-block-search__button {
    padding: 10px 16px;
    min-width: 80px;
  }
  
  .search-results-no-results p:first-child {
    font-size: 1.1rem;
  }
  
  body.search .wp-block-post-template.wp-block-post-template {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* ========================================
   עיצוב שדה חיפוש בעמוד 404
   ======================================== */

/* עיצוב טופס החיפוש בעמוד 404 */
.page-404-search-form {
  margin: 2rem auto;
  max-width: 700px;
}

.page-404-search-form .wp-block-search__inside-wrapper {
  display: flex;
  flex-direction: row-reverse;
  border: 1px solid var(--gray-mild);
  transition: border-color 0.2s ease;
  border-radius: 0;
}

.page-404-search-form .wp-block-search__inside-wrapper:focus-within {
  border-color: var(--secondary-color-daat);
  outline: none;
}

.page-404-search-form .wp-block-search__input {
  flex-grow: 1;
  border: none;
  border-radius: 0;
  padding: 14px 16px;
  font-size: 1.05rem;
  color: var(--text-color);
  background-color: var(--white);
  font-family: var(--font-family-accent) !important;
  direction: rtl;
  text-align: right;
  min-height: 52px;
}

.page-404-search-form .wp-block-search__input:focus {
  outline: none;
}

.page-404-search-form .wp-block-search__button {
  background-color: var(--primary-color-daat);
  color: var(--white);
  border: none;
  border-radius: 0;
  padding: 14px 24px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-family: var(--font-family-accent) !important;
  font-size: 0.95rem;
  min-width: 120px;
}

.page-404-search-form .wp-block-search__button:hover {
  background-color: var(--secondary-color-daat);
}

/* התאמות רספונסיביות לעמוד 404 */
@media screen and (max-width: 768px) {
  .page-404-search-form {
    max-width: 100%;
  }
  
  .page-404-search-form .wp-block-search__input {
    padding: 12px 14px;
    font-size: 1rem;
    min-height: 48px;
  }
  
  .page-404-search-form .wp-block-search__button {
    padding: 12px 18px;
    font-size: 0.9rem;
    min-width: 100px;
  }
}

@media screen and (max-width: 480px) {
  .page-404-search-form .wp-block-search__input {
    padding: 10px 12px;
  }
  
  .page-404-search-form .wp-block-search__button {
    padding: 10px 16px;
    min-width: 80px;
  }
}



/* === visual-navigation-block === */
/* Visual Navigation Block - Main Styles */

.visual-navigation-wrapper {
  width: 100%;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
  display: flex;
  justify-content: center;
}

.visual-navigation-container {
  max-width: 1200px;
  margin: 0 auto !important;
  padding: 0 1rem;
  width: 100%;
}

.visual-navigation-grid {
  display: grid;
  grid-template-columns: repeat(var(--columns, 3), 1fr);
  gap: 1.5rem;
  padding: 0;
  margin: 2rem auto !important;
  list-style: none;
  max-width: 1200px;
  width: 100%;
}

.visual-navigation {
  width: 100%;
  margin: 0 auto !important;
  display: flex;
  justify-content: center;
}

.visual-navigation-grid.columns-1 { --columns: 1; }
.visual-navigation-grid.columns-2 { --columns: 2; }
.visual-navigation-grid.columns-3 { --columns: 3; }
.visual-navigation-grid.columns-4 { --columns: 4; }
.visual-navigation-grid.columns-5 { --columns: 5; }
.visual-navigation-grid.columns-6 { --columns: 6; }

.visual-navigation-item {
  position: relative;
  margin: 0;
  padding: 0;
}

.visual-navigation-link {
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  color: #333;
  background-color: var(--secondary-color-daat); /* צבע רקע רגיל */
  border: 2px solid var(--primary-color) !important;
  border-style: solid !important; /* מבטיח שכל הצדדים יהיו עם קו רציף */
  outline: none !important; /* מבטל קווי מתאר שעלולים להתווסף */
  border-radius: 4px;
  padding: 1.5rem;
  height: 160px; /* גובה קבוע */
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
  outline: none;
}

.visual-navigation-link:hover,
.visual-navigation-link:focus,
.visual-navigation-link.hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-color);
  background-color: var(--secondary-color-bright); /* צבע רקע בריחוף */
}

/* שינוי צבע הכותרת בעת ריחוף */
.visual-navigation-link:hover .visual-navigation-title,
.visual-navigation-link:focus .visual-navigation-title,
.visual-navigation-link.hover .visual-navigation-title {
    color: var(--primary-alt);
}

.visual-navigation-link:focus {
  outline: 2px solid #007cba;
  outline-offset: 2px;
}

.visual-navigation-content {
  display: flex;
  flex-direction: column;
  justify-content: center; /* יישור אנכי */
  align-items: center; /* יישור אופקי */
  text-align: center; /* יישור אופקי של טקסט */
  height: 100%;
  width: 100%;
  padding: 1rem;
}

.visual-navigation-title {
  font-size: 1.4rem; /* גודל פונט מוגדל */
  margin: 0 0 0.8rem;
  font-weight: 700; /* משקל פונט מודגש יותר */
  color: var(--primary-color); /* צבע טקסט */
}

.visual-navigation-description {
  font-size: 0.9rem;
  margin: 0;
  color: #555; /* צבע עודכן */
  line-height: 1.5;
}

/* Editor Styles */
.visual-navigation-block-editor {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 1rem;
  background: #f8f8f8;
}

.visual-navigation-link-editor {
  margin-bottom: 1.5rem;
}

.visual-navigation-link-item {
  border: 1px solid #ddd;
  border-radius: 4px;
  padding: 1rem;
  margin-bottom: 1rem;
  background: #fff;
}

.visual-navigation-link-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
  justify-content: center;
}

.visual-navigation-preview {
  margin-top: 1.5rem;
}

/* Responsive Styles */
@media (max-width: 900px) {
  .visual-navigation-grid {
    --columns: 2;
    grid-template-columns: repeat(2, 1fr) !important;
  }
  
  /* לוודא שהערך הזה חל על כל האפשרויות של מספר עמודות */
  .visual-navigation-grid.columns-1,
  .visual-navigation-grid.columns-2,
  .visual-navigation-grid.columns-3,
  .visual-navigation-grid.columns-4,
  .visual-navigation-grid.columns-5,
  .visual-navigation-grid.columns-6 {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 600px) {
  .visual-navigation-grid {
    --columns: 1;
    grid-template-columns: 1fr !important;
  }
  
  /* לוודא שהערך הזה חל על כל האפשרויות של מספר עמודות */
  .visual-navigation-grid.columns-1,
  .visual-navigation-grid.columns-2,
  .visual-navigation-grid.columns-3,
  .visual-navigation-grid.columns-4,
  .visual-navigation-grid.columns-5,
  .visual-navigation-grid.columns-6 {
    grid-template-columns: 1fr !important;
  }
  
  .visual-navigation-container {
    padding: 0 0.75rem;
  }
  
  .visual-navigation-link {
    height: 150px; /* גובה מעט קטן יותר במסכים קטנים */
  }
  
  .visual-navigation-title {
    font-size: 1.2rem; /* גודל פונט קטן יותר במסכים קטנים */
  }
}

/* High Contrast Mode Support (for accessibility) */
@media (forced-colors: active) {
  .visual-navigation-link {
    border: 2px solid ButtonBorder;
  }
  
  .visual-navigation-link:hover,
  .visual-navigation-link:focus {
    border: 2px solid Highlight;
  }
}



/* === blocks === */
/**
 * === עיצוב בלוקים של וורדפרס ===
 * עיצוב אחיד לבלוקי התוכן המובנים של וורדפרס
 * בסגנון נקי ומודרני המתאים למגזין יוקרתי
 */


/**
 * === כותרות ===
 * עיצוב כותרות ראשיות וכותרות משנה בסגנון מינימליסטי
 */
.wp-block-heading h1,
h1.wp-block-heading {
  font-family: var(--font-family-accent) !important;
  font-size: 50px;
  color: var(--primary-color);
  margin: 1.8rem 0 1rem;
  font-weight: 800;
  line-height: 1.0;
  min-height: 140px;
  position: relative;
  padding-top: 43px !important;
}

/* כותרת פוסט של וורדפרס */
.wp-block-post-title,
h1.entry-title,
h2.entry-title {
  padding-top: 43px !important;
}

.wp-block-heading h2,
h2.wp-block-heading {
  font-family: var(--font-family-accent) !important;
  font-size: 1.5rem;
  color: var(--primary-color);
  margin-top: 1.6rem !important;
  margin-bottom: 0 !important;
  font-weight: 500;
  float: none !important;
}

.wp-block-heading h3,
h3.wp-block-heading {
  font-family: var(--font-family-accent) !important;
  font-size: 1.4rem;
  color: var(--primary-color);
  margin: 1.2rem 0 0.7rem;
  font-weight: 500;
  line-height: 1.3;
}

.wp-block-heading h4,
h4.wp-block-heading {
  font-size: 1.2rem;
  color: var(--primary-color);
  margin: 1.2rem 0 0.7rem;
  font-weight: 600;
  line-height: 1.3;
}

.wp-block-heading h5,
h5.wp-block-heading {
  font-size: 1.1rem;
  color: var(--primary-color);
  margin: 1rem 0 0.6rem;
  font-weight: 600;
  line-height: 1.4;
}

.wp-block-heading h6,
h6.wp-block-heading {
  font-size: 1rem;
  color: var(--primary-color);
  margin: 1rem 0 0.6rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.4;
}

/**
  * === פסקאות ===
  * עיצוב פסקה רגילה ופסקה מודגשת
  */
.wp-block-paragraph p,
p.wp-block-paragraph {
  font-family: var(--font-family-accent) !important;
  margin-bottom: 1.2rem;
  line-height: 1.7;
  font-size: 1.2rem;
  font-weight: 200;
}

/* עיצוב ברירת מחדל לכל הקישורים בתוכן האתר */

/* קישורים בפסקאות טקסט */
p a,
.entry-content a,
.wp-block-paragraph a,
article a,
.post-content a {
  color: var(--secondary-color);
  text-decoration: none;
  border-bottom: 1px solid rgba(0, 102, 179, 0.3);
  position: relative;
  transition: color 0.2s ease, border-bottom-color 0.2s ease;
  font-weight: 400;
}

/* מצב hover */
p a:hover,
.entry-content a:hover,
.wp-block-paragraph a:hover,
article a:hover,
.post-content a:hover {
  color: var(--link-hover);
  border-bottom-color: var(--link-hover);
}

/* מצב focus - חשוב לנגישות מקלדת */
p a:focus,
.entry-content a:focus,
.wp-block-paragraph a:focus,
article a:focus,
.post-content a:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

/* מצב active */
p a:active,
.entry-content a:active,
.wp-block-paragraph a:active,
article a:active,
.post-content a:active {
  color: var(--link-hover);
  border-bottom-style: solid;
}

/* חריגים - מניעת החלת הסגנון על קישורים מיוחדים */
.wp-block-navigation a,
.wp-block-social-links a,
.site-header a,
.site-footer a,
.widget a,
.wp-block-button a,
.menu a,
.nav a,
.pagination a,
.wp-block-latest-posts a,
.entry-title a,
h1 a,
h2 a,
h3 a,
h4 a,
h5 a,
h6 a,
.wp-block-cover a,
.button,
.btn,
button a {
  border-bottom: none;
}

/**
  * === מידע על הכתב - עיצוב מותאם ===
  * עיצוב הבלוק המובנה של פרטי הכתב בוורדפרס
  */

/* מיכל ראשי */
.wp-block-post-author,
.custom-author-info {
  display: flex;
  align-items: center;
  margin-top: 2rem;
  margin-bottom: 2.5rem;
  padding-top: 1rem;
  padding-bottom: 1rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-size: 0.95rem;
  color: var(--gray-medium);
  line-height: 1.4;
}

/* תמונת הכתב */
.wp-block-post-author__avatar,
.custom-author-info .author-avatar {
  width: auto;
  height: auto;
  min-width: auto;
  margin-left: 1.2rem;
  margin-right: 0;
  border-radius: 0;
  overflow: visible;
}

.wp-block-post-author__avatar img,
.custom-author-info .author-avatar img {
  width: auto;
  height: auto;
  object-fit: none;
  display: inline;
  max-width: none;
  border-radius: 0;
}

span.author-avatar {
  display: none;
}


/* מיכל תוכן (שם, תפקיד) */
.wp-block-post-author__content,
.custom-author-info .author-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
}

/* שם הכתב */
.wp-block-post-author__name,
.custom-author-info .author-name {
  font-family: var(--font-family-accent) !important;
  font-weight: 200;
  color: var(--primary-color);
  font-size: 1.05rem;
  margin: 0 0 0.2rem 0;
  padding: 0;
  line-height: 1.3;
}

/* תפקיד / ביוגרפיה */
.wp-block-post-author__bio,
.custom-author-info .author-role {
  font-size: 0.85rem;
  color: var(--gray-medium);
  margin: 0;
  padding: 0;
  line-height: 1.3;
}

/* תאריך */
.wp-block-post-author .wp-block-post-date,
.wp-block-post-author__meta,
.custom-author-info .author-date {
  font-family: var(--font-family-accent) !important;
  font-weight: 200;
  color: var(--primary-color);
  font-size: 1.05rem;
  margin: 0 0 0.2rem 0;
  padding: 0;
  line-height: 1.3;
  border-right: 1px solid rgba(0, 0, 0, 0.1);
  padding-right: 1rem;
  margin-right: 1rem;
  margin-left: auto;
  height: fit-content;
}

/**
  * === קו הפרדה ===
  */
.wp-block-separator {
  border: 0;
  height: 0px;
  background-color: rgba(0, 0, 0, 0.1);
  margin: 0rem auto;
  width: 100%;
  max-width: 100%;
}

.wp-block-separator.is-style-wide {
  max-width: 100%;
}

.wp-block-separator.is-style-dots {
  background: none;
  border: none;
  text-align: center;
  max-width: none;
  line-height: 1;
  height: auto;
}

.wp-block-separator.is-style-dots::before {
  content: "•••";
  color: var(--gray-medium);
  font-size: 20px;
  letter-spacing: 1em;
  padding-left: 1em;
}

/**
  * === בלוקי תמונה ===
  * עיצוב עבור בלוקי תמונה בסיסיים וברוחב מלא
  */

/* בלוק תמונה רגיל עם הסבר */
.wp-block-image {
  margin: 2.5rem auto;
  max-width: 100%;
  text-align: center;
}

.wp-block-image img {
  display: block;
  max-width: 100%;
  height: auto;
  margin-left: auto;
  margin-right: auto;
}

/* הגבלת רוחב תמונות גדולות לרוחב העמודה (אלא אם כן הן alignfull או alignwide) */
.entry-content .wp-block-image:not(.alignfull):not(.alignwide) img {
  max-width: min(100%, 750px);
  width: auto;
}

/* מרכוז התמונה כאשר היא קטנה מרוחב העמודה */
.wp-block-image figure {
  display: table;
  margin: 0 auto;
}

/* מרכוז ספציפי לתמונות בתוך תוכן הפוסט */
.entry-content .wp-block-image {
  display: block;
  text-align: center;
}

.entry-content .wp-block-image:not(.alignfull):not(.alignwide) img {
  margin-left: auto !important;
  margin-right: auto !important;
  max-width: min(100%, 750px) !important;
  width: auto !important;
  height: auto !important;
}

/* ביטול יישור ימין של figure - והגבלת רוחב לגודל התמונה */
.entry-content figure.wp-block-image {
  margin-left: auto;
  margin-right: auto;
  display: table;
  width: auto !important;
  max-width: min(100%, 750px) !important;
}

/* וידוא מרכוז גם עבור תמונות עם classes של יישור */
.entry-content .wp-block-image:not(.alignleft):not(.alignright):not(.alignfull):not(.alignwide) {
  display: table !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
  clear: both !important;
}

/* ביטול float במידת הצורך */
.entry-content .wp-block-image:not(.alignleft):not(.alignright) img {
  float: none !important;
}

/* יישור הכיתוב לימין */
.wp-block-image:not(.alignleft):not(.alignright) figcaption {
  text-align: right;
  padding-right: 20px;
  padding-left: 0;
  margin: 0;
  margin-top: 0.5rem;
}

.wp-block-image figcaption {
  font-size: 1.25rem;
  color: var(--gray-medium);
  text-align: right;
  padding-right: 20px;
  padding-left: 0;
  font-weight: 400;
  font-family: var(--font-family-accent) !important;
  margin-top: 0.5rem;
  display: block;
  width: 100%;
  box-sizing: border-box;
}

/* בלוק תמונה עם כותרת והסבר */
.wp-block-image.has-caption figcaption strong,
.wp-block-image.has-caption figcaption b {
  display: block;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 0.3rem;
  font-size: 0.95rem;
  text-align: right;
}



/* בלוק תמונה ברוחב מלא */
.wp-block-image.alignfull {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  margin-bottom: 2.5rem;
  margin-top: 2.5rem;
}

.wp-block-image.alignfull img {
  width: 100%;
  border-radius: 0;
}

.wp-block-image.alignfull figcaption {
  max-width: var(--wp--style--global--content-size);
  margin-left: auto;
  margin-right: auto;
  padding: 0 1.5rem;
  text-align: right;
}

/**
  * === תיקון כיתובי גלריה - הכיתוב מתחת לתמונה ===
  */

/* הסרת ה-before שיוצר את הטשטוש בגלריה */
.wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption):before,
.wp-block-gallery.has-nested-images figure.wp-block-image::before,
.entry-content .wp-block-gallery.has-nested-images figure.wp-block-image:has(figcaption):before,
.entry-content .wp-block-gallery.has-nested-images figure.wp-block-image::before {
    content: none !important;
    display: none !important;
    background: none !important;
    backdrop-filter: none !important;
}

/* דריסת כל הסגנונות של figcaption בגלריה - הכיתוב מתחת לתמונה במקום עליה */
.wp-block-gallery.has-nested-images figure.wp-block-image figcaption,
.wp-block-gallery.has-nested-images figcaption,
.entry-content .wp-block-gallery.has-nested-images figure.wp-block-image figcaption,
.entry-content .wp-block-gallery.has-nested-images figcaption,
.wp-block-gallery .wp-element-caption,
.entry-content .wp-block-gallery .wp-element-caption {
    /* דריסת position absolute של וורדפרס */
    position: static !important;
    bottom: auto !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    z-index: auto !important;
    max-height: none !important;
    
    /* הסרת רקע מטושטש */
    background: none !important;
    background-color: transparent !important;
    background-image: none !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    
    /* עיצוב חדש - זהה לתמונה בודדת */
    display: block !important;
    margin-top: 0.5rem !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    padding-right: 20px !important;
    padding-left: 0 !important;
    font-size: 1.25rem !important;
    color: var(--gray-medium) !important;
    text-align: right !important;
    font-weight: 400 !important;
    font-family: var(--font-family-accent) !important;
    width: 100% !important;
    box-sizing: border-box !important;
    
    /* הסרת טשטוש וצללים */
    text-shadow: none !important;
    box-shadow: none !important;
    filter: none !important;
    
    /* הסרת overflow */
    overflow: visible !important;
    white-space: normal !important;
}

/**
  * === בלוק חיפוש מונגש ===
  */

/* מיכל בלוק החיפוש */
.wp-block-search {
  margin: 2.5rem auto;
  max-width: 600px;
  width: 100%;
  text-align: center;
}

/* תווית השדה - חשובה לנגישות */
.wp-block-search__label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: var(--primary-color);
  text-align: right;
}

/* מיכל פנימי של החיפוש */
.wp-block-search__inside-wrapper {
  display: flex;
  flex-direction: row-reverse;
  /* כפתור חיפוש בצד ימין */
  border-radius: 0;
  overflow: hidden;
  border: 1px solid var(--gray-mild);
  transition: border-color 0.2s ease;
  text-align: right;
}

/* מצב מיקוד למיכל הפנימי */
.wp-block-search__inside-wrapper:focus-within {
  border-color: var(--secondary-color);
  outline: none;
}

/* שדה הקלט */
.wp-block-search__input {
  flex-grow: 1;
  padding: 12px 16px;
  border: none;
  font-size: 1rem;
  color: var(--text-color);
  background-color: var(--white);
  border-radius: 0;
  font-family: var(--font-family-accent) !important;
  direction: rtl;
  text-align: right;
  min-height: 48px;
}

/* מצב מיקוד לשדה הקלט */
.wp-block-search__input:focus {
  outline: none;
}

/* placeholder בשדה החיפוש */
.wp-block-search__input::placeholder {
  color: var(--gray-medium);
  opacity: 0.8;
}

/* כפתור החיפוש */
.wp-block-search__button {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  min-width: 110px;
  min-height: 48px;
  border: none;
  background-color: var(--primary-color);
  color: var(--white);
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s ease;
  font-family: var(--font-family-accent) !important;
  font-size: 0.95rem;
  border-radius: 0;
  margin: 0;
  text-align: center;
}

/* מצב מיקוד לכפתור */
.wp-block-search__button:focus {
  outline: none;
  background-color: var(--primary-alt);
}

/* מצב hover לכפתור */
.wp-block-search__button:hover {
  background-color: var(--primary-alt);
}

/* עיצוב כפתור עם צלמית */
.wp-block-search__button.has-icon {
  padding: 0 16px;
}

.wp-block-search__button svg {
  margin-right: 8px;
  margin-left: 0;
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* שנה את הגדרת ברירת המחדל של הפסקאות */
p {
  margin-bottom: 1.2rem;
  font-size: 1.2rem;
  /* הגדלה מ-1rem ל-1.2rem */
}

/* הוסף גם את הסלקטורים האלה */
.entry-content p,
.post-content p,
.wp-block-post-content p,
article p,
.site-content p,
.content-area p {
  font-size: 1.2rem;
  line-height: 1.4;
  margin-block-start: 0.1rem;
}

/* ======= תמיכה ברספונסיביות ======= */

@media screen and (max-width: 768px) {

  /* כותרות */
  .wp-block-heading h1,
  h1.wp-block-heading {
    font-size: 1.8rem;
  }

  .wp-block-heading h2,
  h2.wp-block-heading {
    font-size: 1.5rem;
  }

  .wp-block-heading h3,
  h3.wp-block-heading {
    font-size: 1.25rem;
  }

  /* מידע על הכתב במובייל */
  .wp-block-post-author,
  .custom-author-info {
    font-size: 0.85rem;
    margin-bottom: 1.5rem;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
  }

  .wp-block-post-author__avatar,
  .custom-author-info .author-avatar {
    width: 46px;
    height: 46px;
    min-width: 46px;
    margin-left: 0.8rem;
  }

  .wp-block-post-author__name,
  .custom-author-info .author-name {
    font-size: 0.95rem;
  }

  .wp-block-post-author__bio,
  .custom-author-info .author-role {
    font-size: 0.8rem;
  }

  .wp-block-post-author .wp-block-post-date,
  .wp-block-post-author__meta,
  .custom-author-info .author-date {
    padding-right: 0.8rem;
    margin-right: 0.8rem;
    font-size: 0.8rem;
  }

  /* במסכים מאוד קטנים */
  @media screen and (max-width: 480px) {

    .wp-block-post-author,
    .custom-author-info {
      flex-wrap: wrap;
    }

    .wp-block-post-author .wp-block-post-date,
    .wp-block-post-author__meta,
    .custom-author-info .author-date {
      border-right: none;
      padding-right: 0;
      margin-right: 0;
      margin-left: 0;
      margin-top: 0.5rem;
      width: 100%;
      text-align: right;
      padding-right: calc(46px + 0.8rem);
    }
  }

  /* התאמת בלוקי תמונה למובייל */
  .wp-block-image {
    margin: 1.8rem auto;
  }

  .wp-block-image figcaption {
    font-size: 1.25rem;
  }

  .wp-block-image.has-caption figcaption strong,
  .wp-block-image.has-caption figcaption b {
    font-size: 1.25rem;
  }

  .wp-block-image.alignfull figcaption {
    padding: 0 0.8rem;
  }
}

/* התאמה למובייל עבור בלוק חיפוש */
/* התאמה למסכים בינוניים */
@media screen and (max-width: 768px) {
  .wp-block-search {
    margin: 1.5rem auto;
    max-width: 90%;
  }

  .wp-block-search__input {
    padding: 10px 12px;
    font-size: 0.95rem;
  }

  .wp-block-search__button {
    min-width: 90px;
    padding: 0 12px;
  }

  .wp-block-search__label {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
  }
}

/* התאמה למסכים קטנים */
@media screen and (max-width: 480px) {
  .wp-block-search__inside-wrapper {
    flex-direction: row-reverse;
    /* שומר על הסדר הלוגי */
  }

  .wp-block-search__button {
    min-width: 80px;
    padding: 0 10px;
    font-size: 0.9rem;
  }

  .wp-block-search__input {
    padding: 8px 10px;
  }
}


/* === quotes === */
/**
 * === בלוקי ציטוט ותיבות מידע והדגשה ===
 * עיצוב מודרני ומינימליסטי בהשראת מגזינים יוקרתיים
 */

/* ציטוט */
.wp-block-quote {
  text-align: right;
  border: none;
  border-right: 4px solid var(--secondary-color);
  padding: 1.5rem 2rem 1.5rem 0;
  margin: 3rem 0;
  font-style: normal;
  background-color: transparent;
  box-shadow: none;
  position: relative;
}

.wp-block-quote p {
  font-family: var(--font-family-accent) !important;
  font-size: 1.4rem;
  line-height: 1.7;
  margin-bottom: 1rem;
  color: var(--primary-color);
  letter-spacing: -0.01em;
  font-weight: 600;
  font-style: normal;
  position: relative;
  padding-top: 3rem;
}

.wp-block-quote p::before {
  content: '"';
  font-size: 4.5rem;
  color: var(--secondary-color);
  position: absolute;
  top: -0.5rem;
  line-height: 1;
}

.wp-block-quote cite {
  display: block;
  font-size: 0.9rem;
  font-style: normal;
  font-weight: 500;
  color: var(--gray-medium);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}



/* יתרונות וחסרונות */
.wp-block-columns.is-style-pros-cons {
  margin: 3rem 0;
  gap: 30px;
}

.wp-block-columns.is-style-pros-cons .wp-block-column {
  background-color: var(--gray-soft);
  padding: 2rem;
  border: none;
  border-top: 2px solid;
  display: flex;
  flex-direction: column;
  margin: 0 !important;
}

/* הגדרה ספציפית של צבעי הגבולות */
.wp-block-columns.is-style-pros-cons .wp-block-column:first-child {
  border-top-color: #107A45; /* ירוק מעודן */
}

.wp-block-columns.is-style-pros-cons .wp-block-column:last-child {
  border-top-color: #B22222; /* אדום מעודן */
}

/* כותרות בתוך הבלוקים */
.wp-block-columns.is-style-pros-cons .wp-block-column:first-child h3,
.wp-block-columns.is-style-pros-cons .wp-block-column:first-child h4 {
  color: #107A45;
  margin-top: 0;
  font-family: var(--font-family-accent) !important;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(16, 122, 69, 0.2);
}

.wp-block-columns.is-style-pros-cons .wp-block-column:last-child h3,
.wp-block-columns.is-style-pros-cons .wp-block-column:last-child h4 {
  color: #B22222;
  margin-top: 0;
  font-family: var(--font-family-accent) !important;
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(178, 34, 34, 0.2);
}

/* השוואת נתונים */
.wp-block-columns.is-style-comparison {
  margin: 3rem 0;
  background-color: var(--gray-soft);
  padding: 2.5rem;
}

.wp-block-columns.is-style-comparison .wp-block-column {
  background-color: var(--white);
  padding: 2rem;
  border: 1px solid var(--gray-mild);
  border-top: 2px solid var(--secondary-color);
  position: relative;
  padding-bottom: 90px; /* מקום לכפתור בתחתית */
}

.wp-block-columns.is-style-comparison .wp-block-column:nth-child(even) {
  border-top-color: var(--primary-color);
}

.wp-block-columns.is-style-comparison h3,
.wp-block-columns.is-style-comparison h4 {
  margin-top: 0;
  text-align: center;
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  font-family: var(--font-family-accent) !important;
  font-weight: 600;
  font-size: 1.3rem;
}

.wp-block-columns.is-style-comparison .wp-block-column .wp-block-button {
  position: absolute;
  bottom: 25px;
  left: 0;
  right: 0;
  text-align: center;
}

/* ======= תמיכה ברספונסיביות ======= */

@media screen and (max-width: 768px) {
  /* ציטוטים */
  .wp-block-quote {
    padding: 1.8rem 1.5rem;
  }
  
  .wp-block-quote p {
    font-size: 1.3rem;
  }
  
  
  /* תיבת יתרונות וחסרונות - במסך קטן */
  .wp-block-columns.is-style-pros-cons {
    gap: 20px;
  }
  
  .wp-block-columns.is-style-pros-cons .wp-block-column {
    padding: 1.5rem;
  }
  
  /* השוואת נתונים */
  .wp-block-columns.is-style-comparison {
    padding: 1.5rem;
  }
  
  .wp-block-columns.is-style-comparison .wp-block-column {
    margin-bottom: 1.5rem;
    padding: 1.5rem;
    padding-bottom: 80px;
  }
  
  .wp-block-columns.is-style-comparison h3,
  .wp-block-columns.is-style-comparison h4 {
    font-size: 1.2rem;
    margin-bottom: 1.2rem;
    padding-bottom: 0.8rem;
  }
  
  .wp-block-columns.is-style-comparison .wp-block-column .wp-block-button {
    bottom: 20px;
  }
}

@media screen and (max-width: 480px) {
  .wp-block-quote p {
    font-size: 1.2rem;
  }
  
  .wp-block-columns.is-style-comparison .wp-block-column {
    padding: 1.2rem;
    padding-bottom: 75px;
  }
}



/* === lists === */
/**
 * === רשימות ===
 * עיצוב מודרני ונקי לרשימות בסגנון מגזין יוקרתי
 */

/* רשימה ממוספרת */
ol.wp-block-list {
  padding-right: 1.5rem;
  margin: 1.5rem 0 2rem;
  counter-reset: item;
  list-style-type: none;
  font-family: var(--font-family-accent) !important;
}

ol.wp-block-list li {
  margin-bottom: 1rem;
  padding-right: 0.5rem;
  position: relative;
  counter-increment: item;
  line-height: 1.7;
}

ol.wp-block-list li::before {
  content: counter(item) ".";
  color: var(--secondary-color);
  font-weight: 500;
  display: inline-block;
  width: 1.5em;
  margin-right: -1.5em;
  margin-left: 0.5em;
  text-align: left;
  font-family: 'Noto Sans Hebrew', 'Heebo', sans-serif;
}

/* רשימה עם נקודות */
ul.wp-block-list {
  padding-right: 1.2rem;
  margin: 1.5rem 0 2rem;
  list-style-type: none;
  font-family: var(--font-family-accent) !important;
}

ul.wp-block-list li {
  margin-bottom: 1rem;
  position: relative;
  padding-right: 0.5rem;
  line-height: 1.7;
}

ul.wp-block-list li::before {
  content: "•";
  color: var(--secondary-color);
  font-weight: normal;
  display: inline-block;
  width: 1em;
  margin-right: -1.5em;
  margin-left: 0.5em;
}

/* עיצוב כותרות בתחילת פריטי רשימה */
ul.wp-block-list li strong:first-child,
ol.wp-block-list li strong:first-child {
  color: var(--primary-color);
  font-weight: 600;
  display: inline-block;
  font-family: 'Noto Sans Hebrew', 'Heebo', sans-serif;
}

/* רשימת הגדרות - באמצעות רשימת תבליטים */
ul.wp-block-list.is-style-definition {
  list-style-type: none;
  padding-right: 0;
  margin: 2.5rem 0;
}

ul.wp-block-list.is-style-definition li {
  margin-bottom: 1.5rem;
  padding-right: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
  padding-bottom: 1.2rem;
}

ul.wp-block-list.is-style-definition li:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

ul.wp-block-list.is-style-definition li::before {
  display: none;
}

ul.wp-block-list.is-style-definition li strong:first-child {
  color: var(--primary-color);
  font-weight: 600;
  display: block;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  font-family: 'Noto Sans Hebrew', 'Heebo', sans-serif;
}

ul.wp-block-list.is-style-definition li p {
  margin-top: 0.3rem;
  margin-right: 0;
  line-height: 1.7;
}

/* רשימת סיכום - עם גבול עדין במקום רקע כהה */
ul.wp-block-list.is-style-summary,
ol.wp-block-list.is-style-summary {
  background-color: var(--gray-soft); /* רקע אפור בהיר מאוד */
  padding: 2rem;
  margin: 2.5rem 0;
  border-right: 2px solid var(--secondary-color);
  box-shadow: none;
}

ul.wp-block-list.is-style-summary li,
ol.wp-block-list.is-style-summary li {
  color: var(--primary-color);
}

ul.wp-block-list.is-style-summary li::before,
ol.wp-block-list.is-style-summary li::before {
  color: var(--secondary-color);
}

ul.wp-block-list.is-style-summary li strong:first-child,
ol.wp-block-list.is-style-summary li strong:first-child {
  color: var(--primary-color);
  font-weight: 600;
}

ul.wp-block-list.is-style-summary::before,
ol.wp-block-list.is-style-summary::before {
  content: "סיכום";
  display: block;
  font-family: 'Noto Sans Hebrew', 'Heebo', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* בלוק לקריאה נוספת - עיצוב מחדש */
.wp-block-list.is-style-further-reading {
  border: 1px solid var(--gray-mild);
  border-right: 2px solid var(--secondary-color);
  padding: 2rem;
  margin: 2.5rem 0;
  background-color: transparent;
  box-shadow: none;
  position: relative;
  font-family: 'Noto Sans Hebrew', 'Heebo', sans-serif;
}

.wp-block-list.is-style-further-reading::before {
  content: "לקריאה נוספת";
  display: block;
  font-family: 'Noto Sans Hebrew', 'Heebo', sans-serif;
  font-weight: 600;
  font-size: 1.1rem;
  color: var(--primary-color);
  margin-bottom: 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

/* התאמות לרשימה עצמה */
.wp-block-list.is-style-further-reading ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

/* סגנון פריטי הרשימה */
.wp-block-list.is-style-further-reading li {
  position: relative;
  padding-right: 1.5rem;
  margin-bottom: 1rem;
  line-height: 1.6;
}

.wp-block-list.is-style-further-reading li:last-child {
  margin-bottom: 0;
}

/* הוספת החץ לפני כל פריט */
.wp-block-list.is-style-further-reading li::before {
  content: "›";
  position: absolute;
  right: 0;
  top: 0;
  font-size: 1.3rem;
  color: var(--secondary-color);
  font-weight: 400;
  width: auto;
  margin: 0;
}

/* עיצוב הקישורים */
.wp-block-list.is-style-further-reading a {
  color: var(--secondary-color);
  text-decoration: none;
  display: inline-block;
  transition: color 0.2s ease;
  font-weight: 400;
  line-height: 1.6;
  border-bottom: 1px solid rgba(0, 102, 179, 0.3);
}

.wp-block-list.is-style-further-reading a:hover {
  color: var(--link-hover);
  border-bottom-color: var(--link-hover);
}

/* הוספת סגנון למצב focus עבור נגישות מקלדת */
.wp-block-list.is-style-further-reading a:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

/* גרסה חלופית ללא רקע/גבולות */
.wp-block-list.is-style-further-reading.no-background {
  border: none;
  border-right: 2px solid var(--secondary-color);
  padding: 0 1.5rem;
  background-color: transparent;
}

.wp-block-list.is-style-further-reading.no-background::before {
  padding-bottom: 0.5rem;
}

/* התאמה למכשירים ניידים */
@media (max-width: 768px) {
  /* התאמת רשימות ממוספרות לנייד */
  ol.wp-block-list {
    padding-right: 1rem;
    margin: 1.2rem 0 1.5rem;
  }
  
  ol.wp-block-list li {
    margin-bottom: 0.8rem;
  }
  
  /* התאמת רשימות עם נקודות לנייד */
  ul.wp-block-list {
    padding-right: 1rem;
    margin: 1.2rem 0 1.5rem;
  }
  
  ul.wp-block-list li {
    margin-bottom: 0.8rem;
  }
  
  /* התאמת רשימת הגדרות לנייד */
  ul.wp-block-list.is-style-definition li {
    margin-bottom: 1.2rem;
    padding-bottom: 1rem;
  }
  
  ul.wp-block-list.is-style-definition li strong:first-child {
    font-size: 1.05rem;
  }
  
  /* התאמת רשימת סיכום לנייד */
  ul.wp-block-list.is-style-summary,
  ol.wp-block-list.is-style-summary {
    padding: 1.5rem;
  }
  
  ul.wp-block-list.is-style-summary::before,
  ol.wp-block-list.is-style-summary::before {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  /* התאמת בלוק קריאה נוספת לנייד */
  .wp-block-list.is-style-further-reading {
    padding: 1.5rem;
    margin: 2rem 0;
  }
  
  .wp-block-list.is-style-further-reading::before {
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  
  .wp-block-list.is-style-further-reading li {
    padding-right: 1.2rem;
  }
  
  .wp-block-list.is-style-further-reading.no-background {
    padding: 0 1.2rem;
  }
}



/* === tables === */
/**
 * === טבלאות ===
 * עיצוב בסגנון מודרני ומינימליסטי למגזין יוקרתי
 */

/* ======= הגדרות משותפות לכל סוגי הטבלאות ======= */
.wp-block-table {
  position: relative;
  margin: 2.5rem 0;
}

.wp-block-table table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  border: 1px solid rgba(0, 0, 0, 0.15); /* עובי אחיד למסגרת החיצונית */
  table-layout: fixed; /* חשוב! גורם לחלוקה שווה של העמודות */
}

.wp-block-table caption {
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.5rem 0;
  color: var(--primary-color);
  text-align: right;
  caption-side: top;
  margin-bottom: 0.5rem;
  font-family: var(--font-family-accent) !important;
}

/* ======= הגדרות לכותרות בכל סוגי הטבלאות ======= */
.wp-block-table th,
.wp-block-table.is-style-stripes th {
  background-color: #f5f5f5; /* אפור בהיר לכותרות */
  color: var(--primary-color); 
  font-weight: 600;
  padding: 1rem 1.2rem;
  text-align: center;
  vertical-align: middle;
  border: 1px solid rgba(0, 0, 0, 0.15); /* קו אחיד סביב כל תא */
  font-family: var(--font-family-accent) !important;
  font-size: 0.95rem;
}

/* ======= הגדרות לתאי טבלה רגילים ======= */
.wp-block-table td,
.wp-block-table.is-style-stripes td {
  padding: 1rem 1.2rem;
  vertical-align: top;
  border: 1px solid rgba(0, 0, 0, 0.15); /* קו אחיד סביב כל תא */
  font-size: 0.95rem;
  line-height: 1.5;
  font-family: var(--font-family-accent) !important;
}

/* עיצוב העמודה הראשונה - יישור, הדגשה וצבע */
.wp-block-table td:first-child,
.wp-block-table.is-style-stripes td:first-child {
  text-align: center; /* ממורכז אופקית */
  vertical-align: middle; /* ממורכז אנכית */
  font-weight: 600;
  color: var(--primary-color);
  font-family: var(--font-family-accent) !important;
}

.wp-block-table td:not(:first-child),
.wp-block-table.is-style-stripes td:not(:first-child) {
  text-align: center;
}

/* ======= צבעים לאחוזים חיוביים ושליליים ======= */
/* תאים עם אחוזים חיוביים - צבע ירוק */
.wp-block-table td.positive-percent,
.wp-block-table.is-style-stripes td.positive-percent {
  color: #107A45; /* ירוק מעודן */
  font-weight: 600;
}

/* תאים עם אחוזים שליליים - צבע אדום */
.wp-block-table td.negative-percent,
.wp-block-table.is-style-stripes td.negative-percent {
  color: #B22222; /* אדום מעודן */
  font-weight: 600;
}

/* ======= טבלה רגילה (לא מפוספסת) ======= */
/* תיקון: ביטול הפספוס בטבלה רגילה */
.wp-block-table:not(.is-style-stripes) tbody tr {
  background-color: var(--white); /* כל השורות בצבע לבן אחיד */
}

/* ======= הגדרות לטבלה מפוספסת ======= */
.wp-block-table.is-style-stripes {
  border-spacing: 0;
}

/* עיצוב שורות מפוספסות בטבלה מפוספסת */
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) {
  background-color: #f9f9f9; /* שורות כהות: גוון בהיר יותר */
}

.wp-block-table.is-style-stripes tbody tr:nth-child(even) {
  background-color: var(--white);
}

/* ביטול של הגדרות ברירת מחדל של וורדפרס לטבלאות מפוספסות */
.wp-block-table.is-style-stripes {
  border-bottom: none !important;
}

/* תיקון: וידוא שיש מסגרת לטבלה מפוספסת */
.wp-block-table.is-style-stripes table {
  border: 1px solid rgba(0, 0, 0, 0.15); /* עובי אחיד למסגרת החיצונית */
}

/* תיקון גבולות תאים בטבלה מפוספסת */
.wp-block-table.is-style-stripes th,
.wp-block-table.is-style-stripes td {
  border: 1px solid rgba(0, 0, 0, 0.15); /* וידוא שהגבולות נראים בטבלה מפוספסת */
}

/**
* === בלוק טבלת CSV מותאם אישית ===
*/

/* מיכל הטבלה - מחליף את מגבלת הרוחב הכללית */
.wp-block-custom-csv-table {
  max-width: 1200px;
  width: 100%;
  margin: 2.5rem auto;
  position: relative;
}

/* מיכל חיפוש מעל הטבלה */
.csv-table-search-container {
  margin-bottom: 1.2rem;
  text-align: right;
}

/* עיצוב מיכל החיפוש עם לחצן */
.csv-table-search-wrapper {
  display: flex;
  max-width: 400px;
  width: 100%;
}

.csv-table-search {
  flex: 1;
  padding: 0.8rem 1rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
  font-size: 0.95rem;
  margin-left: 8px;
  font-family: var(--font-family-accent) !important;
  border-radius: 0;
}

.csv-table-search:focus {
  outline: none;
  border-color: var(--secondary-color);
}

.csv-table-search-button {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  padding: 0.8rem 1.2rem;
  cursor: pointer;
  font-weight: 500;
  font-family: var(--font-family-accent) !important;
  font-size: 0.95rem;
  border-radius: 0;
}

.csv-table-search-button:hover {
  background-color: var(--secondary-color-dark);
}

/* עיצוב הטבלה להתאמה לעיצוב הקיים */
.csv-table {
  width: 100%;
  border-collapse: collapse;
  border-spacing: 0;
  border: 1px solid rgba(0, 0, 0, 0.15);
  table-layout: fixed;
}

/* כותרת הטבלה */
.csv-table-caption {
  font-size: 0.95rem;
  font-weight: 600;
  padding: 0.5rem 0;
  color: var(--primary-color);
  text-align: right;
  caption-side: top;
  margin-bottom: 0.5rem;
  width: 100%;
  display: block;
  font-family: var(--font-family-accent) !important;
}

.csv-table-header-info {
  display: flex;
  justify-content: right;
  align-items: center;
  gap: 0.5rem;
}

/* כותרות העמודות */
.csv-table th {
  background-color: #f5f5f5; /* אפור בהיר לכותרות */
  color: var(--primary-color);
  font-weight: 600;
  padding: 1rem 1.2rem;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.15);
  font-family: var(--font-family-accent) !important;
  font-size: 0.95rem;
}

/* עיצוב תאי הטבלה */
.csv-table td {
  padding: 1rem 1.2rem;
  vertical-align: top;
  border: 1px solid rgba(0, 0, 0, 0.15);
  font-size: 0.95rem;
  line-height: 1.5;
  font-family: var(--font-family-accent) !important;
}

/* עיצוב העמודה הראשונה */
.csv-table td:first-child {
  text-align: center;
  vertical-align: middle;
  font-weight: 600;
  color: var(--primary-color);
  font-family: var(--font-family-accent) !important;
}

.csv-table td:not(:first-child) {
  text-align: center;
}

/* עיצוב שורות מפוספסות */
.csv-table tbody tr.odd {
  background-color: #f9f9f9;
}

.csv-table tbody tr.even {
  background-color: var(--white);
}

/* עיצוב אחוזים חיוביים ושליליים */
.csv-table td.positive-percent {
  color: #107A45;
  font-weight: 600;
}

.csv-table td.negative-percent {
  color: #B22222;
  font-weight: 600;
}

/* הודעת אין תוצאות */
.csv-table .no-results {
  text-align: center;
  padding: 2rem;
  font-style: italic;
  color: var(--gray-medium);
}

/* עיצוב מידע בחלק העליון של הטבלה */
.csv-table-top-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  background-color: #f9f9f9;
  padding: 0.8rem 1.2rem;
  border: 1px solid rgba(0, 0, 0, 0.15);
}

.csv-table-info-wrapper {
  font-weight: 600;
  font-size: 0.95rem;
}

/* מיכל רספונסיבי לטבלה */
.csv-table-responsive {
  width: 100%;
  overflow-x: auto;
  margin-bottom: 1rem;
}

/* עיצוב שווה לניווט עליון ותחתון */
.csv-table-top-pagination,
.csv-table-pagination {
  margin: 1.2rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* עיצוב אזור ניווט העמודים - סידור מחדש של האלמנטים */
.csv-table-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  flex-direction: row;
}

/* שינוי סדר הלחצנים כדי שהקודם יהיה בימין והבא בשמאל */
.csv-table-pagination-controls {
  display: flex;
  gap: 0.8rem;
  align-items: center;
  flex-direction: row;
}

.csv-table-pagination-info {
  font-size: 0.9rem;
  min-width: 120px;
  text-align: center;
  order: 2;
  color: var(--gray-dark);
  font-family: var(--font-family-accent) !important;
}

/* עיצוב לחצני ניווט */
.csv-table-pagination-prev,
.csv-table-pagination-next {
  background-color: var(--secondary-color);
  color: white;
  border: none;
  padding: 0.7rem 1.2rem;
  cursor: pointer;
  font-weight: 500;
  font-family: var(--font-family-accent) !important;
  font-size: 0.9rem;
  border-radius: 0;
}

.csv-table-pagination-prev {
  order: 1;
}

.csv-table-pagination-next {
  order: 3;
}

/* תיקון לסדר הלחצנים בשני אזורי הניווט: העליון והתחתון */
.csv-table-top-pagination .csv-table-pagination-controls,
.csv-table-pagination .csv-table-pagination-controls {
  display: flex;
  flex-direction: row;
}

.csv-table-top-pagination .csv-table-pagination-prev,
.csv-table-pagination .csv-table-pagination-prev {
  order: 1;
}

.csv-table-top-pagination .csv-table-pagination-info,
.csv-table-pagination .csv-table-pagination-info {
  order: 2;
}

.csv-table-top-pagination .csv-table-pagination-next,
.csv-table-pagination .csv-table-pagination-next {
  order: 3;
}

.csv-table-pagination-prev:disabled,
.csv-table-pagination-next:disabled {
  background-color: #dddddd;
  cursor: not-allowed;
  color: #888888;
}

.csv-table-pagination-prev:hover:not(:disabled),
.csv-table-pagination-next:hover:not(:disabled) {
  background-color: var(--secondary-color-dark);
}

.csv-table-rows-info {
  font-size: 0.9rem;
  color: var(--gray-medium);
  font-family: var(--font-family-accent) !important;
}

/* עיצוב משטח העבודה בעורך */
.wp-block-custom-csv-table-editor {
  border: 1px solid rgba(0, 0, 0, 0.15);
  padding: 1.5rem;
}

.csv-table-placeholder {
  padding: 2rem;
  text-align: center;
  background-color: #f9f9f9;
}

.csv-import-control {
  margin-bottom: 1rem;
}

.csv-import-control input[type="file"] {
  display: none;
}

.csv-import-control label {
  display: inline-block;
  cursor: pointer;
  margin-top: 0.5rem;
}

.preview-more-row td {
  text-align: center !important;
  font-style: italic;
  color: var(--gray-medium);
}

/* הוספת class להסתרת אלמנטים מהמסך אבל הנגשתם לקוראי מסך */
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* ======= תמיכה במכשירים ניידים ======= */
@media screen and (max-width: 768px) {
  .wp-block-custom-csv-table {
    margin: 1.5rem 0;
    width: 100%;
    max-width: none;
  }

  .csv-table-search {
    max-width: 100%;
    padding: 0.7rem 0.8rem;
  }
  
  .csv-table-search-button {
    padding: 0.7rem 0.8rem;
  }

  .csv-table-pagination {
    flex-direction: column;
    gap: 0.5rem;
  }

  /* הסתרת טקסט מיותר בניווט במסכים קטנים */
  .csv-table-pagination-info {
    font-size: 0.8rem;
  }
  
  /* סידור מחדש של אלמנטים בניווט במסכים קטנים */
  .csv-table-pagination-controls {
    width: 100%;
    justify-content: space-between;
  }
  
  /* גם במסכים קטנים נשמור על הסדר הנכון של הלחצנים */
  .csv-table-top-pagination .csv-table-pagination-prev,
  .csv-table-pagination .csv-table-pagination-prev {
    order: 1; /* הלחצן "הקודם" יישאר בצד ימין */
  }
  
  .csv-table-top-pagination .csv-table-pagination-next,
  .csv-table-pagination .csv-table-pagination-next {
    order: 3; /* הלחצן "הבא" יישאר בצד שמאל */
  }
  
  .wp-block-table td,
  .csv-table td {
    padding: 0.8rem 0.9rem;
    font-size: 0.9rem;
  }
  
  .wp-block-table th,
  .csv-table th {
    padding: 0.8rem 0.9rem;
    font-size: 0.9rem;
  }
}

@media screen and (max-width: 750px) {
  .wp-block-table {
    overflow-x: auto;
    display: block;
  }
  
  /* שומר על המסגרת החיצונית גם במסך קטן */
  .wp-block-table table {
    width: 100%;
    min-width: 100%;
  }
}



/* === contact-form === */
/**
 * עיצוב טופס יצירת קשר נגיש - twentytwentyfour-child
 * מותאם לדרישות נגישות תקן ישראלי 5568 / WCAG 2.0 AA
 * מעוצב בסגנון מינימליסטי מודרני
 */

 .contact-form-container {
  max-width: 700px;
  margin: 3rem auto;
  padding: 2.5rem;
  background-color: var(--white);
  border: 1px solid var(--gray-mild);
  box-shadow: none;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-form label {
  font-weight: 500;
  color: var(--primary-color);
  font-size: 0.95rem;
  display: inline-block;
  margin-bottom: 0.25rem;
  font-family: var(--font-family-accent) !important;
}

.contact-form .required {
  color: var(--alert-red);
  font-weight: normal;
  margin-right: 0.25rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid var(--gray-mild);
  border-radius: 0;
  font-size: 1rem;
  line-height: 1.5;
  color: var(--text-color);
  background-color: var(--white);
  transition: border-color 0.2s ease-in-out;
  font-family: var(--font-family-accent) !important;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: none;
}

/* עיצוב מיוחד למיקוד - חשוב לנגישות */
.contact-form input:focus-visible,
.contact-form textarea:focus-visible,
.contact-form button:focus-visible {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

.contact-form [aria-invalid="true"] {
  border-color: var(--alert-red);
  background-color: rgba(178, 34, 34, 0.05);
}

.error-message {
  color: var(--alert-red);
  font-size: 0.85rem;
  font-weight: 400;
  min-height: 1.25rem;
  font-family: var(--font-family-accent) !important;
}

.submit-button {
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 0;
  padding: 0.8rem 2rem;
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.2s;
  max-width: fit-content;
  align-self: flex-start;
  font-family: var(--font-family-accent) !important;
  letter-spacing: 0.02em;
}

.submit-button:hover {
  background-color: var(--secondary-color);
}

.submit-button:active {
  background-color: var(--secondary-color-dark);
}

.contact-form-success {
  background-color: rgba(16, 122, 69, 0.1);
  color: #107A45;
  padding: 1.2rem;
  border-radius: 0;
  border-right: 2px solid #107A45;
  border-left: none;
  margin-bottom: 1.8rem;
  font-family: var(--font-family-accent) !important;
  font-size: 0.95rem;
}

/* התאמות לנגישות נוספות */
@media (prefers-reduced-motion: reduce) {
  .contact-form input,
  .contact-form textarea,
  .submit-button {
    transition: none;
  }
}

/* התאמות למסכים קטנים */
@media screen and (max-width: 768px) {
  .contact-form-container {
    padding: 1.8rem;
    margin: 2rem auto;
  }
  
  .contact-form {
    gap: 1.5rem;
  }
  
  .submit-button {
    width: 100%;
    max-width: 100%;
  }
}

/* מסכים מאוד קטנים */
@media screen and (max-width: 480px) {
  .contact-form-container {
    padding: 1.5rem;
    margin: 1.5rem auto;
  }
  
  .contact-form input,
  .contact-form textarea {
    padding: 0.7rem;
    font-size: 0.95rem;
  }
}

/* הגדרות RTL */
.rtl .contact-form .required {
  margin-right: 0;
  margin-left: 0.25rem;
}

.rtl .contact-form-success {
  border-right: 2px solid #107A45;
  border-left: none;
  text-align: right;
}



/* === post-hero-banner === */
/* ================================
   Post Hero Banner - עיצוב חזית לגולשים
   התאמה לגולדמן ארט
   ================================ */

/* סגנונות בסיסיים לבלוק */
.post-hero-banner {
    position: relative;
    width: 100vw;
    margin-right: calc(-50vw + 50%);
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
    margin-bottom: 0;
    overflow: visible; /* שינוי מ-hidden ל-visible כדי לאפשר גלישת כותרת */
    padding-bottom: 50px; /* רווח לגלישת כותרת למטה */
}

/* Wrapper for the banner */
.post-hero-banner-wrapper {
    position: relative;
    width: 100%;
}

/* תמונת רקע - יחס 19:6 */
.post-hero-banner-image-wrapper {
    position: relative;
    width: 100%;
    overflow: visible; /* שינוי מ-hidden ל-visible - מאפשר לכותרת לגלוש */
    background: #f0f0f0;
}

.post-hero-banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* Placeholder כשאין תמונה */
.post-hero-banner-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.post-hero-banner-placeholder .placeholder-message {
    color: white;
    font-size: 18px;
    text-align: center;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

/* מיכל התוכן - ממורכז עם רוחב קבוע */
.post-hero-banner-content {
    position: absolute;
    top: 70%;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 800px;
    z-index: 1;
    pointer-events: none;
}

/* אפשר אינטראקציה עם כל האלמנטים בתוך המיכל הפנימי */
.post-hero-banner-inner {
    background: #ffffff; /* רקע לבן זהה לרקע העמוד */
    padding: 30px 40px;
    border-radius: 5px;
    box-shadow: none; /* ללא צל כדי להתמזג עם הרקע */
    max-height: none; /* מאפשר גובה חופשי */
    overflow: visible; /* מאפשר גלישת תוכן */
    pointer-events: auto; /* אפשר לחיצה על קישורים בתוך המיכל */
}

/* וודא שכל הקישורים בבלוק לחיצים וללא קו תחתון */
.post-hero-banner-inner a {
    pointer-events: auto;
    text-decoration: none !important;
}

.post-hero-banner-inner a:hover {
    text-decoration: none !important;
}

/* תגית קטגוריה */
.post-hero-banner-category {
    display: inline-block;
    padding: 4px 12px;
    border: 1px solid var(--primary-color-daat, #8B4513) !important;
    border-radius: 20px;
    background: transparent !important;
    color: var(--primary-color-daat, #8B4513) !important;
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 12px;
    line-height: 1.2;
    letter-spacing: 0.5px;
    text-decoration: none !important;
    box-shadow: none !important;
    pointer-events: auto;
    transition: all 0.3s ease;
}

/* עיצוב נגטיבי ב-hover */
.post-hero-banner-category:hover {
    text-decoration: none !important;
    background: var(--primary-color-daat, #8B4513) !important;
    color: #ffffff !important;
    border: 1px solid var(--primary-color-daat, #8B4513) !important;
}

/* ביטול pseudo-elements שעלולים ליצור קווים */
.post-hero-banner-category::before,
.post-hero-banner-category::after {
    display: none !important;
    content: none !important;
}

/* מק"ט */
.post-hero-super-title {
    display: inline-flex;
    align-items: center;
    background: var(--secondary-color-daat-background, #F5DEB3);
    color: var(--primary-color-daat, #8B4513);
    border: 1px solid var(--primary-color-daat, #8B4513);
    padding: 6px 16px;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 12px;
    border-radius: 4px;
    line-height: 1.4;
    letter-spacing: 0.3px;
}

/* כותרת ראשית */
.post-hero-banner-title {
    margin: 0 0 15px 0;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #1a1a1a; /* טקסט כהה על רקע לבן */
    letter-spacing: -0.5px;
}

/* כותרת משנה */
.post-hero-banner-subtitle {
    margin: 0;
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    color: #555; /* אפור כהה על רקע לבן */
}

/* ================================
   סגנון קלאסי
   ================================ */

.banner-style-classic.alignfull {
    width: 100vw;
    max-width: 100vw;
    margin-right: calc(-50vw + 50%);
    margin-left: calc(-50vw + 50%);
    margin-top: 0;
    margin-bottom: 0;
}

.post-hero-classic-wrapper {
    width: 100%;
    max-width: 100%;
}

.post-hero-classic-wrapper > * {
    margin-top: 0;
    margin-bottom: 0;
}

.post-hero-classic-content {
    padding-top: 25px;
    padding-bottom: 5px;
    max-width: 800px;
    margin: 0 auto 0 auto;
    padding: 25px 20px 5px;
}

.post-hero-classic-image-wrapper {
    max-width: 800px;
    margin: 5px auto 2.5rem auto;
    padding: 0 20px;
    /* wrapper רק מכיל - לא חותך את הכיתוב */
}

.post-hero-classic-image {
    width: 100%;
    aspect-ratio: 16/9; /* יחס 16:9 - יחס פנורמי רחב (סטנדרט וידאו) */
    height: auto;
    object-fit: cover; /* מציג רק את החלק המרכזי, חותך שוליים */
    object-position: center; /* ממרכז את התמונה */
    display: block;
    margin: 0;
    padding: 0;
    border-radius: 0; /* ביטול border-radius שעלול להשפיע על תמונות רגילות */
}

/* כיתוב התמונה בסגנון קלאסי - בדיוק כמו תמונות רגילות */
.post-hero-classic-caption {
    font-size: 0.95rem;
    color: var(--gray-medium);
    text-align: right;
    padding-right: 20px;
    padding-left: 0;
    font-weight: 300;
    font-family: var(--font-family-accent) !important;
    margin-top: 0.5rem;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

/* ================================
   שורת מטא - קטגוריה וכפתור שיתוף
   ================================ */

.post-hero-meta-section {
    margin-top: 20px;
    padding: 15px 0;
    border-top: 1px solid #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* מיכל לתגית קטגוריה וכפתור שיתוף */
.post-meta-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    justify-content: space-between;
}

/* תגית קטגוריה - בצד ימין */
.post-meta-actions .category-in-meta {
    flex-shrink: 0;
    margin: 0;
}

/* מיכל כפתורי שיתוף - בצד שמאל */
.post-meta-actions .share-buttons {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}

/* עיצוב כללי לכל כפתורי השיתוף */
.post-meta-actions .share-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    color: #ffffff !important;
    text-decoration: none !important;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: none;
    flex-shrink: 0;
    pointer-events: auto;
}

.post-meta-actions .share-button:hover {
    transform: scale(1.1);
    text-decoration: none !important;
    color: #ffffff !important;
}

.post-meta-actions .share-button:hover svg,
.post-meta-actions .share-button:hover svg path {
    fill: currentColor !important;
    color: #ffffff !important;
}

.post-meta-actions .share-button::before,
.post-meta-actions .share-button::after {
    display: none !important;
    content: none !important;
}

.post-meta-actions .share-button svg {
    display: block;
    width: 20px;
    height: 20px;
    pointer-events: none;
    color: #ffffff !important;
    fill: currentColor !important;
}

.post-meta-actions .share-button svg path {
    fill: currentColor !important;
    color: #ffffff !important;
}

/* כפתור ווטסאפ */
.post-meta-actions .whatsapp-share-button {
    background: #25D366;
}

/* כפתור פייסבוק */
.post-meta-actions .facebook-share-button {
    background: #1877F2;
}

/* כפתור X (טוויטר לשעבר) */
.post-meta-actions .x-share-button {
    background: #000000;
}

/* כפתור אינסטגרם */
.post-meta-actions .instagram-share-button {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* כפתור מייל */
.post-meta-actions .email-share-button {
    background: #EA4335;
}

/* כפתור הדפסה */
.post-meta-actions .print-button {
    background: #5c6bc0;
}


/* ================================
   התאמות רספונסיביות
   ================================ */

@media (max-width: 1024px) {
    .post-hero-banner-content {
        max-width: 90%;
        width: calc(100% - 40px);
    }
    
    .post-hero-banner-inner {
        padding: 25px 30px;
    }
    
    .post-hero-banner-title {
        font-size: 36px;
    }
    
    .post-hero-banner-subtitle {
        font-size: 16px;
    }
}


@media (max-width: 768px) {
    .post-hero-banner-content {
        top: 65%;
        max-width: 95%;
        width: calc(100% - 20px);
    }
    
    .post-hero-banner-inner {
        padding: 20px;
    }
    
    .post-hero-banner-title {
        font-size: 28px;
    }
    
    .post-hero-banner-subtitle {
        font-size: 15px;
    }
    
    .post-hero-author-section {
        flex-direction: column;
        align-items: flex-start;
        text-align: right;
        width: 100%;
    }

    .post-hero-author-section .author-info {
        width: 100%;
    }
    
    .post-hero-author-section .author-avatar {
        margin-left: 0;
        margin-bottom: 10px;
    }
    
    /* כפתורי שיתוף במובייל */
    .post-meta-actions .share-buttons {
        gap: 6px;
    }
    
    .post-meta-actions .share-button {
        width: 28px;
        height: 28px;
    }
    
    .post-meta-actions .share-button svg {
        width: 16px;
        height: 16px;
    }
}

@media (max-width: 480px) {
    .post-hero-banner-title {
        font-size: 24px;
    }
    
    .post-hero-banner-subtitle {
        font-size: 14px;
    }
    
    .post-hero-banner-inner {
        padding: 15px;
    }
    
    /* כפתורי שיתוף במסכים קטנים */
    .post-meta-actions .share-buttons {
        gap: 5px;
    }
    
    .post-meta-actions .share-button {
        width: 26px;
        height: 26px;
    }
    
    .post-meta-actions .share-button svg {
        width: 14px;
        height: 14px;
    }
}

/* תמיכה ב-align wide ו-full */
.post-hero-banner.alignwide {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

/* פריסה מלאה מצד לצד - דורס את ההגבלות של entry-content */
.wp-block-ttfchild-post-hero-banner.alignfull {
    width: 100vw !important;
    position: relative !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    max-width: none !important;
}

/* וידוא שהמיכל הפנימי נשאר ממורכז גם ב-alignfull */
.wp-block-ttfchild-post-hero-banner.alignfull .post-hero-banner-content {
    left: 50%;
    transform: translateX(-50%);
}

.post-hero-banner.alignfull {
    max-width: 100%;
    width: 100%;
}

/* ================================
   התאמות LTR לפוסטים אנגליים
   ================================ */

/* בפוסטים אנגליים - כיוון LTR */
.site-lang-en .post-hero-banner-title,
.site-lang-en .post-hero-classic-content h1 {
    text-align: left !important;
    direction: ltr !important;
}

/* תג מק"ט בצד שמאל בפוסטים אנגליים */
.site-lang-en .post-hero-super-title {
    margin-left: 0 !important;
    margin-right: auto !important;
}

/* שורת המטא בפוסטים אנגליים - סדר הפוך */
.site-lang-en .post-meta-actions {
    flex-direction: row-reverse !important;
}

/* תגית הקטגוריה בצד שמאל בפוסטים אנגליים */
.site-lang-en .post-meta-actions .category-in-meta {
    order: 2 !important;
}

/* כפתורי השיתוף בצד ימין בפוסטים אנגליים */
.site-lang-en .post-meta-actions .share-buttons {
    order: 1 !important;
}

/* כיתוב תמונה בפוסטים אנגליים */
.site-lang-en .post-hero-classic-caption {
    text-align: left !important;
    direction: ltr !important;
    padding-left: 20px !important;
    padding-right: 0 !important;
}

/* בלוק תגיות - יישור לשמאל בפוסטים אנגליים */
.site-lang-en .ttfc-custom-tags-block {
    text-align: left !important;
    direction: ltr !important;
}

.site-lang-en .ttfc-custom-tags-block a {
    direction: ltr !important;
}

/* בלוק "אולי יעניין אותך" - כותרות לשמאל בפוסטים אנגליים */
.site-lang-en .ttfc-maybe-interesting-block h2 {
    text-align: left !important;
    direction: ltr !important;
}

.site-lang-en .ttfc-maybe-interesting-block .ttfc-maybe-interesting-title {
    text-align: left !important;
    direction: ltr !important;
}

.site-lang-en .ttfc-maybe-interesting-block .post-card-title {
    text-align: left !important;
    direction: ltr !important;
}

.site-lang-en .ttfc-maybe-interesting-block .post-card-content h3 {
    text-align: left !important;
    direction: ltr !important;
}

/* מיכלים של פוסטים בבלוק "אולי יעניין אותך" */
.site-lang-en .ttfc-maybe-interesting-block .post-card {
    text-align: left !important;
    direction: ltr !important;
}

/* ================================
   Single Banner Block 
   ================================ */

/* ביטול העיצוב של מלוא רוחב המסך כשהבלוק בתוך תוכן */
.single-banner.gutenberg-block {
    position: relative !important;
    width: 100vw !important;
    max-width: 100vw !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    margin-top: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 !important;
    padding-bottom: 50px !important; /* מרווח לתצוגת מיכל הטקסט שמתגלש מתחת לתמונה */
    overflow: visible !important;
    box-sizing: border-box;
}

/* וודא שהלינק והמעטפת לא גולשים */
.single-banner.gutenberg-block .single-banner-link {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

.single-banner.gutenberg-block .single-banner-image-wrapper {
    width: 100%;
    max-width: 100%;
    position: relative;
    overflow: visible;
}

/* התאמה למיכל הפוסט */
.entry-content .single-banner.gutenberg-block,
.wp-block-post-content .single-banner.gutenberg-block {
    margin-right: 0 !important;
    margin-left: 0 !important;
    width: 100%;
    max-width: 100%;
}

/* כשרוצים מלוא רוחב - צריך להוסיף class מיוחד */
.single-banner.gutenberg-block.alignfull {
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    max-width: 100vw;
}

.single-banner.gutenberg-block.alignwide {
    width: 100%;
    max-width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* התאמות למסכים קטנים */
@media (max-width: 768px) {
    /* במובייל - ביטול כל הרחבות */
    .single-banner.gutenberg-block,
    .single-banner.gutenberg-block.alignfull {
        width: 100%;
        left: auto;
        right: auto;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* תיקון לתצוגה בתוך מיכלים צרים */
.wp-block-column .single-banner.gutenberg-block,
.wp-block-group .single-banner.gutenberg-block {
    margin-right: 0 !important;
    margin-left: 0 !important;
    width: 100%;
    left: auto;
    right: auto;
}

.wp-block-column .single-banner.gutenberg-block .single-banner-link {
    width: 100%;
}

/* התאמות לנושאים שונים */
body.logged-in .single-banner.gutenberg-block {
    margin-top: 0;
}

/* דריסה מוחלטת של סגנונות עמוד הבית כשהבלוק בפוסט */
.entry-content .single-banner,
.wp-block-post-content .single-banner,
.single-post .single-banner.gutenberg-block,
.single-page .single-banner.gutenberg-block {
    position: relative !important;
    width: 100vw !important;
    max-width: 100vw !important;
    left: 50% !important;
    right: 50% !important;
    margin-left: -50vw !important;
    margin-right: -50vw !important;
    padding: 0 !important;
    transform: none !important;
}

/* תיקון ספציפי לתמונה */
.single-banner.gutenberg-block .single-banner-image {
    width: 100% !important;
    max-width: 100% !important;
    left: 0 !important;
    right: 0 !important;
}



/* === post-tags === */
/**
 * === עיצוב תגיות פוסט ===
 * עיצוב התגיות המופיעות בסוף כל פוסט
 * בסגנון מודרני עם רקע עדין ומיכל מוגבל ברוחב
 * התאמה לגולדמן ארט
 */

/* מיכל ראשי של התגיות - הגבלת רוחב ל-750px */
/* המיכל משובץ בתוך עמודת התוכן ולא כמיכל נפרד */
.wp-block-post-terms.taxonomy-post_tag {
    max-width: 750px;
    margin: 2rem 0;
    padding: 1.5rem 0;
    border-top: 1px solid #e0e0e0;
    text-align: right;
    
    /* הגבלת תצוגה לשורה אחת - התגיות נשארות ב-HTML ל-SEO */
    overflow: hidden;
    max-height: 4.5rem; /* גובה מדויק לשורה אחת בלבד, ללא חלק מהשורה הבאה */
    line-height: 1.5;
}

/* קידומת (אם קיימת) - למשל "תגיות:" */
.wp-block-post-terms__prefix {
    display: inline-block;
    font-weight: 600;
    color: var(--primary-color, #1a1a1a);
    margin-left: 0.5rem;
    font-size: 1rem;
}

/* קישור לכל תגית */
.wp-block-post-terms.taxonomy-post_tag a {
    display: inline-block;
    background-color: #f5f5f5;
    color: var(--text-color);
    padding: 0.5rem 1rem;
    margin: 0.25rem;
    border-radius: 4px;
    text-decoration: none !important;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e0e0e0;
}

/* אפקט hover */
.wp-block-post-terms.taxonomy-post_tag a:hover {
    background-color: var(--primary-color-daat, #8B4513);
    color: #ffffff;
    border-color: var(--primary-color-daat, #8B4513);
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(139, 69, 19, 0.2);
}

/* אפקט focus - לנגישות */
.wp-block-post-terms.taxonomy-post_tag a:focus {
    outline: 2px solid var(--primary-color-daat, #8B4513);
    outline-offset: 2px;
    background-color: var(--primary-color-daat, #8B4513);
    color: #ffffff;
}

/* מפריד בין תגיות (אם קיים) */
.wp-block-post-terms__separator {
    display: none; /* נסתיר את המפריד כי התגיות כבר מופרדות במרווח */
}

/* סיומת (אם קיימת) */
.wp-block-post-terms__suffix {
    display: inline-block;
    margin-right: 0.5rem;
}

/* התאמה למסכים קטנים */
@media screen and (max-width: 768px) {
    .wp-block-post-terms.taxonomy-post_tag {
        padding: 1rem 0;
        margin: 1.5rem 0;
        max-height: 4rem; /* גובה מותאם לתגיות קטנות יותר */
    }
    
    .wp-block-post-terms.taxonomy-post_tag a {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
        margin: 0.2rem;
    }
}

/* התאמה למסכים מאוד קטנים */
@media screen and (max-width: 480px) {
    .wp-block-post-terms.taxonomy-post_tag {
        padding: 0.8rem 0.5rem;
        max-height: 3.5rem; /* גובה מותאם לתגיות קטנות עוד יותר */
    }
    
    .wp-block-post-terms.taxonomy-post_tag a {
        font-size: 0.85rem;
        padding: 0.35rem 0.7rem;
    }
}



/* === maybe-interesting === */
/**
 * בלוק "אולי יעניין אותך"
 * מציג כתבות ממומנות וכתבות אחרונות לסירוגין
 * 
 * Adapted for: Goldman Art
 */

.maybe-interesting-block {
    max-width: 750px;
    margin: 40px auto;
    padding: 0 20px;
}

.maybe-interesting-block .block-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color, #1a1a1a);
    text-align: right;
    margin: 0 0 30px 0;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--primary-color-daat, #8B4513);
}

.maybe-interesting-block .posts-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.maybe-interesting-block .posts-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    align-items: stretch; /* גובה אחיד לשני הכרטיסים */
}

/* כרטיס כתבה */
.maybe-interesting-card {
    background: #fff;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%; /* מלוא גובה המיכל */
}

.maybe-interesting-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.maybe-interesting-card .card-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    outline: none; /* הסרת קו תכלת */
    border: none; /* הסרת קו תכלת */
}

.maybe-interesting-card .card-link:focus {
    outline: none; /* הסרת קו תכלת גם ב-focus */
    box-shadow: none;
}

/* תמונה */
.maybe-interesting-card .card-image {
    width: 100%;
    padding-bottom: 66.67%; /* יחס 3:2 (גובה = 2/3 מהרוחב) */
    background-size: cover;
    background-position: center;
    position: relative;
}

/* תוכן */
.maybe-interesting-card .card-content {
    padding: 0 20px 20px 20px; /* אפס מלמעלה - צמוד לתמונה */
    flex: 1; /* מאפשר למיכל התוכן לתפוס את כל המקום הפנוי */
    display: flex;
    flex-direction: column;
}

/* כותרת עילית */
.maybe-interesting-card .super-title-container {
    min-height: 28px;
    margin-top: 5px; /* מרווח בין התמונה לכותרת העילית */
    margin-bottom: 8px;
    display: flex;
    align-items: flex-start;
}

.maybe-interesting-card .super-title-link {
    text-decoration: none;
    display: inline-block;
    outline: none; /* הסרת קו תכלת */
    border: none; /* הסרת קו תכלת */
}

.maybe-interesting-card .super-title-link:focus {
    outline: none; /* הסרת קו תכלת גם ב-focus */
}

.maybe-interesting-card .super-title-tag {
    display: inline-block;
    background: var(--secondary-color-daat-background, #F5DEB3);
    color: var(--primary-color-daat, #8B4513);
    border: 1px solid var(--primary-color-daat, #8B4513);
    font-size: 12px;
    font-weight: 600;
    padding: 4px 10px;
    letter-spacing: 0.5px;
    line-height: 1.4;
    border-radius: 4px;
    transition: opacity 0.3s ease;
}

.maybe-interesting-card .super-title-link:hover .super-title-tag {
    opacity: 0.85;
}

.maybe-interesting-card .card-title {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
    margin: 0 0 12px 0; /* מרווח תחתון בין הכותרת לשורת המטא */
    color: var(--primary-color, #1a1a1a);
    transition: color 0.3s ease;
}

.maybe-interesting-card:hover .card-title {
    color: var(--primary-color-daat, #8B4513);
}

/* הסתרת מטא-דאטה (מחבר ותאריך) - לא רלוונטי ב-Goldman Art */
.maybe-interesting-card .card-meta {
    display: none;
}

.maybe-interesting-card .card-author {
    display: none;
}

.maybe-interesting-card .meta-separator {
    display: none;
}

.maybe-interesting-card .card-date {
    display: none;
}

/* רספונסיביות */
@media (max-width: 768px) {
    .maybe-interesting-block {
        padding: 0;
        margin: 30px auto;
    }
    
    .maybe-interesting-block .block-title {
        font-size: 24px;
        margin-bottom: 20px;
    }
    
    .maybe-interesting-block .posts-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .maybe-interesting-card .card-image {
        padding-bottom: 66.67%; /* יחס 3:2 גם במובייל */
    }
    
    .maybe-interesting-card .card-content {
        padding: 15px;
    }
    
    .maybe-interesting-card .card-title {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .maybe-interesting-block .block-title {
        font-size: 20px;
    }
    
    .maybe-interesting-card .card-image {
        padding-bottom: 66.67%; /* יחס 3:2 גם במסכים קטנים */
    }
    
    .maybe-interesting-card .card-title {
        font-size: 15px;
    }
    
    .maybe-interesting-card .card-meta {
        font-size: 13px;
    }
}




/* === splash-screen === */
/**
 * Splash Screen Styles for PWA
 * מסך פתיחה לאפליקציית PWA
 */

/* מסך הפתיחה */
#pwa-splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #273B6B;
    z-index: 999999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.3s ease-out;
    pointer-events: all;
}

/* מצב מוסתר */
#pwa-splash-screen.hidden {
    opacity: 0;
    pointer-events: none;
}

/* מיכל הלוגו במסך הפתיחה */
#pwa-splash-screen .splash-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 320px;
    height: 320px;
    /* ללא רקע נוסף - רק מיכל שקוף */
    background: transparent;
    position: relative;
}

/* הלוגו במסך הפתיחה */
#pwa-splash-screen .splash-logo {
    width: 300px;
    height: 300px;
    object-fit: contain;
    animation: splashFadeIn 0.5s ease-in;
    /* תיקון מקיף לבעיית רקע שחור בתמונות PNG שקופות */
    background-color: transparent !important;
    background: transparent !important;
    /* ניקוי כל רקע אפשרי */
    background-image: none !important;
    /* הגדרות נוספות לשקיפות */
    mix-blend-mode: normal;
    isolation: isolate;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    /* וודא שאין צללים או אפקטים */
    box-shadow: none !important;
    filter: none;
}

/* אנימציית כניסה ללוגו */
@keyframes splashFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* התאמה למובייל */
@media (max-width: 768px) {
    #pwa-splash-screen .splash-logo-container {
        width: 250px;
        height: 250px;
    }
    
    #pwa-splash-screen .splash-logo {
        width: 230px;
        height: 230px;
    }
}

/* הסתרה עבור דפדפנים רגילים (לא PWA) */
body:not(.pwa-mode) #pwa-splash-screen {
    display: none !important;
}



