/* Consent banner (consent.js). Two buttons of the same size, fill and weight; nothing pre-switched on. Dark card, same look as the landing system. */
.cc{position:fixed;z-index:60;inset-inline:12px;bottom:12px;max-height:calc(100dvh - 24px);overflow:auto;padding:16px 18px 18px;border-radius:3px;background:#141215;color:#A8A196;font:400 15.5px/1.55 Heebo,system-ui,sans-serif;box-shadow:inset 0 0 0 1px rgba(236,230,220,.18),0 20px 40px -20px rgba(0,0,0,.7)}
.cc[hidden],.cc [hidden]{display:none}
.cc:focus-visible{outline:3px solid #E73A83;outline-offset:2px}
.cc h2:focus{outline:0}
.cc-head{display:flex;align-items:center;justify-content:space-between;gap:12px}
.cc h2{margin:0 0 6px;font:800 19px/1.2 Heebo,system-ui,sans-serif;color:#ECE6DC;letter-spacing:0}
.cc p{margin:0}
.cc a{color:#ECE6DC;text-decoration:underline}
.cc-acts{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:14px}
.cc button{font:700 16px/1 Heebo,system-ui,sans-serif;cursor:pointer}
.cc-acts button:not(.cc-link){flex:1 1 0;min-height:46px;padding:0 18px;border:0;border-radius:3px;background:#ECE6DC;color:#0B0A0C}
.cc-acts button:not(.cc-link):hover{background:#fff}
.cc .cc-link{flex:none;min-height:44px;padding:0 6px;border:0;background:none;color:#ECE6DC;text-decoration:underline;font-weight:600}
.cc .cc-x{width:44px;height:44px;margin:-8px -10px 0 0;border:0;background:none;color:#ECE6DC;font-size:18px}
.cc button:focus-visible,.cc input:focus-visible{outline:3px solid #E73A83;outline-offset:2px}
.cc-row{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:12px 0;border-top:1px solid rgba(236,230,220,.18)}
.cc-row:first-child{border-top:0}
.cc-row label{display:block;font-weight:800;color:#ECE6DC;font-size:16.5px}
.cc-row p{margin-top:2px;font-size:15px}
.cc input[type=checkbox]{appearance:none;-webkit-appearance:none;flex:none;position:relative;direction:ltr;width:52px;height:30px;margin:2px 0 0;border-radius:15px;background:#3a363b;box-shadow:inset 0 0 0 2px #A8A196;cursor:pointer}
.cc input[type=checkbox]::before{content:"";position:absolute;top:5px;left:5px;width:20px;height:20px;border-radius:50%;background:#ECE6DC;transition:transform .2s}
.cc input[type=checkbox]:checked{background:#E73A83;box-shadow:inset 0 0 0 2px #E73A83}
.cc input[type=checkbox]:checked::before{transform:translateX(22px);background:#0B0A0C}
.cc input[type=checkbox]:disabled{opacity:.7;cursor:not-allowed}
@media (prefers-reduced-motion:reduce){.cc input[type=checkbox]::before{transition:none}}
@media(min-width:1024px){.cc{inset-inline:auto 24px;top:24px;bottom:auto;width:440px;max-height:calc(100dvh - 48px)}}
@media(min-width:768px) and (max-width:1023px){.cc{inset-inline:24px auto;top:auto;bottom:16px;width:440px;max-height:calc(100dvh - 32px)}body:has(.cc.show) footer{padding-bottom:300px}}
@media(max-width:1023px){.legal article,.form .chk,.form .notice,.form small{padding-inline-end:54px}footer{padding-bottom:calc(76px + env(safe-area-inset-bottom))}}
@media(max-width:767px){body:has(.bar.on) .cc{bottom:84px;max-height:calc(100dvh - 96px)}.cc{padding:12px 14px 14px;font-size:15px}.cc h2{font-size:17px}}
/* the banner must never cover the footer text (the OpenAI disclaimer is required) */
body:has(.cc.show) footer{padding-bottom:230px}
@media(max-width:767px){body:has(.cc.show) footer{padding-bottom:300px}}
/* footer button that reopens the banner, looks like the links beside it */
[data-cc-open]{padding:0;border:0;background:none;font:inherit;color:inherit;cursor:pointer;text-decoration:none}
[data-cc-open]:hover{text-decoration:underline}
/* mobile: the accessibility button (bottom-left, added after load) would sit on the banner buttons, so it waits until the banner is answered */
@media(max-width:767px){body:has(.cc.show) #a11y-btn{display:none}}

/* the h1 that receives focus after the first banner answer: no ring for mouse or touch, the site ring for keyboard */
h1[tabindex="-1"]:focus{outline:0}
h1[tabindex="-1"]:focus-visible{outline:3px solid #E73A83;outline-offset:3px}
/* fix5: "אישור הכל" stays on one line on 360 wide phones */
.cc-acts button{white-space:nowrap}
@media(max-width:400px){.cc-acts button:not(.cc-link){padding:0 6px}}
