/* ===================================================================
   Shortcode Widgets Styles for Vixbee Blog
   Minimal, responsive components for blog shortcodes
   =================================================================== */

/* === ULTRA MINIMAL BLOG WIDGET CONTAINER === */
.blog-simple-widget {
    margin: 2rem 0;
    padding: 1.5rem;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    text-align: center;
}

/* Legacy minimal blog shortcode widget */
.blog-shortcode-widget {
    margin: 1.5rem 0;
    border-radius: 8px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: all 0.2s ease;
}

.blog-shortcode-widget:hover {
    border-color: #d1d5db;
}

/* Legacy support for old shortcode widgets */
.shortcode-widget {
    margin: 2rem 0;
    border-radius: 12px;
    background: var(--bs-white);
    border: 1px solid rgba(139, 69, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(139, 69, 255, 0.08);
}

.shortcode-widget:hover {
    box-shadow: 0 8px 30px rgba(139, 69, 255, 0.15);
    transform: translateY(-2px);
}

/* === MINIMAL BLOG WIDGET HEADER === */
.blog-widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    background: #f8f9fa;
    border-bottom: 1px solid #e5e7eb;
}

.blog-widget-title {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.blog-widget-title i {
    font-size: 1.25rem;
    color: #8b45ff;
}

.blog-view-all-btn {
    color: #8b45ff;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.2s ease;
}

.blog-view-all-btn:hover {
    color: #6c3ce0;
    text-decoration: none;
}

/* Legacy widget header support */
.widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, #8b45ff 0%, #6c3ce0 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.widget-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.1'%3E%3Ccircle cx='7' cy='7' r='1'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    opacity: 0.1;
    z-index: 1;
}

.widget-header > * {
    position: relative;
    z-index: 2;
}

.widget-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.widget-title i {
    font-size: 1.5rem;
    opacity: 0.9;
}

.view-all-btn {
    color: white;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.view-all-btn:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
    transform: translateX(3px);
}

/* === ULTRA MINIMAL HEADER === */
.blog-simple-header {
    margin-bottom: 1.5rem;
}

.article-body .blog-simple-title {
    margin-top: 1rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
}

.article-body .blog-simple-subtitle {
    font-size: 0.9rem;
    color: #6b7280;
    margin: 0;
    font-style: italic;
}

/* === ULTRA MINIMAL GRID === */
.blog-simple-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .blog-simple-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .blog-simple-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}

/* Legacy minimal blog grids */
.blog-template-grid {
    display: grid;
    grid-template-columns: repeat(var(--blog-columns, 3), 1fr);
    gap: 1rem;
    padding: 1.25rem;
}

@media (max-width: 768px) {
    .blog-template-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .blog-template-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
}

/* Legacy content grids support */
.template-grid,
.collection-grid,
.category-grid {
    display: grid;
    gap: 1.5rem;
    padding: 2rem;
}

.template-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.collection-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.category-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* === ULTRA MINIMAL SIMPLE CARD === */
.blog-simple-card {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: #f8f9fa;
    transition: all 0.2s ease;
}

.blog-simple-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.blog-simple-link {
    display: block;
    text-decoration: none;
    position: relative;
}

.blog-simple-image {
    position: relative;
    overflow: hidden;
}

.blog-simple-img {
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.article-body .blog-simple-img {
    margin: 0;
}

.blog-simple-card:hover .blog-simple-img {
    transform: scale(1.05);
}

.blog-simple-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-simple-card:hover .blog-simple-overlay {
    opacity: 1;
}

.blog-simple-overlay i {
    font-size: 2rem;
    color: white;
}

/* === MORE LINK === */
.blog-simple-more {
    margin-top: 1rem;
}

.blog-simple-more-link {
    display: inline-block;
    color: #8b45ff;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.5rem 1rem;
    border: 1px solid #8b45ff;
    border-radius: 20px;
    transition: all 0.2s ease;
}

.blog-simple-more-link:hover {
    background: linear-gradient(135deg, #8e3cec, #b967f0);
    color: white;
    text-decoration: none;
}

/* === EMPTY STATE === */
.blog-simple-empty {
    padding: 2rem;
    color: #6b7280;
    font-style: italic;
}

/* Legacy minimal blog template card */
.blog-template-card {
    background: white;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
    position: relative;
}

.blog-template-card:hover {
    border-color: #d1d5db;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.blog-template-image {
    position: relative;
    aspect-ratio: 4/3;
    background: #f3f4f6;
    overflow: hidden;
}

.blog-template-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.2s ease;
}

.blog-template-card:hover .blog-template-img {
    transform: scale(1.02);
}

.blog-image-link {
    display: block;
    text-decoration: none;
}

.blog-premium-badge,
.blog-video-badge {
    position: absolute;
    top: 0.5rem;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.blog-premium-badge {
    right: 0.5rem;
    background: rgba(245, 158, 11, 0.9);
}

.blog-video-badge {
    left: 0.5rem;
    background: rgba(239, 68, 68, 0.9);
}

/* Legacy template card support */
.template-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid #f0f0f0;
}

.template-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(139, 69, 255, 0.2);
    border-color: rgba(139, 69, 255, 0.3);
}

.template-image {
    position: relative;
    aspect-ratio: 16/12;
    background: #f8f9fa;
    overflow: hidden;
}

.template-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.template-card:hover .template-image img {
    transform: scale(1.05);
}

.template-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(139, 69, 255, 0.8), rgba(108, 60, 224, 0.8));
    opacity: 0;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.template-card:hover .template-overlay {
    opacity: 1;
}

