/* Scoped to the posts index; article cards keep their existing layout. */
body.blog #blog > .blog > .wrapper { padding-top: clamp(36px, 5vw, 80px); }
.ts-podcasts { --ts-podcast-accent: #d1ba80; padding-bottom: clamp(48px, 6vw, 96px); }
.ts-podcasts .ts-podcasts__heading {
    display: flex; align-items: center; gap: 28px; margin: 0 0 36px;
    color: #fff; font-family: inherit; font-size: clamp(26px, 3vw, 42px);
    font-weight: 700; line-height: 1.3;
}
.ts-podcasts__heading::after { content: ''; flex: 1; min-width: 32px; height: 3px; background: var(--ts-podcast-accent); }
.ts-podcasts .ts-podcasts__grid {
    --ts-gap: 28px; --ts-visible: 4;
    display: grid; grid-auto-flow: column; grid-template-columns: none;
    grid-auto-columns: calc((100% - 3 * var(--ts-gap)) / 4); gap: var(--ts-gap);
    overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory;
    padding: 8px 0 24px; scrollbar-width: thin; scrollbar-color: var(--ts-podcast-accent) transparent;
}
.ts-podcasts__grid:focus-visible { outline: 2px solid var(--ts-podcast-accent); outline-offset: 4px; }
.ts-podcasts .ts-podcasts__grid.is-dragging { scroll-snap-type: none; user-select: none; -webkit-user-select: none; }
@media (hover: hover) and (pointer: fine) {
    .ts-podcasts__grid.is-draggable, .ts-podcasts__grid.is-draggable .ts-podcasts__card { cursor: grab; }
    .ts-podcasts__grid.is-dragging, .ts-podcasts__grid.is-dragging .ts-podcasts__card { cursor: grabbing; }
}
.ts-podcasts__controls[hidden] { display: none; }
.ts-podcasts__controls { display: flex; justify-content: center; align-items: center; gap: 20px; padding-top: 12px; }
.ts-podcasts .ts-podcasts__arrow {
    display: inline-flex; justify-content: center; align-items: center; flex-shrink: 0;
    width: 44px; height: 44px; padding: 0; border: 1px solid var(--ts-podcast-accent);
    border-radius: 50%; background: transparent; color: var(--ts-podcast-accent);
    font: 34px/1 Arial, sans-serif; cursor: pointer; direction: ltr;
}
.ts-podcasts .ts-podcasts__arrow:hover:not(:disabled) { background: var(--ts-podcast-accent); color: #1e213b; }
.ts-podcasts .ts-podcasts__arrow:disabled { opacity: .35; cursor: default; }
.ts-podcasts__arrow:focus-visible { outline: 2px solid #fff; outline-offset: 4px; }
.ts-podcasts__status { color: #fff; font-size: 18px; line-height: 1.4; min-width: 145px; text-align: center; }
.ts-podcasts .ts-podcasts__card {
    display: flex; flex-direction: column; min-width: 0; padding: 16px; scroll-snap-align: start;
    color: #111; background: #fff; border-radius: 18px; text-decoration: none;
    box-shadow: 0 7px 20px rgb(0 0 0 / 15%); transition: transform .2s, box-shadow .2s;
}
.ts-podcasts__card *, .ts-podcasts__card { box-sizing: border-box; }
.ts-podcasts .ts-podcasts__card:hover { color: #111; transform: translateY(-3px); box-shadow: 0 10px 24px rgb(0 0 0 / 23%); }
.ts-podcasts .ts-podcasts__card:focus-visible { outline: 3px solid var(--ts-podcast-accent); outline-offset: -3px; }
.ts-podcasts__artwork { position: relative; width: 100%; aspect-ratio: 1; overflow: hidden; border-radius: 13px; background: #f2e0d6; }
.ts-podcasts .ts-podcasts__image { display: block; width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.ts-podcasts__placeholder { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #1e213b; font-size: 25px; font-weight: 700; }
.ts-podcasts__caption { display: flex; flex: 1; flex-direction: column; align-items: flex-start; justify-content: space-between; gap: 12px; padding-top: 16px; }
.ts-podcasts .ts-podcasts__title { margin: 0; font-family: inherit; font-size: 23px; font-weight: 700; line-height: 1.25; overflow-wrap: anywhere; }
.ts-podcasts__youtube { display: inline-flex; align-self: flex-end; flex-shrink: 0; align-items: center; gap: 3px; color: #111; font-family: Arial, sans-serif; font-size: 17px; font-weight: 700; line-height: 1; }
.ts-podcasts__youtube svg { display: block; flex-shrink: 0; }
@media (max-width: 1200px) {
    .ts-podcasts .ts-podcasts__grid { --ts-gap: 20px; }
}
@media (max-width: 1023px) {
    .ts-podcasts .ts-podcasts__grid { --ts-visible: 2; grid-auto-columns: calc((100% - var(--ts-gap)) / 2); }
    .ts-podcasts__caption { align-items: center; text-align: center; }
    .ts-podcasts__youtube { align-self: center; }
}
@media (max-width: 600px) {
    .ts-podcasts .ts-podcasts__grid { --ts-gap: 16px; }
    .ts-podcasts .ts-podcasts__card { padding: 6px 6px 16px; border-radius: 13px; }
    .ts-podcasts__artwork { border-radius: 8px; }
    .ts-podcasts .ts-podcasts__heading { gap: 15px; margin-bottom: 26px; font-size: 27px; }
    .ts-podcasts .ts-podcasts__title { font-size: 20px; }
    .ts-podcasts__caption { padding-top: 12px; gap: 9px; }
    .ts-podcasts__youtube { font-size: 15px; }
    .ts-podcasts__youtube svg { width: 23px; height: 17px; }
}
@media (prefers-reduced-motion: reduce) { .ts-podcasts .ts-podcasts__card { transition: none; } }
/* הקטנה בדסקטופ בלבד */
@media (min-width: 1024px) {
    .ts-podcasts {
        max-width: 1200px;
        margin-inline: auto;
    }
}
@media (max-width: 600px) {
    /* תמונה נמוכה יותר */
    .ts-podcasts__artwork {
        aspect-ratio: 1.25;
    }

    /* פחות רווחים מתחת לתמונה */
    .ts-podcasts__caption {
        padding-top: 8px;
        gap: 6px;
    }

    .ts-podcasts .ts-podcasts__card {
        padding-bottom: 10px;
    }

    .ts-podcasts .ts-podcasts__title {
        font-size: 18px;
    }
}