/* ==========================================================================
   TNG Print Styles
   Applied via @media print AND by pdflayer (use_print_media=1)
   ========================================================================== */

@media print {

    /* ── Hide non-content elements ── */
    .tng-pdf-download-wrap,
    .tng-at-download-wrap,
    .tng-download-wrap,
    .elementor-widget-tng_pdf_download,
    .screen-only,
    #wpadminbar,
    .site-navigation,
    .site-footer,
    .elementor-widget-tng-form-toggle,
    .elementor-widget-tng_bespoke_meetings_form,
    .elementor-widget-tng_event_cta_buttons,
    .elementor-widget-tng_booking_selector {
        display: none !important;
    }

    /* ── Show print-only elements ── */
    .print-only {
        display: initial !important;
    }

    /* ── Page layout ── */
    body {
        overflow: visible;
        font-size: 12px;
    }

    .container-fluid {
        padding-right: 0 !important;
        padding-left: 0 !important;
    }

    .wrapped {
        width: auto !important;
    }

    section.banner-content,
    .banner-wrap,
    .tng-event-banner {
        height: auto !important;
        min-height: auto !important;
    }

    /* ── Tables ── */
    .tablepress {
        max-width: 860px;
        text-align: center;
        margin: 0 auto;
    }

    .tablepress-container .tablepress thead th.column-1.column-1,
    .tablepress-container .tablepress thead th.column-2.column-2,
    .tng-at-table-wrap .tablepress thead th,
    .tng-at-table-wrap .tablepress thead td {
        background: #36475e !important;
        color: #fff !important;
        width: auto !important;
    }

    .tablepress .row-hover {
        font-size: 12px !important;
    }

    .tablepress .column-1,
    .tablepress .column-2,
    .tng-at-table-wrap .tablepress .column-1,
    .tng-at-table-wrap .tablepress .column-2 {
        color: #ed631c;
        font-family: Lato, Arial, sans-serif;
        font-size: 12px !important;
        width: auto !important;
    }

    .content-main p.emphasise,
    .tng-at-heading {
        color: #f06522 !important;
        font-family: Lato, Arial, sans-serif;
        text-transform: uppercase;
        display: block;
        max-width: 595px;
        text-align: center;
        margin: 40px auto;
        line-height: 2em;
        letter-spacing: 2px;
        word-spacing: 5px;
    }

    table.tablepress tbody tr {
        page-break-inside: avoid !important;
        border-right: none;
        border-left: none;
    }

    table.tablepress tbody tr td,
    table.tablepress thead tr th {
        page-break-inside: avoid !important;
        border: none;
    }

    table.tablepress {
        float: none !important;
        overflow: visible !important;
    }

    .tablepress-container {
        overflow: visible !important;
    }

    /* ── Links ── */
    a, a:link {
        color: #000 !important;
        text-decoration: underline !important;
    }

    /* ── Banner ── */
    .tng-event-banner {
        height: auto !important;
        min-height: auto !important;
    }

    .tng-event-banner .tng-eb-info-box {
        position: relative !important;
    }

}
