.article-page {
    min-height: 100vh;
    padding: 50px 20px;
    background: #f4f6f9;
    direction: rtl;
    display: flex;
    justify-content: center;
}

.article-container {
    background: #ffffff;
    max-width: 860px;
    width: 100%;
    border-radius: 24px;
    padding: 48px;
    border: 1px solid #e5e7eb;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

/* هدر مقاله */
.article-header {
    margin-bottom: 32px;
}

.article-meta-top {
    display: flex;
    gap: 16px;
    font-size: 13px;
    margin-bottom: 16px;
}

.article-category {
    background: #e0e7ff;
    color: #4f46e5;
    padding: 4px 12px;
    border-radius: 8px;
    font-weight: 700;
}

.reading-time {
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 6px;
}

.article-title {
    font-size: 30px;
    color: #111827;
    line-height: 1.4;
    margin: 0 0 16px 0;
}

.article-lead {
    font-size: 17px;
    color: #4b5563;
    line-height: 1.7;
    margin: 0 0 24px 0;
}

.article-author-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    border-top: 1px solid #f3f4f6;
}

.author-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.author-avatar {
    width: 44px;
    height: 44px;
    background: #4f46e5;
    color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.author-name {
    display: block;
    font-size: 14px;
    color: #111827;
}

.publish-date {
    font-size: 12px;
    color: #9ca3af;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #6b7280;
}

.article-share a {
    color: #4b5563;
    font-size: 16px;
    transition: color 0.2s;
}

.article-share a:hover {
    color: #4f46e5;
}

/* تصویر کاور */
.article-cover {
    width: 100%;
    height: 280px;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 40px;
}

.cover-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #4f46e5 0%, #3730a3 100%);
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.cover-icon {
    font-size: 64px;
    opacity: 0.9;
}

.cover-placeholder span {
    font-size: 18px;
    font-weight: 700;
}

/* بدنه متن مقاله */
.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: #374151;
}

.article-body h2 {
    font-size: 22px;
    color: #111827;
    margin: 40px 0 16px 0;
    padding-bottom: 8px;
    border-bottom: 2px solid #f3f4f6;
}

.article-body p {
    margin-bottom: 20px;
}

/* باکس‌های راهنما (Callout) */
.callout-box {
    padding: 20px;
    border-radius: 12px;
    display: flex;
    gap: 16px;
    margin: 28px 0;
    align-items: flex-start;
}

.callout-box.info {
    background: #eff6ff;
    border-right: 4px solid #3b82f6;
    color: #1e40af;
}

.callout-box.warning {
    background: #fffbebf5;
    border-right: 4px solid #f59e0b;
    color: #92400e;
}

.callout-icon {
    font-size: 22px;
    margin-top: 2px;
}

/* گرید سهمیه مناطق */
.regions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin: 24px 0;
}

.region-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    padding: 20px;
    border-radius: 12px;
}

.region-card h3 {
    font-size: 16px;
    color: #4f46e5;
    margin: 0 0 8px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.region-card p {
    font-size: 13px;
    color: #6b7280;
    margin: 0;
    line-height: 1.6;
}

/* لیست‌ها */
.styled-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

.styled-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.styled-list i {
    color: #4f46e5;
}

/* جدول */
.table-responsive {
    overflow-x: auto;
    margin: 24px 0;
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
    font-size: 14px;
}

.custom-table th {
    background: #f3f4f6;
    color: #111827;
    padding: 14px 16px;
    font-weight: 700;
    border-bottom: 2px solid #e5e7eb;
}

.custom-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e5e7eb;
    color: #4b5563;
}

/* آکاردئون / آتم‌های خاص */
.accordion-item {
    background: #f9fafb;
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid #f3f4f6;
}

.accordion-item h4 {
    margin: 0 0 8px 0;
    color: #111827;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.accordion-item h4 i {
    color: #4f46e5;
}

.accordion-item p {
    margin: 0;
    font-size: 14px;
    color: #6b7280;
}

/* فوتر مقاله و CTA */
.article-footer {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.article-tags {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 32px;
}

.article-tags a {
    background: #f3f4f6;
    color: #374151;
    padding: 4px 12px;
    border-radius: 6px;
    text-decoration: none;
    font-size: 12px;
}

.article-tags a:hover {
    background: #e0e7ff;
    color: #4f46e5;
}

.cta-box {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: #ffffff;
    border-radius: 16px;
    padding: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.cta-content h3 {
    margin: 0 0 8px 0;
    font-size: 18px;
}

.cta-content p {
    margin: 0;
    font-size: 13px;
    color: #9ca3af;
}

.cta-btn {
    background: #4f46e5;
    color: #ffffff;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 14px;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
}

.cta-btn:hover {
    background: #4338ca;
    transform: translateY(-2px);
}

/* واکنش‌گرایی در موبایل */
@media (max-width: 768px) {
    .article-container {
        padding: 24px;
    }

    .article-title {
        font-size: 22px;
    }

    .article-author-bar {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    .cta-box {
        flex-direction: column;
        text-align: center;
    }

    .cta-btn {
        width: 100%;
        justify-content: center;
    }
}