/* Blog Article Styles - Extends main style.css */

.article-page {
    padding-top: 80px;
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 24px 0;
    font-size: 13px;
    color: var(--text-secondary);
}

.breadcrumb a {
    color: var(--text-secondary);
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: var(--primary);
}

.breadcrumb-sep {
    color: var(--text-secondary);
    opacity: 0.5;
}

/* Article Header */
.article-header {
    padding: 32px 0 40px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
}

.article-header h1 {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 20px;
}

.article-meta {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
    color: var(--text-secondary);
}

.article-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

/* Article Content */
.article-content {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text);
}

.article-content h2 {
    font-size: 26px;
    font-weight: 700;
    margin: 48px 0 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.article-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 36px 0 16px;
    color: var(--primary);
}

.article-content p {
    margin-bottom: 20px;
    color: var(--text);
}

.article-content ul,
.article-content ol {
    margin-bottom: 24px;
    padding-left: 24px;
}

.article-content li {
    margin-bottom: 10px;
    color: var(--text);
}

.article-content strong {
    color: var(--text);
    font-weight: 600;
}

.article-content a {
    color: var(--primary);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.article-content a:hover {
    opacity: 0.8;
}

/* Step Cards */
.step-block {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin-bottom: 20px;
    position: relative;
}

.step-block-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
}

.step-number-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: #000;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-block-title {
    font-size: 18px;
    font-weight: 600;
}

.step-block p:last-child {
    margin-bottom: 0;
}

/* Info Box */
.info-box {
    background: rgba(14, 203, 129, 0.08);
    border: 1px solid rgba(14, 203, 129, 0.2);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 24px;
}

.info-box-title {
    font-weight: 600;
    color: var(--up);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Warning Box */
.warning-box {
    background: rgba(246, 70, 93, 0.06);
    border: 1px solid rgba(246, 70, 93, 0.2);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin: 32px 0;
}

.warning-box-title {
    font-weight: 600;
    color: var(--down);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.warning-box p {
    margin-bottom: 0;
    font-size: 14px;
    color: var(--text-secondary);
}

/* Tip Box */
.tip-box {
    background: rgba(240, 185, 11, 0.06);
    border: 1px solid rgba(240, 185, 11, 0.2);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 24px;
}

.tip-box-title {
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* Author Box - EEAT */
.author-box {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 28px;
    margin: 48px 0;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.author-avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--primary);
    color: #000;
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.author-info h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 6px;
}

.author-info p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 0;
    line-height: 1.7;
}

.author-meta {
    font-size: 13px;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* Related Articles */
.related-section {
    margin: 64px 0 48px;
    padding-top: 48px;
    border-top: 1px solid var(--border);
}

.related-section h2 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.related-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
    transition: all 0.2s;
}

.related-card:hover {
    border-color: var(--primary);
}

.related-card h4 {
    font-size: 15px;
    font-weight: 600;
    margin-bottom: 6px;
}

.related-card p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 0;
}

/* Article CTA */
.article-cta {
    background: var(--bg-section);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    margin: 48px 0;
}

.article-cta h3 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text);
}

.article-cta p {
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-size: 15px;
}

.article-cta-buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

/* Screenshot placeholder */
.screenshot-placeholder {
    background: var(--bg-section);
    border: 2px dashed var(--border);
    border-radius: var(--radius);
    padding: 40px;
    text-align: center;
    margin-bottom: 24px;
    color: var(--text-secondary);
}

.screenshot-placeholder svg {
    width: 48px;
    height: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

/* Table */
.article-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
    background: var(--bg-card);
    border-radius: var(--radius);
    overflow: hidden;
}

.article-table th,
.article-table td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}

.article-table th {
    background: rgba(240, 185, 11, 0.06);
    font-weight: 600;
    color: var(--primary);
}

.article-table tr:last-child td {
    border-bottom: none;
}

.article-table td {
    color: var(--text);
}

/* Responsive */
@media (max-width: 768px) {
    .article-header h1 {
        font-size: 26px;
    }

    .article-content h2 {
        font-size: 22px;
    }

    .article-content h3 {
        font-size: 18px;
    }

    .author-box {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .related-grid {
        grid-template-columns: 1fr;
    }

    .article-cta {
        padding: 28px 20px;
    }

    .article-cta-buttons {
        flex-direction: column;
    }

    .article-cta-buttons .btn {
        width: 100%;
    }
}
