/* Site-specific additions on top of the Massively theme */

/* Paper feed */
.papers > article.paper {
	border-top: solid 1px #eeeeee;
	padding: 1.25rem 0 0.25rem 0;
}

.papers > article.paper:first-child {
	border-top: 0;
	padding-top: 0;
}

.papers p.meta {
	margin: 0 0 0.25rem 0;
	font-size: 0.85rem;
	font-style: italic;
	color: #909498;
}

.papers p.meta .date {
	font-family: "Source Sans Pro", Helvetica, sans-serif;
	font-style: normal;
	font-weight: 900;
	letter-spacing: 0.075em;
	text-transform: uppercase;
	color: #212931;
	margin-right: 0.5rem;
}

.papers h3 {
	margin: 0 0 0.25rem 0;
	text-transform: none;
	letter-spacing: 0;
	line-height: 1.4;
}

.papers h3 a {
	border-bottom: 0;
}

.papers p.authors {
	margin: 0 0 0.25rem 0;
	font-size: 0.9rem;
}

.papers p.meta .links {
	font-style: normal;
	margin-left: 0.75rem;
}

.papers details {
	margin: 0 0 0.75rem 0;
	font-size: 0.9rem;
}

.papers details summary {
	cursor: pointer;
	font-weight: 700;
}

.papers details p {
	margin: 0.5rem 0 0 0;
	line-height: 1.6;
	text-align: left;
}

.papers > article.paper.has-figure {
	display: flex;
	gap: 1.5rem;
	align-items: flex-start;
}

.papers a.figure {
	flex: 0 0 200px;
	border-bottom: 0;
}

.papers a.figure img {
	display: block;
	width: 200px;
	max-height: 180px;
	object-fit: contain;
	object-position: top;
}

.papers .text {
	flex: 1 1 auto;
	min-width: 0;
}

@media screen and (max-width: 736px) {
	.papers > article.paper.has-figure {
		flex-direction: column;
		gap: 0.75rem;
	}

	.papers a.figure {
		flex: none;
	}

	.papers a.figure img {
		width: auto;
		max-width: 100%;
		max-height: 240px;
	}
}

/* Team roster */
.team .member {
	text-align: center;
}

.team .member .image.fit {
	margin-bottom: 0.5rem;
}

.team .member .image.fit img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.team .member .affil {
	display: block;
	font-size: 0.85rem;
	color: #909498;
}
