/*
 * print_general.css
 * Production-named sitewide print stylesheet for Azores.com.
 *
 * Based on the working Rev17 whole-main-clone print system.
 * Purpose: keep general Azores.com pages printable without relying on a revision-named file.
 * Package pages now also have the separate dedicated document system:
 * /wp-content/themes/portugal/print/package_document.php
 */

/*
 * AZORES.COM — PRINT STYLES REV 1
 * 2026-09-10
 *
 * Loaded by header.php with media="print".
 * Purpose: turn web pages into clean printable documents.
 * This file does not affect normal desktop or mobile rendering.
 */

@media print {

    @page {
        size: Letter portrait;
        /*
         * Extra top/bottom room is reserved for the branded print header/footer.
         * Side margins also give the document a more professional PDF layout.
         */
        margin: 0.82in 0.70in 0.72in;

        /* Header: brand text at left, theme logo at right, separator underneath. */
        @top-left {
            content: "Azores.com Travel & Tours";
            font-family: Arial, Helvetica, sans-serif;
            font-size: 13pt;
            line-height: 1.1;
            font-weight: 700;
            color: #2f4a2f;
            vertical-align: middle;
            padding: 0 0 0.10in 0;
            border-bottom: 0.75pt solid #9aa3ad;
        }

        @top-center {
            content: "";
            padding: 0 0 0.10in 0;
            border-bottom: 0.75pt solid #9aa3ad;
        }

        @top-right {
            /*
             * Use generated image content rather than a background image.
             * The site's live logo is /wp-content/themes/portugal/images/logo.png.
             */
            content: url("https://azores.com/wp-content/themes/portugal/images/logo.png");
            vertical-align: middle;
            text-align: right;
            padding: 0 0 0.10in 0;
            border-bottom: 0.75pt solid #9aa3ad;
        }

        /* Footer: site URL at left and Page X of Y at right. */
        @bottom-left {
            content: "https://azores.com/";
            font-family: Arial, Helvetica, sans-serif;
            font-size: 8.5pt;
            font-weight: 400;
            color: #555;
            vertical-align: middle;
            padding: 0.08in 0 0 0;
            border-top: 0.75pt solid #b4bac1;
        }

        @bottom-center {
            content: "";
            padding: 0.08in 0 0 0;
            border-top: 0.75pt solid #b4bac1;
        }

        @bottom-right {
            content: "Page " counter(page);
            font-family: Arial, Helvetica, sans-serif;
            font-size: 8.5pt;
            font-weight: 400;
            color: #555;
            text-align: right;
            vertical-align: middle;
            padding: 0.08in 0 0 0;
            border-top: 0.75pt solid #b4bac1;
        }
    }

    html,
    body {
        width: auto !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        color: #111 !important;
        overflow: visible !important;
        -webkit-print-color-adjust: economy;
        print-color-adjust: economy;
    }

    /* =========================================================
       1. SCREEN-ONLY SITE CHROME
       ========================================================= */

    html body #header,
    html body #header *,
    html body #azores-mobile-phone-bar,
    html body nav.mobile-menu,
    html body .mobile-menu,
    html body #openMenu,
    html body #full-overlay,
    html body .overlay-content,
    html body #az-header-search-backdrop,
    html body #search-form,
    html body .ui-widget-overlay,
    html body .ui-dialog,
    html body .fullpage-data,
    html body nav.blog-categories,
    html body .scrollToTop,
    html body #wpadminbar,
    html body .cmplz-cookiebanner,
    html body .cmplz-manage-consent,
    html body .grecaptcha-badge,
    html body .shareaholic-canvas,
    html body .shareaholic-share-buttons-container,
    html body [id*="ht-ctc"],
    html body [class*="ht-ctc"],
    html body [id*="whatsapp"],
    html body [class*="whatsapp"],
    html body .zopim,
    html body iframe[title*="chat"],
    html body iframe[src*="whatsapp"],
    html body iframe[src*="chat"] {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        overflow: hidden !important;
    }

    /* Catch third-party floating controls that use inline fixed positioning. */
    html body > [style*="position: fixed"],
    html body > [style*="position:fixed"] {
        display: none !important;
    }

    /* =========================================================
       2. REMOVE SCREEN-ONLY TOP OFFSETS / HERO SPACE
       ========================================================= */

    html body #body,
    html body.single-package #body,
    html body #body.package-seo-page,
    html body #body.az-blog-home,
    html body #body.az-blog-single {
        position: static !important;
        top: auto !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        overflow: visible !important;
    }

    html body #body > .carousel,
    html body #body .image-page-header,
    html body #body > .image-page-header,
    html body .hiking-standard-hero,
    html body .hiking-package-hero,
    html body .carousel,
    html body .cycle-slideshow,
    html body .carousel-content-container,
    html body .carousel-over,
    html body .hero-overlay,
    html body .prty-hero {
        display: none !important;
        visibility: hidden !important;
        position: static !important;
        width: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        overflow: hidden !important;
    }

    /* Breadcrumbs are navigation, not useful printed content. */
    html body .package-detail-breadcrumbs,
    html body .hiking-breadcrumbs,
    html body .breadcrumb-wrapper,
    html body .breadcrumb,
    html body .azm-breadcrumb-strip,
    html body .azm-breadcrumbs,
    html body .azh-breadcrumb-strip,
    html body .azh-breadcrumbs,
    html body .azi-breadcrumb-strip,
    html body .azi-breadcrumbs,
    html body .azc-breadcrumb-strip,
    html body .azc-breadcrumbs,
    html body .azd-breadcrumb-strip,
    html body .azd-breadcrumbs,
    html body .azpc-breadcrumb-strip,
    html body .azpc-breadcrumbs,
    html body .prty-breadcrumb-strip,
    html body .prty-breadcrumbs {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    /* Undo legacy 80/90px wrapper offsets found in page-specific CSS. */
    html body .wrapper,
    html body .inner-wrapper,
    html body #body > .wrapper,
    html body #body > .inner-wrapper {
        top: auto !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        margin-top: 0 !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        float: none !important;
        overflow: visible !important;
        box-sizing: border-box !important;
    }

    /* =========================================================
       3. PACKAGE DETAIL PAGES
       ========================================================= */

    /* Hide both modern and legacy package section navigation. */
    html body.single-package .hiking-section-nav,
    html body.single-package .package-seo-tabs,
    html body.single-package nav.tabs-nav,
    html body.single-package .tabs-nav,
    html body #body.package-seo-page .hiking-section-nav,
    html body #body.package-seo-page .package-seo-tabs,
    html body #body.package-seo-page nav.tabs-nav,
    html body #body.package-seo-page .tabs-nav {
        display: none !important;
        visibility: hidden !important;
        position: static !important;
        width: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
        overflow: hidden !important;
    }

    html body.single-package .package-title-wrapper,
    html body.single-package .package-seo-title-wrapper,
    html body.single-package .package-detail-title-wrapper,
    html body #body.package-seo-page .package-title-wrapper,
    html body #body.package-seo-page .package-seo-title-wrapper,
    html body #body.package-seo-page .package-detail-title-wrapper {
        position: static !important;
        top: auto !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 0 10pt !important;
        padding: 0 !important;
        background: #fff !important;
    }

    html body.single-package h1.product-name,
    html body #body.package-seo-page h1.product-name {
        display: block !important;
        position: static !important;
        top: auto !important;
        right: auto !important;
        bottom: auto !important;
        left: auto !important;
        float: none !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 0 10pt !important;
        padding: 0 !important;
        color: #111 !important;
        background: transparent !important;
        font-size: 21pt !important;
        line-height: 1.18 !important;
        font-weight: 700 !important;
        text-align: left !important;
        text-shadow: none !important;
        transform: none !important;
        overflow: visible !important;
    }

    html body.single-package .package-detail-header-content,
    html body #body.package-seo-page .package-detail-header-content {
        position: static !important;
        top: auto !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    html body.single-package .hiking-package-shell,
    html body.single-package .package-seo-summary,
    html body #body.package-seo-page .hiking-package-shell,
    html body #body.package-seo-page .package-seo-summary {
        position: static !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 0 14pt !important;
        padding: 9pt 10pt !important;
        background: #fff !important;
        border: 1px solid #bbb !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
        break-inside: avoid-page !important;
        page-break-inside: avoid !important;
    }

    html body.single-package .hiking-package-intro,
    html body #body.package-seo-page .hiking-package-intro {
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    /* Keep the useful "From" price, remove only the quote/request button. */
    html body.single-package .hiking-price-panel.package-seo-primary-cta,
    html body #body.package-seo-page .hiking-price-panel.package-seo-primary-cta {
        display: block !important;
        margin: 8pt 0 0 !important;
        padding: 7pt 0 0 !important;
        border-top: 1px solid #ddd !important;
        background: #fff !important;
        box-shadow: none !important;
    }

    html body.single-package .hiking-quote-button,
    html body.single-package .article-booking-link,
    html body.single-package .booking-link-container,
    html body.single-package .booking-link-mobile,
    html body.single-package .top-mobile-cta,
    html body.single-package .hiking-final-cta,
    html body #body.package-seo-page .hiking-quote-button,
    html body #body.package-seo-page .article-booking-link,
    html body #body.package-seo-page .booking-link-container,
    html body #body.package-seo-page .booking-link-mobile,
    html body #body.package-seo-page .top-mobile-cta,
    html body #body.package-seo-page .hiking-final-cta {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Main package content becomes a clean document column. */
    html body.single-package .hiking-package-content,
    html body.single-package .package.details,
    html body #body.package-seo-page .hiking-package-content,
    html body #body.package-seo-page .package.details {
        position: static !important;
        top: auto !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        background: #fff !important;
        border: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    html body.single-package .hiking-content-section,
    html body.single-package .package.details > article,
    html body #body.package-seo-page .hiking-content-section,
    html body #body.package-seo-page .package.details > article {
        position: static !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 0 18pt !important;
        padding: 0 !important;
        background: #fff !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
        break-inside: auto !important;
        page-break-inside: auto !important;
    }

    /* Related/similar packages are web discovery elements, not core print content. */
    html body.single-package .hiking-related-links,
    html body.single-package .hiking-similar-packages,
    html body.single-package .package-seo-related,
    html body.single-package .related-items,
    html body #body.package-seo-page .hiking-related-links,
    html body #body.package-seo-page .hiking-similar-packages,
    html body #body.package-seo-page .package-seo-related,
    html body #body.package-seo-page .related-items {
        display: none !important;
    }

    /* Invisible anchor helpers should occupy no printed space. */
    html body.single-package .package-seo-legacy-anchor,
    html body #body.package-seo-page .package-seo-legacy-anchor {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* =========================================================
       4. BLOG / INFORMATION / HUB / CATEGORY SCREEN NAVIGATION
       ========================================================= */

    html body .more-posts,
    html body .blog-sidebar,
    html body .related-posts,
    html body .azh-jump-nav,
    html body .azi-jump-nav,
    html body .azm-family-nav,
    html body .azm-actions,
    html body .azh-actions,
    html body .azi-actions,
    html body .azc-actions,
    html body .azd-actions,
    html body .azpc-nav-shell,
    html body .azpc-category-nav,
    html body .azpc-hero-actions,
    html body .azpc-conversion-band,
    html body .bodypromo,
    html body .mobile-homepage-reviews {
        display: none !important;
    }

    html body .information-content,
    html body .azm-content,
    html body .azh-content,
    html body .azi-content,
    html body .azc-content,
    html body .azd-content,
    html body .article-container {
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        background: #fff !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    /* =========================================================
       5. GENERIC PRINT TYPOGRAPHY / PAGINATION
       ========================================================= */

    html body h1,
    html body h2,
    html body h3,
    html body h4,
    html body h5,
    html body h6 {
        color: #111 !important;
        text-shadow: none !important;
        break-after: avoid-page !important;
        page-break-after: avoid !important;
    }

    html body p,
    html body li,
    html body blockquote {
        orphans: 3 !important;
        widows: 3 !important;
    }

    html body figure,
    html body .wp-caption,
    html body blockquote,
    html body pre,
    html body .package-seo-fact,
    html body .package-seo-glance-list > li,
    html body .hiking-at-a-glance > li,
    html body .faq-item,
    html body .hiking-faq-item {
        break-inside: avoid-page !important;
        page-break-inside: avoid !important;
    }

    /* Long sections must be allowed to continue onto following pages. */
    html body article,
    html body .package-seo-overview,
    html body .package-seo-at-a-glance,
    html body .package-seo-itinerary,
    html body .hiking-itinerary-section,
    html body .hiking-included-section,
    html body .hiking-rates-section,
    html body .hiking-hotels-section,
    html body .hiking-policies-section,
    html body .hiking-faq-section {
        break-inside: auto !important;
        page-break-inside: auto !important;
    }

    /* =========================================================
       6. IMAGES / MAPS
       ========================================================= */

    html body article img,
    html body .inner-content img,
    html body .information-content img,
    html body figure img,
    html body .wp-caption img {
        position: static !important;
        float: none !important;
        max-width: 100% !important;
        width: auto !important;
        height: auto !important;
        max-height: 7in !important;
        margin-left: auto !important;
        margin-right: auto !important;
        object-fit: contain !important;
        break-inside: avoid-page !important;
        page-break-inside: avoid !important;
    }

    html body img.alignleft,
    html body img.alignright,
    html body .wp-caption.alignleft,
    html body .wp-caption.alignright {
        float: none !important;
        display: block !important;
        margin: 8pt auto !important;
    }

    html body .wp-caption {
        width: auto !important;
        max-width: 100% !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }

    html body .wp-caption-text,
    html body figcaption {
        color: #555 !important;
        font-size: 9pt !important;
        line-height: 1.35 !important;
    }

    /* =========================================================
       7. TABLES
       ========================================================= */

    html body table {
        width: 100% !important;
        max-width: 100% !important;
        border-collapse: collapse !important;
    }

    html body thead {
        display: table-header-group !important;
    }

    html body tfoot {
        display: table-footer-group !important;
    }

    html body tr {
        break-inside: avoid-page !important;
        page-break-inside: avoid !important;
    }

    html body th,
    html body td {
        max-width: 100% !important;
    }

    /* =========================================================
       8. LINKS / BUTTONS / FORMS
       ========================================================= */

    html body button,
    html body input[type="button"],
    html body input[type="submit"],
    html body input[type="reset"],
    html body .button,
    html body a.button {
        display: none !important;
    }

    html body a,
    html body a:visited {
        color: #111 !important;
        text-decoration: none !important;
    }

    /* Never append raw URLs after links. */
    html body a[href]::after {
        content: none !important;
    }

    /* =========================================================
       9. FOOTER / PROMOTIONAL CONTENT
       ========================================================= */

    html body #footer,
    html body .site-footer,
    html body .footer-columns-container,
    html body .newsletter,
    html body .newsletter-container {
        display: none !important;
    }

    html body *,
    html body *::before,
    html body *::after {
        text-shadow: none !important;
    }
}

