/* The landing pages' rows (stripe-parts.php; Figma 10225-8938): the head, the podcast and
   testimonials cards on their white panel, the partners between two hairlines, and the common course
   stripe's "לכל …". Logical properties and the brand's tokens throughout. */

.cil-l-stripe { padding: 40px 24px; }
.cil-l-stripe *, .cil-l-stripe *::before, .cil-l-stripe *::after { box-sizing: border-box; }
.cil-l-stripe__panel { display: flex; flex-direction: column; gap: 24px; max-width: 1420px; margin-inline: auto; }
/* A dark stripe runs edge to edge (item 224): its colour (--cil-l-bleed) fills the window's width wherever it is
   placed -- past any container, without widening the page -- while its content keeps the stripes' width. Its band
   carries the room above and below it; the stripe draws no box of its own. */
.cil-l-stripe.cil-l-stripe--bleed {
    padding-block: 0; background-color: var(--cil-l-bleed, var(--cil-black-dark-3));
    box-shadow: 0 0 0 100vmax var(--cil-l-bleed, var(--cil-black-dark-3)); clip-path: inset(0 -100vmax);
}
.cil-l-stripe--episodes .cil-l-stripe__panel,
.cil-l-stripe--sayings .cil-l-stripe__panel { padding: 40px; border-radius: 16px; background: var(--cil-white); }

