/* ============================================================
   services.css — מדריך השירותים לעולי הרגל + המפה (‎/services, /map).
   נטען *מעל* main.css + main-sections.css (אתר ארגוני, פלטת נייבי/זהב/שמנת).
   RTL · Mobile First · אפס גלילה אופקית.
   ============================================================ */

.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;
}

/* ---------- פירורי לחם ---------- */
.svc-crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 4px 8px;
  padding-block: 14px 0;
  font-size: .98rem; color: var(--muted);
}
.svc-crumbs a {
  display: inline-flex; align-items: center;
  min-height: var(--tap); padding: 2px 8px;
  color: var(--navy); text-decoration: none; font-weight: 700; border-radius: 6px;
}
.svc-crumbs a:hover { background: rgba(29, 63, 119, .07); }
.svc-crumbs [aria-current="page"] { font-weight: 700; }

/* ---------- כותרת עמוד ---------- */
/* רצועת פתיח כהה — אותה שפה כמו .m-page-hero בעמודי אודות/התנדבות,
   כדי שכל עמודי המשנה ייפתחו באותו רגע חזותי (שדרוג עיצוב 9.9.2026). */
.svc-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, var(--navy), var(--navy-dark) 70%, var(--navy-deep));
  color: #fff; padding-block: 46px 40px; margin-bottom: 10px;
}
.svc-hero::after {
  content: ''; position: absolute; inset: 0;
  background-image: var(--grain); opacity: .5; pointer-events: none;
}
.svc-hero > .wrap { position: relative; z-index: 1; }
.svc-hero-sm { padding-block: 34px 30px; }
.svc-hero h1 {
  font-family: var(--font-display); font-weight: 400; color: #fff;
  font-size: clamp(2.1rem, 5.6vw, 3.4rem);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.svc-hero .kicker {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--gold-warm); font-weight: 700; margin-bottom: 8px; letter-spacing: .05em;
}
.svc-hero-sub { font-size: 1.14rem; color: rgba(255, 255, 255, .84); max-width: var(--measure); }
.svc-hero-count { color: rgba(255, 255, 255, .78); }
.svc-hero-count strong { color: var(--gold-warm); }
.svc-hero .btn-outline { color: #fff; border-color: rgba(255, 255, 255, .5); }
.svc-hero .btn-outline:hover { background: rgba(255, 255, 255, .14); border-color: #fff; }
.svc-hero-actions {
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
  margin-top: 14px;
}
.svc-hero-count { margin: 0; color: var(--muted); font-size: 1rem; }
.svc-hero-count strong { color: var(--navy); font-size: 1.15rem; }

/* ---------- גוף ---------- */
.svc-body { padding-block: 12px 44px; }

.svc-empty {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-soft);
  padding: 28px 22px; text-align: center;
}
.svc-empty h1, .svc-empty h2 { font-size: clamp(1.5rem, 5vw, 2.05rem); }
.svc-empty .svc-hero-actions { justify-content: center; }

/* ---------- נושא ---------- */
.svc-topic { margin-top: 30px; scroll-margin-top: 84px; }
.svc-topic-head { margin-bottom: 14px; }
.svc-topic-head h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.6rem, 5vw, 2.15rem);
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.svc-topic-head h2 a { display: inline-block; padding-block: 6px; text-decoration: none; }
.svc-topic-head h2 a:hover { text-decoration: underline; text-underline-offset: 4px; }
.svc-topic-icon { font-size: 1.1em; line-height: 1; flex: none; }
.svc-topic-sub { color: var(--muted); margin: 4px 0 0; }

/* ---------- כרטיסי שירות ---------- */
.svc-grid {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 14px;
}
@media (min-width: 620px) { .svc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 960px) { .svc-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.svc-card { display: flex; }
.svc-card-link {
  display: flex; flex-direction: column; gap: 6px;
  width: 100%; min-height: 116px; padding: 18px 20px;
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-soft);
  color: inherit; text-decoration: none;
  transition: box-shadow .15s ease, transform .05s ease, border-color .15s ease;
}
.svc-card-link:hover { box-shadow: var(--shadow); border-color: var(--gold); }
.svc-card-link:active { transform: translateY(1px); }
.svc-card-link h2, .svc-card-link h3 {
  margin: 0; color: var(--navy); font-size: 1.24rem; line-height: 1.25;
}
.svc-card-sum {
  margin: 0; color: var(--muted); font-size: 1.02rem; line-height: 1.5;
  overflow-wrap: anywhere;
}
.svc-card-meta {
  margin-top: auto; padding-top: 8px;
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--gold-ink); font-weight: 700; font-size: .98rem;
}
.svc-pin { display: inline-flex; flex: none; }

