/* Scoped article / blog public styles */
.article-blog-list .blog-item .image,
.article-details-banner,
.article-section-image {
    position: relative;
    overflow: hidden;
}

.article-image-fallback {
    width: 100%;
    min-height: 180px;
    background: linear-gradient(135deg, #e9ecef 0%, #f8f9fa 55%, #dee2e6 100%);
    border-radius: 0.5rem;
}

.article-image-fallback--banner {
    min-height: 280px;
}

.article-blog-list .blog-item .title h2,
.article-blog-list .blog-item .title p {
    color: inherit;
}

.article-details-summary {
    font-size: 1.05rem;
    line-height: 1.9;
    color: #555;
}

.article-content {
    direction: rtl;
    line-height: 1.95;
    font-size: 1rem;
    color: #222;
}

.article-content .article-section-text {
    margin-bottom: 1.5rem;
}

.article-content .article-section-text > *:first-child {
    margin-top: 0;
}

.article-content h2,
.article-content h3,
.article-content h4 {
    margin: 1.5rem 0 0.75rem;
    font-weight: 800;
    line-height: 1.5;
}

.article-content p {
    margin-bottom: 1rem;
}

.article-content ul,
.article-content ol {
    padding-inline-start: 1.5rem;
    margin-bottom: 1rem;
}

.article-content blockquote {
    margin: 1.25rem 0;
    padding: 0.75rem 1rem;
    border-inline-start: 4px solid #0d6efd;
    background: #f8f9fa;
}

.article-content a {
    color: #0d6efd;
    text-decoration: underline;
}

.article-content code {
    font-family: Consolas, Monaco, monospace;
    background: #f1f3f5;
    padding: 0.1rem 0.35rem;
    border-radius: 0.25rem;
}

.article-content pre {
    direction: ltr;
    text-align: left;
    background: #212529;
    color: #f8f9fa;
    padding: 1rem;
    border-radius: 0.5rem;
    overflow-x: auto;
    margin-bottom: 1.25rem;
}

.article-content pre code {
    background: transparent;
    color: inherit;
    padding: 0;
}

.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 1.25rem;
}

.article-content th,
.article-content td {
    border: 1px solid #dee2e6;
    padding: 0.5rem 0.75rem;
    vertical-align: top;
}

.article-content hr {
    margin: 1.5rem 0;
    border: 0;
    border-top: 1px solid #dee2e6;
}

.article-section-image {
    margin: 1.5rem 0;
}

.article-section-image img {
    display: block;
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
}

.article-section-image figcaption {
    margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #6c757d;
    text-align: center;
}

@media (max-width: 767.98px) {
    .article-image-fallback--banner {
        min-height: 180px;
    }
}
