/*
 * ioann-karpovka home videos slider (task 17). Markup: blocks/home_videos.blade.php; cards: video-card.css; track: scroller.css.
 * Design: docs/design/Site.dc.html?page=home, videos section (lines 276-305); the Подворье feature block follows it (task 71).
 * Desktop = (min-width: 768px); mobile = `not all and (min-width: 768px)`; never a max-width query (task 36).
 */
.ik-home-videos { padding-block: 48px; }
/* Nothing below the block (the Подворье block was removed): the usual 120px gap above the footer. */
.ik-home-videos--last { padding-bottom: 120px; }
/* Ad hoc heading of the design (not the DS SectionHeading): the arrows stay on the right on every width. */
.ik-home-videos__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 32px; }
.ik-home-videos__heading { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ik-home-videos__title {
    /* The design's ad hoc heading has no letter-spacing (unlike the DS headings). */
    margin: 0;
    font: 600 clamp(36px, 4vw, 48px)/1.05 var(--font-title);
    color: var(--iskm-navy);
    text-wrap: balance;
    overflow-wrap: break-word;
}
.ik-home-videos__controls { display: flex; gap: 10px; flex: none; }
.ik-home-videos__item { width: clamp(300px, 72vw, 860px); --ik-video-play: clamp(64px, 8vw, 96px); }
.ik-home-videos__more { display: flex; justify-content: center; margin-top: 32px; }
@media not all and (min-width: 768px) {
    .ik-home-videos__head { gap: 16px; }
}
