@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Alef:wght@400;700&display=swap");
body {
  font-family: "Alef", sans-serif;
  background-color: #F9F7F2;
  color: #333333;
  margin: 0;
  direction: rtl;
}

/* --- תיקון גלילה גלובלי --- */
html, body {
  max-width: 100%;
  overflow-x: hidden; /* מונע גלילה לצדדים */
  margin: 0;
  padding: 0;
}

/* מוודא שהתמונות לא שוברות את הרוחב */
img {
  max-width: 100%;
  height: auto;
}

body {
  overflow-x: hidden;
  width: 100%;
  margin: 0;
  font-family: "Alef", sans-serif;
  direction: rtl;
}

.site-header {
  background-color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  padding: 15px 0;
  position: relative;
  z-index: 100;
  border-top: 5px solid #1A2C42;
}
.site-header .header-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.site-header .site-branding a {
  text-decoration: none;
  color: #1A2C42;
  font-weight: 700;
  font-size: 1.5rem;
}
@media (max-width: 768px) {
  .site-header .main-navigation {
    display: none;
  }
}
.site-header .main-navigation ul {
  list-style: none;
  padding: 0;
  display: flex;
  gap: 30px;
}
.site-header .main-navigation ul li a {
  text-decoration: none;
  color: #1A2C42;
  font-weight: 700;
}
.site-header .header-tools {
  display: flex;
  gap: 15px;
  align-items: center;
}
.site-header .header-tools button {
  background: none;
  border: none;
  cursor: pointer;
  color: #1A2C42;
}
.site-header .header-tools .hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
}
@media (max-width: 768px) {
  .site-header .header-tools .hamburger {
    display: flex;
  }
}
.site-header .header-tools .hamburger .bar {
  width: 25px;
  height: 3px;
  background: #1A2C42;
  transition: 0.3s;
}
.site-header .header-tools .hamburger.is-active .bar:nth-child(1) {
  transform: rotate(45deg) translate(5px, 6px);
}
.site-header .header-tools .hamburger.is-active .bar:nth-child(2) {
  opacity: 0;
}
.site-header .header-tools .hamburger.is-active .bar:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -6px);
}

/* --- תפריט מובייל בעיצוב פרימיום --- */
/* 1. הרקע הכהה (המעטפת) */
#mobile-menu-overlay {
  position: fixed;
  top: 0;
  left: 0; /* מכסה את כל המסך */
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* רקע שחור חצי שקוף */
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px); /* אפקט טשטוש יוקרתי לרקע */
  z-index: 9999;
  /* הסתרה כברירת מחדל */
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease; /* אנימציית Fade */
}

/* המצב הפעיל של הרקע */
#mobile-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* 2. המגירה הלבנה (התפריט עצמו) */
.mobile-menu-content {
  position: absolute;
  top: 0;
  right: 0; /* נצמד לימין */
  width: 300px; /* רוחב התפריט */
  max-width: 85%; /* במובייל קטן מאוד לא יתפוס הכל */
  height: 100%;
  background: #fff;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.15); /* צל עמוק ורך */
  display: flex;
  flex-direction: column;
  /* אנימציית החלקה */
  transform: translateX(100%); /* מוסתר מחוץ למסך מימין */
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1); /* תנועה חלקה ומקצועית */
}

/* כשהרקע פעיל - המגירה נכנסת פנימה */
#mobile-menu-overlay.active .mobile-menu-content {
  transform: translateX(0);
}

/* 3. כותרת עליונה (X + כותרת) */
.menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 25px;
  border-bottom: 1px solid #f0f0f0; /* קו הפרדה עדין */
  background: #fafafa;
}

.menu-title {
  font-size: 18px;
  font-weight: 700;
  color: #333;
}

#menu-close-btn {
  background: none;
  border: none;
  font-size: 22px;
  color: #555;
  cursor: pointer;
  transition: color 0.3s;
  padding: 0;
}

#menu-close-btn:hover {
  color: #000;
  transform: rotate(90deg); /* אנימציה חמודה בסיבוב */
  transition: transform 0.3s;
}

/* 4. עיצוב רשימת הקישורים */
.mobile-nav {
  padding: 10px 0;
  overflow-y: auto; /* מאפשר גלילה אם התפריט ארוך */
}

.mobile-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mobile-menu-list li {
  display: block;
  border-bottom: 1px solid #f5f5f5; /* בורדר תחתון עדין לכל אייטם */
}

.mobile-menu-list li:last-child {
  border-bottom: none; /* שלא יהיה קו באחרון */
}

