/* NukeViet CMS Print Stylesheet */

@media print {
    /* Hide non-essential elements */
    #header, 
    #footer, 
    #menusite, 
    .header-nav, 
    .news_column.panel:not(:first-of-type), /* Hide all panels except the main article */
    .article-tools, 
    .social-share-box, 
    #comment, 
    .breadcrumbs-wrap,
    .scrollup {
        display: none !important;
    }

    /* Reset body and layout styles */
    body, .wraper {
        background-color: #fff !important;
        color: #000 !important;
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        box-shadow: none !important;
        border: none !important;
    }

    /* Ensure the main article content takes full width */
    .news_column.panel, .panel-body {
        width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        border: none !important;
        box-shadow: none !important;
    }

    /* Typography for print */
    a {
        text-decoration: none;
        color: #000;
    }

    a[href]:after {
        content: " (" attr(href) ")";
        font-size: 90%;
        color: #555;
    }

    h1, h2, h3, h4 {
        page-break-after: avoid;
    }

    /* Image styles for print */
    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }
}
