/**
 * Print presentation.
 */

@page {
    margin: 1.8cm;
}

*,
*::before,
*::after {
    color: #000 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-shadow: none !important;
}

html {
    font-size: 11pt;
}

body {
    min-height: auto;
    line-height: 1.45;
}

:where(
    .veyra-header,
    .veyra-footer,
    .veyra-layout__sidebar,
    .wp-block-navigation,
    .wp-block-buttons,
    .wp-block-comments,
    .veyra-post-navigation,
    .woocommerce-mini-cart,
    .wc-block-mini-cart
) {
    display: none !important;
}

.wp-site-blocks,
.veyra-main,
.veyra-layout,
.veyra-layout__content {
    display: block;
    width: 100%;
    max-width: none;
    min-height: auto;
}

a,
a:visited {
    text-decoration: underline;
}

.wp-block-post-content a[href^="http"]::after {
    content: " (" attr(href) ")";
    font-size: 0.85em;
    overflow-wrap: anywhere;
}

:where(h1, h2, h3, h4, h5, h6) {
    break-after: avoid;
    page-break-after: avoid;
}

:where(
    img,
    figure,
    table,
    pre,
    blockquote,
    .veyra-author-box,
    .veyra-post-card
) {
    break-inside: avoid;
    page-break-inside: avoid;
}

img {
    max-width: 100% !important;
}
