/**
 * category-sections.css — the JLPC below-grid content sections
 * (trust · seo · faq · project-showcase · news), base mobile-first form.
 * Split out of the old category-components.css (2026-08-16); the dead
 * jlpc-crumb + jlpc-hero blocks were removed (no PHP/JS emitter — the live
 * page uses .jcn__crumb / .jcn__head). Responsive variants live in
 * category-mobile/tablet/desktop.css. Tokens: assets/css/jl-tokens.css.
 */

/* =========================================================================
 * Trust blocks — centered icon + heading row above. Gold hairline dividers
 * between items on tablet+. Refined editorial feel; no card-in-card chrome.
 * ========================================================================= */
.jlpc-trust-section {
	display: grid;
	gap: 1.75rem;
}

.jlpc-trust__header {
	display: grid;
	justify-items: center;
	gap: 0.75rem;
	text-align: center;
}

.jlpc-trust {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem 0;
	background: transparent;
	border: 0;
	border-radius: 0;
	overflow: visible;
}

.jlpc-trust__item {
	display: grid;
	justify-items: start;
	align-content: start;
	gap: 0.65rem;
	padding: 0 0.25rem;
	background: transparent;
	min-width: 0;
}

.jlpc-trust__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	color: var(--jl2-color-gold);
	margin-bottom: 0.15rem;
}

.jlpc-trust__icon svg {
	width: 100%;
	height: 100%;
	display: block;
}

.jlpc-trust__title {
	margin: 0;
	font-family: var(--jl2-font-display);
	font-weight: 600;
	font-style: italic;
	font-variation-settings: "opsz" 24;
	font-size: 17px;
	line-height: 1.2;
	letter-spacing: -0.005em;
	color: var(--jl2-color-ink);
}

.jlpc-trust__copy {
	margin: 0;
	font-family: var(--jl2-font-sans);
	font-size: 13px;
	line-height: 1.6;
	color: rgba(var(--jl2-color-ink-rgb), 0.62);
	max-width: 28ch;
}

/* =========================================================================
 * SEO content (about <category>)
 * ========================================================================= */
.jlpc-seo-content {
	display: grid;
	gap: 1.25rem;
	justify-items: center;
	text-align: center;
}

.jlpc-seo-content .jlpc-prose {
	text-align: left;
	max-width: 64ch;
}

/* =========================================================================
 * FAQ (native <details>)
 * ========================================================================= */
.jlpc-faq {
	display: grid;
	gap: 0;
	max-width: 760px;
	margin-inline: auto;
}

.jlpc-faq__heading {
	display: grid;
	justify-items: center;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
	text-align: center;
}

.jlpc-faq__item {
	border-top: 1px solid rgba(var(--jl2-color-gold-rgb), 0.30);
	padding: 1.1rem 0.25rem;
}

.jlpc-faq__item:last-child {
	border-bottom: 1px solid rgba(var(--jl2-color-gold-rgb), 0.30);
}

.jlpc-faq__q {
	list-style: none;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 1rem;
	cursor: pointer;
	font-family: var(--jl2-font-sans);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.01em;
	color: var(--jl2-color-ink);
	padding: 0.4rem 0;
	transition: color 200ms ease;
}

.jlpc-faq__q::-webkit-details-marker { display: none; }
.jlpc-faq__q::marker { content: ""; }

.jlpc-faq__icon {
	position: relative;
	width: 14px;
	height: 14px;
	flex-shrink: 0;
}
.jlpc-faq__icon::before,
.jlpc-faq__icon::after {
	content: "";
	position: absolute;
	left: 50%;
	top: 50%;
	width: 12px;
	height: 1px;
	background: var(--jl2-color-gold);
	transform: translate(-50%, -50%);
	transition: transform 250ms ease;
}
.jlpc-faq__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.jlpc-faq__item[open] .jlpc-faq__q { color: var(--jl2-color-gold); }
.jlpc-faq__item[open] .jlpc-faq__icon::after {
	transform: translate(-50%, -50%) rotate(0deg);
}

