/**
 * Keep browsing, after the prototype's SbdRelated: `border-t bg-surface-cool
 * py-20 lg:py-28`; the heading `text-3xl md:text-4xl`, the lead `mt-4
 * text-lg` in max-w-3xl; three cards `mt-10 gap-6 md:grid-cols-3`.
 *
 * The cards are page cards (components.css), here with their label and the
 * description clamped to three lines.
 */

.sba-c-related.sba-c-related {
	padding: 80px 0;
	border-top: 1px solid var(--sba-border);
	background-color: var(--sba-surface-cool);
	font-family: var(--sba-font-sans);
}

.sba-c-related .sba-c-related-title {
	margin: 0;
	color: var(--sba-charcoal);
	font-family: var(--sba-font-sans);
	font-size: 30px;
	font-weight: var(--sba-heading-weight);
	letter-spacing: var(--sba-heading-tracking);
	line-height: 36px;
}

.sba-c-related .sba-c-related-lead {
	max-width: 48rem;
	margin: 16px 0 0;
	color: var(--sba-slate);
	font-size: 18px;
	line-height: 28px;
}

.sba-c-related .sba-c-related-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
	margin-top: 40px;
}

.sba-c-related .sba-c-page-card-description {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

@media (min-width: 768px) {
	.sba-c-related .sba-c-related-title {
		font-size: 36px;
		line-height: 40px;
	}

	.sba-c-related .sba-c-related-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 1024px) {
	.sba-c-related.sba-c-related {
		padding: 112px 0;
	}
}
