/* PRINT-ONLY RULES */
@media print {

    /* General page setup */
    body {
        margin: 10mm;
        -webkit-print-color-adjust: exact;
        /* keep colors if possible */
    }

    /* Hide things that make no sense on paper */
    .navbar,
    .collapse-btn,
    .no-print {
        display: none !important;
    }

    /* Always show details when printing (ignore collapse) */
    .job-collapse-content {
        display: block !important;
    }

    /* Try to keep each job card on the same page */
    .job-entry {
        break-inside: avoid;
        page-break-inside: avoid;
        margin-bottom: 12mm;
        /* nice spacing between jobs */
    }

    /* Optional: start big sections on a new page */
    h2.section-title {
        break-before: page;
        /* modern property */
        page-break-before: always;
        /* older browsers */
    }

    /* Remove unnecessary shadows / rounding that look weird on paper */
    .card,
    .job-entry {
        box-shadow: none;
        border-radius: 0;
        border: 1px solid #ccc;
    }
}
