/* Переопределение стандартного core/details */

.wp-block-details {

}

.wp-block-details::details-content {
	padding: 24px 16px;
}

.wp-block-details summary + *{
	margin-top: 0;
}

.wp-block-details::details-content > *:last-child {
	margin-bottom: 0;
}

.wp-block-details summary {
	padding: 24px 16px;
	padding-right: 64px;
	list-style: none;
	position: relative;
	color: var(--wp--preset--color--base-gray-700);
	border-bottom: 1px solid var(--wp--preset--color--base-gray-300);
	font-size: 1em;
	line-height: 1.3;
	font-weight: normal;
}

.wp-block-details summary::-webkit-details-marker {
	display: none;
}

.wp-block-details summary::after {
	content: "";
	position: absolute;
	width: 24px;
	height: 24px;
	top: 50%;
	margin-top: -12px;
	right: 24px;
	background-image: url("plus.svg");
	background-position: center;
	background-repeat: no-repeat;
}

.wp-block-details:open {
	background-color: var(--wp--preset--color--base-neutral-100);
}

.wp-block-details:open summary::after {
	background-image: url("minus.svg");
}
