/**
 * TechBBQ Previous Projects card — Figma cardProgram (Previous Projects page).
 *
 * Figma refs:
 * - 1440: node 5866:41408
 * - 375:  node 7384:79349
 *
 * Breakpoints (mobile-first): 0–767 (base), 768–1023, 1024–1439, 1440+.
 */

.techbbq-previous-project-card {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 360px;
	padding: 20px;
	overflow: hidden;
	border-radius: 12px;
	background-color: var(--techbbq-bg-surface);
	color: var(--techbbq-content-primary);
}

a.techbbq-previous-project-card {
	text-decoration: none;
	color: inherit;
	cursor: pointer;
	transition: background-color 0.2s ease;
}

a.techbbq-previous-project-card:hover,
a.techbbq-previous-project-card:focus-visible {
	background-color: var(--techbbq-bg-surface-alt);
	color: inherit;
	text-decoration: none;
}

a.techbbq-previous-project-card:hover *,
a.techbbq-previous-project-card:focus-visible * {
	text-decoration: none;
}

a.techbbq-previous-project-card:focus-visible {
	outline: 2px solid var(--techbbq-content-primary);
	outline-offset: 2px;
}

.techbbq-previous-project-card__inner {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: space-between;
	width: 100%;
	min-height: 0;
}

.techbbq-previous-project-card__logo-wrap {
	display: flex;
	flex-shrink: 0;
	justify-content: flex-end;
	width: 100%;
}

.techbbq-previous-project-card__logo {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	max-width: 100%;
	max-height: 53px;
	overflow: hidden;
}

.techbbq-previous-project-card__logo-image {
	display: block;
	max-width: 100%;
	max-height: 53px;
	width: auto;
	height: auto;
	object-fit: contain;
	object-position: right center;
}

.techbbq-previous-project-card__content {
	display: flex;
	flex-direction: column;
	gap: var(--techbbq-space-1);
	align-items: flex-start;
	width: 100%;
}

.techbbq-previous-project-card__title {
	margin: 0;
}

.techbbq-previous-project-card__description {
	margin: 0;
	color: var(--techbbq-content-secondary);
}
