/* NDIGIT v2 · חשיפה בגלילה (js/reveal.js). משתמש ב־translate/opacity/clip-path כדי לא לדרוס transform קיים */
.rv-on [data-rv]:not(.rv-in) { opacity: 0; }
.rv-on [data-rv] { transition: opacity .8s cubic-bezier(.2,.8,.2,1) var(--rv-d, 0ms), translate .9s cubic-bezier(.2,.8,.2,1) var(--rv-d, 0ms), clip-path 1s cubic-bezier(.7,0,.2,1) var(--rv-d, 0ms), scale 1.2s cubic-bezier(.2,.8,.2,1) var(--rv-d, 0ms); }
/* כותרת: עולה מתוך חלון */
.rv-on [data-rv="h"]:not(.rv-in) { clip-path: inset(0 0 100% 0); translate: 0 .35em; }
.rv-on [data-rv="h"].rv-in { clip-path: inset(-20% -10% -30% -10%); }
/* תווית: נכנסת מהצד, והקו שלה נמתח */
.rv-on [data-rv="k"]:not(.rv-in) { translate: 18px 0; }
.rv-on [data-rv="k"]::before { transition: scale .7s cubic-bezier(.2,.8,.2,1) .15s; transform-origin: right center; }
.rv-on [data-rv="k"]:not(.rv-in)::before { scale: 0 1; }
/* פסקה: עולה ומתבהרת, באיחור קל אחרי הכותרת */
.rv-on [data-rv="p"] { --rv-d: 120ms; }
.rv-on [data-rv="p"]:not(.rv-in) { translate: 0 18px; }
/* תמונה, סרטון, במה: מסכה שנפתחת מלמטה וזום קל שחוזר */
.rv-on [data-rv="m"]:not(.rv-in) { clip-path: inset(14% 0 0 0 round 18px); translate: 0 28px; scale: 1.03; }
.rv-on [data-rv="m"].rv-in { clip-path: inset(-10% -10% -10% -10%); }
/* כרטיסים ברשימה: אחד אחרי השני */
.rv-on [data-rv="c"]:not(.rv-in) { translate: 0 26px; }
/* מה שכבר במסך בטעינה: בלי השהיה */
.rv-now { transition-duration: .6s !important; }
@media (max-width: 760px) { .rv-on [data-rv] { transition-duration: .6s, .65s, .7s, .8s; } }
.nd-still [data-rv], .nd-still [data-rv]::before { opacity: 1 !important; translate: none !important; clip-path: none !important; scale: none !important; transition: none !important; }
