/* WP Recipe Maker integration */
.recipe-anchor {
	display: block;
	height: 0;
	scroll-margin-top: 120px;
}

.wprm-recipe-container {
	margin: 52px 0;
	scroll-margin-top: 120px;
}

.wprm-recipe-template-basic,
.wprm-recipe-template-compact,
.wprm-recipe-template-chic,
.wprm-recipe-template-modern {
	padding: clamp(24px, 5vw, 48px) !important;
	border: 1px solid var(--color-border) !important;
	border-radius: 18px !important;
	background: var(--color-white) !important;
	box-shadow: 0 18px 50px rgba(41, 42, 39, 0.07);
	font-family: "Source Sans 3", system-ui, sans-serif !important;
}

.wprm-recipe-name,
.wprm-recipe-header,
.wprm-recipe-group-name {
	font-family: "Cormorant Garamond", Georgia, serif !important;
	color: var(--color-charcoal) !important;
}

.wprm-recipe-name {
	font-size: clamp(2.2rem, 5vw, 4rem) !important;
	line-height: 1.04 !important;
}

.wprm-recipe-summary {
	font-size: 1.05rem !important;
	line-height: 1.7 !important;
}

.wprm-recipe-meta-container {
	padding: 18px 0 !important;
	border-top: 1px solid var(--color-border);
	border-bottom: 1px solid var(--color-border);
}

.wprm-recipe-meta-label,
.wprm-recipe-rating-details,
.wprm-recipe-course,
.wprm-recipe-cuisine {
	font-weight: 700 !important;
}

.wprm-recipe-ingredient,
.wprm-recipe-instruction {
	margin-bottom: 12px !important;
	line-height: 1.65 !important;
}

.wprm-recipe-ingredient[role="checkbox"] {
	padding: 4px 8px;
	border-radius: 5px;
	cursor: pointer;
	transition: background .15s ease, opacity .15s ease;
}

.wprm-recipe-ingredient[role="checkbox"]:hover,
.wprm-recipe-ingredient[role="checkbox"]:focus-visible {
	background: rgba(70, 84, 67, .08);
}

.wprm-recipe-ingredient.is-checked {
	opacity: .58;
	text-decoration: line-through;
	text-decoration-thickness: 2px;
}

.wprm-recipe-ingredient-checkbox {
	accent-color: var(--color-olive);
}

.wprm-recipe-instruction-text {
	padding-left: 4px;
}

.wprm-recipe-image img {
	border-radius: 12px !important;
}

.wprm-recipe-print,
.wprm-recipe-jump,
.wprm-recipe-pin,
.wprm-recipe-servings-change-button,
.wprm-recipe-adjustable-servings-container button,
.wprm-recipe-template-basic .wprm-recipe-button,
.wprm-recipe-template-compact .wprm-recipe-button,
.wprm-recipe-template-chic .wprm-recipe-button,
.wprm-recipe-template-modern .wprm-recipe-button {
	border: 0 !important;
	border-radius: 5px !important;
	background: var(--color-olive) !important;
	color: #fff !important;
	font-family: "Source Sans 3", system-ui, sans-serif !important;
	font-weight: 700 !important;
	box-shadow: none !important;
}

.wprm-recipe-rating .wprm-rating-star-full svg,
.wprm-recipe-rating .wprm-rating-star-33 svg,
.wprm-recipe-rating .wprm-rating-star-50 svg,
.wprm-recipe-rating .wprm-rating-star-66 svg {
	fill: var(--color-copper) !important;
}

.wprm-recipe-notes-container,
.wprm-recipe-nutrition-container {
	margin-top: 30px !important;
	padding: 22px !important;
	border-radius: 10px;
	background: var(--color-cream);
}

body.cook-mode {
	font-size: 20px;
}

body.cook-mode .site-header,
body.cook-mode .site-footer,
body.cook-mode .recipe-hero,
body.cook-mode .recipe-sidebar,
body.cook-mode .related-recipes,
body.cook-mode .recipe-comments,
body.cook-mode .recipe-share,
body.cook-mode .nkt-ad-zone {
	display: none !important;
}

body.cook-mode .recipe-layout {
	display: block;
	max-width: 940px;
	padding-top: 24px;
}

body.cook-mode .recipe-content,
body.cook-mode .recipe-content > * {
	max-width: none;
}

body.cook-mode .wprm-recipe-container {
	margin-top: 0;
}

@media (max-width: 620px) {
	.wprm-recipe-template-basic,
	.wprm-recipe-template-compact,
	.wprm-recipe-template-chic,
	.wprm-recipe-template-modern {
		padding: 22px !important;
		border-radius: 12px !important;
	}

	body.cook-mode {
		font-size: 18px;
	}
}

@media print {
	.wprm-recipe-container {
		margin: 0;
	}

	.wprm-recipe-template-basic,
	.wprm-recipe-template-compact,
	.wprm-recipe-template-chic,
	.wprm-recipe-template-modern {
		padding: 0 !important;
		border: 0 !important;
		box-shadow: none !important;
	}
}
