/* Small additions on top of the ported Twenty Twelve stylesheet */

details.bio > summary {
	cursor: pointer;
	margin-bottom: 0.5em;
}

.entry-meta .entry-meta-text {
	color: #767676;
	font-size: 13px;
}

/* Publications page — "Selected papers" list (title / authors / Abstract
   toggle per entry). Scoped via :has() to any <ul> whose items contain a
   <details>, rather than to a hand-added class, since papers.md is
   generated content that gets rewritten by the migration scripts. */
.entry-content ul:has(> li > details) {
	margin-bottom: 1.714285714rem; /* restore the list's own bottom margin, lost to the child overrides below */
}
.entry-content ul:has(> li > details) > li {
	margin-bottom: 1.8em; /* separate different papers from each other */
}
.entry-content ul:has(> li > details) > li:last-child {
	margin-bottom: 0;
}
.entry-content ul:has(> li > details) > li > p {
	margin-bottom: 0.35em; /* pull title, authors, and the Abstract toggle close together */
}

/* menu-icons plugin spacing (ported from wp-content/plugins/menu-icons/css/extra.min.css) */
.menu-item i._mi,.menu-item img._mi{display:inline-block;vertical-align:middle}
.menu-item i._mi{width:auto;height:auto;margin-top:-.265em;font-size:1.2em;line-height:1}
.menu-item i._before{margin-right:.25em}
.menu-item i._after{margin-left:.25em}
.menu-item img._before{margin-right:.5em}
.menu-item img._after{margin-left:.5em}

/* Same treatment, extended to inline SVG icons (e.g. Bluesky, Google
   Scholar — real brand icons pulled from Font Awesome's free SVG set,
   since they aren't in the self-hosted webfont subset this site otherwise
   uses) so they sit and space the same as the icon-font ones above. */
.menu-item svg._mi{display:inline-block;vertical-align:-0.15em;width:1em;height:1em;fill:currentColor}
.menu-item svg._before{margin-right:.25em}
