.a11y-block-warning,
.a11y-block-error {
	position: relative;
}

.a11y-block-warning::after,
.a11y-block-error::after {
	content: "";
	position: absolute;
	top: 0;
	left: -60px;
	width: 30px;
	height: 30px;
	padding: 2px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: 20px 20px;
}

.a11y-block-warning::after {
	background-color: #fffde2;
	border-left: 3px solid #dbc900;
	background-image: var(--a11y-warning-icon);

}

.a11y-block-error::after {
	background-color: #ffe4e0;
	border-left: 3px solid #d82000;
	background-image: var(--a11y-error-icon);
}

.a11y-warning-msg,
.a11y-error-msg {
	font-weight: 500;
	color: #000;
	margin-top: 0;
	padding: 10px 10px 10px 12px;
}

.a11y-warning-msg {
	background-color: #fffde2;
	border-left: 3px solid #dbc900;
}

.a11y-error-msg {
	background-color: #ffe4e0;
	border-left: 3px solid #d82000;
}

/* Remove bottom spacing from block being wrapped */
.a11y-block-warning > *:first-child,
.a11y-block-error > *:first-child {
	margin-top: 0;
}

/* Remove bottom spacing from block being wrapped */
.a11y-block-warning > *:last-child,
.a11y-block-error > *:last-child {
	margin-bottom: 0;
}

// Mystery, remove this and no styles work??

.a11y-block-error .wp-block-heading {
	padding-top: 0;
	padding-bottom: 0;
}

