/* ─────────────────────────────────────────────
   OVERRIDES for the client-built homepage
   Loaded after the client's style-*.css and studio.css, so their files stay
   untouched. Keep changes to the client pages here.
   ───────────────────────────────────────────── */

/* ── Films grid: runtime top-left, dark scrim at top and bottom ── */
#films .film-card .film-card-overlay {
    background:
        linear-gradient(to bottom, rgba(5, 5, 5, 0.6) 0%, rgba(5, 5, 5, 0) 24%),
        linear-gradient(to top, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.6) 32%, rgba(5, 5, 5, 0) 58%);
}

#films .film-card .film-card-duration {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    z-index: 3;
    margin: 0;
    color: rgba(255, 255, 255, 0.88);
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.55);
}

/* ── Now showing / coming next: status at the top, details at the bottom ── */
.ps-feature { align-items: stretch; }

.ps-feature > div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.ps-feature-status { margin-bottom: auto; }
.ps-feature-series { margin-top: 1.5rem; }

/* ── Recognition strip: laurel artwork (four laurels) ── */
.ps-laurels { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.ps-laurel {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.ps-laurel--image img {
    display: block;
    width: auto;
    height: clamp(4.25rem, 6.5vw, 6rem);
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.ps-laurel--image:hover img { opacity: 1; }
.ps-laurel--image .ps-laurel-film { margin-top: 1rem; }

@media (max-width: 1100px) {
    .ps-laurel { padding: 2rem 1rem; }
}

@media (max-width: 900px) {
    /* Two by two */
    .ps-laurels { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ps-laurel:nth-child(odd) { border-left: 0; }
    .ps-laurel:nth-child(n+3) { border-top: 1px solid var(--color-border-subtle); }
}
