/******************************************************/
/* PRINT STYLESHEET */
/* Important Note: Do not load Bootstrap print styles */
/******************************************************/

body {
	overflow: visible;
	font-size: 11pt!important;
}

h1, .h1-title, 
h2, .h2-title, 
h3, .h3-title, 
h4, .h4-title, 
h5, .h5-title,
h6, .h6-title,
.special-title,
.subheading {
	text-align: left;
}

p { 
	orphans: 3;
	text-align: left;
}

/* Set maximal height for images ***********************/
/*******************************************************/

img {
	width: auto!important;
	max-height: 500px;
}

/* Do not show url or src on links and images **********/
/*******************************************************/

/*a[href]:after,
a[title]:after,
img[src]:after,
img[alt]:after,
img[title]:after { 
	content: none!important; 
}*/

/******************************************************/
/* EXTRA PRINT CONTENT */
/******************************************************/

body:before {
	content: var(--printLogo);
	display: block;
	max-width: 400px;
	margin-bottom: 20pt;
}

body:after {
  	content: var(--printFootnote);
	font-weight: bold;
}

/******************************************************/
/* MANAGE PRINT PAGE MARGINS */
/******************************************************/

@page { 
	margin: 3cm;
}

/******************************************************/
/* RESET MARGINS / PADDINGS */
/******************************************************/

.container {
    width: 100%;
	padding: 0;
    margin: 0;
}

.alignfull,
.alignwide {
	margin-right: 0!important;
	margin-left: 0!important;
}

.content > *:last-child {
	padding-bottom: 0;
    margin-bottom: 0;
}

/* Remove padding for blocks with background ***********/
/*******************************************************/

.block:not(.bordered), 
.wp-block:not(.bordered),
.boxed .item {
	padding: 0!important;
	background: none!important;
}

/******************************************************/
/* MANAGE PRINT PAGE BREAKS */
/******************************************************/

h1, .h1-title, 
h2, .h2-title, 
h3, .h3-title, 
h4, .h4-title, 
h5, .h5-title,
h6, .h6-title,
.special-title {
  	page-break-after: avoid;
	break-after: avoid;
}

/*table, figure {
  	page-break-inside: avoid;
	break-inside: avoid-page;
}*/

/* Avoid page break inside an image ********************/
/*******************************************************/

img {
	display: block!important;
   	page-break-inside: avoid;
}

/******************************************************/
/* HIDE AREAS FOR PRINTING */
/******************************************************/

/* Hide fixed areas ************************************/
/*******************************************************/

#cta-button,
#cta-msg,
#cookie-banner,
.exit-popup, 
.scrolltop,
.social-profile-sidebar,
.social-share-bar,
.pin-button,
.theme-preview,
.logo-overlay,
.top-layer,
.top-wrapper,
.header-block,
.leading-area,
.sidebar,
.ending-area,
.footerbar,
.footer {
	display: none!important;
}

/* Hide single page areas ******************************/
/*******************************************************/

.comments-area,
.single-post-section,
.related-posts-block,
.postbar,
.social-postbar,
.author-section,
.post-rating,
.like-button,
.post-meta,
.additional-info,
.pagination {
	display: none;
}

/* Set the content width to full ***********************/
/*******************************************************/

.has-sidebar {
	padding: 0;
	border: 0!important;
}

.sidebar-grid {
    grid-template-columns: minmax(100%,100%)!important;
}

/* Hide recipe page areas ******************************/
/*******************************************************/

.recipe-top,
.recipe-meta,
.recipe-page .sidebar > *:not(.ingredients-block):not(.post-thumb) {
	display: none!important;
}

/* Show the sidebar only on recipe pages ***************/
/*******************************************************/

.recipe-page .sidebar {
	display: block!important;
}