.project-icon{
    display: inline-block;
    vertical-align: middle;
    width: 32px;
    height: 32px;
     margin-right: 20px;
}
.project-files--row{
    margin-bottom: 10px;
}

.flproject-images--small{
    position: relative;
}

.middle_image a{
    display: block;
}

.flproject-images{
    --grid-gap: 16px;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: var(--grid-gap);
    position: relative;
}
.flproject-images a{
    display: inline-block;
}
.flproject-images > div:first-child{
    grid-column: span 2 / span 2;
    grid-row: span 2 / span 2;    
}
.flproject-images--small-link{
    position: absolute;
    width: calc((100% - var(--grid-gap)) /2);
    height: 50px;
    display: flex;
    align-items: center;
    background: rgb(0,0,0);
    bottom: 3px;
    left: calc((100% - var(--grid-gap)) /2 + var(--grid-gap));
    justify-content: center;
    opacity: 0.6;
    transition: opacity ease 0.7s;
}
.flproject-images--small-link:hover{ 
    opacity: 1;
}
.flproject-images--small-link a{ 
    color: white;
    display: block;
}
.flproject-images  img{
    border-radius: 8px;
}
.foto_in_list{
    position: relative;
}
.foto_in_list a, .foto_in_list img{
    display: block;
}
.foto_in_list:after{
    content: attr(data-year);
    position: absolute;
    bottom: 0;
    right: 0;
    color: white;
    background: rgba(0,0,0,0.6);
    padding: 10px;
    border-radius: 10px 0 10px 0;
}
.project-list{
    padding-top: 20px;
}
.project-list--name a{ 
    text-decoration: none;
    color: var(--color-text);
}
/*
.project-list > div:nth-child(8n + 1), 
.project-list > div:nth-child(8n + 2),
.project-list > div:nth-child(8n + 3),
.project-list > div:nth-child(8n + 4){
    z-index: 5;
    position: relative;
}
.project-list > div:nth-child(8n + 1):after, 
.project-list > div:nth-child(8n + 2):after,
.project-list > div:nth-child(8n + 3):after,
.project-list > div:nth-child(8n + 4):after{
    content: '';
    position: absolute;
    width: calc(100% + 20px);
    height: calc(100% + 40px);
    top: -20px;
    left: -10px;
    background: #000;
    z-index: -1;
}
.project-list > div:nth-child(8n + 1):after{
    border-radius: 10px 0 0 10px;
}
.project-list > div:nth-child(8n + 4):after{
    border-radius: 0 10px 10px 0;
}
.project-list > div:nth-child(8n + 1) a,
.project-list > div:nth-child(8n + 2) a,
.project-list > div:nth-child(8n + 3) a,
.project-list > div:nth-child(8n + 4) a{
    color: white;
}
*/

.project-list > div{
    
    border-radius: var(--layout-radius);
    box-sizing: border-box;
    position: relative;
    display: grid;
    grid-template-rows: 326px 1fr 45px;
    row-gap: 15px;
    z-index: 2;
}
.project-list > div:nth-child(4n + 1){
    position: reltive;
}
.project-list > div:nth-child(4n + 1):after{
    content: '';
    position: absolute;
    width: calc(400% + 60px);
    height: 1px;
    background: rgba(0,0,0,0.15);
    bottom: -20px;
    left: 0;
}
.project-list .project-list--btn{
    align-self: end;
}

.project-list > div:before{
    content: '';
    position:absolute;
    z-index: -1;
    width: calc(100% + 20px);
    height: calc(100% + 40px);
    
    top: -20px;
    left: -10px;
    transition: all ease 0.7s;
}
.project-list > div:hover:before{
    background: rgba(0,0,0,0.15);
}