/* Recipes hub + single recipe posts */

body.coleman-recipes-page .coleman-content-page__body {
	max-width: 1200px;
	padding-top: 40px;
}

.coleman-recipes {
	direction: rtl;
	text-align: right;
}

.coleman-recipes__intro {
	max-width: 820px;
	margin: 0 auto 48px;
	text-align: center;
}

.coleman-recipes__heading {
	margin: 0 0 16px;
	font: 700 36px / 1.2 "Assistant", "Arial Hebrew", Arial, sans-serif;
	color: #000;
	text-align: center;
}

.coleman-recipes__intro p {
	margin: 0;
	font: 400 18px / 1.65 "Assistant", "Arial Hebrew", Arial, sans-serif;
	color: #222;
	text-align: center;
}

.coleman-recipes__subheading {
	margin: 0 0 24px;
	font: 600 28px / 1.25 "Assistant", "Arial Hebrew", Arial, sans-serif;
	color: #000;
	text-align: right;
}

.coleman-recipes__videos {
	margin: 0 0 56px;
}

.coleman-recipes__video-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.coleman-recipes__video {
	margin: 0;
	background: #111;
	border-radius: 16px;
	overflow: hidden;
	border: 1px solid var(--coleman-grey, #b6b1a9);
}

.coleman-recipes__video iframe {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
	border-radius: 0;
}

.coleman-recipes__video figcaption {
	padding: 12px 16px 14px;
	background: #fff;
	font: 600 16px / 1.35 "Assistant", "Arial Hebrew", Arial, sans-serif;
	color: #000;
	text-align: right;
}

.coleman-recipes__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px 23px;
}

.coleman-recipe-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border: 1px solid var(--coleman-grey, #b6b1a9);
	border-radius: 20px;
	overflow: hidden;
	min-height: 100%;
}

.coleman-recipe-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #f3f1ed;
}

.coleman-recipe-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 0;
	transition: transform 0.35s ease;
}

.coleman-recipe-card:hover .coleman-recipe-card__media img {
	transform: scale(1.04);
}

.coleman-recipe-card__body {
	display: flex;
	flex-direction: column;
	gap: 10px;
	padding: 20px 18px 22px;
	flex: 1;
}

.coleman-recipe-card__title {
	margin: 0;
	font: 700 22px / 1.3 "Assistant", "Arial Hebrew", Arial, sans-serif;
}

.coleman-recipe-card__title a {
	color: #000;
	text-decoration: none;
}

