/* Print Styles for Portfolio */
@media print {

    /* Hide interactive elements */
    .header-actions,
    .sidebar,
    .btn-view-all,
    .btn-view {
        display: none !important;
    }

    /* Reset layout for print */
    .container {
        display: block;
        max-width: 100%;
        padding: 0;
    }

    .main-content {
        max-width: 100%;
    }

    /* Optimize colors for print */
    body {
        background: white;
        color: black;
    }

    .profile-card,
    .content-section {
        box-shadow: none;
        border: 1px solid #ccc;
        page-break-inside: avoid;
    }

    .profile-banner {
        background: #667eea !important;
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    /* Ensure links are visible */
    a {
        color: #3B82F6;
        text-decoration: underline;
    }

    /* Add URL after links */
    a[href^="http"]:after {
        content: " (" attr(href) ")";
        font-size: 0.8em;
        color: #666;
    }

    /* Optimize spacing */
    .content-section {
        margin-bottom: 1.5rem;
        padding: 1rem;
    }

    /* Page breaks */
    h2 {
        page-break-after: avoid;
    }

    .timeline-item,
    .publication-item {
        page-break-inside: avoid;
    }

    /* Optimize profile image */
    .profile-image {
        border: 2px solid #ccc;
    }
}