details > summary {
	list-style: none;
}

details > summary::-webkit-details-marker {
	display: none;
}

.details > .content-wrapper {
	overflow: hidden;
	display: grid;
	/* intentionally independent from .animation as Safari 16
    would otherwise ignore the expansion animation. */
	animation-duration: 0.2s;
}

.details > .animation {
	animation-name: grid-expand;
	animation-timing-function: ease-out;
}

.details > .collapsing {
	animation-direction: reverse;
	animation-timing-function: ease-in;
}

.details > .content-wrapper > div {
	min-height: 0;
}

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

.block--team-member-item .details {
	padding: 20px 0;
	border-bottom: 1px solid var(--wp--preset--color--ink);
}

.block--team-member-item .details summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 32px;
	cursor: pointer;
}

.details-summary-content {
	display: flex;
	align-items: center;
	gap: 32px;
}

.block--team-member-item .details summary svg {
	transform: rotate(0deg);
	transition: transform 0.3s ease;
	height: 48px;
	width: 48px;
}

.block--team-member-item .details[open] summary svg {
	transform: rotate(90deg);
}

.block--team-member-item .details[open] {
	border-bottom: 1px solid var(--wp--preset--color--mid-green);
	position: relative;
}

.block--team-member-item .details[open]::after {
	border-bottom: 1px solid var(--wp--preset--color--mid-green);
	content: '';
	display: block;
	width: 100%;
	height: 1px;
	bottom: 0px;
	left: 0;
	position: absolute;
	background-color: var(--wp--preset--color--mid-green);
}

.block--team-member-item .details .inner {
	padding-top: 16px;
}

.block--team-member-item .details h4 {
	margin-bottom: 0;
}

:where(.editor-styles-wrapper) .block--team-member-item .details h3 {
	margin: 0;
}

.block--team-member-item figure {
	aspect-ratio: 1 / 1;
	overflow: hidden;
	border-radius: 10px;
	width: clamp(40px, calc(40px + ((1vw - 4px) * 6.167)), 114px);
	height: clamp(40px, calc(40px + ((1vw - 4px) * 6.167)), 114px);
	background-color: var(--wp--preset--color--dark-blue);
}

.block--team-member-item figure img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
}
