/* PRINT STYLESHEET - EXECUTIVE BRIEF FORMAT */
@media print {

    /* RESET UI */
    .navbar,
    .super-footer,
    .floating-search-trigger,
    .search-modal-backdrop,
    .toc-sidebar,
    .back-btn,
    .language-switcher,
    #citation-modal,
    .hub-nav,
    nav,
    footer,
    .print-btn,
    .btn-primary,
    .btn-outline,
    .social-btn,
    .mega-cta-section {
        display: none !important;
    }

    /* PAGE SETUP */
    @page {
        size: A4;
        margin: 2cm;
    }

    body {
        background-color: white !important;
        color: black !important;
        font-size: 11pt !important;
        line-height: 1.4 !important;
        font-family: 'Times New Roman', serif !important;
    }

    /* HEADER INJECTION */
    body::before {
        content: "DCM DIGITAL HUB - EXECUTIVE BRIEF";
        display: block;
        text-align: center;
        font-size: 9pt;
        color: #666;
        border-bottom: 1px solid #ccc;
        padding-bottom: 10px;
        margin-bottom: 20px;
    }

    /* TYPOGRAPHY */
    h1,
    h2,
    h3,
    h4 {
        color: black !important;
        page-break-after: avoid;
        font-family: Arial, sans-serif !important;
    }

    h1 {
        font-size: 24pt !important;
        margin-bottom: 0.5cm !important;
    }

    h2 {
        font-size: 16pt !important;
        border-bottom: 1px solid black !important;
        padding-bottom: 5px !important;
        margin-top: 1cm !important;
    }

    p {
        margin-bottom: 10px !important;
    }

    /* CONTAINERS */
    .container,
    .max-w-6xl,
    .case-section {
        width: 100% !important;
        max-width: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    /* EXECUTIVE LAYER & CRO BOXES */
    .executive-layer,
    .executive-summary,
    .cro-box,
    section[data-aos] {
        page-break-inside: avoid !important;
        border: 1px solid #000 !important;
        background: #fdfdfd !important;
        color: black !important;
        margin-bottom: 20px !important;
        padding: 15px !important;
    }

    /* GRID FIXES for Print */
    .grid,
    [style*="display: grid"] {
        display: block !important;
    }

    .grid>div,
    [style*="display: grid"]>div {
        margin-bottom: 20px !important;
        width: 100% !important;
    }

    /* TABLES */
    table {
        border-collapse: collapse !important;
        width: 100% !important;
        margin: 20px 0 !important;
    }

    th,
    td {
        border: 1px solid #ccc !important;
        padding: 8px !important;
        color: black !important;
    }

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