.jlpc-faq__a {
	margin: 0.6rem 0 0.2rem;
	font-family: var(--jl2-font-sans);
	font-size: 14px;
	line-height: 1.7;
	color: rgba(var(--jl2-color-ink-rgb), 0.62);
}

/* =========================================================================
 * Project showcase
 * ========================================================================= */
.jlpc-project-showcase {
	position: relative;
	overflow: hidden;
	border-radius: var(--jl2-radius-sm);
	background: var(--jl2-color-ink);
	min-height: 280px;
	color: var(--jl2-color-cream-2);
}

.jlpc-project-showcase__media {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.jlpc-project-showcase__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	opacity: 0.75;
}

.jlpc-project-showcase__media::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(
		180deg,
		rgba(var(--jl2-color-ink-rgb), 0.10)  0%,
		rgba(var(--jl2-color-ink-rgb), 0.55) 70%,
		rgba(var(--jl2-color-ink-rgb), 0.85) 100%
	);
}

.jlpc-project-showcase__inner {
	position: relative;
	z-index: 1;
	display: grid;
	gap: 1rem;
	padding: 2.5rem 1.5rem;
	min-height: 280px;
	align-content: end;
}

.jlpc-project-showcase__eyebrow {
	color: var(--jl2-color-cream-2);
	opacity: 0.85;
}

.jlpc-project-showcase__title {
	font-family: var(--jl2-font-display);
	font-weight: 400;
	font-size: clamp(1.6rem, 3vw, 2.4rem);
	line-height: 1.1;
	color: var(--jl2-color-white);
	margin: 0;
}

.jlpc-project-showcase__copy {
	font-family: var(--jl2-font-sans);
	font-size: 14px;
	line-height: 1.6;
	max-width: 50ch;
	color: var(--jl2-color-cream-2);
	opacity: 0.92;
	margin: 0;
}

.jlpc-project-showcase__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-top: 0.5rem;
	font-family: var(--jl2-font-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--jl2-color-white);
	border-bottom: 1px solid rgba(var(--jl2-color-white-rgb), 0.45);
	padding-bottom: 0.25rem;
	width: max-content;
	transition: border-color 250ms ease, color 250ms ease;
}

.jlpc-project-showcase__cta:hover,
.jlpc-project-showcase__cta:focus-visible {
	border-color: var(--jl2-color-gold);
	color: var(--jl2-color-gold);
}

/* =========================================================================
 * News / press logos — real publication logos linked to coverage articles.
 *
 * Each logo sits in a fixed-height slot with object-fit:contain so wildly
 * different aspect ratios (Deccan Herald square monogram + ANI square mic
 * + The Blunt Times wide wordmark) read as a cohesive row.
 *
 * Default state: subtle grayscale + low opacity for that luxury "we don't
 * shout about it" press feel. Full saturation + opacity on hover.
 * ========================================================================= */
.jlpc-news {
	display: grid;
	gap: 1.5rem;
	justify-items: center;
	text-align: center;
}

.jlpc-news__strip {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.75rem 2rem;
	align-items: center;
	justify-items: center;
	width: 100%;
	max-width: var(--jlpc-container);
}

.jlpc-news__logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	max-width: 140px;
	height: 56px;
	padding: 0.3rem;
	text-decoration: none;
	transition: opacity 280ms ease, filter 280ms ease, transform 280ms ease;
	opacity: 0.55;
	filter: grayscale(1) contrast(0.9);
}

.jlpc-news__logo img {
	max-width: 100%;
	max-height: 100%;
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
}

.jlpc-news__logo:hover,
.jlpc-news__logo:focus-visible {
	opacity: 1;
	filter: none;
	outline: 0;
	transform: translateY(-1px);
}

.jlpc-news__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: 0.5rem;
	font-family: var(--jl2-font-sans);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: rgba(var(--jl2-color-ink-rgb), 0.62);
	border-bottom: 1px solid transparent;
	padding-bottom: 0.25rem;
	transition: color 250ms ease, border-color 250ms ease;
}

.jlpc-news__cta:hover,
.jlpc-news__cta:focus-visible {
	color: var(--jl2-color-gold);
	border-bottom-color: var(--jl2-color-gold);
	outline: 0;
}

