/**
 * Print Styles
 * Optimized styles for printing
 */

@media print {
    /* ========================================================================
       GENERAL PRINT STYLES
       ======================================================================== */

    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    body {
        padding-top: 0 !important;
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }

    /* ========================================================================
       HIDE INTERACTIVE ELEMENTS
       ======================================================================== */

    .header_section,
    .header_mobile_menu,
    .mobile_menu,
    .hero_section,
    .scroll-to-top,
    .theme-toggle,
    .skip-link,
    button,
    .button,
    form,
    nav,
    .hamburger {
        display: none !important;
    }

    /* ========================================================================
       LAYOUT ADJUSTMENTS
       ======================================================================== */

    .content_section {
        padding: 0 !important;
        max-width: 100% !important;
    }

    .card {
        padding: 1rem !important;
        margin-bottom: 1rem !important;
        border: 1px solid #ddd !important;
        page-break-inside: avoid;
    }

    .grid {
        display: block !important;
    }

    .footer_section {
        margin-top: 2rem;
        padding: 1rem 0 !important;
        border-top: 2px solid #000 !important;
    }

    .footer_content {
        display: block !important;
    }

    .footer-column {
        margin-bottom: 1rem;
    }

    /* ========================================================================
       TYPOGRAPHY
       ======================================================================== */

    h1 {
        font-size: 24pt;
        margin-bottom: 0.5rem;
    }

    h2 {
        font-size: 18pt;
        margin-bottom: 0.5rem;
        page-break-after: avoid;
    }

    h3 {
        font-size: 14pt;
        margin-bottom: 0.5rem;
    }

    h4, h5, h6 {
        font-size: 12pt;
        margin-bottom: 0.5rem;
    }

    p {
        orphans: 3;
        widows: 3;
        margin-bottom: 0.5rem;
    }

    /* ========================================================================
       LINKS
       ======================================================================== */

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

    a[href]::after {
        content: " (" attr(href) ")";
        font-size: 90%;
        font-style: italic;
    }

    /* Don't show URLs for fragment identifiers or javascript links */
    a[href^="#"]::after,
    a[href^="javascript:"]::after,
    a[href^="mailto:"]::after,
    a[href^="tel:"]::after {
        content: "";
    }

    /* ========================================================================
       IMAGES & MEDIA
       ======================================================================== */

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

    /* ========================================================================
       TABLES
       ======================================================================== */

    table {
        border-collapse: collapse;
        width: 100%;
        margin-bottom: 1rem;
    }

    th,
    td {
        border: 1px solid #ddd;
        padding: 0.5rem;
        text-align: left;
    }

    thead {
        display: table-header-group;
        background: #f0f0f0 !important;
    }

    tr {
        page-break-inside: avoid;
    }

    /* ========================================================================
       UTILITY CLASSES
       ======================================================================== */

    .page-break-before {
        page-break-before: always;
    }

    .page-break-after {
        page-break-after: always;
    }

    .no-print {
        display: none !important;
    }
}
