/* Copied from the live site (accessibility widget + font). Do not edit here - edit the live site. */
/* גופן Heebo – מאוחסן באתר עצמו (ללא פנייה לשרתי Google) */
@font-face {
  font-family: "Heebo"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/heebo-hebrew.woff2") format("woff2");
  unicode-range: U+0307-0308, U+0590-05FF, U+200C-2010, U+20AA, U+25CC, U+FB1D-FB4F;
}
@font-face {
  font-family: "Heebo"; font-style: normal; font-weight: 100 900; font-display: swap;
  src: url("../fonts/heebo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* ===== תפריט נגישות ===== */
.a11y-btn {
  position: fixed; z-index: 90; bottom: 22px; right: 22px;
  width: 56px; height: 56px; border-radius: 50%; border: 3px solid #fff;
  background: #1F4FD1; color: #fff; display: grid; place-items: center; cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .28);
}
.a11y-btn svg { width: 32px; height: 32px; }
.a11y-btn:hover { background: #163C9E; }
.a11y-btn:focus-visible { outline: 3px solid var(--cta); outline-offset: 3px; }
.a11y-panel {
  position: fixed; z-index: 95; bottom: 90px; right: 22px; width: min(380px, calc(100vw - 32px));
  max-height: calc(100vh - 120px); overflow-y: auto; background: #fff; color: #1F2033;
  border-radius: 18px; box-shadow: 0 20px 50px rgba(0, 0, 0, .3); border: 1px solid #D5D7E6;
  font-size: 16px; line-height: 1.5;
}
.a11y-panel[hidden] { display: none; }
.a11y-head { position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; background: #1F4FD1; color: #fff; }
.a11y-head h2 { margin: 0; color: #fff; font-size: 1.15rem; }
.a11y-close { background: none; border: 2px solid rgba(255,255,255,.6); color: #fff; width: 36px; height: 36px; border-radius: 10px; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.a11y-body { padding: 14px 18px 18px; }
.a11y-panel fieldset { border: 0; padding: 0; margin: 0 0 14px; }
.a11y-panel legend { font-weight: 800; color: #1F2033; margin-bottom: 8px; font-size: .95rem; }
.a11y-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y-opt, .a11y-fs-btn, .a11y-reset {
  font: inherit; font-size: .92rem; font-weight: 700; cursor: pointer; border-radius: 12px;
  border: 2px solid #D5D7E6; background: #F5F6FB; color: #1F2033; padding: 10px 8px; text-align: center;
}
.a11y-opt:hover, .a11y-fs-btn:hover { border-color: #1F4FD1; }
.a11y-opt[aria-pressed="true"] { background: #1F4FD1; border-color: #1F4FD1; color: #fff; }
.a11y-opt[aria-pressed="true"]::before { content: "✓ "; }
.a11y-fs-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.a11y-fs-row legend { width: 100%; }
.a11y-fs-btn { width: 64px; font-size: 1.1rem; }
.a11y-fs-btn:disabled { opacity: .45; cursor: not-allowed; }
.a11y-fs-out { min-width: 56px; text-align: center; font-weight: 800; }
.a11y-reset { width: 100%; background: #fff; border-color: #B42318; color: #B42318; }
.a11y-links { margin: 12px 0 0; font-size: .9rem; text-align: center; }
.a11y-links a { color: #1F4FD1; }
.a11y-kbd { margin: 6px 0 0; font-size: .8rem; color: #5A5C70; text-align: center; }
.a11y-guide-line { position: fixed; z-index: 89; left: 0; right: 0; height: 10px; margin-top: -5px; background: rgba(246, 166, 35, .55); border-top: 2px solid #1E1C3D; border-bottom: 2px solid #1E1C3D; pointer-events: none; }
.a11y-guide-line[hidden] { display: none; }

/* מצבי נגישות */
html.a11y-fs { font-size: calc(100% * var(--a11y-k, 1)); }
html.a11y-fs body { font-size: calc(18px * var(--a11y-k, 1)); }
html.a11y-gray body > *:not(.a11y-btn):not(.a11y-panel):not(.a11y-guide-line) { filter: grayscale(1); }
html.a11y-lowsat body > *:not(.a11y-btn):not(.a11y-panel):not(.a11y-guide-line) { filter: saturate(.4); }
html.a11y-contrast body, html.a11y-contrast body *:not(.a11y-panel):not(.a11y-panel *):not(.a11y-btn):not(.a11y-btn *) {
  background: #fff !important; background-image: none !important; color: #000 !important; border-color: #000 !important; box-shadow: none !important; text-shadow: none !important;
}
html.a11y-contrast a:not(.a11y-panel a) { color: #0000C8 !important; text-decoration: underline !important; }
html.a11y-contrast .btn, html.a11y-contrast button:not(.a11y-panel button):not(.a11y-btn) { border: 2px solid #000 !important; }
html.a11y-contrast .site-footer img, html.a11y-contrast .page-hero img { filter: invert(1); }
html.a11y-dark body, html.a11y-dark body *:not(.a11y-panel):not(.a11y-panel *):not(.a11y-btn):not(.a11y-btn *) {
  background: #000 !important; background-image: none !important; color: #fff !important; border-color: #fff !important; box-shadow: none !important; text-shadow: none !important;
}
html.a11y-dark a:not(.a11y-panel a) { color: #FFE14D !important; text-decoration: underline !important; }
html.a11y-dark .btn, html.a11y-dark button:not(.a11y-panel button):not(.a11y-btn) { border: 2px solid #fff !important; }
html.a11y-dark .brand img { filter: invert(1) hue-rotate(180deg); }
html.a11y-links a:not(.a11y-panel a) { text-decoration: underline !important; text-underline-offset: 3px; outline: 2px dashed currentColor; outline-offset: 2px; font-weight: 700 !important; }
html.a11y-headings h1, html.a11y-headings h2, html.a11y-headings h3, html.a11y-headings h4 { outline: 3px solid #F6A623; outline-offset: 4px; }
html.a11y-headings .a11y-panel h2 { outline: 0; }
html.a11y-readable body, html.a11y-readable body * { font-family: Arial, "Arial Hebrew", sans-serif !important; }
html.a11y-spacing body *:not(.a11y-panel *) { line-height: 2 !important; letter-spacing: .08em !important; word-spacing: .16em !important; }
html.a11y-align body *:not(.a11y-panel *) { text-align: right !important; }
html.a11y-noimg img, html.a11y-noimg picture, html.a11y-noimg video, html.a11y-noimg iframe:not([title*="יומן"]) { visibility: hidden !important; }
html.a11y-noimg .brand img, html.a11y-noimg .footer-logo { visibility: visible !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 24 24'%3E%3Cpath d='M4 2l15 11-7 1 4 8-3 1-4-8-5 5z' fill='%23000' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E") 4 2, auto !important;
}
html.a11y-focus *:focus { outline: 4px solid #F6A623 !important; outline-offset: 3px !important; box-shadow: 0 0 0 7px #1E1C3D !important; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-still .marquee-track { width: auto; flex-wrap: wrap; justify-content: center; }
html.a11y-still .logo-row[aria-hidden="true"] { display: none; }

/* ===== באנר עוגיות ===== */
.cookie-banner {
  position: fixed; z-index: 85; left: 16px; right: 16px; bottom: 16px; margin: 0 auto; max-width: 980px;
  background: #fff; color: var(--ink); border-radius: 18px; border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(30, 28, 61, .28); padding: 20px 22px; font-size: 16px; line-height: 1.55;
}
.cookie-banner[hidden] { display: none; }
.cookie-inner { display: flex; gap: 20px; align-items: center; }
.cookie-text { flex: 1; }
.cookie-title { font-size: 1.1rem; margin: 0 0 6px; }
.cookie-text p { margin: 0; }
.cookie-details { margin-top: 8px; font-size: .92rem; }
.cookie-details summary { cursor: pointer; color: var(--steel); font-weight: 700; }
.cookie-details ul { margin: 8px 0 0; padding-inline-start: 1.2em; }
.cookie-actions { display: flex; flex-direction: column; gap: 10px; flex: none; }
.cookie-actions .btn { padding: 11px 22px; white-space: nowrap; }
html.has-cookie-banner .a11y-btn { bottom: auto; top: 50%; transform: translateY(-50%); }
html.has-cookie-banner .a11y-panel { bottom: auto; top: 50%; transform: translateY(-50%); }
.link-btn { background: none; border: 0; padding: 0; font: inherit; color: inherit; cursor: pointer; text-align: start; }
.site-footer .link-btn:hover { color: var(--sky); text-decoration: underline; }

/* יומן חסום עד הסכמה */
.consent-placeholder { display: none; padding: 48px 24px; text-align: center; }
[data-consent-wrap].is-blocked .consent-placeholder { display: block; }
.consent-placeholder p { max-width: 560px; margin: 0 auto 18px; color: var(--muted); }
.consent-placeholder .btn { margin: 4px; }

@media (max-width: 820px) {
  .a11y-btn { bottom: calc(90px + var(--host-badge-h, 0px)); right: 14px; width: 50px; height: 50px; }
  .a11y-panel { bottom: calc(150px + var(--host-badge-h, 0px)); right: 16px; max-height: calc(100vh - 180px - var(--host-badge-h, 0px)); }
  .cookie-banner { left: 8px; right: 8px; bottom: calc(8px + var(--host-badge-h, 0px)); padding: 16px; max-height: 70vh; overflow-y: auto; }
  .cookie-inner { flex-direction: column; align-items: stretch; gap: 14px; }
  .cookie-actions .btn { white-space: normal; }
}
@media print { .a11y-btn, .a11y-panel, .cookie-banner, .a11y-guide-line { display: none !important; } }