.eac-gallery-editor-preview {
	padding: 8px 0;
	box-sizing: border-box;
}

/** Les control color */
.eac-section-border .components-tools-panel-item,
.eac-section-panelcolor .components-tools-panel-item {
	margin-block-start: 0;
	margin-top: 0 !important;
}

/* Désactive les liens dans l'éditeur */
.eac-gallery-editor-preview a {
	pointer-events: none;
	cursor: default;
	text-decoration: none;
	color: inherit;
}

/* Block wrapper fallback */
.eac-gallery-editor-preview {
	background: transparent;
}

/** Responsive grid columns */
.eac-gallery-editor-preview .eac-gallery__block-grid.cols-mobile-1 {
	grid-template-columns: repeat(1, minmax(0, 1fr));
}

.eac-gallery-editor-preview .eac-gallery__block-grid.cols-mobile-2 {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.eac-gallery-editor-preview .eac-gallery__block-grid.cols-mobile-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.eac-gallery-editor-preview .eac-gallery__block-grid.cols-mobile-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.eac-gallery-editor-preview .eac-gallery__block-grid.cols-mobile-5 {
	grid-template-columns: repeat(5, minmax(0, 1fr));
}

.eac-gallery-editor-preview .eac-gallery__block-grid.cols-mobile-6 {
	grid-template-columns: repeat(6, minmax(0, 1fr));
}

@media (min-width: 768px) {
	.eac-gallery-editor-preview .eac-gallery__block-grid.cols-tablet-1 {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}

	.eac-gallery-editor-preview .eac-gallery__block-grid.cols-tablet-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.eac-gallery-editor-preview .eac-gallery__block-grid.cols-tablet-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.eac-gallery-editor-preview .eac-gallery__block-grid.cols-tablet-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.eac-gallery-editor-preview .eac-gallery__block-grid.cols-tablet-5 {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.eac-gallery-editor-preview .eac-gallery__block-grid.cols-tablet-6 {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
}

@media (min-width: 992px) {
	.eac-gallery-editor-preview .eac-gallery__block-grid.cols-desktop-1 {
		grid-template-columns: repeat(1, minmax(0, 1fr));
	}

	.eac-gallery-editor-preview .eac-gallery__block-grid.cols-desktop-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.eac-gallery-editor-preview .eac-gallery__block-grid.cols-desktop-3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.eac-gallery-editor-preview .eac-gallery__block-grid.cols-desktop-4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.eac-gallery-editor-preview .eac-gallery__block-grid.cols-desktop-5 {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.eac-gallery-editor-preview .eac-gallery__block-grid.cols-desktop-6 {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
}