/* Our Team page: Team Member rows (blocks/team-member) in two columns
   (a group with the class rhsa-team-grid), and the section headings
   (rhsa-team-head). One column on phones. */

.rhsa-team-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 56px;
	align-items: start;
}
.rhsa-team-grid > * { margin: 0 !important; }

.rhsa-page-container .entry-content h2.rhsa-team-head {
	margin: 64px 0 8px !important;
	padding-bottom: 14px;
	border-bottom: 2px solid var(--rhsa-ink);
	text-align: left;
}
.rhsa-team-note { max-width: 46em; margin: 16px 0 8px; color: var(--rhsa-body); }

.rhsa-member { border-bottom: 1px solid var(--rhsa-line); }
.rhsa-member__line {
	display: grid;
	grid-template-columns: 120px minmax(0, 1fr) 28px;
	grid-template-rows: auto auto;
	column-gap: 24px;
	align-items: center;
	padding: 18px 0;
	list-style: none;
	cursor: default;
}
summary.rhsa-member__line { cursor: pointer; }
summary.rhsa-member__line::-webkit-details-marker { display: none; }
.rhsa-member__photo, .rhsa-member__initials {
	grid-row: 1 / 3;
	width: 120px;
	height: 120px;
	border-radius: 50%;
	object-fit: cover;
	display: block;
}
.rhsa-member__initials {
	display: grid;
	place-items: center;
	background: var(--rhsa-tint);
	color: var(--rhsa-red);
	font: 700 36px/1 var(--rhsa-cond);
}
.rhsa-member__name {
	grid-column: 2;
	align-self: end;
	font: 700 24px/30px var(--rhsa-cond);
	color: var(--rhsa-ink);
}
.rhsa-member__role {
	grid-column: 2;
	align-self: start;
	font: 700 15px/22px var(--rhsa-cond);
	color: var(--rhsa-red);
}
.rhsa-member__toggle { grid-column: 3; grid-row: 1 / 3; justify-self: center; font: 400 26px/1 var(--rhsa-sans); color: var(--rhsa-ink); }
.rhsa-member__toggle::before { content: "+"; }
.rhsa-member[open] .rhsa-member__toggle::before { content: "−"; }
summary.rhsa-member__line:hover .rhsa-member__name { text-decoration: underline; text-underline-offset: 4px; }
summary.rhsa-member__line:focus-visible { outline: 3px solid var(--rhsa-red); outline-offset: 2px; }
.rhsa-member__bio { padding: 0 0 24px; color: var(--rhsa-body); }
.rhsa-member__bio p { margin: 0 0 12px; }
.rhsa-member__bio p:last-child { margin-bottom: 0; }

@media (max-width: 767px) {
	.rhsa-team-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
	.rhsa-member__line { grid-template-columns: 88px minmax(0, 1fr) 24px; column-gap: 16px; }
	.rhsa-member__photo, .rhsa-member__initials { width: 88px; height: 88px; }
	.rhsa-member__name { font-size: 21px; line-height: 26px; }
}
