[name="c20"] [name="accordion-group"] {
	display: flex;
	flex-flow: column nowrap;
	gap: 10px;

	--acc-inline-space: 1.2rem;
}

[name="c20"] details {
	box-shadow: 0px 2px 4px rgb(0 0 0 / 10%);
	border-radius: 5px;
	scroll-margin-top: 100px;
	background-color: var(--color-page-background);
	color: var(--color-gray);
	transition: color 0.2s ease-in-out;
}

[name="c20"] details[data-highlighted="true"] {
	background-color: rgba(220, 226, 105, 0.6);
}

[name="c20"] summary {
	cursor: pointer;
	padding: 0.725rem var(--acc-inline-space);
	font-family: var(--font-heading);
	font-size: 1.05rem;
	line-height: 1;
	font-weight: 600;
	text-transform: uppercase;
	text-wrap: balance;
	transition: color 0.2s ease-in-out;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.2rem;
}

[name="c20"] summary::marker {
	content: none;
}

[name="c20"] summary::-webkit-details-marker {
	/* Hides marker on Safari */
	display: none;
}

[name="c20"] summary span {
	transition: color 0.2s ease-in-out, rotate 0.3s ease-in-out;
}

[name="c20"] [name="content"] {
	overflow: hidden;
	display: grid;
	/* intentionally independent from .animation as Safari 16
	would otherwise ignore the expansion animation. */
	animation-duration: 0.2s;
	background-color: white;
}

[name="c20"] details > .animation {
	animation-name: grid-expand;
	animation-timing-function: ease-out;
}

[name="c20"] details > .collapsing {
	animation-direction: reverse;
	animation-timing-function: ease-in;
}

[name="c20"] [name="overflow-mask"] {
	min-height: 0;
}

[name="c20"] .wysiwyg {
	padding-block: var(--acc-inline-space);
	padding-inline: var(--acc-inline-space);
}

[name="c20"] .wysiwyg p {
	color: var(--color-text);
}

[name="c20"] .wysiwyg strong {
	font-weight: 700;
	color: var(--color-text);
}

[name="c20"] :is(details:hover, details[open]) summary {
	color: var(--color-evergreen);
}

[name="c20"] details[open] summary span {
	rotate: 90deg;
}

@keyframes grid-expand {
	0% {
		grid-template-rows: 0fr;
	}
	100% {
		grid-template-rows: 1fr;
	}
}