/* ---- The head: the title with the yellow mark, the line under it, "לכל …" across from it ---- */
.cil-l-stripe__head { display: flex; align-items: flex-start; justify-content: space-between; gap: 24px; }
.cil-l-stripe__words { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.cil-l-stripe .cil-l-stripe__title {
    display: flex; align-items: center; gap: 12px; margin: 0;
    color: var(--cil-black); font-size: 40px; font-weight: 700; line-height: 1.2;
}
.cil-l-stripe .cil-l-stripe__title::before { content: ""; flex: none; width: 4px; height: 36px; border-radius: 2px; background: var(--cil-yellow); }
.cil-l-stripe__text { margin: 0; color: var(--cil-black-regular-7); font-size: 18px; line-height: 1.2; }
.cil-l-stripe .cil-l-stripe__all {
    display: inline-flex; flex: none; align-items: center; gap: 6px; padding-block: 12px 0;
    color: var(--cil-blue-dark-1); font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none;
}
/* Pointed at, the caret steps on and a line draws in under the words -- never a colour wash. */
.cil-l-stripe .cil-l-stripe__all svg,
.cil-l-saying__go svg { transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.cil-l-stripe .cil-l-stripe__all:is(:hover, :focus-visible) { color: var(--cil-blue-dark-1); text-decoration: underline; text-underline-offset: 3px; }
.cil-l-stripe .cil-l-stripe__all:is(:hover, :focus-visible) svg { transform: translateX(-3px); }
.lang-to-css-ltr .cil-l-stripe .cil-l-stripe__all:is(:hover, :focus-visible) svg { transform: scaleX(-1) translateX(-3px); }
/* A link with words of its own for a phone (stripe-parts.php, link_short) shows them there only. */
.cil-l-stripe__allShort { display: none; }

/* ---- A row of cards, turned by the arrows under it (design-system/carousel.js) ---- */
.cil-l-stripe__carousel { display: flex; flex-direction: column; gap: 24px; }
.cil-l-stripe__track {
    display: grid; grid-auto-flow: column; gap: 24px; margin: 0; padding: 4px 4px 24px; list-style: none;
    margin-block-end: -20px; margin-inline: -4px; scroll-padding-inline: 4px;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain;
}
.cil-l-stripe__track::-webkit-scrollbar { display: none; }
.cil-l-stripe__track > li { scroll-snap-align: start; margin: 0; }
.cil-l-stripe__track.is-dragging { scroll-snap-type: none; cursor: grabbing; }
.cil-l-stripe__arrows { display: flex; justify-content: flex-end; gap: 15px; }
.cil-l-stripe .cil-l-stripe__arrow {
    display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%;
    background: var(--cil-white); color: var(--cil-black); cursor: pointer; transition: transform .2s ease;
}
.cil-l-stripe .cil-l-stripe__arrow:not(:disabled):hover { transform: scale(1.12); background: var(--cil-white); color: var(--cil-black); }
.cil-l-stripe .cil-l-stripe__arrow:disabled { color: var(--cil-black-light-10); cursor: default; background: var(--cil-white); }
/* A card menu's rows keep the house ring, drawn inside them (course-card/assets/card-menu.css). */
.cil-l-stripe :is(a, button):not(.cil-cardMenu__item):focus-visible { outline: 2px solid var(--cil-blue-dark-1); outline-offset: 2px; }

/* ---- Podcast cards ---- */
.cil-l-episodes { grid-auto-columns: calc((100% - 3 * 24px) / 4); }
.cil-l-episode {
    position: relative; display: flex; flex-direction: column; height: 472px; overflow: hidden; border-radius: 12px;
    background: var(--cil-white);
    box-shadow: 0 8px 24px -4px color-mix(in srgb, var(--cil-black) 16%, transparent), 0 1px 3px color-mix(in srgb, var(--cil-black) 8%, transparent);
}
.cil-l-episode__cover { position: relative; flex: none; height: 317px; background: var(--cil-black-light-2); }
.cil-l-episode__picture { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cil-l-episode__chip {
    position: absolute; padding: 3px 8px; border-radius: 4px; background: var(--cil-black-dark-5);
    color: var(--cil-white); font-size: 14px; font-weight: 600; line-height: 1.2;
}
.cil-l-episode__number { inset-block-start: 12px; inset-inline-start: 12px; }
.cil-l-episode__length { inset-block-end: 12px; inset-inline-end: 12px; }
.cil-l-episode__body { display: flex; flex: 1; flex-direction: column; gap: 14px; padding: 16px 20px 20px; }
.cil-l-episode__words { display: flex; flex: 1; flex-direction: column; gap: 4px; min-height: 0; }
.cil-l-stripe .cil-l-episode__title {
    margin: 0; color: var(--cil-black); font-size: 18px; font-weight: 700; line-height: 1.2;
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.cil-l-episode__guest { margin: 0; color: var(--cil-black-regular-7); font-size: 14px; line-height: 1.2; }
.cil-l-episode__foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.cil-l-stripe .cil-l-episode__listen {
    display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none;
    color: var(--cil-black); font: inherit; font-size: 16px; font-weight: 600; line-height: 1.2; cursor: pointer;
}
.cil-l-episode__mark {
    display: grid; place-items: center; width: 40px; height: 40px; padding-inline-start: 3px; border-radius: 50%;
    background: var(--cil-blue-dark-1); color: var(--cil-white); transition: transform .2s ease, box-shadow .2s ease;
}
.lang-to-css-rtl .cil-l-episode__mark, [dir="rtl"] .cil-l-episode__mark { padding-inline-start: 0; padding-inline-end: 3px; }
.cil-l-episode__mark svg { transform: scaleX(-1); }
.lang-to-css-ltr .cil-l-episode__mark svg { transform: none; }
.cil-l-episode__pause, .cil-l-episode__pauseWord, .cil-l-episode.is-playing .cil-l-episode__play,
.cil-l-episode.is-playing .cil-l-episode__listenWord { display: none; }
.cil-l-episode.is-playing .cil-l-episode__pause { display: block; }
.cil-l-episode.is-playing .cil-l-episode__pauseWord { display: inline; }
.cil-l-episode.is-playing .cil-l-episode__mark { padding: 0; }
.cil-l-stripe .cil-l-episode__listen:is(:hover, :focus-visible) .cil-l-episode__mark { transform: scale(1.08); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cil-blue) 30%, transparent); }
.cil-l-episode.is-waiting .cil-l-episode__mark { animation: cil-l-episode-wait 1.2s ease-in-out infinite; }
@keyframes cil-l-episode-wait { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--cil-blue) 30%, transparent); } }
.cil-l-stripe .cil-l-episode__transcript {
    display: inline-flex; align-items: center; gap: 6px; color: var(--cil-blue-dark-1);
    font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none;
}
.cil-l-stripe .cil-l-episode__transcript:is(:hover, :focus-visible) { color: var(--cil-blue-dark-1); text-decoration: underline; text-underline-offset: 3px; }
/* The site's own player, over the foot of the picture once the episode is opened: a band in the course
   page's cards' colours, whose rows -- the bar and its times, back/speed/forward, the sound -- are drawn by
   their rules (course-page/course/assets/podcast.css). Here the rows stack in the band, nothing hung. */
.cil-l-episode__player {
    position: absolute; inset-inline: 0; inset-block-end: 0; display: none; padding: 10px 12px 8px;
    background: var(--cil-black); color: var(--cil-white);
}
.cil-l-episode.is-open .cil-l-episode__player { display: block; }
.cil-l-episode.is-open .cil-l-episode__length { display: none; }
.cil-l-episode__player .cil-course-episode__progress { margin: 0; }
.cil-l-episode__player .cil-course-episode__controls { margin: 6px 0 0; }
/* The provider's own player, in the picture's place. */
.cil-l-episode .cil-course-episode__player { display: block; flex: none; width: 100%; height: 317px; border: 0; }
.cil-l-episode.is-embedded .cil-l-episode__cover { display: none; }

