/* ============================================================
   Public recipe collection page (mobile-first)
   Design language mirrors the PUL web app: cream canvas,
   soft-shadow cards with 16px radius, Cotoris headings,
   uppercase tracked eyebrows, green pill accents.
   ============================================================ */

.rc-page {
	background-color: var(--col-green-5, #EAEDE8);
}

.rc-canvas {
	max-width: 1080px;
	margin: 0 auto;
	padding: 0 1rem;
}

/* ---------- Hero ---------- */

.rc-hero {
	max-width: 760px;
	margin: 0 auto;
	padding: 3rem 0.25rem 2rem;
	text-align: center;
}

.rc-hero__eyebrow {
	margin-bottom: 0.75rem;
	font-family: var(--font-2, 'Hind Vadodara', sans-serif);
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--col-green-1, #50684B);
}

.rc-hero__title {
	margin-bottom: 0;
	font-size: clamp(2.5rem, 9vw, 3.75rem);
	line-height: 1.05;
	color: var(--col-green-0, #1B231A);
}

.rc-hero__blurb {
	max-width: 55ch;
	margin: 1.25rem auto 0;
	font-size: 1.0625rem;
	line-height: 1.6;
	color: rgba(27, 35, 26, 0.8);
}

.rc-hero__count {
	margin: 1.5rem 0 0;
	font-size: 0.8125rem;
	color: rgba(27, 35, 26, 0.55);
}

/* ---------- Compact recipe list ---------- */

.rc-list {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	max-width: 760px;
	margin: 0 auto;
}

.rc-list__empty {
	padding: 2rem 1rem;
	text-align: center;
	color: rgba(27, 35, 26, 0.65);
}

.rc-item {
	display: flex;
	gap: 1rem;
	padding: 0.875rem;
	background-color: #FDFDFB;
	border-radius: 16px;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	color: inherit;
	text-decoration: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rc-item:hover,
.rc-item:focus {
	color: inherit;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.10);
}

.rc-item:focus-visible,
.rc-more-card:focus-visible {
	outline: 2px solid var(--col-green-1, #50684B);
	outline-offset: 2px;
}

.rc-item__media {
	position: relative;
	flex: 0 0 140px;
	align-self: flex-start;
}

.rc-item__img {
	display: block;
	width: 100%;
	aspect-ratio: 4 / 5;
	object-fit: cover;
	border-radius: 12px;
}

.rc-item__premium {
	position: absolute;
	left: 6px;
	top: 6px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 8px;
	border-radius: 999px;
	background-color: var(--col-yellow-1, #c99738);
	color: #fff;
	font-size: 0.6875rem;
	font-weight: 600;
	line-height: 1.4;
	white-space: nowrap;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25);
}

.rc-item__time {
	position: absolute;
	left: 6px;
	bottom: 6px;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 2px 8px;
	border-radius: 999px;
	background-color: rgba(0, 0, 0, 0.55);
	color: #fff;
	font-size: 0.6875rem;
	line-height: 1.4;
	white-space: nowrap;
}

.rc-item__body {
	display: flex;
	flex: 1;
	min-width: 0;
	flex-direction: column;
	justify-content: center;
	padding: 0.125rem 0.125rem 0.125rem 0;
}

.rc-item__title {
	margin-bottom: 0.25rem;
	font-size: 1.375rem;
	line-height: 1.15;
	color: var(--col-green-0, #1B231A);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.rc-item__promo {
	margin-bottom: 0.5rem;
	font-size: 0.9375rem;
	line-height: 1.45;
	color: rgba(27, 35, 26, 0.72);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.rc-item__promo::before {
	content: '\201C';
	margin-right: 1px;
	font-family: var(--font-0, 'Cotoris Bold');
	color: rgba(80, 104, 75, 0.6);
}

.rc-item__promo::after {
	content: '\201D';
	margin-left: 1px;
	font-family: var(--font-0, 'Cotoris Bold');
	color: rgba(80, 104, 75, 0.6);
}

.rc-item__rating {
	margin-bottom: 0.5rem;
}

/* Shared star-rating include (see star-rating.html), sized for the compact cards */
.rc-item .svg-rating {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.rc-item .stars-row {
	display: flex;
	gap: 2px;
}

.rc-item .star {
	width: 15px;
	height: 15px;
	display: block;
}

.rc-item .rating-count {
	font-size: 0.8125rem;
	color: rgba(27, 35, 26, 0.6);
}

.rc-item__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 0.375rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--col-green-1, #50684B);
}

.rc-item:hover .rc-item__cta {
	text-decoration: underline;
}

/* ---------- Ads ---------- */

.rc-ad-bottom {
	margin-top: 2rem;
}

/* ---------- More collections ---------- */

.rc-more {
	max-width: 1080px;
	margin: 3rem auto 0;
}

.rc-more__heading {
	margin-bottom: 1.25rem;
	text-align: center;
	font-size: 1.75rem;
	color: var(--col-green-0, #1B231A);
}

.rc-more__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1rem;
}

.rc-more-card {
	position: relative;
	display: flex;
	min-height: 150px;
	padding: 1.25rem;
	overflow: hidden;
	border-radius: 16px;
	background-color: #FDFDFB;
	background-image: linear-gradient(135deg, rgba(80, 104, 75, 0.18) 0%, rgba(253, 253, 251, 0.4) 100%);
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
	color: inherit;
	text-decoration: none;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.rc-more-card:hover,
.rc-more-card:focus {
	color: inherit;
	text-decoration: none;
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.10);
}

.rc-more-card__text {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
	max-width: 58%;
}

.rc-more-card__title {
	margin-bottom: 0;
	font-size: 1.375rem;
	line-height: 1.15;
	color: var(--col-green-0, #1B231A);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.rc-more-card__blurb {
	margin-bottom: 0;
	font-size: 0.875rem;
	line-height: 1.45;
	color: rgba(27, 35, 26, 0.72);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.rc-more-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 0.375rem;
	font-size: 0.875rem;
	font-weight: 600;
	color: var(--col-green-1, #50684B);
}

.rc-more-card:hover .rc-more-card__cta {
	text-decoration: underline;
}

.rc-more-card__img {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 42%;
	max-height: 90%;
	object-fit: contain;
	object-position: right bottom;
}

/* ---------- Larger screens ---------- */

@media only screen and (min-width: 576px) {

	.rc-hero {
		padding: 4rem 0.25rem 2.5rem;
	}

	.rc-item {
		gap: 1.375rem;
		padding: 1rem;
	}

	.rc-item__media {
		flex: 0 0 190px;
	}

	.rc-item__title {
		font-size: 1.625rem;
	}

	.rc-item__promo {
		font-size: 1rem;
	}

	.rc-more__grid {
		grid-template-columns: 1fr 1fr;
	}
}
