/* The podcast stripe (renderers/podcast.php, podcast-parts.php; Figma 38-19 frames 31-33, item 233): a the episode cards
   (the landing rows' own, landing-page/assets/stripes.css), b the newest episode in a dark panel beside the earlier
   ones, c a numbered list by series. What the site player holds is marked by assets/podcast-stripe.js: .is-held,
   .is-playing, .is-waiting, and --pst-done for how far along it is. Logical properties, brand tokens. */

.cil-pst .cil-pst__band { gap: 24px; padding: 40px; border-radius: 16px; background: var(--cil-white); }
.cil-pst .cil-l-stripe__title { font-family: 'Assistant-Bold', 'Assistant', Arial, sans-serif; font-weight: 400; }
.cil-pst [hidden] { display: none !important; }

/* ---- The marks: play, and pause while it plays; a wait pulses ---- */
.cil-pst-marks { display: flex; }
.cil-pst-marks > span { display: flex; }
.cil-pst-marks__pause, .is-playing .cil-pst-marks__play { display: none !important; }
.is-playing .cil-pst-marks__pause { display: flex !important; }
.is-waiting :is(.cil-pst-listen__mark, .cil-pst-row__play, .cil-pst-lead__play) { animation: cil-pst-wait 1.2s ease-in-out infinite; }
@keyframes cil-pst-wait { 50% { box-shadow: 0 0 0 6px color-mix(in srgb, var(--cil-blue) 35%, transparent); } }

/* ---- How far along: the time played, the bar, the length ---- */
.cil-pst-progress { display: flex; align-items: center; gap: 10px; min-width: 0; color: var(--cil-black-regular-7); font-size: 14px; line-height: 1.2; }
.cil-pst-progress__time { flex: none; font-variant-numeric: tabular-nums; }
.cil-pst-progress__track { position: relative; flex: 1; height: 4px; overflow: hidden; border-radius: 2px; background: var(--cil-black-light-3); }
.cil-pst-progress__fill { position: absolute; inset-block: 0; left: 0; width: var(--pst-done, 0%); border-radius: 2px; background: var(--cil-blue-dark-1); transition: width .25s linear; }

/* ---- The transcript: the words and the mark, or the mark alone ---- */
.cil-pst .cil-pst-transcript {
    display: inline-flex; align-items: center; gap: 6px; padding: 0; border: 0; background: none; cursor: pointer;
    color: var(--cil-blue-dark-1); font: inherit; font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none;
}
.cil-pst .cil-pst-transcript svg { flex: none; transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
.cil-pst .cil-pst-transcript:is(:hover, :focus-visible) { color: var(--cil-blue-dark-1); text-decoration: underline; text-underline-offset: 3px; }
.cil-pst .cil-pst-transcript:is(:hover, :focus-visible) svg { transform: translateY(-2px); }
.cil-pst .cil-pst-transcript--icon { flex: none; justify-content: center; width: 36px; height: 36px; border-radius: 50%; color: var(--cil-black-regular-7); }
.cil-pst .cil-pst-transcript--icon:is(:hover, :focus-visible) { color: var(--cil-blue-dark-1); text-decoration: none; }

/* ---- a · the cards: "האזנה" with its play mark, "מתנגן" with pause while it plays ---- */
.cil-pst .cil-pst__track > li { height: 472px; }
.cil-pst__item { display: flex; }
.cil-pst__item > * { flex: 1; }
.cil-pst-card { transition: background-color .2s ease; }
.cil-pst-card.is-held { background: var(--cil-blue-light-1); }
.cil-pst-card__clock { display: none; font-variant-numeric: tabular-nums; }
.cil-pst-card.is-held .cil-pst-card__minutes { display: none; }
.cil-pst-card.is-held .cil-pst-card__clock { display: inline; }
.cil-pst .cil-pst-listen {
    display: inline-flex; align-items: center; gap: 10px; padding: 0; border: 0; background: none; cursor: pointer;
    color: var(--cil-black); font: inherit; font-size: 16px; font-weight: 600; line-height: 1.2;
}
.cil-pst-listen__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-pst-listen__mark { padding-inline: 0 3px; }
.is-playing .cil-pst-listen__mark { padding: 0; }
.cil-pst-listen__playing, .is-playing .cil-pst-listen__word { display: none; }
.is-playing .cil-pst-listen__playing { display: inline; }
.cil-pst-card.is-playing .cil-pst-listen { color: var(--cil-blue-dark-1); }
.cil-pst .cil-pst-listen:is(:hover, :focus-visible) .cil-pst-listen__mark { transform: scale(1.08); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cil-blue) 30%, transparent); }
.cil-pst-card .cil-pst-progress--bar { flex: none; }

