/*
 * single-post.css - עמוד פוסט בודד + עמוד חיפוש
 * פלטה: lime #c3e85b | dark #242424 | bg #f5f5f5 | muted #585858 / #8b8b8b
 * RTL: flex-start=ימין, flex-end=שמאל
 * אפס letter-spacing
 */

/* ============================================================
   S1 HERO SPLIT - תמונה בצד + מטא בצד (לפי ספק יונתן)
   רקע כהה #242424, טקסט לבן
   RTL: מטא DOM-ראשון = ימין, תמונה DOM-שני = שמאל
   ============================================================ */
.sp-post-hero-split {
  background: #242424;
}

.sp-post-hero-split__inner {
  /* full-bleed: ה-inner נמתח לכל הרוחב כדי שהתמונה תזלוג עד קצה המסך משמאל.
     המטא מיושר לקצה התוכן מימין דרך margin-right (gutter של הקונטיינר 1244/98). */
  max-width: none;
  margin-inline: 0;
  padding-inline: 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  min-height: 560px;
}

/* --- צד ימין: מטא (DOM ראשון = ימין ב-RTL) --- */
.sp-post-hero-split__meta {
  flex: 0 0 562px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  /* physical: top | right=0 | bottom | left=48 (רווח מהתמונה) */
  padding: 64px 0 64px 48px;
  /* דוחף את הקצה הימני של המטא פנימה ל-gutter של התוכן (התמונה ממשיכה שמאלה עד 0) */
  margin-right: max(24px, calc((100vw - 1244px) / 2 + 98px));
  gap: 0;
}

/* breadcrumb בהיר */
.sp-post-hero-split__breadcrumb {
  font-size: 0.8125rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 20px;
}
.sp-post-hero-split__breadcrumb a {
  color: rgba(255,255,255,.5);
  text-decoration: none;
  transition: color 0.15s ease;
}
.sp-post-hero-split__breadcrumb a:hover {
  color: rgba(255,255,255,.85);
}
.sp-post-hero-split__breadcrumb span[aria-current="page"] {
  color: rgba(255,255,255,.7);
}

/* eyebrow chip: ליים, גודל 12px */
.sp-post-hero-split__eyebrow {
  display: inline-flex;
  align-self: flex-start;
  background: #c3e85b;
  color: #242424;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 16px;
}

/* כותרת */
.sp-post-hero-split__title {
  font-size: clamp(1.75rem, 2.5vw, 2.5rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  text-wrap: balance;
  margin: 0 0 16px;
}

/* תקציר */
.sp-post-hero-split__excerpt {
  font-size: 1rem;
  font-weight: 400;
  color: rgba(255,255,255,.72);
  line-height: 1.7;
  text-wrap: pretty;
  margin: 0 0 24px;
}

/* שורת מטא: זמן קריאה · מאת · תאריך */
.sp-post-hero-split__info {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.875rem;
  color: rgba(255,255,255,.55);
}

.sp-post-hero-split__info-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.sp-post-hero-split__info-dot {
  width: 3px;
  height: 3px;
  background: rgba(255,255,255,.35);
  border-radius: 50%;
  flex-shrink: 0;
}

/* --- צד שמאל: תמונה (DOM שני = שמאל ב-RTL) --- */
.sp-post-hero-split__image {
  flex: 1;
  position: relative;
  overflow: hidden;
}

.sp-post-hero-split__image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 0;
  margin: 0; /* מאפס ה-img margin הגלובלי */
}

.sp-post-hero-split__image-placeholder {
  position: absolute;
  inset: 0;
  background: #333;
}

/* responsive @900: עמודה אחת */
@media (max-width: 900px) {
  .sp-post-hero-split__inner {
    flex-direction: column;
    padding-inline: clamp(1rem, 4vw, 2rem);
    min-height: unset;
  }

  .sp-post-hero-split__meta {
    flex: none;
    padding: 48px 0 32px;
    margin-right: 0; /* איפוס ה-gutter בפריסת עמודה */
  }

  .sp-post-hero-split__image {
    flex: none;
    height: 280px;
    position: relative;
  }

  .sp-post-hero-split__image img {
    position: absolute;
  }
}

/* ============================================================
   S2 SHARE + TOC
   ============================================================ */
.sp-post-share-toc {
  background: #f5f5f5;
  border-bottom: 1px solid #e0e0e0;
  padding: 16px 0;
}

