.blogs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.blog-item {
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 5px;
    transition: box-shadow 0.3s ease;
}

.blog-item:hover {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.blog-image {
    margin-bottom: 15px;
}

.blog-image img {
    width: 100%;
    height: auto;
    border-radius: 3px;
}

.blog-item h3 {
    margin: 0 0 10px 0;
    font-size: 1.2em;
}

.blog-excerpt {
    margin-bottom: 15px;
    color: #666;
}

.read-more {
    display: inline-block;
    padding: 8px 15px;
    background: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 3px;
    transition: background 0.3s ease;
}

.read-more:hover {
    background: #0056b3;
    text-decoration: none;
    color: white;
}

.infinite-blogs-container {
    position: relative;
}

.loading-spinner {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin: 20px 0;
    text-align: center;
    width: 100%;
}

.loading-spinner i {
    font-size: 2em;
    color: #666;
}

/* Stili opzionali per la griglia */
.vc_grid-item {
    margin-bottom: 30px;
}

.vc_gitem-zone {
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    transition: box-shadow 0.3s ease;
}

.vc_gitem-zone:hover {
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

.vc_custom_heading h4 {
    margin: 15px 0;
    font-size: 1.2em;
}

.vc_gitem-post-data-source-post_excerpt {
    margin: 10px 0;
    line-height: 1.6;
}

.tt_button {
    margin-top: 15px;
}