/* KISS Blog Posts Sidebar Styles */
.kiss-blog-posts-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.kiss-blog-posts-tile {
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 10px 2px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.kiss-blog-posts-tile:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 15px 3px rgba(0, 0, 0, 0.15);
}

.kiss-blog-posts-tile .tile-image {
    width: 100%;
    height: 160px;
    background-size: cover;
    background-position: center;
    border-radius: 8px 8px 0 0;
}

.kiss-blog-posts-tile .tile-content {
    padding: 15px;
}

.kiss-blog-posts-tile .tile-title {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0 0 8px 0;
    color: #333;
    text-decoration: none;
}

.kiss-blog-posts-tile .tile-title:hover {
    color: #0073aa;
}

.kiss-blog-posts-tile .tile-excerpt {
    font-size: 14px;
    color: #666;
    line-height: 1.4;
    margin: 0 0 8px 0;
}

.kiss-blog-posts-tile .tile-date {
    font-size: 12px;
    color: #999;
    margin: 0;
}

/* Removed - replaced with enhanced version below */

.kiss-blog-posts-error {
    text-align: center;
    padding: 20px;
    color: #d32f2f;
    background: #ffeaea;
    border-radius: 4px;
    border: 1px solid #ffcdd2;
}

.kiss-blog-posts-retry-btn {
    margin-top: 10px;
    padding: 8px 16px;
    background: #0073aa;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.2s ease;
}

.kiss-blog-posts-retry-btn:hover {
    background: #005a87;
}

.kiss-blog-posts-retry-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.kiss-blog-posts-loading {
    text-align: center;
    padding: 20px;
    color: #666;
    background: #f9f9f9;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

/* Widget title link styling */
.kiss-blog-posts-title-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.2s ease;
}

.kiss-blog-posts-title-link:hover {
    color: #0073aa;
    text-decoration: none;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .kiss-blog-posts-container {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .kiss-blog-posts-tile .tile-image {
        height: 140px;
    }
}