@media print {
    body {
        font-family: "Times New Roman", serif;
        font-size: 12pt;
        line-height: 1.5;
        background-image: none !important;
        background-color: white !important;
        color: black !important;
        margin: 0;
        padding: 1cm;
        width: 100%;
    }
    
    
    h1, h2, h3 {
        page-break-after: avoid;
        page-break-inside: avoid;
        margin-top: 20pt;
        margin-bottom: 10pt;
    }

    ul, ol {
        margin-left: 2em;
    }
    
    table, figure {
        page-break-inside: avoid;
        max-width: 100% !important;
        height: auto !important;
    }

    img {
        width: auto;
        max-width: 60%;
        height: auto;
        display: block;
        margin: 1em auto;
    }
    
    table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 15pt;
    }
    
    th, td {
        border: 1pt solid #000;
        padding: 5pt;
        text-align: left;
    }
    
    header, nav, footer, .carousel, .carousel-control-prev, .carousel-control-next, 
    .video-container, iframe, video, .embed-responsive, .btn, .navbar,
    .skip-link, form, input[type="submit"], button {
        display: none !important;
    }
    
    .container, .container-fluid, main, article, section {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 !important;
        margin: 0 !important;
        background-color: transparent !important;
        box-shadow: none !important;
        border: none !important;
    }
    
    .col, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-lg-4, .col-lg-6, .col-lg-8, [class^="col-"] {
        width: 100% !important;
        max-width: 100% !important;
        flex: 0 0 100% !important;
        float: none !important;
        display: block !important;
        padding: 0 !important;
        margin-bottom: 15pt !important;
    }
    
    .carousel-item {
        display: block !important;
        opacity: 1 !important;
        position: static !important;
    }
    
    .carousel-item img {
        display: block;
        max-width: 80% !important;
        margin: 10pt auto !important;
    }
    
    img.img-fluid, img.img-thumbnail, figure img {
        display: block;
        max-width: 70% !important;
        margin: 10pt auto !important;
    }
    
    a {
        text-decoration: none;
        color: black;
    }
    
    a:after {
        content: " (" attr(href) ")";
        font-size: 10pt;
        font-style: italic;
    }
    
    a[href^="http"]:after {
        content: " (" attr(href) ")";
    }
    
    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }
    
    p, ul, ol, dl, h1, h2, h3, h4, h5, h6 {
        orphans: 3;
        widows: 3;
    }

    h1, section {
        page-break-before: auto;
    }
    
    @page {
        margin: 2cm;
    }

    header,
    nav,
    footer,
    aside,
    button,
    .skip-link,
    #contrast-toggle,
    video {
      display: none !important;
    }

    .card,
    section,
    article {
        border: none !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 0 1.5em 0;
    }
}
  