.svc-back { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 8px 12px; align-items: center; }
.svc-back a {
  display: inline-flex; align-items: center;
  min-height: var(--tap); padding: 6px 12px;
  font-weight: 700; text-decoration: none; border-radius: 8px;
}
.svc-back a:hover { background: rgba(29, 63, 119, .07); }

/* ---------- דף פריט ---------- */
.svc-item-layout { display: grid; grid-template-columns: 1fr; gap: 26px; align-items: start; }
@media (min-width: 1000px) {
  .svc-item-layout { grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr); gap: 34px; }
}

.svc-article {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-soft);
  padding: 22px 22px 8px;
  font-size: 1.08rem;
}
.svc-article p { overflow-wrap: anywhere; }

.svc-locations h2 {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(1.5rem, 4.6vw, 2rem);
}

.svc-loc-list {
  list-style: none; margin: 18px 0 0; padding: 0;
  display: grid; grid-template-columns: 1fr; gap: 14px;
}
.svc-loc {
  background: var(--card); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow-soft);
  padding: 18px 20px;
  scroll-margin-top: 84px;
}
.svc-loc h3 { margin: 0 0 10px; font-size: 1.2rem; }
/* תמונה שנאספה בשטח. width:100% + height:auto כדי שלא תגלוש בטלפון —
   ה-width/height שב-HTML קיימים רק כדי לשריין יחס ולמנוע קפיצת פריסה. */
.svc-loc-photo {
  display: block; width: 100%; height: auto; max-height: 260px;
  object-fit: cover; margin: 0 0 12px;
  border-radius: calc(var(--radius) - 6px); background: var(--line);
}
.svc-loc-facts { margin: 0 0 8px; display: grid; gap: 4px; }
.svc-loc-facts > div { display: flex; flex-wrap: wrap; gap: 4px 8px; }
.svc-loc-facts dt { margin: 0; font-weight: 700; color: var(--navy); flex: none; }
.svc-loc-facts dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; min-width: 0; }
.svc-loc-notes { color: var(--muted); font-size: 1rem; margin: 6px 0 8px; }
.svc-badge {
  display: inline-block; margin: 0 0 10px;
  background: var(--cream-2); color: var(--navy);
  border-radius: 999px; padding: 4px 12px;
  font-size: .95rem; font-weight: 700;
}
.svc-nav-btn { width: 100%; }
@media (min-width: 520px) { .svc-nav-btn { width: auto; } }

/* ---------- רבדי מרחק בדף הפריט ---------- */
/* שני רבדים ויזואליים: "במרחק הליכה" (עד 800 מ׳ מהעיר העתיקה) ו"בטווח רחב יותר"
   (עד 2 ק״מ). רובד שלישי, "רחוק יותר בעיר", מוצג רק אם יש בו משהו — כדי שלא
   ייעלם מידע מפורסם, אבל בלי להתחזות ל"קרוב אליך". */
.svc-tier-intro {
  margin: 10px 0 0; color: var(--muted); font-size: 1rem; line-height: 1.6;
  overflow-wrap: anywhere;
}
/* קישור נפרד ולא אינליין: יעד מגע מלא (44px) בלי לשבור את שורת הטקסט. */
.svc-tier-cta { margin: 10px 0 0; }
.svc-tier-cta .btn { width: 100%; }
@media (min-width: 520px) { .svc-tier-cta .btn { width: auto; } }

.svc-tier { margin-top: 22px; }
.svc-tier-title {
  display: flex; align-items: center; flex-wrap: wrap; gap: 8px;
  margin: 0; font-size: 1.22rem; color: var(--navy);
  padding-inline-start: 12px;
  border-inline-start: 4px solid var(--line);
}
.svc-tier.is-walk .svc-tier-title { border-inline-start-color: var(--gold); }
.svc-tier.is-wider .svc-tier-title { border-inline-start-color: var(--navy); }
.svc-tier-count {
  display: inline-flex; align-items: center; justify-content: center;
  min-width: 26px; padding: 1px 8px;
  background: var(--cream-2); border-radius: 999px;
  font-size: .92rem; font-weight: 700; color: var(--navy);
}
.svc-tier-sub {
  margin: 6px 0 0; padding-inline-start: 16px;
  color: var(--muted); font-size: 1rem; line-height: 1.55;
  overflow-wrap: anywhere;
}
.svc-tier .svc-loc-list { margin-top: 12px; }
.svc-loc h4 { margin: 0 0 6px; font-size: 1.2rem; color: var(--navy); }
.svc-loc-dist { margin: 0 0 8px; color: var(--gold-ink); font-weight: 700; font-size: .98rem; }

