.video-cards { display: grid; grid-template-columns: 1fr; grid-gap: $spacer-md; } @media screen and (min-width: $grid-breakpoint-md) { .video-cards { grid-template-columns: 1fr 1fr; } } @media screen and (min-width: $grid-breakpoint-lg) { .video-cards { grid-template-columns: 1fr 1fr 1fr; } } .video-card { display: flex; flex-direction: column; align-items: center; align-self: auto; justify-content: space-between; background-color: $brand-white; padding: $spacer-md; width: 100%; &__head { display: flex; flex-direction: column; align-items: center; } &__title { text-align: center; color: $brand-interaction; } &__label { margin-bottom: $spacer-xs; } &__video { margin-top: $spacer-md; } &__video > * { max-width: 100%; } &__video + * { margin-top: $spacer-sm; } }