.sp-post-share-toc__inner {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.sp-post-share {
  display: flex;
  align-items: center;
  gap: 10px;
}

.sp-post-share__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #585858;
  white-space: nowrap;
}

.sp-post-share__icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sp-post-share__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  color: #585858;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
  text-decoration: none;
}
.sp-post-share__btn:hover {
  border-color: #c3e85b;
  color: #242424;
}
.sp-post-share__btn svg { display: block; }

/* TOC */
.sp-post-toc-wrap {
  position: relative;
}

.sp-post-toc__btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 10px 16px;
  font-family: inherit;
  font-size: 0.9375rem;
  font-weight: 500;
  color: #242424;
  cursor: pointer;
  white-space: nowrap;
  transition: border-color 0.15s ease;
}
.sp-post-toc__btn:hover { border-color: #c3e85b; }
.sp-post-toc__btn[aria-expanded="true"] .sp-post-toc__chevron { transform: rotate(180deg); }
.sp-post-toc__chevron { transition: transform 0.2s ease; flex-shrink: 0; }

.sp-post-toc__panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0; /* RTL: נפתח ימינה */
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  min-width: 280px;
  max-width: 360px;
  box-shadow: 0 8px 24px rgba(0,0,0,.1);
  z-index: 100;
  display: none;
}
.sp-post-toc__panel[style*="display: block"],
.sp-post-toc__panel.is-open { display: block; }

.sp-post-toc__nav {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.sp-post-toc__nav a {
  display: block;
  padding: 6px 8px;
  font-size: 0.875rem;
  color: #585858;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.1s ease, color 0.1s ease;
}
.sp-post-toc__nav a:hover { background: #f5f5f5; color: #242424; }
.sp-post-toc__nav a[data-level="3"] { padding-right: 20px; font-size: 0.8125rem; }

@media (max-width: 600px) {
  .sp-post-share-toc__inner { flex-direction: column; align-items: flex-start; }
  .sp-post-toc__panel { right: auto; left: 0; }
}

/* ============================================================
   S3 CONTENT BODY
   רקע #f5f5f5 - ישב על הרקע הגלובלי, אפס background לבן
   ============================================================ */
.sp-post-main {
  padding: 64px 0 0;
}

.sp-post-body-wrap {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

/* טיפוגרפיה של גוף הפוסט */
.sp-post-main .post-body,
.sp-post-main .entry-content {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: #333;
}

.sp-post-main .post-body h2,
.sp-post-main .entry-content h2 {
  font-size: 1.5rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-top: 48px;
  margin-bottom: 16px;
}

.sp-post-main .post-body h3,
.sp-post-main .entry-content h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1a1a1a;
  margin-top: 32px;
  margin-bottom: 12px;
}

.sp-post-main .post-body p,
.sp-post-main .entry-content p {
  margin-bottom: 24px;
  text-wrap: pretty;
}

.sp-post-main .post-body ul,
.sp-post-main .entry-content ul {
  list-style: none;
  margin-bottom: 24px;
  padding: 0;
}

.sp-post-main .post-body ul li,
.sp-post-main .entry-content ul li {
  position: relative;
  padding-right: 24px;
  margin-bottom: 10px;
  font-size: 1.0625rem;
}

.sp-post-main .post-body ul li::before,
.sp-post-main .entry-content ul li::before {
  content: '';
  position: absolute;
  right: 0;
  top: 10px;
  width: 6px;
  height: 6px;
  background: #c3e85b;
  border-radius: 50%;
}

.sp-post-main .post-body ol,
.sp-post-main .entry-content ol {
  padding-right: 24px;
  margin-bottom: 24px;
}

.sp-post-main .post-body a,
.sp-post-main .entry-content a {
  color: #1a3a5c;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.sp-post-main .post-body a:hover,
.sp-post-main .entry-content a:hover {
  color: #c3e85b;
}

.sp-post-main .post-body strong,
.sp-post-main .entry-content strong {
  font-weight: 700;
}

/* תמונות בגוף הפוסט */
.sp-post-main .post-body img,
.sp-post-main .entry-content img {
  border-radius: 28px;
  width: 100%;
  max-width: 100%;
  height: auto;
  margin: 40px auto;
  display: block;
}

/* figcaption */
.sp-post-main .post-body figcaption,
.sp-post-main .entry-content figcaption {
  font-size: 0.875rem;
  color: #8b8b8b;
  text-align: center;
  font-style: italic;
  margin-top: 8px;
}

/* BLOCKQUOTE - קו ליים ב-RTL = ימין */
.sp-post-main .post-body blockquote,
.sp-post-main .entry-content blockquote {
  margin: 48px 0;
  padding: 32px 32px 32px 0;
  border-right: 4px solid #c3e85b; /* RTL: ימין */
  border-left: none;
  background: transparent;
}

.sp-post-main .post-body blockquote p,
.sp-post-main .entry-content blockquote p {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.55;
  color: #1a1a1a;
  margin-bottom: 20px;
  text-wrap: pretty;
}

.sp-post-main .post-body blockquote cite,
.sp-post-main .entry-content blockquote cite {
  display: flex;
  align-items: center;
  gap: 12px;
  font-style: normal;
}

/* ============================================================
   S3b SHORTCODE [edrone_quote] - ציטוט מעוצב inline
   ============================================================ */

/* wrapper - figure מאפס ה-user-agent margin */
.sp-post-quote {
  margin: 48px 0;
}

/* ה-blockquote עצמו - מחזר את הסגנון הגנרי + מוסיף padding תחתון לאוטור */
.sp-post-quote .sp-post-quote__block {
  margin: 0;
  padding: 32px 32px 24px 0;
  border-right: 4px solid #c3e85b; /* RTL: ימין */
  border-left: none;
  background: transparent;
}

.sp-post-quote .sp-post-quote__block p {
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.55;
  color: #181d27;
  margin: 0;
  text-wrap: pretty;
}

/* figcaption - שורת המצטט מתחת לציטוט */
.sp-post-quote__author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-right: 36px; /* מיישר מתחת לטקסט (כמו indent border-right) */
}

/* תמונה עגולה עם border ליים */
.sp-post-quote__avatar {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid #c3e85b;
}

/* גובה ספציפיות: חייב לנצח את החוק הגלובלי .sp-post-main .post-body img (height:auto; margin:40px) */
.sp-post-main .post-body .sp-post-quote__avatar img,
.sp-post-main .entry-content .sp-post-quote__avatar img,
.sp-post-quote__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 16%; /* תמונות גוף מלא - ממקד על הפנים, לא הרקע הלבן מעל הראש */
  display: block;
  border-radius: 0; /* ה-border-radius על ה-wrapper */
  margin: 0; /* מאפס את ה-img margin הגלובלי בגוף הפוסט */
}

.sp-post-quote__author-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.sp-post-quote__name {
  font-size: 0.875rem;
  font-weight: 700;
  color: #181d27;
  line-height: 1.3;
}

.sp-post-quote__role {
  font-size: 0.75rem;
  font-weight: 400;
  color: #8b8b8b;
  line-height: 1.3;
}

@media (max-width: 480px) {
  .sp-post-quote .sp-post-quote__block {
    padding: 24px 20px 18px 0;
  }
  .sp-post-quote .sp-post-quote__block p {
    font-size: 1.125rem;
  }
  .sp-post-quote__author {
    padding-right: 24px;
  }
}

/* ============================================================
   S4 "אולי יעניין אתכם גם" - כרטיסים קטנים inline
   ============================================================ */
.sp-post-related-inline {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid #e0e0e0;
}

.sp-post-related-inline__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #242424;
  margin-bottom: 16px;
}