.mobile-menu-list li a {
  display: block;
  padding: 18px 25px; /* שטח לחיצה גדול ונוח */
  text-decoration: none;
  font-size: 16px;
  font-weight: 500;
  color: #333;
  transition: all 0.3s;
  position: relative;
}

/* אפקט במעבר עכבר (הובר) */
.mobile-menu-list li a:hover {
  background-color: #f9f9f9; /* רקע בהיר */
  color: #0073aa; /* צבע הדגשה (אפשר לשנות לצבע המותג שלך) */
  padding-right: 30px; /* תזוזה קטנה שמאלה לאפקט דינמי */
}

/* סימון עמוד נוכחי (וורדפרס מוסיף את ה-Class הזה לבד) */
.mobile-menu-list li.current-menu-item a {
  color: #0073aa;
  font-weight: 700;
  background: #f0f8ff;
}

/* 1. המעטפת הראשית - מסך מלא ומרכוז */
/* --- חיפוש: מוסתר כברירת מחדל --- */
#header-search-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(18, 28, 45, 0.98); /* כחול כהה */
  z-index: 99999;
  /* פלקסבוקס למרכוז */
  display: flex;
  align-items: center;
  justify-content: center;
  /* --- החלק הקריטי להסתרה --- */
  opacity: 0; /* שקיפות מלאה - לא רואים */
  visibility: hidden; /* מוסתר מהדפדפן */
  pointer-events: none; /* מאפשר ללחוץ על דברים מתחתיו כשהוא סגור! */
  transform: scale(0.95); /* אפקט זום קטן */
  transition: all 0.3s ease-in-out; /* אנימציה חלקה */
}

/* --- המצב הפעיל (רק אחרי לחיצה על זכוכית מגדלת) --- */
#header-search-overlay.active {
  opacity: 1; /* נראה */
  visibility: visible; /* קיים */
  pointer-events: auto; /* לחיץ */
  transform: scale(1); /* גודל טבעי */
}

/* --- שאר העיצוב הפנימי (כמו שביקשת) --- */
/* כפתור סגירה */
#search-close {
  position: absolute;
  top: 30px;
  left: 30px;
  background: none;
  border: none;
  font-size: 40px;
  color: #fff;
  cursor: pointer;
  line-height: 1;
  z-index: 100;
}

.search-form-wrapper {
  width: 90%;
  max-width: 700px;
  text-align: center;
  position: relative;
}

.search-form-wrapper h3 {
  color: #fff;
  font-size: 30px;
  font-weight: 300;
  margin-bottom: 20px;
}

/* יישור האלמנטים בתוך הטופס */
.search-form-wrapper form {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

/* שדה הקלט */
input.search-field {
  background: transparent !important;
  border: none !important;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5) !important;
  width: 100% !important;
  height: 60px !important;
  color: #fff !important;
  font-size: 36px !important;
  text-align: center;
  border-radius: 0 !important;
  outline: none;
  box-shadow: none !important;
  padding: 0 !important;
}

input.search-field:focus {
  border-bottom-color: #fff !important;
}

/* כפתור שליחה */
button.search-submit,
input.search-submit {
  margin-top: 30px !important;
  background: #0073aa !important;
  color: #fff !important;
  border: none !important;
  padding: 12px 40px !important;
  font-size: 20px !important;
  font-weight: bold !important;
  border-radius: 50px !important;
  cursor: pointer;
  width: auto !important;
  transition: transform 0.2s;
}

button.search-submit:hover,
input.search-submit:hover {
  background: #fff !important;
  color: #0073aa !important;
  transform: scale(1.05);
}

/* --- עיצוב לוגו נקי (ידני) --- */
.site-branding {
  display: flex;
  align-items: center;
  padding: 10px 0;
}

/* העיצוב לתמונה הנקייה שיצרנו */
.my-custom-logo {
  height: 70px; /* גובה קבוע וברור לדסקטופ */
  width: auto; /* שומר על פרופורציות */
  max-width: 100%; /* מונע גלישה */
  display: block;
  -o-object-fit: contain;
     object-fit: contain;
}

/* התאמה למובייל */
@media (max-width: 768px) {
  .my-custom-logo {
    height: 60px; /* גובה קטן ונוח למובייל */
  }
  .site-branding {
    display: flex;
    align-items: center;
    padding: 0px 0;
  }
}
/* עיצוב לטקסט (אם אין תמונה) */
.text-logo {
  font-size: 24px;
  font-weight: bold;
  color: #333;
  text-decoration: none;
}

html, body {
  overflow-x: hidden; /* מונע גלילה צידית בכל האתר */
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding: 0;
}

.bg-light {
  background-color: #F9F7F2;
}