/* =========================================================
   REV 2 — PRINT CONTENT TRIMMING
   Blog: print article only; remove author/recommendations/promos/footer.
   Packages: remove summary card beneath H1 and all footer content.
   ========================================================= */
@media print {

    /* ---------------------------------------------------------
       BLOG ARTICLE PAGES
       Keep the article itself; remove end-of-article website UI.
       --------------------------------------------------------- */

    body.single-post #body.az-blog-single .saboxplugin-wrap,
    body.single-post #body.az-blog-single [class*="saboxplugin-wrap"],
    body.single-post #body.az-blog-single .simple-author-box,
    body.single-post #body.az-blog-single .az-blog-article-footer,
    body.single-post #body.az-blog-single .az-blog-after-article,
    body.single-post #body.az-blog-single .az-blog-single-topic-nav-wrap,
    body.single-post #body.az-blog-single .az-blog-breadcrumb-strip {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
        overflow: hidden !important;
    }

    /*
     * displayBodyPromo('Blog') is rendered after #body as a separate
     * .article-container holding .wrapper.bodypromo. Hide the whole
     * container so it cannot leave a blank printed page.
     */
    body.single-post #body.az-blog-single ~ .article-container,
    body.single-post .wrapper.bodypromo,
    body.single-post .bodypromo,
    body.single-post .footer-boxes {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        overflow: hidden !important;
    }

    /* Current footer markup uses .az-footer rather than #footer. */
    body.single-post .az-footer,
    body.single-post footer.az-footer,
    body.single-post #footer,
    body.single-post .site-footer {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        overflow: hidden !important;
    }

    /* Tighten the end of the printed article after removed blocks. */
    body.single-post #body.az-blog-single,
    body.single-post #body.az-blog-single .az-blog-single-main,
    body.single-post #body.az-blog-single .az-blog-article,
    body.single-post #body.az-blog-single .az-blog-article-content {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    /* ---------------------------------------------------------
       PACKAGE / TOUR PAGES
       H1 should flow directly into Tour Overview.
       --------------------------------------------------------- */

    /*
     * Remove the large web summary/facts/price card shown immediately
     * beneath the H1. The detailed itinerary/rates remain later.
     */
    body.single-package .hiking-package-shell.package-seo-summary,
    body.single-package .package-seo-summary,
    #body.package-seo-page .hiking-package-shell.package-seo-summary,
    #body.package-seo-page .package-seo-summary {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
        overflow: hidden !important;
    }

    /* No footer of any kind on printed package/tour pages. */
    body.single-package .az-footer,
    body.single-package footer.az-footer,
    body.single-package #footer,
    body.single-package .site-footer,
    body.single-package .footer-columns-container,
    #body.package-seo-page ~ .az-footer,
    #body.package-seo-page ~ #footer {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        overflow: hidden !important;
    }

    /* Pull Tour Overview up directly beneath the H1. */
    body.single-package .package-title-wrapper,
    body.single-package .package-seo-title-wrapper,
    body.single-package .package-detail-title-wrapper,
    #body.package-seo-page .package-title-wrapper,
    #body.package-seo-page .package-seo-title-wrapper,
    #body.package-seo-page .package-detail-title-wrapper {
        margin-bottom: 4pt !important;
        padding-bottom: 0 !important;
    }

    body.single-package h1.product-name,
    #body.package-seo-page h1.product-name {
        margin-bottom: 6pt !important;
    }

    body.single-package main.hiking-package-content,
    body.single-package .hiking-package-content,
    body.single-package .package.details,
    #body.package-seo-page main.hiking-package-content,
    #body.package-seo-page .hiking-package-content,
    #body.package-seo-page .package.details {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    body.single-package .hiking-package-content > article:first-of-type,
    #body.package-seo-page .hiking-package-content > article:first-of-type,
    body.single-package .package.details > article:first-of-type,
    #body.package-seo-page .package.details > article:first-of-type {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
}

