/* plugins/generic/reviewerDirectory/styles.css
 * Palette follows the NPJ theme (plugins/themes/npj/NpjThemePlugin.php). */

.page_reviewer_directory .npj_rd_intro { max-width: 46em; }

.npj_rd_list { list-style: none; margin: 1.5em 0; padding: 0; }

.npj_rd_item {
	display: flex;
	gap: 1.25em;
	align-items: flex-start;
	padding: 1.25em 0;
	border-top: 1px solid #c5d3e2;
}
.npj_rd_item:last-child { border-bottom: 1px solid #c5d3e2; }

.npj_rd_photo { flex: 0 0 120px; width: 120px; height: 120px; }
.npj_rd_photo img {
	width: 120px;
	height: 120px;
	object-fit: cover;
	object-position: center 25%;
	border-radius: 50%;
	border: 1px solid #c5d3e2;
	background: #e8eef5;
	display: block;
}
.npj_rd_initials {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	background: #e8eef5;
	border: 1px solid #c5d3e2;
	color: #1b3a5b;
	font-family: "Linux Libertine", Georgia, "Times New Roman", serif;
	font-size: 2.4em;
}

.npj_rd_body { flex: 1 1 auto; min-width: 0; }
.npj_rd_name { margin: 0 0 0.2em; font-size: 1.3em; }
.npj_rd_orcid {
	font-family: sans-serif;
	font-size: 0.6em;
	font-weight: normal;
	margin-left: 0.5em;
	vertical-align: middle;
}
.npj_rd_affiliation { color: #5a6b7d; }
.npj_rd_url { font-size: 0.9em; overflow-wrap: anywhere; }
.npj_rd_bio { margin-top: 0.6em; }
.npj_rd_bio p:first-child { margin-top: 0; }
.npj_rd_bio p:last-child { margin-bottom: 0; }

.npj_rd_join {
	margin-top: 2em;
	padding: 1em 1.25em;
	background: #e8eef5;
	border: 1px solid #c5d3e2;
}
.npj_rd_join h2 { margin-top: 0; font-size: 1.2em; }
.npj_rd_join p:last-child { margin-bottom: 0; }

@media (max-width: 600px) {
	.npj_rd_item { flex-direction: column; align-items: center; text-align: center; }
	.npj_rd_body { width: 100%; }
	.npj_rd_bio { text-align: left; }
}
