.ct-ad-stack-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 16px;
	width: 100%;
	max-width: 372px;
	margin: 0 auto;
	box-sizing: border-box;
	overflow: hidden;
}

.ct-ad-stack-grid__item {
	margin: 0 !important;
	min-width: 0;
}

.ct-ad-stack-grid__item a {
	display: block;
	width: 100%;
}

.ct-ad-stack-grid__item img {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
}

.ct-ad-stack-grid__banner {
	grid-column: 1 / -1;
}

/* Tablet + small tablet */
@media (min-width: 601px) and (max-width: 959px) {

	.is-section-video-post-grid .wp-block-columns {
		flex-wrap: wrap !important;
		gap: 32px !important;
	}

	.is-section-video-post-grid .wp-block-columns > .wp-block-column {
		flex-basis: 100% !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.ct-ad-stack-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		max-width: 100%;
		width: 100%;
	}

	.ct-ad-stack-grid__banner {
		grid-column: 1 / -1;
	}
}

@media (min-width: 400px) and (max-width: 600px) {

	.is-section-video-post-grid .wp-block-columns {
		flex-wrap: wrap !important;
		gap: 32px !important;
	}

	.is-section-video-post-grid .wp-block-columns > .wp-block-column {
		flex-basis: 100% !important;
		width: 100% !important;
		max-width: 100% !important;
	}

	.ct-ad-stack-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: 100%;
		width: 100%;
	}

	.ct-ad-stack-grid__banner {
		grid-column: 1 / -1;
	}
}

/* Mobile */
@media (max-width: 399px) {

	.ct-ad-stack-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: 100%;
		width: 100%;
	}

	.ct-ad-stack-grid__banner {
		grid-column: 1 / -1;
	}
}