.sp-post-related-inline__list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.sp-post-related-card {
  display: flex;
  gap: 16px;
  align-items: center;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 16px 20px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.sp-post-related-card:hover {
  border-color: #c3e85b;
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}

.sp-post-related-card__thumb {
  width: 72px;
  height: 72px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.sp-post-related-card__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sp-post-related-card__body {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.sp-post-related-card__cat {
  font-size: 0.6875rem;
  font-weight: 600;
  color: #8b8b8b;
  text-transform: uppercase;
}

.sp-post-related-card__title {
  font-size: 1rem;
  font-weight: 600;
  color: #1a3a5c;
  text-decoration: underline;
  text-underline-offset: 3px;
  line-height: 1.4;
  text-wrap: balance;
  transition: color 0.15s ease;
}
.sp-post-related-card:hover .sp-post-related-card__title {
  color: #c3e85b;
}

/* ============================================================
   S5 TAGS
   ============================================================ */
.sp-post-tags {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #e0e0e0;
  flex-wrap: wrap;
}

.sp-post-tags__label {
  font-size: 0.875rem;
  font-weight: 600;
  color: #585858;
  white-space: nowrap;
  padding-top: 5px;
}

.sp-post-tags__list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sp-post-tag {
  display: inline-block;
  background: #eaeaea;
  color: #333;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease;
}
.sp-post-tag:hover {
  background: #242424;
  color: #c3e85b;
}

/* ============================================================
   S6 FAQ - מחזר .faq-item מ-faq.css
   ============================================================ */
.sp-post-faq {
  padding: 80px 0;
}

.sp-post-faq__wrap {
  max-width: 760px;
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.sp-post-faq__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #242424;
  text-align: center;
  margin-bottom: 40px;
  text-wrap: balance;
}

/* ============================================================
   S7 CTA - dark card
   ============================================================ */
.sp-post-cta {
  padding: 0 clamp(1rem, 4vw, 2rem) 80px;
}

.sp-post-cta__card {
  max-width: 720px;
  margin-inline: auto;
  background: #242424;
  border-radius: 24px;
  padding: clamp(40px, 6vw, 96px) clamp(24px, 5vw, 64px);
  text-align: center;
}

.sp-post-cta__title {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  text-wrap: balance;
  margin-bottom: 12px;
}

.sp-post-cta__sub {
  font-size: 1rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
  margin-bottom: 40px;
  text-wrap: pretty;
}

/* כפתור CTA - ליים pill על כרטיס כהה */
.sp-post-cta__action {
  display: flex;
  justify-content: center;
}

.sp-post-cta__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #c3e85b;
  color: #242424;
  border: none;
  border-radius: 999px;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 700;
  padding: 15px 40px;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.1s ease;
}
.sp-post-cta__btn:hover {
  background: #acd148;
  transform: translateY(-1px);
}
.sp-post-cta__btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 480px) {
  .sp-post-cta__btn { width: 100%; }
}

/* ============================================================
   S8 "תוכן נוסף" - גריד כרטיסי מגזין
   ============================================================ */
.sp-post-more {
  padding: 80px 0;
}

.sp-post-more__wrap {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.sp-post-more__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #242424;
  margin-bottom: 32px;
  text-wrap: balance;
}

.sp-post-more__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

@media (max-width: 1024px) {
  .sp-post-more__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .sp-post-more__grid { grid-template-columns: 1fr; }
}

/* כרטיס מגזין (מחזר .mzn-article-card + משלים) */
.sp-post-more .mzn-article-card,
.srp-grid .mzn-article-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  text-decoration: none;
  color: inherit;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.sp-post-more .mzn-article-card:hover,
.srp-grid .mzn-article-card:hover {
  box-shadow: 0 8px 28px rgba(0,0,0,.1);
  transform: translateY(-3px);
}

.sp-post-more .mzn-article-card__img,
.srp-grid .mzn-article-card__img {
  width: 100%;
  height: 0;
  padding-bottom: 56.25%; /* 16:9 */
  position: relative;
  background: #ddd;
  border-radius: 0;
  overflow: hidden;
}
.sp-post-more .mzn-article-card__img img,
.srp-grid .mzn-article-card__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.sp-post-more .mzn-article-card:hover .mzn-article-card__img img,
.srp-grid .mzn-article-card:hover .mzn-article-card__img img {
  transform: scale(1.04);
}

.sp-post-more .mzn-article-card__content,
.srp-grid .mzn-article-card__content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.sp-post-more .mzn-article-card__cat,
.srp-grid .mzn-article-card__cat {
  font-size: 0.6875rem;
  font-weight: 700;
  color: #c3e85b;
  text-transform: uppercase;
}

.sp-post-more .mzn-article-card__title,
.srp-grid .mzn-article-card__title {
  font-size: 1.125rem;
  font-weight: 600;
  color: #242424;
  line-height: 1.4;
  text-wrap: balance;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sp-post-more .mzn-article-card__meta,
.srp-grid .mzn-article-card__meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8125rem;
  color: #8b8b8b;
}

.sp-post-more .mzn-article-card__read,
.srp-grid .mzn-article-card__read {
  display: flex;
  align-items: center;
  gap: 4px;
}

.sp-post-more .mzn-article-card__sep,
.srp-grid .mzn-article-card__sep {
  width: 1px;
  height: 10px;
  background: #8b8b8b;
  display: block;
}

.sp-post-more__cta {
  display: flex;
  justify-content: center;
}

/* ============================================================
   S9 שירותים - carousel עם scroll-snap
   ============================================================ */
.sp-post-services {
  padding: 80px 0;
}

.sp-post-services__wrap {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.sp-post-services__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #242424;
  text-align: center;
  margin-bottom: 40px;
  text-wrap: balance;
}

/* גריד סטטי - בלי קרוסלה וחיצים (הנחיית גיא) */
.sp-post-services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* מתג E-R&D כבוי -> שני כרטיסים בלבד: 2 עמודות במקום 3 ריקות. */
.sp-post-services__grid--two {
  grid-template-columns: repeat(2, 1fr);
}

@media (max-width: 900px) {
  .sp-post-services__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .sp-post-services__grid { grid-template-columns: 1fr; }
}

.sp-post-services__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 50%;
  box-shadow: 0 2px 8px rgba(0,0,0,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  color: #242424;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.sp-post-services__arrow:hover { border-color: #c3e85b; box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.sp-post-services__arrow--prev { right: -24px; }
.sp-post-services__arrow--next { left: -24px; }

@media (max-width: 640px) {
  .sp-post-services__arrow { display: none; }
}

/* כרטיסי tint (מחזר מ-page-about) */
.abt-div-card {
  border-radius: 20px;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.abt-div-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.abt-div-card__tag {
  font-size: 0.875rem;
  font-weight: 700;
}

.abt-div-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #242424;
  margin: 4px 0 0;
}

.abt-div-card__body {
  font-size: 0.9375rem;
  color: #585858;
  line-height: 1.6;
  flex: 1;
  text-wrap: pretty;
}

.abt-div-card__link {
  font-size: 0.875rem;
  font-weight: 600;
  color: #242424;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 8px;
}
.abt-div-card__link:hover { color: #585858; }

/* ============================================================
   S10 פרויקטים אחרונים - מחזר sp-related__card מ-single-project
   ============================================================ */
.sp-post-projects {
  padding: 0 0 80px;
}

.sp-post-projects__wrap {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.sp-post-projects__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 24px;
}

.sp-post-projects__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: #242424;
  text-wrap: balance;
}

.sp-post-projects__all-link {
  font-size: 0.875rem;
  color: #585858;
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.sp-post-projects__all-link:hover { color: #242424; }

.sp-post-projects__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 1024px) {
  .sp-post-projects__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .sp-post-projects__grid { grid-template-columns: 1fr; }
}

/* ============================================================
   S11 ABOUT STRIP - dark #242424
   ============================================================ */
.sp-post-about {
  /* רקע בהיר לפי הפיגמה (124:2412) - לא כהה. כהה נדבק לפוטר הכהה. */
  background: var(--color-bg-light, #f5f5f5);
  padding: clamp(48px, 8vw, 96px) 0;
}

.sp-post-about__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* RTL: טקסט ימין, תמונה שמאל */
.sp-post-about__text {
  order: 0; /* ימין (DOM ראשון = ימין ב-RTL) */
}

.sp-post-about__image {
  order: 1; /* שמאל */
}

.sp-post-about__title {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 700;
  color: #242424;
  text-wrap: balance;
  margin-bottom: 20px;
}

.sp-post-about__body {
  font-size: 1rem;
  color: #585858;
  line-height: 1.75;
  margin-bottom: 32px;
  text-wrap: pretty;
}

/* כפתור outline כהה על רקע בהיר (במקום btn-outline-light שנעלם על בהיר) */
.sp-post-about__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  padding: 0 28px;
  border-radius: 80px;
  border: 1.5px solid #242424;
  color: #242424;
  background: transparent;
  font-weight: 700;
  text-decoration: none;
  transition: background var(--dur-base, .18s) var(--ease, ease), color var(--dur-base, .18s) var(--ease, ease);
}
.sp-post-about__btn:hover {
  background: #242424;
  color: #fff;
}

.sp-post-about__image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: 28px;
  /* בלי הצללה - שריד מהגרסה הכהה של הסקשן; בפיגמה אין (גיא 12.7) */
}

@media (max-width: 900px) {
  .sp-post-about__inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .sp-post-about__image { order: -1; }
  .sp-post-about__image img { aspect-ratio: 16/9; }
}

/* ============================================================
   SEARCH PAGE (search.php)
   ============================================================ */

/* Header */
.srp-header {
  /* +nav-height כי הנאבר fixed 72px - אחרת הפירורים מתחבאים מאחוריו */
  padding: calc(var(--nav-height, 72px) + 40px) 0 24px;
}

.srp-header__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

/* Breadcrumb ב-search (רקע בהיר - override) */
.srp-header .site-breadcrumb {
  font-size: 0.8125rem;
  margin-bottom: 24px;
}
.srp-header .site-breadcrumb a { color: #8b8b8b; }
.srp-header .site-breadcrumb a:hover { color: #242424; }
.srp-header .site-breadcrumb span[aria-current="page"] { color: #242424; font-weight: 500; }
.srp-header .site-breadcrumb__dot { background: #c8c8c8; }

/* Search field */
.srp-search-wrap {
  max-width: 560px;
}

.srp-search-form {
  margin-bottom: 16px;
}

.srp-search-field {
  position: relative;
  background: #fff;
  border: 1.5px solid #e0e0e0;
  border-radius: 999px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  height: 52px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.srp-search-field:focus-within {
  border-color: #c3e85b;
  box-shadow: 0 0 0 3px rgba(195,232,91,.2);
}

.srp-search-icon {
  color: #8b8b8b;
  margin-left: 12px;
  flex-shrink: 0;
}

.srp-search-input {
  flex: 1;
  border: none;
  background: transparent;
  font-family: inherit;
  font-size: 1rem;
  color: #242424;
  direction: rtl;
  text-align: right;
  outline: none;
}
.srp-search-input::placeholder { color: #8b8b8b; }

/* Filter row */
.srp-filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

/* TAG CHIP עם X להסרה */
.srp-tag-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #242424;
  border: 1px solid rgba(195,232,91,.3);
  border-radius: 999px;
  padding: 6px 8px 6px 14px;
}

.srp-tag-chip__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: #c3e85b;
}

.srp-tag-chip__remove {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  background: rgba(255,255,255,.12);
  border-radius: 50%;
  color: #c3e85b;
  text-decoration: none;
  transition: background 0.15s ease;
  flex-shrink: 0;
}
.srp-tag-chip__remove:hover { background: rgba(255,255,255,.22); }

/* result count */
.srp-result-count {
  font-size: 0.875rem;
  color: #585858;
}

/* Results grid */
.srp-main {
  padding-bottom: 80px;
}

.srp-main__inner {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: clamp(1rem, 4vw, 2rem);
}

.srp-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
  margin-bottom: 40px;
}

@media (max-width: 1024px) {
  .srp-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .srp-grid { grid-template-columns: 1fr; }
}

/* Pagination */
.srp-pagination { display: flex; justify-content: center; }

.srp-pager {
  display: flex;
  align-items: center;
  gap: 8px;
}

.srp-pager a,
.srp-pager span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.875rem;
  color: #242424;
  text-decoration: none;
  transition: background 0.15s ease, border-color 0.15s ease;
}
.srp-pager a:hover { background: #f5f5f5; }
.srp-pager .current {
  background: #c3e85b;
  border-color: #c3e85b;
  color: #242424;
  font-weight: 600;
}

/* Empty state */
.srp-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 80px clamp(1rem, 4vw, 2rem);
  gap: 16px;
}

.srp-empty__icon { color: #8b8b8b; }

.srp-empty__title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #242424;
  text-wrap: balance;
}

.srp-empty__text {
  font-size: 0.9375rem;
  color: #585858;
  max-width: 360px;
  text-wrap: pretty;
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1024px) {
  .sp-post-more__grid { grid-template-columns: repeat(2, 1fr); }
  .sp-post-projects__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .sp-post-hero { height: 440px; }
  .sp-post-hero__inner { padding-bottom: 40px; }
  .sp-post-share-toc__inner { flex-direction: column; align-items: flex-start; }
  .sp-post-more__grid { grid-template-columns: repeat(2, 1fr); }
  .sp-post-faq { padding: 48px 0; }
  .sp-post-about__inner { grid-template-columns: 1fr; gap: 32px; }
  .srp-header { padding: 32px 0 16px; }
}

@media (max-width: 480px) {
  .sp-post-hero { height: 320px; }
  .sp-post-hero__title { font-size: 1.75rem; }
  .sp-post-hero__subtitle { font-size: 1rem; }
  .sp-post-more { padding: 48px 0; }
  .sp-post-more__grid { grid-template-columns: 1fr; }
  .sp-post-projects__grid { grid-template-columns: 1fr; }
  .sp-post-projects__header { flex-direction: column; gap: 8px; }
  .sp-post-cta { padding-bottom: 48px; }
  .sp-post-services { padding: 48px 0; }
  .srp-grid { grid-template-columns: 1fr; }
}

/* prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  .sp-post-related-card,
  .mzn-article-card,
  .sp-post-tag,
  .sp-post-share__btn,
  .abt-div-card,
  .sp-post-services__arrow {
    transition: none;
  }
}
