.latest-blog {
    text-align: center;
    margin-top: 40px;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.blog-card {
    text-decoration: none;
    color: black;
}

.blog-thumb {
    width:100%;
    aspect-ratio: 1 / 1;
    background-color: #ffe870;
    border-radius: 20px;
}

.blog-title {
    margin-top: 10px;
    font-weight: bold;
}

.thumb-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 1 /1;
}

.images1 {
    width: 80%;
    height: 60%;
    object-fit: cover;
    border-radius: 12px;
    position: absolute;
    top : 39.5%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.popular-card {
    width: fit-content;
    margin: 0 auto;
}

.popular-link {
    display: inline-block;
    text-decoration: none;
    color: inherit;
}

@media (max-width: 600px) {
    .blog-grid {
        gap: 12px;
    }

    .blog-thumb {
        border-radius: 14px;
    }

    .images1 {
        width: 70%;
        height: 55%;
        top: 34%;
    }

    .blog-title {
        font-size: 14px;
        margin-top: 6px;
        line-height: 1.3;
    }
}
