/* === FeastfulFork Custom Print Stylesheet === */

/* Fix margins on all pages */
@page {
    margin: 10mm !important;
}

@page:first {
    margin-top: 5mm !important;
}

/* Restore recipe image */
.tasty-recipes-print .tasty-recipes-header img,
.tasty-recipes img {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    max-width: 100% !important;
    height: auto !important;
}

/* Force the featured image to appear even if WP Tasty hides it */
.tasty-recipes-header::before {
    content: url("https://feastfulfork.com/wp-content/uploads/2024/10/Pinakbet-with-coconut-milk.jpg");
    display: block !important;
    margin-bottom: 12px !important;
}

/* Remove theme spacing */
.site-content,
.entry-content,
.content-area,
.site-main {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Remove WP Tasty spacing */
.tasty-recipes-print,
.tasty-recipes {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Fix page-break issues */
.tasty-recipes-print *,
.tasty-recipes * {
    page-break-inside: auto !important;
    page-break-before: auto !important;
    page-break-after: auto !important;
}

/* Hide header */
header,
.site-header {
    display: none !important;
}