/* =========================================================
   REV 3 — EXPAND DAY-BY-DAY ITINERARY FOR PRINT
   JavaScript temporarily adds the open state before printing.
   These CSS rules ensure the expanded content prints cleanly.
   ========================================================= */
@media print {

    body.single-package details.hiking-day,
    #body.package-seo-page details.hiking-day {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        margin: 0 0 8pt !important;
        padding: 0 !important;
        background: #fff !important;
        border: 1px solid #d8dee9 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
        break-inside: avoid-page !important;
        page-break-inside: avoid !important;
    }

    body.single-package details.hiking-day > summary,
    #body.package-seo-page details.hiking-day > summary {
        display: block !important;
        margin: 0 !important;
        padding: 7pt 9pt 5pt !important;
        background: #fff !important;
        color: #111 !important;
        font-weight: 700 !important;
        cursor: default !important;
        list-style: none !important;
    }

    body.single-package details.hiking-day > summary::marker,
    #body.package-seo-page details.hiking-day > summary::marker {
        content: "" !important;
    }

    body.single-package details.hiking-day > summary::-webkit-details-marker,
    #body.package-seo-page details.hiking-day > summary::-webkit-details-marker {
        display: none !important;
    }

    body.single-package details.hiking-day > .hiking-day-content,
    #body.package-seo-page details.hiking-day > .hiking-day-content {
        display: block !important;
        visibility: visible !important;
        height: auto !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 2pt 9pt 8pt !important;
        overflow: visible !important;
        color: #111 !important;
        background: #fff !important;
    }

    body.single-package details.hiking-day > .hiking-day-content p,
    #body.package-seo-page details.hiking-day > .hiking-day-content p {
        display: block !important;
        visibility: visible !important;
        height: auto !important;
        max-height: none !important;
        overflow: visible !important;
    }
}

