/* Print Stylesheet */
@media print {
    * {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    body {
        font-size: 12pt;
        line-height: 1.5;
    }

    /* Hide non-essential elements */
    .navbar,
    .hero-scroll,
    .back-to-top,
    .skip-to-content,
    .hero-social,
    .hero-buttons,
    .contact-grid,
    .orcid-actions .btn {
        display: none !important;
    }

    /* Page breaks */
    .section {
        page-break-inside: avoid;
        break-inside: avoid;
    }

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

    /* Links */
    a {
        text-decoration: underline;
        color: black !important;
    }

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

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

    /* Headers */
    .section-title {
        font-size: 18pt;
        margin-top: 20pt;
        margin-bottom: 10pt;
    }

    .section-subtitle {
        font-size: 11pt;
    }

    /* Profile */
    .profile-card {
        float: right;
        margin: 0 0 20pt 20pt;
        width: 150px;
        height: 150px;
    }

    /* Contact info */
    .about-info {
        margin-top: 15pt;
    }

    .info-item {
        margin-bottom: 5pt;
    }

    /* Timeline */
    .timeline-content {
        border: 1px solid #ccc;
        padding: 10pt;
        margin-bottom: 15pt;
    }

    .timeline-date {
        font-weight: bold;
    }

    /* Skills */
    .skills-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 10pt;
    }

    .skill-card {
        border: 1px solid #ccc;
        padding: 10pt;
    }

    /* Footer */
    .footer {
        margin-top: 30pt;
        padding-top: 15pt;
        border-top: 1px solid #ccc;
        font-size: 9pt;
    }

    /* ORCID */
    .orcid-card {
        border: 1px solid #ccc;
        padding: 15pt;
    }

    .orcid-header {
        border-bottom: 1px solid #ccc;
        padding-bottom: 10pt;
        margin-bottom: 10pt;
    }

    /* Page setup */
    @page {
        margin: 2cm;
    }

    /* Avoid breaking inside cards */
    .contact-card,
    .skill-card,
    .timeline-content {
        page-break-inside: avoid;
        break-inside: avoid;
    }
}

