.complex-list a.button {
    margin: 32px auto 0 auto;
}

.complex-item {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.complex-item__image {
    display: flex;
    border-radius: 4px;
    overflow: hidden;
}

.complex-item__image img {
    width: 100%;
    height: 420px;
    object-fit: cover;
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.complex-item:hover .complex-item__image img {
    transform: scale(1.3);
}

.complex-item-tags {
    position: absolute;
    top: 16px;
    left: 16px;
    z-index: 2;
}

.complex-item-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.complex-item-text p {
    color: #3A4654;
}

.complex-item-text__name {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 40px;
}

/* comming project */
.complex-item-text_year {
    margin-top: 112px;
}

/* Btn */
.complex-item__btn {
    display: none;
    border: 1px solid #3A4654;
    max-width: 220px;
    height: 40px;
    margin: 40px auto 0 auto;
    -webkit-transition: fill .35s ease-out, color .35s ease-out, background .35s ease-out, border-color .35s ease-out, opacity .35s ease-out;
    transition: fill .35s ease-out, color .35s ease-out, background .35s ease-out, border-color .35s ease-out, opacity .35s ease-out;
}

.complex-item__btn:hover {
    background-color: #ff0000;
    color: #fff;
}

.complex-item-text__name>* {
    -webkit-transition: .3s ease-in-out;
    transition: .3s ease-in-out;
}

.complex-item:hover .complex-item-text__name>* {
    color: #e69f18;
}

.complex-item-text__name>*:last-child {
    position: relative;
}

.complex-item-text__name>*:last-child:before {
    content: '';
    /* position: absolute;*/
    top: calc(50% - 4px);
    left: -20px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #90A2AC;
}

.complex-item-text__name h3,
.complex-item-text__name h4 {
    color: #414042;
}

@media (max-width: 1919px) {
    .complex-item__image img {
        height: 338px;
    }
}

@media (max-width: 1439px) {
    .complex-item {
        gap: 16px;
    }

    .complex-item__image img {
        height: 301px;
    }

    /* comming project */
    .complex-item-text_year {
        margin-top: 38px;
    }
}

@media (max-width: 1023px) {
    .complex-item__image img {
        height: 240px;
    }

    /* comming project */
    .complex-item-text_year {
        margin-top: 20px;
        margin-bottom: 12px;
    }

    /* Btn */
    .complex-item__btn {
        display: flex;
        justify-content: center;
        align-items: center;

    }

}



.complex_row {
    --bs-gutter-x: 0px !important;
}



.complex-cart a {
    width: 100%;
}

.complex-cart_img {
    height: unset !important;
}

.complex-cart_img:hover {
    transform: scale(1.3);
}





 

.complex-item-text__minprice {
    height: 40px;
    font-size: 32px;
    font-weight: 500;
    line-height: 40px;
    color: #212529;
    text-align: center;
    margin-bottom: 40px;
}



.complex-item-text_comment {
    margin-top: 22px;
    font-size: 14px;
    font-weight: 400;
    line-height: 24px;
    color: #212529;
    text-align: center;
}

.complex-item__image {
    border-radius: 0px !important;
}

@media (max-width: 759px) {
    .complex-item-text_toppart {
        margin-top: 16px;
    }

    .complex-item-text_bottompart {
        margin-bottom: 16px;
        padding: 0 10px;
    }

    .complex-item-text {
        padding: 15px 0;
    }

    .complex-item-text_name {
        font-size: 30px;
    }

    .complex-item-text__minprice {
        font-size: 25px;
    }

    .complex-item-text_city {
        font-size: 16px;
    }

    .complex-item-text_address {
        font-size: 20px;
    }

    .complex-item-text_comment {
        margin-top: 32px;
    }

}

/* новый дизайн карточки */

.complex-cart {
    background: #ffffff;
    position:relative;
   display: flex;
    flex-direction: column;
    justify-content:space-between;
}

.complex-item-up-text_name{
    display:block;
    text-align: center;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color:#000000;
    text-transform: uppercase;
}

.complex-item-text_name {
    display:block;
    text-align: center;
    font-size: 32px;
    font-weight: 600;
    line-height: 60px;
    color:#000000;
    text-transform: uppercase;
}

.complex-item-string_red{
    display:block;
    text-align: center;
    font-size: 16px;
    font-weight: 500;
    line-height: 28px;
    color: #E63A3A;
    text-transform: uppercase;
}

.complex-item-text_logo { 
    position:absolute;
    text-align: center;
    top:0px;
     left:50px;
     width:40px;
}

.complex-item-text_logo img{
    width:100%;
}

.complex-item-text_toppart {
    margin-top: 100px;
    min-height: 84px;
    }
.complex-item-text_midlepart {
    margin-top: 0px;
    min-height: 54px;
}
.complex-item-text_bottompart {
    margin-top: 0px;
    min-height: 15px;
}

.complex-item-text_bottompart {
    margin-top: 0px;
    min-height: 15px;
    padding-left: 50px;
}

.complex-item-text_bottompart_adress {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding-bottom: 50px;
        position:relative;
    }
    .complex-item-text_location{
        display:block;
        position: absolute;
        top:0px;
        left:0px;
        width:24px;
    }

.complex-item-text_city {
   display: inline;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: #000000;
    text-transform: uppercase;
    padding-left: 40px;
}

.complex-item-text_address {
    display: inline;
    font-size: 16px;
    font-weight: 600;
    line-height: 24px;
    color: #000000;
    text-transform: uppercase;
    padding-left: 40px;
}

.complex-item-text_address:before {
  /*  content: '•';
    color: #90A2AC;
    font-size: 24px;*/
}