/* =========================================================
   REV 4 — REMOVE PACKAGE FAQ / COMMON QUESTIONS FROM PRINT
   ========================================================= */
@media print {

    body.single-package #tour-faq,
    body.single-package #hiking-faq,
    body.single-package .hiking-faq-section,
    #body.package-seo-page #tour-faq,
    #body.package-seo-page #hiking-faq,
    #body.package-seo-page .hiking-faq-section {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
        overflow: hidden !important;
    }
}

/* =========================================================
   REV 5 — HOTEL PRINT FLOW / OWL CAROUSEL RESET
   Prevent hotel cards from being clipped or chopped in print.
   ========================================================= */
@media print {

    /* The live hotel markup is inside Owl Carousel wrappers.
       Turn the carousel back into ordinary document flow for print. */
    body.single-package .hiking-hotels-section .package-hotels,
    #body.package-seo-page .hiking-hotels-section .package-hotels,
    body.single-package .hiking-hotels-section .owl-carousel,
    #body.package-seo-page .hiking-hotels-section .owl-carousel,
    body.single-package .hiking-hotels-section .owl-wrapper-outer,
    #body.package-seo-page .hiking-hotels-section .owl-wrapper-outer,
    body.single-package .hiking-hotels-section .owl-wrapper,
    #body.package-seo-page .hiking-hotels-section .owl-wrapper,
    body.single-package .hiking-hotels-section .owl-item,
    #body.package-seo-page .hiking-hotels-section .owl-item {
        display: block !important;
        position: static !important;
        float: none !important;
        left: auto !important;
        right: auto !important;
        top: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow: visible !important;
        transform: none !important;
        -webkit-transform: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        box-sizing: border-box !important;
    }

    /* Owl navigation is meaningless on paper. */
    body.single-package .hiking-hotels-section .owl-controls,
    #body.package-seo-page .hiking-hotels-section .owl-controls,
    body.single-package .hiking-hotels-section .owl-pagination,
    #body.package-seo-page .hiking-hotels-section .owl-pagination,
    body.single-package .hiking-hotels-section .owl-buttons,
    #body.package-seo-page .hiking-hotels-section .owl-buttons {
        display: none !important;
        visibility: hidden !important;
    }

    /* Keep each hotel intact where possible and let it use the full paper width. */
    body.single-package .hiking-hotels-section .package-hotel.item,
    #body.package-seo-page .hiking-hotels-section .package-hotel.item,
    body.single-package .hiking-hotels-section .package-hotel,
    #body.package-seo-page .hiking-hotels-section .package-hotel {
        display: block !important;
        position: static !important;
        float: none !important;
        clear: both !important;
        width: 100% !important;
        max-width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 0 12pt !important;
        padding: 8pt 10pt !important;
        overflow: visible !important;
        background: #fff !important;
        border: 1px solid #d8dee9 !important;
        box-shadow: none !important;
        box-sizing: border-box !important;
        break-inside: avoid-page !important;
        page-break-inside: avoid !important;
    }

    /* Prevent legacy negative margins / fixed float behavior from clipping copy. */
    body.single-package .hiking-hotels-section .package-hotel h3,
    #body.package-seo-page .hiking-hotels-section .package-hotel h3 {
        margin: 0 0 7pt !important;
        padding: 0 !important;
    }

    body.single-package .hiking-hotels-section .package-hotel-thumb,
    #body.package-seo-page .hiking-hotels-section .package-hotel-thumb {
        float: left !important;
        width: auto !important;
        max-width: 34% !important;
        margin: 0 10pt 6pt 0 !important;
    }

    body.single-package .hiking-hotels-section .package-hotel-thumb img,
    #body.package-seo-page .hiking-hotels-section .package-hotel-thumb img,
    body.single-package .hiking-hotels-section .package-hotel .attachment-promo-thumb,
    #body.package-seo-page .hiking-hotels-section .package-hotel .attachment-promo-thumb {
        display: block !important;
        float: none !important;
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
    }

    body.single-package .hiking-hotels-section .package-hotel p,
    #body.package-seo-page .hiking-hotels-section .package-hotel p {
        display: block !important;
        width: auto !important;
        max-width: none !important;
        height: auto !important;
        max-height: none !important;
        margin-top: 0 !important;
        overflow: visible !important;
    }

    body.single-package .hiking-hotels-section .package-hotels-images,
    #body.package-seo-page .hiking-hotels-section .package-hotels-images {
        clear: both !important;
        width: 100% !important;
        height: auto !important;
        overflow: visible !important;
    }

    /* Clear the floated thumbnail before the next hotel card begins. */
    body.single-package .hiking-hotels-section .package-hotel::after,
    #body.package-seo-page .hiking-hotels-section .package-hotel::after {
        content: "" !important;
        display: table !important;
        clear: both !important;
    }
}

