/* === Custom Block Styling === */
.portfolioGrid{
    padding-top: var(--CB-padding-top);
    padding-right: var(--CB-padding-right);
    padding-bottom: var(--CB-padding-bottom);
    padding-left: var(--CB-padding-left);
    margin-top: var(--CB-margin-top);
    margin-bottom: var(--CB-margin-bottom);
}

.portfolioGrid__gridItemWrapper{
    aspect-ratio: 1 / .75;
    position: relative;
}
.portfolioGrid__gridItemWrapper::after{
    content: '';
    background: linear-gradient(to top, rgba(49, 49, 49, 1) 0%,rgba(0, 0, 0, 0) 50%);    
    width: 100%;
    height: 100%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 10;
}
.portfolioGrid__imageZoomContainer{
    position: absolute;
    inset: 0;
    overflow: hidden;
}
.portfolioGrid__backgroundImage{
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: scale(1.1);
    transition: transform 20s ease-out;
    will-change: transform;
}
.portfolioGrid__gridItemWrapper:hover .portfolioGrid__backgroundImage{
    transform: scale(1.4);
}

.portfolioGrid__logo{
    max-width: 50%;
    width: 100%;
    padding-bottom: 20px;
    margin: auto;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 11;
}
.portfolioGrid__logo img{
    width: 100%;
}

