/* Cookie consent + privacy controls (פרדסי אלון). Corners ≤ 8px. */
.pc { --pc-bg: #231f20; --pc-fg: #fff0e1; --pc-mut: #dfc6a8; --pc-line: rgba(255, 240, 225, .22); --pc-lime: #fff0e1; --pc-forest: #231f20; --pc-ink: #231f20; --pc-cream: #ffffff; --pc-gap: 16px; font-family: var(--font); }
.pc svg { width: 24px; height: 24px; flex: none; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.pc [hidden] { display: none !important; }

/* bar */
.pc-bar { position: fixed; z-index: 9500; bottom: var(--pc-gap); right: var(--pc-gap); left: auto; width: min(460px, calc(100vw - 2 * var(--pc-gap))); max-height: calc(100dvh - 2 * var(--pc-gap)); overflow-y: auto; box-sizing: border-box; padding: 22px; border-radius: 8px; background: var(--pc-bg); color: var(--pc-fg); border: 1px solid var(--pc-line); box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .55); animation: pc-in .45s cubic-bezier(.22, 1, .36, 1) both; }
.pc-bar h2 { display: flex; align-items: center; gap: 10px; margin: 0 0 8px; font-size: 1.15rem; line-height: 1.3; font-weight: 700; color: #fff; }
.pc-bar h2 svg { color: var(--pc-lime); }
.pc-bar p { margin: 0 0 16px; font-size: .95rem; line-height: 1.65; color: var(--pc-mut); }
.pc-bar a { color: #fff; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pc-bar a:hover { color: var(--pc-lime); }
.pc-acts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pc-acts .pc-b--line { grid-column: 1 / -1; }
@keyframes pc-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* buttons: accept and reject carry the same weight */
.pc-b { min-height: 48px; padding: 10px 16px; border-radius: 8px; border: 2px solid transparent; font: inherit; font-size: .98rem; font-weight: 700; line-height: 1.2; text-align: center; cursor: pointer; transition: background-color .2s, color .2s, border-color .2s; }
.pc-b:disabled { opacity: .6; cursor: progress; }
.pc-b--yes { background: var(--pc-lime); border-color: var(--pc-lime); color: var(--pc-bg); }
.pc-b--yes:hover { background: #fff; border-color: #fff; }
.pc-b--no { background: var(--pc-fg); border-color: var(--pc-fg); color: var(--pc-bg); }
.pc-b--no:hover { background: #fff; border-color: #fff; }
.pc-b--line { background: transparent; border-color: rgba(255, 240, 225, .55); color: #fff; }
.pc-b--line:hover { border-color: var(--pc-lime); color: var(--pc-lime); }
.pc-dlg .pc-b--line { color: var(--pc-forest); border-color: var(--pc-forest); }
.pc-dlg .pc-b--line:hover { background: var(--pc-forest); color: #fff; border-color: var(--pc-forest); }
.pc-dlg .pc-b--yes { background: var(--pc-forest); border-color: var(--pc-forest); color: #fff; }
.pc-dlg .pc-b--yes:hover { background: var(--pc-bg); border-color: var(--pc-bg); }
.pc button:focus-visible, .pc input:focus-visible + .pc-track, .pc a:focus-visible { outline: 3px solid var(--pc-lime); outline-offset: 3px; }
.pc-dlg button:focus-visible, .pc-dlg input:focus-visible + .pc-track, .pc-dlg a:focus-visible { outline-color: var(--pc-forest); }
.pc-dlg .pc-b--yes:focus-visible { outline-color: #231f20; }
.pc-err { margin: 12px 0 0 !important; padding: 10px 12px; border-radius: 8px; background: #fde3dc; color: #7c2314 !important; font-size: .9rem !important; font-weight: 700; }

/* floating "cookie settings" button */
.pc-fab { position: fixed; z-index: 9100; bottom: 22px; right: 22px; left: auto; width: 48px; height: 48px; display: grid; place-items: center; padding: 0; border-radius: 8px; background: var(--pc-bg); color: var(--pc-lime); border: 2px solid rgba(255, 240, 225, .55); box-shadow: 0 10px 26px -10px rgba(0, 0, 0, .6); cursor: pointer; transition: transform .2s, border-color .2s, background-color .2s; }
.pc-fab:hover { transform: translateY(-2px); border-color: var(--pc-lime); background: var(--pc-forest); }
.pc-fab svg { width: 26px; height: 26px; }

/* settings dialog */
.pc-ov { position: fixed; z-index: 9600; inset: 0; display: grid; place-items: center; padding: 16px; background: rgba(35, 31, 32, .72); backdrop-filter: blur(3px); animation: pc-fade .2s ease both; }
@keyframes pc-fade { from { opacity: 0; } to { opacity: 1; } }
.pc-dlg { display: flex; flex-direction: column; width: min(540px, 100%); max-height: calc(100dvh - 32px); border-radius: 8px; background: var(--pc-cream); color: var(--pc-ink); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .6); outline: none; overflow: hidden; }
.pc-dh { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 14px 14px 14px 22px; padding-inline: 22px 14px; background: var(--pc-forest); color: #fff; }
.pc-dh h2 { margin: 0; font-size: 1.2rem; font-weight: 700; color: #fff; }
.pc-x { width: 44px; height: 44px; display: grid; place-items: center; padding: 0; border: 0; border-radius: 8px; background: transparent; color: #fff; cursor: pointer; }
.pc-x:hover { background: rgba(255, 255, 255, .14); }
.pc-dh .pc-x:focus-visible { outline-color: var(--pc-lime); }
.pc-db { padding: 20px 22px 8px; overflow-y: auto; }
.pc-db > p { margin: 0 0 16px; font-size: .95rem; line-height: 1.65; color: #231f20; }
.pc-opt { margin-bottom: 12px; padding: 14px 16px; border: 1px solid #e6d7c6; border-radius: 8px; background: #fff; }
.pc-opt p { margin: 6px 0 0; font-size: .9rem; line-height: 1.6; color: #6b5640; }
.pc-oh { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.pc-ot { font-weight: 700; font-size: 1.02rem; color: var(--pc-ink); }
.pc-st { font-size: .85rem; font-weight: 700; color: #6b5640; min-width: 4.2em; text-align: end; }
.pc-st--on { color: #774b1a; }
.pc-sw { position: relative; display: inline-flex; align-items: center; gap: 10px; min-height: 44px; cursor: pointer; }
.pc-sw input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.pc-track { position: relative; width: 52px; height: 30px; flex: none; border-radius: 8px; background: #6b5640; transition: background-color .2s; }
.pc-track::after { content: ""; position: absolute; top: 3px; inset-inline-start: 3px; width: 24px; height: 24px; border-radius: 6px; background: #fff; transition: transform .2s; }
.pc-sw input:checked + .pc-track { background: var(--pc-forest); }
.pc-sw input:checked + .pc-track::after { background: var(--pc-lime); transform: translateX(-22px); }
[dir="ltr"] .pc-sw input:checked + .pc-track::after { transform: translateX(22px); }
.pc-id { margin: 14px 0 0; font-size: .85rem; color: #6b5640; word-break: break-all; }
.pc-fine { margin: 10px 0 0; font-size: .9rem; }
.pc-dlg .pc-fine a { color: var(--pc-forest); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pc-df { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 10px; padding: 14px 22px 20px; border-top: 1px solid #f8e2cd; }
.pc-lock { overflow: hidden; }

@media (max-width: 600px) {
  .pc { --pc-gap: 0px; }
  .pc-bar { left: 0; right: 0; bottom: 0; width: auto; max-height: 82dvh; padding: 18px 16px calc(18px + env(safe-area-inset-bottom)); border-radius: 8px 8px 0 0; border-inline: 0; border-block-end: 0; }
  .pc-fab { bottom: 84px; right: 12px; }
  .pc-ov { padding: 0; align-items: end; }
  .pc-dlg { width: 100%; max-height: 92dvh; border-radius: 8px 8px 0 0; }
  .pc-df { grid-template-columns: 1fr 1fr; padding-bottom: calc(18px + env(safe-area-inset-bottom)); }
  .pc-df .pc-b--yes { grid-column: 1 / -1; }
}
@media (prefers-reduced-motion: reduce) { .pc-bar, .pc-ov { animation: none; } .pc-fab, .pc-track, .pc-track::after, .pc-b { transition: none; } }
@media print { .pc { display: none; } }

/* footer: legal links + newsletter fine print */
.ftr-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; }
.ftr-legal a, .ftr-legal button { display: inline-flex; align-items: center; min-height: 44px; padding: 0; border: 0; background: none; color: inherit; font: inherit; font-weight: 400; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.ftr-legal a:hover, .ftr-legal button:hover { color: #fff; }
.ftr-legal a:focus-visible, .ftr-legal button:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.news-fine { margin: 10px 0 0; font-size: .85rem; line-height: 1.55; color: #dfc6a8; }
.news-fine a { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* "delete my data" block (privacy page) */
.pd { margin-block: 20px; padding: 22px; border-radius: 8px; background: #fff; border: 1px solid #dfc6a8; }
.pd-form { margin: 0; }
.pd-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 12px 30px; border: 2px solid #a3301c; border-radius: 8px; background: #a3301c; color: #fff; font: inherit; font-size: 1.1rem; font-weight: 700; cursor: pointer; transition: background-color .2s, color .2s; }
.pd-btn:hover { background: #fff; color: #a3301c; }
.pd-btn:focus-visible { outline: 3px solid #231f20; outline-offset: 3px; }
.pd-id { margin: 14px 0 0; font-size: .9rem; color: #6b5640; word-break: break-all; }
.pd-msg { margin: 0 0 16px; padding: 14px 16px; border-radius: 8px; font-size: 1rem; line-height: 1.65; }
.pd-msg--ok { background: #f8e2cd; color: #231f20; border: 1px solid #dfc6a8; }
.pd-msg--warn { background: #fff0e1; color: #774b1a; border: 1px solid #dfc6a8; }
.pd-msg a { color: inherit; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.pd-msg:focus { outline: 3px solid #231f20; outline-offset: 3px; }

/* keep the hero slider arrows clear of the floating accessibility button (bottom-left) */
@media (min-width: 601px) { .cine-arrows { margin-left: 56px; } }