/* =========================================================
   REV 6 — BLOG ARTICLE PROMO BLOCK HARD HIDE
   The Blog body promo is rendered AFTER #body.az-blog-single.
   Hide that entire sibling container, not just the cards inside it.
   ========================================================= */
@media print {

    /*
     * Current single.php renders:
     *   </div><!-- #body.az-blog-single -->
     *   displayBodyPromo('Blog')
     *   get_footer()
     *
     * Therefore target the promo article-container as a sibling of
     * the blog body. Do not rely on WordPress body.single-post class.
     */
    #body.az-blog-single ~ .article-container,
    #body.az-blog-single + .article-container,
    #body.az-blog-single ~ .article-container .wrapper.bodypromo,
    #body.az-blog-single ~ .article-container .footer-boxes,
    #body.az-blog-single ~ .article-container .arcticles {
        display: none !important;
        visibility: hidden !important;
        position: static !important;
        width: 0 !important;
        max-width: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
        overflow: hidden !important;
    }

    /* Belt-and-suspenders: never print the unified promo cards on blog articles. */
    #body.az-blog-single ~ * .bodypromo,
    #body.az-blog-single ~ * .footer-boxes {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
}

/* =========================================================
   REV 7 — HOTEL PRINT: HIDE EXTRA GALLERY IMAGES
   Keep the main hotel thumbnail and text; suppress the
   additional three gallery images stored in .package-hotels-images.
   ========================================================= */
