:not(.swiper) {

	> .wp-block-csblo-slide-post-template {

		// Moved from .csblo-slides-source-query to allow scroll snap between slides
		// Issue : scroll box select csblo/slide-post-template block
		overflow-x: auto;
		overflow-y: hidden;
		scroll-behavior: smooth;
		scroll-snap-type: x mandatory;

		gap: var(--csblo--slides-editor--gap, 20px);

		> .wp-block-post {
			scroll-snap-align: start;

			// Calculate slide width by:
			// 1. Removing all gap space from the total width
			// 2. Then dividing remaining space by number of slides
			flex-basis: calc((100% - (var(--csblo--slides-editor--slides-per-view, 1) - 1) * var(--csblo--slides-editor--gap, 20px)) / var(--csblo--slides-editor--slides-per-view, 1));
			width: calc((100% - (var(--csblo--slides-editor--slides-per-view, 1) - 1) * var(--csblo--slides-editor--gap, 20px)) / var(--csblo--slides-editor--slides-per-view, 1));
		}
	}
}