.jh-recipes-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.jh-recipe-item {
    position: relative;
    width: calc((100% - 3 * 20px) / 4);
    height: 450px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    overflow: hidden;
    border-radius: 10px;
}

.jh-recipe-item::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 175px;
    background: linear-gradient(to top, rgba(0,0,0,0.5), rgba(0,0,0,0));
    pointer-events: none;
}

.jh-recipe-tags {
    position: absolute;
    top: 0; 
    left: 0;
    padding: 30px;
    display: flex;
    gap: 5px;
}

.jh-recipe-tag {
    color: var(--nectar-extra-color-1);
    background: #fff;
    padding: 4px 10px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 16px;
    font-weight: 400;
}

.jh-recipe-title {
    position: absolute;
    bottom: 0; 
    left: 0;
    padding: 30px;
    margin: 0 !important;
    font-size: 1.1rem;
    z-index: 2;
    text-align: left;
}
.jh-recipe-title a,
.jh-recipe-title a:hover{
    color: #fff;
    font-family: 'Work Sans';
    font-weight: 500;
}