/* Brand styling for the WP Recipe Maker card: black, yellow and warm white. */
body .wprm-recipe-container .wprm-recipe.wprm-recipe {
	--hrc-ink: var(--hailee-primary, #191917);
	--hrc-yellow: var(--hailee-accent, #f5dc42);
	--hrc-soft: #fffbea;
	--hrc-line: #ece8da;
	--hrc-muted: #606060;
	--meadow-accent-color: var(--hrc-ink);
	--meadow-main-background-color: #fff;
	--meadow-list-border-color: var(--hrc-line);
	overflow: hidden;
	border: 1px solid var(--hrc-line);
	border-top: 6px solid var(--hrc-yellow);
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 12px 40px rgba(25, 25, 23, 0.08);
	color: #2b2b28;
	font-family: var(--font-body, Arial, "Helvetica Neue", sans-serif);
}

/* Header: photo, title, summary, buttons */
body .wprm-recipe-container .wprm-recipe .meadow-header {
	padding: 24px;
	border-radius: 0;
	background: var(--hrc-soft);
}

body .wprm-recipe-container .wprm-recipe .wprm-recipe-image img {
	border-radius: 18px;
	box-shadow: 0 8px 24px rgba(25, 25, 23, 0.16);
}

body .wprm-recipe-container .wprm-recipe .meadow-header-accent,
body .wprm-recipe-container .wprm-recipe .wprm-recipe-author {
	color: var(--hrc-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

body .wprm-recipe-container .wprm-recipe .wprm-recipe-name {
	margin-top: 4px;
	color: var(--hrc-ink);
	font-family: var(--font-heading, inherit);
	font-size: clamp(24px, 4.2vw, 32px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

body .wprm-recipe-container .wprm-recipe .wprm-recipe-summary {
	color: #3a3a36;
	font-size: 16px;
	line-height: 1.6;
}

body .wprm-recipe-container .wprm-recipe .hra-inline-row {
	margin: 16px 0 10px;
}

body .wprm-recipe-container .wprm-recipe .hra-inline,
body .wprm-recipe-container .wprm-recipe .wprm-recipe-link.wprm-recipe-print,
body .wprm-recipe-container .wprm-recipe .wprm-recipe-link.wprm-recipe-pin {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 46px;
	margin: 0 8px 8px 0;
	padding: 10px 20px;
	border: 2px solid var(--hrc-ink) !important;
	border-radius: 999px !important;
	box-shadow: none;
	font-family: var(--font-heading, inherit);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.02em;
	line-height: 1.1;
	text-decoration: none;
	text-transform: none;
}

body .wprm-recipe-container .wprm-recipe .hra-inline-row .hra-inline {
	margin: 0;
}

body .wprm-recipe-container .wprm-recipe .hra-inline:not(.hra-inline-ghost) {
	border-color: var(--hrc-yellow) !important;
	background: var(--hrc-yellow);
	color: var(--hrc-ink);
}

body .wprm-recipe-container .wprm-recipe .wprm-recipe-link.wprm-recipe-print {
	background: var(--hrc-ink);
	color: #fff;
}

body .wprm-recipe-container .wprm-recipe .hra-inline-ghost,
body .wprm-recipe-container .wprm-recipe .wprm-recipe-link.wprm-recipe-pin {
	background: #fff;
	color: var(--hrc-ink);
}

/* Times: three tiles */
body .wprm-recipe-container .wprm-recipe .wprm-recipe-times-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
	gap: 10px;
	margin: 6px 0 0;
	padding: 0;
	border: 0 !important;
}

body .wprm-recipe-container .wprm-recipe .wprm-recipe-time-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2px;
	margin: 0;
	padding: 12px 8px;
	border: 1px solid var(--hrc-line);
	border-radius: 16px;
	background: #fff;
	text-align: center;
}

body .wprm-recipe-container .wprm-recipe .wprm-recipe-time-label {
	color: var(--hrc-muted);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

body .wprm-recipe-container .wprm-recipe .wprm-recipe-time {
	color: var(--hrc-ink);
	font-family: var(--font-heading, inherit);
	font-size: 17px;
	font-weight: 800;
}

/* Servings, course, cuisine, calories */
body .wprm-recipe-container .wprm-recipe .wprm-recipe-custom-container {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

body .wprm-recipe-container .wprm-recipe .wprm-recipe-meta-container-pill {
	margin: 0;
	padding: 7px 14px;
	border-radius: 999px;
	background: var(--hrc-ink);
	--pill-background-color: var(--hrc-ink);
}

body .wprm-recipe-container .wprm-recipe .wprm-recipe-block-container-pills,
body .wprm-recipe-container .wprm-recipe .wprm-recipe-block-container-pills * {
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

body .wprm-recipe-container .wprm-recipe .wprm-recipe-block-container-pills .wprm-recipe-details-label {
	color: var(--hrc-yellow);
	font-weight: 700;
}

/* Body of the card */
body .wprm-recipe-container .wprm-recipe .meadow-main {
	padding: 24px;
	background: #fff;
}

body .wprm-recipe-container .wprm-recipe .wprm-recipe-jump-to-section-container {
	justify-content: flex-start;
	gap: 10px;
}

body .wprm-recipe-container .wprm-recipe .wprm-recipe-jump-to-section {
	border: 1.5px solid var(--hrc-line);
	border-radius: 14px;
	background: var(--hrc-soft);
	color: var(--hrc-ink);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

body .wprm-recipe-container .wprm-recipe .wprm-recipe-header {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 1.4em;
	color: var(--hrc-ink);
	font-family: var(--font-heading, inherit);
	font-size: 22px;
	font-weight: 800;
	line-height: 1.2;
}

/* Ingredients */
body .wprm-recipe-container .wprm-recipe .wprm-internal-container-ingredients {
	padding: 6px 18px 10px;
	border: 1px solid var(--hrc-line);
	border-radius: 18px;
	background: var(--hrc-soft);
}

body .wprm-recipe-container .wprm-recipe .wprm-recipe-group-name {
	color: var(--hrc-muted);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

body .wprm-recipe-container .wprm-recipe li.wprm-recipe-ingredient {
	position: relative;
	margin: 0;
	padding: 11px 0 11px 28px;
	border-bottom: 1px solid var(--hrc-line);
	list-style: none;
	font-size: 16px;
	line-height: 1.45;
}

body .wprm-recipe-container .wprm-recipe li.wprm-recipe-ingredient:last-child {
	border-bottom: 0;
}

body .wprm-recipe-container .wprm-recipe li.wprm-recipe-ingredient::before {
	content: "";
	display: block;
	position: absolute;
	top: 17px;
	left: 4px;
	width: 10px;
	height: 10px;
	border: 2px solid var(--hrc-ink);
	border-radius: 50%;
	background: var(--hrc-yellow);
}

body .wprm-recipe-container .wprm-recipe .wprm-recipe-ingredient-amount,
body .wprm-recipe-container .wprm-recipe .wprm-recipe-ingredient-unit {
	color: var(--hrc-ink);
	font-weight: 800;
}

body .wprm-recipe-container .wprm-recipe .wprm-recipe-ingredient-notes {
	color: var(--hrc-muted);
}

/* Method: numbered steps */
body .wprm-recipe-container .wprm-recipe ul.wprm-recipe-instructions,
body .wprm-recipe-container .wprm-recipe ol.wprm-recipe-instructions {
	counter-reset: hrc-step;
}

body .wprm-recipe-container .wprm-recipe li.wprm-recipe-instruction {
	position: relative;
	counter-increment: hrc-step;
	min-height: 34px;
	margin: 0 0 16px;
	padding: 4px 0 0 48px;
	list-style: none !important;
	font-size: 16px;
	line-height: 1.6;
}

body .wprm-recipe-container .wprm-recipe li.wprm-recipe-instruction::marker {
	content: none;
}

body .wprm-recipe-container .wprm-recipe li.wprm-recipe-instruction::before {
	content: counter(hrc-step);
	position: absolute;
	top: 0;
	left: 0;
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: var(--hrc-ink);
	color: var(--hrc-yellow);
	font-family: var(--font-heading, inherit);
	font-size: 15px;
	font-weight: 800;
	line-height: 1;
}

/* Notes */
body .wprm-recipe-container .wprm-recipe .wprm-recipe-notes-container {
	margin-top: 20px;
	padding: 4px 18px 18px;
	border: 0;
	border-left: 5px solid var(--hrc-yellow);
	border-radius: 16px;
	background: var(--hrc-soft);
}

body .wprm-recipe-container .wprm-recipe .wprm-recipe-notes-container .wprm-recipe-header {
	margin-top: 14px;
	font-size: 18px;
}

body .wprm-recipe-container .wprm-recipe .wprm-recipe-notes {
	color: #3a3a36;
	font-size: 15.5px;
	line-height: 1.6;
}

@media (max-width: 600px) {
	body .wprm-recipe-container .wprm-recipe .hra-inline-row {
		justify-content: center;
		gap: 8px;
	}

	body .wprm-recipe-container .wprm-recipe .hra-inline {
		padding: 10px 16px;
		font-size: 13.5px;
	}

	body .wprm-recipe-container .wprm-recipe .meadow-header,
	body .wprm-recipe-container .wprm-recipe .meadow-main {
		padding: 18px 16px;
	}

	body .wprm-recipe-container .wprm-recipe.wprm-recipe {
		border-radius: 20px;
	}
}

@media print {
	body .wprm-recipe-container .wprm-recipe.wprm-recipe {
		box-shadow: none;
	}
}
