/*----------------------------------------------------------------- */
/* COLUMNS
/*----------------------------------------------------------------- */

/* FRONT-END
----------------------------------------- */
.block_columns,
.block_column {
	margin: 0;
}

.block_columns-2 .block_column {
	width: calc(50% - 15px);
}

@media (max-width: 760px) {
	.block_columns-2 .block_column {
		width: calc(50% - 7.5px);
	}

	.block_columns.row_align-center {
		align-items: flex-end;
	}
}

@media (max-width: 600px) {
	.block_columns-2 .block_column {
		width: 100%;
	}
}

/* BACK-END
----------------------------------------- */
.editor-styles-wrapper
	.wp-block[data-type="alprime/columns"]
	.block-editor-block-list__layout {
	display: flex;
}

.editor-styles-wrapper
	.wp-block[data-type="alprime/columns"]
	.is-style-row_align-top
	.block-editor-block-list__layout {
	align-items: flex-start;
}

.editor-styles-wrapper
	.wp-block[data-type="alprime/columns"]
	.is-style-row_align-center
	.block-editor-block-list__layout {
	align-items: center;
}

.editor-styles-wrapper
	.wp-block[data-type="alprime/columns"]
	.is-style-row_align-bottom
	.block-editor-block-list__layout {
	align-items: flex-end;
}

.editor-styles-wrapper
	.wp-block[data-type="alprime/columns"]
	.is-style-row_align-stretch
	.block-editor-block-list__layout {
	align-items: stretch;
}

.editor-styles-wrapper
	.wp-block[data-type="alprime/columns"]
	.block-editor-block-list__block {
	flex: 1;
}

.editor-styles-wrapper .wp-block[data-type="alprime/column"] {
	margin: 0 auto !important;
}

.editor-styles-wrapper
	.wp-block[data-type="alprime/column"]
	.block-editor-block-list__layout {
	display: block;
}

.editor-styles-wrapper .wp-block[data-type="alprime/columns"],
.editor-styles-wrapper .wp-block[data-type="alprime/column"] {
	margin: 0 auto;
}

.editor-styles-wrapper .wp-block[data-type="alprime/column"] {
	min-height: 55px;
}

.editor-styles-wrapper
	.wp-block[data-type="alprime/column"]
	.block-list-appender {
	margin: 0 !important;
}
