.blog-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    background-color: #121212;
    padding: 60px 20px;
    color: #fff;
}

.blog-card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background-color: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    width: 100%;
    max-width: 350px;
    margin-bottom: 30px;
}

.blog-card:hover {
    box-shadow: 0 0 20px rgba(255, 87, 34, 0.7);
}

.blog-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 2px solid #ff5722;
}

.blog-category-tag {
    background-color: #ff5722;
    color: white;
    padding: 5px 15px;
    border-radius: 50px;
    font-size: 14px;
    margin: 10px 0;
}

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

.blog-category {
    font-size: 14px;
    color: #ff5722;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.blog-title {
    font-size: 20px;
    font-weight: bold;
    color: #fff;
    margin-bottom: 10px;
}

.blog-title a {
    color: inherit;
    text-decoration: none;
}

.blog-title a:hover {
    text-decoration: underline;
    color: #ff5722;
}

.blog-excerpt {
    font-size: 14px;
    color: #ccc;
    margin-bottom: 20px;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .blog-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
        gap: 30px;
    }

    .blog-title {
        font-size: 18px;
    }

    .blog-excerpt {
        font-size: 14px;
    }

    .blog-category {
        font-size: 12px;
    }
}

/* Single blog */

.single-blog {
    background-color: #121212;
    color: #fff;
    padding: 60px 20px;
}

.single-post-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}

.text-content {
    font-size: 16px;
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 40px;
}

.post-content {
    font-size: 18px;
    color: #ccc;
    line-height: 1.8;
    margin-bottom: 40px;
}

.related-posts-section {
    margin-top: 60px;
}

.related-posts-title {
    font-size: 24px;
    font-weight: bold;
    color: #ff5722;
    margin-bottom: 20px;
}

.related-posts-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.related-post {
    background-color: #1e1e1e;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.related-post:hover {
    box-shadow: 0 0 20px rgba(255, 87, 34, 0.7);
}

.related-post-link {
    display: block;
    text-decoration: none;
}

.img-tumb {
    position: relative;
}

.img-post {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-bottom: 2px solid #ff5722;
}

.related-post-title {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    margin-top: 15px;
    margin-bottom: 10px;
}

.related-post-excerpt {
    font-size: 14px;
    color: #ccc;
}

@media (max-width: 768px) {
    .single-blog {
        padding: 40px 10px;
    }

    .text-content,
    .post-content {
        font-size: 14px;
    }

    .related-posts-title {
        font-size: 20px;
    }

    .related-post-title {
        font-size: 16px;
    }

    .related-post-excerpt {
        font-size: 12px;
    }
}
