.related-videos-grid {
    gap: 30px;
    max-height: 950px;
    overflow: hidden;
}

.related-videos-grid.expanded {
    max-height: unset;
}

.related-videos-grid > div {
    width: 100%;
}

@media screen and (min-width: 750px) {
    .related-videos-grid {
        max-height: 400px;
    }

    .related-videos-grid > div {
        width: calc(33.33% - 30px);
    }
}