.complexes{
    display:flex;
    align-items:center;
    flex-wrap:wrap;
    justify-content:center;
    margin-bottom: 20px;
}
.complex{
    width:420px;
    margin: 12px;
    box-shadow: 0 0 10px rgb(0 0 0 / 20%);
}

.complex:hover{
    box-shadow: 0 0 10px rgb(0 0 0 / 30%);
}

@media only screen and (max-width:500px){
	.complex{
        width:92%;
    }
}

.cat-m__item ul li:last-child {
    margin-bottom: 0;
}

.complex {
    display:flex;
    align-items:stretch;
    justify-content:space-between;
    flex-direction:column;
    border:1px solid #eeeef0;
    background-color:#fff;
    border-radius:5px;
    padding:8px 8px 16px;
    min-height: 455px;
}


.complex__main {
    flex-grow:1;
    position:relative
}

.complex__pic {
    display:block;
    width:100%;
    padding-top:63.5%;
    border-radius:5px;
    background:center center no-repeat;
    background-size:cover;
}

.complex__date {
    display:block;
    position:absolute;
    z-index:2;
    top:8px;
    right:8px;
    white-space:nowrap;
    height:28px;
    line-height:28px;
    border-radius:5px;
    background-color:#c8d6e3;
    color:#717986;
    padding:0 6px;
    font-size:15px;
}

.complex__header {
    padding:12px 10px;
    margin-bottom:6px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    flex-direction:row-reverse;
}
.complex__header-main {
    flex-grow:1;
    padding-right:16px;
}
.complex__logo {
    width:86px;
    flex-shrink:0
}
.complex__name {
    font-size:18px;
    font-weight:700;
    margin-bottom:20px;
}
.complex__address {
    font-size:14px;
}
.complex__tab{
    padding:0 10px;
    font-size:16px;
    /*height: 180px; Высота ЖК*/
}
.complex__tab-tr {
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    border-bottom:1px solid #f2f2f2;
    padding:10px 0;
}

.complex__tab-tr:last-child {
    border-bottom: none;
  }
  .complex__tab-th {
    flex-grow: 1;
    padding-right: 1rem;
  }
  .complex__tab-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
  }
  .complex__tab-price,
  .complex__tab-squer {
    width: 100px;
    white-space: nowrap;
  }
  