.roundhouse-caf-nested-text-image {
	background: #eadad8;
	margin-bottom: 0 !important;
	max-width: 100% !important;
	padding: clamp(2rem, 3.2vw, 3rem) 0;
	width: 100%;
}

.roundhouse-caf-nested-text-image__inner {
	margin: 0 auto;
	max-width: min(1500px, 100% - 2rem);
}

.roundhouse-caf-nested-text-image__grid {
	display: grid;
	gap: clamp(1.4rem, 2.6vw, 2.8rem) clamp(2rem, 4vw, 4.6rem);
	grid-template-columns: repeat(2, minmax(0, 1fr));
max-width: min(1500px, 100% - 2rem);
    margin: 0 auto;
}

.roundhouse-caf-nested-text-image__column {
	display: flex;
	flex-direction: column;
	gap: clamp(1.4rem, 2.6vw, 2.8rem);
}

.roundhouse-caf-nested-text-image__column--right {
	padding-top: var(--roundhouse-caf-nested-right-offset, clamp(3.2rem, 7vw, 6.2rem));
}

.roundhouse-caf-nested-text-image__card {
	display: flex;
	flex-direction: column;
}

.roundhouse-caf-nested-text-image__media {
	background: #d9d0ce;
	aspect-ratio: 366 / 206;
	overflow: hidden;
}

.roundhouse-caf-nested-text-image__image {
	aspect-ratio: 366 / 206;
	display: block;
	transition: 300ms ease transform;
	transform: scale(1);
}
.roundhouse-caf-nested-text-image__image:hover {
	transform: scale(1.3);
}

.roundhouse-caf-nested-text-image__content {
	padding-top: 1.2rem;
}

.roundhouse-caf-nested-text-image__title {
	color: #313131;
	font-size: clamp(2rem, 3vw, 3.3rem);
	font-weight: 300;
	line-height: 1.06;
	margin: 0;
}

.roundhouse-caf-nested-text-image__text {
	margin-top: 0.6rem;
	max-width: 30rem;
}

.roundhouse-caf-nested-text-image__text > :first-child {
	margin-top: 0;
}

.roundhouse-caf-nested-text-image__text > :last-child {
	margin-bottom: 0;
}

.roundhouse-caf-nested-text-image__text p {
	color: #2f2f2f;
	font-size: clamp(0.96rem, 1.05vw, 1.1rem);
	line-height: 1.4;
	margin: 0 0 0.55rem;
}

@media (max-width: 900px) {
	.roundhouse-caf-nested-text-image__grid {
		grid-template-columns: 1fr;
	}

	.roundhouse-caf-nested-text-image__column {
		gap: 1.6rem;
	}

	.roundhouse-caf-nested-text-image__column--right {
		padding-top: 0;
	}

	.roundhouse-caf-nested-text-image__content {
		text-align: center;
	}

	.roundhouse-caf-nested-text-image__text {
		margin-left: auto;
		margin-right: auto;
	}

	.roundhouse-caf-nested-text-image__title {
		font-size: clamp(1.8rem, 7vw, 2.6rem);
	}
}

.roundhouse-caf-nested-text-image__card.is-reveal-init {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 1050ms cubic-bezier(0.22, 1, 0.36, 1), transform 1050ms cubic-bezier(0.22, 1, 0.36, 1);
	transition-delay: var(--roundhouse-reveal-delay, 0ms);
	will-change: opacity, transform;
}

.roundhouse-caf-nested-text-image__card.is-reveal-init.is-revealed {
	opacity: 1;
	transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
	.roundhouse-caf-nested-text-image__card.is-reveal-init {
		opacity: 1;
		transform: none;
		transition: none;
	}
}
