@media print {
    /* Reset basics */
    body {
        background: none;
        color: #000;
        margin: 0;
        padding: 15px;
        font-size: 12pt;
    }

    /* Hide unnecessary elements */
    .navigation,
    #footer,
    .custom-content,
    .custom-background,
    .custom-overlay,
    .sidebar,
    .btn-set,
    .nav-opener,
    .cc-window,
    script,
    .powered-by,
    .desktop-hidden,
    .tablet-hidden {
        display: none !important;
    }

    .py-80 {
        padding: 0;
    }
    .print {
        display: none;
    }
    /* Keep and style logo */
    .logo {
        display: block;
        margin-bottom: 30px;
    }

    .logo img {
        max-width: 200px;
        height: auto;
    }

    /* Job content styling */
    .jobdetail {
        margin: 0;
        padding: 0;
    }

    .jobdetail__description {
        margin-bottom: 20px;
    }

    .jobdetail__description h1 {
        font-size: 18pt;
        margin: 15px 0;
        page-break-after: avoid;
    }

    .jobdetail__profil {
        margin-top: 20px;
    }

    .jobdetail__profil p {
        margin: 8px 0;
    }

    .jobdetail__profil ul {
        margin: 8px 0 15px 20px;
        padding: 0;
    }

    .jobdetail__profil li {
        margin-bottom: 5px;
    }

    /* Ensure good contrast */
    * {
        background: none !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    /* Page breaks */
    h1, h2, h3 {
        page-break-after: avoid;
    }

    ul, img {
        page-break-inside: avoid;
    }

    /* Add contact info at bottom */
    .jobdetail:after {
        content: "Kontakt: Arbeitskraft AG, Genossenwiese 45, 8855 Wangen SZ";
        display: block;
        margin-top: 30px;
        font-style: italic;
        border-top: 1px solid #ccc;
        padding-top: 10px;
    }

    /* Links */
    a[href]:after {
        content: none !important;
    }
}