/* ============================================================
   נגישות: קישור "דלג לתוכן", כפתור ותפריט נגישות, וההתאמות עצמן.
   וגם: תיבות האישור בטפסים (פרטיות ודיוור).
   ============================================================ */
:focus-visible { outline: 3px solid #1A73E8; outline-offset: 3px; }

.a11y-skip { position: fixed; top: 10px; right: 10px; z-index: 1000; padding: 12px 18px; border-radius: 12px; background: #fff; color: #0B1F3A; font-weight: 800; box-shadow: 0 10px 30px rgb(0 0 0 / .25); transform: translateY(-160%); transition: transform .2s; }
.a11y-skip:focus { transform: none; }

.a11y { position: fixed; z-index: 70; left: 18px; bottom: 92px; }
.a11y__btn { display: grid; place-items: center; width: 52px; height: 52px; border: 0; border-radius: 50%; color: #fff; background: #1A56B8; box-shadow: 0 10px 24px rgb(26 86 184 / .4); cursor: pointer; }
.a11y__btn svg { width: 28px; height: 28px; }
.a11y__panel { position: absolute; left: 0; bottom: 62px; width: min(320px, calc(100vw - 36px)); padding: 16px; border-radius: 20px; background: #fff; color: #0B1F3A; box-shadow: 0 30px 60px -20px rgb(0 0 0 / .45); border: 1px solid #DDE3EA; font-family: Heebo, Arial, sans-serif; }
.a11y__head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 12px; font-size: 18px; }
.a11y__close { width: 40px; height: 40px; border: 0; border-radius: 50%; background: #EEF2F6; color: #0B1F3A; font-size: 24px; line-height: 1; cursor: pointer; }
.a11y__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.a11y__opt { position: relative; display: grid; justify-items: center; gap: 6px; min-height: 84px; padding: 12px 8px; border: 2px solid #DDE3EA; border-radius: 14px; background: #fff; color: #0B1F3A; font: inherit; font-size: 15px; font-weight: 700; cursor: pointer; }
.a11y__opt svg { width: 26px; height: 26px; }
.a11y__opt[aria-pressed="true"] { border-color: #1A56B8; background: #EAF1FC; color: #1A56B8; }
.a11y__lvl { position: absolute; top: 6px; left: 8px; font-style: normal; font-size: 12px; }
.a11y__foot { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-top: 12px; font-size: 15px; }
.a11y__reset { border: 0; background: none; color: #B42318; font: inherit; font-weight: 700; cursor: pointer; text-decoration: underline; }
.a11y__foot a { color: #1A56B8; font-weight: 700; text-decoration: underline; }

/* ההתאמות */
html.a11y-size1 body { zoom: 1.12; }
html.a11y-size2 body { zoom: 1.25; }
html.a11y-contrast body > *:not(.a11y-ui) { filter: contrast(1.45) saturate(1.1); }
html.a11y-gray body > *:not(.a11y-ui) { filter: grayscale(1); }
html.a11y-contrast.a11y-gray body > *:not(.a11y-ui) { filter: grayscale(1) contrast(1.45); }
html.a11y-links a:not(.a11y-ui a) { text-decoration: underline !important; text-underline-offset: 3px; outline: 2px dashed currentColor; outline-offset: 2px; }
html.a11y-font body, html.a11y-font body * { font-family: Arial, 'Segoe UI', sans-serif !important; letter-spacing: .01em; }
html.a11y-still *, html.a11y-still *::before, html.a11y-still *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
html.a11y-still .hero__img { opacity: 0 !important; }
html.a11y-still .hero__img:first-child { opacity: 1 !important; }
html.a11y-still .rvw-toast { display: none !important; }

/* ---------- אישורים בטפסים ---------- */
.consent { display: grid; gap: 10px; margin-top: 2px; }
.consent__row { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; font-weight: 600; line-height: 1.5; color: var(--muted, #5b6773); cursor: pointer; }
.consent__row input { flex: none; width: 22px; height: 22px; margin-top: 1px; accent-color: var(--ink, #0B1F3A); }
.consent__row a { color: inherit; text-decoration: underline; text-underline-offset: 3px; font-weight: 800; }
.consent__note { font-size: 13px; line-height: 1.55; color: var(--muted, #5b6773); }
.consent__note a { color: inherit; text-decoration: underline; }

/* ---------- עמודי מדיניות ---------- */
.legal { max-width: 820px; }
.legal h2 { margin: 40px 0 12px; font-size: clamp(22px, 2.6vw, 28px); }
.legal h2:first-child { margin-top: 0; }
.legal p, .legal li { font-size: 17px; line-height: 1.8; }
.legal ul { display: grid; gap: 6px; margin: 8px 0 0; padding-inline-start: 22px; list-style: disc; }
.legal p + p { margin-top: 10px; }
.legal a { color: var(--teal-d, #2E77A0); text-decoration: underline; font-weight: 700; }
.legal__box { margin-top: 18px; padding: 18px 22px; border-radius: 18px; background: var(--surface); border: 1px solid var(--line); }
.legal__updated { margin-top: 40px; font-size: 15px; color: var(--muted); }
.footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.footer__legal a { opacity: .85; text-decoration: underline; text-underline-offset: 3px; }
.footer__legal a:hover { opacity: 1; }

@media (max-width: 600px) {
  .a11y { left: 14px; bottom: 86px; }
  .a11y__btn { width: 48px; height: 48px; }
}
@media print { .a11y, .a11y-skip { display: none !important; } }

/* ---------- תעודת המוהל ---------- */
.lic { display: flex; align-items: center; gap: 16px; width: 100%; max-width: 520px; margin-top: 24px; padding: 12px 16px 12px 12px; border: 1px solid var(--line); border-radius: 20px; background: #fff; color: var(--ink); font: inherit; text-align: start; cursor: zoom-in; box-shadow: var(--shadow-card); transition: transform .2s, box-shadow .2s; }
.lic:hover { transform: translateY(-3px); box-shadow: var(--shadow-pop); }
.lic__img { flex: none; width: 128px; height: auto; border-radius: 10px; }
.lic__text { display: grid; gap: 3px; min-width: 0; }
.lic__text b { font-family: var(--font-head); font-size: 18px; }
.lic__text span { font-size: 15px; line-height: 1.5; color: var(--muted); }
.lic__text .lic__more { margin-top: 2px; font-weight: 800; color: var(--teal-d); text-decoration: underline; text-underline-offset: 3px; }
.lic--foot { max-width: 330px; margin-top: 18px; padding: 8px 12px 8px 8px; gap: 12px; background: rgb(255 255 255 / .08); border-color: rgb(255 255 255 / .16); color: inherit; box-shadow: none; }
.lic--foot .lic__img { width: 84px; border-radius: 7px; }
.lic--foot .lic__text b { font-size: 15px; }
.lic--foot .lic__text span { font-size: 13px; color: inherit; opacity: .75; }
.lic-pop { width: min(760px, calc(100vw - 24px)); padding: 18px; border: 0; border-radius: 24px; background: #fff; box-shadow: 0 40px 90px -30px rgb(0 0 0 / .6); }
.lic-pop::backdrop { background: rgb(11 31 58 / .6); backdrop-filter: blur(3px); }
.lic-pop img { display: block; width: 100%; height: auto; border-radius: 14px; }
.lic-pop__cap { margin-top: 12px; font-size: 15px; line-height: 1.6; color: #4a5563; text-align: start; }
.lic-pop__x { position: absolute; top: 10px; left: 10px; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: #0B1F3A; box-shadow: 0 6px 16px rgb(0 0 0 / .2); cursor: pointer; }
.lic-pop__x svg { width: 20px; height: 20px; }
@media (max-width: 600px) { .lic__img { width: 104px; } }
@media (prefers-reduced-motion: reduce) { .lic:hover { transform: none; } }
/* ---------- מרכז המידע: רשימות סימון, דף כיבודים, ריבועי הערה, כפתורים ---------- */
.article__body .checklist { list-style: none; padding: 0; display: grid; gap: 8px; margin-top: 14px; }
.article__body .checklist li { margin: 0; }
.checklist label { display: flex; align-items: center; gap: 14px; padding: 12px 16px; border: 2px solid var(--line); border-radius: 16px; background: #fff; cursor: pointer; transition: background .2s, border-color .2s; }
.checklist input { flex: none; width: 24px; height: 24px; accent-color: var(--teal-d, #2E77A0); }
.checklist input:checked + span { color: var(--muted); text-decoration: line-through; text-decoration-thickness: 2px; }
.checklist label:has(input:checked) { background: color-mix(in srgb, var(--teal) 10%, #fff); border-color: color-mix(in srgb, var(--teal) 40%, var(--line)); }
.fill { display: grid; gap: 10px; margin-top: 16px; padding: 18px; border-radius: 20px; background: var(--surface); border: 1px solid var(--line); }
.fill__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: 12px; font-size: 17px; font-weight: 700; }
.fill__row input { min-height: 48px; padding: 10px 14px; border: 2px solid var(--line); border-radius: 14px; background: #fff; font: inherit; font-weight: 500; }
.callout { margin-top: 20px; padding: 16px 20px; border-radius: 18px; border-inline-start: 5px solid var(--teal-d, #2E77A0); background: color-mix(in srgb, var(--teal) 10%, #fff); font-size: 18px; font-weight: 600; }
.callout--warn { border-color: #C0392B; background: #FDECEA; color: #7A1F17; }
.article__tools { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; padding-top: 22px; border-top: 1px dashed var(--line); }
@media (max-width: 600px) { .fill__row { grid-template-columns: 1fr; gap: 6px; } }
@media print {
  .nav-wrap, .footer, .wa-float, .a11y, .rvw-toast, .article__tools, .article__back, .note, .lic-pop, #posts-wrap { display: none !important; }
  #article { padding-top: 0 !important; }
  .article__img { max-height: 200px; box-shadow: none; }
  .checklist label, .fill { break-inside: avoid; }
  body { background: #fff; }
}.article__body h3 { margin-top: 26px; font-size: 21px; color: var(--ink); }
.article__body h3 + ul { margin-top: 8px; }
.article__file { margin-top: 18px; }
@media print { .article__file { display: none !important; } .article__body h3 { break-after: avoid; } }
/* ---------- בועת וואטסאפ צפה (wa-chat.js) ---------- */
.wa-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.wa-chat { position: fixed; left: 18px; bottom: 90px; z-index: 75; width: min(350px, calc(100vw - 36px)); border-radius: 22px; overflow: hidden; background: #fff; color: #0B1F3A; box-shadow: 0 30px 70px -20px rgb(0 0 0 / .45); direction: rtl; text-align: start; animation: wa-in .22s ease-out; }
.wa-chat[hidden], .wa-tease[hidden] { display: none; }
@keyframes wa-in { from { opacity: 0; transform: translateY(12px) scale(.97); } to { opacity: 1; transform: none; } }
.wa-chat__head { display: flex; align-items: center; gap: 12px; padding: 14px 16px; color: #fff; background: #075E54; }
.wa-chat__head b { display: block; font-size: 16px; }
.wa-chat__head small { font-size: 13px; opacity: .85; }
.wa-chat__av { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #25D366; }
.wa-chat__av svg { width: 22px; height: 22px; }
.wa-chat__x { margin-inline-start: auto; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: rgb(255 255 255 / .15); color: #fff; font-size: 16px; cursor: pointer; }
.wa-chat__body { display: grid; gap: 10px; padding: 16px; background: #ECE5DD; }
.wa-chat__msg { margin: 0; padding: 10px 14px; border-radius: 4px 16px 16px 16px; background: #fff; font-size: 15.5px; line-height: 1.5; box-shadow: 0 1px 1px rgb(0 0 0 / .08); }
.wa-chat__opts { display: grid; gap: 8px; }
.wa-chat__opt { display: block; padding: 10px 14px; border-radius: 16px 4px 16px 16px; background: #DCF8C6; color: #0B1F3A; font-size: 15.5px; font-weight: 600; line-height: 1.45; text-decoration: none; box-shadow: 0 1px 1px rgb(0 0 0 / .08); transition: transform .15s, background .15s; }
.wa-chat__opt:hover, .wa-chat__opt:focus-visible { background: #c9f2ab; transform: translateX(-3px); outline: none; }
.wa-chat__own { display: flex; gap: 8px; margin-top: 2px; }
.wa-chat__own input { flex: 1; min-width: 0; min-height: 44px; padding: 8px 14px; border: 0; border-radius: 999px; background: #fff; font: inherit; font-size: 15px; color: #0B1F3A; }
.wa-chat__own input:focus { outline: 2px solid #25D366; }
.wa-chat__own button { flex: none; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; color: #fff; background: #25D366; cursor: pointer; }
.wa-chat__own button svg { width: 20px; height: 20px; }
.wa-float.is-open::before { animation: none; opacity: 0; }
.wa-tease { position: fixed; left: 88px; bottom: 26px; z-index: 65; max-width: min(250px, calc(100vw - 110px)); padding: 10px 14px; border: 0; border-radius: 16px 16px 16px 4px; background: #fff; color: #0B1F3A; font: inherit; font-size: 14.5px; line-height: 1.45; text-align: start; box-shadow: 0 14px 34px -10px rgb(0 0 0 / .35); cursor: pointer; animation: wa-in .3s ease-out; direction: rtl; }
.wa-tease b { color: #075E54; }
@media (prefers-reduced-motion: reduce) { .wa-chat, .wa-tease { animation: none; } .wa-chat__opt:hover { transform: none; } }
@media print { .wa-chat, .wa-tease { display: none !important; } }
body.wa-open .a11y { visibility: hidden; }

/* ---------- כתיבת המלצה בחלון קופץ ---------- */
.hml-pop { position: fixed; inset: 0; z-index: 200; display: none; place-items: center; padding: 18px; background: rgb(11 31 58 / .55); backdrop-filter: blur(4px); }
.hml-pop.is-open { display: grid; animation: hml-pop-in .25s ease; }
.hml-pop__box { position: relative; width: min(980px, 100%); height: min(92vh, 940px); border-radius: 26px; overflow: hidden; background: #fff; box-shadow: 0 40px 90px -30px rgb(0 0 0 / .6); }
.hml-pop__box iframe { display: block; width: 100%; height: 100%; border: 0; }
.hml-pop__x { position: absolute; top: 12px; left: 12px; z-index: 2; display: grid; place-items: center; width: 44px; height: 44px; border: 0; border-radius: 50%; background: #fff; color: #0B1F3A; box-shadow: 0 6px 18px rgb(0 0 0 / .2); cursor: pointer; }
.hml-pop__x svg { width: 20px; height: 20px; }
@keyframes hml-pop-in { from { opacity: 0; } }
body.hml-pop-open { overflow: hidden; }
body.hml-pop-open .wa-float, body.hml-pop-open .a11y, body.hml-pop-open .hml-fab { visibility: hidden; }
@media (max-width: 600px) { .hml-pop { padding: 0; } .hml-pop__box { height: 100%; border-radius: 0; } }
/* בתוך החלון: בלי תפריט, תחתית ובועות */
.is-embed .nav-wrap, .is-embed .footer, .is-embed .wa-float, .is-embed .wa-chat, .is-embed .wa-tease, .is-embed .a11y, .is-embed .a11y-skip { display: none !important; }
.is-embed .hml { padding-top: 40px !important; padding-bottom: 40px !important; }
/* כפתור צף "כתיבת המלצה" */
.hml-fab { position: fixed; z-index: 45; top: 106px; left: 50%; display: inline-flex; align-items: center; gap: 8px; padding: 11px 20px; border-radius: 999px; font-weight: 800; font-size: 16px; text-decoration: none; color: #fff; background: #0B1F3A; box-shadow: 0 14px 30px -12px rgb(11 31 58 / .6); transform: translate(-50%, -20px); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; }
.hml-fab.is-on { opacity: 1; transform: translate(-50%, 0); pointer-events: auto; }
.hml-fab svg { width: 18px; height: 18px; }
@media (max-width: 799px) { .hml-fab { top: auto; bottom: 22px; } }
/* עמוד הביקורות: כפתור ליד הסידור, וכרטיס בסוף הרשימה */
.rvw-addbtn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; font-weight: 800; font-size: 15.5px; text-decoration: none; color: #fff; background: #0B1F3A; }
.rvw-addbtn svg, .rvw-end .btn svg { width: 18px; height: 18px; flex: none; }
.rvw-end { display: grid; grid-template-columns: 90px 1fr; gap: 16px 22px; align-items: center; margin-top: 40px; padding: 22px 26px 0; border-radius: 26px; background: var(--surface, #F4F8FB); overflow: hidden; }
.rvw-end img { grid-row: span 2; align-self: end; width: 90px; height: auto; }
.rvw-end__title { font-size: clamp(24px, 3vw, 32px); }
.rvw-end p { margin-top: 4px; font-size: 17px; color: var(--muted); }
.rvw-end .btn { justify-self: start; margin-bottom: 22px; gap: 8px; }
@media (min-width: 800px) {
  .rvw-end { grid-template-columns: 120px 1fr auto; padding: 18px 36px 0; }
  .rvw-end img { grid-row: auto; width: 120px; }
  .rvw-end .btn { margin-bottom: 0; align-self: center; }
}

/* חלונית אישור עוגיות */
.cookie-bar { position: fixed; z-index: 80; inset-inline: 14px; bottom: 14px; max-width: 560px; margin-inline: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 10px 16px; padding: 14px 18px; border-radius: 18px; background: #fff; color: #0B1F3A; box-shadow: 0 20px 50px -16px rgb(11 31 58 / .45); border: 1px solid #E6EEF5; font-size: 14.5px; }
.cookie-bar p { margin: 0; flex: 1 1 260px; line-height: 1.5; }
.cookie-bar a { color: inherit; text-decoration: underline; }
.cookie-bar__btns { display: flex; gap: 8px; }