.bg-dark {
  background-color: #1A2C42;
  color: #FFFFFF;
}

.light-text {
  color: #FFFFFF !important;
}

section {
  padding: 80px 0;
  position: relative;
  width: 100%; /* מוודא שסקשן לא חורג */
  overflow: hidden; /* מונע מאלמנטים פנימיים לפרוץ החוצה */
}
@media (max-width: 768px) {
  section {
    padding: 50px 0;
  }
}

.section-title {
  font-size: 2.5rem;
  color: #1A2C42;
  margin-bottom: 1.5rem;
  font-weight: 700;
}
.section-title.center {
  text-align: center;
}
.section-title.light-text {
  color: #C5A065;
}

.container {
  max-width: 1200px;
  width: 100%; /* חשוב למובייל */
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box; /* מונע מהפדינג להרחיב את האלמנט */
}

.section-hero {
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  color: #FFFFFF;
  padding: 0;
}
.section-hero .hero-video-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}
.section-hero .hero-video-wrapper video {
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
  height: 100%;
}
.section-hero .hero-video-wrapper .video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 44, 66, 0.6);
}
.section-hero .hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: 0 15px; /* מונע הידבקות לצדדים במובייל */
}
.section-hero .hero-content h1 {
  font-size: 4rem;
  margin-bottom: 20px;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}
@media (max-width: 768px) {
  .section-hero .hero-content h1 {
    font-size: 2.5rem;
  }
}
.section-hero .hero-content .hero-subtitle {
  font-size: 1.5rem;
  margin-bottom: 40px;
  font-weight: 300;
}
.section-hero .hero-content .btn-primary {
  background-color: #C5A065;
  color: #FFFFFF;
  padding: 15px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 700;
  font-size: 1.2rem;
  transition: 0.3s;
  display: inline-block;
}
.section-hero .hero-content .btn-primary:hover {
  background-color: rgb(210.9528301887, 182.8537735849, 138.0471698113);
  transform: translateY(-3px);
}

