.recipe-showcase-container {
    display: grid;
    grid-template-columns: 0.8fr 2fr 1fr; /* The second column will now be larger */
    gap: 0px;
    font-family: 'Arial', sans-serif;
}

/* Heading style */
.column h2 {
    font-size: 33px;
    color: #333;
    margin-bottom: 15px;
    font-family:meno-banner-extra-condensed !important;
}

/* Column Styles */
.column {
    padding: 10px;
}

/* First Column */
.first-column {
    flex: 1;
}

/* Second Column - Make it larger */
.second-column {
    flex: 2;
    position: relative;
}

.column .more-recipes-btn {
    display: inline-block;
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #06311a;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

/* Featured Image Style */
.featured-image-wrapper {
    position: relative;
    overflow: hidden;
}

.featured-image-wrapper img {
    width: 100%;
    /*height: 253px; /* Fixed height */
    object-fit: cover;
    transition: transform 0.5s ease;
}

.featured-image-wrapper:hover img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.overlay-title{
    color:white;
    font-weight:bolder;
    font-size:30px;
}

.featured-image-wrapper:hover .overlay {
    opacity: 1;
}

.featured-tag {
    position: absolute;
    top: 30px;
    left: 10px;
    background: #e4990d;
    padding: 5px 10px;
    color: white;
    font-size: 14px;
    border-radius: 3px;
    animation: shake 4s infinite;
    overflow: hidden;
    z-index: 1;
}

/* Keyframes for shaking effect */
@keyframes shake {
    0%, 100% {
        transform: rotate(0) ;
    }
    25% {
        transform: rotate(-9deg); 
    }
    75% {
        transform: rotate(9deg);
    }
}

/* Particle effect styling */
.featured-tag::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 223, 51, 0.7) 20%, transparent 80%);
    animation: particleEffect 1s infinite;
    z-index: -1;  /* Make sure particles appear behind the featured tag */
}

/* Particle emission animation */
@keyframes particleEffect {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(5);
        opacity: 0;
    }
}

/* Optional: Adding particles (yellow dots) around the featured tag */
.featured-tag .particle {
    position: absolute;
    width: 5px;
    height: 5px;
    background-color: #ffd700;
    border-radius: 50%;
    animation: particleMovement 2s infinite;
    opacity: 0;
}

.featured-tag .particle:nth-child(1) {
    top: -5px;
    left: 20px;
    animation-delay: 0.5s;
}

.featured-tag .particle:nth-child(2) {
    top: 10px;
    left: -10px;
    animation-delay: 1s;
}

.featured-tag .particle:nth-child(3) {
    top: -15px;
    left: 30px;
    animation-delay: 1.5s;
}

.featured-tag .particle:nth-child(4) {
    top: 20px;
    left: 10px;
    animation-delay: 2s;
}

@keyframes particleMovement {
    0% {
        opacity: 1;
        transform: translate(0, 0) scale(1);
    }
    100% {
        opacity: 0;
        transform: translate(50px, -50px) scale(1.5);
    }
}


/* Third Column */
.grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.grid-item {
    text-align: center;
}

.post-category {
    font-size: 14px;
    color: #777;
    margin-top: -15px;
    text-align: center;
}

.grid-title {
    font-size: 19px;
    font-weight: bold;
    color: #333;
    margin-top: -15px;
    text-align: center;
    font-family:meno-banner-extra-condensed;
}

.grid-image {
    width: 169px !important;
    height: 150px !important;
    background-size: cover;
    background-position: center;
    border-radius: 5px;
    transition: transform 0.3s ease;
    cursor: pointer;
    overflow: hidden;
}


.grid-image:hover {
    transform: scale(1.05);
}


/* Make the layout one column on mobile devices */
@media (max-width: 768px) {

    .recipe-showcase-container {
        grid-template-columns: 1fr; /* One column layout */
    }

    .first-column,
    .second-column,
    .third-column {
        padding: 10px;
    }

    .featured-image-wrapper img {
        width: 100%; /* Make sure the image is responsive */
        height: auto;
    }

    .grid-image {
        width: 100%; /* Full width of the column */
        height: auto;
        object-fit: cover;
    }
     
     .grid-title{
        line-height:normal;
     }


    /* Adjust the featured tag for mobile */
    .featured-tag {
        position: relative;
        top: -160px;
        left: 25px;
        padding: 5px 10px;
        font-size: 13px;
        width: 190px;
        margin-top: 20px;
        font-weight: 300;
    }

    /* Optionally adjust text sizes for mobile */
    .column h2 {
        font-size: 33px;
        text-align: center;
        font-family:meno-banner-extra-condensed !important;
        margin-bottom:-20px;
    }

    /* Ensure the overlay text and button appear below the image */
    .overlay {
        position: relative;
        top: 10px; /* Give some space below the image */
        background: #000; /* Optional, adds a background behind text */
        padding: 10px;
        color: white;
        text-align: center;
        opacity:1;
        margin-bottom:12px;
        margin-top:-20px;
    }

    .post-excerpt{
        display:none;
    }

    .column .more-recipes-btn{
        display:none;
    }

    .overlay-title{
        font-size: 24px;
    }

    .featured-image-wrapper{

        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
    }

    .image-only-container{
        padding-left: 5px;
        padding-right: 5px;
    }

}