/* Details Block */
.wp-block-details {
	position: relative;
	transition: all 0.3s ease-in-out;
}

.wp-block-details summary {
	list-style: none;
	font-size: var(--wp--preset--font-size--large);
	line-height: 1.2;
	color: var(--wp--preset--color--yellow);
	padding: 0.5em 3em 0.5em 0;
	background: url(../../images/btn-down-yellow.svg) no-repeat right center;
	border-bottom: 1px solid var(--wp--preset--color--yellow);
}

.wp-block-details[open] summary {
	background-image: url(../../images/btn-up-yellow.svg);
}


.wp-block-details + .wp-block-details {
	margin-block-start: 0;
}

.wp-block-details[open]::details-content {
	padding-bottom: 0.7em;
}

.wp-block-details[open] p:first-of-type {
	margin-block-start: 0.7em;	
}

.wp-block-details ::marker {
	content: '';
}

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

.has-yellow-background-color .wp-block-details summary {
	color: var(--wp--preset--color--black);
	background-image: url(../../images/btn-down-black.svg);
	border-color: var(--wp--preset--color--black);
}

.has-yellow-background-color .wp-block-details[open] summary {
	background-image: url(../../images/btn-up-black.svg);
}
