@media print {
    @page {
        margin: 10mm !important;
    }

    body,
    .has-font-main-background-color {
        background-color: white !important;
    }

    footer.wp-block-template-part a {
        color: black !important;
    }

    .mg-container,
    .wp-activate-container,
    .section-inner:not(.menu-wrapper),
    .alignwide,
    .entry-content > .alignwide {
        width: 100% !important;
    }

    .mg-page-head {
        padding-top: 2em !important;
    }

    .mg-main-content-wrap {
        padding-bottom: 0em !important;
    }

    .mg-post-byline {
        gap: 0;
    }

    body,
    .entry-content {
        font-family: var(--body-family) !important;
    }

    .print-exact {
        -webkit-print-color-adjust: exact;
        print-color-adjust: exact;
    }

    .no-print,
    .singular .featured-media::before,
    .print-header a:after,
    .breadcrumbs a:after,
    .wp-block-tag-cloud a:after,
    .post-tags a:after,
    .swiper-slide a:after,
    .wp-block-button__link:after,
    .button:after,
    #site-footer a:after {
        display: none !important;
    }

    .break-avoid {
        break-inside: avoid;
    }

    .entry-content > .alignwide {
        max-width: none !important;
        width: 100%;
    }

    .featured-media img {
        width: auto;
    }

    .singular .entry-header,
    .post-inner,
    .featured-media img,
    .entry-content > .alignwide:not(.wp-block-group.has-background),
    .entry-content > .alignfull:not(.wp-block-group.has-background) {
        padding: 0;
        margin-top: 1em;
        margin-bottom: 1em;
    }

    .has-global-padding > .alignfull {
        margin-inline: 0 !important;
    }

    .has-global-padding,
    .mg-footer-wrapper {
        padding-inline: 0 !important;
    }

    .mg-site-header {
        position: relative !important;
    }

    .mg-logo-print {
        max-width: 25%;
    }

    .singular .entry-header {
        margin: 2em 0;
    }

    .wp-block-post-featured-image {
        /* overflow: hidden; */

        img {
            max-height: 300px;
            width: auto !important;
            height: auto !important;
            object-fit: contain !important;
        }
    }

    main.wp-block-group,
    .mg-footer-wrapper {
        border: none !important;
    }

    footer.wp-block-template-part {
        margin-top: 2em !important;
    }

    .mg-footer-top {
        border-top: 1px solid var(--wp--preset--color--font-main) !important;
        border-bottom: 1px solid var(--wp--preset--color--font-main) !important;
    }
}
