/* Modern Blog Styles - Default Demo - Only for blog pages */
body:not(.home) .mlm-modern-blog {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: 100vh;
    padding: 0;
}

/* Blog Header */
body:not(.home) .mlm-blog-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 60px 0;
    margin-bottom: 40px;
    position: relative;
    overflow: hidden;
}

body:not(.home) .mlm-blog-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.5" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

body:not(.home) .mlm-blog-hero {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

body:not(.home) .mlm-breadcrumb-modern {
    margin-bottom: 20px;
}

body:not(.home) .mlm-breadcrumb-modern a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

body:not(.home) .mlm-breadcrumb-modern a:hover {
    color: white;
}

body:not(.home) .mlm-blog-main-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0 0 20px 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

body:not(.home) .mlm-blog-description {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-bottom: 30px;
    line-height: 1.6;
}

body:not(.home) .mlm-blog-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

body:not(.home) .mlm-blog-count,
body:not(.home) .mlm-blog-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    padding: 12px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    font-size: 14px;
    font-weight: 600;
}

body:not(.home) .mlm-blog-count i,
body:not(.home) .mlm-blog-categories i {
    font-size: 16px;
}

/* Blog Filters */
body:not(.home) .mlm-blog-filters {
    background: white;
    border-radius: 20px;
    padding: 30px;
    margin: 0 20px 40px 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

body:not(.home) .mlm-filter-tabs {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

body:not(.home) .mlm-filter-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

body:not(.home) .mlm-filter-btn:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

body:not(.home) .mlm-filter-btn.active {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: transparent;
    color: white;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

body:not(.home) .mlm-filter-count {
    background: rgba(0, 0, 0, 0.1);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 700;
}

body:not(.home) .mlm-sort-select {
    padding: 12px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 25px;
    background: white;
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    outline: none;
    transition: all 0.3s ease;
}

body:not(.home) .mlm-sort-select:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

/* Blog Grid */
body:not(.home) .mlm-blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    padding: 0 20px;
    margin-bottom: 50px;
}

body:not(.home) .mlm-blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
}

body:not(.home) .mlm-blog-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

body:not(.home) .mlm-blog-card-inner {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Blog Image */
body:not(.home) .mlm-blog-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

body:not(.home) .mlm-blog-image-link {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

body:not(.home) .mlm-blog-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

body:not(.home) .mlm-blog-card:hover .mlm-blog-thumbnail {
    transform: scale(1.1);
}

body:not(.home) .mlm-blog-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 3rem;
}

body:not(.home) .mlm-blog-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: white;
    font-size: 2rem;
}

body:not(.home) .mlm-blog-card:hover .mlm-blog-overlay {
    opacity: 1;
}

body:not(.home) .mlm-blog-meta-top {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    z-index: 2;
}

body:not(.home) .mlm-blog-date,
body:not(.home) .mlm-blog-views {
    display: flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.9);
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    backdrop-filter: blur(10px);
}

/* Blog Content */
body:not(.home) .mlm-blog-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

body:not(.home) .mlm-blog-categories {
    margin-bottom: 15px;
}

body:not(.home) .mlm-blog-category {
    display: inline-block;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    margin-right: 8px;
    margin-bottom: 8px;
    transition: transform 0.3s ease;
}

body:not(.home) .mlm-blog-category:hover {
    transform: translateY(-2px);
    color: white;
    text-decoration: none;
}

body:not(.home) .mlm-blog-title {
    margin: 0 0 15px 0;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
}

body:not(.home) .mlm-blog-title a {
    color: #1e293b;
    text-decoration: none;
    transition: color 0.3s ease;
}

body:not(.home) .mlm-blog-title a:hover {
    color: #667eea;
}

body:not(.home) .mlm-blog-excerpt {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

body:not(.home) .mlm-blog-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

body:not(.home) .mlm-blog-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

body:not(.home) .mlm-author-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid #e2e8f0;
}

body:not(.home) .mlm-author-name {
    font-size: 14px;
    font-weight: 600;
    color: #64748b;
}

body:not(.home) .mlm-read-more {
    display: flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.3s ease;
}

body:not(.home) .mlm-read-more:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    color: white;
    text-decoration: none;
}

/* Load More */
body:not(.home) .mlm-blog-load-more {
    text-align: center;
    margin: 50px 0;
}

body:not(.home) .mlm-load-more-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

body:not(.home) .mlm-load-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

body:not(.home) .mlm-load-more-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Pagination */
body:not(.home) .mlm-blog-pagination {
    margin: 50px 0;
    text-align: center;
}

body:not(.home) .mlm-blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    margin: 0 5px;
    background: white;
    color: #64748b;
    text-decoration: none;
    border-radius: 50%;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

body:not(.home) .mlm-blog-pagination .page-numbers:hover,
body:not(.home) .mlm-blog-pagination .page-numbers.current {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
}

/* Empty State */
body:not(.home) .mlm-blog-empty {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 20px;
    margin: 0 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

body:not(.home) .mlm-empty-icon {
    font-size: 4rem;
    color: #94a3b8;
    margin-bottom: 20px;
}

body:not(.home) .mlm-blog-empty h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
}

body:not(.home) .mlm-blog-empty p {
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 30px;
}

body:not(.home) .mlm-empty-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

body:not(.home) .mlm-empty-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
    color: white;
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    body:not(.home) .mlm-blog-main-title {
        font-size: 2rem;
    }
    
    body:not(.home) .mlm-blog-stats {
        gap: 15px;
    }
    
    body:not(.home) .mlm-blog-filters {
        flex-direction: column;
        align-items: stretch;
        padding: 20px;
    }
    
    body:not(.home) .mlm-filter-tabs {
        justify-content: center;
    }
    
    body:not(.home) .mlm-blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 0 10px;
    }
    
    body:not(.home) .mlm-blog-image {
        height: 200px;
    }
    
    body:not(.home) .mlm-blog-content {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    body:not(.home) .mlm-blog-header {
        padding: 40px 0;
    }
    
    body:not(.home) .mlm-blog-main-title {
        font-size: 1.8rem;
    }
    
    body:not(.home) .mlm-blog-stats {
        flex-direction: column;
        gap: 10px;
    }
    
    body:not(.home) .mlm-filter-btn {
        padding: 10px 15px;
        font-size: 13px;
    }
    
    body:not(.home) .mlm-blog-grid {
        padding: 0 5px;
    }
    
    body:not(.home) .mlm-blog-content {
        padding: 15px;
    }
}

/* Animation Classes */
body:not(.home) .mlm-blog-card.fade-in {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Loading State */
body:not(.home) .mlm-blog-loading {
    opacity: 0.6;
    pointer-events: none;
}

body:not(.home) .mlm-blog-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #667eea;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}
