/* Printer-friendly styles */
@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    body {
        background: white !important;
        font-size: 12pt;
        line-height: 1.5;
    }

    .container {
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
        background: white !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    header {
        background: white !important;
        color: #000 !important;
        padding: 1rem 0 !important;
        border-bottom: 2px solid #000 !important;
        margin-bottom: 1.5rem !important;
        page-break-inside: avoid;
    }

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

    header h1 {
        font-size: 18pt !important;
        font-weight: 700 !important;
        margin-bottom: 0.5rem !important;
    }

    header p {
        font-size: 11pt !important;
        margin-bottom: 0.5rem !important;
    }

    h2 {
        font-size: 16pt !important;
        font-weight: 700 !important;
        margin: 1.5rem 0 1rem 0 !important;
        page-break-after: avoid;
        border-bottom: 1px solid #000 !important;
        padding-bottom: 0.25rem !important;
    }

    h2::after {
        display: none !important;
    }

    h3 {
        font-size: 14pt !important;
        font-weight: 600 !important;
        margin: 1rem 0 0.5rem 0 !important;
        page-break-after: avoid;
    }

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

    h4 {
        font-size: 12pt !important;
        font-weight: 600 !important;
        margin: 0.75rem 0 0.5rem 0 !important;
    }

    h5 {
        font-size: 11pt !important;
        font-weight: 600 !important;
        margin: 0.5rem 0 0.25rem 0 !important;
    }

    section {
        background: white !important;
        padding: 1rem 0 !important;
        margin: 1rem 0 !important;
        border: none !important;
        box-shadow: none !important;
        page-break-inside: avoid;
    }

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

    .experience-header {
        margin-bottom: 0.75rem !important;
    }

    .experience-title {
        font-size: 14pt !important;
        color: #000 !important;
    }

    .experience-period {
        background: white !important;
        color: #000 !important;
        padding: 0 !important;
        border: none !important;
        font-size: 11pt !important;
        font-weight: normal !important;
    }

    .skills-grid,
    .networks-grid {
        display: block !important;
        margin: 0.5rem 0 !important;
    }

    .skill-item,
    .network-item {
        background: white !important;
        border: 1px solid #ccc !important;
        padding: 0.5rem !important;
        margin: 0.25rem 0 !important;
        display: inline-block !important;
        page-break-inside: avoid;
        box-shadow: none !important;
    }

    .skill-item::before,
    .network-item::before,
    .skill-item::after,
    .network-item::after,
    .interactive-card::after {
        display: none !important;
    }

    .skill-item:hover,
    .network-item:hover {
        transform: none !important;
        background: white !important;
        color: #000 !important;
    }

    ul, ol {
        margin: 0.5rem 0 !important;
        padding-left: 1.5rem !important;
    }

    li {
        margin: 0.25rem 0 !important;
        page-break-inside: avoid;
    }

    p {
        margin: 0.5rem 0 !important;
        orphans: 3;
        widows: 3;
    }

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

    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 10pt;
        color: #666;
    }

    a[href^="#"]:after {
        display: none;
    }

    a::after {
        display: none !important;
    }

    img {
        max-width: 100% !important;
        height: auto !important;
        page-break-inside: avoid;
    }

    /* Remove animations and transitions */
    * {
        animation: none !important;
        transition: none !important;
    }

    .scroll-reveal {
        opacity: 1 !important;
        transform: none !important;
    }

    /* Page break controls */
    .no-break {
        page-break-inside: avoid;
    }

    /* Ensure sections don't break awkwardly */
    section {
        page-break-inside: avoid;
    }

    /* Print URLs for external links */
    @page {
        margin: 1.5cm;
    }

    /* Hide unnecessary elements */
    .interactive-card {
        position: static !important;
    }
}