@media print {

    body.single-package .hiking-hotels-section .package-hotels-images,
    #body.package-seo-page .hiking-hotels-section .package-hotels-images,
    body.single-package .hiking-hotels-section .package-hotels-images *,
    #body.package-seo-page .hiking-hotels-section .package-hotels-images * {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        overflow: hidden !important;
    }
}

/* =========================================================
   REV 8 — EXACT CURRENT BLOG PROMO COMPONENT PRINT HIDE
   displayBodyPromo('Blog') renders .az-site-promos-section
   immediately after #body.az-blog-single. Its component CSS is
   emitted later in the document with !important, so use a more
   specific selector here to win the print cascade.
   ========================================================= */
@media print {

    html body #body.az-blog-single ~ section.az-site-promos-section,
    html body #body.az-blog-single + section.az-site-promos-section,
    html body #body.az-blog-single ~ .az-site-promos-section,
    html body #body.az-blog-single + .az-site-promos-section {
        display: none !important;
        visibility: hidden !important;
        position: static !important;
        width: 0 !important;
        max-width: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
        overflow: hidden !important;
    }

    html body #body.az-blog-single ~ section.az-site-promos-section *,
    html body #body.az-blog-single + section.az-site-promos-section *,
    html body #body.az-blog-single ~ .az-site-promos-section *,
    html body #body.az-blog-single + .az-site-promos-section * {
        display: none !important;
        visibility: hidden !important;
    }
}

/* =========================================================
   REV 9 — PACKAGE PRINT: REMOVE DATES & RATES ENTIRELY
   Hide the complete pricing section, including its heading,
   rate table, explanatory header, notes/footer, and anchor.
   ========================================================= */
@media print {

    /* Current SEO package template. */
    body.single-package #tour-rates,
    body.single-package #hiking-rates,
    body.single-package .hiking-rates-section,
    #body.package-seo-page #tour-rates,
    #body.package-seo-page #hiking-rates,
    #body.package-seo-page .hiking-rates-section,

    /* Legacy package template fallback. */
    body.single-package #rates,
    body.single-package article#rates,
    body.single-package .rates,
    #body.package-seo-page #rates,
    #body.package-seo-page article#rates {
        display: none !important;
        visibility: hidden !important;
        position: static !important;
        width: 0 !important;
        max-width: 0 !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        box-shadow: none !important;
        overflow: hidden !important;
    }

    /* Explicitly suppress all pricing sub-components as a safeguard. */
    body.single-package .package-rate-guide,
    body.single-package .package-rate-table-wrap,
    body.single-package .package-rate-notes,
    body.single-package .rates-header,
    body.single-package .rates-footer,
    body.single-package .package-rates-container,
    #body.package-seo-page .package-rate-guide,
    #body.package-seo-page .package-rate-table-wrap,
    #body.package-seo-page .package-rate-notes,
    #body.package-seo-page .rates-header,
    #body.package-seo-page .rates-footer,
    #body.package-seo-page .package-rates-container {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }
}

/* =========================================================
   REV 10 — BRANDED PRINT/PDF PAGE CHROME
   Baseline: Rev9 exactly.
   Chrome/Edge 131+ support @page margin boxes used above.
   Turn OFF the browser's own "Headers and footers" print option
   to avoid duplicate browser URL/date/page-number chrome.
   ========================================================= */

/* =========================================================
   REV 11 — PRINT HEADER LOGO + TRAILING BLANK PAGE FIX
   ========================================================= */
@media print {

    /*
     * On modern package pages the printable document lives inside
     * #body.package-seo-page. Everything rendered after that node is
     * footer / overlay / plugin output and must not participate in
     * pagination. This prevents a trailing blank page from being counted.
     */
    body.single-package #body.package-seo-page ~ * {
        display: none !important;
        visibility: hidden !important;
        width: 0 !important;
        height: 0 !important;
        min-width: 0 !important;
        min-height: 0 !important;
        max-width: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        overflow: hidden !important;
    }

    /*
     * Booking & policies is the final printable section on the current
     * package template. Do not leave trailing block spacing or a forced
     * break after it.
     */
    body.single-package #hiking-policies,
    #body.package-seo-page #hiking-policies,
    body.single-package .hiking-policies-section,
    #body.package-seo-page .hiking-policies-section {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        break-after: auto !important;
        page-break-after: auto !important;
    }
}

