/* Print-optimized styles for Silence Isn't Distance */

@media print {
    @page {
        size: letter;
        margin: 0.75in 1in;
    }

    /* Force background graphics to print if user enables it, though mostly text here */
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;

    body {
        font-family: "Georgia", "Times New Roman", serif;
        font-size: 12pt;
        line-height: 1.6;
        color: #000;
        background: #fff;
    }

    /* Page Breaks */
    h1, .chapter-title {
        page-break-before: always;
        margin-top: 2in;
        margin-bottom: 0.5in;
    }

    /* Avoid breaking inside important elements */
    img, blockquote, pre, table, figure {
        page-break-inside: avoid;
    }

    /* Ensure images fit */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Cover Page Handling */
    .cover-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        page-break-after: always;
    }

    /* Hide digital-only elements if any exist */
    .no-print {
        display: none !important;
    }

    /* Better link handling for print */
    a {
        text-decoration: none;
        color: #000;
    }
    
    /* Optional: Show URL for links in footnotes? 
       Usually for a novel/book, we do NOT want this unless it's a reference section.
       Keeping it off for now for cleaner reading. */
}

/* Base styles for preview in browser to look somewhat like print */
body {
    max-width: 8.5in;
    margin: 0 auto;
    padding: 2rem;
    background: #fdfdfd;
}
