/* ===========================================================================
   print.css — clean, ink-saving print. Loaded last; @media print only.
   =========================================================================== */

@media print {
    :root {
        --t-surface: #fff;
        --t-surface-alt: #fff;
        --t-surface-raised: #fff;
        --t-text: #000;
        --t-text-secondary: #222;
        --t-text-muted: #444;
    }

    body {
        background: #fff;
        color: #000;
    }

    body::before {
        display: none;
    }

    /* Chrome that adds nothing on paper */
    .header-classic,
    .header-classic__drawer,
    .footer-columns__social,
    .footer-columns__top,
    .skip-link,
    .back-to-top,
    .hero-split__actions,
    .cta-band__actions,
    .newsletter-signup__form,
    [data-search-open],
    [data-theme-toggle],
    [data-drawer-open] {
        display: none !important;
    }

    a {
        color: #000;
        text-decoration: underline;
    }

    /* Reveal the destination of content links */
    .prose a[href^="http"]::after {
        content: " (" attr(href) ")";
        font-size: 0.85em;
        color: #555;
        word-break: break-all;
    }

    .prose,
    .container {
        max-inline-size: none;
        inline-size: auto;
    }

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

    img, figure, blockquote, pre, table {
        break-inside: avoid;
    }

    .posts-grid__card,
    .hero-split__media {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

