/**
 * BongoHive Client Examples
 *
 * Dark section with a heading + supporting text at the top, an eyebrow
 * label, and a row of image cards with title + caption pinned to the
 * bottom over a gradient overlay. Footer line carries an optional
 * "Partner With Us" arrow link.
 */

.bh-client-examples {
	display: flex;
	flex-direction: column;
	gap: 44px;
	background-color: #1a1a1a;
	border: 1px solid #444444;
	color: #ffffff;
	box-sizing: border-box;
}

.bh-client-examples__intro {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 32px;
	width: 100%;
}

.bh-client-examples__heading {
	flex: 0 1 658px;
	min-width: 0;
	font-family: 'Ubuntu', 'PT Sans', sans-serif;
	font-weight: 700;
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	line-height: 1.3;
	letter-spacing: -0.36px;
	margin: 0;
	color: inherit;
}

.bh-client-examples__body {
	flex: 0 1 550px;
	min-width: 0;
	font-family: 'Ubuntu', sans-serif;
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.5;
	margin: 0;
	color: inherit;
}

.bh-client-examples__eyebrow {
	font-family: 'Ubuntu', sans-serif;
	font-weight: 400;
	font-size: 0.875rem;
	line-height: 1.5;
	margin: 0;
	color: inherit;
}

.bh-client-examples__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	align-items: end;
	gap: 15px;
	width: 100%;
}

.bh-client-examples__card {
	position: relative;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	align-items: flex-start;
	gap: 8px;
	padding: 32px;
	min-height: 415px;
	border: 1px solid #444444;
	border-radius: 4px;
	overflow: hidden;
	box-sizing: border-box;
	color: #ffffff;
	text-decoration: none;
	background-color: #2a2a2a;
	isolation: isolate;
	transition: background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.bh-client-examples__card:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.09);
}

.bh-client-examples__card--link {
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.bh-client-examples__card--link:hover,
.bh-client-examples__card--link:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 12px 24px -8px rgba(0, 0, 0, 0.5);
	text-decoration: none;
	color: #ffffff;
}

.bh-client-examples__card-image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	z-index: 0;
	pointer-events: none;
}

.bh-client-examples__card-overlay {
	position: absolute;
	inset: 0;
	background-image: linear-gradient(
		to top,
		rgba(0, 0, 0, 0.72) 16%,
		rgba(0, 0, 0, 0) 69%
	);
	opacity: 1;
	pointer-events: none;
	z-index: 1;
}

.bh-client-examples__card-content {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	gap: 8px;
	width: 100%;
}

.bh-client-examples__card-title {
	font-family: 'Ubuntu', 'PT Sans', sans-serif;
	font-weight: 700;
	font-size: 1.375rem;
	line-height: 1.4;
	letter-spacing: -0.22px;
	margin: 0;
	color: inherit;
}

.bh-client-examples__card-caption {
	font-family: 'Ubuntu', sans-serif;
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.5;
	margin: 0;
	color: inherit;
}

.bh-client-examples__footer-link {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	font-family: 'Ubuntu', sans-serif;
	font-weight: 400;
	font-size: 1rem;
	line-height: 1.5;
	color: #ffffff;
	text-decoration: none;
	width: max-content;
	transition: gap 0.2s ease;
}

.bh-client-examples__footer-link:hover,
.bh-client-examples__footer-link:focus-visible {
	gap: 14px;
	text-decoration: none;
	color: #ffffff;
}

.bh-client-examples__footer-link svg {
	width: 18px;
	height: 18px;
	flex: 0 0 18px;
}

/* Tablet — two columns, slightly shorter cards. */
@media (max-width: 1024px) {
	.bh-client-examples {
		gap: 32px;
	}

	.bh-client-examples__intro {
		flex-direction: column;
		gap: 16px;
	}

	.bh-client-examples__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bh-client-examples__card {
		min-height: 360px;
	}
}

/* Mobile — single column, compact gap. */
@media (max-width: 640px) {
	.bh-client-examples {
		gap: 24px;
	}

	.bh-client-examples__grid {
		grid-template-columns: 1fr;
	}

	.bh-client-examples__card {
		min-height: 300px;
		padding: 24px;
	}
}

/* Small mobile — tightest spacing. */
@media (max-width: 480px) {
	.bh-client-examples {
		gap: 20px;
	}

	.bh-client-examples__heading {
		font-size: 1.5rem;
	}

	.bh-client-examples__card {
		min-height: 260px;
		padding: 20px;
	}
}
