.blog-grid-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    justify-content: center;
}

.blog-item-wrapper {
    position: relative;
    transition: transform 0.3s ease;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
    border: none;
}

.blog-item-wrapper:hover {
    transform: scale(1.03);
    border: 1px solid #eee;
    box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.5);
}

.blog-item {
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.blog-thumb {
    width: 100%;
    overflow: hidden;
   
}

.blog-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.blog-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
}

.blog-date {
    margin: 5px 0;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.7rem;
    color: #000;
}

.blog-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3rem;
    font-weight: 600;
    line-height: 1.7rem;
    color: #000;
    margin: 15px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-excerpt {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    line-height: 1.7rem;
    color: #000;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-category {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 5px;
}

.single-category {
    background: #F2F2F2;
    padding: 10px 14px;
    border-radius: 20px;
    color: #000;
    font-family: 'Poppins';
    font-size: 1.1rem;
    line-height: 1.7rem;
    font-weight: 400;
}

.blog-overlay-link {
    position: absolute;
    background: transparent;
    border: none;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    z-index: 10;
}

/* ====================
   Responsive Styles
==================== */

/* Tablet (1024px and below) */
@media screen and (max-width: 1024px) {
    .blog-grid-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 20px;
    }

    .blog-thumb {
        height: 200px;
    }

    .blog-title {
        font-size: 1.2rem;
    }

    .blog-excerpt {
        font-size: 1rem;
    }

    .single-category {
        font-size: 1rem;
        padding: 8px 12px;
    }
}

/* Mobile (768px and below) */
@media screen and (max-width: 768px) {
    .blog-grid-list {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }

    .blog-item-wrapper {
        max-width: 500px;
        margin: 0 auto;
    }

    .blog-thumb {
        height: 180px;
    }

    .blog-content {
        padding: 12px;
    }

    .blog-title {
        font-size: 1.1rem;
        line-height: 1.5rem;
    }

    .blog-excerpt {
        font-size: 0.95rem;
        line-height: 1.5rem;
    }

    .single-category {
        font-size: 0.95rem;
        padding: 6px 10px;
    }

    .blog-date {
        font-size: 0.95rem;
    }
}
