/* ============================================================
   nm-chrome.css (plugin 1.4.0): skip link, accessibility panel, cookie notice.
   Buttons are scoped "html body .nm-a11y button.x" so the kit's global
   `.elementor-kit-6 button{gradient}` can never paint them.
   ============================================================ */

/* ---------- skip link ---------- */
html body a.nm-skip{position:fixed;top:-120px;right:16px;z-index:100001;background:var(--nm-blue);color:#fff;
  padding:0 22px;min-height:44px;display:inline-flex;align-items:center;border-radius:var(--nm-radius-pill);font-weight:700;font-size:16px;line-height:1;text-decoration:none;
  box-shadow:var(--nm-shadow)}
html body a.nm-skip:focus,html body a.nm-skip:focus-visible{top:16px;color:#fff;outline:3px solid #fff;outline-offset:2px}
#nm-main:focus{outline:none}

/* ---------- accessibility panel ---------- */
.nm-a11y{position:fixed;right:24px;bottom:24px;z-index:66;font-family:inherit;transition:transform .5s var(--nm-ease)}
html body .nm-a11y button{font-family:inherit;box-shadow:none;background-image:none;line-height:1.2}
html body .nm-a11y button.nm-a11y__toggle{width:56px;height:56px;border-radius:50%;border:0;padding:0;background:var(--nm-blue);color:#fff;
  display:grid;place-items:center;box-shadow:0 8px 24px rgba(0,40,80,.28);cursor:pointer;transition:background-color .2s,transform .2s}
html body .nm-a11y button.nm-a11y__toggle:hover{background:var(--nm-blue-700);color:#fff}
html body .nm-a11y button.nm-a11y__toggle:focus-visible{outline:3px solid #fff;outline-offset:-6px;box-shadow:0 0 0 3px var(--nm-blue)}
.nm-a11y__panel{position:absolute;right:0;bottom:68px;width:288px;max-height:calc(100vh - 120px);overflow-y:auto;
  background:#fff;color:var(--nm-ink-700);border-radius:var(--nm-radius);padding:18px;border:1px solid var(--nm-line);
  box-shadow:var(--nm-shadow-lg);display:flex;flex-direction:column;gap:8px;text-align:right}
.nm-a11y__panel[hidden]{display:none}
.nm-a11y__head{display:flex;align-items:center;justify-content:space-between;margin-bottom:4px}
.nm-a11y__head h2{margin:0;font-size:20px;line-height:1.2;font-weight:700;color:var(--nm-blue);letter-spacing:0}
html body .nm-a11y button.nm-a11y__close{width:40px;height:40px;border:1px solid var(--nm-line);border-radius:50%;background:#fff;color:var(--nm-ink-500);
  font-size:24px;line-height:1;padding:0;cursor:pointer;display:flex;align-items:center;justify-content:center}
html body .nm-a11y button.nm-a11y__close:hover,html body .nm-a11y button.nm-a11y__close:focus-visible{background:var(--nm-blue-50);color:var(--nm-blue);border-color:var(--nm-blue)}
.nm-a11y__row{display:flex;align-items:center;gap:8px;padding-bottom:4px}
.nm-a11y__lbl{flex:1;font-size:16px;font-weight:600;color:var(--nm-ink-700)}
.nm-a11y__val{min-width:46px;text-align:center;font-size:15px;font-weight:700;color:var(--nm-blue);font-variant-numeric:tabular-nums}
html body .nm-a11y button.nm-a11y__step,
html body .nm-a11y button.nm-a11y__opt,
html body .nm-a11y button.nm-a11y__reset{border:1.5px solid var(--nm-blue);background:#fff;color:var(--nm-blue);border-radius:var(--nm-radius-sm);
  padding:10px 14px;min-height:44px;font-size:16px;font-weight:600;cursor:pointer;text-align:right;transition:background-color .2s,color .2s}
html body .nm-a11y button.nm-a11y__step{min-width:48px;text-align:center;padding:10px 8px}
html body .nm-a11y button.nm-a11y__step:hover,html body .nm-a11y button.nm-a11y__step:focus-visible,
html body .nm-a11y button.nm-a11y__opt:hover,html body .nm-a11y button.nm-a11y__opt:focus-visible{background:var(--nm-blue-50);color:var(--nm-blue)}
html body .nm-a11y button.nm-a11y__opt[aria-pressed="true"]{background:var(--nm-blue);color:#fff}
html body .nm-a11y button.nm-a11y__opt[aria-pressed="true"]::before{content:"✓ ";font-weight:700}
html body .nm-a11y button.nm-a11y__reset{border-color:var(--nm-ink-500);color:var(--nm-ink-700);text-align:center}
html body .nm-a11y button.nm-a11y__reset:hover,html body .nm-a11y button.nm-a11y__reset:focus-visible{background:var(--nm-ink-700);color:#fff}
html body .nm-a11y button:focus-visible{outline:3px solid rgba(0,90,169,.45);outline-offset:2px}
html body .nm-a11y a.nm-a11y__statement{text-align:center;color:var(--nm-blue);text-decoration:underline;font-size:15px;font-weight:600;
  padding:8px 4px 2px;min-height:44px;display:flex;align-items:center;justify-content:center}
html body .nm-a11y a.nm-a11y__statement:hover,html body .nm-a11y a.nm-a11y__statement:visited{color:var(--nm-blue)}
html body .nm-a11y a.nm-a11y__statement:hover{color:var(--nm-turq-ink)}
@media (max-width:767px){
  .nm-a11y{right:16px;bottom:16px}
  html body .nm-a11y button.nm-a11y__toggle{width:50px;height:50px}
  .nm-a11y__panel{bottom:62px;width:min(288px,calc(100vw - 32px))}
}

/* ---------- accessibility states (classes written by the head gate, so no flash) ---------- */
html.nm-a11y-size-n2 body{zoom:.85}
html.nm-a11y-size-n1 body{zoom:.92}
html.nm-a11y-size-1 body{zoom:1.15}
html.nm-a11y-size-2 body{zoom:1.3}
html.nm-a11y-size-3 body{zoom:1.45}
html.nm-a11y-size-4 body{zoom:1.6}

html.nm-a11y-contrast body *:not(.nm-a11y):not(.nm-a11y *):not(svg):not(svg *):not(img):not(video):not(iframe){
  background-color:#000!important;color:#fff!important;border-color:#fff!important;background-image:none!important;
  box-shadow:none!important;text-shadow:none!important}
html.nm-a11y-contrast body{background:#000!important}
html.nm-a11y-contrast body a:not(.nm-a11y *),html.nm-a11y-contrast body a:not(.nm-a11y *) *:not(svg):not(svg *){color:#ffef00!important}
html.nm-a11y-contrast .nm-hero__overlay,html.nm-a11y-contrast .nm-pagehero__overlay{background:rgba(0,0,0,.72)!important}

html.nm-a11y-links a:not(.nm-a11y *):not(.nm-skip){text-decoration:underline!important;text-underline-offset:3px;outline:2px solid #E5A100;outline-offset:2px}

html.nm-a11y-headings :is(h1,h2,h3,h4,h5,h6):not(.sr-only):not(.nm-a11y *){outline:2px dashed var(--nm-turq-ink);outline-offset:6px;border-radius:4px}

html.nm-a11y-spacing body :is(p,li,dd,dt,blockquote,figcaption,label,td,th,h1,h2,h3,h4,h5,h6,a,span,b,strong,em,small):not(.nm-a11y *){
  line-height:1.9!important;letter-spacing:.03em!important;word-spacing:.12em!important}

html.nm-a11y-font body,html.nm-a11y-font body *:not(.nm-a11y *):not(svg):not(svg *):not(i):not([class*="icon"]){
  font-family:Arial,Helvetica,sans-serif!important;letter-spacing:.01em!important}

/* ---------- cookie notice (notice only) ---------- */
.nm-cookie{position:fixed;inset-inline:16px;bottom:16px;z-index:64;margin-inline:auto;max-width:760px;
  display:flex;align-items:center;gap:20px;background:#fff;color:var(--nm-ink-700);border:1px solid var(--nm-line);
  border-radius:var(--nm-radius);box-shadow:var(--nm-shadow-lg);padding:18px 22px;text-align:right;
  opacity:0;transform:translate3d(0,24px,0);transition:opacity .7s var(--nm-ease),transform .9s var(--nm-ease)}
.nm-cookie[hidden]{display:none}
.nm-cookie.is-in{opacity:1;transform:none}
.nm-cookie__txt{flex:1;min-width:0}
.nm-cookie p{margin:0;max-width:none}
.nm-cookie__title{font-size:16px;font-weight:700;color:var(--nm-blue);line-height:1.35;margin-bottom:3px!important}
.nm-cookie__body{font-size:15px;line-height:1.6;color:var(--nm-ink-500)}
html body .nm-cookie a.nm-cookie__link{color:var(--nm-blue);font-weight:600;text-decoration:underline;text-underline-offset:2px;white-space:nowrap}
html body .nm-cookie a.nm-cookie__link:visited{color:var(--nm-blue)}
html body .nm-cookie a.nm-cookie__link:hover{color:var(--nm-turq-ink)}
html body .nm-cookie a.nm-cookie__link:focus-visible{outline:2px solid var(--nm-blue);outline-offset:2px;border-radius:3px}
html body .nm-cookie button.nm-cookie__ok{flex:none;height:46px;padding:0 28px;font-size:16px}
@media (max-width:720px){
  .nm-cookie{flex-direction:column;align-items:stretch;gap:10px;text-align:center;padding:14px 18px}
  html body .nm-cookie button.nm-cookie__ok{width:100%}
}
/* short phones (iPhone SE and similar): one compact row, so the hero buttons stay visible */
@media (max-width:720px) and (max-height:740px){
  .nm-cookie{flex-direction:row;align-items:center;gap:12px;text-align:start;padding:12px 14px}
  .nm-cookie__title{display:none}
  .nm-cookie__body{font-size:14px;line-height:1.5}
  html body .nm-cookie button.nm-cookie__ok{width:auto;height:44px;padding:0 18px;font-size:15px}
}
/* the floating buttons step up while the notice is open where they would touch it */
.nm-wa{transition:transform .5s var(--nm-ease)}
@media (min-width:721px) and (max-width:1023px){
  html.nm-cookie-open .nm-a11y{transform:translate3d(0,calc(-1 * var(--nm-cookie-h,0px) - 12px),0)}
}
/* on phones the notice is tall, so lifting them would land them on the hero buttons: they wait until "הבנתי" */
@media (max-width:720px){
  html.nm-cookie-open .nm-a11y{opacity:0;visibility:hidden;pointer-events:none}
  .nm-wa,.nm-a11y{transition:transform .5s var(--nm-ease),opacity .35s var(--nm-ease),visibility .35s}
}
@media (prefers-reduced-motion:reduce){.nm-cookie,.nm-a11y,.nm-wa{transition:none}}
