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

/** Le select2 */
.eac-select2-wrapper label {
	margin-block-end: 10px;
	font-size: 11px;
	font-weight: 500;
	line-height: 1.4;
	text-transform: uppercase;
	box-sizing: border-box;
	display: block;
	padding-top: 0px;
	padding-bottom: 0px;
	max-width: 100%;
	z-index: 1;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.eac-select2-multi-container .select2-selection--multiple {
	flex-wrap: wrap;
	min-height: 38px;
}

.eac-select2-multi-container .select2-selection__clear {
	display: none;
}

.eac-select2-multi-container .select2-selection__choice {
	margin: 2px 4px;
	padding: 2px 6px;
}

/** 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-repeater-editor-preview a {
	pointer-events: none;
	cursor: default;
	text-decoration: none;
	color: inherit;
}

/* Heading button styles */
.eac-heading-btn {
	padding: 6px;
	border-radius: 4px;
	background: transparent;
}

.eac-heading-btn.is-active {
	background: rgba(0, 0, 0, 0.8) !important;
}

.eac-heading-btn svg {
	display: block;
	fill: currentColor;
	outline: none;
}

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

/** FAQ éditeur toutes les div réponses sont dépliées */
.eac-repeater-editor-preview .acf-repeater__faq-answer {
	display: block !important;
}

/** FAQ éditeur rotation de 180deg pictogramme SVG */
.eac-repeater-editor-preview .acf-repeater__faq-toggler svg {
	rotate: 180deg;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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