body {
    background: #fff;
}

/* PAGE */
@page {
    size: A4;
    margin: 12mm;
}

/* GLOBAL HIDE */
#autoadsense,
#comments,
#footer,
#header,
#toolbar_container,
#top-bar,
.google-auto-placed,
.ap_container,
.fb-comments,
.main-nav,
.noprint,
.share-items,
.sidebar-col,
.twitter-tweet,
.instagram-media,
.adsbygoogle,
iframe,
script,
.ad-slot,
.center-block {
    display: none !important;
}

/* MAIN CONTENT */
.main-content {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
    direction: rtl;
    text-align: right;
}

/* ARTICLE */
#smile,
.entry-content,
.article-content,
.post-content {

    width: 100% !important;
    max-width: 100% !important;

    direction: rtl !important;
    text-align: right !important;

    white-space: normal !important;

    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;

    line-height: 2 !important;

    overflow: visible !important;

    float: none !important;

    display: block !important;
}

/* ALL ARTICLE ELEMENTS */
#smile *,
.entry-content *,
.article-content *,
.post-content * {

    white-space: normal !important;

    word-wrap: break-word !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;

    max-width: 100% !important;

    box-sizing: border-box !important;
}

/* TEXT BLOCKS */
#smile p,
#smile div,
.entry-content p,
.entry-content div {

    display: block !important;

    width: 100% !important;

    direction: rtl !important;

    text-align: right !important;

    line-height: 2 !important;
}

/* TITLES */
h1,
h2,
h3 {
    direction: rtl !important;
    text-align: right !important;
    line-height: 1.6 !important;
}

/* IMAGES */
img {

    display: block !important;

    margin-left: auto !important;
    margin-right: auto !important;

    max-width: 90% !important;

    height: auto !important;

    page-break-inside: avoid !important;
}

/* LINKS */
a {
    color: #000 !important;
    text-decoration: none !important;
}

/* REMOVE FLEX / GRID / FLOAT PROBLEMS */
.row,
.container,
.post-block-style,
.post-content,
.entry-content,
.article-content,
.main-content {

    display: block !important;

    float: none !important;

    width: 100% !important;

    max-width: 100% !important;
}

/* PRINT FIXES */
@media print {

    html,
    body {

        background: #fff !important;

        direction: rtl !important;

        unicode-bidi: embed !important;

        overflow: visible !important;

        font-size: 15px !important;

        line-height: 1.9 !important;
    }

    /* DESTROY BAD LAYOUTS */
    *,
    *:before,
    *:after {

        position: static !important;

        transform: none !important;

        filter: none !important;

        backdrop-filter: none !important;

        animation: none !important;

        transition: none !important;

        box-shadow: none !important;

        min-width: 0 !important;
    }

    /* ARTICLE TEXT */
    #smile,
    #smile *,
    .entry-content,
    .entry-content * {

        white-space: normal !important;

        overflow-wrap: break-word !important;

        word-wrap: break-word !important;

        word-break: normal !important;

        direction: rtl !important;

        text-align: right !important;
    }

    /* FORCE BLOCKS */
    p,
    div,
    article,
    section {
        display: block !important;
    }

    /* HIDE ADS */
    .noprint,
    .ad-slot,
    .adsbygoogle,
    .google-auto-placed,
    .fb-comments,
    .sidebar-col,
    iframe,
    script {
        display: none !important;
    }

}