/* ---- b · the newest episode in the dark panel, the earlier ones beside it ---- */
.cil-pst-latest { display: flex; align-items: flex-start; gap: 40px; }
.cil-pst-latest__panel { flex: 1; min-width: 0; }
.cil-pst-latest__earlier { display: flex; flex: none; flex-direction: column; gap: 4px; width: 440px; }
.cil-pst .cil-pst-latest__heading { margin: 0; color: var(--cil-black); font-size: 18px; font-weight: 600; line-height: 1.2; }
.cil-pst-lead { display: flex; gap: 32px; padding: 32px; border-radius: 16px; background: var(--cil-black-dark-3); color: var(--cil-white); }
.cil-pst-lead__cover { flex: none; width: 232px; height: 232px; border-radius: 12px; object-fit: cover; }
.cil-pst-lead__content { display: flex; flex: 1; flex-direction: column; align-items: flex-start; gap: 12px; min-width: 0; }
.cil-pst-lead__badge {
    padding: 3px 10px; border-radius: 12px; background: var(--cil-yellow);
    color: var(--cil-black); font-size: 14px; font-weight: 600; line-height: 1.2;
}
.cil-pst .cil-pst-lead__title { margin: 0; color: var(--cil-white); font-size: 24px; font-weight: 700; line-height: 1.2; }
.cil-pst-lead__guest, .cil-pst-lead__about { margin: 0; color: var(--cil-black-light-6); font-size: 14px; line-height: 1.2; }
.cil-pst-lead__about { font-size: 16px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cil-pst-lead__player { display: flex; align-items: center; gap: 14px; align-self: stretch; padding-block: 8px 4px; }
.cil-pst .cil-pst-lead__play {
    display: grid; flex: none; place-items: center; width: 52px; height: 52px; padding: 0 0 0 4px; border: 0; border-radius: 50%;
    background: var(--cil-white); color: var(--cil-black); cursor: pointer; transition: transform .2s ease, box-shadow .2s ease;
}
.cil-pst .cil-pst-lead.is-playing .cil-pst-lead__play { padding: 0; }
.cil-pst .cil-pst-lead__play:is(:hover, :focus-visible) { transform: scale(1.06); box-shadow: 0 0 0 4px color-mix(in srgb, var(--cil-blue) 40%, transparent); }
.cil-pst-lead__word { flex: none; color: var(--cil-white); font-size: 16px; font-weight: 600; line-height: 1.2; }
.cil-pst-lead .cil-pst-progress { flex: 1; color: var(--cil-black-light-6); }
.cil-pst-lead .cil-pst-progress__track { background: var(--cil-black-regular-7); }
.cil-pst-lead .cil-pst-progress__fill { background: var(--cil-blue); }
.cil-pst-lead__links { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.cil-pst .cil-pst-lead .cil-pst-transcript, .cil-pst .cil-pst-lead .cil-pst-transcript:is(:hover, :focus-visible) { color: var(--cil-blue); }
.cil-pst-lead__apps { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.cil-pst-lead__appsLabel { color: var(--cil-black-light-6); font-size: 14px; line-height: 1.2; }
.cil-pst .cil-pst-app {
    display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 16px; background: var(--cil-black-dark-1);
    color: var(--cil-white); font-size: 14px; font-weight: 600; line-height: 1.2; text-decoration: none; transition: transform .2s ease;
}
.cil-pst .cil-pst-app:is(:hover, :focus-visible) { color: var(--cil-white); text-decoration: none; transform: translateY(-2px); }
.cil-pst-app img { display: block; flex: none; width: 16px; height: 16px; }

/* ---- b and c · an episode in a list ---- */
.cil-pst-rows { display: flex; flex-direction: column; margin: 0; padding: 0; list-style: none; }
.cil-pst-row { margin: 0; border-radius: 8px; transition: background-color .2s ease; }
.cil-pst-row__line { display: flex; align-items: center; gap: 12px; }
.cil-pst-row__number { flex: none; width: 24px; color: var(--cil-black-regular-7); font-size: 18px; font-weight: 700; line-height: 1.2; text-align: center; font-variant-numeric: tabular-nums; }
.cil-pst-row__cover { flex: none; width: 56px; height: 56px; border-radius: 8px; object-fit: cover; }
.cil-pst-row__words { display: flex; flex: 1; flex-direction: column; gap: 2px; min-width: 0; line-height: 1.2; }
.cil-pst-row__title { color: var(--cil-black); font-size: 16px; font-weight: 700; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.cil-pst-row__guest { color: var(--cil-black-regular-7); font-size: 14px; }
.cil-pst-row__minutes { flex: none; color: var(--cil-black-regular-7); font-size: 14px; line-height: 1.2; white-space: nowrap; }
.cil-pst .cil-pst-row__play {
    display: grid; flex: none; place-items: center; width: 36px; height: 36px; padding: 0 0 0 3px; border: 1px solid var(--cil-blue-dark-1);
    border-radius: 50%; background: var(--cil-white); color: var(--cil-blue-dark-1); cursor: pointer;
    transition: transform .2s ease, background-color .2s ease, color .2s ease;
}
.cil-pst .cil-pst-row.is-playing .cil-pst-row__play { padding: 0; }
/* Pointed at (frames 32 c, 33 c): the row turns Light 1, its play button fills and swells a little. */
.cil-pst-row:has(.cil-pst-row__play:is(:hover, :focus-visible)), .cil-pst-row--line:hover { background: var(--cil-black-light-1); }
.cil-pst .cil-pst-row:is(:hover, :focus-within) .cil-pst-row__play,
.cil-pst .cil-pst-row.is-held .cil-pst-row__play { background: var(--cil-blue-dark-1); color: var(--cil-white); }
.cil-pst .cil-pst-row__play:is(:hover, :focus-visible) { transform: scale(1.08); }
.cil-pst-row:is(:hover, .is-held) .cil-pst-row__title { color: var(--cil-blue-dark-1); }
.cil-pst .cil-pst-rows .cil-pst-row.is-held { background: var(--cil-blue-light-1); }
.cil-pst-row--compact { padding: 14px 8px; border-block-end: 1px solid var(--cil-black-light-3); }

/* ---- c · the show's head, its series as tabs, two columns of numbered rows ---- */
.cil-pst .cil-pst__head { align-items: center; }
.cil-pst__show { display: flex; align-items: center; gap: 16px; min-width: 0; }
.cil-pst__tile { display: grid; flex: none; place-items: center; width: 64px; height: 64px; border-radius: 16px; background: var(--cil-yellow); color: var(--cil-black); }
.cil-pst--c .cil-l-stripe__words { gap: 2px; }
.cil-pst--c .cil-l-stripe__title::before { display: none; }
.cil-pst--c .cil-l-stripe__text { font-size: 16px; }
.cil-pst--c .cil-l-stripe__all { padding-block-start: 0; }
.cil-pst-tabs { display: flex; gap: 24px; overflow-x: auto; border-block-end: 1px solid var(--cil-black-light-3); scrollbar-width: none; }
.cil-pst .cil-pst-tabs__tab {
    position: relative; flex: none; padding: 0 0 8px; border: 0; border-block-end: 3px solid transparent; border-radius: 0; background: none;
    color: var(--cil-black-regular-7); font: inherit; font-size: 16px; line-height: 1.2; white-space: nowrap; cursor: pointer;
    inset-block-start: 0; transition: inset-block-start .2s ease;
}
.cil-pst .cil-pst-tabs__tab:hover { inset-block-start: -2px; }
.cil-pst .cil-pst-tabs__tab[aria-selected="true"] { border-block-end-color: var(--cil-blue-dark-1); color: var(--cil-blue-dark-1); font-weight: 600; inset-block-start: 0; }
.cil-pst-columns { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
.cil-pst-row--line { padding: 14px 12px; }
.cil-pst-row--line + .cil-pst-row--line { border-block-start: 1px solid var(--cil-black-light-3); }
.cil-pst-row--line .cil-pst-row__line { gap: 14px; }
.cil-pst .cil-pst-row--line .cil-pst-row__play { width: 40px; height: 40px; }
.cil-pst-row--line .cil-pst-row__title { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cil-pst-row--line .cil-pst-row__number { width: auto; min-width: 19px; }
/* Its bar under the words, from the length's side to the number's (the bar runs left to right in every language). */
.cil-pst-row--line .cil-pst-progress { margin-block-start: 8px; padding-left: 50px; padding-right: 54px; }
.lang-to-css-ltr .cil-pst-row--line .cil-pst-progress { padding-left: 54px; padding-right: 50px; }
.cil-pst__allButton { display: none; }

/* ---- Phones ---- */
@media (max-width: 767px) {
    .cil-pst .cil-pst__band { padding: 0; background: none; }
    .cil-pst .cil-pst__track > li { height: 437px; }
    .cil-pst-latest { flex-direction: column; gap: 20px; }
    .cil-pst-latest__panel, .cil-pst-latest__earlier { width: 100%; }
    .cil-pst-lead { flex-direction: column; gap: 16px; padding: 20px; }
    .cil-pst-lead__cover { width: 100%; height: auto; aspect-ratio: 1; }
    .cil-pst .cil-pst-lead__title { font-size: 18px; }
    .cil-pst-lead__apps { gap: 8px; }
    .cil-pst .cil-pst-app:not(.cil-pst-app--named) { justify-content: center; width: 40px; height: 40px; padding: 0; border-radius: 50%; }
    .cil-pst-app:not(.cil-pst-app--named) .cil-pst-app__name { display: none; }
    .cil-pst-app img { width: 20px; height: 20px; }
    .cil-pst-row--compact .cil-pst-row__title { -webkit-line-clamp: 3; }
    .cil-pst__tile { width: 48px; height: 48px; border-radius: 12px; }
    .cil-pst__tile svg { width: 24px; height: 24px; }
    .cil-pst--c .cil-l-stripe__all { display: none; }
    .cil-pst--c .cil-l-stripe__text { font-size: 14px; }
    .cil-pst-columns { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .cil-pst-columns > .cil-pst-rows + .cil-pst-rows > .cil-pst-row:first-child { border-block-start: 1px solid var(--cil-black-light-3); }
    .cil-pst-row--line { padding: 14px 4px; }
    .cil-pst-row--line .cil-pst-row__line { gap: 12px; }
    .cil-pst-row--line .cil-pst-row__title { display: -webkit-box; white-space: normal; }
    .cil-pst-row--line .cil-pst-row__minutes { display: none; }
    .cil-pst .cil-pst-transcript--icon { width: 40px; height: 40px; }
    .cil-pst-row--line .cil-pst-progress { padding-left: 52px; padding-right: 52px; }
    .cil-pst .cil-pst__allButton {
        display: flex; align-items: center; justify-content: center; gap: 6px; height: 44px; border: 1px solid var(--cil-blue-dark-1);
        border-radius: 8px; color: var(--cil-blue-dark-1); font-size: 16px; font-weight: 600; line-height: 1.2; text-decoration: none;
    }
    .cil-pst .cil-pst__allButton svg { transition: transform .25s cubic-bezier(.2, .8, .2, 1); }
    .cil-pst .cil-pst__allButton:is(:hover, :focus-visible) svg { transform: translateX(-3px); }
    .lang-to-css-ltr .cil-pst .cil-pst__allButton svg { transform: scaleX(-1); }
}

@media (prefers-reduced-motion: reduce) {
    .cil-pst *, .cil-pst *::before { transition: none !important; animation: none !important; }
}
