/* videos.css — /show/ videos (approved design 26.11.2026)
   Placed inside section.e2, between .facts („למי זה מתאים?") and .close („רוצים להביא את המופע אליכם?"),
   on the same dark stage as the booking: the light band ends, the stage opens with the clips, then the invitation.
   Loaded after show.css. Every rule is scoped to .vids / .vid-*; the one rule that touches an existing block is
   ".vids+.close" (desktop: less air above the invitation when clips precede it). */
.vids{position:relative;padding:clamp(62px,5.6vw,92px) 0 0}
/* a low warm light behind the clips, like the stage light elsewhere on the page */
.vids::before{content:'';position:absolute;inset:8% 10% -4%;background:radial-gradient(50% 50% at 50% 50%,rgba(240,146,58,.09),rgba(240,146,58,0) 70%);pointer-events:none}
.vids-l{position:relative;display:flex;justify-content:safe center;gap:clamp(36px,4.4vw,64px);margin:0;padding:0;list-style:none;overflow-x:auto;scrollbar-width:none}
.vids-l::-webkit-scrollbar{display:none}
.vid{flex:0 0 clamp(212px,20vw,296px);margin:0}
.vid-f{position:relative;display:block;width:100%;padding:0;border:0;border-radius:3px;overflow:hidden;background:#111;cursor:pointer;box-shadow:0 30px 60px -30px rgba(0,0,0,.9)}
.vid-f img{display:block;width:100%;height:auto;transition:transform .8s cubic-bezier(.2,.7,.1,1)}
.vid-f::after{content:'';position:absolute;inset:0;background:linear-gradient(to top,rgba(7,4,3,.28),rgba(7,4,3,0) 40%);pointer-events:none}
/* play: a thin cream ring with a small triangle, centred across, on the chest (the same height in every clip) so it never covers the face */
.vid-p{position:absolute;z-index:1;top:64%;left:50%;width:clamp(50px,3.9vw,60px);aspect-ratio:1;translate:-50% -50%;display:grid;place-items:center;border-radius:50%;
  border:1.5px solid rgba(248,237,223,.9);background:rgba(7,4,3,.32);-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);transition:background .3s,border-color .3s}
.vid-p svg{width:49%;height:49%;margin-left:9%;fill:#f8eddf;transition:fill .3s}
.vid-f:hover .vid-p,.vid-f:focus-visible .vid-p{background:#f8eddf;border-color:#f8eddf}
.vid-f:hover .vid-p svg,.vid-f:focus-visible .vid-p svg{fill:#070403}
.vid-f:hover img{transform:scale(1.025)}
.vid-f:focus-visible{outline:3px solid #f0923a;outline-offset:4px}
.vid-t{margin:18px 0 0;text-align:center;font-size:clamp(17px,1.3vw,21px);line-height:1.35;font-weight:700;color:#f5ead8;text-wrap:balance}
.vid-s{font-weight:500;color:#cfc4b4}
.vids-dots{display:none}
/* the invitation follows the clips: a little less air above it than after the light band (desktop only) */
@media(min-aspect-ratio:1/1){.vids+.close{padding-top:clamp(64px,5.8vw,92px)}}
/* phones: a horizontal rail; the next clip peeks in so it is clear there is more */
@media(max-aspect-ratio:1/1){
 .vids{padding-top:52px;margin:0 -22px}
 .vids::before{inset:6% 0 0}
 .vids-l{justify-content:flex-start;gap:14px;padding:0 22px;scroll-snap-type:x mandatory;scroll-padding:0 22px;overscroll-behavior-x:contain}
 .vid{flex-basis:62vw;scroll-snap-align:start}
 .vid-p{width:48px}
 .vid-t{margin-top:14px;font-size:17px}
 .vids-dots{display:flex;gap:8px;justify-content:center;margin-top:22px}
 .vids-dots i{width:6px;height:6px;border-radius:50%;background:rgba(245,234,216,.25);transition:background .3s,width .3s}
 .vids-dots i.on{width:18px;border-radius:3px;background:#f0923a}
 .vids-dots:has(i:only-child){display:none}
}
@media(prefers-reduced-motion:reduce){.vid-f img,.vid-p,.vid-p svg{transition:none}.vid-f:hover img{transform:none}}

/* player: a minimal modal on the page's dark stage colour; the clip keeps its own (vertical) proportions, never cropped */
.vplay{position:fixed;inset:0;width:100%;height:100%;max-width:none;max-height:none;margin:0;padding:0;border:0;background:transparent;color:#f5ead8;overflow:hidden;--ar:.5625}
.vplay[open]{display:grid;place-items:center;animation:vplay-in .25s ease-out}
.vplay::backdrop{background:rgba(7,4,3,.96);-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px)}
.vplay-in{display:flex;flex-direction:column;align-items:center;gap:14px;padding:64px 16px 24px;box-sizing:border-box;width:100%;height:100%;justify-content:center}
.vplay video{display:block;width:min(calc(100vw - 32px),calc((100svh - 150px)*var(--ar)));height:auto;aspect-ratio:var(--ar);background:#000;border-radius:3px;box-shadow:0 30px 80px -30px rgba(0,0,0,.95)}
.vplay-t{margin:0;text-align:center;font-size:clamp(16px,1.2vw,19px);line-height:1.35;font-weight:700;color:#f5ead8;text-wrap:balance}
.vplay-x{position:absolute;top:18px;left:18px;width:44px;height:44px;padding:0;display:grid;place-items:center;border-radius:50%;cursor:pointer;
  border:1.5px solid rgba(248,237,223,.9);background:rgba(7,4,3,.32);transition:background .3s,border-color .3s}
.vplay-x svg{width:18px;height:18px;fill:none;stroke:#f8eddf;stroke-width:1.8;stroke-linecap:round;transition:stroke .3s}
.vplay-x:hover,.vplay-x:focus-visible{background:#f8eddf;border-color:#f8eddf}
.vplay-x:hover svg,.vplay-x:focus-visible svg{stroke:#070403}
.vplay-x:focus-visible,.vplay video:focus-visible{outline:3px solid #f0923a;outline-offset:4px}
html.vplay-on{overflow:hidden}
@keyframes vplay-in{from{opacity:0}}
@media(prefers-reduced-motion:reduce){.vplay[open]{animation:none}.vplay-x,.vplay-x svg{transition:none}}
