/* Damalion Blog AI - Frontend Styles */

.dba-article-content {
    max-width: 800px;
    margin: 0 auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    line-height: 1.75;
    color: #2d3748;
}

.dba-article-meta {
    margin-bottom: 20px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.dba-theme-badge {
    display: inline-block;
    background: #1a365d;
    color: #fff;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.dba-subject-badge {
    display: inline-block;
    background: #edf2f7;
    color: #1a365d;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid #cbd5e0;
}

.dba-article-content h2 {
    color: #1a365d;
    font-size: 24px;
    margin-top: 36px;
    margin-bottom: 16px;
    line-height: 1.3;
}

.dba-article-content h3 {
    color: #2d4a7c;
    font-size: 20px;
    margin-top: 28px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.dba-article-content p {
    margin-bottom: 16px;
    font-size: 16px;
}

.dba-article-content a {
    color: #2b6cb0;
    text-decoration: underline;
    text-underline-offset: 2px;
}
.dba-article-content a:hover {
    color: #1a365d;
}

.dba-article-content ul,
.dba-article-content ol {
    margin-bottom: 16px;
    padding-left: 24px;
}

.dba-article-content li {
    margin-bottom: 8px;
    font-size: 15px;
}

.dba-article-content blockquote {
    border-left: 4px solid #1a365d;
    margin: 24px 0;
    padding: 16px 24px;
    background: #f7fafc;
    font-style: italic;
    color: #4a5568;
}

/* Blog grid (shortcode) */
.dba-blog-grid .dba-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.12);
}

/* CTA block styling */
.dba-article-content > p:last-of-type {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 20px 24px;
    margin-top: 32px;
    font-size: 15px;
    line-height: 1.6;
}
.dba-article-content > p:last-of-type a {
    font-weight: 600;
    color: #1a365d;
}

/* Related technical notes */
.dba-article-content h3 + ul {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px 24px 16px 40px;
}
