/* ============================================
   PRINT STYLESHEET — resume-print.css
   Add to resume.html head:
   <link rel="stylesheet" href="assets/css/resume-print.css" media="print">
   ============================================ */

@media print {

    /* Hide everything that isn't content */
    nav,
    footer,
    .back-to-top,
    .dark-mode-toggle,
    .scroll-progress,
    .page-loader,
    .download-section,
    .resume-updated {
        display: none !important;
    }

    /* Clean white background, no texture */
    body {
        background: white !important;
        padding-top: 0 !important;
    }

    body::before {
        display: none !important;
    }

    /* Remove container constraints so content fills the page */
    .container {
        max-width: 100% !important;
        padding: 0 1.5cm !important;
    }

    /* Push content to top since nav is gone */
    .page-intro {
        padding-top: 1.5cm !important;
    }

    /* Remove card backgrounds, shadows, borders */
    .entry {
        background: none !important;
        border: none !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        padding: 0.5rem 0 !important;
        margin-bottom: 0.5rem !important;
        opacity: 1 !important;
        border-bottom: 1px solid #e0e0e0 !important;
    }

    .entry:last-child {
        border-bottom: none !important;
    }

    .skills-list {
        background: none !important;
        border: none !important;
        padding: 0 !important;
    }

    .skill-row {
        border-bottom: 1px solid #e0e0e0 !important;
        opacity: 1 !important;
    }

    /* Make sure logos still show */
    .entry-logo {
        background: none !important;
        border: none !important;
    }

    /* Typography — print-safe sizes */
    .page-intro h1 {
        font-size: 2rem !important;
        color: #7d1e3e !important;
    }

    h2 {
        font-size: 1.4rem !important;
        color: #7d1e3e !important;
        opacity: 1 !important;
        transform: none !important;
    }

    .entry-title {
        font-size: 1.1rem !important;
        color: #7d1e3e !important;
    }

    .entry-description,
    .detail-text,
    .sub-entry-text,
    .skill-items {
        font-size: 0.9rem !important;
        line-height: 1.5 !important;
    }

    /* Avoid breaking entries across pages */
    .entry,
    .sub-entry,
    .detail-section {
        page-break-inside: avoid !important;
    }

    section {
        page-break-inside: avoid !important;
    }

    /* Links — show URLs in print */
    a[href]::after {
        content: none !important;
    }

    /* Colors print-safe */
    * {
        -webkit-print-color-adjust: exact !important;
        print-color-adjust: exact !important;
    }
}
