.residential-complexes {
	overflow: hidden;
	background: #1e1e1e;
}

.residential-complexes__inner {
	position: relative;
}

.residential-complexes__title {
	width: 582px;
	max-width: 100%;
	margin: 0 0 40px;
	font-weight: 300;
	font-size: 32px;
	line-height: normal;
	letter-spacing: 0;
	text-transform: uppercase;
	color: #e7e7e7;
}

.residential-complexes__slider {
	position: relative;
}

.residential-complexes__slide {
	width: 210px;
	height: auto;
}

.residential-complexes__card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	width: 210px;
}

.residential-complexes__image {
	width: 210px;
	height: 130px;
	overflow: hidden;
	border-radius: 5px;
	background: #e7e7e7;
}

.residential-complexes__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.residential-complexes__name {
	width: 100%;
	min-height: 28px;
	margin: 0;
	font-weight: 300;
	font-size: 14px;
	line-height: normal;
	letter-spacing: 0;
	text-align: center;
	color: #e7e7e7;
}

.residential-complexes__arrow {
	--glass-size: 40px;

	position: absolute;
	top: 43px;
	z-index: 2;
}

.residential-complexes__arrow-icon::before {
	content: "";
	display: block;
	width: 12px;
	height: 12px;
	border-top: 1px solid #e7e7e7;
	border-left: 1px solid #e7e7e7;
}

.residential-complexes__arrow--prev {
	left: -20px;
}

.residential-complexes__arrow--prev .residential-complexes__arrow-icon::before {
	transform: translateX(3px) rotate(-45deg);
}

.residential-complexes__arrow--next {
	right: -20px;
}

.residential-complexes__arrow--next .residential-complexes__arrow-icon::before {
	transform: translateX(-3px) rotate(135deg);
}

.residential-complexes__arrow.swiper-button-disabled {
	opacity: 0;
	pointer-events: none;
}

@media (min-width: 1441px) {
	.residential-complexes__inner.max-width {
		max-width: none;
	}
}

@media (max-width: 1023px) {
	.residential-complexes__title {
		width: auto;
		margin-bottom: 30px;
		font-size: 20px;
	}

	.residential-complexes__swiper .swiper-wrapper {
		display: grid;
		grid-template-columns: repeat(2, 1fr);
		gap: 20px;
	}

	.residential-complexes__slide {
		width: auto;
		height: auto;
	}

	.residential-complexes__card {
		width: 100%;
	}

	.residential-complexes__image {
		width: 100%;
		height: auto;
		aspect-ratio: 210 / 130;
	}

	.residential-complexes__arrow {
		display: none;
	}
}
