/**
 * Staff profile pages -- Spokane Falls Staff Pages.
 *
 * Mirrors the hand-built profile page: a two-column header (name, position and
 * LinkedIn icon on the left, photo on the right, vertically centred) with the
 * bio full width beneath. Headings deliberately inherit The7's typography, so
 * no font-family is set here.
 */

.sfrc-staff-single__header {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	align-items: center;
	margin-bottom: 35px;
}

.sfrc-staff-single__name {
	margin: 0 0 6px;
}

.sfrc-staff-single__role {
	margin: 0;
}

/* LinkedIn icon: 26px circle, 14px white glyph, inverting on hover -- the same
   values The7's social-icon shortcode produced on the original page. */
.sfrc-staff-single__social {
	margin-top: 18px;
}

.sfrc-staff-single__linkedin {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 100px;
	background: #47678c;
	color: #fff;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.sfrc-staff-single__linkedin svg {
	width: 14px;
	height: 14px;
	display: block;
}

.sfrc-staff-single__linkedin:hover,
.sfrc-staff-single__linkedin:focus {
	background: none;
	color: #47678c;
}

.sfrc-staff-single__photo {
	text-align: center;
}

/* Two classes on purpose: The7's main.min.css carries
   img[class*="attachment-"] { height: auto } at the same specificity a single
   class would have, and loads later, so a one-class rule loses. */
.sfrc-staff-single .sfrc-staff-single__img,
.sfrc-staff-single__photo img {
	display: inline-block;
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

.sfrc-staff-single__bio > *:last-child {
	margin-bottom: 0;
}

@media screen and (max-width: 768px) {

	.sfrc-staff-single__header {
		grid-template-columns: 1fr;
		gap: 20px;
		margin-bottom: 25px;
	}
}
