  /* ── Grid ── */
.deptDirectory {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.25rem;
	max-width: 1200px;
	margin: 0 auto 40px;
}

/* ── Card ── */
.card {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 1rem;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	padding: 1.25rem 1.5rem;
	transition: box-shadow 0.2s ease;
	margin-bottom: 0;
}


.card:hover {
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* ── Avatar ── */
.card__avatar {
	width: 64px;
	height: 64px;
	min-width: 64px;
	max-width: 64px;
	border-radius: 50%;
	object-fit: cover;
	flex-shrink: 0;
}

/* ── Info ── */
.card__info {
	min-width: 0; /* allow text truncation */
}

.card__name {
	font-size: 0.95rem;
	font-weight: 600;
	color: #1a1a1a;
	margin-bottom: 0.15rem;
}

.card__email {
	font-size: 0.825rem;
	color: #666;
	margin-bottom: 0.1rem;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.card__email a {
	color: inherit;
	text-decoration: none;
}

.card__email a:hover {
	text-decoration: underline;
}

.card__title {
	font-size: 0.825rem;
	color: #888;
	margin-bottom: 0.25rem;
}

.card__phone {
	font-size: 0.825rem;
	color: #666;
	margin-bottom: 0.1rem;
}

.card__phone a {
	color: inherit;
	text-decoration: none;
}

.card__phone a:hover {
	text-decoration: underline;
}

.card__location {
	font-size: 0.8rem;
	color: #999;
}

/* ── Responsive ── */
@media (max-width: 900px) {
	.deptDirectory {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 560px) {
	.deptDirectory {
		grid-template-columns: 1fr;
	}

	body {
		padding: 1rem;
	}
}