/* استایل متن خبر و ریپورتاژ — فقط داخل .news-body اثر می‌گذارد و منوها و سایدبار را تغییر نمی‌دهد */
.news-body {
    font-size: 15px;
    line-height: 2.1;
    color: #222;
    word-wrap: break-word;
    overflow-wrap: anywhere;
}
.news-body > *:first-child { margin-top: 0; }
.news-body p { margin: 0 0 14px; font-size: 15px; }

/* عنوان‌ها */
.news-body h2, .news-body h3, .news-body h4 {
    color: #12384a;
    font-weight: bold;
    line-height: 1.7;
    margin: 22px 0 10px;
}
.news-body h2 { font-size: 20px; padding-right: 10px; border-right: 4px solid #1f6f8b; }
.news-body h3 { font-size: 17px; }
.news-body h4 { font-size: 15px; }

/* لیست‌ها: گلوله و شماره‌ی واقعی، فاصله‌ی مناسب (style.css سراسری گلوله را حذف کرده بود) */
.news-body ul, .news-body ol {
    margin: 0 0 16px;
    padding: 0 26px 0 0;
}
.news-body ul { list-style: none; }
.news-body ol { list-style: decimal; }
.news-body li {
    position: relative;
    margin: 0 0 8px;
    padding: 0;
    line-height: 2;
    font-size: 15px;
    background: none;
}
.news-body ul > li { padding-right: 4px; }
.news-body ul > li::before {
    content: "";
    position: absolute;
    right: -20px;
    top: .95em;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #1f6f8b;
}
.news-body ol > li::marker { color: #1f6f8b; font-weight: bold; }
.news-body li ul, .news-body li ol { margin: 8px 0 0; }
.news-body li a, .news-body p a { color: #1f6f8b; font-size: inherit; }

/* جدول‌ها: خوانا، راه‌راه، و در موبایل افقی اسکرول‌شونده */
.news-body table {
    display: block;
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-collapse: collapse;
    border-spacing: 0;
    margin: 0 0 18px;
    border: 1px solid #d5dde3;
    border-radius: 8px;
    font-size: 14px;
    line-height: 1.8;
    direction: rtl;
}
.news-body table thead, .news-body table tbody, .news-body table tfoot { width: 100%; }
.news-body th, .news-body td {
    padding: 9px 12px;
    border: 1px solid #e3e9ee;
    text-align: right;
    vertical-align: top;
    font-size: 14px;
    min-width: 90px;
}
.news-body th {
    background: #1f6f8b;
    color: #fff;
    font-weight: bold;
    white-space: nowrap;
}
.news-body tbody tr:nth-child(even) td { background: #f4f8fa; }
.news-body tbody tr:hover td { background: #e8f1f5; }
.news-body table caption { caption-side: top; padding: 8px 12px; font-weight: bold; color: #12384a; text-align: right; }

/* نقل‌قول */
.news-body blockquote {
    margin: 0 0 16px;
    padding: 10px 16px;
    background: #f4f8fa;
    border-right: 4px solid #1f6f8b;
    border-radius: 6px;
    color: #374151;
}
.news-body blockquote p:last-child { margin-bottom: 0; }

/* تصویر و ویدیو */
.news-body img { max-width: 100%; height: auto; border-radius: 6px; }
.news-body figure { margin: 0 0 16px; }
.news-body figcaption { font-size: 13px; color: #6b7280; text-align: center; margin-top: 6px; }
.news-body iframe, .news-body video { max-width: 100%; }

@media (max-width: 640px) {
    .news-body { font-size: 14.5px; line-height: 2; }
    .news-body h2 { font-size: 18px; }
    .news-body h3 { font-size: 16px; }
    .news-body th, .news-body td { padding: 7px 9px; font-size: 13px; min-width: 80px; }
}

/* نوار اطلاعات خبر (کد، دسته، تاریخ‌ها، منبع): همیشه در یک خط؛ اگر جا نشد، افقی اسکرول می‌شود (بدون نوار اسکرول) */
.news_toolbar {
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding: 6px 10px;
    float: none;
    clear: both;
}
.news_toolbar::-webkit-scrollbar { display: none; }
.news_toolbar:hover { background-color: #eef2f5; }
.news_toolbar > div {
    float: none !important;
    flex: 0 0 auto;
    width: auto !important;
    max-width: none;
    margin: 0 0 0 10px;
    padding: 0 !important;
    font-size: 12px;
}
.news_toolbar .news_path { float: none !important; display: inline-flex; align-items: center; gap: 6px; }
.news_toolbar a { font-size: 12px; }
@media (max-width: 640px) {
    .news_toolbar > div, .news_toolbar a { font-size: 11px; }
    .news_toolbar > div { margin-left: 8px; }
}
