
.project-row {
    display: flex;
    margin: -10px;
    flex-wrap: wrap;
}

.project-item {
    display: block;
    text-decoration: none;
    margin: 10px;
    overflow: hidden;
    height: 522px;
    height: clamp(18.75rem, 12.8428rem + 21.9802vw, 32.625rem);
    position: relative;
    color: #fff;
    transition: flex 0.3s ease, width 0.3s ease;
}
.project-item {
    color: #fff;
    text-decoration: none;
}
.project-item.small {
/*    flex: 1.1;*/
    width: calc(36% - 20px);
}
.project-item.big {
/*    flex: 1.9;*/
    width: calc(64% - 20px);
}

.project-item:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    opacity: 0.4;
    z-index: 1;
    background: linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,1) 100%);
}
.project-item__img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}
.project-item__content {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 20px;
    z-index: 2;
    display: flex;
    align-items: flex-end;
}
.project-item__info {

}
.project-item__title {
    line-height: 1;
    text-transform: uppercase;
    font-size: 35px;
    font-size: clamp(2.6875rem, 2.9004rem + -0.7921vw, 2.1875rem);
    font-weight: 700;
    /* letter-spacing: .05em; */
    margin-bottom: clamp(0rem, -0.2661rem + 0.9901vw, 0.625rem);
}
.project-item__city {
    display: flex;
    align-items: center;
    font-size: clamp(0.875rem, 0.6089rem + 0.9901vw, 1.5rem);
    text-transform: uppercase;
}
.project-item__city img {
    margin-top: 4px;
    width: 15px;
    height: 15px;
    margin-right: 8px;
    border-radius: 100%;
    object-fit: cover;
}
.project-item__city span {
    flex: 1;
}
.project-item__hide {
    margin-left: auto;
    display: flex;
    align-items: center;
    transition: .3s;
}



@media (min-width: 1200px) {
    .project-item.small .project-item__hide {
        display: none;
        opacity: 0;
        transform: translateX(100%);
    }
    .project-item.big .project-item__hide {
        display: flex;
        opacity: 1;
        transform: translateX(0%);
    }
}

.project-item__data {
    font-size: clamp(0.625rem, 0.4121rem + 0.7921vw, 1.125rem);
    text-transform: uppercase;
    white-space: nowrap;
    display: flex;
    align-items: center;
}
.project-item__data + .project-item__data {
    margin-left: 15px;
}
.project-item__data img {
    height: 28px;
    margin-right: 6px;
/*    opacity: 0.4;*/
}
.project-item__data span {
    flex: 1;
}

@media (max-width: 1199px) {

    .project-item.big,
    .project-item.small {
/*        flex: 1;*/
        width: calc(100% - 20px);
    }
    
}

@media (max-width: 767px) {
    .project-row {
        display: block;
        margin: 0 -10px;
    }
    .project-item {
        flex: none;
    }
    .project-item__content {
        display: block;
    }
    .project-item__city {
        margin-top: 4px;
    }
    .project-item__hide {
        margin-top: 12px;
    }
}