.overlay-btn {
    background: white;
    color: #8b45ff;
    border: none;
    padding: 0.75rem;
    border-radius: 50%;
    font-size: 1.25rem;
    transition: all 0.3s ease;
    cursor: pointer;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.overlay-btn:hover {
    background: #8b45ff;
    color: white;
    transform: scale(1.1);
}

.template-badges {
    position: absolute;
    top: 1rem;
    left: 1rem;
    display: flex;
    gap: 0.5rem;
    flex-direction: column;
}

.template-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.template-badge.free {
    background: #10b981;
    color: white;
}

.template-badge.premium {
    background: #f59e0b;
    color: white;
}

.template-badge.featured {
    background: #ef4444;
    color: white;
}

.blog-template-info {
    padding: 0.75rem;
}

.blog-template-title {
    font-size: 0.875rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0 0 0.5rem 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-template-title a {
    color: #1f2937;
    text-decoration: none;
}

.blog-template-title a:hover {
    color: #8b45ff;
}

.blog-template-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #6b7280;
}

.blog-author-info {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    min-width: 0;
    flex: 1;
}

.blog-author-avatar {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.blog-author-name {
    font-size: 0.75rem;
    color: #6b7280;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.blog-template-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #6b7280;
    flex-shrink: 0;
}

.blog-stat-item {
    display: flex;
    align-items: center;
    gap: 0.125rem;
}

.blog-stat-item i {
    font-size: 0.75rem;
    color: #9ca3af;
}



/* === MASONRY LAYOUT === */
.masonry-grid {
    columns: 3;
    column-gap: 1.5rem;
    padding: 2rem;
}

.masonry-item {
    break-inside: avoid;
    margin-bottom: 1.5rem;
}

/* === SLIDER LAYOUT === */
.slider-container {
    position: relative;
    padding: 2rem;
}

.slider-wrapper {
    overflow: hidden;
    border-radius: 12px;
}

.slider-track {
    display: flex;
    transition: transform 0.3s ease;
    gap: 1.5rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.slider-btn {
    background: #8b45ff;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background: #6c3ce0;
    transform: scale(1.1);
}

.slider-btn:disabled {
    background: #d1d5db;
    cursor: not-allowed;
    transform: none;
}

/* === CATEGORY SHOWCASE === */
.category-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    border: 1px solid #f0f0f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #8b45ff, #6c3ce0);
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(139, 69, 255, 0.15);
    border-color: rgba(139, 69, 255, 0.3);
}

.category-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #8b45ff, #6c3ce0);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.category-name {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
}

.category-count {
    color: #6b7280;
    font-size: 0.875rem;
}

/* === AUTHOR SPOTLIGHT === */
.author-spotlight .author-spotlight {
    background: linear-gradient(135deg, #8b45ff 0%, #6c3ce0 100%);
    color: white;
    border-radius: 12px;
    padding: 2rem;
    margin: 2rem 0;
    position: relative;
    overflow: hidden;
}

.author-spotlight .author-spotlight::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 20px 20px;
    transform: rotate(45deg);
}

.author-spotlight .author-header {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.author-spotlight .author-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.author-spotlight .author-details h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 700;
}

.author-spotlight .author-title {
    opacity: 0.9;
    font-size: 1rem;
}

.author-spotlight .author-stats {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 2;
}

.author-spotlight .author-stat {
    text-align: center;
}

.author-spotlight .author-stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
}

.author-spotlight .author-stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
}

