/**
 * Additional CSS for Elementor widgets
 */

/* AI Blog Posts Grid improvements for Elementor */
.elementor-widget-ai_blog_posts .c100-blog-grid {
    gap: 25px;
}

.elementor-widget-ai_blog_posts .c100-blog-item {
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
}

.elementor-widget-ai_blog_posts .c100-blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.elementor-widget-ai_blog_posts .c100-blog-title {
    font-size: 20px;
    margin-bottom: 15px;
}

/* AI Badge style improvements */
.elementor-widget-ai_blog_posts .c100-blog-ai-badge,
.elementor-widget-ai_blog_single .c100-single-ai-badge {
    background: linear-gradient(135deg, #0073aa 0%, #00a0d2 100%);
    padding: 3px 10px;
    border-radius: 15px;
    font-weight: 600;
    display: inline-block;
    margin-left: 5px;
}

/* Read More button improvements */
.elementor-widget-ai_blog_posts .c100-read-more {
    display: inline-block;
    padding: 8px 15px;
    background-color: #0073aa;
    color: #fff;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.elementor-widget-ai_blog_posts .c100-read-more:hover {
    background-color: #005d87;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* List view improvements */
.elementor-widget-ai_blog_posts .c100-blog-list .c100-blog-item {
    align-items: center;
}

.elementor-widget-ai_blog_posts .c100-blog-list .c100-blog-image {
    height: 200px;
    overflow: hidden;
}

@media (max-width: 767px) {
    .elementor-widget-ai_blog_posts .c100-blog-list .c100-blog-item {
        flex-direction: column;
    }
    
    .elementor-widget-ai_blog_posts .c100-blog-list .c100-blog-image {
        width: 100%;
        flex: 0 0 auto;
    }
}

/* Single Post improvements */
.elementor-widget-ai_blog_single .c100-single-image {
    margin-bottom: 20px;
}

.elementor-widget-ai_blog_single .c100-single-image img {
    border-radius: 8px;
    width: 100%;
}

.elementor-widget-ai_blog_single .c100-single-title {
    margin-bottom: 15px;
    font-size: 28px;
    line-height: 1.3;
}

.elementor-widget-ai_blog_single .c100-single-meta {
    margin-bottom: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.elementor-widget-ai_blog_single .c100-single-body {
    line-height: 1.7;
}

.elementor-widget-ai_blog_single .c100-single-body img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 15px 0;
}

.elementor-widget-ai_blog_single .c100-single-body h2,
.elementor-widget-ai_blog_single .c100-single-body h3,
.elementor-widget-ai_blog_single .c100-single-body h4 {
    margin-top: 30px;
    margin-bottom: 15px;
}

.elementor-widget-ai_blog_single .c100-single-body p {
    margin-bottom: 15px;
}

/* Pagination styling */
.c100-pagination {
    margin-top: 30px;
    text-align: center;
}

.c100-pagination .page-numbers {
    display: inline-block;
    padding: 8px 12px;
    margin: 0 3px;
    border: 1px solid #ddd;
    border-radius: 3px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.c100-pagination .page-numbers.current {
    background-color: #0073aa;
    color: #fff;
    border-color: #0073aa;
}

.c100-pagination .page-numbers:hover:not(.current) {
    background-color: #f5f5f5;
}