/* Article Guy Blog Publisher - Public Post Styles */
.ai-blog-post-wrapper .ai-blog-post-content {
    --ai-blog-text: #374151;
    --ai-blog-heading: #111827;
    --ai-blog-link: #2563eb;
    --ai-blog-link-hover: #1d4ed8;
    --ai-blog-quote-bg: #f3f4f6;
    --ai-blog-quote-border: #3b82f6;
    --ai-blog-code-bg: #f1f5f9;
    --ai-blog-code-text: #0f172a;
    
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.ai-blog-post-wrapper .ai-blog-post-content p {
    color: var(--ai-blog-text);
    line-height: 1.8;
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
}

.ai-blog-post-wrapper .ai-blog-post-content h1,
.ai-blog-post-wrapper .ai-blog-post-content h2,
.ai-blog-post-wrapper .ai-blog-post-content h3,
.ai-blog-post-wrapper .ai-blog-post-content h4,
.ai-blog-post-wrapper .ai-blog-post-content h5,
.ai-blog-post-wrapper .ai-blog-post-content h6 {
    color: var(--ai-blog-heading);
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

.ai-blog-post-wrapper .ai-blog-post-content h1 { font-size: 2.25rem; }
.ai-blog-post-wrapper .ai-blog-post-content h2 { font-size: 1.875rem; }
.ai-blog-post-wrapper .ai-blog-post-content h3 { font-size: 1.5rem; }
.ai-blog-post-wrapper .ai-blog-post-content h4 { font-size: 1.25rem; }

.ai-blog-post-wrapper .ai-blog-post-content a {
    color: var(--ai-blog-link);
    text-decoration: none;
    text-underline-offset: 2px;
    transition: color 0.2s;
}

.ai-blog-post-wrapper .ai-blog-post-content a:hover {
    color: var(--ai-blog-link-hover);
}

.ai-blog-post-wrapper .ai-blog-post-content blockquote {
    background: var(--ai-blog-quote-bg);
    border-left: 4px solid var(--ai-blog-quote-border);
    padding: 1.5rem 2rem;
    margin: 2rem 0;
    border-radius: 0 0.5rem 0.5rem 0;
    font-style: italic;
    font-size: 1.25rem;
    color: var(--ai-blog-heading);
}

.ai-blog-post-wrapper .ai-blog-post-content blockquote p:last-child {
    margin-bottom: 0;
}

.ai-blog-post-wrapper .ai-blog-post-content ul,
.ai-blog-post-wrapper .ai-blog-post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    font-size: 1.125rem;
    color: var(--ai-blog-text);
    line-height: 1.8;
}

.ai-blog-post-wrapper .ai-blog-post-content li {
    margin-bottom: 0.5rem;
}

.ai-blog-post-wrapper .ai-blog-post-content code {
    background: var(--ai-blog-code-bg);
    color: var(--ai-blog-code-text);
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
    font-size: 0.875em;
    font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

.ai-blog-post-wrapper .ai-blog-post-content pre {
    background: var(--ai-blog-code-bg);
    padding: 1.5rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin-bottom: 1.5rem;
}

.ai-blog-post-wrapper .ai-blog-post-content pre code {
    background: none;
    padding: 0;
    color: inherit;
    font-size: 0.875rem;
}

.ai-blog-post-wrapper .ai-blog-post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    margin: 2rem 0;
}

.ai-blog-post-wrapper .ai-blog-post-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.5rem;
}

.ai-blog-post-wrapper .ai-blog-post-content table th,
.ai-blog-post-wrapper .ai-blog-post-content table td {
    border: 1px solid #e5e7eb;
    padding: 0.75rem 1rem;
    text-align: left;
}

.ai-blog-post-wrapper .ai-blog-post-content table th {
    background-color: #f9fafb;
    font-weight: 600;
    color: var(--ai-blog-heading);
}