/* === TEMPLATE STATS WIDGET === */
.stats-widget {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid #f0f0f0;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.stat-card {
    text-align: center;
    padding: 1.5rem;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: rgba(139, 69, 255, 0.1);
    transform: translateY(-2px);
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #8b45ff;
    display: block;
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    .widget-header {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .template-grid,
    .collection-grid,
    .category-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem;
    }
    
    .masonry-grid {
        columns: 1;
        padding: 1.5rem;
    }
    
    .author-header {
        flex-direction: column;
        text-align: center;
    }
    
    .author-stats {
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .shortcode-widget {
        margin: 1rem 0;
        border-radius: 8px;
    }
    
    .template-info,
    .collection-info {
        padding: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .author-spotlight {
        padding: 1.5rem;
    }
}

/* === LOADING STATES === */
.widget-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    color: #8b45ff;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(139, 69, 255, 0.3);
    border-top: 3px solid #8b45ff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* === BLOG WIDGET FOOTER === */
.blog-widget-footer {
    padding: 0.75rem 1.25rem;
    background: #f9fafb;
    border-top: 1px solid #e5e7eb;
    text-align: center;
}

.blog-sort-indicator {
    color: #6b7280;
    font-size: 0.75rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

.blog-sort-indicator i {
    color: #8b45ff;
}

/* === BLOG ERROR STATES === */
.blog-widget-error {
    padding: 1.5rem;
    text-align: center;
    color: #ef4444;
    background: #fef2f2;
    border-top: 1px solid #fecaca;
}

.blog-widget-error i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

.blog-widget-error p {
    margin: 0;
    font-size: 0.875rem;
}

/* Legacy error states support */
.widget-error {
    padding: 2rem;
    text-align: center;
    color: #ef4444;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    margin: 1rem 0;
}

.widget-error i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

/* ===================================================================
   DARK MODE STYLES FOR BLOG SHORTCODE WIDGETS
   =================================================================== */

/* === BLOG SHORTCODE WIDGET DARK MODE === */
body[data-layout-mode=dark] .blog-shortcode-widget {
    background: #171717;
    border-color: #2a2a2a;
}

body[data-layout-mode=dark] .blog-shortcode-widget:hover {
    border-color: #3c3c3c;
}

/* === BLOG WIDGET HEADER DARK MODE === */
body[data-layout-mode=dark] .blog-widget-header {
    background: #1e1e1e;
    border-bottom-color: #2a2a2a;
}

body[data-layout-mode=dark] .blog-widget-title {
    color: #f5f5f5;
}

body[data-layout-mode=dark] .blog-widget-title i {
    color: #a855f7;
}

body[data-layout-mode=dark] .blog-view-all-btn {
    color: #a855f7;
}

body[data-layout-mode=dark] .blog-view-all-btn:hover {
    color: #c084fc;
}

/* === BLOG TEMPLATE CARD DARK MODE === */
body[data-layout-mode=dark] .blog-template-card {
    background: #171717;
    border-color: #2a2a2a;
}

body[data-layout-mode=dark] .blog-template-card:hover {
    border-color: #3c3c3c;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body[data-layout-mode=dark] .blog-template-image {
    background: #1e1e1e;
}

body[data-layout-mode=dark] .blog-premium-badge {
    background: rgba(245, 158, 11, 0.9);
}

body[data-layout-mode=dark] .blog-video-badge {
    background: rgba(239, 68, 68, 0.9);
}

/* === BLOG TEMPLATE INFO DARK MODE === */
body[data-layout-mode=dark] .blog-template-title {
    color: #f5f5f5;
}

body[data-layout-mode=dark] .blog-template-title a {
    color: #f5f5f5;
}

body[data-layout-mode=dark] .blog-template-title a:hover {
    color: #a855f7;
}

body[data-layout-mode=dark] .blog-template-meta {
    color: #adb5bd;
}

body[data-layout-mode=dark] .blog-author-name {
    color: #adb5bd;
}

body[data-layout-mode=dark] .blog-template-stats {
    color: #adb5bd;
}

body[data-layout-mode=dark] .blog-stat-item i {
    color: #6b7280;
}

/* === BLOG WIDGET FOOTER DARK MODE === */
body[data-layout-mode=dark] .blog-widget-footer {
    background: #1e1e1e;
    border-top-color: #2a2a2a;
}

body[data-layout-mode=dark] .blog-sort-indicator {
    color: #adb5bd;
}

body[data-layout-mode=dark] .blog-sort-indicator i {
    color: #a855f7;
}

/* === BLOG ERROR STATES DARK MODE === */
body[data-layout-mode=dark] .blog-widget-error {
    background: #2a1a1a;
    border-top-color: #4a2626;
    color: #f87171;
}

body[data-layout-mode=dark] .blog-widget-error p {
    color: #f87171;
}

/* ===================================================================
   DARK MODE STYLES FOR ULTRA MINIMAL BLOG WIDGETS
   =================================================================== */

/* === SIMPLE WIDGET DARK MODE === */
body[data-layout-mode=dark] .blog-simple-widget {
    background: #171717;
    border-color: #2a2a2a;
}

/* === SIMPLE HEADER DARK MODE === */
body[data-layout-mode=dark] .blog-simple-title {
    color: #f5f5f5;
}

body[data-layout-mode=dark] .blog-simple-subtitle {
    color: #adb5bd;
}

/* === SIMPLE CARD DARK MODE === */
body[data-layout-mode=dark] .blog-simple-card {
    background: #1e1e1e;
}

body[data-layout-mode=dark] .blog-simple-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

body[data-layout-mode=dark] .blog-simple-overlay {
    background: rgba(0, 0, 0, 0.7);
}

/* === SIMPLE MORE LINK DARK MODE === */
body[data-layout-mode=dark] .blog-simple-more-link {
    color: #a855f7;
    border-color: #a855f7;
}

body[data-layout-mode=dark] .blog-simple-more-link:hover {
    background: linear-gradient(135deg, #8e3cec, #b967f0);
    color: #fff;
}

/* === SIMPLE EMPTY STATE DARK MODE === */
body[data-layout-mode=dark] .blog-simple-empty {
    color: #adb5bd;
}

/* ===================================================================
   TEMPLATE STATS WIDGET STYLES - LIGHT & DARK MODE
   =================================================================== */

/* === BLOG STATS WIDGET IMPROVEMENTS === */
.blog-stats-widget {
    background: transparent;
    border: none;
    padding: 0;
    box-shadow: none;
}

.blog-stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.blog-stat-card {
    text-align: center;
    padding: 1.25rem;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.blog-stat-card:hover {
    background: rgba(139, 69, 255, 0.05);
    border-color: rgba(139, 69, 255, 0.2);
    transform: translateY(-1px);
}

.blog-stat-number {
    font-size: 1.75rem;
    font-weight: 700;
    color: #8b45ff;
    display: block;
    margin-bottom: 0.375rem;
    line-height: 1;
}

.blog-stat-label {
    color: #6b7280;
    font-size: 0.875rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* === BLOG STATS RESPONSIVE === */
@media (max-width: 768px) {
    .blog-stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .blog-stat-card {
        padding: 1rem;
    }
    
    .blog-stat-number {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .blog-stats-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .blog-stat-number {
        font-size: 1.25rem;
    }
}

/* === BLOG STATS DARK MODE === */
body[data-layout-mode=dark] .blog-stat-card {
    background: #1e1e1e;
    border-color: #2a2a2a;
}

body[data-layout-mode=dark] .blog-stat-card:hover {
    background: rgba(168, 85, 247, 0.1);
    border-color: rgba(168, 85, 247, 0.3);
}

body[data-layout-mode=dark] .blog-stat-number {
    color: #a855f7;
}

body[data-layout-mode=dark] .blog-stat-label {
    color: #adb5bd;
}

/* ===================================================================
   AUTHOR SPOTLIGHT WIDGET STYLES - LIGHT & DARK MODE
   =================================================================== */

/* === AUTHOR SPOTLIGHT WIDGET === */
.article-body .blog-author-section {
    text-align: center;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.article-body .blog-author-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.article-body .blog-author-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #8b45ff;
    background: #f8f9fa;
}

.article-body .blog-author-image {
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    border-radius: 50%;
}

.article-body .blog-author-details {
    text-align: center;
}

.article-body .blog-author-name {
    margin: 0 0 0.25rem 0;
    font-size: 1.375rem;
    font-weight: 700;
    color: #1f2937;
}

.article-body .blog-author-role {
    margin: 0;
    font-size: 0.9rem;
    color: #6b7280;
    font-style: italic;
}

.article-body .blog-author-stats {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
}

.article-body .blog-author-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.article-body .blog-author-stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: #8b45ff;
    line-height: 1;
}

.blog-author-stat-label {
    font-size: 0.8rem;
    color: #6b7280;
    margin-top: 0.25rem;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 0.5px;
}

.blog-author-actions {
    display: flex;
    justify-content: center;
}

.blog-author-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: #f8f9fa;
    color: #1f2937;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.2s ease;
    border: 1px solid #e5e7eb;
}

.blog-author-btn:hover {
    background: #8b45ff;
    color: white;
    border-color: #8b45ff;
    text-decoration: none;
    transform: translateY(-1px);
}

.blog-author-btn i {
    font-size: 1.1rem;
}

/* Mobile adjustments for author section */
@media (max-width: 480px) {
    .blog-author-stats {
        gap: 1rem;
    }
    
    .blog-author-stat-number {
        font-size: 1.25rem;
    }
    
    .blog-author-name {
        font-size: 1.25rem;
    }
    
    .blog-author-avatar {
        width: 70px;
        height: 70px;
    }
}

/* === DARK MODE: AUTHOR SPOTLIGHT === */
body[data-layout-mode=dark] .blog-author-section {
    border-bottom-color: #2a2a2a;
}

body[data-layout-mode=dark] .blog-author-avatar {
    border-color: #a855f7;
    background: #1e1e1e;
}

body[data-layout-mode=dark] .blog-author-name {
    color: #f5f5f5;
}

body[data-layout-mode=dark] .blog-author-role {
    color: #adb5bd;
}

body[data-layout-mode=dark] .blog-author-stat-number {
    color: #a855f7;
}

body[data-layout-mode=dark] .blog-author-stat-label {
    color: #9ca3af;
}

body[data-layout-mode=dark] .blog-author-btn {
    background: #2a2a2a;
    color: #f5f5f5;
    border-color: #2a2a2a;
}

body[data-layout-mode=dark] .blog-author-btn:hover {
    background: #a855f7;
    color: white;
    border-color: #a855f7;
}

/* ===================================================================
   CATEGORY SHOWCASE WIDGET - ULTRA MINIMAL VERSION
   =================================================================== */

/* === CATEGORY SHOWCASE CARD === */
.category-showcase-card {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: #f8f9fa;
    transition: all 0.2s ease;
}

.category-showcase-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* === CATEGORY PLACEHOLDER === */
.blog-simple-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8b45ff 0%, #a855f7 100%);
    color: white;
    font-size: 2rem;
    min-height: 120px;
}

/* === CATEGORY OVERLAY CONTENT === */
.category-overlay-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
    padding: 1rem;
    height: 100%;
}

.category-overlay-icon {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    opacity: 0.9;
}

.category-overlay-name {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.2;
}

.category-overlay-stats {
    display: flex;
    gap: 0.75rem;
    font-size: 0.75rem;
    opacity: 0.9;
    flex-wrap: wrap;
    justify-content: center;
}

.category-overlay-stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.category-overlay-stats i {
    font-size: 0.875rem;
}

/* === RESPONSIVE CATEGORY SHOWCASE === */
@media (max-width: 768px) {
    .category-overlay-content {
        padding: 0.75rem;
    }
    
    .category-overlay-icon {
        font-size: 1.5rem;
        margin-bottom: 0.375rem;
    }
    
    .category-overlay-name {
        font-size: 0.875rem;
        margin-bottom: 0.375rem;
    }
    
    .category-overlay-stats {
        font-size: 0.7rem;
        gap: 0.5rem;
    }
    
    .blog-simple-placeholder {
        font-size: 1.5rem;
        min-height: 100px;
    }
}

@media (max-width: 480px) {
    .category-overlay-stats {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .category-overlay-stats span {
        justify-content: center;
    }
}

/* === DARK MODE: CATEGORY SHOWCASE === */
body[data-layout-mode=dark] .category-showcase-card {
    background: #1e1e1e;
}

body[data-layout-mode=dark] .category-showcase-card:hover {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

body[data-layout-mode=dark] .blog-simple-placeholder {
    background: linear-gradient(135deg, #a855f7 0%, #c084fc 100%);
}

/* === ULTRA MINIMAL CURATED COLLECTIONS === */
.blog-simple-widget .blog-simple-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.75rem;
    margin-bottom: 1rem;
}

@media (max-width: 768px) {
    .blog-simple-widget .blog-simple-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
    }
}
@media (max-width: 480px) {
    .blog-simple-widget .blog-simple-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

.blog-simple-card {
    background: #f8f9fa;
    border-radius: 6px;
    border: 1px solid #e5e7eb;
    overflow: hidden;
    transition: none;
    padding: 0;
    margin: 0;
}

.blog-simple-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.blog-simple-image {
    width: 100%;
    background: #e5e7eb;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}



.blog-simple-placeholder {
    width: 100%;
    height: 100%;
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #bdbdbd;
    font-size: 2rem;
    background: #e5e7eb;
}

.blog-template-info {
    padding: 0.75rem 1rem 1rem 1rem;
    text-align: left;
}

.blog-template-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-template-meta {
    font-size: 0.85rem;
    color: #6b7280;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

/* Empty state icon */
.blog-simple-empty i {
    font-size: 2rem;
    color: #bdbdbd;
    margin-bottom: 0.5rem;
    display: block;
}

/* === DARK MODE === */
body[data-layout-mode=dark] .blog-simple-card {
    background: #1e1e1e;
    border-color: #2a2a2a;
}
body[data-layout-mode=dark] .blog-simple-image {
    background: #23272f;
}
body[data-layout-mode=dark] .blog-simple-placeholder {
    background: #23272f;
    color: #444;
}
body[data-layout-mode=dark] .blog-template-title {
    color: #f5f5f5;
}
body[data-layout-mode=dark] .blog-template-meta {
    color: #adb5bd;
}
body[data-layout-mode=dark] .blog-simple-empty i {
    color: #444;
}

/* ===================================================================
   MINIMALIST COLLECTION CARD STYLES
   =================================================================== */

/* === COLLECTION CARD BASE === */
.blog-collection-card {
    position: relative;
    overflow: hidden;
    border-radius: 6px;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    transition: all 0.2s ease;
}

.blog-collection-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: #d1d5db;
}

.blog-collection-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* === COLLECTION PREVIEW === */
.blog-collection-preview {
    position: relative;
    overflow: hidden;
}

.blog-collection-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2px;
    height: 180px;
    background: #e5e7eb;
}

.blog-collection-main {
    height: 100%;
    overflow: hidden;
    border-radius: 0;
}

.article-body .blog-collection-img {
    width: 100%;
    height: 100%;
    margin: 0;
    object-fit: cover;
    display: block;
    border-radius: 0;
    transition: transform 0.3s ease;
}

.blog-collection-card:hover .blog-collection-img {
    transform: scale(1.05);
}

.blog-collection-thumbnails {
    display: flex;
    flex-direction: column;
    height: 100%;
    gap: 2px;
}

.blog-collection-thumb {
    flex: 1 1 0;
    width: 100%;
    overflow: hidden;
    border-radius: 0;
    background: #d1d5db;
    display: flex;
}

.blog-collection-empty {
    background: #d1d5db;
}

/* === COLLECTION OVERLAY === */
.blog-collection-overlay {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    background: rgba(139, 69, 255, 0.9);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.blog-collection-card:hover .blog-collection-overlay {
    opacity: 1;
}

.blog-collection-count {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.blog-collection-count i {
    font-size: 0.875rem;
}

/* === COLLECTION PLACEHOLDER === */
.blog-collection-placeholder {
    width: 100%;
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8b45ff 0%, #a855f7 100%);
    color: white;
    font-size: 2.5rem;
}

/* === COLLECTION INFO === */
.blog-collection-info {
    padding: 0.875rem 1rem 1rem 1rem;
}

.article-body .blog-collection-title {
    font-size: 1rem;
    font-weight: 600;
    color: #1f2937;
    margin: 0.5rem 0 0.5rem 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.article-body .blog-collection-meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.8rem;
    color: #6b7280;
    flex-wrap: wrap;
}

.blog-collection-items {
    font-weight: 600;
    color: #8b45ff;
}

.blog-collection-author {
    color: #6b7280;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    .blog-collection-grid {
        height: 160px;
    }
    
    .blog-collection-placeholder {
        height: 160px;
        font-size: 2rem;
    }
    
    .blog-collection-info {
        padding: 0.75rem;
    }
    
    .blog-collection-title {
        font-size: 0.9rem;
    }
    
    .blog-collection-meta {
        font-size: 0.75rem;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .blog-collection-grid {
        height: 140px;
    }
    
    .blog-collection-placeholder {
        height: 140px;
        font-size: 1.75rem;
    }
    
    .blog-collection-overlay {
        bottom: 0.5rem;
        right: 0.5rem;
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
    }
}

/* ===================================================================
   DARK MODE - COLLECTION CARDS
   =================================================================== */

body[data-layout-mode=dark] .blog-collection-card {
    background: #1e1e1e;
    border-color: #2a2a2a;
}

body[data-layout-mode=dark] .blog-collection-card:hover {
    border-color: #3c3c3c;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

body[data-layout-mode=dark] .blog-collection-grid {
    background: #23272f;
}

body[data-layout-mode=dark] .blog-collection-thumb {
    background: #374151;
}

body[data-layout-mode=dark] .blog-collection-empty {
    background: #374151;
}

body[data-layout-mode=dark] .blog-collection-overlay {
    background: rgba(168, 85, 247, 0.9);
}

body[data-layout-mode=dark] .blog-collection-placeholder {
    background: linear-gradient(135deg, #a855f7 0%, #c084fc 100%);
}

body[data-layout-mode=dark] .blog-collection-title {
    color: #f5f5f5;
}

body[data-layout-mode=dark] .blog-collection-items {
    color: #a855f7;
}

body[data-layout-mode=dark] .blog-collection-author {
    color: #adb5bd;
}

/* ===================================================================
   END OF SHORTCODE WIDGETS CSS
   =================================================================== */

/* ===================================================================
   SEARCH WIDGET STYLES - MINIMALIST DESIGN
   =================================================================== */

/* === SEARCH FORM === */
.blog-search-form {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #e5e7eb;
}

.search-form {
    width: 100%;
}

.blog-search-input {
    margin-bottom: 1rem;
}

.search-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 50px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.search-input-wrapper:focus-within {
    border-color: #8b45ff;
    box-shadow: 0 0 0 3px rgba(139, 69, 255, 0.1);
}

.search-icon {
    position: absolute;
    left: 1rem;
    color: #6b7280;
    font-size: 1.125rem;
    z-index: 2;
}

.search-input {
    flex: 1;
    padding: 0.875rem 1rem 0.875rem 3rem;
    border: none;
    background: transparent;
    font-size: 0.9rem;
    color: #1f2937;
    outline: none;
}

.search-input::placeholder {
    color: #9ca3af;
}

.search-btn {
    background: #8b45ff;
    color: white;
    border: none;
    padding: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    aspect-ratio: 1/1;
    margin: 0.5rem;
}

.search-btn:hover {
    background: #6c3ce0;
}

.search-btn i {
    font-size: 1rem;
}

/* === SEARCH FILTERS === */
.blog-search-filters {
    margin-top: 0.75rem;
}

.filter-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.category-filter-btn {
    background: #f3f4f6;
    color: #374151;
    border: 1px solid #e5e7eb;
    padding: 0.5rem 0.875rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    text-decoration: none;
}

.category-filter-btn:hover {
    background: #8b45ff;
    color: white;
    border-color: #8b45ff;
    transform: translateY(-1px);
    text-decoration: none;
}

.category-filter-btn i {
    font-size: 0.75rem;
    opacity: 0.8;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    .search-input-wrapper {
        border-radius: 6px;
    }
    
    .search-input {
        padding: 0.75rem 1rem 0.75rem 2.75rem;
        font-size: 0.875rem;
    }
    
    .search-icon {
        left: 0.875rem;
        font-size: 1rem;
    }
    
    .search-btn {
        padding: 0.75rem 1rem;
    }
    
    .filter-categories {
        gap: 0.375rem;
    }
    
    .category-filter-btn {
        padding: 0.375rem 0.75rem;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .search-input {
        padding: 0.625rem 0.875rem 0.625rem 2.5rem;
    }
    
    .search-icon {
        left: 0.75rem;
        font-size: 0.9rem;
    }
    
    .search-btn {
        padding: 0.625rem 0.875rem;
    }
    
    .category-filter-btn {
        padding: 0.25rem 0.625rem;
        font-size: 0.7rem;
        border-radius: 16px;
    }
    

}

/* ===================================================================
   DARK MODE - SEARCH WIDGET
   =================================================================== */

body[data-layout-mode=dark]   .blog-search-form {
    border-bottom-color: #2a2a2a;
}

body[data-layout-mode=dark] .search-input-wrapper {
    background: #2a2a2a;
    border-color: #2a2a2a;
}

body[data-layout-mode=dark] .search-input-wrapper:focus-within {
    border-color: #a855f7;
    box-shadow: 0 0 0 3px rgba(168, 85, 247, 0.1);
}

body[data-layout-mode=dark] .search-icon {
    color: #9ca3af;
}

body[data-layout-mode=dark] .search-input {
    color: #f5f5f5;
}

body[data-layout-mode=dark] .search-input::placeholder {
    color: #6b7280;
}

body[data-layout-mode=dark] .search-btn {
    background: #a855f7;
}

body[data-layout-mode=dark] .search-btn:hover {
    background: #c084fc;
}

body[data-layout-mode=dark] .category-filter-btn {
    background: #2a2a2a;
    color: #f5f5f5;
    border-color: #2a2a2a;
}

body[data-layout-mode=dark] .category-filter-btn:hover {
    background: #a855f7;
    color: white;
    border-color: #a855f7;
}

/* ===================================================================
   END OF SEARCH WIDGET STYLES
   =================================================================== */

/* ===================================================================
   RELATED POSTS WIDGET
   =================================================================== */

/* === RELATED POSTS GRID === */
.blog-related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.25rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .blog-related-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
}

/* === RELATED POST CARD === */
.blog-related-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.blog-related-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    border-color: rgba(139, 69, 255, 0.3);
}

.blog-related-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

/* === RELATED POST IMAGE === */
.blog-related-image {
    position: relative;
    aspect-ratio: 16/9;
    background: #f8f9fa;
    overflow: hidden;
}

.blog-related-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.blog-related-card:hover .blog-related-img {
    transform: scale(1.05);
}

/* === RELATED POST PLACEHOLDER === */
.blog-related-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #8b45ff 0%, #a855f7 100%);
    color: white;
    font-size: 2.5rem;
    opacity: 0.8;
}

/* === READING TIME BADGE === */
.blog-related-badge {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.375rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.blog-related-card:hover .blog-related-badge {
    background: rgba(139, 69, 255, 0.9);
    transform: scale(1.05);
}

.blog-related-badge i {
    font-size: 0.875rem;
}

/* === RELATED POST CONTENT === */
.blog-related-content {
    padding: 1.25rem;
}

.article-body .blog-related-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: #1f2937;
    margin: 0 0 0.75rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.blog-related-card:hover .blog-related-title {
    color: #8b45ff;
}

.blog-related-excerpt {
    font-size: 0.875rem;
    color: #6b7280;
    line-height: 1.6;
    margin: 0 0 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === RELATED POST META === */
.blog-related-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
}

.blog-related-stats {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.blog-related-stats .blog-stat-item {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8rem;
    color: #6b7280;
    font-weight: 500;
}

.blog-related-stats .blog-stat-item i {
    font-size: 0.875rem;
    color: #9ca3af;
}

/* === READ MORE ARROW === */
.blog-related-arrow {
    color: #8b45ff;
    font-size: 1.125rem;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.blog-related-card:hover .blog-related-arrow {
    transform: translateX(4px);
    opacity: 1;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    .blog-related-content {
        padding: 1rem;
    }
    
    .blog-related-title {
        font-size: 1rem;
        margin-bottom: 0.5rem;
    }
    
    .blog-related-excerpt {
        font-size: 0.8rem;
        margin-bottom: 0.75rem;
    }
    
    .blog-related-stats {
        gap: 0.75rem;
    }
    
    .blog-related-stats .blog-stat-item {
        font-size: 0.75rem;
    }
    
    .blog-related-badge {
        top: 0.5rem;
        right: 0.5rem;
        padding: 0.25rem 0.5rem;
        font-size: 0.7rem;
    }
}

@media (max-width: 480px) {
    .blog-related-grid {
        gap: 0.75rem;
    }
    
    .blog-related-content {
        padding: 0.875rem;
    }
    
    .blog-related-stats {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .blog-related-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.75rem;
    }
}

/* ===================================================================
   DARK MODE - RELATED POSTS WIDGET
   =================================================================== */

body[data-layout-mode=dark] .blog-related-card {
    background: #171717;
    border-color: #2a2a2a;
}

body[data-layout-mode=dark] .blog-related-card:hover {
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

body[data-layout-mode=dark] .blog-related-image {
    background: #1e1e1e;
}

body[data-layout-mode=dark] .blog-related-placeholder {
    background: linear-gradient(135deg, #a855f7 0%, #c084fc 100%);
}

body[data-layout-mode=dark] .blog-related-badge {
    background: rgba(0, 0, 0, 0.9);
}

body[data-layout-mode=dark] .blog-related-card:hover .blog-related-badge {
    background: rgba(168, 85, 247, 0.9);
}

body[data-layout-mode=dark] .blog-related-title {
    color: #f5f5f5;
}

body[data-layout-mode=dark] .blog-related-card:hover .blog-related-title {
    color: #a855f7;
}

body[data-layout-mode=dark] .blog-related-excerpt {
    color: #adb5bd;
}

body[data-layout-mode=dark] .blog-related-stats .blog-stat-item {
    color: #9ca3af;
}

body[data-layout-mode=dark] .blog-related-stats .blog-stat-item i {
    color: #6b7280;
}

body[data-layout-mode=dark] .blog-related-arrow {
    color: #a855f7;
}

/* ===================================================================
   END OF RELATED POSTS WIDGET
   =================================================================== */

/* ===================================================================
   SIMPLE RELATED POSTS WIDGET - 2 COLUMN COMPACT LAYOUT
   =================================================================== */

/* === SIMPLE RELATED POSTS GRID === */
.blog-related-simple-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
    .blog-related-simple-grid {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
}

/* === SIMPLE RELATED POST ITEM === */
.blog-related-simple-item {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
    position: relative;
}

.blog-related-simple-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-color: rgba(139, 69, 255, 0.3);
}

.blog-related-simple-link {
    display: block;
    text-decoration: none;
    color: inherit;
    padding: 0.875rem;
    position: relative;
}

.blog-related-simple-link:hover {
    text-decoration: none;
    color: inherit;
}

/* === SIMPLE RELATED POST CONTENT === */
.article-body .blog-related-simple-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
    margin: 1rem 0 0.5rem 0;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.3s ease;
}

.blog-related-simple-item:hover .blog-related-simple-title {
    color: #8b45ff;
}

.blog-related-simple-excerpt {
    font-size: 0.8rem;
    color: #6b7280;
    line-height: 1.4;
    margin: 0 0 0.75rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* === SIMPLE RELATED POST ARROW === */
.blog-related-simple-arrow {
    position: absolute;
    bottom: 0.75rem;
    right: 0.75rem;
    color: #8b45ff;
    font-size: 0.875rem;
    transition: all 0.3s ease;
    opacity: 0.7;
}

.blog-related-simple-item:hover .blog-related-simple-arrow {
    transform: translateX(3px);
    opacity: 1;
}

.blog-related-simple-arrow i {
    font-size: 0.75rem;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    .blog-related-simple-link {
        padding: 0.75rem;
    }
    
    .blog-related-simple-title {
        font-size: 0.875rem;
        margin-bottom: 0.375rem;
    }
    
    .blog-related-simple-excerpt {
        font-size: 0.75rem;
        margin-bottom: 0.625rem;
    }
    
    .blog-related-simple-arrow {
        bottom: 0.625rem;
        right: 0.625rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .blog-related-simple-grid {
        gap: 0.5rem;
    }
    
    .blog-related-simple-link {
        padding: 0.625rem;
    }
    
    .blog-related-simple-title {
        font-size: 0.8rem;
        margin-bottom: 0.25rem;
    }
    
    .blog-related-simple-excerpt {
        font-size: 0.7rem;
        margin-bottom: 0.5rem;
    }
    
    .blog-related-simple-arrow {
        bottom: 0.5rem;
        right: 0.5rem;
        font-size: 0.75rem;
    }
}

/* ===================================================================
   DARK MODE - SIMPLE RELATED POSTS WIDGET
   =================================================================== */

body[data-layout-mode=dark] .blog-related-simple-item {
    background: #171717;
    border-color: #2a2a2a;
}

body[data-layout-mode=dark] .blog-related-simple-item:hover {
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

body[data-layout-mode=dark] .blog-related-simple-title {
    color: #f5f5f5;
}

body[data-layout-mode=dark] .blog-related-simple-item:hover .blog-related-simple-title {
    color: #a855f7;
}

body[data-layout-mode=dark] .blog-related-simple-excerpt {
    color: #adb5bd;
}

body[data-layout-mode=dark] .blog-related-simple-arrow {
    color: #a855f7;
}

/* ===================================================================
   END OF SIMPLE RELATED POSTS WIDGET
   =================================================================== */

/* ===================================================================
   SOCIAL FEED WIDGET - ULTRA MINIMAL STYLE
   =================================================================== */

/* === SOCIAL FEED CONTENT === */
.social-feed-content {
    margin-bottom: 1.5rem;
}

/* === COMMON SOCIAL FEED STYLES === */
.social-feed-fallback,
.contributors-fallback,
.featured-uploads-fallback,
.collections-fallback,
.highlights-fallback {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* === ACTIVITY ITEMS (RECENT ACTIVITY) === */
.activity-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.875rem;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.activity-item:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

.activity-avatar {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    background: #e5e7eb;
}

.activity-avatar .avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    border: none;
}

.activity-content {
    flex: 1;
    min-width: 0;
    text-align: left;
}

.activity-text {
    font-size: 0.875rem;
    color: #1f2937;
    line-height: 1.4;
    margin-bottom: 0.25rem;
}

.activity-text strong {
    font-weight: 600;
    color: #8b45ff;
}

.activity-link {
    color: #1f2937;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.activity-link:hover {
    color: #8b45ff;
    text-decoration: underline;
}

.activity-time {
    font-size: 0.75rem;
    color: #6b7280;
    font-style: italic;
}

/* === CONTRIBUTOR ITEMS (TOP CONTRIBUTORS) === */
.contributor-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.contributor-item:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

.contributor-avatar {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    background: #e5e7eb;
    border: 2px solid #8b45ff;
}

.contributor-avatar .avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
}

.contributor-content {
    flex: 1;
    min-width: 0;
}

.contributor-name {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
}

.contributor-stats {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.contributor-recent {
    font-size: 0.75rem;
    color: #9ca3af;
}

/* === UPLOAD ITEMS (FEATURED UPLOADS) === */
.upload-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.875rem;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.upload-item:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

.upload-preview {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    background: #e5e7eb;
}

.upload-preview .upload-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    transition: transform 0.2s ease;
}

.upload-item:hover .upload-img {
    transform: scale(1.05);
}

.upload-info {
    flex: 1;
    min-width: 0;
}

.upload-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.upload-author {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.upload-likes {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    color: #ef4444;
    font-weight: 500;
}

.upload-likes i {
    font-size: 0.875rem;
}

.upload-category {
    color: #6b7280;
}

/* === COLLECTION ITEMS (TRENDING COLLECTIONS) === */
.collection-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.875rem;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.collection-item:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

.collection-preview {
    flex-shrink: 0;
    width: 80px;
    height: 60px;
}

.collection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2px;
    width: 100%;
    height: 100%;
    border-radius: 4px;
    overflow: hidden;
    background: #e5e7eb;
}

.collection-thumb {
    background: #d1d5db;
    overflow: hidden;
}

.collection-thumb .thumb-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
}

.collection-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: #e5e7eb;
    color: #9ca3af;
    font-size: 0.7rem;
    text-align: center;
    padding: 0.25rem;
    border-radius: 4px;
}

.collection-placeholder i {
    font-size: 1.25rem;
    margin-bottom: 0.25rem;
}

.collection-info {
    flex: 1;
    min-width: 0;
}

.collection-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.collection-author {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.collection-count {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: #8b45ff;
    font-weight: 500;
}

.collection-count i {
    font-size: 0.875rem;
}

/* === HIGHLIGHT ITEMS (COMMUNITY HIGHLIGHTS) === */
.highlight-item {
    position: relative;
    display: flex;
    gap: 0.75rem;
    padding: 0.875rem;
    background: #f8f9fa;
    border: 1px solid #e5e7eb;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.highlight-item:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    transform: translateY(-1px);
}

.highlight-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #8b45ff;
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.highlight-badge i {
    font-size: 0.75rem;
}

.highlight-preview {
    flex-shrink: 0;
    width: 60px;
    height: 60px;
    border-radius: 4px;
    overflow: hidden;
    background: #e5e7eb;
}

.highlight-preview .highlight-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin: 0;
    transition: transform 0.2s ease;
}

.highlight-item:hover .highlight-img {
    transform: scale(1.05);
}

.highlight-info {
    flex: 1;
    min-width: 0;
    padding-top: 0.5rem;
}

.highlight-title {
    font-size: 0.9rem;
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.25rem;
    line-height: 1.3;
}

.highlight-author {
    font-size: 0.8rem;
    color: #6b7280;
    margin-bottom: 0.25rem;
}

.highlight-category {
    font-size: 0.75rem;
}

/* === LAYOUT SPECIFIC STYLES === */

/* === GRID LAYOUT === */
.social-feed-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1rem;
}

.activity-grid-item,
.contributor-grid-item {
    flex-direction: column;
    text-align: center;
    padding: 1rem;
}

.activity-grid-item .activity-avatar,
.contributor-grid-item .contributor-avatar {
    align-self: center;
    margin-bottom: 0.75rem;
}

/* === CARDS LAYOUT === */
.social-feed-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 1.25rem;
}

.activity-card,
.contributor-card {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.contributor-avatar-large {
    width: 60px;
    height: 60px;
    align-self: center;
    margin-bottom: 1rem;
}

.blog-contributor-stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0.5rem 0;
}

.blog-stat-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #8b45ff;
    line-height: 1;
}

.blog-stat-label {
    font-size: 0.75rem;
    color: #6b7280;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.blog-activity-category {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: #8b45ff;
    margin-top: 0.5rem;
}

/* === COMPACT LAYOUT === */
.social-feed-compact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.activity-compact-item,
.contributor-compact-item {
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
}

.activity-avatar-small,
.contributor-avatar-small {
    width: 24px;
    height: 24px;
}

.activity-text-compact {
    font-size: 0.8rem;
    line-height: 1.3;
}

.blog-activity-time-inline {
    color: #6b7280;
    font-weight: 400;
    font-size: 0.75rem;
}

.blog-contributor-name-compact {
    font-size: 0.85rem;
    font-weight: 600;
    color: #1f2937;
}

.blog-contributor-stats-inline {
    font-weight: 400;
    color: #6b7280;
    font-size: 0.75rem;
}

/* === UPLOAD LAYOUT VARIATIONS === */
.upload-grid-item {
    flex-direction: column;
    text-align: center;
}

.upload-grid-item .upload-preview {
    width: 100%;
    height: 120px;
    margin-bottom: 0.75rem;
}

.upload-card {
    flex-direction: column;
    text-align: center;
    padding: 1.25rem;
}

.upload-preview-large {
    width: 100%;
    height: 150px;
    margin-bottom: 1rem;
    border-radius: 6px;
}

.upload-compact-item {
    padding: 0.5rem 0.75rem;
    gap: 0.5rem;
}

.upload-preview-small {
    width: 40px;
    height: 40px;
}

.blog-upload-title-compact {
    font-size: 0.85rem;
    font-weight: 600;
}

.blog-upload-stats-inline {
    font-weight: 400;
    color: #ef4444;
    font-size: 0.75rem;
}

/* === TIMELINE LAYOUT (DEFAULT) === */
.social-feed-timeline {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

/* === EMPTY STATE FOR SOCIAL FEED === */
.social-feed-widget .blog-simple-empty {
    text-align: center;
    padding: 2rem 1rem;
}

.social-feed-widget .empty-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.social-feed-widget .empty-icon {
    font-size: 2.5rem;
    color: #d1d5db;
    margin-bottom: 0.5rem;
}

.social-feed-widget .empty-text {
    font-size: 0.9rem;
    color: #6b7280;
    font-weight: 500;
    margin: 0;
}

.social-feed-widget .empty-subtext {
    font-size: 0.8rem;
    color: #9ca3af;
    margin: 0;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
    .activity-item,
    .contributor-item,
    .upload-item,
    .collection-item,
    .highlight-item {
        padding: 0.75rem;
        gap: 0.5rem;
    }
    
    .activity-avatar,
    .contributor-avatar {
        width: 28px;
        height: 28px;
    }
    
    .upload-preview,
    .highlight-preview {
        width: 50px;
        height: 50px;
    }
    
    .collection-preview {
        width: 70px;
        height: 50px;
    }
    
    .activity-text,
    .contributor-name,
    .upload-title,
    .collection-title,
    .highlight-title {
        font-size: 0.85rem;
    }
    
    .highlight-badge {
        top: 0.375rem;
        right: 0.375rem;
        padding: 0.2rem 0.4rem;
        font-size: 0.65rem;
    }
}

@media (max-width: 480px) {
    .activity-item,
    .contributor-item,
    .upload-item,
    .collection-item,
    .highlight-item {
        padding: 0.625rem;
        gap: 0.5rem;
    }
    
    .upload-item,
    .collection-item,
    .highlight-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .upload-preview,
    .highlight-preview,
    .collection-preview {
        width: 100%;
        height: 120px;
        align-self: stretch;
    }
    
    .collection-grid {
        height: 120px;
    }
}

/* ===================================================================
   DARK MODE - SOCIAL FEED WIDGET
   =================================================================== */

/* === ACTIVITY ITEMS DARK MODE === */
body[data-layout-mode=dark] .activity-item,
body[data-layout-mode=dark] .contributor-item,
body[data-layout-mode=dark] .upload-item,
body[data-layout-mode=dark] .collection-item,
body[data-layout-mode=dark] .highlight-item {
    background: #1e1e1e;
    border-color: #2a2a2a;
}

body[data-layout-mode=dark] .activity-item:hover,
body[data-layout-mode=dark] .contributor-item:hover,
body[data-layout-mode=dark] .upload-item:hover,
body[data-layout-mode=dark] .collection-item:hover,
body[data-layout-mode=dark] .highlight-item:hover {
    background: #2a2a2a;
    border-color: #3c3c3c;
}

/* === AVATARS AND IMAGES DARK MODE === */
body[data-layout-mode=dark] .activity-avatar,
body[data-layout-mode=dark] .upload-preview,
body[data-layout-mode=dark] .highlight-preview {
    background: #374151;
}

body[data-layout-mode=dark] .contributor-avatar {
    background: #374151;
    border-color: #a855f7;
}

body[data-layout-mode=dark] .collection-grid {
    background: #374151;
}

body[data-layout-mode=dark] .collection-thumb {
    background: #4b5563;
}

body[data-layout-mode=dark] .collection-placeholder {
    background: #374151;
    color: #6b7280;
}

/* === TEXT COLORS DARK MODE === */
body[data-layout-mode=dark] .activity-text,
body[data-layout-mode=dark] .contributor-name,
body[data-layout-mode=dark] .upload-title,
body[data-layout-mode=dark] .collection-title,
body[data-layout-mode=dark] .highlight-title {
    color: #f5f5f5;
}

body[data-layout-mode=dark] .activity-text strong {
    color: #a855f7;
}

body[data-layout-mode=dark] .activity-link {
    color: #f5f5f5;
}

body[data-layout-mode=dark] .activity-link:hover {
    color: #a855f7;
}

body[data-layout-mode=dark] .activity-time,
body[data-layout-mode=dark] .contributor-stats,
body[data-layout-mode=dark] .upload-author,
body[data-layout-mode=dark] .collection-author,
body[data-layout-mode=dark] .highlight-author {
    color: #9ca3af;
}

body[data-layout-mode=dark] .contributor-recent {
    color: #6b7280;
}

body[data-layout-mode=dark] .upload-likes {
    color: #f87171;
}

body[data-layout-mode=dark] .upload-category {
    color: #9ca3af;
}

body[data-layout-mode=dark] .collection-count {
    color: #a855f7;
}

/* === HIGHLIGHT BADGE DARK MODE === */
body[data-layout-mode=dark] .highlight-badge {
    background: #a855f7;
}

/* === EMPTY STATE DARK MODE === */
body[data-layout-mode=dark] .social-feed-widget .empty-icon {
    color: #4b5563;
}

body[data-layout-mode=dark] .social-feed-widget .empty-text {
    color: #9ca3af;
}

body[data-layout-mode=dark] .social-feed-widget .empty-subtext {
    color: #6b7280;
}

/* === DARK MODE - LAYOUT SPECIFIC STYLES === */

/* === CARDS LAYOUT DARK MODE === */
body[data-layout-mode=dark] .activity-card,
body[data-layout-mode=dark] .contributor-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

body[data-layout-mode=dark] .blog-stat-number {
    color: #a855f7;
}

body[data-layout-mode=dark] .blog-stat-label {
    color: #9ca3af;
}

body[data-layout-mode=dark] .blog-activity-category {
    color: #a855f7;
}

/* === COMPACT LAYOUT DARK MODE === */
body[data-layout-mode=dark] .blog-activity-time-inline {
    color: #9ca3af;
}

body[data-layout-mode=dark] .blog-contributor-name-compact {
    color: #f5f5f5;
}

body[data-layout-mode=dark] .blog-contributor-stats-inline {
    color: #9ca3af;
}

/* === UPLOAD LAYOUTS DARK MODE === */
body[data-layout-mode=dark] .blog-upload-title-compact {
    color: #f5f5f5;
}

body[data-layout-mode=dark] .blog-upload-stats-inline {
    color: #f87171;
}

/* ===================================================================
   END OF SOCIAL FEED WIDGET
   =================================================================== */

