/* Fill the preview edge to edge; the card clips its own outer corners. */
body.home .slb-page--front #builder-preview .slb-portfolio-card__media {
	display: block;
	border-radius: 0;
}
body.home .slb-page--front #builder-preview .slb-portfolio-card__media img {
	/* Hide the captured scrollbar at the right of the desktop screenshots. */
	width: 101.1%;
	max-width: none;
	height: 100%;
	object-fit: cover;
	object-position: left top;
}

/* One persistent pair of controls stays at title height while the cards move. */
body.home .slb-page--front #builder-preview .slb-portfolio-card__heading {
	display: grid;
	place-items: center;
	width: 100%;
	min-height: 48px;
	padding-inline: 3rem;
}
body.home .slb-page--front #builder-preview .slb-portfolio-wall__controls {
	position: absolute;
	z-index: 3;
	top: var(--slb-portfolio-nav-y, 60%);
	inset-inline: 1rem;
	display: flex;
	justify-content: space-between;
	transform: translateY(-50%);
	pointer-events: none;
}
body.home .slb-page--front #builder-preview .slb-portfolio-wall__controls .slb-portfolio-showcase__arrow {
	position: static;
	translate: none;
	transform: none;
	opacity: 1;
	pointer-events: auto;
	width: 44px;
	height: 44px;
	margin: 0;
	padding: 0;
	font-size: 1.25rem;
	background: var(--slb-surface);
}
body.home .slb-page--front #builder-preview .slb-portfolio-card__heading .slb-portfolio-card__title {
	min-width: 0;
	margin: 0;
	text-align: center;
	text-wrap: balance;
}
body.home .slb-page--front #builder-preview .slb-portfolio-card__title a {
	color: inherit;
	font: inherit;
	text-decoration: none;
}