.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
@media (max-width: 768px) {
  .grid-2-col {
    grid-template-columns: 1fr;
    gap: 30px; /* צמצום רווח במובייל */
  }
}
.grid-2-col img {
  width: 100%;
  height: auto; /* שומר על פרופורציה */
  border-radius: 10px;
  box-shadow: 10px 10px 0px #C5A065;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}
@media (max-width: 768px) {
  .benefits-grid {
    grid-template-columns: 1fr;
  }
}
.benefits-grid .benefit-card {
  background: #FFFFFF;
  padding: 30px;
  border-radius: 8px;
  text-align: center;
  transition: 0.3s;
  border: 1px solid rgba(0, 0, 0, 0.05);
}
.benefits-grid .benefit-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
.benefits-grid .benefit-card .icon-box {
  font-size: 3rem;
  color: #C5A065;
  margin-bottom: 20px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.benefits-grid .benefit-card .icon-box i {
  display: block;
}
.benefits-grid .benefit-card .icon-box img {
  max-height: 100%;
  width: auto;
}
.benefits-grid .benefit-card h3 {
  color: #1A2C42;
  margin-bottom: 10px;
}

.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}
@media (max-width: 768px) {
  .articles-grid {
    grid-template-columns: 1fr;
  }
}
.articles-grid .post-card .post-thumb {
  overflow: hidden;
  border-radius: 8px;
}
.articles-grid .post-card .post-thumb img {
  width: 100%;
  height: 250px;
  -o-object-fit: cover;
     object-fit: cover;
  transition: 0.5s;
}
.articles-grid .post-card .post-thumb:hover img {
  transform: scale(1.05);
}
.articles-grid .post-card .post-content {
  padding: 20px 0;
}
.articles-grid .post-card .post-content .post-date {
  font-size: 0.9rem;
  color: #999;
}
.articles-grid .post-card .post-content h3 a {
  text-decoration: none;
  color: #1A2C42;
  font-size: 1.4rem;
}
.articles-grid .post-card .post-content .read-more {
  color: #C5A065;
  text-decoration: none;
  font-weight: bold;
}

.clients-section {
  padding: 50px 0;
  direction: ltr;
  width: 100%;
  max-width: 100vw; /* מגביל את הרוחב לרוחב המסך */
  overflow: hidden; /* החלק הכי חשוב! חותך כל חריגה */
}

.clients-section h2 {
  text-align: center;
  direction: rtl;
  margin-bottom: 40px;
  font-size: 32px;
  color: #333;
  padding: 0 15px;
}

.clients-carousel {
  direction: ltr;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s ease;
  /* מניעת חריגה של הקרוסלה עצמה */
  width: 100%;
  max-width: 1200px; /* או $container-width */
  margin: 0 auto;
  overflow: hidden;
}

.clients-carousel.slick-initialized {
  visibility: visible;
  opacity: 1;
  /* במצב של slick לפעמים ה-overflow:hidden צריך להיות על ה-slick-list */
  overflow: visible;
}

/* Slick List Fix */
.clients-carousel .slick-list {
  overflow: hidden; /* זה מה שמונע את הגלילה הצידית מהרשימה הארוכה */
}

.clients-carousel .slick-slide {
  display: block !important;
  height: auto !important;
  min-height: 80px;
  outline: none;
}

.clients-carousel .slick-slide img {
  display: block !important;
  width: 100% !important;
  max-width: 180px;
  height: auto !important;
  margin: 0 auto;
  opacity: 1 !important;
  transition: all 0.3s ease;
}

.clients-carousel .slick-track {
  display: flex !important;
  align-items: center;
}

.clients-carousel .carousel-item {
  text-align: center;
  padding: 0 15px;
}

.clients-carousel .carousel-item img {
  display: inline-block;
  max-width: 100%;
  max-height: 80px;
  width: auto;
  margin: 0 auto;
  filter: grayscale(100%);
  opacity: 0.6;
  transition: all 0.3s ease;
}

.clients-carousel .carousel-item img:hover {
  filter: grayscale(0);
  opacity: 1;
  transform: scale(1.05);
}

button.slick-next.slick-arrow {
  left: -15px !important;
}

button.slick-prev.slick-arrow {
  right: -15px !important;
}

.section-quality .stamp-badge {
  width: 200px;
  height: 200px;
  background: #C5A065;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1A2C42;
  font-weight: 900;
  font-size: 2rem;
  text-align: center;
  transform: rotate(-15deg);
  border: 5px solid rgba(255, 255, 255, 0.2);
  margin: 0 auto;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.section-quality .text-light {
  font-size: 1.2rem;
  line-height: 1.8;
}
.section-quality .text-light ul {
  list-style: none;
  padding: 0;
}
.section-quality .text-light ul li {
  margin-bottom: 10px;
}
.section-quality .text-light ul li:before {
  content: "✓";
  color: #C5A065;
  margin-left: 10px;
  font-weight: bold;
}

.narrow-container {
  max-width: 800px;
  width: 100%; /* התאמה למובייל */
  margin: 0 auto;
  padding: 0 15px;
}

.contact-form-wrapper {
  background: #FFFFFF;
  padding: 40px;
  border-radius: 10px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
  margin-top: 30px;
  /* פחות ריווח במובייל */
}
@media (max-width: 768px) {
  .contact-form-wrapper {
    padding: 25px;
  }
}
.contact-form-wrapper input:not([type=submit]), .contact-form-wrapper textarea {
  width: 100%;
  padding: 15px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-family: "Alef", sans-serif;
  box-sizing: border-box;
}
.contact-form-wrapper input:not([type=submit]):focus, .contact-form-wrapper textarea:focus {
  border-color: #C5A065;
  outline: none;
}
.contact-form-wrapper input[type=submit] {
  background-color: #1A2C42;
  color: white;
  border: none;
  padding: 15px 40px;
  font-size: 1.1rem;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
  width: 100%;
}
.contact-form-wrapper input[type=submit]:hover {
  background-color: #C5A065;
}
.contact-form-wrapper .wpcf7-response-output {
  border-radius: 5px;
  padding: 10px;
  text-align: center;
  margin-top: 20px;
}

/* --- עיצוב עמוד סינגל (Single Post) - מעודכן --- */
/* הגדרת משתנה צבע (אם לא מוגדר אצלך במקום אחר, תשאירי את זה) */
/* 1. באנר הירו */
.post-hero {
  position: relative;
  height: 400px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
  margin-bottom: 60px;
}
.post-hero .hero-overlay {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.6); /* כהה כדי שהטקסט יבלוט */
  z-index: 1;
}
.post-hero .hero-content {
  position: relative;
  z-index: 2;
  width: 100%; /* חשוב למרכוז */
}
.post-hero h1.post-title {
  font-size: 42px;
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.2;
  /* התאמה למובייל */
}
@media (max-width: 768px) {
  .post-hero h1.post-title {
    font-size: 28px;
    padding: 0 15px;
  }
}
.post-hero .breadcrumbs {
  font-size: 16px;
  opacity: 0.9;
}
.post-hero .breadcrumbs a {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: 0.3s;
}
.post-hero .breadcrumbs a:hover {
  border-color: #fff;
}

/* 2. לייאוט העמוד (Sidebar + Content) */
.single-post-layout {
  display: grid;
  grid-template-columns: 300px 1fr; /* סרגל צד 300px והשאר תוכן */
  gap: 60px;
  position: relative;
  padding-bottom: 80px;
}
@media (max-width: 991px) {
  .single-post-layout {
    grid-template-columns: 1fr; /* במובייל עמודה אחת */
    gap: 30px;
    /* במובייל נעביר את תוכן העניינים למעלה */
  }
  .single-post-layout .post-sidebar {
    order: -1;
  }
}

/* 3. סרגל צד דביק (Sticky) */
.sidebar-sticky-wrapper {
  position: sticky;
  top: 40px; /* נדבק 40 פיקסל מהחלק העליון */
  background: #f9f9f9;
  padding: 30px;
  border-radius: 12px;
  border: 1px solid #eee;
}

/* כפתורי גודל פונט */
.font-controls {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
  /* תוקן: סגירת סוגריים שהייתה חסרה */
}
.font-controls span {
  font-weight: bold;
  font-size: 14px;
  color: #555;
}
.font-controls button {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 5px;
  width: 35px;
  height: 35px;
  cursor: pointer;
  transition: 0.2s;
  font-weight: bold;
}
.font-controls button:hover {
  background: #0073aa;
  color: #fff;
  border-color: #0073aa;
}

/* תוכן עניינים */
.toc-title {
  font-size: 18px;
  margin-bottom: 15px;
  border-right: 4px solid #0073aa;
  padding-right: 10px;
}

#toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
#toc-list li {
  margin-bottom: 10px;
  /* הזחה לכותרות H3 */
}
#toc-list li a {
  text-decoration: none;
  color: #666;
  font-size: 15px;
  transition: 0.2s;
  display: block;
}
#toc-list li a:hover, #toc-list li a.active {
  color: #0073aa;
  padding-right: 5px;
  font-weight: 600;
}
#toc-list li.toc-h3 {
  padding-right: 15px;
  font-size: 14px;
}

