/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Nov 19 2026 | 09:01:37 */
/* =====================================
   iMDi - Article Print Styles
   Elementor 4
===================================== */

@media print {

    /* تنظیمات عمومی صفحه */
    @page {
        size: A4;
        margin: 15mm 15mm 18mm 15mm;
    }

    html,
    body {
        width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #ffffff !important;
    }

    /* مخفی کردن تمام اجزای صفحه */
    body * {
        visibility: hidden !important;
    }

    /* نمایش محتوای مقاله */
    .print-article,
    .print-article * {
        visibility: visible !important;
    }

    /* موقعیت و ابعاد مقاله */
    .print-article {
        position: absolute !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;

        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;

        margin: 0 !important;
        padding: 0 !important;

        background: #ffffff !important;
        color: #222222 !important;

        direction: rtl !important;
        text-align: right !important;

        font-family: "Vazirmatn", sans-serif !important;
        font-size: 12pt !important;
        line-height: 2 !important;

        box-shadow: none !important;
        border: none !important;
        transform: none !important;
    }

    /* فونت تمام اجزای مقاله */
    .print-article * {
        font-family: "Vazirmatn", sans-serif !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    /* عنوان اصلی مقاله */
    .print-article h1 {
        font-size: 20pt !important;
        font-weight: 800 !important;
        line-height: 1.7 !important;
        color: #111111 !important;
        margin-bottom: 15px !important;
        page-break-after: avoid !important;
        break-after: avoid !important;
    }

    /* تیترهای داخلی */
    .print-article h2 {
        font-size: 16pt !important;
        font-weight: 700 !important;
        line-height: 1.8 !important;
        color: #222222 !important;
        margin-top: 20px !important;
        margin-bottom: 10px !important;
        page-break-after: avoid !important;
        break-after: avoid !important;
    }

    .print-article h3 {
        font-size: 14pt !important;
        font-weight: 700 !important;
        line-height: 1.8 !important;
        color: #222222 !important;
        page-break-after: avoid !important;
        break-after: avoid !important;
    }

    /* متن مقاله */
    .print-article p {
        font-size: 12pt !important;
        line-height: 2 !important;
        text-align: justify !important;
        color: #222222 !important;
        margin-bottom: 12px !important;
    }

    /* تصاویر */
    .print-article img {
        max-width: 100% !important;
        height: auto !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    /* فهرست‌ها */
    .print-article ul,
    .print-article ol {
        padding-right: 25px !important;
        padding-left: 0 !important;
        line-height: 2 !important;
    }

    /* لینک‌ها */
    .print-article a {
        color: #222222 !important;
        text-decoration: none !important;
    }

    /* جداول */
    .print-article table {
        width: 100% !important;
        border-collapse: collapse !important;
        page-break-inside: auto !important;
    }

    .print-article tr {
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    .print-article th,
    .print-article td {
        border: 1px solid #cccccc !important;
        padding: 7px !important;
    }

    /* جلوگیری از شکستن نامناسب عناصر */
    .print-article blockquote,
    .print-article figure,
    .print-article figcaption {
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }

    /* حذف عناصر اضافی احتمالی داخل مقاله */
    .print-article .print-hide {
        display: none !important;
    }

    /* حذف لینک‌های اضافی مرورگر */
    a[href]:after {
        content: none !important;
    }

}
