/*
	Platea Child Theme: print stylesheet
	Enqueued by platea_child_enqueue_styles() with media="print" (paper and
	the browser's print preview), and by the recipe PDF export of the
	yemektarifleri-com plugin (Jobs\RecipePdfExport) with media="all", so
	the exported pages are laid out exactly like a printed recipe.
	.gt-print-header / .gt-print-footer are rendered by
	template-parts/recipe-single.php and exist only for paper: logo + site at
	the top, the recipe in between, the permalink and dates at the very
	bottom. Site chrome, sidebar, interactive controls and community blocks
	are dropped.
*/

@page {
	size: A4;
	margin: 15mm 15mm 18mm;
}

html,
body {
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	overflow: visible !important;
	background: #fff !important;
	color: #000 !important;
	font-size: 11pt;
	line-height: 1.45;
}

*,
*::before,
*::after {
	box-shadow: none !important;
	text-shadow: none !important;
	animation: none !important;
	transition: none !important;
}

/* Site chrome and overlays */
.gt-top-bar,
.gt-header,
.gt-sticky-header,
.gt-mobile-header,
.gt-sticky-mobile-header,
.gt-off-canvas,
.gt-footer,
.gt-cookie-bar,
.gt-search-box,
.gt-language-box,
.gt-user-box-popup,
.gt-recipe-taxonomy-canvas,
.gt-overlay-opacity-bg,
.gt-sidebar,
.gt-breadcrumb,
.gt-recipe-action-buttons,
.gt-ingredients-quantity .gt-quantity-minus,
.gt-ingredients-quantity .gt-quantity-plus,
.gt-item-categories,
.gt-item-tags,
.gt-item-social-sharing,
.gt-item-page-navigation,
.gt-item-video,
.gt-item-images,
.gt-item-rating-overview,
.gt-item-faq,
.gt-content-footer,
.gt-item-author-box,
.gt-item-related-recipes,
.gt-item-comments,
.yt-review-shortcut,
#comments,
.tooltip,
iframe,
video,
.elementor-location-header,
.elementor-location-footer {
	display: none !important;
}

.gt-details li.gt-comments,
.gt-details li.gt-reading-time,
.gt-details li.gt-rating {
	display: none !important;
}

/* Layout: single full-width column */
.gt-main,
.gt-page-wrapper,
.gt-recipe-overview-box,
.container,
.container-fluid,
.gt-page-layout,
.gt-page-content,
.gt-article,
.gt-content {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	min-height: 0 !important;
	margin: 0 !important;
	padding: 0 !important;
	flex: none !important;
	float: none !important;
	background: transparent !important;
}

.gt-recipe-overview-box .gt-details::before,
.gt-recipe-overview-box .gt-overview-box::before,
.gt-recipe-overview-box .gt-overview-box::after {
	display: none !important;
}

.gt-overview-box {
	position: static !important;
	padding: 0 !important;
	background: transparent !important;
	border: 0 !important;
}

/* Bootstrap rows/columns of the page wrapper: drop gutters so nothing
   shifts or overflows the paper edge. */
.gt-page-wrapper .row,
.gt-page-wrapper .row > [class*="col-"] {
	display: block !important;
	width: 100% !important;
	max-width: none !important;
	flex: none !important;
	margin: 0 !important;
	padding: 0 !important;
}

/* Overview box: two-column grid. The image sits in the first column and
   spans the title rows; category, title, author and details stack in the
   second column (author moved above details with `order`); ingredients
   span both columns underneath. `display: contents` lifts the children
   of .gt-content into the grid. */
.gt-overview-box .row {
	display: grid !important;
	grid-template-columns: 60mm 1fr;
	column-gap: 8mm;
	row-gap: 0;
	align-items: start;
	margin: 0 !important;
}

.gt-overview-box .row > .col-lg-7,
.gt-overview-box .gt-content {
	display: contents !important;
}

.gt-overview-box .row > .col-lg-5 {
	grid-column: 1;
	grid-row: 1 / span 4;
	margin: 0 !important;
	padding: 0 !important;
	width: auto !important;
	max-width: none !important;
	flex: none !important;
}

.gt-overview-box .gt-categories,
.gt-overview-box h1,
.gt-overview-box .gt-author-actions,
.gt-overview-box .gt-details {
	grid-column: 2;
}