/* =========================================================
   REV 12 — STRONGER TRAILING PAGE CLEANUP
   The page counter itself is correct; Chrome is counting an
   extra blank print sheet. Remove every non-printable node
   after Booking & policies inside the modern package document,
   collapse clearfix pseudo-content, and eliminate the tiny
   trailing layout overflow that can create a final blank page.
   ========================================================= */
@media print {

    /* Booking & policies is the last printable node in the modern package main. */
    body.single-package #hiking-policies ~ *,
    #body.package-seo-page #hiking-policies ~ * {
        display: none !important;
        visibility: hidden !important;
        position: static !important;
        width: 0 !important;
        height: 0 !important;
        min-width: 0 !important;
        min-height: 0 !important;
        max-width: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        overflow: hidden !important;
    }

    /* Similar/related content sits after </main>; keep it entirely out of pagination. */
    body.single-package #body.package-seo-page > .hiking-similar-packages,
    body.single-package #body.package-seo-page > .package-seo-related,
    body.single-package #body.package-seo-page > .related-items {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        min-height: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        overflow: hidden !important;
    }

    /* Remove legacy clearfix generated boxes at the end of the package document. */
    body.single-package #body.package-seo-page::before,
    body.single-package #body.package-seo-page::after,
    body.single-package main.hiking-package-content::before,
    body.single-package main.hiking-package-content::after {
        content: none !important;
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Collapse the final printable chain completely at the bottom edge. */
    body.single-package,
    body.single-package #body.package-seo-page,
    body.single-package main.hiking-package-content {
        padding-bottom: 0 !important;
        border-bottom: 0 !important;
        break-after: avoid-page !important;
        page-break-after: avoid !important;
    }

    body.single-package #hiking-policies {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        border-bottom: 0 !important;
        break-after: avoid-page !important;
        page-break-after: avoid !important;
    }

    /*
     * Chromium can create a trailing blank sheet from sub-pixel/root rounding.
     * A one-pixel negative print-only bottom margin removes that phantom overflow
     * without changing visible document content.
     */
    html body.single-package {
        margin-bottom: -1px !important;
    }
}

/* =========================================================
   REV 13 — EXPLICIT PRINT PAGE SIZE
   Built directly from Rev12. Only change: force US Letter
   portrait geometry for print/PDF pagination.
   ========================================================= */

/* =========================================================
   REV 14 — PACKAGE PRINT WHITELIST
   Instead of continuing to blacklist individual screen-only
   components, explicitly allow only the package content that
   belongs in the printed/PDF document. This prevents invisible
   or plugin-generated boxes from participating in pagination.
   ========================================================= */
@media print {

    /*
     * The modern package document is #body.package-seo-page.
     * Hide every other BODY child, including the live site header,
     * footer, overlays, plugin containers and injected UI.
     */
    body.single-package > *:not(#body) {
        display: none !important;
        visibility: hidden !important;
        position: static !important;
        width: 0 !important;
        height: 0 !important;
        min-width: 0 !important;
        min-height: 0 !important;
        max-width: 0 !important;
        max-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        overflow: hidden !important;
    }

    /*
     * At the top level of the modern package BODY, print only:
     *   1) the package title
     *   2) the main package-content column
     *
     * This intentionally excludes the hero, breadcrumbs, summary/
     * price card, sticky section navigation, similar packages and
     * Back To Top control.
     */
    #body.package-seo-page > * {
        display: none !important;
    }

    #body.package-seo-page > .package-title-wrapper,
    #body.package-seo-page > .package-seo-title-wrapper,
    #body.package-seo-page > main.hiking-package-content {
        display: block !important;
        visibility: visible !important;
        position: static !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
        overflow: visible !important;
    }

    /*
     * Inside the main column, whitelist only the sections Antonio
     * wants in the package printout. Dates & Rates, FAQ, final CTA
     * and related links never get a print box at all.
     */
    #body.package-seo-page > main.hiking-package-content > * {
        display: none !important;
    }

    #body.package-seo-page > main.hiking-package-content > #hiking-overview,
    #body.package-seo-page > main.hiking-package-content > #hiking-suitability,
    #body.package-seo-page > main.hiking-package-content > #tour-at-a-glance,
    #body.package-seo-page > main.hiking-package-content > #hiking-itinerary,
    #body.package-seo-page > main.hiking-package-content > #hiking-included,
    #body.package-seo-page > main.hiking-package-content > #hiking-hotels,
    #body.package-seo-page > main.hiking-package-content > #hiking-policies {
        display: block !important;
        visibility: visible !important;
        position: static !important;
        width: 100% !important;
        max-width: none !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }

    /*
     * Make the printable root itself a plain block with no residual
     * screen layout geometry that Chromium can count as another page.
     */
    html,
    body,
    #body.package-seo-page {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        overflow: visible !important;
    }

    /* No generated clearfix box at the physical end of the document. */
    #body.package-seo-page::before,
    #body.package-seo-page::after,
    #body.package-seo-page > main.hiking-package-content::before,
    #body.package-seo-page > main.hiking-package-content::after {
        content: none !important;
        display: none !important;
    }
}

