/* --------------------------------------------------------------------------
   CIEA staff directory: native WordPress Details blocks
   Source reference: rendered Our team accordion rows (18px labels, 20/24px
   spacing, subtle #DEE2E6 separators). No plugin or custom JavaScript.
   -------------------------------------------------------------------------- */

.entry-content .wp-block-details {
	border-bottom: 1px solid #dee2e6;
	margin: 0;
	padding: 0;
}
.entry-content .wp-block-details:first-of-type { border-top: 1px solid #dee2e6; }
.entry-content .wp-block-details summary {
	cursor: pointer;
	font-family: Inter, Arial, sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 25.2px;
	padding: 20px 24px;
}
.entry-content .wp-block-details[open] summary { color: #614d8d; }
.entry-content .wp-block-details > :not(summary) { margin-left: 24px; margin-right: 24px; }
.entry-content .wp-block-details > p { margin-bottom: 20px; }

/* Source accordion motion: limit the 0.5s max-height/opacity reveal to page content panels and their figures. */
.entry-content .wp-block-details[open] > :not(summary) {
	animation: ciea-details-reveal .5s ease-in-out both;
	overflow: hidden;
}
@keyframes ciea-details-reveal {
	from { max-height: 0; opacity: 0; }
	to { max-height: 100000px; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) {
	.entry-content .wp-block-details[open] > :not(summary) { animation: none; }
}

/* Reusable plain-link list: Useful Links uses explicit source-style alignment, not theme list defaults. */
.entry-content .wp-block-details .ciea-list--plain {
	font-family: inter, Arial, sans-serif;
	font-size: 14px;
	line-height: 20.006px;
	list-style: none;
	margin: 0 24px 20px !important;
	padding: 0 !important;
}
.entry-content .wp-block-details .ciea-list--plain > li {
	list-style: none !important;
	margin: 0 !important;
	padding: 0 !important;
}
.entry-content .wp-block-details .ciea-list--plain > li::before { content: none !important; }
.entry-content .wp-block-details .ciea-list--plain a { color: #614d8d; text-decoration: none; }
.entry-content .wp-block-details .ciea-list--plain a:hover,
.entry-content .wp-block-details .ciea-list--plain a:focus { color: #614d8d; text-decoration: underline; }

/* Team biographies: source-sized portrait floats and unmarked publication lists. */
.entry-content .wp-block-details .ciea-team-portrait {
	float: right;
	margin: 0 0 20px 20px;
}
.entry-content .wp-block-details .ciea-team-portrait img {
	display: block;
	height: auto;
	max-width: 232px;
	width: auto;
}
.entry-content .wp-block-details .ciea-team-publications {
	margin-bottom: 20px !important;
}
@media (max-width: 600px) {
	.entry-content .wp-block-details .ciea-team-portrait { clear: both; float: none; margin: 0 0 20px; }
}
