/* ===================================================================
   ניר זוארי – נגישות, פרטיות ועיצוב עמודי התוכן (16/11/2026)
   mu-plugins/nir-a11y-privacy.php טוען את הקובץ הזה בכל עמוד
   =================================================================== */
:root{
    --nir-ink:#1f1f1e; --nir-dark:#2C2C2B; --nir-gold:#D9BB7E; --nir-gold-dark:#9c7a35; --nir-link:#7a5717;
    --nir-cream:#faf6ec; --nir-line:#e6dcc6; --nir-muted:#5f5a52; --nir-focus:#FFD54A;
}

/* ---------- דילוג לתוכן ומיקוד מקלדת ---------- */
.nir-skip{
    position:fixed; z-index:2147483646; top:10px; inset-inline-start:10px; transform:translateY(-200%);
    padding:12px 20px; border-radius:12px; background:var(--nir-ink); color:#fff !important; font-weight:800; font-size:16px;
    text-decoration:underline; box-shadow:0 8px 24px rgb(0 0 0 / 40%);
}
.nir-skip:focus{ transform:none; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible{
    outline:3px solid var(--nir-focus) !important; outline-offset:2px !important; box-shadow:0 0 0 5px var(--nir-ink) !important;
}
h1:focus, h2:focus{ outline:none; }

/* ===================================================================
   תפריט הנגישות (a11y.js) – בלי שירות חיצוני. המצבים מופעלים כמחלקות על <html>
   =================================================================== */
.a11y-sr{ position:absolute !important; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0; }
.a11y-ico{ width:1em; height:1em; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; flex-shrink:0; }
.a11y, .a11y *{ box-sizing:border-box; }
.a11y button{ font-family:inherit; }

/* שכבות: מעל כל רכיבי האתר (גם הטופס הקבוע בתחתית המסך בטלפון), ומתחת רק לתפריט הניווט של Elementor (2147483647) */
.a11y-toggle{
    position:fixed; z-index:2147483000; inset-inline-start:0; top:calc(50% - 27px);
    width:54px; height:54px; padding:0; display:grid; place-items:center;
    background:var(--nir-dark); color:var(--nir-gold); font-size:32px;
    border:2px solid var(--nir-gold); border-inline-start:0; border-start-end-radius:16px; border-end-end-radius:16px;
    box-shadow:0 6px 18px rgb(0 0 0 / 35%); cursor:pointer;
}
.a11y-toggle:hover{ background:#000; }
.a11y-toggle:focus-visible{ outline:3px solid var(--nir-focus) !important; outline-offset:-8px !important; box-shadow:0 6px 18px rgb(0 0 0 / 35%) !important; }
.a11y-toggle__count{
    position:absolute; top:-8px; inset-inline-end:-8px; min-width:22px; height:22px; padding:0 6px;
    display:grid; place-items:center; border-radius:999px; background:var(--nir-gold); color:var(--nir-ink);
    font-size:13px; font-weight:800; line-height:1; box-shadow:0 0 0 2px var(--nir-ink);
}
html.a11y-side-left .a11y-toggle{
    inset-inline-start:auto; inset-inline-end:0; border-inline-start:2px solid var(--nir-gold); border-inline-end:0;
    border-start-end-radius:0; border-end-end-radius:0; border-start-start-radius:16px; border-end-start-radius:16px;
}
html.a11y-side-left .a11y-toggle__count{ inset-inline-end:auto; inset-inline-start:-8px; }
html.a11y-side-left .a11y-panel{ inset-inline-start:auto; inset-inline-end:12px; }

.a11y-panel{
    position:fixed; z-index:2147483002; inset-inline-start:12px; transform:translateY(-50%);
    /* נפתח בשטח שמעל רצועה קבועה בתחתית המסך (הטופס בעמוד הבית בטלפון), כדי שלא יוסתר מאחוריה */
    top:calc((100vh - var(--nir-fixed-bottom, 0px)) / 2); top:calc((100dvh - var(--nir-fixed-bottom, 0px)) / 2);
    width:min(410px, calc(100vw - 24px)); overflow-y:auto;
    max-height:calc(100vh - var(--nir-fixed-bottom, 0px) - 24px); max-height:calc(100dvh - var(--nir-fixed-bottom, 0px) - 24px);
    background:#fff; color:var(--nir-ink); border:2px solid var(--nir-ink); border-radius:20px;
    box-shadow:0 24px 60px rgb(0 0 0 / 45%); font-size:15px; line-height:1.4; padding-bottom:14px; text-align:start;
}
.a11y-panel[hidden]{ display:none !important; }
.a11y-panel:focus{ outline:none !important; box-shadow:0 24px 60px rgb(0 0 0 / 45%) !important; }
.a11y-panel__head{ position:sticky; top:0; z-index:1; display:flex; align-items:center; justify-content:space-between; gap:10px; padding:12px 16px; background:var(--nir-ink); color:#fff; border-bottom:3px solid var(--nir-gold); }
.a11y-panel__title{ display:flex; align-items:center; gap:8px; margin:0; font-size:19px; font-weight:700; color:#fff; font-family:inherit; }
.a11y-panel__title .a11y-ico{ font-size:28px; color:var(--nir-gold); }
.a11y-x{ width:40px; height:40px; padding:0; border-radius:50%; border:2px solid rgb(255 255 255 / 75%); background:transparent; color:#fff; display:grid; place-items:center; font-size:20px; cursor:pointer; }
.a11y-x:hover{ background:rgb(255 255 255 / 15%); }

.a11y-sec{ margin:14px 16px 0; }
.a11y-sec__title{ margin:0 0 8px; font-size:14px; font-weight:800; color:var(--nir-muted); font-family:inherit; }
.a11y-size{ display:flex; align-items:center; justify-content:space-between; gap:10px; padding:10px 12px; border:2px solid var(--nir-line); border-radius:14px; background:var(--nir-cream); }
.a11y-size__label{ margin:0; font-size:15px; font-weight:700; color:var(--nir-ink); font-family:inherit; }
.a11y-size__ctrl{ display:flex; align-items:center; gap:8px; }
.a11y-size__btn{ min-width:48px; height:40px; border-radius:10px; border:2px solid var(--nir-ink); background:#fff; color:var(--nir-ink); font-weight:800; font-size:17px; cursor:pointer; padding:0 6px; }
.a11y-size__btn:hover{ background:#f3ead6; }
.a11y-size__btn[aria-disabled="true"]{ opacity:.5; cursor:not-allowed; }
.a11y-size__value{ min-width:52px; text-align:center; font-weight:800; }

.a11y-grid, .a11y-profiles{ list-style:none; margin:0; padding:0; display:grid; grid-template-columns:repeat(3, minmax(0, 1fr)); gap:8px; }
.a11y-grid li, .a11y-profiles li{ margin:0; padding:0; }
.a11y-opt, .a11y-profile{
    position:relative; width:100%; min-height:82px; padding:10px 6px;
    display:flex; flex-direction:column; align-items:center; justify-content:center; gap:6px;
    border-radius:14px; border:2px solid var(--nir-line); background:var(--nir-cream); color:var(--nir-ink);
    font-weight:700; font-size:13.5px; line-height:1.25; text-align:center; cursor:pointer;
}
.a11y-profile{ min-height:74px; background:#fff4d8; border-color:var(--nir-gold); }
.a11y-opt:hover, .a11y-profile:hover{ border-color:var(--nir-ink); }
.a11y-opt__icon{ width:28px; height:28px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round; }
.a11y-opt[aria-pressed="true"], .a11y-profile[aria-pressed="true"]{ background:var(--nir-ink); border-color:var(--nir-gold); color:#fff; }
.a11y-opt[aria-pressed="true"]::after, .a11y-profile[aria-pressed="true"]::after{ content:"✓"; position:absolute; top:4px; inset-inline-end:8px; font-size:14px; font-weight:800; color:var(--nir-gold); }
.a11y-opt[aria-expanded="true"]{ border-color:var(--nir-ink); background:#f3ead6; }

.a11y-panel__warn{ margin:8px 0 0; padding:8px 10px; border-radius:10px; background:#fff1d6; color:#6b4100; font-size:13px; line-height:1.5; }
.a11y-panel__warn[hidden], .a11y-structure[hidden], .a11y-toggle__count[hidden]{ display:none !important; }
.a11y-structure{ margin-top:10px; padding:10px; border:2px solid var(--nir-line); border-radius:14px; background:var(--nir-cream); max-height:260px; overflow-y:auto; }
.a11y-structure__hint{ margin:0 0 6px; font-size:13px; color:var(--nir-muted); }
.a11y-structure__list{ list-style:none; margin:0; padding:0; display:grid; gap:4px; }
.a11y-structure__list button{ width:100%; padding:7px 10px; border-radius:10px; border:1.5px solid var(--nir-line); background:#fff; color:var(--nir-ink); font-weight:700; font-size:14px; text-align:start; cursor:pointer; }
.a11y-structure__list button:hover{ border-color:var(--nir-ink); }
.a11y-structure__list .lvl-2 button{ padding-inline-start:24px; }
.a11y-structure__list .lvl-3 button{ padding-inline-start:38px; font-weight:500; }

.a11y-panel__foot{ display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; margin:16px 16px 0; }
.a11y-reset, .a11y-side{ display:inline-flex; align-items:center; gap:8px; min-height:42px; padding:6px 14px; border-radius:999px; border:2px solid var(--nir-ink); background:#fff; color:var(--nir-ink); font-weight:700; font-size:14px; cursor:pointer; }
.a11y-reset .a11y-ico{ font-size:18px; }
.a11y-reset:hover, .a11y-side:hover{ background:#f3ead6; }
.a11y-side[aria-pressed="true"]{ background:var(--nir-ink); color:#fff; }
.a11y-link{ display:inline-flex; align-items:center; gap:6px; color:var(--nir-link) !important; font-weight:700; text-decoration:underline !important; text-underline-offset:3px; }
.a11y-link .a11y-ico{ font-size:18px; }
.a11y-panel__note{ margin:12px 16px 0; font-size:13px; line-height:1.5; color:var(--nir-muted); }
.a11y-panel__note kbd{ padding:1px 6px; border:1px solid #b9ab8c; border-radius:6px; background:var(--nir-cream); color:var(--nir-ink); font-family:inherit; font-weight:700; font-size:12px; }
@media (max-width:767px){ .a11y-toggle{ width:46px; height:46px; font-size:27px; top:calc(50% - 23px); } }
@media (max-width:380px){ .a11y-grid, .a11y-profiles{ grid-template-columns:repeat(2, minmax(0, 1fr)); } }
@media print{ .a11y, .a11y-aid, .nir-consent, .nir-media-toggle, .nir-skip{ display:none !important; } }

/* עזרי קריאה: סרגל ומסכה שעוקבים אחרי העכבר והפוקוס, הדגשת מה שמוקרא, וקפיצה לכותרת */
.a11y-aid{ position:fixed; inset-inline:0; z-index:2147482990; pointer-events:none; }
.a11y-guide{ top:50%; height:8px; background:var(--nir-focus); box-shadow:0 0 0 2px var(--nir-ink), 0 4px 14px rgb(0 0 0 / 35%); }
.a11y-mask{ background:rgb(0 0 0 / 62%); }
.a11y-mask--top{ top:0; height:40vh; }
.a11y-mask--bottom{ top:60vh; bottom:0; }
.a11y-speaking{ outline:3px dashed var(--nir-focus) !important; outline-offset:3px !important; }
.a11y-flash{ outline:4px solid var(--nir-focus) !important; outline-offset:4px !important; box-shadow:0 0 0 8px var(--nir-ink) !important; }

/* ---------- מצבי התצוגה (מחלקות על <html>) ---------- */
/* גודל טקסט ותצוגה: כל התוכן גדל והפריסה מסתדרת מחדש (התפריט עצמו בגודל קבוע) */
html.a11y-size-1 :is(body > [data-elementor-type]:not([data-elementor-type="popup"]), .nir-links){ zoom:1.15; }
html.a11y-size-2 :is(body > [data-elementor-type]:not([data-elementor-type="popup"]), .nir-links){ zoom:1.3; }
html.a11y-size-3 :is(body > [data-elementor-type]:not([data-elementor-type="popup"]), .nir-links){ zoom:1.5; }

/* גווני אפור, היפוך צבעים ורוויה: משתלבים זה בזה */
html.a11y-gray{ --a11y-gray:grayscale(1); }
html.a11y-invert{ --a11y-invert:invert(1) hue-rotate(180deg); }
html.a11y-sat-low{ --a11y-sat:saturate(.35); }
html.a11y-sat-high{ --a11y-sat:saturate(1.9); }
html:is(.a11y-gray, .a11y-invert, .a11y-sat-low, .a11y-sat-high){ filter:var(--a11y-gray,) var(--a11y-invert,) var(--a11y-sat,); }
/* בהיפוך צבעים, תמונות וסרטונים מתהפכים שוב כדי שייראו רגיל */
html.a11y-invert :is(img, video, iframe, canvas){ filter:invert(1) hue-rotate(180deg); }

/* ניגודיות גבוהה: רקע שחור, טקסט לבן, קישורים צהובים */
html.a11y-contrast-dark body{ background:#000 !important; }
html.a11y-contrast-dark body *:not(.a11y, .a11y *, .nir-consent, .nir-consent *, .a11y-aid, svg, svg *, img, video, iframe, canvas){
    background-color:#000 !important; background-image:none !important; color:#fff !important;
    border-color:#fff !important; text-shadow:none !important; box-shadow:none !important;
}
html.a11y-contrast-dark body *:not(.a11y *, .nir-consent *)::before,
html.a11y-contrast-dark body *:not(.a11y *, .nir-consent *)::after{ background-image:none !important; }
html.a11y-contrast-dark body :is(a, a *):not(.a11y *, .nir-consent *, svg, svg *){ color:#FFFF00 !important; }
html.a11y-contrast-dark body :is(.elementor-icon, .elementor-icon-list-icon, .elementor-social-icon) svg{ fill:#FFFF00 !important; }
html.a11y-contrast-dark ::placeholder{ color:#ddd !important; }

/* צהוב על שחור: רקע שחור, טקסט צהוב, קישורים לבנים */
html.a11y-contrast-yellow body{ background:#000 !important; }
html.a11y-contrast-yellow body *:not(.a11y, .a11y *, .nir-consent, .nir-consent *, .a11y-aid, svg, svg *, img, video, iframe, canvas){
    background-color:#000 !important; background-image:none !important; color:#FFFF00 !important;
    border-color:#FFFF00 !important; text-shadow:none !important; box-shadow:none !important;
}
html.a11y-contrast-yellow body *:not(.a11y *, .nir-consent *)::before,
html.a11y-contrast-yellow body *:not(.a11y *, .nir-consent *)::after{ background-image:none !important; }
html.a11y-contrast-yellow body :is(a, a *):not(.a11y *, .nir-consent *, svg, svg *){ color:#fff !important; text-decoration:underline !important; }
html.a11y-contrast-yellow body :is(.elementor-icon, .elementor-icon-list-icon, .elementor-social-icon) svg{ fill:#fff !important; }
html.a11y-contrast-yellow ::placeholder{ color:#e6e600 !important; }

/* רקע בהיר: רקע לבן, טקסט שחור, קישורים כחולים */
html.a11y-contrast-light body{ background:#fff !important; }
html.a11y-contrast-light body *:not(.a11y, .a11y *, .nir-consent, .nir-consent *, .a11y-aid, svg, svg *, img, video, iframe, canvas){
    background-color:#fff !important; background-image:none !important; color:#0a0a0a !important;
    border-color:var(--nir-ink) !important; text-shadow:none !important; box-shadow:none !important;
}
html.a11y-contrast-light body *:not(.a11y *, .nir-consent *)::before,
html.a11y-contrast-light body *:not(.a11y *, .nir-consent *)::after{ background-image:none !important; }
html.a11y-contrast-light body :is(a, a *):not(.a11y *, .nir-consent *, svg, svg *){ color:#0033cc !important; }
html.a11y-contrast-light body :is(.elementor-icon, .elementor-icon-list-icon, .elementor-social-icon) svg{ fill:#0033cc !important; }
/* הלוגו לבן במקור: ברקע בהיר הופכים אותו לכהה כדי שיישאר גלוי */
html.a11y-contrast-light body img[src*="logo"], html.a11y-contrast-light body .elementor-widget-image img{ filter:invert(1); }
html.a11y-contrast-light ::placeholder{ color:#444 !important; }

/* הדגשת כותרות */
html.a11y-headings body :is(h1, h2, h3, h4, h5, h6):not(.a11y *, .nir-consent *){ outline:2px solid var(--nir-focus); outline-offset:4px; background-color:rgb(255 213 74 / 16%); border-radius:6px; }

/* הדגשת קישורים */
html.a11y-links body a:not(.a11y *, .nir-consent *){ text-decoration:underline !important; text-decoration-thickness:2px !important; text-underline-offset:4px !important; outline:2px dashed currentColor; outline-offset:2px; }

/* הדגשת לחיצים: כל כפתור, קישור ושדה מסומנים במסגרת */
html.a11y-clickable body :is(a, button, input, select, textarea, summary, [role="button"], [tabindex="0"]):not(.a11y *, .nir-consent *){
    outline:3px solid #ff8a00 !important; outline-offset:2px !important;
}

/* הסתרת תמונות */
html.a11y-hideimg body :is(img, picture, video):not(.a11y *, .nir-consent *){ visibility:hidden !important; }
html.a11y-hideimg body *:not(.a11y *, .nir-consent *){ background-image:none !important; }

/* גופן קריא */
html.a11y-font body, html.a11y-font body *:not(svg, svg *, .a11y-ico, i, [class*="eicon"], [class*="fa-"]){ font-family:Arial, "Segoe UI", Tahoma, Helvetica, sans-serif !important; }

/* ריווח טקסט (WCAG 1.4.12) */
html.a11y-spacing body :is(p, li, dd, dt, td, th, label, h1, h2, h3, h4, a, button, span, small, strong, b, input, textarea, select, summary):not(.a11y *, .nir-consent *){
    line-height:1.8 !important; letter-spacing:.06em !important; word-spacing:.16em !important;
}

/* עצירת אנימציות (הסרטון והקרוסלה נעצרים גם ב-a11y.js) */
html.a11y-noanim, html.a11y-noanim *, html.a11y-noanim *::before, html.a11y-noanim *::after{ animation:none !important; transition:none !important; scroll-behavior:auto !important; }
html.a11y-noanim .elementor-invisible{ visibility:visible !important; }

/* הדגשת פוקוס: גם בלחיצת עכבר, ובולטת יותר */
html.a11y-focus body :focus:not(.a11y-panel){ outline:4px solid #FFFF00 !important; outline-offset:3px !important; box-shadow:0 0 0 4px #000, 0 0 0 10px #FFFF00 !important; }

/* סמן גדול */
html.a11y-cursor, html.a11y-cursor *{ cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M9 4l28 17-12.5 2.5 7.5 14.5-5.5 3-7.5-14.5-10 8.5z' fill='%23000' stroke='%23fff' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E") 9 4, auto !important; }
html.a11y-cursor :is(a, button, select, summary, label, [role="button"]), html.a11y-cursor :is(a, button, summary, label, [role="button"]) *{ cursor:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'%3E%3Cpath d='M9 4l28 17-12.5 2.5 7.5 14.5-5.5 3-7.5-14.5-10 8.5z' fill='%23D9BB7E' stroke='%23000' stroke-width='2.5' stroke-linejoin='round'/%3E%3C/svg%3E") 9 4, pointer !important; }

/* ===================================================================
   כפתורי עצירה לסרטון ולקרוסלה שזזים לבד
   =================================================================== */
.nir-media-host{ position:relative; }
.nir-media-toggle{
    position:absolute; z-index:5; inset-inline-end:12px; bottom:12px; width:44px; height:44px; padding:0;
    display:grid; place-items:center; border-radius:50%; border:2px solid var(--nir-gold);
    background:rgb(20 20 19 / 80%); color:#fff; cursor:pointer;
}
.nir-media-toggle:hover{ background:#000; }
.nir-media-toggle svg{ width:20px; height:20px; fill:currentColor; }

/* ===================================================================
   הודעת עוגיות ופרטיות (consent.js)
   =================================================================== */
/* --nir-fixed-bottom: גובה רצועה קבועה בתחתית המסך (הטופס בעמוד הבית בטלפון), נמדד ב-a11y.js. ההודעה עולה מעליה */
.nir-consent{ position:fixed; z-index:2147483001; inset-inline:12px; bottom:calc(var(--nir-fixed-bottom, 0px) + 12px); display:flex; justify-content:center; pointer-events:none; }
.nir-consent[hidden]{ display:none !important; }
.nir-consent__box{
    pointer-events:auto; width:100%; max-width:760px; max-height:calc(100vh - var(--nir-fixed-bottom, 0px) - 24px); overflow:auto;
    background:#fff; color:var(--nir-ink); border:2px solid var(--nir-gold); border-radius:18px;
    box-shadow:0 18px 50px rgb(0 0 0 / 35%); padding:16px 18px; font-size:14.5px; line-height:1.6; text-align:start;
}
.nir-consent__title{ margin:0 0 4px; font-size:17px; font-weight:800; color:var(--nir-ink); font-family:inherit; }
.nir-consent__text{ margin:0; color:var(--nir-ink); }
.nir-consent a{ color:var(--nir-link) !important; font-weight:700; text-decoration:underline; }
.nir-consent__actions{ display:flex; flex-wrap:wrap; gap:8px; margin-top:12px; }
.nir-consent__btn{ min-height:44px; padding:8px 20px; border-radius:999px; border:2px solid var(--nir-ink); background:#fff; color:var(--nir-ink); font-weight:700; font-size:15px; font-family:inherit; cursor:pointer; }
.nir-consent__btn:hover{ background:#f3ead6; }
.nir-consent__btn--primary{ background:var(--nir-ink); border-color:var(--nir-ink); color:#fff; }
.nir-consent__btn--primary:hover{ background:#000; }
.nir-consent__prefs{ margin-top:12px; padding:12px 14px; border-radius:12px; background:var(--nir-cream); border:1px solid var(--nir-line); }
.nir-consent__prefs[hidden]{ display:none !important; }
.nir-consent__row{ display:flex; align-items:center; gap:8px; font-size:15px; margin:4px 0 2px; }
.nir-consent__row input{ width:20px; height:20px; accent-color:var(--nir-ink); }
.nir-consent__desc{ margin:0 0 8px; padding-inline-start:28px; font-size:13.5px; color:var(--nir-muted); }
@media (max-width:767px){
    .nir-consent{ inset-inline:8px; bottom:calc(var(--nir-fixed-bottom, 0px) + 8px); }
    .nir-consent__box{ padding:12px 14px; font-size:13.5px; }
    .nir-consent__btn{ flex:1 1 auto; }
}

/* ===================================================================
   רצועת הקישורים בתחתית כל עמוד
   =================================================================== */
.nir-links{ background:#1a1a19; color:#e9e3d6; border-top:1px solid rgb(217 187 126 / 35%); font-size:15px; line-height:1.6; }
.nir-links__inner{ max-width:1140px; margin:0 auto; padding:30px 20px 34px; display:grid; grid-template-columns:1.6fr 1fr 1fr; gap:24px 48px; text-align:start; }
.nir-links h2.nir-links__title{ margin:0 0 10px; padding:0; border:0; font-size:15px; font-weight:800; color:var(--nir-gold); font-family:inherit; letter-spacing:.02em; line-height:1.4; text-transform:none; }
.nir-links__list{ list-style:none; margin:0; padding:0; display:grid; gap:6px 24px; }
.nir-links__group:first-child .nir-links__list{ grid-template-columns:repeat(2, minmax(0, 1fr)); }
.nir-links li{ margin:0; }
.nir-links a, .nir-links__btn{ color:#f1ece2 !important; text-decoration:none; }
.nir-links a:hover, .nir-links__btn:hover{ color:var(--nir-gold) !important; text-decoration:underline; }
.nir-links__btn{ background:none; border:0; padding:0; font:inherit; cursor:pointer; text-decoration:underline; text-underline-offset:3px; }
@media (max-width:767px){
    .nir-links__inner{ grid-template-columns:1fr; padding:26px 20px 30px; gap:22px; }
}
/* כשיש רצועה קבועה בתחתית המסך (הטופס בעמוד הבית בטלפון): מרווח כדי שהקישורים לא יוסתרו מאחוריה */
.nir-links{ padding-bottom:max(var(--nir-fixed-bottom, 0px), var(--nir-fixed-corner, 0px)); }

/* ===================================================================
   הערת הפרטיות שמתחת לטפסים
   =================================================================== */
/* הטפסים באתר יושבים על רקע כהה (#2C2C2B), לכן טקסט בהיר (ניגודיות כ-12:1) */
.nir16-form-note{ display:block; font-size:12.5px; line-height:1.45; margin:4px 0 0; text-align:center; color:#e9e3d6; }
.nir16-form-note a{ color:#e9e3d6 !important; text-decoration:underline; text-underline-offset:2px; }
.nir16-form-note a:hover{ color:var(--nir-gold) !important; }

/* ===================================================================
   עמודי תוכן: שירותים, שאלות נפוצות, אודות, מדיניות והצהרת נגישות
   (התוכן עטוף ב-<div class="nir16-doc">)
   =================================================================== */
.nir16-doc{ max-width:860px; margin:0 auto; font-size:17px; line-height:1.85; color:#2b2b2a; text-align:start; }
.nir16-doc > :first-child{ margin-top:0; }
.nir16-doc h2{ font-size:clamp(22px, 2.4vw, 28px); line-height:1.3; margin:2em 0 .6em; color:var(--nir-ink); font-weight:800; padding-bottom:.35em; border-bottom:2px solid var(--nir-gold); }
.nir16-doc h3{ font-size:clamp(18px, 1.8vw, 21px); line-height:1.35; margin:1.5em 0 .4em; color:var(--nir-ink); font-weight:700; }
.nir16-doc p{ margin:0 0 1em; }
.nir16-doc ul, .nir16-doc ol{ margin:0 0 1.2em; padding-inline-start:1.3em; }
.nir16-doc li{ margin:.35em 0; }
.nir16-doc ul li::marker{ color:var(--nir-gold-dark); }
.nir16-doc a{ color:var(--nir-link); font-weight:600; text-decoration:underline; text-underline-offset:3px; }
.nir16-doc a:hover{ color:var(--nir-ink); }
.nir16-doc strong{ color:var(--nir-ink); }
.nir16-lead{ font-size:clamp(18px, 1.9vw, 20.5px); color:#34322f; }
.nir16-updated{ font-size:14.5px; color:var(--nir-muted); }
.nir16-box{ background:var(--nir-cream); border:1px solid var(--nir-line); border-radius:16px; padding:18px 22px; margin:1.4em 0; }
.nir16-box > :last-child{ margin-bottom:0; }
.nir16-box h3:first-child{ margin-top:0; }
.nir16-figure{ margin:1.4em 0; }
.nir16-figure img{ display:block; width:auto; max-width:100%; height:auto; max-height:520px; margin:0 auto; border-radius:16px; border:2px solid var(--nir-gold); }
.nir16-figure figcaption{ font-size:14px; color:var(--nir-muted); margin-top:6px; text-align:center; }

/* תיבת יצירת קשר */
.nir16-cta{ background:var(--nir-ink); color:#ece6da; border-radius:20px; padding:26px 24px; margin:2.2em 0; text-align:center; }
.nir16-doc .nir16-cta h2{ border:0; color:var(--nir-gold); margin:0 0 .35em; padding:0; }
.nir16-cta p{ color:#ece6da; margin:0 auto .4em; max-width:560px; }
.nir16-btns{ display:flex; flex-wrap:wrap; gap:10px; justify-content:center; margin-top:16px; }
.nir16-doc .nir16-btn, .nir16-btn{
    display:inline-flex; align-items:center; justify-content:center; gap:8px; min-height:48px; padding:10px 24px;
    border-radius:999px; font-weight:800; font-size:16.5px; text-decoration:none; border:2px solid var(--nir-gold); line-height:1.2;
}
.nir16-doc .nir16-btn--gold, .nir16-btn--gold{ background:var(--nir-gold); color:var(--nir-ink); }
.nir16-doc .nir16-btn--gold:hover{ background:#e6cd99; color:var(--nir-ink); }
.nir16-doc .nir16-btn--ghost, .nir16-btn--ghost{ background:transparent; color:#f4efe5; }
.nir16-doc .nir16-btn--ghost:hover{ background:rgb(217 187 126 / 15%); color:#fff; }
.nir16-doc .nir16-btn--dark{ background:var(--nir-ink); color:#fff; border-color:var(--nir-ink); }

/* כרטיסי קישורים */
.nir16-cards{ display:grid; grid-template-columns:repeat(auto-fit, minmax(230px, 1fr)); gap:14px; margin:1.2em 0 2em; padding:0 !important; list-style:none; }
.nir16-cards li{ margin:0; }
.nir16-doc .nir16-cards a{
    display:block; height:100%; padding:16px 18px; border-radius:16px; border:1px solid var(--nir-line); background:#fff;
    text-decoration:none; color:var(--nir-ink); font-weight:800; font-size:17px; box-shadow:0 4px 16px rgb(0 0 0 / 6%);
}
.nir16-doc .nir16-cards a span{ display:block; font-weight:400; font-size:14.5px; color:var(--nir-muted); margin-top:4px; line-height:1.55; }
.nir16-doc .nir16-cards a:hover{ border-color:var(--nir-gold); box-shadow:0 6px 20px rgb(0 0 0 / 10%); }

/* שלבי טיפול ממוספרים */
.nir16-steps{ counter-reset:nirstep; list-style:none; padding:0 !important; margin:1em 0 1.6em; }
.nir16-steps > li{ counter-increment:nirstep; position:relative; padding-inline-start:48px; margin:0 0 16px; }
.nir16-steps > li::before{
    content:counter(nirstep); position:absolute; inset-inline-start:0; top:2px; width:34px; height:34px; border-radius:50%;
    background:var(--nir-gold); color:var(--nir-ink); font-weight:800; display:grid; place-items:center; font-size:16px; line-height:1;
}

/* שאלות נפוצות (details/summary – נגיש במקלדת ובקורא מסך בלי JavaScript) */
.nir16-faq{ margin:1em 0 2em; }
.nir16-faq details{ border:1px solid var(--nir-line); border-radius:14px; background:#fff; margin:0 0 10px; padding:0 18px; }
.nir16-faq details[open]{ border-color:var(--nir-gold); box-shadow:0 6px 18px rgb(0 0 0 / 6%); }
.nir16-faq summary{ cursor:pointer; font-weight:800; padding:14px 0; padding-inline-end:30px; font-size:17.5px; list-style:none; position:relative; color:var(--nir-ink); }
.nir16-faq summary::-webkit-details-marker{ display:none; }
.nir16-faq summary::after{ content:"+"; position:absolute; inset-inline-end:0; top:50%; transform:translateY(-50%); font-size:24px; font-weight:700; color:var(--nir-gold-dark); }
.nir16-faq details[open] summary::after{ content:"–"; }
.nir16-faq__a{ padding:0 0 14px; }
.nir16-faq__a > :last-child{ margin-bottom:0; }

/* גלריית לפני ואחרי */
.nir16-gallery{ display:grid; grid-template-columns:repeat(auto-fill, minmax(240px, 1fr)); gap:16px; margin:1.4em 0 2em; padding:0 !important; list-style:none; }
.nir16-gallery li{ margin:0; }
.nir16-gallery figure{ margin:0; border-radius:16px; overflow:hidden; background:var(--nir-ink); box-shadow:0 8px 22px rgb(0 0 0 / 14%); }
.nir16-gallery img{ display:block; width:100%; height:auto; aspect-ratio:1 / 1; object-fit:cover; }
.nir16-gallery figcaption{ font-size:14px; padding:9px 12px; color:#ece6da; text-align:center; }

/* טבלה (מדיניות העוגיות) */
.nir16-table-wrap{ overflow-x:auto; margin:1em 0 1.6em; }
.nir16-table{ width:100%; border-collapse:collapse; font-size:15px; line-height:1.55; }
.nir16-table th, .nir16-table td{ border:1px solid var(--nir-line); padding:9px 10px; text-align:start; vertical-align:top; }
.nir16-table th{ background:var(--nir-cream); color:var(--nir-ink); font-weight:800; }
.nir16-table code, .nir16-doc code{ direction:ltr; unicode-bidi:isolate; font-size:.92em; background:#f3ead6; padding:1px 5px; border-radius:5px; }

/* פרטי קשר */
.nir16-contact{ list-style:none; padding:0 !important; margin:.6em 0 1.2em; display:grid; gap:6px; }
.nir16-contact li{ margin:0; }

/* עמוד התודה */
.nir16-thanks{ max-width:640px; margin:0 auto; text-align:center; }
.nir16-thanks__icon{ width:78px; height:78px; margin:0 auto 14px; border-radius:50%; background:var(--nir-gold); display:grid; place-items:center; }
.nir16-thanks__icon svg{ width:40px; height:40px; fill:none; stroke:var(--nir-ink); stroke-width:3; stroke-linecap:round; stroke-linejoin:round; }
.nir16-thanks .nir16-lead{ margin-bottom:.6em; }
.nir16-thanks .nir16-btns{ margin:18px 0 26px; }

@media (max-width:767px){
    .nir16-doc{ font-size:16.5px; line-height:1.8; }
    .nir16-cta{ padding:22px 16px; border-radius:16px; }
    .nir16-doc .nir16-btn{ width:100%; }
    .nir16-gallery{ grid-template-columns:repeat(2, minmax(0, 1fr)); gap:10px; }
    .nir16-gallery figcaption{ font-size:12.5px; padding:6px 8px; }
}
