@media print {
    * {
        background: none !important;
        color: black !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }

    header, footer, nav, video, iframe,
    .carousel, .carousel-inner, .carousel-item, .carousel-caption, .carousel-control-prev, .carousel-control-next, .carousel-indicators {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        width: 0 !important;
        overflow: hidden !important;
    }

    main {
        max-width: 100%;
        padding: 0;
        margin: 0;
    }

    p {
        color: black;
        font-style: normal !important;
    }

    h1, h2, h3 {
        color: black !important;
        page-break-after: avoid;
    }

    a {
        font-size: inherit;
        font-style: normal !important;
        color: black;
        text-decoration: none !important;
    }

    caption {
        display: none;
    }

    table {
        width: 100%;
        border-collapse: collapse;
        margin-bottom: 1em;
    }

    th, td {
        border: 1px solid #000;
        padding: 0.4em;
        text-align: left;
    }

    figcaption {
        font-style: italic;
        font-size: 10pt;
    }

    form, input, textarea, select {
        font-size: 11pt;
        border: 1px solid #ccc;
        padding: 0.3em;
        background: white;
        color: black;
    }

    .radio-group, .checkbox-group {
        gap: 0.5em;
    }

    button, .carousel-inner, .image-placeholder {
        display: none !important;
    }

    img {
        max-width: 30% !important;
        height: auto !important;
        margin: 1em auto !important;
        display: block !important;
    }

    ul, ol {
        margin: 0 0 1em 1.5em;
        padding: 0;
    }

    @page {
        margin: 1cm;
    }
}