.ab-grid-block {
	overflow: visible;
	max-width: 100vw;
	position: relative;
	display: grid;
	grid-auto-flow: column;
	grid-template-columns: repeat(12, 1fr);
	column-gap: 1rem;
	justify-content: center;
	max-width: 100%;
	margin-left: auto;
	margin-right: auto;

	@media (min-width: 48rem) {
		column-gap: 2rem;
	}

	@media (min-width: 80rem) {
		column-gap: 3rem;
	}

	&.col-gap-none {
		column-gap: 0;
	}

	&.col-gap-s {
		column-gap: 0.5rem;

		@media (min-width: 64rem) {
			column-gap: 1rem;
		}
	}

	&.col-gap-m {

		column-gap: 0.75rem;

		@media (min-width: 48rem) {
			column-gap: 1rem;
		}

		@media (min-width: 64rem) {
			column-gap: 1.5rem;
		}
	}

	&.col-gap-l {
		column-gap: 1rem;

		@media (min-width: 64rem) {
			column-gap: 1.5rem;
		}

		@media (min-width: 80rem) {
			column-gap: 2rem;
		}
	}

	&.col-gap-xl {

		column-gap: 1.5rem;

		@media (min-width: 64rem) {
			column-gap: 2rem;
		}

		@media (min-width: 80rem) {
			column-gap: 3rem;
		}
	}

	&.no-outer-gap {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	&.no-gap-mobile {
		column-gap: 0;
	}

	&.no-gap-tablet {

		@media (min-width: 48rem) {
			column-gap: 0;
		}
	}

	&.no-gap-desktop {

		@media (min-width: 80rem) {
			column-gap: 0;
		}
	}
}

.site-content .hentry .ab-grid-block.alignfull,
.site-content .hentry .alignfull .ab-grid-block.alignfull {
	padding-left: 0;
	padding-right: 0;
	max-width: 100% !important;
}


.wp-block-ainoblocks-grid-container {
	overflow: visible;
	max-width: 100vw;

	&__inner {
		position: relative;
		display: grid;
		grid-auto-flow: column;
		grid-template-columns: repeat(12, 1fr);
		column-gap: 1rem;
		justify-content: center;
		max-width: 100%;
		margin-left: auto;
		margin-right: auto;
		word-break: break-word;
		overflow-wrap: break-word;

		@media (min-width: 48rem) {
			column-gap: 2rem;
		}

		@media (min-width: 80rem) {
			column-gap: 3rem;
		}
	}

	&.col-gap-none {

		.wp-block-ainoblocks-grid-container__inner {
			column-gap: 0;
		}
	}

	&.col-gap-s {

		.wp-block-ainoblocks-grid-container__inner {
			column-gap: 0.5rem;

			@media (min-width: 64rem) {
				column-gap: 1rem;
			}
		}
	}

	&.col-gap-m {

		.wp-block-ainoblocks-grid-container__inner {
			column-gap: 0.75rem;

			@media (min-width: 48rem) {
				column-gap: 1rem;
			}

			@media (min-width: 64rem) {
				column-gap: 1.5rem;
			}
		}
	}

	&.col-gap-l {

		.wp-block-ainoblocks-grid-container__inner {
			column-gap: 1rem;

			@media (min-width: 64rem) {
				column-gap: 1.5rem;
			}
	
			@media (min-width: 80rem) {
				column-gap: 2rem;
			}
		}
	}

	&.col-gap-xl {

		.wp-block-ainoblocks-grid-container__inner {
			column-gap: 1.5rem;

			@media (min-width: 64rem) {
				column-gap: 2rem;
			}
	
			@media (min-width: 80rem) {
				column-gap: 3rem;
			}
		}
	}

	&.no-outer-gap {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}

	&.no-gap-mobile {

		.wp-block-ainoblocks-grid-container__inner {
			column-gap: 0;
		}
	}

	&.no-gap-tablet {

		@media (min-width: 48rem) {
			.wp-block-ainoblocks-grid-container__inner {
				column-gap: 0;
			}
		}
	}

	&.no-gap-desktop {

		@media (min-width: 80rem) {
			.wp-block-ainoblocks-grid-container__inner {
				column-gap: 0;
			}
		}
	}
}

.site-content .hentry .wp-block-ainoblocks-grid-container.alignfull,
.site-content .hentry .alignfull .wp-block-ainoblocks-grid-container.alignfull {
	padding-left: 0;
	padding-right: 0;
	max-width: 100% !important;
}