/* =========================================================
   REV 15 — PACKAGE PRINT CLONE / NO TOTAL PAGE COUNT
   The live package DOM contains many screen-only wrappers and
   legacy layout rules. For package printing, JavaScript creates
   a clean top-level clone containing only the approved sections.
   This clone becomes the ONLY printable BODY child.
   ========================================================= */
@media print {

    /* When the clean package print document exists, suppress the live page entirely. */
    html body.single-package.az-package-print-mode > *:not(#az-package-print-document) {
        display: none !important;
        visibility: hidden !important;
    }

    html body.single-package.az-package-print-mode > #az-package-print-document {
        display: block !important;
        visibility: visible !important;
        position: static !important;
        float: none !important;
        clear: both !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: #fff !important;
        box-shadow: none !important;
        overflow: visible !important;
    }

    #az-package-print-document .az-print-package-title {
        display: block !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 0 8pt !important;
        padding: 0 !important;
        color: #111 !important;
        font-size: 22pt !important;
        line-height: 1.18 !important;
        text-align: left !important;
    }

    #az-package-print-document > article,
    #az-package-print-document > section {
        display: block !important;
        visibility: visible !important;
        position: static !important;
        float: none !important;
        clear: both !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 0 18pt !important;
        padding: 0 !important;
        border: 0 !important;
        background: #fff !important;
        box-shadow: none !important;
        overflow: visible !important;
        break-inside: auto !important;
        page-break-inside: auto !important;
    }

    /*
     * Critical: Booking & policies can be several pages long.
     * Remove any inherited height/max-height/overflow restrictions
     * from the section AND all of its descendants so it can continue
     * naturally for as many printed pages as necessary.
     */
    #az-package-print-document #hiking-policies,
    #az-package-print-document #hiking-policies * {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        break-after: auto !important;
        page-break-after: auto !important;
    }

    #az-package-print-document #hiking-policies {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        break-inside: auto !important;
        page-break-inside: auto !important;
    }

    /*
     * Long hotel and itinerary sections also remain unrestricted.
     * Individual hotel/day cards can still avoid awkward splits,
     * but their parent sections may span unlimited pages.
     */
    #az-package-print-document #hiking-hotels,
    #az-package-print-document #hiking-itinerary {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
        break-inside: auto !important;
        page-break-inside: auto !important;
    }

    /* Never allow print-only clone clearfixes to create trailing sheets. */
    #az-package-print-document::before,
    #az-package-print-document::after {
        content: none !important;
        display: none !important;
    }
}

/* =========================================================
   REV 16 — PRINT CLONE SPECIFICITY FIX
   Rev14 contained a :has() body-child blacklist with two ID
   components in its specificity. That selector also matched
   #az-package-print-document and could beat Rev15's intended
   "show the clean clone" rule. Remove that conflict above and
   add this explicit safety override so the clone is guaranteed
   to remain in the print layout.
   ========================================================= */
@media print {
    html body.single-package.az-package-print-mode:has(> #body.package-seo-page)
        > #az-package-print-document {
        display: block !important;
        visibility: visible !important;
        position: static !important;
        float: none !important;
        clear: both !important;
        width: auto !important;
        max-width: none !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        overflow: visible !important;
    }
}

/* =========================================================
   REV 17 — CLONE THE ENTIRE PACKAGE MAIN
   Long package pages can contain legacy hotel HTML that changes
   the browser's normalized DOM nesting. Rev17 no longer extracts
   printable sections one-by-one. It clones the full package main,
   then removes only Rates, FAQ and CTAs. This guarantees that
   Booking & policies stays attached to the printable document.
   ========================================================= */
@media print {

    html body.single-package.az-package-print-mode
        > #az-package-print-document
        > main.az-print-package-main {
        display: block !important;
        visibility: visible !important;
        position: static !important;
        float: none !important;
        clear: both !important;
        width: 100% !important;
        max-width: none !important;
        min-width: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        margin: 0 !important;
        padding: 0 !important;
        border: 0 !important;
        background: #fff !important;
        box-shadow: none !important;
        overflow: visible !important;
        break-inside: auto !important;
        page-break-inside: auto !important;
    }

    /*
     * Do not impose a height cap anywhere inside the cloned package main.
     * Long hotel + policies combinations must be free to continue onto
     * page 12, 13, 14, etc.
     */
    #az-package-print-document > main.az-print-package-main,
    #az-package-print-document > main.az-print-package-main > article,
    #az-package-print-document > main.az-print-package-main #hiking-policies,
    #az-package-print-document > main.az-print-package-main #hiking-policies * {
        height: auto !important;
        min-height: 0 !important;
        max-height: none !important;
        overflow: visible !important;
    }

    #az-package-print-document > main.az-print-package-main #hiking-policies {
        display: block !important;
        visibility: visible !important;
        position: static !important;
        float: none !important;
        clear: both !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
        break-before: auto !important;
        page-break-before: auto !important;
        break-after: auto !important;
        page-break-after: auto !important;
        break-inside: auto !important;
        page-break-inside: auto !important;
    }
}

