.single-wsb_book .wsf-content {
	max-width: 1100px;
}

.wsb-bookshelf-grid {
	display: grid;
	grid-template-columns: repeat(var(--wsb-columns-desktop, 4), minmax(0, 1fr));
	gap: 24px;
}

.wsb-book-card {
	min-width: 0;
}

.wsb-book-card__link {
	display: flex;
	flex-direction: column;
	gap: 12px;
	color: inherit;
	text-decoration: none;
}

.wsb-book-card__cover {
	display: block;
	aspect-ratio: 2 / 3;
	border-radius: 12px;
	overflow: hidden;
	background: rgba(0, 0, 0, 0.06);
	box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.wsb-book-card__cover img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.wsb-book-card__title {
	font-weight: 600;
	line-height: 1.35;
}

.wsb-book-card__blurb {
	color: var(--wsf-text-muted, #5e6678);
	font-size: 0.94rem;
	line-height: 1.55;
}

.wsb-book-card__placeholder {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	padding: 16px;
	text-align: center;
}

.wsb-book-single {
	display: grid;
	grid-template-columns: minmax(240px, 360px) minmax(0, 1fr);
	gap: 40px;
	align-items: start;
}

.wsb-book-single__content {
	min-width: 0;
}

.wsb-book-single__cover {
	border-radius: 18px;
	overflow: hidden;
	box-shadow: 0 16px 44px rgba(15, 23, 42, 0.15);
}

.wsb-book-single__cover img {
	display: block;
	width: 100%;
	height: auto;
}

.wsb-book-single__title {
	margin: 0 0 16px;
	font-size: clamp(2.2rem, 4.4vw, 4.4rem);
	line-height: 0.95;
	overflow-wrap: anywhere;
}

.wsb-book-single__taxonomy {
	display: grid;
	gap: 8px;
	margin-top: 18px;
}

.wsb-book-single__taxonomy-row {
	margin: 0;
	color: var(--wsf-text-muted, #5e6678);
	font-size: 0.95rem;
}

.wsb-book-single__taxonomy-row strong {
	color: var(--wsf-text, #1b1f28);
}

.wsb-book-links {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin: 20px 0 28px;
}

.wsb-book-links__item {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 12px 18px;
	border-radius: 999px;
	background: #1f2937;
	color: #fff;
	text-decoration: none;
}

.wsb-bookshelf-archive__intro {
	margin-bottom: 28px;
}

@media (max-width: 960px) {
	.wsb-bookshelf-grid {
		grid-template-columns: repeat(var(--wsb-columns-tablet, 3), minmax(0, 1fr));
		gap: 18px;
	}

	.single-wsb_book .wsf-content {
		max-width: 860px;
	}

	.wsb-book-single {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.wsb-book-single__cover {
		max-width: 340px;
	}

	.wsb-book-single__title {
		font-size: clamp(2rem, 7vw, 3.2rem);
		line-height: 1;
	}
}

@media (max-width: 640px) {
	.wsb-bookshelf-grid {
		grid-template-columns: repeat(var(--wsb-columns-mobile, 2), minmax(0, 1fr));
		gap: 16px;
	}
}
