.wpu-ai-article {
    max-width: 720px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
}

/* Reading progress bar */
.wpu-reading-progress {
    position: sticky;
    top: 0;
    z-index: 999;
    height: 3px;
    background: #f1f5f9;
    border-radius: 2px;
    margin: -1.5em -1.5em 24px;
    padding: 0 16px;
}

.wpu-reading-progress__bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #6366f1, #8b5cf6, #a855f7);
    border-radius: 2px;
    transition: width 0.1s linear;
}

/* Article header */
.wpu-article-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 24px;
}

.wpu-article-meta {
    font-size: 13px;
    color: #64748b;
    font-weight: 500;
}

.wpu-article-badge {
    background: linear-gradient(135deg, #6366f1, #8b5cf6);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Source card top */
.wpu-source-card {
    background: #f8fafc;
    border-left: 4px solid #6366f1;
    padding: 12px 16px;
    margin-bottom: 24px;
    border-radius: 0 8px 8px 0;
    font-size: 14px;
    color: #475569;
}

.wpu-source-card strong {
    color: #334155;
    margin-right: 6px;
}

.wpu-source-card a {
    color: #6366f1;
    text-decoration: none;
}

.wpu-source-card a:hover {
    text-decoration: underline;
}

/* Article content */
.wpu-article-content {
    line-height: 1.8;
    font-size: 17px;
    color: #334155;
}

.wpu-article-content p {
    margin-bottom: 16px;
}

.wpu-article-content ul,
.wpu-article-content ol {
    padding-left: 24px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.wpu-article-content li {
    margin-bottom: 8px;
}

.wpu-article-content strong {
    color: #1e293b;
}

/* Pull quote */
.wpu-pull-quote {
    border-left: 4px solid #8b5cf6;
    margin: 32px auto;
    max-width: 580px;
    padding: 16px 24px;
    font-size: 18px;
    font-style: italic;
    color: #475569;
    background: #fafafa;
    border-radius: 0 8px 8px 0;
    line-height: 1.6;
}

/* Source bottom CTA */
.wpu-source-bottom {
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
    padding: 20px 24px;
    border-radius: 10px;
    margin-top: 32px;
    text-align: center;
    border: 1px solid #e0e7ff;
    font-size: 14px;
    color: #64748b;
    line-height: 1.6;
}

.wpu-source-bottom a {
    color: #6366f1;
    text-decoration: none;
    font-weight: 500;
}

.wpu-source-bottom a:hover {
    text-decoration: underline;
}

.wpu-source-bottom strong a {
    color: #4f46e5;
    font-weight: 600;
}

/* Responsive */
@media (max-width: 600px) {
    .wpu-ai-article {
        padding: 0 12px;
    }

    .wpu-reading-progress {
        margin: -1em -1em 20px;
    }

    .wpu-pull-quote {
        font-size: 16px;
        padding: 12px 16px;
    }

    .wpu-article-content {
        font-size: 16px;
    }
}
