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

    :root {
        --primary: #0e3862;
        --font-main: #333;
        --muted: #666666;
    }

    /**
    layout
    */
    .pagebreak {
        page-break-before: always;
        margin: 0 !important;
    }

    /* not all .grid items should be display grid in print */
    .print-grid-2-cols {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-gap: 3rem;
    }

    .print-cover-page {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 100vw;
        height: 100vh;
        padding: 2rem 8rem !important;
        text-align: center !important;
    }

    .print-members-list {
        min-height: 75px;
    }

    .print-cover-page h1 {
        letter-spacing: 0;
    }

    .print-separator {
        border-top: 1px solid #ccc;
        margin: 1.25em 0;
    }

    .print-spacer-bottom {
        margin-bottom: 0.25em;
    }

    .print-cc-header-figure {
        max-width: 175px;
        position: absolute;
        top: 0;
    }

    .print-cc-header-figure img {
        margin: 0 !important;
    }

    .print-cc-header-text {
        margin-left: 200px !important;
    }

    /**
    override theme styles
    */
    .entry-content hr,
    hr.styled-separator {
        background: none;
        background-color: black !important;
        height: 0;
        border: 1px solid black;
    }

    /**
    typography
    */
    body {
        font-family: "AvenirLT-Roman", -apple-system, BlinkMacSystemFont,
            "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue",
            sans-serif !important;
    }

    .print-primary-heading,
    .print-secondary-heading {
        font-family: "AGaramond-Regular", serif;
        font-weight: 500;
        letter-spacing: 0;
    }

    .print-primary-heading {
        font-size: 33px !important;
    }

    .print-secondary-heading {
        font-size: 24px !important;
    }

    .print-tertiary-heading {
        color: var(--muted);
        font-size: 1.8rem !important;
        margin-top: 3em !important;
        margin-bottom: 1.5em !important;
        border-bottom: 1px solid #ccc !important;
        padding-bottom: 1.5em !important;
    }

    .print-weight-normal {
        font-weight: normal;
    }

    .print-uppercase {
        text-transform: uppercase;
    }

    h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    .faux-heading {
        letter-spacing: 0;
    }

    .entry-content,
    .entry-content h1,
    .entry-content h2,
    .entry-content h3,
    .entry-content h4,
    .entry-content h5,
    .entry-content h6,
    .entry-content cite,
    .entry-content figcaption,
    .entry-content table,
    .entry-content address,
    .entry-content .wp-caption-text,
    .entry-content .wp-block-file {
        font-family: inherit !important;
    }

    h2,
    h2.entry-title {
        font-size: 21pt !important;
    }

    h3 {
        font-size: 18pt !important;
    }

    h4 {
        font-size: 16pt !important;
    }

    .has-normal-font-size,
    .has-regular-font-size,
    .has-large-font-size,
    .comments-header {
        font-size: 16pt !important;
    }

    th {
        font-size: 1.5rem;
    }

    .print-text-base {
        font-size: 1.8rem !important;
    }

    .print-text-sm {
        font-size: 1.6rem !important;
    }

    /**
    display behaviors
    */
    .no-print,
    .singular .featured-media::before,
    .entry-content hr::before,
    .entry-content hr::after,
    hr.styled-separator::before,
    hr.styled-separator::after,
    .wp-block-pullquote::before,
    .singular .featured-media::before {
        display: none !important;
    }

    .print-block,
    .footer-credits {
        display: block;
    }

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

    img {
        object-fit: contain;
    }

    /**
    color
    */
    body.template-is-dark .text-light-or-dark,
    .has-background-color {
        color: black !important;
    }

    .print-cover-page,
    body.template-is-dark .print-cover-page .text-light-or-dark {
        color: var(--primary) !important;
    }

    /* .print-text-primary {
        color: var(--primary) !important;
    } */

    /**
    font size
    */
    .entry-content,
    table {
        font-size: 1em;
    }

    /**
    heights
    */
    img {
        max-height: 50mm;
    }

    /**
    widths
    */

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

    .featured-media img {
        width: auto;
    }

    /**
    spacing
    */
    ol,
    ul {
        margin-left: 0;
    }

    .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: 1em 0 2em;
    }

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

    .entry-content h1,
    .entry-content h2,
    .entry-content h3,
    .entry-content h4,
    .entry-content h5,
    .entry-content h6 {
        margin: 1em auto 0.5em;
    }

    .footer-credits .site-logo,
    table,
    .wp-block-button {
        margin: 1em auto;
    }

    table hr {
        margin: 0.5em 0 !important;
    }

    /**
    borders 
    */
    .wp-block-button__link {
        border: 1px solid;
    }

    /**
    Override parent theme
    */
    .opacity-75 {
        opacity: 1 !important;
    }

    /**
    Preserve some tailwind styles
    */
    .text-xl {
        font-size: 2.8rem !important;
    }

    .text-center {
        text-align: center;
    }

    .table-fixed {
        table-layout: fixed !important;
    }

    .w-full {
        width: 100%;
    }

    .print-mt-0,
    .mt-0 {
        margin-top: 0 !important;
    }

    .mb-2 {
        margin-bottom: 0.5rem !important;
    }

    .mb-4 {
        margin-bottom: 1rem !important;
    }

    .mb-6 {
        margin-bottom: 1.5rem !important;
    }

    .ml-0 {
        margin-left: 0 !important;
    }
}
