.real-estate-planning h2 {
	white-space: nowrap;
}

.custom-home-works .section__head > div,
.bb-section--works .section__head > div,
.lu-section--works .section__head > div {
	width: 100%;
}

.custom-home-works .featured-works__title-row,
.bb-section--works .featured-works__title-row,
.lu-section--works .featured-works__title-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	width: 100%;
}

.custom-home-works .featured-works__button,
.bb-section--works .featured-works__button,
.lu-section--works .featured-works__button {
	justify-self: end;
	margin-left: auto;
}

.real-estate-home-link {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(320px, 0.85fr);
	gap: clamp(24px, 5vw, 64px);
	align-items: center;
	width: min(100% - 32px, var(--container));
	margin-inline: auto;
	padding: clamp(34px, 6vw, 72px);
	border: 1px solid rgba(47, 118, 107, 0.16);
	border-radius: 18px;
	background:
		linear-gradient(135deg, rgba(47, 118, 107, 0.08), rgba(255, 255, 255, 0) 48%),
		#fff;
	box-shadow: 0 22px 54px rgba(31, 90, 82, 0.11);
}

.real-estate-home-link__body {
	display: grid;
	gap: clamp(14px, 2.4vw, 22px);
	align-content: center;
}

.real-estate-home-link__body h2 {
	margin: 0;
	color: #102f2a;
	font-size: clamp(1.9rem, 4vw, 3.2rem);
	line-height: 1.28;
	letter-spacing: 0;
}

.real-estate-home-link .custom-home-text {
	color: #38564f;
}

.real-estate-home-link .button {
	justify-self: start;
	min-height: 50px;
	padding-inline: 22px;
	box-shadow: 0 14px 28px rgba(31, 90, 82, 0.12);
}

.real-estate-home-link__image {
	margin: 0;
	overflow: hidden;
	border: 1px solid rgba(47, 118, 107, 0.16);
	border-radius: 12px;
	background: var(--color-paper);
	box-shadow: 0 24px 52px rgba(31, 90, 82, 0.16);
}

.real-estate-home-link__image img {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

@media (max-width: 759px) {
	.real-estate-home-link {
		grid-template-columns: 1fr;
		gap: 22px;
		width: min(100% - 24px, var(--container));
		padding: 22px;
		border-radius: 14px;
	}

	.real-estate-home-link__image {
		order: -1;
		border-radius: 12px;
	}

	.real-estate-home-link__image img {
		aspect-ratio: 16 / 9;
	}

	.real-estate-home-link__body {
		gap: 14px;
	}

	.real-estate-home-link__body h2 {
		font-size: clamp(1.55rem, 8vw, 2.15rem);
	}
}
