.vems-help__search {
    display: flex;
    gap: .75rem;
    max-width: 32rem;
    margin: 0 0 2rem;
}

.vems-help__input {
    flex: 1;
    min-width: 0;
    padding: .7rem 1rem;
    background: var(--p-card-2);
    color: var(--p-text);
    border: 1px solid var(--p-stroke);
    border-radius: 8px;
    font: inherit;
}

.vems-help__input:focus {
    outline: 2px solid var(--p-magenta);
    outline-offset: 1px;
}

.vems-help__chapter {
    margin: 2rem 0 .75rem;
    font-family: var(--p-mono);
    font-size: .8rem;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--p-red);
}

.vems-help .vems-press__inner {
    max-width: 960px;
}

.vems-help__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(min(18rem, 100%), 1fr));
    gap: 1rem;
    margin-top: 0;
}

.vems-help__card {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
    padding: 1.1rem 1.25rem;
}

.vems-help__play {
    flex: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--p-red), var(--p-purple));
    color: #fff;
    font-size: .8rem;
    padding-left: 2px;
    transition: transform .18s ease;
}

.vems-help__card:hover .vems-help__play {
    transform: scale(1.1);
}

.vems-help__card-body {
    min-width: 0;
}

.vems-help__card-title {
    margin: 0 0 .3rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.vems-help__card-summary {
    margin: 0;
    color: var(--p-dim);
    font-size: .9rem;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.vems-help__card .vems-press__more {
    margin-top: .6rem;
}

/* The video page: less air above the player, so the player and the script fit one screen. */
.vems-help.vems-help--video {
    padding-top: clamp(.75rem, 2vw, 1.5rem);
    padding-bottom: 1.5rem;
}

.vems-help--video .vems-press__title--detail {
    margin: .4rem 0 .75rem;
}

.vems-help__player {
    display: block;
    width: 100%;
    height: auto;
    max-height: 52vh;
    object-fit: contain;
    margin: 0 0 .75rem;
    background: #000;
    border: 1px solid var(--p-stroke);
    border-radius: 8px;
}

.vems-help__lines {
    list-style: none;
    margin: 0 0 1rem;
    padding: .35rem;
    position: relative;
    overflow-y: auto;
    overscroll-behavior: contain;
    max-height: 22rem;
    border: 1px solid var(--p-stroke);
    border-radius: 8px;
}

.vems-help__line {
    display: flex;
    gap: 1rem;
    align-items: baseline;
    width: 100%;
    padding: .6rem .75rem;
    background: none;
    border: 0;
    border-radius: 6px;
    color: var(--p-dim);
    font: inherit;
    text-align: left;
    cursor: pointer;
}

.vems-help__line:hover {
    background: var(--p-card-2);
    color: var(--p-text);
}

.vems-help__line.is-now {
    background: var(--p-card-2);
    color: var(--p-text);
    box-shadow: inset 3px 0 0 var(--p-magenta);
}

.vems-help__time {
    flex: none;
    font-family: var(--p-mono);
    font-size: .8rem;
    color: var(--p-red);
}

.vems-help__steps {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--p-stroke);
}

@media (prefers-reduced-motion: reduce) {
    .vems-help__play {
        transition: none;
    }

    .vems-help__card:hover .vems-help__play {
        transform: none;
    }
}
