/* leshem-cl UX fixes (2026-08-25) — no visual redesign, additive only */

/* 1) Practice-area cards: whole card clickable via overlay pseudo-element */
body.page-id-178 .elementor-column.elementor-inner-column > .elementor-widget-wrap {
  position: relative;
}
body.page-id-178 .elementor-column.elementor-inner-column > .elementor-widget-wrap > .elementor-element {
  position: static;
}
body.page-id-178 .elementor-column.elementor-inner-column > .elementor-widget-wrap .elementor-widget-button .elementor-button-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
}
body.page-id-178 .elementor-column.elementor-inner-column > .elementor-widget-wrap:hover {
  cursor: pointer;
}
body.page-id-178 .elementor-column.elementor-inner-column > .elementor-widget-wrap a:not(.elementor-button-link) {
  position: relative;
  z-index: 3;
}

/* 2) Click-to-call button inside dark CTA banners */
a.leshem-tel-btn {
  display: inline-block;
  margin-top: 14px;
  padding: 12px 28px;
  background: #ffffff;
  color: #14224a !important;
  border: 2px solid #ffffff;
  border-radius: 999px;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  text-decoration: none !important;
  direction: ltr;
  unicode-bidi: isolate;
  transition: background-color 0.2s ease, color 0.2s ease;
}
a.leshem-tel-btn:hover,
a.leshem-tel-btn:focus {
  background: transparent;
  color: #ffffff !important;
}
@media (max-width: 767px) {
  a.leshem-tel-btn {
    display: block;
    width: 100%;
    padding: 14px 12px;
    font-size: 19px;
  }
}

/* 3) Home hero (mobile): stop the contact-form card from covering the checkmarks */
@media (max-width: 767px) {
  body.page-id-7 .elementor-element-982328c {
    margin-top: 0 !important;
  }
  body.page-id-7 .elementor-element-c1cb7cc {
    margin-bottom: 12px;
  }
}

/* 4) Mobile: keep footer legal row clear of the floating call button */
@media (max-width: 767px) {
  .leshem-footer-legal {
    padding-bottom: 120px !important;
  }
}

/* ============ תיקוני עמודים (2026-08-25) ============ */

/* 2) רכיב שתוכנן למובייל (עוגן #form1) — מוסתר בדסקטופ במקום קישור שבור */
@media (min-width: 768px) {
  .leshem-mobile-only {
    display: none !important;
  }
}

