/* Villa collection 1113:619 */

.villas {
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr;
	background: #fff;
}

.villas__aside {
	position: sticky;
	top: 0;
	align-self: start;
	height: 954px;
	overflow: hidden;
	background: var(--sand);
	color: #fff;
}

.villas__photo {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.villas__gradient {
	position: absolute;
	left: 0;
	right: 0;
	top: 523px;
	height: 431px;
	background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, #000 131%);
}

.villas__caption {
	position: absolute;
	top: 684px;
	left: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 50px;
	width: 454px;
	translate: -50% 0;
	text-align: center;
}

.villas__caption h2 {
	width: 488px;
	height: 108px;
}

.villas__caption .text-link {
	height: 21px;
}

.villas__list {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 111px 0 140px;
}
