.residents__wrapper {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
	grid-gap: 0 30px;
}

.resident__item {
	padding: 24px;
	background: rgba(231, 232, 233, 0.75);
}

.resident__item h3 {
	color: #BE4D00;
	font-family: "eUkraine Head";
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	margin: 0;
	padding: 70px 0 12px 0;
}

.resident__item p {
	color: #70787A;
	font-family: "eUkraine Head";
	font-size: 10px;
	font-style: normal;
	font-weight: 300;
	line-height: 160%; /* 16px */
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	max-height: 44px;
	height: 44px;
	margin: 0;
}

.resident__img {
	min-height: 50px;
}

.resident__item--wrapper {
	padding: 30px 30px 30px 0;
	border-right: 0.5px solid #9FA5A6;
	position: relative;
}

.residents__wrapper::after {
	content: '';
	width: 100%;
	height: 0.5px;
	background: #9FA5A6;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.resident__item--wrapper:nth-child(4n) {
	border-right: unset;
}

.resident__item-button {
	background: unset;
	display: flex;
	align-items: flex-end;
	padding: 0 0 30px 0;
}

.resident__item-button a {
	padding-bottom: 0;
	padding-left: 0;
}

.residents-full .resident__item--wrapper {
	padding: 0;
	border: unset;
}

.residents-full .residents__wrapper {
	grid-gap: 30px;
}

.residents-full .residents__wrapper::after {
	content: unset;
}

@media screen and (max-width: 1024px) {
	.resident__item--wrapper {
		border-right: 0;
	}
	.residents__wrapper::after {
		content: unset;
	}
	.resident__item--wrapper {
		padding: 0;
	}
	.residents__wrapper {
		gap: 15px;
	}
	.resident__item-button {
		padding: 0;
	}
}

@media screen and (max-width: 992px) {
	.residents__wrapper {
		grid-template-columns: 1fr;
	}
	.resident__item--wrapper {
		border-bottom: 0.5px solid #9FA5A6;
		padding: 0 0 15px 0;
	}
	.resident__item h3 {
		padding-top: 10px 0 12px 0;
	}
	.resident__item-button {
		justify-content: center;
		padding: 0;
		margin: 24px 0;
	}
}