@media print {

  @page { 
        margin-top: 1in !important; 
        margin-bottom: 1in !important; 
        size: auto;
    }  

    .seafood-header-heading, .seafood-header-section p{
        color: #243746 !important;
        margin: 0;
        
    }

  /*   .seafood-header-heading, .seafood-header-section{
       width: 100% !important;
       display: block !important;
       margin: 0;
       padding-bottom: 1rem;
    } */

 #seafood-header-cards{
        padding-top: 1rem;
        margin: 0;
    }
    #seafood-header-cards div{

        width: 100% !important;
        display:block;
        padding: 1rem;

    }

   

    #seafood_industry_year_in_review_2025{
        color: #243746 !important;
    }

    .layout-grid__inner{
        display: block;
    }

     /* Expands all accordions and expansion panels */
    .gnl-accordion__body{
        display:block !important;
    }

    .gnl-expansion-panel__body{
        display:block !important;
    }



    /* Changing title text color     */
    .gnl-site-title-link{
       color: #243746 !important;

    }

    .gnl-site-tagline{
        color: #243746 !important;
    }

     .gnl-grid {
        break-inside: avoid;
        print-color-adjust: exact; 
    }

    .gnl-alert{
        print-color-adjust: exact;
        break-inside: avoid;
    }

    .gnl-form-group{
        display: none;
    }

    .dataTables_wrapper{
        margin: 0;
        rotate: -90deg;
        padding-top: 1rem;
        width: 100vw;
    height: 100vh;
        transform: scale(0.7);
        /* Anchor the scaling to the top-left corner to prevent empty space gaps */
        overflow: visible !important; 
        break-inside: avoid;
        /* break-before: page; */
        break-after: page;
      
    }

    .test-table-scroll, .dataTables_wrapper {
    max-height: none!important; 
    overflow: visible!important; 
}


    /* Hiding white gov logo and replacing with colored in header */

    .print-logo{
        display: block !important;
        height: 57px;
        width: 96px;
        margin-top: 32px;
        margin-bottom: 20px;
        print-color-adjust: exact;
    }

    /* Hiding white gov logo and replacing with colored in footer */
    .gnl-footer__menu{
        content:url(https://assets.gov.nl.ca/images/newfoundland-labrador-canada.svg) !important;
        width: 96px;
        height: 57px;
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    /* Hidden Items */

     .gnl-button--function-print{
        display:none;
    }

    .gnl-layout-left-sidebar{
        display:none;
    }

    .gnl-accordion-buttons-container{
        display:none;
    }

    .gnl-icon--toggle::before {
        display: none;
    }

    #gnl-back-to-top{
        display:none;
    }

     #top-navigation{
        display: none;
    }

    .gnl-button{
        display: none;
    }


    .gnl-brand img{
        display: none;   
    }

    .gnl-footer__menu img{
        display: none;
    }

    .gnl-alerts-footer{
        display: none;
    }

    .gnl-footer__icons{
        display: none;
    }

    .gnl-footer__links{
        display: none;
    }

      #seafood-link-cards{
        display:none;
    }


}

