.for {
    padding-top: 50px;
    padding-bottom: 55px;
}
.for__title {
    margin-bottom: 40px;
}
.for__list {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	margin: -30px -15px 0px -15px;
}
.for__list-column {
	display: inline-block;
	vertical-align: top;
	margin: 30px 15px 0px 15px;
}
.for__list-column-inner {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: stretch;
	margin: -30px -15px 0px -15px;
}
.for__item {
	margin: 30px 15px 0px 15px;
    background-color: var(--secondary-color);
	border-radius: 4px;
}
.for__item.for__item_kvartira, 
.for__list-column:nth-child(1) {
	width: 600px;
	max-width: 600px;
}
.for__item.for__item_dacha, 
.for__list-column:nth-child(2) {
	width: 540px;
	max-width: 540px;
}
.for__item.for__item_veranda, 
.for__item.for__item_besedka {
	width: calc(50% - (15px * 2));
	max-width: 500px;
}
.for__img-wrap {
    z-index: 1;
    height: 133px;
	border-radius: 4px 4px 0px 0px;
}
.for__img-wrap.--lg {
    height: 258px;
}
.for__img-wrap.--md {
    height: 139px;
}
.for__img-wrap img {
	display: block;
}
.for__img {
	border-radius: inherit;
}
.for__img img {
	border-radius: inherit;
}
.for__content {
    padding: 25px 30px 30px;
}
.for__link {
    margin-bottom: 20px;
}
.for__link a {
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.for__link a:hover {
    color: var(--primary-color-active);
    border-color: transparent;
}
.for__text {
    margin-bottom: 24px;
}
.for__data {
    display: flex;
}
.for__data.--w3 .for__data-col {
    width: 33.33%;
}
.for__data.--w2 .for__data-col {
    width: 50%;
}
.for__data-title {
    font-weight: 500;
    min-height: 22px;
    margin-bottom: 11px;
}
.for__data-list {
    line-height: 26px;
}
.for__data-list ul {
    flex-direction: column;
}
.for__data-list a {
    color: var(--primary-color);
    border-color: var(--primary-color);
}
.for__data-list a:hover {
    color: var(--primary-color-active);
    border-color: transparent;
}
@media screen and (min-width: 1576px) {
	.for__item.for__item_kvartira, 
	.for__list-column:nth-child(1) {
		width: 659px;
		max-width: 659px;
	}
	.for__item.for__item_dacha, 
	.for__list-column:nth-child(2) {
		width: 656px;
		max-width: 656px;
	}
	.for__item.for__item_veranda, 
	.for__item.for__item_besedka {
		max-width: 313px;
	}
	.for__img-wrap.--lg {
		height: 249px;
	}
	.for__item.for__item_dacha {
		display: flex;
		flex-direction: row;
		flex-wrap: nowrap;
		justify-content: space-between;
		align-items: flex-start;
	}
	.for__item.for__item_dacha .for__img-wrap {
		width: 389px;
		height: 365px;
		flex-shrink: 0;
		order: 2;
	}
	.for__item.for__item_dacha .for__content {
		width: calc(100% - 389px);
		order: 1;
	}
	.for__item.for__item_dacha .for__data {
		display: block;
	}
	.for__item.for__item_dacha .for__data br {
		display: none;
	}
	.for__item.for__item_dacha .for__data .for__data-col {
		width: 100% !important;
	}
}
@media screen and (max-width: 1220px) {
    .for__content {
        padding: 20px;
    }
    .for__link {
        font-size: 20px;
        line-height: 24px;
    }
    .for__data-list {
        font-size: 14px;
    }
}
@media screen and (min-width: 993px) and (max-width: 1220px) {
	.for__list-column:nth-child(1), 
	.for__list-column:nth-child(2) {
		width: calc(50% - (15px * 2));
	}
	.for__item.for__item_kvartira, 
	.for__item.for__item_dacha {
		width: calc(100% - (15px * 2));
	}
}
@media screen and (max-width: 992px) {
    .for {
        padding-top: 40px;
        padding-bottom: calc(40px + 10px);
    }
    .for__title {
        margin-bottom: 40px;
    }
    .for__list {
        grid: none/auto;
    }
    .for__item:nth-of-type(1) {
        grid-row-start: 1;
        grid-row-end: 1;
    }
}
@media screen and (max-width: 650px) {
	.for__list-column:nth-child(1), 
	.for__list-column:nth-child(2) {
		width: calc(100% - (15px * 2));
	}
	.for__item.for__item_kvartira {
		width: calc(100% - (15px * 2));
	}
	.for__item.for__item_dacha {
		width: calc(100% - (15px * 2));
	}
	.for__item.for__item_veranda, 
	.for__item.for__item_besedka {
		width: calc(50% - (15px * 2));
	}
}
@media screen and (max-width: 550px) {
    .for {
        padding-bottom: 45px;
    }
	.for__title {
		margin-bottom: 35px;
	}
    .for__list {
        display: flex;
        flex-wrap: wrap;
		margin: -25px -12.5px 0px -12.5px;
    }
	.for__list-column:nth-child(1), 
	.for__list-column:nth-child(2) {
		margin: 25px 12.5px 0px 12.5px;
		width: calc(100% - (12.5px * 2));
	}
	.for__list-column-inner {
		margin: -25px -12.5px 0px -12.5px;
	}
	.for__item {
		margin: 25px 12.5px 0px 12.5px;
		width: calc(100% - (12.5px * 2)) !important;
	}
	.for__img-wrap.--lg,
    .for__img-wrap.--md,
    .for__img-wrap.--sm {
        height: 140px;
    }
	.for__img-wrap img {
		object-fit: cover;
		position: absolute;
		top: 0px;
		left: 0px;
		width: 100%;
		height: 100%:
		max-width: unset !important;
		max-height: unset !important;
		backface-visibility: hidden;
		transform: translateZ(0);
		image-rendering: -moz-crisp-edges;
		image-rendering: -o-crisp-edges;
		image-rendering: -webkit-optimize-contrast;
		image-rendering: crisp-edges;
		-ms-interpolation-mode: nearest-neighbor;
	}
    .for__content {
        padding: 25px;
    }
	.for__link {
		margin-top: -4px;
		margin-bottom: 16px;
	}
	.for__data {
		flex-wrap: wrap;
	}
	.for__data.--w2, 
	.for__data.--w3 {
		display: grid;
		grid: none/repeat(2, 1fr);
		gap: 15px;
	}
	.for__data.--w2 .for__data-col, 
	.for__data.--w3 .for__data-col {
		width: 100%;
	}
	.for__text {
		margin-bottom: calc(20px - 5px);
	}
	.for__data-title {
		margin-bottom: 8px;
	}
	.for__data-list {
		line-height: 22px;
	}
}
@media screen and (max-width: 380px) {
	.for__data.--w2, 
	.for__data.--w3 {
		display: grid;
		grid: none/repeat(1, 1fr);
		gap: 0px;
	}
	.for__data-title:empty {
		display: none;
	}
	.for__data-col:has(.for__data-title:not(:empty)) {
		margin-top: calc(20px - 5px);
	}
	.for__data-col:has(.for__data-title:not(:empty)):first-child {
		margin-top: 0px;
	}
}