/**
* Print stylesheet for central.edu
* @version         2.0
* @lastmodified    2024
*/
@media print {
    /* Hide unnecessary elements */
    .title a,
    .social-links,
    .share-links,
    .logo-section form,
    .quicklinks,
    .si-toggle-container,
    .cover-image {
        display: none !important;
    }

    /* Layout optimization */
    .story.container {
        width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    svg.insLogo {
        background: #cb2026;
    }

    /* Ensure clean page breaks */
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
        page-break-inside: avoid;
    }

    /* Enhance link appearance */
    a {
        text-decoration: none !important;
    }
    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 90%;
        color: #333;
    }

    /* Fix for lazy-loaded images in print */
    img.lazy {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    /* Image optimization */
    img {
        max-width: 100% !important;
        height: auto !important;
        page-break-inside: avoid;
    }
    
    /* Add space around images */
    p img {
        margin: 1em 0;
    }

    /* Loading state indicator */
    img.loading {
        border: 2px dashed #ccc !important;
        min-height: 100px !important;
    }
}