.svc-map-legend {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  margin: 10px 0 0; color: var(--muted); font-size: .98rem; line-height: 1.5;
  overflow-wrap: anywhere;
}
.svc-legend-ring {
  flex: none; width: 18px; height: 18px; border-radius: 50%;
  border: 1.5px dashed var(--navy); background: rgba(208, 160, 57, .18);
}

/* ---------- צ'יפים לסינון ---------- */
/* ‎[hidden] הוא כלל של הדפדפן ברמת אלמנט — כלל display על מחלקה גובר עליו.
   בלי ההחזרה הזו כל צ'יפי המשנה היו מוצגים תמיד ודוחקים את המפה מתחת לקיפול. */
.svc-chip[hidden], .svc-subchips[hidden], .svc-map[hidden], .svc-map-fallback[hidden] { display: none; }

.svc-filters { display: grid; gap: 10px; margin-bottom: 14px; }
.svc-chips, .svc-subchips { display: flex; flex-wrap: wrap; gap: 8px; }
.svc-chip {
  display: inline-flex; align-items: center; gap: 6px;
  min-height: var(--tap); padding: 8px 16px;
  font: inherit; font-weight: 700; font-size: 1rem;
  color: var(--navy); background: var(--card);
  border: 1.5px solid var(--line); border-radius: 999px;
  cursor: pointer;
  transition: background-color .15s ease, border-color .15s ease;
}
.svc-chip:hover { border-color: var(--gold); }
.svc-chip.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.svc-chip-sm { font-size: .96rem; padding: 6px 14px; background: var(--cream-2); }
.svc-chip-sm.is-active { background: var(--gold); color: var(--navy); border-color: var(--gold-dark); }

