﻿/* ==========================================================================
   begilenu 2026 — מערכת העיצוב
   שפת זאפ: נייבי #052b7a ראשי, זהב #ffc600 אקסנט.
   קהל היעד 65+ — בסיס 18px, ניגודיות גבוהה, יעדי מגע גדולים.
   ========================================================================== */

/* ---------- גופנים ---------- */
@font-face {
  font-family: 'Noto Sans Hebrew';
  src: url('fonts/NotoSansHebrew-Variable.ttf') format('truetype-variations');
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: 'Gveret Levin';
  src: url('fonts/GveretLevin-Regular.ttf') format('truetype');
  font-weight: 400;
  /* block ולא swap: עדיף השהיה קצרה על פני כתב-יד מערכתי,
     שהשפה של זאפ אוסרת כתחליף ל-Gveret Levin */
  font-display: block;
}

/* ---------- טוקנים ---------- */
:root {
  /* פלטה ראשית — זאפ */
  --bg-navy: #052b7a;
  --bg-navy-2: #2b4b8e;
  --bg-navy-3: #506ba2;
  --bg-navy-5: #9baaca;
  --bg-navy-6: #c1cade;
  --bg-navy-7: #e6eaf2;

  --bg-gold: #ffc600;
  --bg-gold-2: #ffcf26;
  --bg-gold-4: #ffe073;
  --bg-gold-6: #fff1bf;
  --bg-gold-7: #fff9e6;

  --bg-green: #00ab12;
  --bg-green-7: #e6f7e7;
  --bg-red: #ff210d;
  --bg-red-7: #ffe9e7;

  --bg-dark: #001c32;
  --bg-dark-2: #263e51;
  --bg-dark-3: #4d6070;
  --bg-gray: #85858a;
  --bg-gray-6: #e1e1e2;
  --bg-gray-7: #f3f3f3;

  /* תפקידים — כל ערך נלקח מהסקאלות למעלה, בלי גוונים מומצאים */
  --c-text: var(--bg-dark);          /* #001c32 */
  --c-text-soft: var(--bg-dark-2);   /* #263e51 */
  --c-text-faint: var(--bg-dark-3);  /* #4d6070 */
  --c-link: var(--bg-navy);
  --c-surface: #ffffff;
  --c-surface-2: var(--bg-gray-7);   /* #f3f3f3 */
  --c-surface-3: var(--bg-navy-7);   /* #e6eaf2 */
  --c-border: var(--bg-navy-6);      /* #c1cade */
  --c-border-soft: var(--bg-navy-7); /* #e6eaf2 */
  --c-focus: var(--bg-gold);
  --c-on-navy: var(--bg-navy-6);     /* טקסט משני על נייבי */
  --c-on-navy-strong: var(--bg-navy-7);
  --c-on-dark: var(--bg-gray-6);     /* טקסט משני על הפוטר הכהה */

  /* טיפוגרפיה — בסיס 18px, גדול מהרגיל בכוונה */
  --font: 'Noto Sans Hebrew', 'Segoe UI', Arial, sans-serif;
  --font-hand: 'Gveret Levin', cursive;
  --fs-base: 1.125rem;   /* 18px */
  --fs-sm: 1.0625rem;    /* 17px — ממשק ותוויות, לא גוף טקסט */
  --fs-xs: 0.9375rem;    /* 15px — רצפה. מתחת לזה לא יורדים בקהל 65+ */
  --fs-lg: 1.25rem;      /* 20px */
  --fs-xl: 1.5rem;       /* 24px */
  --fs-h3: clamp(1.25rem, 1.1rem + 0.7vw, 1.625rem);
  --fs-h2: clamp(1.625rem, 1.3rem + 1.4vw, 2.25rem);
  --fs-h1: clamp(2.125rem, 1.55rem + 2.4vw, 3rem);
  --lh: 1.7;
  --lh-tight: 1.25;

  /* מידות */
  --wrap: 1240px;
  --wrap-narrow: 820px;
  --gap: 1.5rem;
  --pad-x: 1.25rem;
  --r-tile: 6px;         /* אריחים קטנים (≤48px) — קרוב לכלל ה-6% של זאפ */
  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-pill: 999px;
  --tap: 48px;          /* יעד מגע מינימלי */
  --h-header: 121px;    /* topbar 44 + header-row 76 + 1px גבול */
  --h-tabs: 57px;       /* רצועת הטאבים בדף מוסד */
  --proto-bar-h: 0px;   /* 0 בפרודקשן. _proto.css דורס ל-44px */

  --shadow-s: 0 1px 2px rgba(0, 28, 50, 0.06), 0 2px 8px rgba(0, 28, 50, 0.05);
  --shadow-m: 0 2px 6px rgba(0, 28, 50, 0.07), 0 10px 28px rgba(0, 28, 50, 0.08);
  --shadow-l: 0 6px 16px rgba(0, 28, 50, 0.09), 0 20px 48px rgba(0, 28, 50, 0.11);

  --t: 180ms cubic-bezier(0.2, 0, 0.2, 1);
}