.coleman-recipe-card__title a:hover {
	color: var(--coleman, #e52528);
}

.coleman-recipe-card__excerpt {
	margin: 0;
	font: 400 15px / 1.5 "Assistant", "Arial Hebrew", Arial, sans-serif;
	color: #444;
	flex: 1;
}

.coleman-recipe-card__cta {
	display: inline-flex;
	flex-direction: row;
	align-items: center;
	gap: 8px;
	margin-top: 8px;
	align-self: flex-start;
	padding: 10px 18px;
	border: 1px solid var(--coleman, #e52528);
	border-radius: 999px;
	color: var(--coleman, #e52528) !important;
	font: 600 16px / 1.2 "Assistant", "Arial Hebrew", Arial, sans-serif;
	text-decoration: none !important;
	background: #fff;
	transition: background 0.2s ease, color 0.2s ease;
	direction: rtl;
}

.coleman-recipe-card__cta > span {
	order: 1;
}

.coleman-recipe-card__cta > img {
	order: 2;
	width: 22px;
	height: 22px;
	border-radius: 0;
}

.coleman-recipe-card__cta:hover {
	background: var(--coleman, #e52528);
	color: #fff !important;
}

.coleman-recipe-card__cta:hover img {
	filter: none;
}

/* —— Single recipe —— */
body.coleman-recipe-single .coleman-main--post,
body.coleman-recipe-single .coleman-main {
	background:
		linear-gradient(180deg, #f6f4f0 0%, #f6f4f0 220px, #fff 220px);
	max-width: none !important;
	width: 100% !important;
}

body.coleman-recipe-single .coleman-post-content,
body.coleman-recipe-single .wp-block-post-content {
	max-width: none !important;
	width: 100% !important;
	margin: 0 !important;
	padding: 0 !important;
}

.coleman-recipe-single__article {
	max-width: 920px;
	margin: 0 auto;
	padding: 36px 24px 96px;
	direction: rtl;
	text-align: right;
	color: #111;
	font: 400 18px / 1.7 "Assistant", "Arial Hebrew", Arial, sans-serif;
}

.coleman-recipe-single__back {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 18px;
	padding: 8px 14px;
	border: 1px solid var(--coleman, #e52528);
	border-radius: 999px;
	background: #fff;
	color: var(--coleman, #e52528);
	font: 600 15px / 1.2 "Assistant", "Arial Hebrew", Arial, sans-serif;
	text-decoration: none;
	transition: background 0.2s ease, color 0.2s ease;
}

.coleman-recipe-single__back:hover {
	background: var(--coleman, #e52528);
	color: #fff;
	text-decoration: none;
}

.coleman-recipe-single__header {
	margin: 0 0 22px;
}

.coleman-recipe-single__kicker {
	margin: 0 0 8px;
	font: 700 13px / 1 "Assistant", "Arial Hebrew", Arial, sans-serif;
	letter-spacing: 0.08em;
	color: var(--coleman, #e52528);
	text-transform: uppercase;
}

.coleman-recipe-single__title {
	margin: 0;
	font: 700 44px / 1.12 "Assistant", "Arial Hebrew", Arial, sans-serif;
	color: #000;
	text-align: right;
}

.coleman-recipe-single__hero-img {
	margin: 0 0 28px;
	border-radius: 20px;
	overflow: hidden;
	border: 1px solid var(--coleman-grey, #b6b1a9);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.08);
}

.coleman-recipe-single__hero-img img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 480px;
	object-fit: cover;
	border-radius: 0;
}

.coleman-recipe-single__video {
	margin: 0 0 28px;
	border-radius: 16px;
	overflow: hidden;
	background: #111;
	border: 1px solid var(--coleman-grey, #b6b1a9);
}

.coleman-recipe-single__video iframe {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 9;
	height: auto;
	border: 0;
}

.coleman-recipe-single__body {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.coleman-recipe-single__panel {
	background: #fff;
	border: 1px solid var(--coleman-grey, #b6b1a9);
	border-radius: 18px;
	padding: 28px 28px 22px;
}

.coleman-recipe-single__panel--intro:empty,
.coleman-recipe-single__panel--intro:not(:has(*)) {
	display: none;
}

.coleman-recipe-single__body > p:empty,
.coleman-recipe-single__panel > p:empty {
	display: none;
}

.coleman-recipe-single__body h2,
.coleman-recipe-single__section-title,
.coleman-recipe-single__body .coleman-recipe-single__section-title {
	margin: 0 0 16px;
	padding: 0 0 12px;
	border-bottom: 2px solid var(--coleman, #e52528);
	font: 700 24px / 1.25 "Assistant", "Arial Hebrew", Arial, sans-serif !important;
	color: #000;
	text-align: right;
}

.coleman-recipe-single__body h3,
.coleman-recipe-single__body h4 {
	margin: 1.4em 0 0.5em;
	font: 700 20px / 1.3 "Assistant", "Arial Hebrew", Arial, sans-serif;
	color: #000;
}

.coleman-recipe-single__body p {
	margin: 0 0 1em;
	font: 400 18px / 1.7 "Assistant", "Arial Hebrew", Arial, sans-serif;
	color: #222;
}

.coleman-recipe-single__body ul,
.coleman-recipe-single__body ol,
.coleman-recipe-single__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.coleman-recipe-single__list li {
	position: relative;
	margin: 0 0 10px;
	padding: 10px 36px 10px 14px;
	background: #f7f5f1;
	border-radius: 12px;
	font: 400 17px / 1.5 "Assistant", "Arial Hebrew", Arial, sans-serif;
	color: #1a1a1a;
}

.coleman-recipe-single__list li:last-child {
	margin-bottom: 0;
}

.coleman-recipe-single__list:not(.coleman-recipe-single__list--steps) li::before {
	content: "";
	position: absolute;
	top: 50%;
	right: 14px;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--coleman, #e52528);
	transform: translateY(-50%);
}

.coleman-recipe-single__list--steps {
	counter-reset: recipe-step;
}

.coleman-recipe-single__list--steps li {
	padding-right: 52px;
	background: #fff;
	border: 1px solid #e6e2db;
}

.coleman-recipe-single__list--steps li::before {
	counter-increment: recipe-step;
	content: counter(recipe-step);
	position: absolute;
	top: 50%;
	right: 12px;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--coleman, #e52528);
	color: #fff;
	font: 700 14px / 28px "Assistant", "Arial Hebrew", Arial, sans-serif;
	text-align: center;
	transform: translateY(-50%);
}

.coleman-recipe-single__body a {
	color: var(--coleman, #e52528);
}

.coleman-recipe-single__body img {
	max-width: 100%;
	height: auto;
	border-radius: 12px;
}

.coleman-recipe-single__pager {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin: 40px 0 0;
	padding: 28px 0 0;
	border-top: 1px solid #e5e1d8;
	direction: rtl;
}

.coleman-recipe-single__pager-spacer {
	display: block;
	min-height: 1px;
}

.coleman-recipe-single__pager-link {
	display: flex;
	align-items: center;
	gap: 12px;
	min-height: 72px;
	padding: 14px 16px;
	border: 1px solid #e5e1d8;
	border-radius: 16px;
	background: #fff;
	color: #111;
	text-decoration: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.coleman-recipe-single__pager-link:hover {
	border-color: var(--coleman, #e52528);
	box-shadow: 0 0 0 1px var(--coleman, #e52528);
	transform: translateY(-1px);
	text-decoration: none;
	color: #111;
}

.coleman-recipe-single__pager-link--prev {
	justify-content: flex-start;
}

.coleman-recipe-single__pager-link--next {
	justify-content: flex-end;
	text-align: left;
}

.coleman-recipe-single__pager-meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.coleman-recipe-single__pager-label {
	font: 700 13px / 1.2 "Assistant", "Arial Hebrew", Arial, sans-serif;
	letter-spacing: 0.04em;
	color: var(--coleman, #e52528);
}

.coleman-recipe-single__pager-title {
	font: 600 16px / 1.35 "Assistant", "Arial Hebrew", Arial, sans-serif;
	overflow: hidden;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
}

.coleman-recipe-single__pager-dir {
	flex: 0 0 auto;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--coleman, #e52528);
	color: #fff;
	font: 700 16px / 28px "Assistant", "Arial Hebrew", Arial, sans-serif;
	text-align: center;
}

@media (min-width: 860px) {
	.coleman-recipe-single__body {
		grid-template-columns: 1fr 1fr;
		align-items: start;
	}

	.coleman-recipe-single__panel--intro {
		grid-column: 1 / -1;
	}

	.coleman-recipe-single__body > .coleman-recipe-single__panel:nth-child(n + 4) {
		grid-column: 1 / -1;
	}
}

@media (max-width: 980px) {
	.coleman-recipes__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.coleman-recipes__video-grid,
	.coleman-recipes__grid {
		grid-template-columns: 1fr;
	}

	.coleman-recipes__heading,
	.coleman-recipe-single__title {
		font-size: 28px;
	}

	.coleman-recipe-single__article {
		padding: 28px 18px 72px;
	}

	.coleman-recipe-single__panel {
		padding: 22px 18px 18px;
	}

	.coleman-recipe-single__pager {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 8px;
	}

	.coleman-recipe-single__pager-spacer {
		display: block;
	}

	.coleman-recipe-single__pager-link {
		min-width: 0;
		min-height: 82px;
		padding: 10px;
		gap: 8px;
	}

	.coleman-recipe-single__kicker {
		font-size: 18px;
	}

	.coleman-recipe-single__list--steps li::before {
		font-size: 18px;
	}

	.coleman-recipe-single__pager-dir {
		width: 28px;
		height: 28px;
		font-size: 18px;
		line-height: 28px;
	}

	.coleman-recipe-single__pager-label {
		font-size: 18px;
	}

	.coleman-recipe-single__pager-title {
		font-size: 18px;
		line-height: 22px;
	}

	.coleman-recipe-single__pager-link--next {
		justify-content: flex-end;
		text-align: left;
	}
}
