/* Staff page (/staff/) — vcard grid.
   Ported from the old theme, with its hardcoded light palette swapped for the
   site's theme tokens so the page follows the light / dim / dark toggle. */

.staff-vcard-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	margin: 30px 0 10px;
}
.staff-vcard {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--border-card);
	border-radius: 0;
	padding: 22px;
	background: var(--bg-card);
	box-shadow: 0 2px 10px var(--shadow-nav, rgba(0,0,0,.06));
	transition: box-shadow .15s, transform .15s, border-color .15s;
}
.staff-vcard:hover {
	border-color: var(--border);
	box-shadow: 0 10px 26px rgba(0,0,0,.14);
	transform: translateY(-2px);
}
.staff-vcard-head {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 14px;
}
.staff-vcard-photo {
	width: 72px;
	height: 72px;
	border-radius: 50%;
	overflow: hidden;
	flex-shrink: 0;
	border: 3px solid #ddd;
}
.staff-vcard-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.staff-vcard-head-text { min-width: 0; }
.staff-vcard-name a {
	font-family: 'Roboto', sans-serif;
	font-size: 1.05rem;
	font-weight: 800;
	color: #000;
	line-height: 1.2;
}
.staff-vcard-name a:hover {
	color: #ec2b8c;
}
.staff-vcard-role {
	display: block;
	font-size: .65rem;
	font-weight: 700;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: #ec2b8c;
	margin-top: 3px;
}
.staff-vcard-grid p.staff-vcard-desc {
	font-size: .74rem !important;
	color: #555 !important;
	line-height: 1.55 !important;
	margin: 0 0 14px !important;
	max-width: none;
}
.staff-vcard-link {
	font-size: .76rem;
	font-weight: 700;
	color: #000;
	text-decoration: underline;
	align-self: flex-end;
	margin-top: auto;
}
.staff-vcard-link:hover {
	color: #ec2b8c;
}
.staff-intro {
	font-size: .95rem;
	color: #555;
	margin-bottom: 10px;
}
@media (max-width: 900px) {
	.staff-vcard-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
	.staff-vcard-grid { grid-template-columns: 1fr; }
}

/* Colours the old sheet stated literally, restated as tokens. */
.staff-vcard-name a { color: var(--text-1); text-decoration: none; }
.staff-vcard-name a:hover { color: var(--brand); }
.staff-vcard-role { color: var(--text-3); }
.staff-vcard-desc { color: var(--text-2); }
.staff-vcard-link { color: var(--brand); }
.staff-intro { color: var(--text-2); }

/* The page body is otherwise full-bleed on this theme. */
.page-template-default .staff-vcard-grid,
.staff-vcard-grid { max-width: var(--content-w, 1280px); margin-left: auto; margin-right: auto; }
.staff-intro { max-width: var(--content-w, 1280px); margin: 0 auto; }

@media (max-width: 1000px) { .staff-vcard-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px)  { .staff-vcard-grid { grid-template-columns: 1fr; } }