/* ---------- איפוס ---------- */
*, *::before, *::after { box-sizing: border-box; }

/* חובה: כל חוק display של המחבר גובר על hidden של הדפדפן */
[hidden] { display: none !important; }

/* <search> נתמך רק מכרום 118 / ספארי 17. בדפדפן ישן הוא inline וה-finder נשבר */
search { display: block; }

/* יעד קישור הדילוג חייב לקבל פוקוס תכנותי, בלי טבעת גלויה */
main:focus { outline: none; }

html {
  font-size: 100%;
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  /* עוגן פנימי לא ינחת מתחת לכותרת הדביקה */
  scroll-padding-top: calc(var(--h-header) + 1rem);
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  font-family: var(--font);
  font-size: var(--fs-base);
  font-weight: 400;
  line-height: var(--lh);
  color: var(--c-text);
  background: var(--c-surface);
  
  overflow-wrap: break-word;
}

img, svg, video { max-width: 100%; height: auto; display: block; }
h1, h2, h3, h4 { margin: 0 0 0.5em; line-height: var(--lh-tight); font-weight: 800; color: var(--bg-navy); }
h1 { font-size: var(--fs-h1); font-weight: 900; }
h2 { font-size: var(--fs-h2); font-weight: 900; }
h3 { font-size: var(--fs-h3); }
h4 { font-size: var(--fs-lg); }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-inline-start: 1.4em; }

a { color: var(--c-link); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }

/* טבעת פוקוס — כהה + הילה זהובה, נראית גם על נייבי וגם על לבן */
:focus-visible {
  outline: 3px solid var(--bg-dark);
  outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--c-focus);
  border-radius: 4px;
}
@media (forced-colors: active) {
  :focus-visible { outline: 3px solid CanvasText; box-shadow: none; }
}

button, input, select, textarea { font: inherit; color: inherit; }

/* ---------- עזרים ---------- */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--pad-x); }
.wrap-narrow { max-width: var(--wrap-narrow); }
.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;
}

/* ההשתלה: הכרום הישן (SearchStrip, שני סרגלי הניווט, הפוטר הישן) נשאר
   ב-DOM כי קוד מקומפל וסקריפטים ותיקים תלויים בפקדים ובמזהים שבתוכו,
   אבל הוא לא מוצג. adoptLegacyNav() קורא מתוכו את התפריט. */
.legacy-chrome { display: none !important; }

/* שני הרוחבים הקבועים של האתר הישן.

   ‎Common.css נטען בכל דף, לפני הגיליון הזה, ונותן:
       .MainContainer { width:760px; margin:0 auto }   ← עוטף הכול
       .BodyContainer { width:760px; overflow:hidden; font-size:12px }
   ה-master החדש שומר על שתי המחלקות — MainContainer עוטף את הכרום
   החדש, ו-BodyContainer יושב על <main> — כי קוד ותיק תלוי בהן.
   בלי האיפוס הזה **כל האתר החדש נדחס לעמודה של 760px**: גם ההדר,
   גם הפוטר וגם כל דף. זה לא נראה בפרוטוטייפ, כי שם אין Common.css.

   הכלל חייב לשבת כאן ולא בגיליון של דף מסוים — הוא נוגע לכל הדפים.
   ‎Common.css נטען קודם, ולכן אין צורך ב-!important. */
.MainContainer {
  width: auto;
  max-width: none;
}

