/*
Theme Name: SmartMag Child - DMN
Template: smart-mag
Version: 1.0.1
Description: Digital Mind News - mobile-first, SEO-optimized child theme
*/

/* ==========================================================================
   Mobile First Base (< 768px default)
   ========================================================================== */

/* Reading time badge */
.dmn-reading-time {
    display: inline-block;
    margin-bottom: 1.2em;
    padding: 6px 14px;
    background: #f3f4f6;
    border-radius: 20px;
    font-size: 0.82em;
    color: #6b7280;
    letter-spacing: 0.02em;
}

/* Article content - mobile first */
.single .entry-content {
    font-size: 1.05em;
    line-height: 1.75;
    color: #1f2937;
}

.single .entry-content p {
    margin-bottom: 1.3em;
}

/* Headings - clear hierarchy */
.single .entry-content h2 {
    margin-top: 1.8em;
    margin-bottom: 0.6em;
    padding-bottom: 0.3em;
    border-bottom: 2px solid #e5e7eb;
    font-size: 1.35em;
    color: #111827;
}

.single .entry-content h3 {
    margin-top: 1.3em;
    margin-bottom: 0.5em;
    font-size: 1.15em;
    color: #374151;
}

/* Lists */
.single .entry-content ul,
.single .entry-content ol {
    padding-left: 1.5em;
    margin-bottom: 1.3em;
}

.single .entry-content li {
    margin-bottom: 0.5em;
    line-height: 1.6;
}

/* Blockquotes */
.single .entry-content blockquote {
    margin: 1.5em 0;
    padding: 1em 1.2em;
    border-left: 4px solid #6366f1;
    background: #f9fafb;
    font-style: italic;
    border-radius: 0 6px 6px 0;
}

/* Source attribution */
.single .entry-content .sources-section,
.single .entry-content h2 + ul:last-of-type {
    margin-top: 2em;
    padding: 1em 1.2em;
    background: #f9fafb;
    border-left: 3px solid #6366f1;
    border-radius: 0 6px 6px 0;
    font-size: 0.9em;
}

/* Image credit */
.image-credit {
    font-size: 0.78em;
    color: #9ca3af;
    font-style: italic;
    text-align: right;
    margin-top: -0.3em;
    margin-bottom: 1em;
}

/* FAQ section styling */
.single .entry-content h2:last-of-type {
    background: #f0fdf4;
    padding: 0.5em 0.8em;
    border-bottom-color: #86efac;
    border-radius: 6px 6px 0 0;
}

/* Tags */
.post-tags a,
.tag-cloud a {
    display: inline-block;
    padding: 4px 12px;
    margin: 2px;
    background: #f3f4f6;
    border-radius: 16px;
    font-size: 0.82em;
    transition: all 0.2s;
}

.post-tags a:hover,
.tag-cloud a:hover {
    background: #6366f1;
    color: #fff;
}

/* Author box */
.author-box {
    border-radius: 8px;
    border: 1px solid #e5e7eb;
}

/* Touch targets - min 48px for mobile */
.mobile-menu a,
.off-canvas a {
    min-height: 48px;
    display: flex;
    align-items: center;
    padding: 10px 16px;
}

/* Smooth scroll */
html {
    scroll-behavior: smooth;
}

/* Focus visible for accessibility */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

/* ==========================================================================
   Tablet+ (768px+)
   ========================================================================== */
@media (min-width: 768px) {
    .single .entry-content {
        font-size: 1.08em;
        line-height: 1.8;
    }
    
    .single .entry-content h2 {
        font-size: 1.5em;
    }
    
    .single .entry-content blockquote {
        padding: 1.2em 1.8em;
    }
}

/* ==========================================================================
   Desktop (1024px+)
   ========================================================================== */
@media (min-width: 1024px) {
    .single .entry-content {
        font-size: 1.1em;
    }
}

/* ==========================================================================
   Fix: Author avatars - circles not ovals
   ========================================================================== */
.author-box img.avatar,
.post-meta-items img.avatar,
.author-info img.avatar,
.comment-author img.avatar {
    border-radius: 50% !important;
    object-fit: cover !important;
    aspect-ratio: 1 / 1 !important;
}

/* ==========================================================================

/* ==========================================================================

/* ==========================================================================
