/* ==========================================================================
   Our Ingredients (/ingredients/) — only enqueued on this page.
   ========================================================================== */

.lcbm-ingredients-page-hero {
	background: var(--lcbm-color-bg-light);
	padding-block: var(--lcbm-space-xl) var(--lcbm-space-lg);
	text-align: center;
}
.lcbm-ingredients-page-eyebrow {
	display: inline-block;
	font-family: var(--lcbm-font-accent);
	font-style: italic;
	font-weight: 500;
	font-size: 0.9rem;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--lcbm-color-primary);
	margin-bottom: 0.6rem;
}
.lcbm-ingredients-page-hero h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); max-width: 26ch; margin-inline: auto; }
.lcbm-ingredients-page-hero p { color: var(--lcbm-color-text-muted); max-width: 56ch; margin-inline: auto; }

.lcbm-ingredients-page-jumplinks {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.6rem;
	margin-top: var(--lcbm-space-md);
}
.lcbm-ingredients-page-jumplinks a {
	padding: 0.5rem 1.1rem;
	border-radius: var(--lcbm-radius-pill);
	background: var(--lcbm-color-bg);
	border: 1px solid var(--lcbm-color-border);
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--lcbm-color-text);
}
.lcbm-ingredients-page-jumplinks a:hover { border-color: var(--lcbm-color-primary); color: var(--lcbm-color-primary); }

.lcbm-ingredients-page-body {
	max-width: 900px;
	padding-block: var(--lcbm-space-xl);
	display: flex;
	flex-direction: column;
	gap: var(--lcbm-space-xl);
}

.lcbm-ingredient-article { scroll-margin-top: calc(var(--lcbm-header-height) + 1rem); }
.lcbm-ingredient-article-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: var(--lcbm-space-md);
	align-items: start;
}
/* Media and content are explicitly placed into row 1's two columns, and
   the FAQ explicitly into row 2 spanning both — deliberately NOT using
   `order` to alternate the media side (below), since `order` only affects
   grid auto-placement's cursor sequence, not which explicit column an
   item lands in. Combined with the FAQ's explicit column span, `order`
   made the auto-placement algorithm skip early cells instead of
   backfilling them, which is what was blowing the image up to full width
   in a leftover row for every other ("even") section. Explicit
   grid-column/grid-row on every item sidesteps auto-placement entirely. */
@media (min-width: 700px) {
	.lcbm-ingredient-article-grid { grid-template-columns: 280px 1fr; }
	.lcbm-ingredient-article-media { grid-column: 1; grid-row: 1; }
	.lcbm-ingredient-article-content { grid-column: 2; grid-row: 1; }
}

/* Alternate media side on every other section for visual rhythm. */
@media (min-width: 700px) {
	.lcbm-ingredient-article:nth-of-type(even) .lcbm-ingredient-article-grid { grid-template-columns: 1fr 280px; }
	.lcbm-ingredient-article:nth-of-type(even) .lcbm-ingredient-article-media { grid-column: 2; }
	.lcbm-ingredient-article:nth-of-type(even) .lcbm-ingredient-article-content { grid-column: 1; }
}

/* FAQ box is a third direct child of the grid (a sibling of the media and
   content columns, not nested inside either) — grid-column:1/-1 spans it
   across the full article width, under both the image and the text,
   instead of being squeezed into just the text column. */
.lcbm-ingredient-article-faq {
	grid-column: 1 / -1;
	grid-row: 2;
	background: var(--lcbm-color-bg-light);
	border: none;
	border-radius: var(--lcbm-radius-md);
	padding: var(--lcbm-space-sm) var(--lcbm-space-md);
	margin: 0;
}

.lcbm-ingredient-article-media,
.lcbm-ingredient-article-media-placeholder {
	aspect-ratio: 4 / 3;
	border-radius: var(--lcbm-radius-md);
	overflow: hidden;
	background: var(--lcbm-color-bg-light);
}
.lcbm-ingredient-article-media img { width: 100%; height: 100%; object-fit: cover; }
.lcbm-ingredient-article-media-placeholder { background: radial-gradient(circle at 30% 30%, var(--lcbm-color-secondary), var(--lcbm-color-primary) 70%); }

.lcbm-ingredient-article-subtitle {
	display: inline-block;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--lcbm-color-accent);
	margin-bottom: 0.3rem;
}
.lcbm-ingredient-article-content h2 { margin-bottom: 0.5rem; }
.lcbm-ingredient-article-content h2 a { color: inherit; }
.lcbm-ingredient-article-content h2 a:hover { color: var(--lcbm-color-primary); }
.lcbm-ingredient-article-content > p { color: var(--lcbm-color-text-muted); }

.lcbm-ingredient-article-links { display: flex; flex-wrap: wrap; gap: 0.6rem; margin-top: 0.5rem; }

.lcbm-ingredient-article-benefits {
	display: flex;
	flex-direction: column;
	gap: 0.4rem;
	margin: var(--lcbm-space-sm) 0;
}
.lcbm-ingredient-article-benefits li {
	position: relative;
	padding-left: 1.4rem;
	font-size: 0.9rem;
}
.lcbm-ingredient-article-benefits li::before {
	content: '\2713';
	position: absolute;
	left: 0;
	color: var(--lcbm-color-primary);
	font-weight: 700;
}

.lcbm-ingredient-article-faq .lcbm-faq-question { font-size: 0.95rem; font-weight: 700; }

.lcbm-ingredients-page-faqs h2 { text-align: center; margin-bottom: var(--lcbm-space-md); }
.lcbm-ingredients-page-faqs .lcbm-faq-item {
	background: var(--lcbm-color-bg-light);
	border: none;
	border-radius: var(--lcbm-radius-md);
	padding: var(--lcbm-space-sm) var(--lcbm-space-md);
}
.lcbm-ingredients-page-faqs .lcbm-faq-question { font-weight: 700; }

.lcbm-ingredients-page-cta {
	background: var(--lcbm-color-bg-dark);
	color: #fff;
	border-radius: var(--lcbm-radius-lg);
	padding: var(--lcbm-space-lg) var(--lcbm-space-md);
	text-align: center;
}
.lcbm-ingredients-page-cta h2 { color: #fff; }
.lcbm-ingredients-page-cta p { color: rgba(255,255,255,0.85); }
.lcbm-ingredients-page-cta-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.75rem;
	margin-top: var(--lcbm-space-sm);
}
.lcbm-ingredients-page-cta-actions .btn-outline { border-color: #fff; color: #fff; }
.lcbm-ingredients-page-cta-actions .btn-outline:hover { background: #fff; color: var(--lcbm-color-text); }
