/* ==========================================================================
   Print stylesheet — your-recipes-theme
   Loaded with media="print"; hides chrome and cleans up recipe layout.
   ========================================================================== */

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

/* --- Hide everything that isn't recipe content --- */
.site-header,
.site-footer,
.header-search,
.site-nav,
.recipe-vote,
.recipe-share,
.recipe-origin,
.recipe-header-actions,
.related-recipes,
.archive-pagination,
.btn-print {
	display: none !important;
}

/* --- Base typography --- */
body {
	font-family: Georgia, "Times New Roman", serif;
	font-size: 11pt;
	line-height: 1.5;
	color: #000;
	background: #fff;
}

/* --- Remove container constraints --- */
.container,
.content-container {
	max-width: 100%;
	padding: 0;
	margin: 0;
}

.site-main {
	margin: 0;
	padding: 0;
}

/* --- Hero image: cap height so it doesn't swallow the page --- */
.recipe-hero {
	aspect-ratio: unset;
	max-height: 220px;
	border-radius: 0;
	margin-bottom: 1.25rem;
}

.recipe-hero img {
	max-height: 220px;
	object-fit: cover;
}

/* --- Recipe header --- */
.recipe-title {
	font-size: 22pt;
	margin-bottom: .5rem;
	line-height: 1.2;
}

.recipe-categories { display: none; }

.recipe-author {
	font-size: 9pt;
	color: #555;
	margin-bottom: .75rem;
}

/* --- Meta bar (times / yield / calories) --- */
.recipe-meta-bar {
	display: flex;
	flex-wrap: wrap;
	gap: 0;
	border: 1px solid #ccc;
	border-radius: 4px;
	overflow: hidden;
	margin-bottom: 1.25rem;
	background: #fff;
}

.recipe-meta-item {
	flex: 1;
	min-width: 80px;
	padding: .4rem .6rem;
	text-align: center;
	border-right: 1px solid #ccc;
}

.recipe-meta-item:last-child { border-right: none; }

.recipe-meta-item__label {
	font-size: 7pt;
	text-transform: uppercase;
	letter-spacing: .06em;
	color: #666;
}

.recipe-meta-item__value {
	font-size: 10pt;
	font-weight: 700;
	color: #000;
}

/* --- Sections --- */
.recipe-section { margin-bottom: 1.25rem; page-break-inside: avoid; }

.recipe-section__title {
	font-size: 13pt;
	font-weight: 700;
	border-bottom: 1.5pt solid #333;
	padding-bottom: .3rem;
	margin-bottom: .75rem;
}

/* --- Ingredients: single column for clarity --- */
.ingredients-list {
	display: block;
	columns: 2;
	column-gap: 1.5rem;
}

.ingredient-item {
	display: block;
	padding: .2rem 0;
	border: none;
	background: transparent;
	font-size: 10pt;
	break-inside: avoid;
}

.ingredient-item::before { display: none; }

/* --- Steps --- */
.steps-list { display: flex; flex-direction: column; gap: .75rem; }

.step-item {
	display: flex;
	gap: .75rem;
	padding: 0;
	border: none;
	background: transparent;
}

.step-item__number {
	flex-shrink: 0;
	width: 1.4rem;
	height: 1.4rem;
	border-radius: 50%;
	background: #333;
	color: #fff;
	font-size: 8pt;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: .1rem;
	-webkit-print-color-adjust: exact;
	print-color-adjust: exact;
}

.step-item__text { font-size: 10pt; }

/* --- Nutrition grid --- */
.nutrition-grid {
	display: flex;
	flex-wrap: wrap;
	gap: .5rem;
}

.nutrition-item {
	border: 1px solid #ccc;
	padding: .3rem .5rem;
	border-radius: 3px;
	text-align: center;
	min-width: 80px;
}

.nutrition-item__label { font-size: 7pt; color: #666; }
.nutrition-item__value { font-size: 10pt; font-weight: 700; }

/* --- Links --- */
a { color: #000; text-decoration: none; }
a[href]::after { content: none; }

/* --- Page breaks --- */
.recipe-hero       { page-break-after: avoid; }
.recipe-header     { page-break-after: avoid; }
.recipe-section    { page-break-inside: avoid; }
