/* =========================================================================
   BASIC-256 About page (template-about.php)
   Builds on landing.css + release-notes.css (shared tokens, hero, timeline,
   buttons, CTA). This file only adds the book meta panel + TOC grid.
   ========================================================================= */

/* ---- Book section ----------------------------------------------------- */
.b256-book > h2 em { font-style: italic; }

/* Meta strip: author / edition / read-online */
.book-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 18px 0 28px;
}
.book-meta-item {
	flex: 1 1 200px;
	display: flex;
	flex-direction: column;
	gap: 4px;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 14px 16px;
	box-shadow: var(--shadow);
}
.book-meta-item .bm-label {
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--text-muted);
}
.book-meta-item .bm-value { font-size: 15px; font-weight: 600; color: var(--text); }
.book-meta-item .bm-value a { color: var(--blue-2); }
.book-meta-item .bm-value a:hover { text-decoration: underline; }

/* TOC heading */
.book-toc-title {
	font-size: 18px;
	font-weight: 800;
	margin: 8px 0 14px;
	color: var(--text);
}

/* TOC grid: two columns of chapter cards */
.book-toc {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 10px;
	counter-reset: none;
}
.book-toc li { margin: 0; }
.book-toc li a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	height: 100%;
	background: var(--card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 13px 16px;
	color: var(--text);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
	box-shadow: var(--shadow);
	transition: border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.book-toc li a:hover {
	border-color: var(--blue-2);
	transform: translateY(-1px);
	color: var(--text);
}
.book-toc .toc-arrow {
	flex: none;
	color: var(--text-muted);
	font-size: 14px;
	transition: color .15s ease, transform .15s ease;
}
.book-toc li a:hover .toc-arrow {
	color: var(--blue-2);
	transform: translate(1px, -1px);
}

/* ---- Responsive ------------------------------------------------------- */
@media (max-width: 720px) {
	.book-toc { grid-template-columns: 1fr; }
	.book-meta-item { flex-basis: 100%; }
}
