.thread-film-route {
    min-width: 0;
    padding-left: calc(.75rem + var(--space-lg));
    padding-top: var(--space-lg);
    position: relative;
}

.thread-film-line {
    background: var(--thread-colour, var(--accent));
    bottom: 0;
    left: 0;
    pointer-events: none;
    position: absolute;
    top: 0;
    transform-origin: top;
    width: .75rem;
    z-index: 1;
}

.thread-film-list {
    display: grid;
    gap: var(--space-xl);
    list-style: none;
    margin: 0;
    padding: 0;
}

.thread-film-node {
    display: block;
    min-width: 0;
    position: relative;
}

.thread-film-card {
    min-width: 0;
    position: relative;
    z-index: 2;
}

.thread-film-card .film-card {
    border-left-width: .5rem;
}

.thread-film-card .film-card:hover {
    border-left-color: var(--thread-colour, var(--accent));
}

@media (max-width: 768px) {
    .thread-film-route {
        padding-left: calc(.75rem + var(--space-sm));
        padding-top: var(--space-md);
    }

    .thread-film-card .film-card {
        border-left-width: .35rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .thread-film-line {
        animation: none;
        transition: none;
    }
}
