/* Styles pour l'impression (PDF / Papier) */
@media print {
    /* Masquer les éléments inutiles pour la lecture sur papier */
    #header, 
    #nav, 
    #footer, 
    .ad-optimized-container, 
    .ad-top-container, 
    .ad-multiplex-container,
    .adsbygoogle,
    .continue-reading-grid,
    .scv-maillage-interne,
    .scv-affiliate-section,
    .actions,
    iframe,
    .no-print {
        display: none !important;
    }

    /* Réinitialiser les couleurs pour économiser l'encre */
    body, #page-wrapper, .wrapper, .box, .content {
        background-color: white !important;
        background: none !important;
        color: black !important;
        box-shadow: none !important;
        border: none !important;
        margin: 0 !important;
        padding: 0 !important;
        width: 100% !important;
    }

    /* Typographie propre */
    h1, h2, h3, h4, h5, h6 {
        color: black !important;
        page-break-after: avoid;
    }

    p, li, td, th {
        font-size: 12pt;
        line-height: 1.5;
        color: #333 !important;
    }

    /* Les liens ne sont pas cliquables sur papier, on les souligne */
    a {
        text-decoration: underline;
        color: black !important;
    }

    /* Images */
    img {
        max-width: 100% !important;
        page-break-inside: avoid;
    }

    /* Tableaux */
    table {
        border-collapse: collapse !important;
        width: 100% !important;
        page-break-inside: avoid;
    }
    
    th, td {
        border: 1px solid #ccc !important;
        padding: 8px !important;
    }

    /* Éviter les coupures disgracieuses au milieu d'un bloc */
    section, article, .box {
        page-break-inside: auto;
    }
}