/* 4. עיצוב תוכן המאמר */
.post-content-area {
  font-size: 18px; /* גודל בסיס נעים */
  line-height: 1.8;
  color: #333;
  max-width: 800px; /* רוחב קריאה אופטימלי */
  margin: 0 auto;
}
.post-content-area .post-meta {
  color: #888;
  font-size: 14px;
  margin-bottom: 30px;
}
.post-content-area .post-meta span {
  margin-left: 15px;
}
.post-content-area .post-meta i {
  margin-left: 5px;
}
.post-content-area .entry-content h2 {
  font-size: 30px;
  color: #222;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 700;
  /* התאמה למובייל */
}
@media (max-width: 768px) {
  .post-content-area .entry-content h2 {
    font-size: 24px;
    margin-top: 30px;
    line-height: 1.4;
  }
}
.post-content-area .entry-content h3 {
  font-size: 24px;
  color: #333;
  margin-top: 30px;
  margin-bottom: 15px;
  font-weight: 600;
  /* התאמה למובייל */
}
@media (max-width: 768px) {
  .post-content-area .entry-content h3 {
    font-size: 20px;
    margin-top: 25px;
  }
}
.post-content-area .entry-content p {
  margin-bottom: 20px;
  transition: font-size 0.3s ease;
}
.post-content-area .entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 20px 0;
}
.post-content-area .entry-content blockquote {
  border-right: 5px solid #0073aa;
  background: #f4f8fb;
  padding: 20px;
  font-style: italic;
  margin: 30px 0;
}

/* 5. אזור "אולי יעניין אתכם" */
.related-posts-section {
  background: #f5f5f5;
  padding: 60px 0;
  margin-top: 60px;
}
.related-posts-section .related-title {
  text-align: center;
  font-size: 28px;
  margin-bottom: 40px;
}