/* ‎Common.css פותח בכלל אוניברסלי:
       * { font-family:Arial; color:#4C5889; font-size:14px; margin:0; padding:0 }
   ערך מוצהר גובר על ערך בירושה, ולכן בלי האיפוס הזה **כל אלמנט באתר**
   חוזר ל-Arial, לצבע #4C5889 ול-14px — והטיפוגרפיה החדשה חלה רק על
   ‎<body> ועל מה שעוצב במפורש. גם זה לא נראה בפרוטוטייפ.

   ה-:where שומר על specificity אפס בכוונה: כך הכלל גובר על הכוכבית
   של Common.css (שנטענת לפניו) ומפסיד לכל כלל אחר — מחלקות ותיקות
   שמגדירות גודל או צבע ממשיכות לנצח, וכך גם a, h1 וכל שאר העיצוב החדש.

   ‎.MainContainer עצמו מקבל ערכים מפורשים ולא inherit, כי גיליונות
   ותיקים שנטענים ב-phHead מצהירים ‎body{font-family:Arial} — למשל
   ‎search.css — וירושה מ-body הייתה מחזירה את Arial דרך הדלת האחורית. */
:where(.MainContainer) {
  font-family: var(--font);
  font-size: var(--fs-base);
  color: var(--c-text);
}
:where(.MainContainer) :where(*) {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
/* הכלל האוניברסלי הוא רק ההתחלה. בגיליונות הוותיקים שהדפים טוענים יש
   ‎156 כללים שמקטינים טקסט מתחת ל-15px ועשרות שכופים Arial — לרוב
   מחלקה אחת (‎.search-bold, .search-plain, .navigate-white, .small-ten,
   ‎.a12-blue-bold וכאלה), חלקם בסלקטור אלמנט. ל-:where שלמעלה יש
   ‎specificity אפס והוא מפסיד לכולם, ולכן צריך שתי דרגות נוספות:

       .MainContainer *        (0,1,0)  גובר על סלקטור אלמנט
       .MainContainer [class]  (0,2,0)  גובר על מחלקה בודדת

   ‎font-size:inherit ולא ערך קבוע — כך טקסט יורש מהרכיב המעוצב שמעליו,
   ובאזורים שעדיין לא עוצבו הוא נופל ל-18px של ה-body. הרצפה היא 15px
   והקהל הזה הוא 65+, ולכן טקסט גדול מדי עדיף על 10px.

   הכותרות מוחרגות: ‎h1–h6 מקבלות את גודלן מכללי אלמנט בגיליון הזה,
   וכלל ‎(0,1,0) היה משטח אותן לגודל הטקסט הרגיל. ה-:not(:where(...))
   מחריג אותן בלי להוסיף specificity.

   מה לא כאן: color. ברמה הזאת הוא היה גובר על ‎a{color:...} וכל קישור
   באתר היה מאבד את צבעו. צבעים ותיקים שנשארו מטופלים נקודתית. */
.MainContainer :where(*):not(:where(h1, h2, h3, h4, h5, h6)),
.MainContainer [class]:not(:where(h1, h2, h3, h4, h5, h6)) {
  font-family: var(--font);
  font-size: inherit;
}

/* אותה סיבה, ברמת ה-body: שני סלקטורים כדי לגבור על body{Arial} מאוחר */
html body {
  font-family: var(--font);
  font-size: var(--fs-base);
  color: var(--c-text);
}
main.BodyContainer,
.BodyContainer {
  width: auto;
  overflow: visible;
  padding-top: 0;
  font-size: var(--fs-base);
}

.skip-link {
  position: fixed; inset-inline-start: 1rem; top: -100px; z-index: 999;
  background: var(--bg-navy); color: #fff; padding: 0.9rem 1.4rem;
  border-radius: 0 0 var(--r-sm) var(--r-sm); font-weight: 700; text-decoration: none;
  transition: top var(--t);
}
.skip-link:focus { top: 0; }

.hand { font-family: var(--font-hand); font-weight: 400; color: var(--bg-navy); }
.stack > * + * { margin-top: var(--gap); }

/* ---------- כפתורים ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: var(--tap); padding: 0.75rem 1.5rem;
  border: 2px solid transparent; border-radius: var(--r-pill);
  font-size: var(--fs-base); font-weight: 700; line-height: 1.2;
  text-decoration: none; cursor: pointer;
  transition: background var(--t), color var(--t), border-color var(--t), transform var(--t);
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
@media (prefers-reduced-motion: reduce) { .btn:hover { transform: none; } }
.btn:active { transform: translateY(0); }

.btn-primary { background: var(--bg-navy); color: #fff; }
.btn-primary:hover { background: var(--bg-dark); color: #fff; }

.btn-gold { background: var(--bg-gold); color: var(--bg-dark); }
.btn-gold:hover { background: var(--bg-gold-2); color: var(--bg-dark); }

.btn-ghost { background: #fff; color: var(--bg-navy); border-color: var(--c-border); }
.btn-ghost:hover { background: var(--bg-navy-7); border-color: var(--bg-navy-5); }

.btn-lg { min-height: 56px; padding: 0.95rem 2rem; font-size: var(--fs-lg); }
.btn-block { width: 100%; }
.btn .arrow { font-size: 1.15em; line-height: 1; }

/* ---------- תגיות ---------- */
.tag {
  display: inline-flex; align-items: center; gap: 0.35rem;
  padding: 0.3rem 0.75rem; border-radius: var(--r-pill);
  font-size: var(--fs-xs); font-weight: 700;
  background: var(--bg-navy-7); color: var(--bg-navy);
}
.tag-gold { background: var(--bg-gold-7); color: var(--bg-dark); }
.tag-green { background: var(--bg-green-7); color: var(--bg-dark); }

/* ---------- קווי מטרו (שפת זאפ) ----------
   נכנסים ויוצאים מקצה הפריים, עוברים בשוליים בלבד, תחנה בכל החלפת צבע.
   מתחת ל-1000px הפריסה חד-טורית ואין שוליים בטוחים — הקווים מוסתרים
   כדי שלא יחצו טקסט, וזה כלל קשיח בשפה של זאפ. */
.metro { display: none; position: absolute; inset: 0; pointer-events: none; overflow: hidden; z-index: 0; }
@media (min-width: 1000px) { .metro { display: block; } }
.metro svg { position: absolute; width: 100%; height: 100%; }
/* non-scaling-stroke: הקו נשאר 7px בכל כיוון גם כשה-SVG נמתח */
.metro path {
  fill: none; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round;
  vector-effect: non-scaling-stroke;
}
.metro circle { fill: #fff; stroke-width: 7; vector-effect: non-scaling-stroke; }

/* ==========================================================================
   כרום — רצועה עליונה, כותרת, תפריט
   ========================================================================== */

/* הרצועה העליונה בתוך ה-header הדביק: הטלפון נשאר נגיש בכל גלילה */
.topbar {
  background: var(--bg-navy);
  color: #fff;
  font-size: var(--fs-sm);
}
.topbar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 0.25rem 1rem; min-height: 44px; }
.topbar-links { min-width: 0; }
.topbar a { color: #fff; text-decoration: none; }
.topbar a:hover { text-decoration: underline; }
.topbar-links { display: flex; gap: 1.5rem; list-style: none; margin: 0; padding: 0; }
.topbar-links a { display: inline-flex; align-items: center; min-height: 44px; }
.topbar-phone { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: var(--fs-base); min-height: var(--tap); }
@media (max-width: 760px) { .topbar-links { display: none; } }

.site-header {
  position: sticky; top: 0; z-index: 60;
  background: #fff;
  border-bottom: 1px solid var(--c-border-soft);
}
/* במסך נמוך (זום 400%, נייד לרוחב) כותרת דביקה בולעת חצי מהתצוגה */
@media (max-height: 480px) {
  .site-header { position: static; }
  html { scroll-padding-top: 1rem; }
}
.site-header.is-stuck { box-shadow: var(--shadow-s); }
.header-row {
  display: flex; flex-wrap: wrap; align-items: center;
  gap: 0.5rem 0.75rem;
  min-height: 76px;
}
/* הלוגו דוחף את כל השאר לקצה — בלי שני margin:auto שמתחרים זה בזה */
.logo { margin-inline-end: auto; }

.logo { display: inline-flex; align-items: center; gap: 0.6rem; text-decoration: none; flex-shrink: 0; }
.logo-mark {
  width: 44px; height: 44px; border-radius: var(--r-tile);
  background: var(--bg-navy); color: var(--bg-gold);
  display: grid; place-items: center; font-weight: 900; font-size: 1.5rem; line-height: 1;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.1; }
.logo-name { font-size: 1.6rem; font-weight: 900; color: var(--bg-navy); }
.logo-name .plus { color: var(--bg-gold); }
.logo-tag { font-size: var(--fs-xs); color: var(--c-text-faint); font-weight: 600; }
@media (max-width: 520px) { .logo-tag { display: none; } .logo-name { font-size: 1.35rem; } }

/* חיפוש בכותרת */
.header-search { flex: 1 1 240px; min-width: 0; max-width: 460px; }
.search-box { display: flex; align-items: stretch; background: var(--c-surface-2); border: 2px solid var(--c-border); border-radius: var(--r-pill); overflow: hidden; }
/* הטבעת על העטיפה — צל של האלמנט עצמו לא נחתך ע"י ה-overflow שלו */
.search-box:focus-within {
  border-color: var(--bg-navy); background: #fff;
  outline: 3px solid var(--bg-dark); outline-offset: 2px;
  box-shadow: 0 0 0 6px var(--c-focus);
}
.search-box input {
  flex: 1; min-width: 0; min-height: var(--tap);
  border: 0; background: transparent; padding: 0 1.1rem; font-size: var(--fs-base);
}
.search-box input:focus { outline: none; }
.search-box button {
  min-width: 56px; min-height: var(--tap); border: 0; cursor: pointer;
  background: var(--bg-navy); color: #fff; display: grid; place-items: center;
}
.search-box button:hover { background: var(--bg-dark); }
@media (max-width: 900px) { .header-search { display: none; } }

/* בורר גודל טקסט — בכותרת, בכל דף */
.text-size-bar { display: flex; align-items: center; gap: 0.3rem; }
.text-size-bar .label { font-size: var(--fs-xs); color: var(--c-text-faint); font-weight: 700; }
.text-size-bar button {
  min-width: 44px; min-height: 44px; border: 2px solid var(--c-border); border-radius: var(--r-sm);
  background: #fff; font-weight: 800; color: var(--bg-navy); cursor: pointer; line-height: 1;
}
.text-size-bar button[aria-checked='true'], .text-size-bar button[aria-pressed='true'] {
  background: var(--bg-navy); border-color: var(--bg-navy); color: #fff;
}
@media (max-width: 620px) { .text-size-bar .label { display: none; } }

/* כפתור תפריט מובייל */
.nav-toggle {
  display: none; align-items: center; gap: 0.5rem;
  min-height: var(--tap); min-width: var(--tap); padding: 0 1rem;
  background: var(--bg-navy); color: #fff; border: 0; border-radius: var(--r-pill);
  font-weight: 700; cursor: pointer;
}
@media (max-width: 1060px) { .nav-toggle { display: inline-flex; } }

/* תפריט ראשי */
.main-nav { background: var(--bg-navy); }
.main-nav > .wrap { padding-inline: 0; }
/* נשבר לשורות ולא גולש. גלילה אופקית עם scrollbar מוסתר הסתירה פריטים
   כשהטקסט מוגדל, ומעל 1240px הגלישה דחפה את כל הדף לרוחב — כשל 1.4.4 */
.nav-list {
  display: flex; list-style: none; margin: 0; padding: 0;
  justify-content: flex-start; flex-wrap: wrap;
}
.nav-item { position: relative; }
.nav-link {
  display: flex; align-items: center; gap: 0.35rem;
  min-height: 54px; padding: 0 0.8rem;
  color: #fff; text-decoration: none; font-weight: 700; font-size: var(--fs-base);
  border-bottom: 4px solid transparent;
}
.nav-link:hover, .nav-item.is-open > .nav-link { background: var(--bg-dark); text-decoration: none; }
.nav-item.is-current > .nav-link { border-bottom-color: var(--bg-gold); }
.nav-link .caret { font-size: 0.7em; opacity: 0.8; transition: transform var(--t); }
.nav-item.is-open .caret { transform: rotate(180deg); }

.nav-panel {
  position: absolute; inset-inline-start: 0; top: 100%; z-index: 70;
  display: none; min-width: 280px; max-width: 460px;
  background: #fff; border-radius: 0 0 var(--r) var(--r);
  box-shadow: var(--shadow-l); padding: 0.75rem;
  border: 1px solid var(--c-border-soft); border-top: 0;
}
.nav-item.is-open > .nav-panel { display: block; }
.nav-panel ul { list-style: none; margin: 0; padding: 0; columns: 1; }
.nav-panel.cols-2 ul { columns: 2; column-gap: 1rem; }
.nav-panel a {
  display: block; padding: 0.7rem 0.8rem; border-radius: var(--r-sm);
  color: var(--c-text); text-decoration: none; font-size: var(--fs-sm); font-weight: 600;
  break-inside: avoid;
}
.nav-panel a:hover { background: var(--bg-navy-7); color: var(--bg-navy); }

@media (max-width: 1060px) {
  /* המגירה נפתחת מאותו צד שבו יושב כפתור ההמבורגר (inline-end) */
  .main-nav {
    position: fixed; inset-block: 0; inset-inline-end: 0; inset-inline-start: auto; z-index: 100;
    width: min(400px, 90vw); background: #fff;
    transform: translateX(-100%); visibility: hidden;
    transition: transform var(--t), visibility var(--t);
    overflow-y: auto; box-shadow: var(--shadow-l);
    padding-bottom: 3rem;
  }
  [dir='rtl'] .main-nav { transform: translateX(-100%); }
  .main-nav.is-open { transform: translateX(0); visibility: visible; }
  .nav-backdrop {
    position: fixed; inset: 0; z-index: 90; background: rgba(0, 28, 50, 0.55);
    opacity: 0; visibility: hidden; transition: opacity var(--t), visibility var(--t);
  }
  .nav-backdrop.is-open { opacity: 1; visibility: visible; }
  .nav-head {
    display: flex; align-items: center; justify-content: space-between;
    padding: 1rem var(--pad-x); border-bottom: 1px solid var(--c-border-soft);
    position: sticky; top: 0; background: #fff; z-index: 2;
  }
  .nav-close {
    min-width: var(--tap); min-height: var(--tap); border: 0; border-radius: 50%;
    background: var(--bg-navy-7); color: var(--bg-navy); font-size: 1.4rem; cursor: pointer;
  }
  .nav-list { flex-direction: column; padding: 0.5rem var(--pad-x); }
  .nav-item { border-bottom: 1px solid var(--c-border-soft); }
  .nav-link { color: var(--c-text); min-height: 56px; padding-inline: 0.25rem; font-size: var(--fs-base); justify-content: space-between; border-bottom: 0; }
  .nav-link:hover, .nav-item.is-open > .nav-link { background: transparent; color: var(--bg-navy); }
  .nav-item.is-current > .nav-link { color: var(--bg-navy); }
  .nav-panel {
    position: static; display: none; box-shadow: none; border: 0;
    background: var(--c-surface-2); border-radius: var(--r-sm);
    margin-bottom: 0.75rem; max-width: none; min-width: 0;
  }
  .nav-panel.cols-2 ul { columns: 1; }
  .nav-mobile-search { padding: 1rem var(--pad-x) 0; }
  .nav-mobile-search .header-search { display: block; max-width: none; }
}
/* 1060.02 ולא 1061 — ברוחב שבור כמו 1060.5px אף אחד מהשניים לא היה חל */
@media (min-width: 1060.02px) { .nav-head, .nav-mobile-search, .nav-backdrop { display: none; } }

/* ---------- פירורי לחם ---------- */
.breadcrumb { background: var(--c-surface-2); border-bottom: 1px solid var(--c-border-soft); }
.breadcrumb ol {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem;
  list-style: none; margin: 0; padding: 0.75rem 0; font-size: var(--fs-sm);
}
.breadcrumb li { display: flex; align-items: center; gap: 0.5rem; color: var(--c-text-faint); }
.breadcrumb li + li::before { content: '›'; color: var(--bg-navy-5); font-weight: 700; }
.breadcrumb a { color: var(--c-text-soft); text-decoration: none; }
.breadcrumb a:hover { color: var(--bg-navy); text-decoration: underline; }
.breadcrumb [aria-current] { color: var(--c-text); font-weight: 700; }

/* ---------- פוטר ---------- */
.site-footer { background: var(--bg-dark); color: var(--c-on-dark); margin-top: 4rem; }
.site-footer a:not(.btn) { color: #fff; text-decoration: none; }
.site-footer a:not(.btn):hover { text-decoration: underline; }
.footer-grid {
  display: grid; gap: 2rem; padding: 3rem 0 2rem;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
}
.footer-col h3 { color: #fff; font-size: var(--fs-lg); margin-bottom: 0.9rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li + li { margin-top: 0.1rem; }
.footer-col li a:not(.btn) { display: inline-flex; align-items: center; min-height: var(--tap); font-size: var(--fs-sm); }
.footer-about p { font-size: var(--fs-base); line-height: 1.65; color: var(--c-on-dark); }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: 1.25rem 0 2rem;
  display: flex; flex-wrap: wrap; gap: 0.75rem 1.5rem; align-items: center; justify-content: space-between;
  font-size: var(--fs-sm);
}
.footer-legal { display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem; list-style: none; margin: 0; padding: 0; }
.footer-legal a { display: inline-flex; align-items: center; min-height: var(--tap); }
.footer-zap { display: flex; align-items: center; gap: 0.75rem; color: var(--c-on-dark); }
/* הלוגו הרשמי של zap group, גרסה לבנה על רקע כהה. נכס, לא ציור. */
.footer-zap img { height: 26px; width: auto; }

/* ==========================================================================
   רכיבים משותפים
   ========================================================================== */

/* כרטיס כללי */
.card {
  background: #fff; border: 1px solid var(--c-border-soft); border-radius: var(--r);
  overflow: hidden; display: flex; flex-direction: column;
  transition: border-color var(--t), box-shadow var(--t), transform var(--t);
}
.card:hover { border-color: var(--bg-navy-5); box-shadow: var(--shadow-m); }
.card-body { padding: 1.25rem; display: flex; flex-direction: column; gap: 0.6rem; flex: 1; min-width: 0; }
.card-title { font-size: var(--fs-h3); margin: 0; }
.card-title a { color: inherit; text-decoration: none; }
.card-title a:hover { text-decoration: underline; }
.card-text { margin: 0; color: var(--c-text-soft); font-size: var(--fs-base); }
.card-media { aspect-ratio: 16 / 10; background: var(--c-surface-3); overflow: hidden; }
.card-media img { width: 100%; height: 100%; object-fit: cover; }
.card-foot { margin-top: auto; padding-top: 0.4rem; }

/* כרטיס עם קישור שמכסה את כולו */
.card-link::after { content: ''; position: absolute; inset: 0; }
.card-hit { position: relative; }
/* פקד מקונן נשאר לחיץ מעל שכבת הכיסוי */
.card-hit a:not(.card-link), .card-hit button { position: relative; z-index: 1; }

/* רשת */
.grid { display: grid; gap: var(--gap); }
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }

/* כותרת מקטע */
.section { padding-block: 3rem; }
.section-head {
  display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between;
  gap: 0.5rem 1rem; margin-bottom: 1.5rem;
}
.section-head h2 { margin: 0; }
.section-head .more { display: inline-flex; align-items: center; min-height: 44px; font-weight: 700; white-space: nowrap; }
.section-sub { color: var(--c-text-soft); max-width: 55ch; margin: -0.75rem 0 1.5rem; }

/* תיבת מידע */
.note {
  border-inline-start: 5px solid var(--bg-gold);
  background: var(--bg-gold-7); border-radius: var(--r-sm);
  padding: 1rem 1.25rem; font-size: var(--fs-sm);
}
.note-navy { border-inline-start-color: var(--bg-navy); background: var(--bg-navy-7); }

/* טפסים */
.field { display: flex; flex-direction: column; gap: 0.4rem; }
.field label { font-weight: 700; font-size: var(--fs-sm); }
.field .hint { font-size: var(--fs-xs); color: var(--c-text-faint); }
.field input, .field select, .field textarea {
  min-height: var(--tap); padding: 0.65rem 0.9rem;
  border: 2px solid var(--c-border); border-radius: var(--r-sm);
  background: #fff; font-size: var(--fs-base); width: 100%;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--bg-navy); outline: none; }
.field input:focus-visible, .field select:focus-visible, .field textarea:focus-visible { outline: 3px solid var(--bg-dark); }
@media (forced-colors: active) {
  /* appearance:none מעלים את החץ לגמרי במצב ניגודיות גבוהה של ווינדוס */
  .field select { appearance: auto; background-image: none; padding-inline: 0.9rem; }
}
.field select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23052b7a' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: left 1rem center; background-size: 12px;
  /* החץ מצויר תמיד משמאל (background-position פיזי), ולכן ה-padding שמפנה לו
     מקום הוא inline-end ב-RTL. היפוך של השניים גורם לטקסט לרוץ מתחת לחץ. */
  padding-inline-start: 0.9rem; padding-inline-end: 2.5rem;
}
.form-grid { display: grid; gap: 1.1rem; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.form-grid .span-all { grid-column: 1 / -1; }

/* הודעת פרטיות — יושבת מעל כפתור השליחה ומקושרת מתיבת ההסכמה */
.privacy-note {
  margin: 0; font-size: var(--fs-sm); color: var(--c-text-soft);
  border-inline-start: 4px solid var(--c-border); padding-inline-start: 0.9rem;
}
/* "כל השדות חובה" / "(חובה)" — מילים, לא כוכבית */
.req-note { font-size: var(--fs-sm); color: var(--c-text-soft); margin: 0 0 1.25rem; }

/* ---------- שגיאות בטופס ----------
   האדום #ff210d נותן 3.8:1 על לבן — מספיק לגבול ולאייקון (1.4.11) אבל לא
   לטקסט. לכן הטקסט כהה, והאדום מסמן בלבד. הסימון אף פעם לא רק בצבע:
   יש גם אייקון, גם ניסוח מילולי וגם aria-invalid. */
.form-errors {
  grid-column: 1 / -1;
  border: 2px solid var(--bg-red);
  border-inline-start-width: 6px;
  background: var(--bg-red-7);
  border-radius: var(--r-sm);
  padding: 1.1rem 1.25rem;
  margin: 0 0 1.5rem;
  color: var(--c-text);
}
.form-errors:focus-visible { outline: 3px solid var(--bg-dark); outline-offset: 3px; }
.form-errors-title {
  display: flex; align-items: flex-start; gap: 0.5rem;
  margin: 0 0 0.6rem; font-size: var(--fs-lg); color: var(--c-text);
}
.form-errors .ico { color: var(--bg-red); flex-shrink: 0; line-height: 0; margin-top: 0.15em; }
.form-errors ul { margin: 0; padding-inline-start: 1.25rem; display: grid; gap: 0.4rem; }
.form-errors li { font-size: var(--fs-sm); }
.form-errors a { color: var(--c-link); font-weight: 700; }

/* רקע משלה — ההודעה מופיעה גם בתוך תיבה כהה (הניוזלטר בסיידבר),
   ובלעדיו הטקסט הכהה היה יוצא 1.35:1 על נייבי */
.field-error {
  display: flex; align-items: flex-start; gap: 0.45rem;
  margin: 0.4rem 0 0; font-size: var(--fs-sm); font-weight: 700; color: var(--c-text);
  background: var(--bg-red-7); border-inline-start: 4px solid var(--bg-red);
  border-radius: var(--r-sm); padding: 0.5rem 0.7rem;
}
.field-error .ico { color: var(--bg-red); flex-shrink: 0; line-height: 0; margin-top: 0.1em; }

[aria-invalid='true'] { border-color: var(--bg-red) !important; }
input[aria-invalid='true'], select[aria-invalid='true'], textarea[aria-invalid='true'] {
  box-shadow: inset 0 0 0 1px var(--bg-red);
}
.check input[aria-invalid='true'] { outline: 2px solid var(--bg-red); outline-offset: 2px; }

/* יעד מגע נדיב — הקהל מבוגר */
.check { display: flex; align-items: flex-start; gap: 0.7rem; cursor: pointer; font-size: var(--fs-sm); padding-block: 0.6rem; }
.check input[type='checkbox'] { width: 24px; height: 24px; min-height: 24px; margin: 2px 0 0; accent-color: var(--bg-navy); flex-shrink: 0; }

fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; font-weight: 800; font-size: var(--fs-lg); color: var(--bg-navy); }

/* באנר פרסומי — מסומן בבירור */
.ad-slot {
  display: grid; place-items: center; gap: 0.25rem;
  background: var(--c-surface-2); border: 1px dashed var(--c-border);
  border-radius: var(--r-sm); color: var(--c-text-faint);
  font-size: var(--fs-xs); text-align: center; padding: 1rem;
}
.ad-slot .ad-label { font-weight: 700; letter-spacing: 0.06em; }
.ad-lead { min-height: 110px; margin: 1.25rem 0; }
@media (max-width: 760px) { .ad-lead { min-height: 90px; } }

/* דפדוף */
.pager { display: flex; flex-wrap: wrap; gap: 0.5rem; justify-content: center; align-items: center; margin-top: 2rem; list-style: none; padding: 0; }
.pager a, .pager span {
  display: grid; place-items: center; min-width: var(--tap); min-height: var(--tap);
  padding: 0 0.9rem; border-radius: var(--r-sm); border: 2px solid var(--c-border);
  text-decoration: none; font-weight: 700; background: #fff;
}
.pager a:hover { border-color: var(--bg-navy); background: var(--bg-navy-7); }
.pager [aria-current] { background: var(--bg-navy); border-color: var(--bg-navy); color: #fff; }
.pager .is-disabled { color: var(--bg-navy-3); border-color: var(--c-border-soft); }

/* --proto-bar-h מוגדר ב-_proto.css ומתאפס ל-0 בפרודקשן */