.em2-portfolio .row{
    margin-left: -2px;
    margin-right: -2px;
    & [class*='col-']{
        padding-left: 2px;
        padding-right: 2px;
        margin-bottom: 4px;
    }
    & .item-inner{
        position: relative;
        overflow: hidden;
        cursor: pointer;
        border-radius: 2px;
        &::before, & a{
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
        }
        &::before{
            background: linear-gradient(160deg, transparent 40%, rgba(15,26,48,0.9));
            opacity: 0;
        }
        & .item-title{
            position: absolute;
            width: calc(100% - 48px);
            left: 24px;
            bottom: 24px;
            opacity: 0;
            & .em2-title{
                color: var(--white);
                font-size: 18px;
                font-weight: 600;
                line-height: 22px;
                margin: 0px;
            }
            & .em2-label{
                font-size: 12px;
                line-height: 16px;
                font-family: var(--jost);
                margin: 0;
                text-transform: none;
                letter-spacing: 0;
                &::before{
                    display: none;
                }
            }
        }
        &:hover::before, &:hover .item-title{
            opacity: 1;
        }
    }
}
.em2-portfolio.default .item-inner{
    min-height: 300px;
    background: var(--navy-mid);
    overflow: hidden;
    & img{
        object-fit: cover;
        width: 100%;
    }
}
.em2-portfolio.masonry .em2-filter{
    list-style: none;
    margin: 0px 0px 30px 0px;
    padding: 0px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    & li{
        padding: 5px 20px;
        border-radius: 100px;
        font-size: 14px;
        font-weight: 500;
        cursor: pointer;
        border: 1px solid rgba(0, 0, 0, .12);
        background: transparent;
        &:hover, &.active{
            background: var(--navy-deep);
            color: #fff;
            border-color: var(--navy-deep);
        }
    }
}
@media (min-width: 768px) {
    .em2-portfolio.default .item-inner{
        height: 300px;
    }
}