/* עיצוב כרטיסי פוסט (משותף לארכיון ולסינגל) */
.post-card-item, .post-card-archive {
  padding: 10px; /* מרווח לקרוסלה */
  /* תוקן: סגירת סוגריים שהייתה חסרה */
}
.post-card-item .card-link, .post-card-item .card-inner, .post-card-archive .card-link, .post-card-archive .card-inner {
  display: block;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  color: inherit;
  height: 100%;
}
.post-card-item .card-link:hover, .post-card-item .card-inner:hover, .post-card-archive .card-link:hover, .post-card-archive .card-inner:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}
.post-card-item .card-link:hover .card-title, .post-card-item .card-inner:hover .card-title, .post-card-archive .card-link:hover .card-title, .post-card-archive .card-inner:hover .card-title {
  color: #0073aa;
}
.post-card-item .card-image, .post-card-item .card-thumb, .post-card-archive .card-image, .post-card-archive .card-thumb {
  height: 200px;
  overflow: hidden;
  position: relative;
}
.post-card-item .card-image img, .post-card-item .card-thumb img, .post-card-archive .card-image img, .post-card-archive .card-thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  transition: 0.5s;
}
.post-card-item .card-link:hover img, .post-card-item .card-inner:hover img, .post-card-archive .card-link:hover img, .post-card-archive .card-inner:hover img {
  transform: scale(1.1);
}
.post-card-item .card-content, .post-card-item .card-body, .post-card-archive .card-content, .post-card-archive .card-body {
  padding: 20px;
}
.post-card-item .card-title, .post-card-archive .card-title {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.4;
  /* התאמה למובייל */
}
@media (max-width: 768px) {
  .post-card-item .card-title, .post-card-archive .card-title {
    font-size: 18px; /* גודל נוח לכרטיסים */
  }
}
.post-card-item .card-excerpt, .post-card-archive .card-excerpt {
  font-size: 14px;
  color: #666;
  margin-bottom: 15px;
}
.post-card-item .read-more-btn, .post-card-item .card-cta, .post-card-archive .read-more-btn, .post-card-archive .card-cta {
  font-size: 14px;
  font-weight: bold;
  color: #0073aa;
}

/* --- עיצוב הארכיון --- */
.archive-header .archive-title {
  /* התאמה למובייל לכותרת ראשית בארכיון */
}
@media (max-width: 768px) {
  .archive-header .archive-title {
    font-size: 32px;
  }
}

.posts-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}
@media (max-width: 991px) {
  .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 600px) {
  .posts-grid {
    grid-template-columns: 1fr;
  }
}

/* --- עיצוב תבנית הצהרת נגישות --- */
.accessibility-page-wrapper {
  background-color: #fff; /* רקע לבן נקי חובה */
  color: #000; /* טקסט שחור לניגודיות מקסימלית */
  padding-bottom: 80px;
}

/* 1. כותרת עליונה */
.access-header {
  background-color: #f0f0f0; /* אפור בהיר מאוד שלא מסנוור */
  padding: 50px 0;
  margin-bottom: 50px;
  border-bottom: 2px solid #000; /* קו הפרדה ברור */
}
.access-header h1.page-title {
  font-size: 40px;
  font-weight: 700;
  color: #000;
  margin-bottom: 10px;
  text-align: center;
}
.access-header .last-updated {
  text-align: center;
  font-size: 16px;
  font-weight: bold;
  color: #333;
}

/* 2. תיבת התוכן */
.access-content-box {
  max-width: 800px; /* רוחב קריאה נוח */
  margin: 0 auto;
  font-size: 18px; /* פונט גדול כברירת מחדל */
  line-height: 1.8;
}

/* עיצוב אלמנטים בתוך התוכן */
.access-content-box h2 {
  font-size: 28px;
  font-weight: 700;
  margin-top: 40px;
  margin-bottom: 20px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  color: #000;
}

.access-content-box h3 {
  font-size: 22px;
  font-weight: 600;
  margin-top: 30px;
  margin-bottom: 15px;
  color: #000;
}

.access-content-box p,
.access-content-box li {
  margin-bottom: 15px;
  color: #222;
}

.access-content-box ul {
  margin-right: 20px; /* הזחה מימין לרשימות */
}

/* קישורים בתוך הטקסט - חייבים להיות ברורים */
.access-content-box a {
  color: #0056b3; /* כחול כהה */
  text-decoration: underline; /* קו תחתון חובה בנגישות */
  font-weight: bold;
}

.access-content-box a:hover,
.access-content-box a:focus {
  background-color: #ffe800; /* רקע צהוב בפוקוס */
  color: #000;
  outline: 2px solid #000;
}

/* 3. אזור יצירת קשר בתחתית */
.access-contact-area {
  max-width: 800px;
  margin: 60px auto 0;
  background: #f9f9f9;
  padding: 30px;
  border: 1px solid #ddd;
  border-radius: 8px;
  text-align: center;
}
.access-contact-area h3 {
  margin-top: 0;
}
.access-contact-area .btn-access-contact {
  display: inline-block;
  background: #000;
  color: #fff;
  padding: 12px 30px;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  border-radius: 5px;
  margin-top: 15px;
  transition: all 0.3s;
}
.access-contact-area .btn-access-contact:hover, .access-contact-area .btn-access-contact:focus {
  background: #333;
  transform: translateY(-3px);
  outline: 3px solid #ffe800; /* פוקוס נגיש */
}

