/* Ultra Modern Single Post - Test Version */

.mlm-ultra-modern-single {
    background: #f9fafb !important;
    min-height: 100vh;
}

.mlm-single-hero {
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%) !important;
    padding: 4rem 0 6rem !important;
    position: relative;
    overflow: hidden;
}

.mlm-single-hero * {
    color: white !important;
}

.mlm-post-meta-hero {
    margin-bottom: 2rem;
}

.mlm-meta-categories {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.mlm-category-badge {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.mlm-category-badge:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.mlm-meta-stats {
    display: flex !important;
    justify-content: flex-start;
    gap: 1rem;
    flex-wrap: nowrap;
    align-items: center;
    position: absolute !important;
    top: 2rem !important;
    left: 2rem !important;
    z-index: 15 !important;
}

.mlm-stat-item {
    display: flex !important;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 0.75rem;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    color: white !important;
}

.mlm-stat-item i {
    font-size: 0.875rem;
    color: white !important;
    opacity: 0.9;
}

.mlm-stat-item span {
    color: white !important;
}

.mlm-breadcrumb-ultra {
    margin-bottom: 1.5rem;
    text-align: right;
}

.mlm-breadcrumb-ultra a,
.mlm-breadcrumb-ultra span {
    color: white !important;
    text-decoration: none;
    font-size: 0.875rem;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.mlm-breadcrumb-ultra a:hover {
    opacity: 1;
    color: white !important;
}

.mlm-breadcrumb-ultra .breadcrumb-separator {
    margin: 0 0.5rem;
    color: white !important;
    opacity: 0.6;
}

.mlm-single-excerpt {
    font-size: 1.25rem !important;
    color: rgba(255, 255, 255, 0.9) !important;
    margin-bottom: 2rem !important;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.mlm-author-hero {
    display: flex !important;
    align-items: flex-start;
    justify-content: center;
    gap: 2rem;
    background: rgba(255, 255, 255, 0.2) !important;
    padding: 2rem !important;
    border-radius: 1.5rem !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    margin-top: 2rem;
}

.mlm-author-avatar-large {
    flex-shrink: 0;
    width: auto;
    height: auto;
}

.mlm-author-img {
    width: 5rem !important;
    height: 5rem !important;
    border-radius: 0.5rem !important;
    border: 3px solid rgba(255, 255, 255, 0.3);
    object-fit: contain;
    background: rgba(255, 255, 255, 0.1);
    display: block;
    flex-shrink: 0;
}

.mlm-author-name {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
    color: white !important;
}

.mlm-share-btn-hero {
    background: rgba(255, 255, 255, 0.2) !important;
    color: white !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.75rem 1.5rem !important;
    border-radius: 50px !important;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mlm-share-btn-hero:hover {
    background: rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-2px);
}

.mlm-featured-image-section {
    padding: 2rem 0 !important;
    background: white !important;
}

.mlm-featured-image-wrapper {
    position: relative;
    border-radius: 1.5rem !important;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.mlm-featured-image {
    width: 100% !important;
    height: auto !important;
    display: block;
}

.mlm-content-section {
    padding: 3rem 0 !important;
}

.mlm-single-article {
    background: white !important;
    border-radius: 1.5rem !important;
    overflow: hidden;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.mlm-article-content {
    padding: 3rem !important;
    font-size: 1.125rem;
    line-height: 1.8;
    color: #374151;
}

.mlm-article-content h1,
.mlm-article-content h2,
.mlm-article-content h3,
.mlm-article-content h4,
.mlm-article-content h5,
.mlm-article-content h6 {
    color: #111827 !important;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.mlm-article-content h2 {
    font-size: 1.75rem !important;
    border-bottom: 2px solid #6366f1;
    padding-bottom: 0.5rem;
}

.mlm-article-content h3 {
    font-size: 1.5rem !important;
}

.mlm-article-content p {
    margin-bottom: 1.5rem;
}

.mlm-article-content blockquote {
    background: #f9fafb !important;
    border-right: 4px solid #6366f1;
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0.5rem;
    font-style: italic;
    color: #4b5563;
}

.mlm-article-content img {
    max-width: 100% !important;
    height: auto !important;
    border-radius: 0.5rem;
    margin: 1.5rem 0;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.mlm-article-content a {
    color: #6366f1 !important;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mlm-article-content a:hover {
    color: #4f46e5 !important;
    text-decoration: underline;
}

.mlm-tags-section,
.mlm-categories-section {
    padding: 2rem 3rem !important;
    border-top: 1px solid #e5e7eb;
}

.mlm-section-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin-bottom: 1rem !important;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mlm-section-title i {
    color: #6366f1 !important;
}

.mlm-tags-wrapper,
.mlm-categories-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.mlm-tags-wrapper a,
.mlm-categories-wrapper a {
    background: #f3f4f6 !important;
    color: #374151 !important;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.mlm-tags-wrapper a:hover,
.mlm-categories-wrapper a:hover {
    background: #6366f1 !important;
    color: white !important;
    border-color: #6366f1;
    transform: translateY(-1px);
}

.mlm-author-box {
    padding: 2rem 3rem !important;
    border-top: 1px solid #e5e7eb;
    background: #f9fafb !important;
}

.mlm-author-box-content {
    display: flex;
    gap: 2rem;
    align-items: flex-start;
}

.mlm-author-avatar-box {
    flex-shrink: 0;
    width: auto;
    height: auto;
}

.mlm-author-avatar-box-img {
    width: 6rem !important;
    height: 6rem !important;
    border-radius: 0.5rem !important;
    border: 3px solid white;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    object-fit: contain;
    background: rgba(255, 255, 255, 0.1);
    display: block;
}

.mlm-author-name-box {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin-bottom: 0.5rem !important;
}

.mlm-author-description {
    color: #4b5563;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.mlm-author-link {
    background: #6366f1 !important;
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.mlm-author-link:hover {
    background: #4f46e5 !important;
    transform: translateY(-1px);
}

.mlm-post-navigation {
    padding: 2rem 3rem !important;
    border-top: 1px solid #e5e7eb;
    background: white !important;
}

.mlm-nav-link {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #f9fafb !important;
    border-radius: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #e5e7eb;
}

.mlm-nav-link:hover {
    background: #6366f1 !important;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.mlm-nav-icon {
    width: 3rem;
    height: 3rem;
    background: #6366f1;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.mlm-nav-link:hover .mlm-nav-icon {
    background: white;
    color: #6366f1;
}

.mlm-nav-title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
    line-height: 1.4;
}

.mlm-single-sidebar .widget {
    background: white !important;
    border-radius: 1.5rem;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.mlm-single-sidebar .widget-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #111827 !important;
    margin-bottom: 1.5rem !important;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid #6366f1;
}

.mlm-comments-section {
    padding: 3rem 0 !important;
    background: white !important;
}

.mlm-comments-wrapper {
    background: #f9fafb !important;
    border-radius: 1.5rem;
    padding: 2rem;
    box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    border: 1px solid #e5e7eb;
}

.mlm-related-section {
    padding: 3rem 0 !important;
    background: #f9fafb !important;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .mlm-single-title {
        font-size: 2.5rem !important;
    }
    
    .mlm-author-hero {
        flex-direction: column !important;
        text-align: center;
    }
    
    .mlm-article-content {
        padding: 2rem !important;
    }
    
    .mlm-tags-section,
    .mlm-categories-section,
    .mlm-author-box,
    .mlm-post-navigation {
        padding: 1.5rem 2rem !important;
    }
}

@media (max-width: 768px) {
    .mlm-single-hero {
        padding: 2rem 0 3rem !important;
    }
    
    .mlm-single-title {
        font-size: 2rem !important;
    }
    
    .mlm-single-excerpt {
        font-size: 1rem !important;
    }
    
    .mlm-meta-stats {
        position: static !important;
        justify-content: center;
        flex-direction: row !important;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }
    
    .mlm-stat-item {
        justify-content: center;
        padding: 0.4rem 0.6rem;
        font-size: 0.7rem;
    }
    
    .mlm-stat-item i {
        font-size: 0.75rem;
    }
    
    .mlm-author-hero {
        padding: 1rem !important;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 1rem;
    }
    
    .mlm-author-img {
        width: 4rem !important;
        height: 4rem !important;
    }
    
    .mlm-article-content {
        padding: 1.5rem !important;
        font-size: 1rem;
    }
    
    .mlm-author-box-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .mlm-author-avatar-box-img {
        width: 4rem !important;
        height: 4rem !important;
    }
    
    .mlm-nav-link {
        padding: 1rem;
    }
    
    .mlm-single-sidebar {
        position: static;
        margin-top: 2rem;
    }
}

@media (max-width: 480px) {
    .mlm-single-title {
        font-size: 1.75rem !important;
    }
    
    .mlm-author-hero {
        flex-direction: column !important;
        gap: 1rem;
    }
    
    .mlm-article-content {
        padding: 1rem !important;
    }
    
    .mlm-tags-section,
    .mlm-categories-section,
    .mlm-author-box,
    .mlm-post-navigation {
        padding: 1rem !important;
    }
    
    .mlm-nav-link {
        flex-direction: column;
        text-align: center;
    }
    
    .mlm-nav-icon {
        order: -1;
    }
}

/* ULTRA STRONG OVERRIDE - Remove ALL blur effects */
.mlm-single-hero,
.mlm-single-hero *,
.mlm-single-hero *::before,
.mlm-single-hero *::after,
.mlm-meta-stats,
.mlm-meta-stats *,
.mlm-author-hero,
.mlm-author-hero *,
.mlm-category-badge,
.mlm-share-btn-hero,
.mlm-print-btn,
.mlm-stat-item,
.mlm-stat-item i,
.mlm-stat-item span,
.mlm-author-avatar-large,
.mlm-author-img,
.mlm-author-details,
.mlm-author-name,
.mlm-author-bio,
.mlm-author-meta,
.mlm-share-hero,
.mlm-breadcrumb-ultra,
.mlm-breadcrumb-ultra a,
.mlm-breadcrumb-ultra span,
.mlm-post-meta-hero,
.mlm-post-meta-hero * {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    text-shadow: none !important;
    -webkit-text-stroke: none !important;
    text-rendering: optimizeLegibility !important;
    font-smooth: always !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
}

/* Force clear text rendering */
.mlm-single-hero h1,
.mlm-single-hero h2,
.mlm-single-hero h3,
.mlm-single-hero p,
.mlm-single-hero span,
.mlm-single-hero div,
.mlm-single-hero a {
    text-rendering: optimizeLegibility !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    font-smooth: always !important;
}

/* Remove any overlays or blocking elements */
.mlm-single-hero::before,
.mlm-single-hero::after {
    display: none !important;
}

.mlm-single-hero *::before,
.mlm-single-hero *::after {
    display: none !important;
}

/* Ensure all elements are clickable and visible */
.mlm-single-hero,
.mlm-single-hero * {
    pointer-events: auto !important;
    z-index: 10 !important;
    position: relative !important;
}

.mlm-meta-stats,
.mlm-author-hero,
.mlm-share-btn-hero,
.mlm-print-btn {
    pointer-events: auto !important;
    z-index: 20 !important;
    position: relative !important;
}

/* Desktop specific positioning for meta stats */
@media (min-width: 1025px) {
    .mlm-meta-stats {
        position: absolute !important;
        top: 2rem !important;
        left: 2rem !important;
        z-index: 15 !important;
        transform: none !important;
        margin: 0 !important;
    }
    
    .mlm-stat-item {
        position: relative !important;
        transform: none !important;
    }
}

/* ULTRA STRONG OVERRIDE for meta stats positioning - DESKTOP ONLY */
@media (min-width: 1025px) {
    .mlm-single-hero .mlm-meta-stats {
        position: absolute !important;
        top: 2rem !important;
        left: 2rem !important;
        z-index: 15 !important;
        transform: none !important;
        margin: 0 !important;
        display: flex !important;
        justify-content: flex-start !important;
        align-items: center !important;
        gap: 1rem !important;
    }
}

/* MOBILE RESPONSIVE FIX - Override desktop styles on mobile */
@media (max-width: 1024px) {
    .mlm-single-hero .mlm-meta-stats {
        position: static !important;
        top: auto !important;
        left: auto !important;
        justify-content: center !important;
        flex-direction: row !important;
        gap: 0.5rem !important;
        margin-bottom: 1rem !important;
        transform: none !important;
    }
    
    .mlm-stat-item {
        justify-content: center !important;
        padding: 0.4rem 0.6rem !important;
        font-size: 0.7rem !important;
        position: relative !important;
        transform: none !important;
    }
    
    .mlm-stat-item i {
        font-size: 0.75rem !important;
    }
}