/**
 * TechBBQ Contact Card — horizontal contact card (photo + meta + links).
 *
 * Figma: section / contacts (7166:88157, 7164:70801, 7166:88891).
 * Used by techbbq-people-section--single-centered, techbbq-people-section--contact-grid, and techbbq-contact-cards-section.
 */

.techbbq-contact-card {
	box-sizing: border-box;
	display: flex;
	flex-shrink: 0;
	gap: var(--techbbq-space-1);
	align-items: flex-start;
	width: 100%;
	min-height: 116px;
	padding: var(--techbbq-space-1);
	overflow: hidden;
	border-radius: 12px;
	background-color: var(--techbbq-bg-surface);
}

.techbbq-contact-card__photo {
	flex-shrink: 0;
	width: 92px;
	height: 100px;
	overflow: hidden;
	border-radius: 4px;
	background:
		radial-gradient(
			120% 120% at 66% 0%,
			#5a5a5a 0%,
			#373737 32%,
			#262626 52%,
			#151515 72%
		);
}

/* Scope beats Elementor `.elementor img { height: auto; }`. */
img.techbbq-contact-card__photo-image,
.techbbq-contact-card__photo-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.techbbq-contact-card__meta {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	justify-content: space-between;
	align-self: stretch;
	min-width: 0;
	min-height: 100px;
	gap: 0;
}

.techbbq-contact-card__identity {
	display: flex;
	flex-direction: column;
	gap: 4px;
	align-items: flex-start;
}

.techbbq-contact-card__name {
	margin: 0;
	font-family: var(--techbbq-font-family-heading);
	font-size: 18px;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.techbbq-contact-card__role {
	margin: 0;
	font-size: var(--techbbq-text-paragraph-xs-size);
	line-height: 1.4;
	color: var(--techbbq-content-secondary);
}

.techbbq-contact-card__links {
	display: flex;
	flex-direction: column;
	gap: var(--techbbq-space-1);
	align-items: flex-start;
}

.techbbq-contact-card__link {
	display: inline-flex;
	gap: 4px;
	align-items: center;
	font-family: var(--techbbq-font-family-body);
	font-size: var(--techbbq-text-paragraph-xxs-size);
	font-weight: 400;
	line-height: 1.32;
	color: var(--techbbq-content-secondary);
	text-decoration: none;
	letter-spacing: 0.02em;
}

.techbbq-contact-card__link:hover,
.techbbq-contact-card__link:focus-visible {
	color: var(--techbbq-content-primary);
}

.techbbq-contact-card__link:focus-visible {
	outline: 2px solid var(--techbbq-content-accent-1);
	outline-offset: 2px;
}

/* ── Tablet (768–1023) ── */
@media (min-width: 768px) {
	.techbbq-contact-card {
		gap: var(--techbbq-space-2);
	}
}
