/* Blog Posts Grid Widget Styles */

.blog-posts-grid {
    display: grid;
    width: 100%;
}

.blog-post-card {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    will-change: transform, box-shadow;
}

.blog-post-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.blog-post-image {
    position: relative;
    overflow: hidden;
    width: 100%;
}

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

.blog-post-content {
    position: relative;
}

.blog-post-category {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    line-height: 1.4;
    margin: 0 0 12px 0;
}

.blog-post-title {
    font-size: 20px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0 0 15px 0;
    padding: 0;
}

.blog-post-excerpt {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 0 15px 0;
}

.blog-post-date {
    font-size: 13px;
    font-weight: 400;
    line-height: 1.4;
    margin: 0;
}

.blog-post-read-more {
    font-size: 14px;
    font-weight: 500;
    margin-top: 15px;
    display: inline-block;
    transition: color 0.3s ease;
}

/* Responsywność */
@media (max-width: 1024px) {
    .blog-post-title {
        font-size: 18px;
    }
    
    .blog-post-excerpt {
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    .blog-post-title {
        font-size: 16px;
    }
    
    .blog-post-category {
        font-size: 10px;
    }
    
    .blog-post-excerpt {
        font-size: 12px;
    }
    
    .blog-post-date {
        font-size: 12px;
    }
}
