/**
 * More in this section, after the prototype's SbdSiblings: `border-t
 * bg-surface-cool py-20 lg:py-28` in a max-w-6xl container; the list `mt-10
 * md:grid-cols-2 gap-x-10`, each entry under a top border, `py-5` with the
 * arrow 16px to the right; the name `text-base font-medium`, the
 * description `mt-1.5 text-sm` in the muted foreground.
 */

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

.sba-c-siblings .sba-c-siblings-body {
	max-width: 72rem;
}

.sba-c-siblings .sba-c-siblings-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-siblings .sba-c-siblings-list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	column-gap: 40px;
	margin: 40px 0 0;
	padding: 0;
	list-style: none;
}

.sba-c-siblings .sba-c-siblings-list > li {
	margin: 0;
	border-top: 1px solid var(--sba-border);
}

.sba-c-siblings .sba-c-siblings-link {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 20px 0;
	text-decoration: none;
}

.sba-c-siblings .sba-c-siblings-link:focus-visible {
	outline: 2px solid var(--sba-ring);
	outline-offset: 2px;
}

.sba-c-siblings .sba-c-siblings-text {
	flex: 1 1 auto;
	min-width: 0;
}

.sba-c-siblings .sba-c-siblings-name {
	display: block;
	color: var(--sba-charcoal);
	font-size: 16px;
	font-weight: 500;
	line-height: 24px;
	transition: color var(--sba-duration-hover) ease;
}

.sba-c-siblings .sba-c-siblings-link:hover .sba-c-siblings-name {
	color: var(--sba-red-dark);
}

/* Two lines at most: a menu item's description is one, a hero lead that
   stands in for a missing one runs to about two at 155 characters. */
.sba-c-siblings .sba-c-siblings-description {
	display: -webkit-box;
	margin-top: 6px;
	overflow: hidden;
	color: var(--sba-slate);
	font-size: 14px;
	line-height: 20px;
	text-wrap: pretty;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	line-clamp: 2;
}

.sba-c-siblings .sba-c-siblings-arrow {
	flex: 0 0 auto;
	display: block;
	line-height: 1;
	color: var(--sba-red-dark);
	font-size: 16px;
	transition: transform 0.2s ease;
}

.sba-c-siblings .sba-c-siblings-link:hover .sba-c-siblings-arrow {
	transform: translateX(2px);
}

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

	.sba-c-siblings .sba-c-siblings-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

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

@media (prefers-reduced-motion: reduce) {
	.sba-c-siblings .sba-c-siblings-link:hover .sba-c-siblings-arrow {
		transform: none;
	}
}
