Try adding this CSS:
figure:before {
content: " ";
position: absolute;
width: 100%;
height: 100%;
top: 0;
left: 0;
background: radial-gradient(ellipse at center, rgba(15, 42, 46, 0.05) 0, rgba(15, 42, 46, 0.1) 41%, rgba(15, 42, 46, 0.3) 100%);
opacity: 0.2;
transition: opacity 0.5s ease;
border-radius: 6px 6px 0 0;
z-index: 1;
}
Note: Make sure to change the width of the image block element instead of using a fixed width of 390px if you want it to go full width of the container.