.wp-block-ventpro-video-card-grid {
	display: grid;
	width: 100%;
	gap: 1.25rem;
	align-items: stretch;
}

.wp-block-ventpro-video-card-grid.has-columns-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wp-block-ventpro-video-card-grid.has-columns-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wp-block-ventpro-video-card-grid.has-columns-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.wp-block-ventpro-video-card-grid.has-equal-height > .wp-block-ventpro-video-card {
	height: 100%;
}

.wp-block-ventpro-video-card-grid--editor > .block-editor-inner-blocks > .block-editor-block-list__layout {
	display: grid;
	gap: 1.25rem;
	width: 100%;
}

.wp-block-ventpro-video-card-grid--editor.has-columns-2 > .block-editor-inner-blocks > .block-editor-block-list__layout {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wp-block-ventpro-video-card-grid--editor.has-columns-3 > .block-editor-inner-blocks > .block-editor-block-list__layout {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.wp-block-ventpro-video-card-grid--editor.has-columns-4 > .block-editor-inner-blocks > .block-editor-block-list__layout {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 980px) {
	.wp-block-ventpro-video-card-grid.has-columns-3,
	.wp-block-ventpro-video-card-grid.has-columns-4,
	.wp-block-ventpro-video-card-grid--editor.has-columns-3 > .block-editor-inner-blocks > .block-editor-block-list__layout,
	.wp-block-ventpro-video-card-grid--editor.has-columns-4 > .block-editor-inner-blocks > .block-editor-block-list__layout {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.wp-block-ventpro-video-card-grid.has-columns-2,
	.wp-block-ventpro-video-card-grid.has-columns-3,
	.wp-block-ventpro-video-card-grid.has-columns-4,
	.wp-block-ventpro-video-card-grid--editor.has-columns-2 > .block-editor-inner-blocks > .block-editor-block-list__layout,
	.wp-block-ventpro-video-card-grid--editor.has-columns-3 > .block-editor-inner-blocks > .block-editor-block-list__layout,
	.wp-block-ventpro-video-card-grid--editor.has-columns-4 > .block-editor-inner-blocks > .block-editor-block-list__layout {
		grid-template-columns: 1fr;
	}
}

.vp-casa-videos .wp-block-ventpro-video-card-grid {
	margin-top: 0;
}
