@media print {
    :root {
        --hr-color: #000;
        --btn-link-color: #000;
    }

    /* ===========================================
       1. FONT SIZE (82.5% = original 75% + 10%)
       =========================================== */
    html {
        font-size: 82.5% !important;
    }

    /* Bible quote px overrides (82.5% of original) */
    .bible-quote-text {
        font-size: 13px !important;  /* was 16px */
    }
    .bible-quote .verse-number {
        font-size: 11px !important;  /* was 14px */
    }
    .bible-quote-reference {
        font-size: 11px !important;  /* was 14px */
    }

    /* ===========================================
       2. HIDE IMAGES
       =========================================== */
    img,
    figure,
    .featured-image,
    .wp-post-image,
    .attachment-post-thumbnail {
        display: none !important;
    }

    /* ===========================================
       3. PREVENT BLANK CLOSING PAGE
       =========================================== */
    html, body {
        height: auto !important;
        min-height: 0 !important;
    }
    main,
    .content,
    article,
    section {
        page-break-after: auto !important;
        break-after: auto !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }
    main > *:last-child,
    article > *:last-child,
    .content > *:last-child {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* ===========================================
       4. TOC - REMOVE UNDERLINES
       =========================================== */
    .lwptoc {
        margin: 16px 0 !important;
    }
    .lwptoc a,
    .lwptoc_i a {
        text-decoration: none !important;
    }

    /* ===========================================
       EXISTING STYLES (unchanged)
       =========================================== */

    /* Hide navigation and UI elements */
    body > header,
    .blog-post-toolbar,
    #sidePanel,
    .ct-mobile-toolbar,
    [data-action="scroll-to-top"],
    .breadcrumbs-wrapper,
    footer {
        display: none !important;
    }

    /* Black text for body content */
    body,
    body * {
        color: #000 !important;
    }

    /* Keep links styled */
    a {
        /*color: #333 !important;*/
        text-decoration: underline !important;
    }

    /* Ensure content is full width */
    .content {
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Remove backgrounds */
    body,
    .content,
    main {
        background: #fff !important;
    }

    body .content > .lwptoc {
        background: transparent !important;
    }
    body .lwptoc .lwptoc_items {
        display: inherit !important;
    }

    body .related-articles {
        display: none !important;
    }

    main > section:first-child {
        max-width: 100%;
        padding-left: 0;
        margin-left: 0;
    }


    /* ===========================================
       5. KEEP HEADINGS TOGETHER WITH FOLLOWING CONTENT
       =========================================== */
    h2, h3, h4, h5, h6 {
        break-after: avoid;
        page-break-after: avoid;
    }

    /* ===========================================
       6. COPYRIGHT FOOTER ON EVERY PRINTED PAGE
       (uses @page margin box — Chrome 131+)
       =========================================== */
    .print-copyright {
        display: none !important;
    }
}
