/**
 * Human Ledger page — Detente 2030 research portal (full page).
 *
 * @package HelloElementorChild
 */

.human-ledger-page {
	background: linear-gradient(180deg, #060d18 0%, #0a1424 45%, #0b172b 100%);
	color: #e2e8f0;
	min-height: 60vh;
}

.human-ledger-wrap {
	max-width: 1400px;
	margin: 0 auto;
	padding: 48px 20px 72px;
}

.human-ledger-hero {
	text-align: center;
	max-width: 760px;
	margin: 0 auto 36px;
}

.human-ledger-kicker {
	margin: 0 0 10px;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #93c5fd;
}

.human-ledger-title {
	margin: 0 0 8px;
	font-size: clamp(2rem, 5vw, 3rem);
	color: #f8fafc;
	line-height: 1.15;
}

.human-ledger-subtitle {
	margin: 0 0 16px;
	font-size: clamp(1.25rem, 3vw, 1.75rem);
	color: #cbd5e1;
	font-weight: 600;
}

.human-ledger-lead {
	margin: 0;
	font-size: 1.05rem;
	line-height: 1.6;
	color: #94a3b8;
}

.human-ledger-panel {
	border: 1px solid rgba(148, 163, 184, 0.25);
	border-radius: 24px;
	padding: 28px 24px 32px;
	background: linear-gradient(180deg, rgba(11, 23, 43, 0.95), rgba(10, 20, 36, 0.92));
	box-shadow: 0 24px 64px rgba(2, 6, 23, 0.55);
}

/* Full-page layout: videos wide, podcasts + documents in second row */
.human-ledger-panel .d2030-resource-grid--page {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
}

.human-ledger-panel .d2030-featured-video-wrap {
	margin-bottom: 18px;
}

.human-ledger-panel .d2030-featured-video__title {
	margin: 0 0 10px;
	font-size: clamp(1rem, 2vw, 1.2rem);
	font-weight: 700;
	color: #f8fafc;
	line-height: 1.35;
}

.human-ledger-panel .d2030-featured-video {
	width: 100%;
	display: block;
	aspect-ratio: 16 / 9;
	border-radius: 14px;
	background: #0f172a;
	margin-bottom: 0;
}

.human-ledger-panel .d2030-resource-group:first-child .d2030-preview-list {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.human-ledger-panel .d2030-resource-grid--page .d2030-resource-group--pdfs .d2030-preview-list {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (min-width: 1100px) {
	.human-ledger-panel .d2030-resource-grid--page {
		grid-template-columns: minmax(0, 2.1fr) minmax(260px, 0.68fr);
		grid-template-areas:
			'videos podcasts'
			'documents documents';
	}

	.human-ledger-panel .d2030-resource-grid--page .d2030-resource-group:first-child {
		grid-area: videos;
	}

	.human-ledger-panel .d2030-resource-grid--page .d2030-resource-group:nth-child(2) {
		grid-area: podcasts;
	}

	.human-ledger-panel .d2030-resource-grid--page .d2030-resource-group--pdfs {
		grid-area: documents;
	}
}

@media (max-width: 1024px) {
	.human-ledger-panel .d2030-resource-group:first-child .d2030-preview-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 720px) {
	.human-ledger-wrap {
		padding: 32px 16px 56px;
	}

	.human-ledger-panel {
		padding: 20px 16px 24px;
		border-radius: 18px;
	}

	.human-ledger-panel .d2030-resource-group:first-child .d2030-preview-list,
	.human-ledger-panel .d2030-resource-grid--page .d2030-resource-group--pdfs .d2030-preview-list {
		grid-template-columns: 1fr;
	}
}
