/*
 * ioann-karpovka horizontal scroller (task 15; reused by the videos slider, task 17). Behaviour: js/scroller.js.
 * Markup: [data-ik-scroller] > buttons [data-ik-scroller-prev|next] + ul.ik-scroller__track[data-ik-scroller-track] > li.ik-scroller__item;
 * the width of an item is set by the block (flex: none).
 * The track has 6px of padding (compensated by a negative margin and scroll-padding) so that a focus ring
 * at a 3px offset is not clipped by overflow-x: auto; the items still snap to the container edge.
 * Reduced motion: base.css resets scroll-behavior, the JS switches to behavior: 'auto'.
 * Breakpoints: desktop = (min-width: 768px), mobile = `not all and (min-width: 768px)`; never max-width (task 36).
 */
.ik-scroller__track {
    display: flex;
    gap: 24px;
    margin: -6px -6px 0;
    padding: 6px 6px 12px;
    list-style: none;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 6px;
    scroll-behavior: smooth;
    scrollbar-width: thin;
}
.ik-scroller__item { flex: none; min-width: 0; scroll-snap-align: start; }
