/* Shared styles for individual article pages */
/* Used by all article-*.html pages */

/* Article Meta (category, reading time, date) */
.article-meta {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

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

/* Category color variants */
.article-category.beginner {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
}
.article-category.glossary {
    background: rgba(139, 92, 246, 0.2);
    color: #a78bfa;
}
.article-category.strategy {
    background: rgba(14, 165, 233, 0.2);
    color: var(--primary);
}
.article-category.advanced {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}
.article-category.essential {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
}
.article-category.psychology {
    background: rgba(236, 72, 153, 0.2);
    color: #ec4899;
}
.article-category.intermediate {
    background: rgba(99, 102, 241, 0.2);
    color: #818cf8;
}

.article-reading-time,
.article-date {
    color: var(--text-muted);
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* Article Header h1 (without .article-title-main class) */
.article-header h1 {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

/* Article Navigation (bottom of article) */
.article-navigation {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border);
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.back-to-articles {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.2s;
}

.back-to-articles:hover {
    text-decoration: underline;
}

.related-articles {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 1.5rem;
}

.related-articles h4 {
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.related-articles a {
    display: block;
    color: var(--primary);
    text-decoration: none;
    padding: 0.5rem 0;
    font-weight: 500;
    transition: all 0.2s;
}

.related-articles a:hover {
    text-decoration: underline;
    padding-left: 0.5rem;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .article-meta {
        gap: 0.5rem;
        margin-bottom: 0.75rem;
    }

    .article-category {
        font-size: 0.65rem;
        padding: 0.2rem 0.6rem;
    }

    .article-reading-time,
    .article-date {
        font-size: 0.75rem;
    }

    .article-header h1 {
        font-size: 1.75rem;
        line-height: 1.3;
    }

    .article-navigation {
        margin-top: 2rem;
        padding-top: 1.5rem;
        gap: 1rem;
    }

    .back-to-articles {
        font-size: 0.9rem;
    }

    .related-articles {
        padding: 1.25rem;
    }

    .related-articles h4 {
        font-size: 0.95rem;
        margin-bottom: 0.75rem;
    }

    .related-articles a {
        font-size: 0.9rem;
        padding: 0.4rem 0;
    }
}

@media (max-width: 480px) {
    .article-meta {
        gap: 0.4rem;
    }

    .article-category {
        font-size: 0.6rem;
        padding: 0.15rem 0.5rem;
    }

    .article-reading-time,
    .article-date {
        font-size: 0.7rem;
    }

    .article-header h1 {
        font-size: 1.5rem;
    }

    .article-navigation {
        margin-top: 1.5rem;
        padding-top: 1.25rem;
    }

    .back-to-articles {
        font-size: 0.85rem;
    }

    .related-articles {
        padding: 1rem;
        border-radius: 10px;
    }

    .related-articles h4 {
        font-size: 0.9rem;
    }

    .related-articles a {
        font-size: 0.85rem;
    }
}