/* --- עיצוב טבלת השוואה מודרנית --- */
.comparison-table-wrapper {
  margin: 40px 0;
  overflow-x: auto; /* למקרה חירום של גלישה */
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  border-radius: 8px;
}

.modern-table {
  width: 100%;
  border-collapse: collapse;
  background-color: #fff;
  font-size: 16px;
  direction: rtl;
  text-align: right;
}

/* כותרות הטבלה (דסקטופ) */
.modern-table thead th {
  background-color: #121c2d; /* כחול כהה/שחור של המותג */
  color: #fff;
  padding: 15px;
  font-weight: 700;
  font-size: 18px;
  border-bottom: 3px solid #c5a47e; /* פס זהב יוקרתי למטה */
}

/* תאים רגילים */
.modern-table td {
  padding: 15px;
  border-bottom: 1px solid #eee;
  color: #333;
  vertical-align: top;
  line-height: 1.6;
}

/* הדגשת עמודת הקריטריון */
.modern-table .criteria-cell {
  font-weight: 700;
  color: #0073aa; /* או צבע דומיננטי אחר */
  background-color: #f9f9f9;
  width: 20%;
}

/* אפקט מעבר עכבר */
.modern-table tbody tr:hover {
  background-color: #fffdf5; /* צבע רקע עדין בהובר */
}

/* --- התאמה למובייל (הופך לכרטיסיות) --- */
@media (max-width: 768px) {
  .modern-table,
  .modern-table thead,
  .modern-table tbody,
  .modern-table th,
  .modern-table td,
  .modern-table tr {
    display: block; /* הופך הכל לבלוקים */
  }
  /* הסתרת הכותרות הרגילות */
  .modern-table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  .modern-table tr {
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 20px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    overflow: hidden;
  }
  .modern-table td {
    /* מסדר את התוכן והתווית */
    border: none;
    border-bottom: 1px solid #eee;
    position: relative;
    padding-right: 50%; /* משאיר מקום לכותרת */
    min-height: 40px;
  }
  /* העיצוב של "קריטריון" במובייל הופך לכותרת הכרטיס */
  .modern-table .criteria-cell {
    background-color: #c5a47e; /* רקע זהב */
    color: #fff !important;
    text-align: center;
    font-size: 18px;
    padding-right: 15px;
    font-weight: bold;
    width: 100%;
  }
  /* שימוש ב-Data Label כדי להציג את הכותרת */
  .modern-table td:not(.criteria-cell):before {
    content: attr(data-label); /* לוקח את הטקסט מה-HTML */
    position: absolute;
    top: 15px;
    right: 15px;
    width: 45%;
    padding-left: 10px;
    white-space: nowrap;
    font-weight: bold;
    color: #121c2d;
  }
  /* הסתרת הכותרת הכפולה בשורה הראשונה אם יש צורך, 
     אבל במקרה הזה הפכנו את הקריטריון לכותרת ראשית אז זה בסדר */
}
/* --- עיצוב עמוד מדיניות פרטיות --- */
.privacy-page-container {
  max-width: 800px; /* רוחב קריאה אופטימלי */
  margin: 0 auto;
  padding-bottom: 80px;
}

.privacy-header {
  text-align: center;
  margin-bottom: 40px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}

.privacy-header h1 {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 10px;
}

.privacy-header .last-updated {
  color: #888;
  font-size: 14px;
}

.privacy-content {
  font-size: 16px;
  line-height: 1.8;
  color: #333;
  margin-bottom: 60px;
}

.privacy-content h2 {
  font-size: 24px;
  margin-top: 30px;
}

.privacy-content ul {
  margin-right: 20px;
}

/* קופסת יצירת קשר */
.privacy-contact-box {
  background: #f9f9f9;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  padding: 30px;
  text-align: center;
}

.privacy-contact-box h3 {
  margin-top: 0;
  font-size: 22px;
}

.contact-methods {
  display: flex;
  justify-content: center;
  gap: 30px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.contact-item {
  font-size: 18px;
}

.contact-item a {
  color: #0073aa;
  font-weight: bold;
  text-decoration: none;
}

/* --- פופאפ מדיניות פרטיות --- */
#privacy-popup-overlay {
  position: fixed;
  bottom: 20px;
  left: 20px; /* צף בצד שמאל למטה ולא מפריע באמצע */
  width: 350px;
  background: #fff;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  border-radius: 12px;
  z-index: 99999;
  padding: 25px;
  display: none; /* מוסתר כברירת מחדל */
  border-right: 5px solid #0073aa; /* פס צבע מותג */
}