.gt-overview-box .gt-categories { order: 1; }
.gt-overview-box h1 { order: 2; }
.gt-overview-box .gt-author-actions { order: 3; }
.gt-overview-box .gt-details { order: 4; }

.gt-overview-box .gt-ingredients {
	order: 5;
	grid-column: 1 / -1;
}

.gt-overview-box .gt-image {
	height: auto !important;
	margin: 0 !important;
}

.gt-overview-box .gt-image img {
	display: block;
	width: 100% !important;
	height: auto !important;
	max-height: 60mm;
	object-fit: cover;
	border-radius: 3mm;
}

.gt-overview-box h1 {
	font-size: 20pt;
	line-height: 1.2;
	margin: 0 0 3mm !important;
	color: #000 !important;
}

.gt-overview-box .gt-categories {
	margin-bottom: 2mm !important;
	font-size: 9pt;
}

/* Details: two equal columns, every item 50% wide (!important: Platea's
   flex row with 140px items printed three in a row and the fourth alone). */
.gt-overview-box .gt-details > ul {
	display: grid !important;
	grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	gap: 3.5mm 4mm !important;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

.gt-overview-box .gt-details > ul > li {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 0 2mm;
	align-content: flex-start;
	width: 100% !important;
	max-width: none !important;
	margin: 0 !important;
	padding: 0 !important;
	font-size: 9.5pt;
}

.gt-overview-box .gt-details > ul > li > ul {
	display: flex !important;
	flex-wrap: wrap;
	gap: 1mm;
	margin: 0 !important;
	padding: 0 !important;
	list-style: none;
}

.gt-overview-box .gt-details > ul > li .gt-title {
	flex-basis: 100%;
}

/* One size for every detail: the icons in a 5mm box (the timers are 22px
   on screen so their minutes stay legible, the others 17px; mixed, the
   timers looked twice as big), the value bold above a smaller grey label
   that lines up with it. */
.gt-overview-box .gt-details > ul > li > .gt-icon {
	position: relative;
	display: flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 5mm !important;
	height: 5mm !important;
	margin: 0 !important;
}

.gt-overview-box .gt-details .gt-icon svg {
	width: 4.2mm;
	height: 4.2mm;
}

.gt-overview-box .gt-details li:is(.gt-cooking-time, .gt-preparation-time) > .gt-icon svg {
	width: 100%;
	height: 100%;
}

.gt-overview-box .gt-details li:is(.gt-cooking-time, .gt-preparation-time) > .gt-icon::after {
	font-size: 5.5pt;
}

.gt-overview-box .gt-details > ul > li > ul,
.gt-overview-box .gt-details > ul > li > ul a {
	font-size: 10pt !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
}

.gt-overview-box .gt-details > ul > li > .gt-title {
	margin: 0.5mm 0 0 7mm !important;
	color: #555 !important;
	font-size: 8.5pt !important;
	font-weight: 400 !important;
	line-height: 1.2 !important;
}

.gt-overview-box .gt-details {
	margin: 4mm 0 0 !important;
	padding: 3.5mm 0 0 !important;
	border-top: 0.4pt solid #ccc;
}

.gt-overview-box .gt-author-actions {
	margin: 0 !important;
	padding: 0 !important;
	border: 0 !important;
}

.gt-overview-box .gt-author {
	align-items: center;
	gap: 2.5mm;
	font-size: 10pt;
}

/* The member's photo, or the site's anonymous chef when there is none
   (MemberAccount::defaultAvatarUrl() of the plugin), round, left of the
   name. */
.gt-overview-box .gt-author {
	display: flex !important;
	gap: 3mm !important;
}

.gt-overview-box .gt-author-image {
	flex: none;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
}

.gt-overview-box .gt-author-image img {
	display: block;
	border-radius: 50%;
	object-fit: cover;
}

.gt-overview-box .gt-author-desc {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap;
	margin: 0 !important;
	align-items: center;
	gap: 2.5mm;
	font-weight: 600;
}

.gt-overview-box .gt-author-desc .yt-level-badge {
	width: auto !important;
	height: 4.5mm !important;
	margin: 0 !important;
}

.gt-overview-box .gt-author-image img {
	width: 9mm !important;
	height: 9mm !important;
}

/* Ingredients inside the overview box */
.gt-overview-box .gt-ingredients {
	margin: 0 !important;
	padding: 6mm 0 0 !important;
	background: transparent !important;
	border: 0 !important;
}

/* Two columns of rows with a hairline under each, so the eye follows a
   name to its quantity on the right. */
.gt-lists.gt-style-4 ul {
	gap: 0 10mm !important;
}

.gt-lists.gt-style-4 ul li {
	flex: 0 0 calc(50% - 5mm) !important;
	gap: 3mm !important;
	min-height: 0 !important;
	padding: 1.6mm 0 !important;
	border-bottom: 0.3pt solid #ddd !important;
	font-size: 10pt;
	line-height: 1.3;
}

.gt-recipe-ingredients .gt-lists.gt-style-4 ul {
	padding-left: 0 !important;
}

.gt-recipe-ingredients .gt-lists.gt-style-4 ul li {
	margin: 0 !important;
}

.gt-lists[data-checklist="true"] ul li .gt-title::before {
	border-color: #000 !important;
}

/* Directions (style-2): collapse the vendor's 2.25rem stacking gaps */
.gt-lists.gt-style-2 ul {
	gap: 0 !important;
}

.gt-lists.gt-style-2 ul li {
	margin: 0 0 4mm !important;
}

.gt-lists.gt-style-2 ul li .gt-title-wrapper {
	align-items: center;
	gap: 3mm !important;
	margin-bottom: 2mm !important;
}

/* The step number is a 6mm circle; the text lines up with the step title
   next to it instead of starting under the number. */
.gt-lists.gt-style-2 ul li .gt-number {
	flex: none !important;
	width: 6mm !important;
	height: 6mm !important;
	min-width: 0 !important;
	font-size: 9pt !important;
}

.gt-lists.gt-style-2 ul li .gt-desc {
	padding-left: 9mm !important;
	font-size: 10.5pt;
	line-height: 1.5;
}

/* A step photo starts at the number, like the step title row; its text
   stays next to it. */
.gt-lists.gt-style-2 ul li .gt-desc > img {
	margin-top: 1.5mm !important;
	margin-left: -9mm !important;
}

.gt-lists.gt-style-2 ul li .gt-title-wrapper .gt-title,
.gt-lists.gt-style-2 ul li .gt-number {
	color: #000 !important;
}

.gt-lists.gt-style-2 ul li .gt-title-wrapper .gt-title {
	font-size: 12.5pt;
	line-height: 1.25;
}

.gt-lists.gt-style-2 ul li .gt-number svg {
	width: 5mm;
	height: 5mm;
}

.gt-lists.gt-style-2 ul li .gt-desc p {
	margin: 0 0 1.5mm !important;
}

/* Nutrition (style-6): compact inline chips instead of tiles */
.gt-lists.gt-style-6 ul {
	gap: 2mm !important;
}

.gt-lists.gt-style-6 ul li {
	flex: 0 0 auto !important;
	flex-direction: row !important;
	gap: 2mm !important;
	padding: 1.5mm 3mm !important;
	border: 0.4pt solid #999 !important;
	border-radius: 2mm !important;
	background: transparent !important;
	text-align: left !important;
}

.gt-lists.gt-style-6 ul li .gt-title,
.gt-lists.gt-style-6 ul li .gt-quantity,
.gt-lists.gt-style-6 ul li .gt-desc {
	color: #000 !important;
	font-size: 10pt !important;
}

.gt-lists.gt-style-6 ul li .gt-quantity {
	font-weight: 600;
}

.gt-item-nutritions > p {
	margin: 2.5mm 0 0 !important;
	color: #666 !important;
	font-size: 8pt;
	line-height: 1.4;
}

.gt-ingredients-quantity {
	background: transparent !important;
	padding: 0 !important;
	border: 0 !important;
}

/* Content sections */
.gt-content-body {
	margin-top: 6mm !important;
	padding: 0 !important;
}

.gt-content-body .gt-item {
	margin: 0 0 6mm !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	break-inside: auto;
}

.gt-content-body .gt-item > .gt-title,
.gt-ingredients-title,
h2,
h3 {
	font-size: 14pt;
	line-height: 1.25;
	margin: 0 0 3mm !important;
	padding: 0 0 1.5mm !important;
	border-bottom: 0.4pt solid #000;
	color: #000 !important;
	break-after: avoid;
	page-break-after: avoid;
}

.gt-recipe-ingredients ul,
.gt-recipe-directions ul,
.gt-recipe-directions ol,
.gt-recipe-nutritions ul {
	margin: 0 !important;
	padding: 0 0 0 5mm !important;
}

.gt-recipe-ingredients li,
.gt-recipe-directions li,
.gt-recipe-nutritions li {
	margin: 0 0 1.5mm !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	color: #000 !important;
	break-inside: avoid;
	page-break-inside: avoid;
}

/* Steps stay whole, but in block flow: Platea's list is a flex column,
   and Chrome moved a flex column of unbreakable steps to the next page as
   one block ("Tarif Aşamaları" on page 2, half of page 1 empty). */
.gt-recipe-directions .gt-lists.gt-style-2 ul {
	display: block !important;
}

.gt-recipe-directions .gt-lists.gt-style-2 ul li {
	display: block !important;
}

.gt-recipe-directions .gt-lists.gt-style-2 ul li .gt-title-wrapper {
	display: flex !important;
}

.gt-recipe-ingredients .gt-checked,
.gt-recipe-directions .gt-checked {
	text-decoration: none !important;
	opacity: 1 !important;
}

.gt-recipe-directions img,
.gt-item-content img {
	max-width: 60mm !important;
	height: auto !important;
	break-inside: avoid;
	page-break-inside: avoid;
}

.gt-item-content p,
.gt-item-content ul,
.gt-item-content ol {
	orphans: 3;
	widows: 3;
}

a,
a:visited {
	color: inherit !important;
	text-decoration: none !important;
}

a[href]::after {
	content: none !important;
}

/* Print header: logo + site */
.gt-print-header {
	display: flex !important;
	align-items: center;
	justify-content: space-between;
	gap: 8mm;
	margin: 0 0 7mm !important;
	padding: 0 0 4mm !important;
	border-bottom: 1pt solid #ff4400;
}

.gt-print-header .gt-print-logo img {
	display: block;
	width: auto !important;
	height: 16mm !important;
	max-width: 60mm;
	object-fit: contain;
	-webkit-print-color-adjust: exact;
	print-color-adjust: exact;
}

.gt-print-header .gt-print-logo-text {
	font-size: 18pt;
	font-weight: 700;
	letter-spacing: 0.02em;
}

.gt-print-header .gt-print-site {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	text-align: right;
	font-size: 9pt;
	line-height: 1.35;
}

/* The slogan in Mielle, the guideline's accent face, in the brand orange. */
.gt-print-header .gt-print-site-name {
	color: #ff4400 !important;
	font-family: mielle-cf, cursive;
	font-size: 15pt;
	line-height: 1.1;
}

.gt-print-header .gt-print-site-url {
	margin-top: 1mm;
	color: #444 !important;
	font-weight: 600;
	letter-spacing: 0.02em;
}

/* Print footer: permalink + dates */
.gt-print-footer {
	display: block !important;
	margin: 10mm 0 0 !important;
	padding: 3mm 0 0 !important;
	border-top: 0.4pt solid #999;
	font-size: 8pt;
	line-height: 1.5;
	color: #444 !important;
	break-inside: avoid;
	page-break-inside: avoid;
}

.gt-print-footer .gt-print-label {
	font-weight: 600;
}

.gt-print-footer .gt-print-link .gt-print-value {
	word-break: break-all;
}

.gt-print-footer .gt-print-copyright {
	margin-top: 1mm;
	color: #666;
}

/* Brand icons (style.css "Brand icons") are a mask over a currentColor
   background, which browsers leave out unless "background graphics" is
   ticked in the print dialog: the difficulty icon vanished and the timers
   printed as bare digits. Print them like the logo. */
.gt-icon::before {
	-webkit-print-color-adjust: exact;
	print-color-adjust: exact;
}

/* Ingredient share button (ingredients-share.js): screen only. */
.yt-ingredients-share {
	display: none !important;
}