/* 3) עמוד צור קשר */
.leshem-contact-wrap {
  max-width: 1140px;
  margin: 0 auto;
  padding: 48px 16px 8px;
  font-family: "Heebo", sans-serif;
  text-align: right;
}
.leshem-contact-title {
  color: #14224a;
  font-size: 34px;
  font-weight: 700;
  margin: 0 0 10px;
}
.leshem-contact-sub {
  color: #4a5568;
  font-size: 17px;
  line-height: 1.8;
  margin: 0 0 28px;
}
.leshem-contact-sub a {
  color: #14224a;
  font-weight: 700;
  text-decoration: none;
}
.leshem-contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 28px;
  align-items: start;
}
.leshem-contact-card {
  background: #14224a;
  border-radius: 14px;
  padding: 26px 24px;
  box-shadow: 0 10px 30px rgba(20, 34, 74, 0.14);
}
.leshem-contact-card .elementor-field-textual {
  width: 100%;
  background: #ffffff;
  border: 1px solid #d7dce6;
  border-radius: 8px;
  padding: 12px 14px;
  font-size: 16px;
  color: #14224a;
  margin-bottom: 12px;
}
.leshem-contact-card .elementor-field-textual:focus {
  outline: 2px solid #7fa7d4;
  outline-offset: 1px;
}
.leshem-contact-card .leshem-consent,
.leshem-contact-card .leshem-consent a {
  color: #ffffff;
}
.leshem-contact-card .elementor-button {
  width: 100%;
  margin-top: 14px;
  padding: 14px 18px;
  background: #ffffff;
  color: #14224a;
  border: 0;
  border-radius: 8px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease;
}
.leshem-contact-card .elementor-button:hover {
  background: #cfe0f3;
}
.leshem-contact-info {
  background: #f5f7fb;
  border: 1px solid #e2e8f2;
  border-radius: 14px;
  padding: 26px 24px;
}
.leshem-contact-info h3 {
  color: #14224a;
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 12px;
}
.leshem-contact-info h3 + ul {
  margin-bottom: 24px;
}
.leshem-contact-list,
.leshem-contact-hours {
  list-style: none;
  margin: 0;
  padding: 0;
  color: #33415c;
  font-size: 16px;
  line-height: 1.9;
}
.leshem-contact-list a {
  color: #14224a;
  font-weight: 700;
  text-decoration: none;
}
.leshem-contact-hours li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px dashed #d5dced;
  padding: 4px 0;
}
.leshem-contact-note {
  color: #4a5568;
  font-size: 15px;
  line-height: 1.8;
  margin: 18px 0 14px;
}
a.leshem-contact-cta {
  background: #14224a;
  color: #ffffff !important;
  border-color: #14224a;
  text-align: center;
}
a.leshem-contact-cta:hover,
a.leshem-contact-cta:focus {
  background: #ffffff;
  color: #14224a !important;
}
@media (max-width: 900px) {
  .leshem-contact-grid {
    grid-template-columns: 1fr;
  }
  .leshem-contact-title {
    font-size: 27px;
  }
}

/* 4) עמוד תודה — כפתור חזרה לעמוד הבית */
.leshem-back-home-section {
  padding: 8px 16px 56px;
  text-align: center;
}
a.leshem-back-home {
  display: inline-block;
  padding: 14px 40px;
  background: #14224a;
  color: #ffffff !important;
  border: 2px solid #14224a;
  border-radius: 999px;
  font-family: "Heebo", sans-serif;
  font-size: 18px;
  font-weight: 700;
  text-decoration: none !important;
  transition: background-color 0.2s ease, color 0.2s ease;
}
a.leshem-back-home:hover,
a.leshem-back-home:focus {
  background: #ffffff;
  color: #14224a !important;
}
.leshem-contact-map {
  margin-top: 28px;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid #e2e8f2;
  line-height: 0;
}
.leshem-contact-map iframe {
  display: block;
  width: 100%;
  height: 380px;
  border: 0;
}
@media (max-width: 900px) {
  .leshem-contact-map iframe { height: 280px; }
}

/* עמוד תודה — כותרת ה-H1 הוסתרה ע"י אפקט opacity תלוי-גלילה של Elementor */
.elementor-4708 .elementor-element-a8b0330 {
  opacity: 1 !important;
  transform: none !important;
}

/* ============ סליידרים בדף הבית: כל הכרטיסייה לחיצה (2026-08-25) ============ */
/* התבנית 9447 משמשת גם ל"מן התקשורת" וגם ל"ראיונות ופודקאסטים" */
.elementor-9447.swiper-slide {
  position: relative;
}
.elementor-9447.swiper-slide .elementor-element-9426202,
.elementor-9447.swiper-slide .e-con-inner,
.elementor-9447.swiper-slide .elementor-element-1bded5b,
.elementor-9447.swiper-slide .elementor-element-60213fd,
.elementor-9447.swiper-slide .elementor-widget {
  position: static;
}
.elementor-9447.swiper-slide .elementor-image-box-title a::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  /* לא לחסום swipe/גרירה של הסליידר */
  pointer-events: auto;
}
.elementor-9447.swiper-slide {
  cursor: pointer;
}
/* למנוע גרירת-קישור מקורית שתפריע ל-swipe של הסליידר */
.elementor-9447.swiper-slide .elementor-image-box-title a {
  -webkit-user-drag: none;
  user-select: none;
}