.svc-map-tools { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.svc-locate { flex: none; }
.svc-map-status { margin: 0; font-size: 1rem; font-weight: 700; color: var(--muted); min-width: 0; overflow-wrap: anywhere; }
.svc-map-status.is-ok { color: #23682f; }
.svc-map-status.is-err { color: #b3261e; }
.svc-map-status.is-warn { color: var(--gold-ink); }

/* ---------- המפה ---------- */
.svc-map-wrap { margin-top: 6px; }
.svc-map {
  width: 100%;
  height: 58vh;            /* מובייל: גובה סביר — לא כל המסך */
  min-height: 320px;
  max-height: 460px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-soft);
  background: var(--cream-2);
  z-index: 0;              /* מתחת ל-header הדביק (z-index: 40) */
}
.svc-map-sm { height: 46vh; min-height: 260px; max-height: 380px; }
@media (min-width: 900px) {
  .svc-map { height: 62vh; max-height: 620px; }
  .svc-map-sm { height: 420px; max-height: 460px; }
}
.svc-map-fallback {
  margin: 12px 0 0; padding: 14px 16px;
  background: var(--cream-2); border-radius: var(--radius-sm);
  color: var(--ink); font-weight: 700;
}

/* כפתור דו-מצבי (שמות רחובות): המצב הפעיל חייב להיראות, לא רק להישמע —
   aria-pressed לבדו אינו נגיש למי שרואה את המסך. */
.svc-toggle.is-active { background: var(--navy); color: #fff; border-color: var(--navy); }
.svc-toggle.is-active:hover { background: var(--navy); }
.svc-toggle[hidden] { display: none; }

/* ---------- שמות הרחובות ברובע היהודי ---------- */
/* למה לוחית אטומה ולא רק הילה סביב האותיות: אריחי OSM כן מכתיבים חלק מהשמות
   בזומים הגבוהים, ואז שתי התוויות נופלות זו על זו ומתקבל טקסט מרוח
   ("השלשלתשלשלת" — נצפה בבדיקה). לוחית אטומה מכסה את התווית שמתחתיה, וכך
   חפיפה נראית כתווית אחת נקייה במקום כתקלת רינדור.
   pointer-events מנוטרל כדי שלחיצה על סמן שירות שמתחת לתווית תמשיך לעבוד. */
.kb-street-label {
  width: 0; height: 0;
  pointer-events: none;
  background: none; border: none;
}
.kb-street-label span {
  position: absolute; left: 0; top: 0;
  transform-origin: 50% 50%;
  white-space: nowrap;
  padding: 1px 6px; border-radius: 4px;
  font-weight: 700; font-size: 12px; line-height: 16px;
  color: #1d3f77;
  background: rgba(255, 255, 255, .92);
  box-shadow: 0 0 0 1px rgba(29, 63, 119, .16);
}
/* תווית שנדחקה בהתנגשות — מוסתרת ולא נמחקת, כדי שתחזור מיד בזום הבא */
.kb-street-label.is-hidden { display: none; }
@media (prefers-contrast: more) {
  .kb-street-label span { color: #000; background: #fff; box-shadow: 0 0 0 1px #000; }
}

/* ה-attribution של OSM חייב להישאר גלוי — לא לכווץ ולא להסתיר. */
.leaflet-container .leaflet-control-attribution {
  font-size: 11px; line-height: 1.5;
  background: rgba(255, 255, 255, .88);
  color: #333; padding: 2px 6px; max-width: 100%;
}
.leaflet-container .leaflet-control-attribution a { color: #1d3f77; }
.leaflet-container { font: inherit; font-size: 1rem; }
.leaflet-container a.leaflet-popup-close-button { width: 28px; height: 28px; font-size: 20px; line-height: 24px; }
.leaflet-touch .leaflet-bar a { width: 44px; height: 44px; line-height: 44px; font-size: 20px; }

/* סמן מודגש (הקרוב אליי) */
.kb-marker-near { filter: drop-shadow(0 0 8px var(--gold)) saturate(1.3); }

/* חלונית מידע */
.kb-popup { min-width: 190px; direction: rtl; text-align: right; }
.kb-popup-title { margin: 0 0 4px; font-size: 1.08rem; color: var(--navy); }
.kb-popup-kind { margin: 0 0 6px; color: var(--gold-ink); font-weight: 700; font-size: .95rem; }
.kb-popup-line { margin: 0 0 4px; color: var(--muted); font-size: .98rem; overflow-wrap: anywhere; }
.kb-popup-dist { color: var(--navy); font-weight: 700; }
.kb-popup-btn {
  display: flex; align-items: center; justify-content: center;
  min-height: 44px; margin-top: 10px; padding: 8px 16px;
  background: var(--navy); color: #fff !important;
  border-radius: 10px; font-weight: 800; text-decoration: none;
}
.kb-popup-btn:hover { background: var(--navy-dark); }
.kb-popup-link {
  display: flex; align-items: center; justify-content: center;
  min-height: 40px; margin-top: 6px;
  color: var(--navy) !important; font-weight: 700; text-decoration: underline;
}

/* ---------- עמוד המפה ---------- */
.svc-map-page { padding-bottom: calc(34px + env(safe-area-inset-bottom, 0px)); }

/* במובייל המפה היא התוכן — מקצרים את הפתיח כדי שהיא לא תיפול מתחת לקיפול. */
@media (max-width: 700px) {
  [data-page="map"] .svc-hero { padding-block: 14px 2px; }
  [data-page="map"] .svc-hero h1 { font-size: clamp(1.65rem, 5.6vw, 2.4rem); }
  [data-page="map"] .svc-hero-sub { font-size: 1.02rem; margin-bottom: .3em; }
  [data-page="map"] .svc-filters { gap: 8px; }
}

/* ============================================================
   טופס הצטרפות העסקים לרשת ההטבות (‎/hatavot/esek).
   העמוד טוען main.css + services.css, ולא את theme.css/pages.css שבהם
   מעוצב `.contact-form` בשאר האתר — ולכן העיצוב חוזר כאן במפורש ולא
   מסתמך על גיליון שלא נטען.
   ⚠️ `font-size: 16px` בשדות אינו עניין של טעם: מתחת ל-16px iOS מבצע
   זום אוטומטי בכל מיקוד, והטופס "קופץ" בכל שדה.
   ============================================================ */
[data-page="benefits-business"] .contact-form {
  display: grid; gap: 14px; margin-top: 22px;
  grid-template-columns: 1fr;
}
@media (min-width: 620px) {
  [data-page="benefits-business"] .contact-form { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  [data-page="benefits-business"] .contact-form > button,
  [data-page="benefits-business"] .contact-form > p,
  [data-page="benefits-business"] .contact-form > div:has(textarea) { grid-column: 1 / -1; }
}
[data-page="benefits-business"] .contact-form label {
  display: block; font-weight: 700; color: var(--navy); margin-bottom: 5px;
}
[data-page="benefits-business"] .contact-form label .muted { font-weight: 400; color: var(--muted); }
[data-page="benefits-business"] .contact-form input,
[data-page="benefits-business"] .contact-form select,
[data-page="benefits-business"] .contact-form textarea {
  width: 100%; box-sizing: border-box;
  min-height: 44px; padding: 10px 12px;
  font: inherit; font-size: 16px;
  color: inherit; background: #fff;
  border: 1px solid var(--line); border-radius: 10px;
}
[data-page="benefits-business"] .contact-form textarea { min-height: 110px; resize: vertical; }
[data-page="benefits-business"] .contact-form input:focus,
[data-page="benefits-business"] .contact-form select:focus,
[data-page="benefits-business"] .contact-form textarea:focus {
  outline: 2px solid var(--gold); outline-offset: 1px; border-color: var(--gold);
}
[data-page="benefits-business"] .contact-form button { min-height: 48px; }
/* מלכודת הבוטים — מוסתרת מהעין ומקורא המסך, נגישה לבוט שממלא הכול. */
[data-page="benefits-business"] .hp-field {
  position: absolute; width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap;
}
[data-page="benefits-business"] .vol-roles-intro {
  list-style: none; padding: 0; margin: 4px 0 6px; display: grid; gap: 10px;
}
[data-page="benefits-business"] .vol-roles-intro li {
  background: var(--card, #fff); border: 1px solid var(--line);
  border-radius: 12px; padding: 12px 14px;
}

/* ============================================================
   הטבות לעולי הרגל (‎/hatavot) — בלוק "איך מקבלים את ההנחה".
   הוא הדבר הראשון בעמוד ובכוונה: השאלה היחידה שנשאלת כאן היא
   "איך אני מקבל", ולא "אילו חנויות יש".
   ============================================================ */
.ben-how {
  background: #fff; border: 1px solid var(--line); border-radius: 16px;
  padding: 18px 16px; margin-block: 18px 26px;
}
.ben-how h2 { margin: 0 0 12px; font-size: 1.25rem; color: var(--navy); }
.ben-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
@media (min-width: 760px) { .ben-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.ben-steps li {
  display: grid; grid-template-columns: auto 1fr; gap: 2px 10px;
  align-items: start;
  background: var(--cream, #faf6ee); border-radius: 12px; padding: 12px 14px;
}
.ben-step-num { grid-row: 1 / 3; font-size: 1.3rem; line-height: 1.2; }
.ben-steps strong { color: var(--navy); }
.ben-steps span:not(.ben-step-num) { color: var(--muted); font-size: .98rem; }
.ben-warn {
  margin: 14px 0 0; padding: 10px 12px;
  background: rgba(208, 160, 57, .12); border-inline-start: 4px solid var(--gold);
  border-radius: 8px; font-size: .98rem;
}
/* האחוז הוא המידע היחיד שמשתנה בין בתי עסק — הוא צריך להיות הדבר שנקרא ראשון. */
.ben-offer {
  margin: 6px 0 8px; font-size: 1.12rem; font-weight: 800; color: var(--navy);
}

/* Leaflet מציג את הקרדיט ב-11px — קטן מדי במובייל */
.leaflet-container .leaflet-control-attribution { font-size: 12px; }

/* ============================================================
   כרטיס לחיץ בכל שטחו + עמודי ההרחבה של ישות בודדת (9.9.2026)
   ============================================================ */

/* «stretched link»: הקישור הוא הכותרת — יעד מקלדת יחיד ותקין — וה-::after
   שלו נפרש על כל הכרטיס, כך שגם לחיצה על הכתובת או על התמונה פותחת אותו.
   זו הדרך היחידה לקבל כרטיס לחיץ לגמרי בלי לקנן <a> בתוך <a> (HTML לא חוקי,
   וקורא מסך היה מקריא כל כרטיס פעמיים). */
.svc-loc, .svc-card-link.is-stretch { position: relative; }
.svc-loc-link { color: var(--navy); text-decoration: none; }
.svc-loc-link::after {
  content: ''; position: absolute; inset: 0;
  border-radius: var(--radius); z-index: 1;
}
.svc-loc-link:hover { text-decoration: underline; }
.svc-loc:hover { border-color: var(--gold); box-shadow: var(--shadow); }
.svc-loc:has(.svc-loc-link:focus-visible) { outline: 3px solid var(--gold); outline-offset: 2px; }
.svc-loc-link:focus-visible { outline: none; }
.svc-loc { transition: box-shadow .15s ease, border-color .15s ease; }

/* כל מה שאינטראקטיבי בתוך הכרטיס חייב לצוף מעל שטח ה-::after, אחרת
   «חייג» ו«נווט» היו נבלעים בקישור של הכרטיס. */
.svc-loc a:not(.svc-loc-link),
.svc-card-link.is-stretch a:not(.svc-loc-link) { position: relative; z-index: 2; }

.svc-loc-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 12px 0 0; }
.svc-loc-actions .btn { flex: 1 1 180px; justify-content: center; }
.svc-nav-btn { width: auto; }
.svc-card-more { font-weight: 700; }

/* ---- תיבת החיפוש ברשימות ארוכות ---- */
.svc-listfilter { margin: 16px 0 4px; }
.svc-listfilter-label { display: block; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.svc-listfilter-row { display: flex; flex-wrap: wrap; gap: 10px; }
.svc-listfilter-input {
  flex: 1 1 240px; min-width: 0;
  min-height: var(--tap); padding: 10px 14px;
  /* 16px ומעלה — מתחת לזה iOS מזַ'ם אוטומטית על מיקוד */
  font: inherit; font-size: 1rem;
  background: var(--card); color: inherit;
  border: 1px solid var(--line); border-radius: 12px;
}
.svc-listfilter-input:focus-visible { outline: 3px solid var(--gold); outline-offset: 1px; }
.svc-listfilter-clear { flex: 0 0 auto; }
.svc-listfilter-status { margin: 8px 0 0; color: var(--muted); font-size: .98rem; min-height: 1.4em; }

/* ---- עמוד ישות בודדת ---- */
.svc-place-layout { display: grid; grid-template-columns: 1fr; gap: 22px; align-items: start; }
@media (min-width: 900px) {
  .svc-place-layout { grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); }
  .svc-place-side { position: sticky; top: 84px; }
}
.svc-place-main { min-width: 0; }
.svc-place-h2 { margin: 22px 0 12px; color: var(--navy); font-size: 1.3rem; }
.svc-place-main > .svc-place-h2:first-child { margin-top: 0; }
.svc-place-figure { margin: 0 0 18px; }
.svc-place-figure img {
  display: block; width: 100%; height: auto; max-height: 420px;
  object-fit: cover; border-radius: var(--radius); background: var(--line);
}
.svc-place-facts { margin: 0 0 12px; display: grid; gap: 8px; }
.svc-place-facts > div {
  display: flex; flex-wrap: wrap; gap: 4px 10px;
  padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.svc-place-facts > div:last-child { border-bottom: 0; }
.svc-place-facts dt { margin: 0; font-weight: 700; color: var(--navy); flex: none; min-width: 96px; }
.svc-place-facts dd { margin: 0; color: var(--muted); overflow-wrap: anywhere; min-width: 0; }
.svc-place-notes { color: var(--muted); margin: 10px 0; line-height: 1.6; }
.svc-place-actions { display: flex; flex-wrap: wrap; gap: 10px; margin: 18px 0 0; }
.svc-place-actions .btn { flex: 1 1 200px; justify-content: center; }
.kicker-link { color: inherit; text-decoration: none; }
.kicker-link:hover { text-decoration: underline; }

.svc-related { margin-top: 34px; }
.svc-grid-sm { grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr)); }
.svc-card-kind { color: var(--gold-ink); font-weight: 700; font-size: .92rem; }

.svc-place-cta {
  margin: 34px 0 0; padding: 22px;
  background: var(--cream-2); border-radius: var(--radius);
}
.svc-place-cta h2 { margin: 0 0 8px; color: var(--navy); font-size: 1.25rem; }
.svc-place-cta p { margin: 0 0 14px; color: var(--muted); line-height: 1.6; }

.ben-offer-lg { font-size: 1.25rem; }

/* החלונית במפה: הכותרת היא קישור, ו«לעמוד המקום» הוא הפעולה הראשית */
.kb-popup-title a { color: inherit; text-decoration: none; }
.kb-popup-title a:hover { text-decoration: underline; }
.kb-popup-primary { font-weight: 700; }

/* ═══════════════════════════════════════════════════════════════════════
   לוח האירועים (/events) — 16.9.2026
   Mobile-first: הכרטיסים עמודה אחת בטלפון, שתיים מ-720px ומעלה.
   ═══════════════════════════════════════════════════════════════════════ */

.ev-filters {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 28px;
}
.ev-chip {
  min-height: 42px; padding: 9px 18px;
  background: #fff; border: 1.5px solid var(--rule, #e3dccb); border-radius: 999px;
  font: inherit; font-size: .98rem; font-weight: 600; color: var(--ink, #2b2b2b);
  cursor: pointer; transition: background .15s, border-color .15s, color .15s;
}
.ev-chip:hover { border-color: var(--gold, #d0a039); }
.ev-chip.is-active { background: var(--blue-dark, #1d3f77); border-color: var(--blue-dark, #1d3f77); color: #fff; }
.ev-chip:focus-visible { outline: 2px solid var(--gold, #d0a039); outline-offset: 2px; }

.ev-day { margin: 0 0 34px; }
.ev-day[hidden] { display: none; }
.ev-day-head {
  margin: 0 0 14px; padding-bottom: 8px;
  font-size: 1.12rem; font-weight: 800; letter-spacing: .02em;
  color: var(--blue-dark, #1d3f77);
  border-bottom: 2px solid var(--gold-line, rgba(176,130,28,.5));
}

.ev-cards {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 14px;
  /* ⚠️ `1fr` בטלפון ולא רוחב קבוע — רוחב קבוע גדול מ-340px מייצר גלילה
     אופקית במסך של 375px, וזו בדיקת החובה של הפרויקט. */
  grid-template-columns: 1fr;
}
@media (min-width: 720px) {
  .ev-cards { grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); }
}

.ev-card {
  background: #fff; border: 1px solid var(--rule, #e3dccb); border-radius: 8px;
  padding: 18px 18px 16px;
  /* הכרטיס אינו "קישור נמתח" כאן: יש בו שני קישורים חיצוניים נפרדים
     (הכותרת וה"לפרטים"), וקינון <a> בתוך <a> אסור. */
}
.ev-card[hidden] { display: none; }

.ev-title { margin: 0 0 8px; font-size: 1.08rem; font-weight: 800; line-height: 1.35; }
.ev-title a { color: var(--blue-dark, #1d3f77); text-decoration: none; }
.ev-title a:hover { text-decoration: underline; text-decoration-color: var(--gold, #d0a039); text-underline-offset: 4px; }

.ev-meta {
  margin: 0 0 8px; display: flex; flex-wrap: wrap; gap: 4px 12px;
  font-size: .92rem; color: var(--ink-soft, #6b6257);
}
.ev-time { font-weight: 700; color: var(--ink, #2b2b2b); font-variant-numeric: tabular-nums; }

.ev-sum {
  margin: 0 0 10px; font-size: .95rem; line-height: 1.55; color: var(--ink, #2b2b2b);
  /* תקציר ארוך נחתך לארבע שורות — כרטיס בגובה כפול שובר את הרשת. */
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}

.ev-tags { margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.ev-badge {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: .8rem; font-weight: 700;
  background: #f3efe4; color: var(--ink-soft, #6b6257);
}
.ev-badge-free { background: #e4f1e6; color: #1f6b33; }
.ev-badge-cat { background: #eaf0f8; color: var(--blue-dark, #1d3f77); }

.ev-link {
  display: inline-block; min-height: 40px; line-height: 40px;
  font-size: .95rem; font-weight: 700; color: var(--blue, #2b5aa0); text-decoration: none;
}
.ev-link:hover { text-decoration: underline; }

.ev-source-note {
  margin: 30px 0 0; padding: 14px 16px;
  background: #faf6ee; border-inline-start: 3px solid var(--gold-line, rgba(176,130,28,.5));
  border-radius: 4px;
  font-size: .9rem; line-height: 1.6; color: var(--ink-soft, #6b6257);
}
