/* פורניר סטודיו – נגישות והסכמה */
.a11y-skip{position:absolute;top:-100px;right:16px;z-index:10000;background:#1C1F1D;color:#F3F0EA;padding:.7rem 1.1rem;border-radius:8px;font-weight:700;text-decoration:none}
.a11y-skip:focus{top:12px;outline:3px solid #C4A070}

#a11y-btn{position:fixed;left:16px;bottom:16px;z-index:9000;width:52px;height:52px;border-radius:50%;border:2px solid #F3F0EA;background:#1C1F1D;color:#F3F0EA;cursor:pointer;display:grid;place-items:center;box-shadow:0 6px 20px rgba(0,0,0,.25)}
#a11y-btn:hover,#a11y-btn:focus-visible{background:#4F6B5C;outline:3px solid #C4A070;outline-offset:2px}
#a11y-btn.active{background:#4F6B5C}
#a11y-panel{position:fixed;left:16px;bottom:78px;z-index:9001;width:min(340px,calc(100vw - 32px));max-height:min(78vh,620px);overflow:auto;background:#FBF9F5;color:#1C1F1D;border:1px solid #D9D3C8;border-radius:14px;box-shadow:0 18px 50px rgba(0,0,0,.28);direction:rtl;font-family:"Assistant",Arial,sans-serif;font-size:16px}
#a11y-panel[hidden]{display:none}
.a11y-head{display:flex;justify-content:space-between;align-items:center;padding:.9rem 1rem;border-bottom:1px solid #D9D3C8}
.a11y-head h2{margin:0;font-size:1.15rem;font-weight:700}
.a11y-x{background:none;border:0;font-size:1.1rem;cursor:pointer;padding:.3rem .5rem;border-radius:6px;color:#1C1F1D}
.a11y-x:focus-visible,.a11y-opts button:focus-visible,.a11y-reset:focus-visible,#a11y-panel a:focus-visible{outline:3px solid #4F6B5C;outline-offset:2px}
.a11y-opts{display:grid;grid-template-columns:1fr 1fr;gap:.5rem;padding:.8rem}
.a11y-opts button{display:flex;flex-direction:column;align-items:flex-start;gap:.15rem;text-align:right;padding:.7rem .75rem;min-height:58px;border:1px solid #D9D3C8;border-radius:10px;background:#F3F0EA;color:#1C1F1D;cursor:pointer;font:inherit;font-weight:600}
.a11y-opts button small{font-size:.74rem;color:#5F625A;font-weight:400;min-height:1em}
.a11y-opts button[aria-pressed="true"]{background:#1C1F1D;color:#F3F0EA;border-color:#1C1F1D}
.a11y-opts button[aria-pressed="true"] small{color:#D9D3C8}
.a11y-foot{display:flex;justify-content:space-between;align-items:center;padding:.8rem 1rem;border-top:1px solid #D9D3C8;font-size:.9rem}
.a11y-reset{background:none;border:1px solid #1C1F1D;border-radius:8px;padding:.4rem .8rem;cursor:pointer;font:inherit;color:#1C1F1D}
.a11y-foot a{color:#1C1F1D;text-decoration:underline}

/* --- effects --- */
html[data-a11y-font="1"]{font-size:112%}
html[data-a11y-font="2"]{font-size:125%}
html[data-a11y-font="3"]{font-size:140%}
html[data-a11y-font="4"]{font-size:160%}
html.a11y-contrast body{background:#fff!important;color:#000!important}
html.a11y-contrast body :where(section,div,header,footer,nav,form,article,figure,li,p,h1,h2,h3,h4,dl,dt,dd,span,a,label,small,blockquote){background-color:transparent!important;color:#000!important;text-shadow:none!important}
html.a11y-contrast body :where(section.deep,.hero,.lb,.deep){background:#fff!important}
html.a11y-contrast body :where(a){text-decoration:underline!important;color:#0000CC!important}
html.a11y-contrast body :where(.btn,button,input,select,textarea){background:#fff!important;color:#000!important;border:2px solid #000!important}
html.a11y-contrast body :where(img,video){filter:contrast(1.15)}
html.a11y-invert body{filter:invert(1) hue-rotate(180deg);background:#000}
html.a11y-invert body :where(img,video,picture){filter:invert(1) hue-rotate(180deg)}
html.a11y-gray body{filter:grayscale(1)}
html.a11y-invert.a11y-gray body{filter:invert(1) hue-rotate(180deg) grayscale(1)}
html.a11y-links a{text-decoration:underline!important;text-decoration-thickness:2px!important;text-underline-offset:3px;background:#FFF3B0!important;color:#1C1F1D!important}
html.a11y-readable body,html.a11y-readable body *{font-family:Arial,"Helvetica Neue",Helvetica,sans-serif!important;letter-spacing:.01em}
html.a11y-spacing body{line-height:1.9!important;letter-spacing:.06em;word-spacing:.12em}
html.a11y-spacing body p,html.a11y-spacing body li{margin-block:.9em}
html.a11y-motion *,html.a11y-motion *::before,html.a11y-motion *::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
html.a11y-motion .reveal{opacity:1!important;transform:none!important}
html.a11y-cursor,html.a11y-cursor *{cursor:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 48 48'><path d='M6 4l30 22-13 2 8 14-5 3-8-14-9 10z' fill='%23000' stroke='%23fff' stroke-width='2'/></svg>") 4 4,auto!important}
html.a11y-focus *:focus{outline:4px solid #D85A30!important;outline-offset:3px!important;box-shadow:0 0 0 6px #fff!important}

/* --- consent bar --- */
#consent-bar{position:fixed;inset-inline:16px;bottom:16px;z-index:9500;max-width:720px;margin-inline:auto;background:#1C1F1D;color:#F3F0EA;border-radius:14px;padding:1rem 1.2rem;display:flex;gap:1rem;align-items:center;flex-wrap:wrap;box-shadow:0 18px 50px rgba(0,0,0,.35);direction:rtl;font-family:"Assistant",Arial,sans-serif}
#consent-bar p{margin:0;flex:1 1 320px;font-size:.95rem;line-height:1.5}
#consent-bar a{color:#C4A070}
#consent-bar div{display:flex;gap:.5rem}
#consent-bar button{font:inherit;font-weight:700;border-radius:8px;padding:.6rem 1rem;cursor:pointer;border:1px solid #F3F0EA;background:#F3F0EA;color:#1C1F1D}
#consent-bar button.c-no{background:transparent;color:#F3F0EA}
#consent-bar button:focus-visible{outline:3px solid #C4A070;outline-offset:2px}

@media (max-width:480px){#a11y-btn{left:12px;bottom:12px;width:46px;height:46px}#a11y-panel{left:12px;bottom:68px}.a11y-opts{grid-template-columns:1fr 1fr}}
@media print{#a11y-btn,#a11y-panel,#consent-bar{display:none!important}}
