/* University Labs page — simple lab card grid. */

.tp-labs-title {
	font-size: 50px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -1px;
	color: var(--tp-heading-primary);
}

.tp-lab-card {
	display: flex;
	flex-direction: column;
	padding: 35px 30px;
	border-radius: 10px;
	border: 1px solid rgba(22, 22, 19, 0.1);
	background: var(--tp-common-white);
	transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.tp-lab-card:hover {
	box-shadow: 0 20px 40px rgba(1, 15, 28, 0.08);
	transform: translateY(-4px);
}

.tp-lab-card-logo {
	display: flex;
	align-items: center;
	height: 110px;
	margin-bottom: 25px;
}

.tp-lab-card-logo img {
	max-height: 100px;
	max-width: 100%;
	width: auto;
	object-fit: contain;
	border-radius: 8px;
}

.tp-lab-card-title {
	font-size: 22px;
	font-weight: 600;
	line-height: 1.3;
	letter-spacing: -0.24px;
	margin-bottom: 15px;
	color: var(--tp-heading-primary);
}

.tp-lab-card-desc {
	font-size: 16px;
	font-weight: 300;
	line-height: 26px;
	margin-bottom: 15px;
}

.tp-lab-card-director {
	font-size: 16px;
	margin-bottom: 25px;
}

.tp-lab-card-director span {
	font-weight: 600;
	color: var(--tp-heading-primary);
}

/* Push the buttons to the bottom so cards of unequal text length align. */
.tp-lab-card-btns {
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin-top: auto;
}

.tp-lab-card-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: 100%;
	padding: 10px 18px;
	white-space: nowrap;
}

.tp-lab-card-btn-icon {
	display: inline-flex;
	align-items: center;
	line-height: 0;
}

.tp-lab-card-btn-icon svg {
	width: 15px;
	height: 15px;
}
