/* home-videos.css — the three show clips inside „מחשבות נבחרות" on the home page (approved design 29.11.2026)
   Reuses the show page's clip markup, play button and player: resources/show/videos.css + resources/show/videos.js
   and the existing covers / MP4 files in resources/show/ (no copies). This file only places the clips on the home grid:
   directly on the cream of the section, the clip group as wide as the posts — three equal columns with the posts'
   own 24px gap, so each clip is as wide as the post card under it and both groups share their outer edges. */
.hv.vids{position:relative;padding:0;margin:0}
.hv.vids::before{display:none}
.hv .vids-l{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;padding:0;margin:0;background:none;overflow:visible}
.hv .vid{width:100%}
.hv .vid-f{box-shadow:none;border-radius:var(--r-lg)}
.hv .vid-f:focus-visible{outline-color:var(--ink)}
.hv .vids-dots{display:none}
/* clips → posts */
.hv + .b-track{margin-top:clamp(28px,2.6vw,40px)}
/* the posts' arrows: moved under the posts, at their end, and shown only where there is something to scroll
   (the page has three posts: from 1024px up all are visible and both arrows are disabled) */
.hv-arrows{display:flex;justify-content:flex-end;margin-top:4px}
.hv-arrows:has(button:disabled + button:disabled){display:none}
/* the posts' dots (phones only, see below; built by home-posts-dots.js) */
.hv-dots{display:none}
@media (max-width:1023px) and (min-width:601px){
 .hv .vids-l{gap:16px}
}
/* phones: the show page's rail, on the cream; dots in the site's light-background colours */
@media (max-width:600px){
 .hv .vids-l{display:flex;gap:12px;margin:0 calc(-1 * var(--gutter));padding:0 var(--gutter);overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:0 var(--gutter);overscroll-behavior-x:contain;scrollbar-width:none}
 .hv .vid{flex:0 0 66%;width:auto;scroll-snap-align:start}
 .hv .vid-p{width:46px}
 .hv .vids-dots{display:flex;gap:8px;justify-content:center;margin-top:16px}
 .hv .vids-dots i{width:6px;height:6px;border-radius:50%;background:rgba(17,18,21,.22);transition:background .3s,width .3s}
 .hv .vids-dots i.on{width:18px;border-radius:3px;background:var(--amber-deep)}
 .hv + .b-track{margin-top:28px}
 /* the posts: the same dots as the clips instead of the arrows, 16px under the cards like the clips' dots
    (the rail keeps its 24px bottom padding for the cards' shadow, hence -8px) */
 .hv-arrows,.hv-arrows:has(button:disabled + button:disabled){display:none}
 .hv-dots{display:flex;gap:8px;justify-content:center;margin-top:-8px}
 .hv-dots i{width:6px;height:6px;border-radius:50%;background:rgba(17,18,21,.22);transition:background .3s,width .3s}
 .hv-dots i.on{width:18px;border-radius:3px;background:var(--amber-deep)}
}