/* ---- Testimonial cards ---- */
.cil-l-sayings { grid-auto-columns: calc((100% - 50px) / 3); gap: 25px; }
.cil-l-saying {
    display: flex; flex-direction: column; gap: 16px; min-height: 258px; padding: 24px; border-radius: 12px;
    background: var(--cil-white);
    box-shadow: 0 8px 12px color-mix(in srgb, var(--cil-black) 16%, transparent), 0 1px 1.5px color-mix(in srgb, var(--cil-black) 8%, transparent);
}
.cil-l-saying__top { display: flex; flex: 1; flex-direction: column; gap: 12px; padding-block-end: 16px; border-block-end: 1px solid var(--cil-black-light-3); }
.cil-l-saying__mark { color: var(--cil-blue); transform: scaleX(-1); }
.lang-to-css-ltr .cil-l-saying__mark { transform: none; }
.cil-l-saying__quote {
    margin: 0; color: var(--cil-black); font-size: 18px; line-height: 1.2;
    display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
.cil-l-saying__person { display: flex; align-items: center; gap: 12px; }
.cil-l-saying__photo { flex: none; width: 44px; height: 44px; border-radius: 50%; object-fit: cover; }
.cil-l-saying__photo--none { background: var(--cil-blue-light-1); }
.cil-l-saying__who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.cil-l-saying__name { margin: 0; color: var(--cil-black); font-size: 16px; font-weight: 700; line-height: 1.2; }
.cil-l-saying__role { margin: 0; color: var(--cil-black-regular-7); font-size: 14px; line-height: 1.2; }
.cil-l-stripe .cil-l-saying__course {
    display: flex; align-items: center; gap: 6px; padding: 8px 12px; border-radius: 8px; background: var(--cil-blue-light-1);
    color: var(--cil-blue-regular-7); font-size: 14px; line-height: 1.2; text-decoration: none;
}
.cil-l-saying__about { flex: none; color: var(--cil-black-regular-7); }
.cil-l-saying__courseName { flex: 1; min-width: 0; overflow: hidden; color: var(--cil-blue-dark-1); font-weight: 600; text-overflow: ellipsis; white-space: nowrap; }
.cil-l-saying__go { display: grid; color: var(--cil-blue-dark-1); }
.cil-l-stripe .cil-l-saying__course:is(:hover, :focus-visible) { background: var(--cil-blue-light-1); color: var(--cil-blue-regular-7); }
.cil-l-stripe .cil-l-saying__course:is(:hover, :focus-visible) .cil-l-saying__go svg { transform: translateX(-3px); }
.lang-to-css-ltr .cil-l-stripe .cil-l-saying__course:is(:hover, :focus-visible) .cil-l-saying__go svg { transform: scaleX(-1) translateX(-3px); }

/* ---- Partners: eight in view between two hairlines, more scroll in ---- */
.cil-l-partners {
    display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0; padding: 24px; list-style: none;
    border-block: 1px solid var(--cil-black-light-3);
}
.cil-l-partners.is-scrolling {
    display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 7 * 16px) / 8); justify-content: start;
    overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none;
    /* Less room at the sides than between logos, so the ninth never peeks in at the end (item 530). */
    padding-inline: 12px; scroll-padding-inline: 12px;
}
.cil-l-partners::-webkit-scrollbar { display: none; }
.cil-l-partners li { display: grid; place-items: center; margin: 0; scroll-snap-align: start; }
/* Each logo is the shared tile (entity-cards/assets/logo-tile.css), as the catalogue's partners. */

/* The course rows are the one course stripe's (stripe/course-row.php, assets/home-rows.css, item 457). */

/* ---- Phones ---- */
@media (max-width: 767px) {
    .cil-l-stripe { padding: 24px 16px; }
    .cil-l-stripe--episodes .cil-l-stripe__panel,
    .cil-l-stripe--sayings .cil-l-stripe__panel { padding: 0; background: none; }
    .cil-l-stripe__panel { gap: 20px; }
    .cil-l-stripe .cil-l-stripe__title { gap: 10px; font-size: 24px; }
    .cil-l-stripe .cil-l-stripe__title::before { height: 24px; }
    .cil-l-stripe__text { font-size: 16px; }
    .cil-l-stripe .cil-l-stripe__all { padding-block-start: 6px; }
    .cil-l-stripe__allLong { display: none; }
    .cil-l-stripe__allShort { display: inline; }
    .cil-l-stripe__track { margin-inline: -16px; padding-inline: 16px; scroll-padding-inline: 16px; gap: 12px; }
    .cil-l-stripe__arrows { display: none; }
    .cil-l-episodes { grid-auto-columns: 260px; }
    .cil-l-episode { height: 437px; }
    .cil-l-episode__cover, .cil-l-episode .cil-course-episode__player { height: 260px; }
    .cil-l-sayings { grid-auto-columns: 300px; }
    .cil-l-saying { min-height: 297px; }
    .cil-l-partners, .cil-l-partners.is-scrolling {
        display: grid; grid-auto-flow: column; grid-template-rows: repeat(2, auto); grid-auto-columns: calc((100% - 2 * 12px) / 3);
        gap: 4px 12px; padding: 12px 0; overflow-x: auto; scroll-snap-type: x mandatory;
    }
}

@media (prefers-reduced-motion: reduce) {
    .cil-l-stripe * { transition: none !important; animation: none !important; }
    .cil-l-stripe__track, .cil-l-partners { scroll-behavior: auto; }
}
