.blog-category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.blog-category-item {
    width: calc(25% - 20px);
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s;
}
.blog-category-item:hover {
    transform: scale(1.05);
}
.category-link {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: #f9f9f9;
    color: #333;
    text-decoration: none;
    height: 100%;
    width: 100%;
    position: relative;
    transition: 0.3s;
}
.category-link .content {
    z-index: 1;
    transition: opacity 0.3s;
    padding: 30px;
}
.category-link h3 {
    margin: 0;
    font-size: 18px;
}
.category-link .category-description {
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}
.read-more {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 123, 255, 0.8);
    color: #fff;
    padding: 10px 20px;
    border-radius: 20px;
    opacity: 0;
    z-index: 2;
    font-weight: bold;
    transition: opacity 0.3s ease, transform 0.3s ease;
}
.blog-category-item:hover .content {
    opacity: 0.3;
}
.blog-category-item:hover .read-more {
    opacity: 1;
    transform: translate(-50%, -50%);
}
.post-count {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff3b3b;
    color: #fff;
    padding: 5px 10px;
    border-radius: 50%;
    font-size: 12px;
    font-weight: bold;
}
@media (max-width: 768px) {
    .blog-category-item {
        width: calc(50% - 20px);
    }
}
@media (max-width: 480px) {
    .blog-category-item {
        width: 100%;
    }
}