.privacy-popup-content {
  position: relative;
}

#close-privacy-popup {
  position: absolute;
  top: -15px;
  left: -15px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: #999;
}

.popup-icon {
  font-size: 30px;
  color: #0073aa;
  margin-bottom: 15px;
}

.privacy-popup-content h3 {
  margin: 0 0 10px 0;
  font-size: 20px;
}

.privacy-popup-content p {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
  margin-bottom: 20px;
}

.popup-actions {
  display: flex;
  gap: 10px;
}

.btn-read-policy {
  background: #0073aa;
  color: #fff;
  padding: 8px 15px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 13px;
  font-weight: bold;
}

.btn-dismiss {
  background: #eee;
  color: #333;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
}

/* התאמה למובייל */
@media (max-width: 480px) {
  #privacy-popup-overlay {
    left: 0;
    bottom: 0;
    width: 100%;
    border-radius: 12px 12px 0 0;
    border-right: none;
    border-top: 5px solid #0073aa;
  }
}
/* --- עיצוב פוטר מלא --- */
.site-footer {
  background-color: #121c2d; /* רקע כחול כהה */
  color: #b0b8c6;
  padding-top: 60px;
  margin-top: 50px;
  direction: rtl;
  text-align: right;
  font-size: 15px;
}

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

/* הגריד של 3 העמודות */
.footer-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col {
  flex: 1;
  min-width: 280px;
}

/* כותרות בפוטר */
.footer-title {
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
  font-weight: bold;
  border-bottom: 2px solid #c5a47e; /* פס זהב */
  display: inline-block;
  padding-bottom: 5px;
}

/* לוגו בפוטר */
.footer-logo img {
  max-height: 50px;
  width: auto;
  margin-bottom: 15px;
  /* במקרה שהלוגו שלך שחור, זה יהפוך אותו ללבן: */
  filter: brightness(0) invert(1);
}

/* רשימת תפריט */
.footer-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-menu-list li a {
  color: #b0b8c6;
  text-decoration: none;
  line-height: 2;
  transition: 0.3s;
}

.footer-menu-list li a:hover {
  color: #fff;
  padding-right: 5px;
}

/* פוסטים אחרונים */
.recent-post-item {
  display: flex;
  align-items: center;
  text-decoration: none;
  margin-bottom: 15px;
}

.rp-thumb {
  width: 60px;
  height: 60px;
  margin-left: 15px;
  background: #333;
  border-radius: 4px;
  overflow: hidden;
}

.rp-thumb img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}

.rp-title {
  color: #fff;
  font-size: 14px;
  margin: 0;
  line-height: 1.3;
}

.rp-date {
  font-size: 12px;
  color: #666;
  display: block;
  margin-top: 3px;
}

/* קרדיט למטה */
.footer-bottom {
  padding: 20px 0;
  text-align: center;
  font-size: 13px;
  background: #0a101a;
}

.footer-bottom p {
  margin: 0;
}

/* --- עיצוב אקורדיון שאלות ותשובות --- */
.post-faq-section {
  margin: 40px 0;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  border: 1px solid #eee;
}

.faq-main-title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  color: #121c2d;
}

.faq-item {
  background: #fff;
  margin-bottom: 10px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border: 1px solid #e0e0e0;
}

/* השאלה - החלק הלחיץ */
.faq-question {
  padding: 15px 20px;
  font-weight: bold;
  font-size: 18px;
  cursor: pointer; /* מראה יד של לחיצה */
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #fff;
  transition: background 0.2s ease;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none; /* מונע סימון טקסט בלחיצה כפולה */
}

.faq-question:hover {
  background-color: #f0f7fb; /* צבע רקע עדין במעבר עכבר */
}

/* צבע כחול כשהשאלה פתוחה */
.faq-question.active {
  color: #0073aa;
  background-color: #f0f7fb;
}

/* האייקון בצד */
.faq-icon {
  font-size: 24px;
  line-height: 1;
  font-weight: normal;
  color: #0073aa;
  transition: transform 0.3s ease;
}

/* סיבוב האייקון כשהשאלה פתוחה */
.faq-question.active .faq-icon {
  transform: rotate(45deg);
}

/* התשובה - מוסתרת כברירת מחדל! */
.faq-answer {
  display: none; /* <--- חובה כדי שזה יהיה סגור בהתחלה */
  border-top: 1px solid #eee;
  background-color: #fff;
}

.answer-content {
  padding: 20px;
  line-height: 1.6;
  color: #555;
  font-size: 16px;
}/*# sourceMappingURL=style.css.map */