/* 20260831 */

/* ==========================================================================
   readbook (book-hub page) — specific to this page only
   ========================================================================== */

/* Status badge — duplicated here (not inherited from main0.css) so this
   page doesn't depend on another page's CSS file. */
.main0-book-status {
	display: inline-block;
	font-size: 0.7rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
	background-color: var(--secondary-color);
	color: var(--primary-color);
	margin-bottom: 0.5rem;
}

/* Book header */
.bookpage-cover {
	width: 100%;
	max-width: 220px;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	border-radius: 8px;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.bookpage-meta h2 {
	margin-bottom: 0.25rem;
}

/* Currently unused by defaultContent.tmpl (no author byline element yet) —
   left in for when/if an author field is added to the page. */
.bookpage-author {
	color: #6c757d;
	margin-bottom: 0.75rem;
}

/* Chapter list */
.bookpage-chapter-list .list-group-item {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.bookpage-chapter-num {
	font-weight: 700;
	color: var(--primary-color);
	min-width: 2.5rem;
}

/* Back-to-catalog link */
.bookpage-back {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-bottom: 1rem;
}
