/* Blakehurst team grid pop-up (see blkh-team.js). Bios stay hidden in the grid and show in the dialog. */
.blkh-team .et_pb_team_member_description_content { display: none; }
.blkh-team .blkh-has-bio { cursor: pointer; }
.blkh-team .blkh-has-bio:hover img, .blkh-team .blkh-has-bio:focus img { opacity: .85; }

.blkh-team-dialog {
	width: min(900px, 92vw); max-height: 88vh; padding: 3rem; border: 0;
	background: #eef1f3; color: #373737; box-shadow: 0 10px 40px rgba(0, 0, 0, .3);
}
.blkh-team-dialog[open] { display: flex; gap: 2.5rem; align-items: flex-start; }
.blkh-team-dialog::backdrop { background: rgba(55, 10, 55, .6); }
.blkh-team-photo { flex: 0 0 34%; }
.blkh-team-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; display: block; }
.blkh-team-text { flex: 1; font-size: 15px; line-height: 1.7; }
.blkh-team-text h3 { margin: 0; padding: 0; font-size: 22px; text-transform: uppercase; color: #373737; }
.blkh-team-position { margin: 0 0 1.25rem; font-size: 13px; text-transform: uppercase; letter-spacing: 1px; }
.blkh-team-text p { padding-bottom: 1em; }
.blkh-team-close {
	position: absolute; top: .75rem; right: .75rem; width: 2.25rem; height: 2.25rem;
	border: 1px solid #c8c3bb; background: #fff; font-size: 1.5rem; line-height: 1; cursor: pointer; color: #373737;
}
@media (max-width: 767px) {
	.blkh-team-dialog { padding: 2.5rem 1.5rem 1.5rem; }
	.blkh-team-dialog[open] { flex-direction: column; gap: 1.25rem; }
	.blkh-team-photo { flex: none; width: 60%; }
	/* The dialog scrolls on phones, and an absolutely placed × scrolled away with the bio (BugHerd 210):
	   keep it pinned to the top of the dialog instead. */
	.blkh-team-close {
		position: sticky; top: 0; z-index: 1; flex: none; align-self: flex-end;
		margin: -1.75rem -0.75rem -1.25rem 0;
	}
}
