/* NeatPrep shared header: used by the WordPress theme on every page and by the home page. */
:root { --np-paper: #F3F2EF; --np-line: rgba(0,0,0,.12); --np-ink: #1F1F1F; --np-accent: #2B2B2B; --np-font: "Sprinter FS", "Heebo", "Arial Hebrew", system-ui, sans-serif; }
.np-bar, .np-bar * { box-sizing: border-box; }
.np-bar { position: fixed; inset: 0 0 auto 0; z-index: 900; display: flex; align-items: center; gap: clamp(1rem, 2.5vw, 2.5rem); padding: .8rem clamp(1.25rem, 5vw, 5.5rem); direction: rtl; font-family: var(--np-font); background: color-mix(in oklab, var(--np-paper) 90%, transparent); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid var(--np-line); transition: background-color 240ms ease, border-color 240ms ease; }
.np-bar.on-dark { background: color-mix(in oklab, #1E1E1E 90%, transparent); border-bottom-color: rgba(255,255,255,.12); }
.np-mark { display: inline-flex; line-height: 0; }
.np-mark img { width: clamp(7rem, 9vw, 9.5rem); height: auto; display: block; max-width: none; }
.np-mark .np-mark__light { display: none; }
.np-bar.on-dark .np-mark .np-mark__dark { display: none; }
.np-bar.on-dark .np-mark .np-mark__light { display: block; }
.np-menu { margin-inline-start: auto; }
.np-menu ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: clamp(.9rem, 1.8vw, 1.8rem); }
.np-menu li { position: relative; margin: 0; }
.np-bar .np-menu a { display: block; color: var(--np-ink); text-decoration: none; font-weight: 500; font-size: .95rem; line-height: 1.3; padding: .4rem 0; border-bottom: 1px solid transparent; white-space: nowrap; transition: border-color 140ms ease, color 240ms ease; }
.np-menu > ul > li > a:hover, .np-menu > ul > li > a:focus-visible, .np-menu > ul > li.current-menu-item > a, .np-menu > ul > li.current-menu-ancestor > a { border-bottom-color: currentColor; }
.np-bar.on-dark .np-menu a, .np-bar.on-dark .np-menu .sub-menu a { color: #fff; }
.np-bar.on-dark .np-menu .sub-menu a { color: var(--np-ink); }
.np-menu .menu-item-has-children > a::after { content: ""; display: inline-block; width: .38em; height: .38em; border: solid currentColor; border-width: 0 0 1.5px 1.5px; transform: rotate(-45deg); margin-inline-start: .45em; vertical-align: .2em; }
.np-menu .sub-menu { position: absolute; top: 100%; inset-inline-start: 0; min-width: 15rem; display: none; flex-direction: column; gap: 0; padding: .5rem; margin: 0; background: #fff; border: 1px solid var(--np-line); border-radius: 10px; box-shadow: 0 12px 30px -10px rgba(0,0,0,.25); }
.np-menu li:hover > .sub-menu, .np-menu li:focus-within > .sub-menu { display: flex; }
.np-bar .np-menu .sub-menu a { padding: .55rem .7rem; border: 0; border-radius: 6px; font-size: .9rem; color: var(--np-ink); }
.np-menu .sub-menu a:hover, .np-menu .sub-menu a:focus-visible { background: var(--np-paper); }
.np-bar .np-cta { display: inline-flex; align-items: center; justify-content: center; min-height: 2.7rem; padding: .6rem 1.15rem; border-radius: 8px; background: var(--np-accent); color: #fff; font-weight: 500; font-size: .95rem; line-height: 1; text-decoration: none; white-space: nowrap; box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform 140ms ease, background-color 140ms ease; }
.np-bar .np-cta:hover, .np-bar .np-cta:focus-visible { transform: translateY(-1px); background: #111; color: #fff; }
.np-bar.on-dark .np-cta { background: #fff; color: #1E1E1E; }
.np-bar .np-menu-btn { display: none; }
body.np-has-bar { padding-top: 4.3rem; }
body.admin-bar .np-bar { top: 32px; }
@media (max-width: 782px) { body.admin-bar .np-bar { top: 46px; } }
@media (max-width: 860px) {
  .np-bar { padding: .6rem clamp(1.25rem, 5vw, 5.5rem); gap: .6rem; flex-wrap: wrap; }
  .np-mark { margin-inline-end: auto; }
  .np-mark img { width: 5.6rem; }
  .np-bar .np-menu-btn { display: inline-flex; align-items: center; min-height: 2.3rem; padding: .4rem .7rem; border: 1px solid var(--np-line); border-radius: 8px; background: transparent; color: var(--np-ink); box-shadow: none; text-transform: none; letter-spacing: 0; font: inherit; font-weight: 500; font-size: .8rem; cursor: pointer; }
  .np-bar.on-dark .np-menu-btn { color: #fff; border-color: rgba(255,255,255,.3); }
  .np-menu { display: none; width: 100%; order: 10; margin: 0; padding: .4rem 0 .2rem; border-top: 1px solid var(--np-line); }
  .np-bar.is-open .np-menu { display: block; }
  .np-menu ul { flex-direction: column; align-items: stretch; gap: 0; }
  .np-menu a { padding: .7rem 0; font-size: 1rem; border-bottom: 1px solid var(--np-line); }
  .np-menu .sub-menu { position: static; display: flex; min-width: 0; padding: 0 1rem .4rem 0; border: 0; border-radius: 0; box-shadow: none; background: transparent; }
  .np-menu .sub-menu a { padding: .55rem 0; font-size: .9rem; border-radius: 0; border-bottom: 1px solid var(--np-line); }
  .np-menu .sub-menu li:last-child a { border-bottom: 0; }
  .np-cta { min-height: 2.3rem; padding: .45rem .8rem; font-size: .8rem; }
  body.np-has-bar { padding-top: 3.7rem; }
}
@media (max-width: 400px) { .np-mark img { width: 4.8rem; } .np-cta { padding: .4rem .6rem; font-size: .74rem; } .np-menu-btn { padding: .4rem .5rem; font-size: .74rem; } }
@media (prefers-reduced-motion: reduce) { .np-bar, .np-menu a, .np-cta { transition: none; } }
