/*! TOPIC SLIDER (Figma 5638:7865) — the same slider mechanics as the row — copied verbatim from the demo's app.css lines 2321–2341 (commit 7df0d35). Phase 1 of demo-port: do not retype values here. */

/* no surface, so no radius — see the note on .feeder */
.topic-slider{display:flex;flex-direction:column;gap:var(--grid-row-gap-snug);min-width:0;}
/* overflow-x:auto alone turns any few-px vertical overflow into a second scrollbar */
.topic-slider__list{display:flex;gap:var(--sp-x-loose);overflow-x:auto;overflow-y:hidden;scroll-snap-type:x proximity;scrollbar-width:none;}/* scrolls by swipe and trackpad with no bar (Ronen 2026-11-09) */
.topic-slider__list::-webkit-scrollbar{display:none;}
.topic-slider__list > ip-card-topic{position:relative;flex:1 0 var(--feeder-item-min);min-width:var(--feeder-item-min);max-width:calc((100% - 3 * var(--sp-x-loose)) / 4);scroll-snap-align:start;}/* never wider than a quarter of the row, however few are chosen (Ronen 2026-11-04) *//* drawn in the gap, like the feeder's — never as padding on the card */


.topic-slider__list > ip-card-topic + ip-card-topic::before{content:"";position:absolute;inset-block:0;inset-inline-start:calc(var(--sp-x-loose) / -2);border-inline-start:var(--bw-thin) dotted var(--border-hairline);}
ip-card-topic{display:block;--feeder-item-min:186px;}
.card-topic__link{display:flex;flex-direction:column;gap:var(--grid-row-gap-snug);text-decoration:none;text-align:center;}/* a circle, not a rounded square: the shape is the component, not a radius —
   which is why this is 50% and NOT radius/pill (14px in boker/ham) */


.card-topic__media{display:block;aspect-ratio:1/1;overflow:hidden;border-radius:50%;}
.card-topic__media img{display:block;width:100%;height:100%;object-fit:cover;}
.card-topic__title{display:block;font:var(--ts-display-sm);letter-spacing:var(--ts-display-sm-ls);color:var(--content-primary);}
.card-topic__description{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;line-clamp:2;overflow:hidden;font:var(--ts-headline-xs);color:var(--content-primary);}
.card-topic__description--empty{display:none;}/* the editor's canvas draws it (library-editor.css); a preview, like the site, does not */
