/*
 * Virtual Bookshelf front end.
 *
 * Customize from your theme by overriding these custom properties, e.g.
 *   .vb-shelf { --vb-accent: #8a1c1c; --vb-gap: 1.5rem; }
 */

.vb-shelf {
	--vb-gap: 1rem;
	--vb-radius: 4px;
	--vb-accent: var(--wp--preset--color--primary, #1f4e8c);
	--vb-accent-text: #fff;
	--vb-muted: color-mix(in srgb, currentColor 65%, transparent);
	--vb-shadow: 0 1px 2px rgb(0 0 0 / 0.12), 0 4px 12px rgb(0 0 0 / 0.12);
	--vb-dialog-bg: #fff;
	--vb-dialog-fg: #1d2327;
	/* Cover width as shown: the chosen width, scaled down on phones. */
	--vb-book-width: var(--vb-cover-width);
	position: relative;
	margin-block: 1.5rem;
}

.vb-shelf__heading {
	margin: 0 0 0.5rem;
}

.vb-shelf__description {
	margin: 0 0 1rem;
}

.vb-shelf__frame {
	position: relative;
}

/* Phones: smaller covers so about three books show at once. */
@media (max-width: 600px) {
	.vb-shelf {
		--vb-book-width: min(var(--vb-cover-width), 27vw);
		--vb-gap: 0.75rem;
	}

	/* Three across in the grid. */
	.vb-shelf.vb-shelf--grid .vb-shelf__list {
		grid-template-columns: repeat(auto-fill, minmax(min(var(--vb-book-width), calc((100% - 2 * var(--vb-gap)) / 3)), 1fr));
	}
}

/* List ---------------------------------------------------------------- */

.vb-shelf__list {
	list-style: none;
	margin: 0;
	padding: 0.25rem 0 0.75rem;
}

.vb-shelf--carousel .vb-shelf__list,
.vb-shelf--shelf .vb-shelf__list {
	display: flex;
	gap: var(--vb-gap);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 0.25rem;
	scrollbar-width: thin;
	padding-inline: 0.25rem;
}

.vb-shelf--carousel .vb-book,
.vb-shelf--shelf .vb-book {
	/* --vb-scale > 1 for square and landscape covers (see Renderer::width_scale). */
	flex: 0 0 calc(var(--vb-book-width) * var(--vb-scale, 1));
	scroll-snap-align: start;
}

.vb-shelf--grid .vb-shelf__list {
	display: grid;
	gap: calc(var(--vb-gap) * 1.25) var(--vb-gap);
	/* At least two columns on phones, however wide the covers are set. */
	grid-template-columns: repeat(auto-fill, minmax(min(var(--vb-book-width), calc((100% - var(--vb-gap)) / 2)), 1fr));
}

.vb-book {
	margin: 0;
	padding: 0;
	min-width: 0;
}

.vb-book__trigger {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: none;
	color: inherit;
	font: inherit;
	text-align: start;
	text-decoration: none;
	cursor: default;
}

button.vb-book__trigger,
a.vb-book__trigger {
	cursor: pointer;
}

.vb-book__trigger:focus-visible {
	outline: 3px solid var(--vb-accent);
	outline-offset: 3px;
	border-radius: var(--vb-radius);
}

.vb-book__text {
	display: flex;
	flex-direction: column;
	gap: 0.15rem;
	min-width: 0;
}

.vb-book__title {
	font-weight: 600;
	font-size: 0.9em;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.vb-book__author {
	font-size: 0.8em;
	line-height: 1.3;
	color: var(--vb-muted);
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

/* Covers -------------------------------------------------------------- */

/* Every book gets the same height of space; the cover keeps its own shape
   (picture books are often square) and stands at the bottom of it. */
.vb-book__cover-area {
	display: flex;
	align-items: flex-end;
	height: calc(var(--vb-book-width) * 1.5);
}

.vb-cover {
	display: block;
	width: 100%;
	border-radius: var(--vb-radius);
	overflow: hidden;
	box-shadow: var(--vb-shadow);
	background: color-mix(in srgb, currentColor 8%, transparent);
	transition: transform 0.15s ease, box-shadow 0.15s ease;
}

@media (hover: hover) {
	button.vb-book__trigger:hover .vb-cover,
	a.vb-book__trigger:hover .vb-cover {
		transform: translateY(-3px);
		box-shadow: 0 2px 4px rgb(0 0 0 / 0.15), 0 10px 20px rgb(0 0 0 / 0.15);
	}
}

.vb-cover__img {
	display: block;
	width: 100%;
	height: auto;
	margin: 0;
	max-width: none;
}

/* Unusually tall covers are trimmed a little rather than towering over the rest. */
.vb-book__cover-area .vb-cover__img {
	max-height: calc(var(--vb-book-width) * 1.5);
	object-fit: cover;
	object-position: top;
}

.vb-cover__placeholder {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 0.5em;
	aspect-ratio: 2 / 3;
	padding: 10% 8%;
	box-sizing: border-box;
	color: #fff;
	text-align: center;
	background: linear-gradient(135deg, hsl(var(--vb-hue, 210) 45% 38%), hsl(var(--vb-hue, 210) 50% 24%));
}

.vb-cover__placeholder-title {
	font-weight: 700;
	/* Scales with the cover so small covers still fit whole words. */
	font-size: clamp(10px, calc(var(--vb-book-width) * 0.11), 15px);
	line-height: 1.25;
	overflow-wrap: break-word;
}

.vb-cover__placeholder-author {
	font-size: 0.75em;
	opacity: 0.85;
}

/* Carousel buttons ---------------------------------------------------- */

.vb-shelf__nav {
	position: absolute;
	top: calc(var(--vb-book-width) * 0.75);
	z-index: 2;
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--vb-dialog-bg);
	color: var(--vb-dialog-fg);
	box-shadow: var(--vb-shadow);
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
	transform: translateY(-50%);
}

.vb-shelf__nav[hidden] {
	display: none;
}

.vb-shelf__nav:disabled {
	opacity: 0;
	pointer-events: none;
}

.vb-shelf__nav:focus-visible {
	outline: 3px solid var(--vb-accent);
	outline-offset: 2px;
}

.vb-shelf__nav--prev {
	inset-inline-start: -0.5rem;
}

.vb-shelf__nav--next {
	inset-inline-end: -0.5rem;
}

/* Touch screens swipe; arrows only get in the way. */
@media (hover: none) {
	.vb-shelf__nav {
		display: none;
	}
}

/* Soft fade where more books are hidden off either end. */
.vb-shelf__list.vb-more-before,
.vb-shelf__list.vb-more-after {
	--vb-fade-start: 0px;
	--vb-fade-end: 0px;
	-webkit-mask-image: linear-gradient(to right, transparent 0, #000 var(--vb-fade-start), #000 calc(100% - var(--vb-fade-end)), transparent 100%);
	mask-image: linear-gradient(to right, transparent 0, #000 var(--vb-fade-start), #000 calc(100% - var(--vb-fade-end)), transparent 100%);
}

.vb-shelf__list.vb-more-before {
	--vb-fade-start: 36px;
}

.vb-shelf__list.vb-more-after {
	--vb-fade-end: 36px;
}

/* Wooden shelf --------------------------------------------------------- */
/*
 * A floating wooden plank seen slightly from above: a top surface in
 * perspective, a beveled front edge with real-looking grain, and a soft
 * shadow on the wall. Books stand on it like physical books. Finishes
 * (oak, walnut, white) only change the custom properties below.
 */

.vb-shelf--shelf {
	/* Oak (default). */
	--vb-wood-hi: #e2b679;
	--vb-wood: #c18c52;
	--vb-wood-lo: #95633a;
	--vb-wood-deep: #6a4224;
	--vb-plank-front: 22px;  /* Thickness of the front edge. */
	--vb-plank-depth: 30px;  /* How much of the top surface shows. */
	--vb-plank-slant: 22px;  /* Perspective: back edge is shorter. */
	--vb-shelf-arrows: 60px;
	--vb-book-gap: 10px;     /* Books stand this far behind the front edge. */
	margin-block-end: 3rem;
}

.vb-shelf--finish-walnut {
	--vb-wood-hi: #9a6a48;
	--vb-wood: #74492f;
	--vb-wood-lo: #52301d;
	--vb-wood-deep: #351c0f;
}

.vb-shelf--finish-white {
	--vb-wood-hi: #fbf9f4;
	--vb-wood: #ece7dc;
	--vb-wood-lo: #d6cfc0;
	--vb-wood-deep: #b8af9d;
}

.vb-shelf--shelf .vb-shelf__heading,
.vb-shelf--shelf .vb-shelf__description {
	text-align: center;
}

.vb-shelf--shelf .vb-shelf__frame {
	padding: 0 var(--vb-shelf-arrows);
	isolation: isolate;
}

/* White is painted wood: smooth, no visible grain. */
.vb-shelf--finish-white .vb-plank__top {
	background-image: linear-gradient(180deg, rgb(0 0 0 / 0.16) 0%, rgb(0 0 0 / 0.05) 40%, rgb(255 255 255 / 0.4) 100%);
}

.vb-shelf--finish-white .vb-plank__front {
	background-image:
		linear-gradient(180deg, rgb(255 255 255 / 0.9) 0, rgb(255 255 255 / 0.3) 2px, transparent 40%, rgb(0 0 0 / 0.06) 70%, rgb(0 0 0 / 0.18) calc(100% - 2px), rgb(0 0 0 / 0.28) 100%),
		linear-gradient(90deg, rgb(0 0 0 / 0.08), transparent 6%, transparent 94%, rgb(0 0 0 / 0.08));
}

/* The plank ------------------------------------------------------------ */

.vb-plank {
	position: absolute;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 0;
	height: calc(var(--vb-plank-front) + var(--vb-plank-depth));
	pointer-events: none;
}

/* Soft shadow the shelf casts on the wall below it. */
.vb-plank::after {
	content: "";
	position: absolute;
	right: 3%;
	bottom: -14px;
	left: 3%;
	height: 22px;
	border-radius: 50%;
	background: radial-gradient(ellipse at center, rgb(0 0 0 / 0.38) 0%, rgb(0 0 0 / 0.16) 45%, transparent 72%);
	filter: blur(4px);
	z-index: -1;
}

/* Grain: stretched fractal noise drawn as dark streaks over the base colour. */
.vb-plank__top,
.vb-plank__front {
	position: absolute;
	right: 0;
	left: 0;
}

/* Top surface, seen at an angle: darker toward the wall, lit at the front. */
.vb-plank__top {
	top: 0;
	height: var(--vb-plank-depth);
	background-color: var(--vb-wood);
	background-image:
		linear-gradient(180deg, rgb(0 0 0 / 0.32) 0%, rgb(0 0 0 / 0.12) 35%, rgb(255 255 255 / 0.06) 80%, rgb(255 255 255 / 0.16) 100%),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='120'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.0035 0.42' numOctaves='4' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.06 0 0 0 0 0.02 1.6 0 0 0 -0.62'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
	background-size: 100% 100%, 900px 60px;
	clip-path: polygon(var(--vb-plank-slant) 0, calc(100% - var(--vb-plank-slant)) 0, 100% 100%, 0 100%);
}

/* Front edge: grain, a bright bevel along the top, darker underside. */
.vb-plank__front {
	bottom: 0;
	height: var(--vb-plank-front);
	border-radius: 2px 2px 4px 4px;
	background-color: var(--vb-wood);
	background-image:
		linear-gradient(180deg,
			rgb(255 255 255 / 0.55) 0,
			rgb(255 255 255 / 0.18) 2px,
			rgb(255 255 255 / 0.06) 30%,
			rgb(0 0 0 / 0.04) 60%,
			rgb(0 0 0 / 0.28) calc(100% - 2px),
			rgb(0 0 0 / 0.45) 100%),
		linear-gradient(90deg, rgb(0 0 0 / 0.18), transparent 6%, transparent 94%, rgb(0 0 0 / 0.18)),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='900' height='120'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.0035 0.42' numOctaves='4' seed='11'/%3E%3CfeColorMatrix values='0 0 0 0 0.12 0 0 0 0 0.06 0 0 0 0 0.02 1.6 0 0 0 -0.62'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E"),
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='700' height='90'%3E%3Cfilter id='k'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.012 0.9' numOctaves='2' seed='3'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 0.92 0 0 0 0 0.8 1.2 0 0 0 -0.7'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23k)'/%3E%3C/svg%3E");
	background-size: 100% 100%, 100% 100%, 900px 120px, 700px 90px;
	background-position: 0 0, 0 0, -137px -40px, -60px -20px;
	box-shadow:
		0 1px 0 rgb(0 0 0 / 0.25),
		0 6px 10px -4px rgb(0 0 0 / 0.45);
}

/* Books standing on the plank ------------------------------------------- */

/* Covers end on the plank's top surface, a little behind the front edge. */
.vb-shelf--shelf .vb-shelf__list {
	position: relative;
	z-index: 1;
	padding-top: 28px;
	padding-bottom: calc(var(--vb-plank-front) + var(--vb-book-gap));
	scrollbar-width: none;
	align-items: flex-end;
}

.vb-shelf--shelf .vb-shelf__list::-webkit-scrollbar {
	display: none;
}

.vb-shelf--shelf .vb-book {
	position: relative;
}

/* Contact shadow where each book meets the shelf. */
.vb-shelf--shelf .vb-book::after {
	content: "";
	position: absolute;
	right: 4%;
	bottom: -5px;
	left: 2%;
	z-index: -1;
	height: 10px;
	border-radius: 50%;
	background: radial-gradient(ellipse at center, rgb(0 0 0 / 0.45) 0%, rgb(0 0 0 / 0.18) 50%, transparent 75%);
	transition: opacity 0.15s ease, transform 0.15s ease;
}

/* A cover that reads as a physical book: page edges on the right, a
   hinge crease near the spine, light falling from the upper left. */
.vb-shelf--shelf .vb-cover {
	position: relative;
	overflow: visible;
	border-radius: 2px 3px 3px 2px;
	background: #e9e4d8;
	box-shadow:
		1px 0 0 #f6f1e6,
		2px 0 0 #ddd5c4,
		3px 0 0 #f2ecdf,
		4px 1px 0 #cfc5b1,
		6px 4px 10px rgb(0 0 0 / 0.28),
		0 1px 2px rgb(0 0 0 / 0.2);
}

.vb-shelf--shelf .vb-cover__img,
.vb-shelf--shelf .vb-cover__placeholder {
	border-radius: 2px 3px 3px 2px;
}

.vb-shelf--shelf .vb-cover::after {
	content: "";
	position: absolute;
	inset: 0;
	border-radius: inherit;
	pointer-events: none;
	background:
		linear-gradient(90deg,
			rgb(0 0 0 / 0.28) 0,
			rgb(255 255 255 / 0.22) 2.5%,
			rgb(0 0 0 / 0.14) 4.5%,
			transparent 8%,
			transparent 92%,
			rgb(0 0 0 / 0.06) 100%),
		linear-gradient(160deg, rgb(255 255 255 / 0.14) 0%, transparent 40%);
}

/* Lift a book off the shelf on hover; its shadow stays behind and softens.
   Only where there is a real pointer: on phones a tap leaves :hover stuck. */
.vb-shelf--shelf .vb-book__trigger {
	position: relative;
	transition: transform 0.18s ease;
}

@media (hover: hover) {
	.vb-shelf--shelf button.vb-book__trigger:hover .vb-cover,
	.vb-shelf--shelf a.vb-book__trigger:hover .vb-cover {
		transform: none;
		box-shadow:
			1px 0 0 #f6f1e6,
			2px 0 0 #ddd5c4,
			3px 0 0 #f2ecdf,
			4px 1px 0 #cfc5b1,
			8px 10px 18px rgb(0 0 0 / 0.3),
			0 1px 2px rgb(0 0 0 / 0.2);
	}

	.vb-shelf--shelf button.vb-book__trigger:hover,
	.vb-shelf--shelf a.vb-book__trigger:hover {
		transform: translateY(-6px);
	}

	.vb-shelf--shelf .vb-book:hover::after {
		opacity: 0.55;
		transform: scaleX(0.9);
	}
}

/* Title and author appear over the cover on hover or keyboard focus. */
.vb-shelf--shelf .vb-book__text {
	position: absolute;
	inset: 0;
	z-index: 1;
	justify-content: flex-end;
	align-items: center;
	padding: 12px 8px;
	border-radius: 2px 3px 3px 2px;
	background: linear-gradient(to bottom, transparent 30%, rgb(0 0 0 / 0.35) 60%, rgb(0 0 0 / 0.82) 100%);
	color: #fff;
	text-align: center;
	opacity: 0;
	transition: opacity 0.2s ease;
	pointer-events: none;
}

.vb-shelf--shelf .vb-book__author {
	color: rgb(255 255 255 / 0.9);
	max-width: 100%;
}

.vb-shelf--shelf .vb-book__title,
.vb-shelf--shelf .vb-book__author {
	text-shadow: 0 1px 3px rgb(0 0 0 / 0.7);
}

.vb-shelf--shelf .vb-book__trigger:focus-visible .vb-book__text {
	opacity: 1;
}

@media (hover: hover) {
	.vb-shelf--shelf .vb-book__trigger:hover .vb-book__text {
		opacity: 1;
	}
}

/* Arrows ---------------------------------------------------------------- */

.vb-shelf--shelf .vb-shelf__nav {
	top: calc(28px + var(--vb-book-width) * 0.75);
	width: 44px;
	height: 44px;
	border: 1px solid rgb(0 0 0 / 0.08);
	background: rgb(255 255 255 / 0.96);
	color: #3a2a1c;
	box-shadow: 0 2px 4px rgb(0 0 0 / 0.12), 0 6px 16px rgb(0 0 0 / 0.16);
	transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.vb-shelf--shelf .vb-shelf__nav:hover:not(:disabled) {
	transform: translateY(-50%) scale(1.08);
}

.vb-shelf--shelf .vb-shelf__nav:disabled {
	opacity: 0.35;
	pointer-events: none;
}

.vb-shelf--shelf .vb-shelf__nav--prev {
	inset-inline-start: 8px;
}

.vb-shelf--shelf .vb-shelf__nav--next {
	inset-inline-end: 8px;
}

/* Touch screens swipe, so the arrows (and their space) go away. */
@media (hover: none) {
	.vb-shelf--shelf {
		--vb-shelf-arrows: 14px;
	}
}

@media (max-width: 600px) {
	.vb-shelf--shelf {
		--vb-plank-slant: 12px;
		--vb-plank-front: 18px;
		--vb-plank-depth: 24px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vb-shelf--shelf .vb-book__trigger,
	.vb-shelf--shelf .vb-book::after {
		transition: none;
	}

	.vb-shelf--shelf button.vb-book__trigger:hover,
	.vb-shelf--shelf a.vb-book__trigger:hover {
		transform: none;
	}
}

/* Details popup ------------------------------------------------------- */

.vb-dialog {
	width: min(760px, calc(100vw - 2rem));
	max-height: calc(100dvh - 2rem);
	margin: auto;
	padding: 0;
	border: 0;
	border-radius: 10px;
	background: var(--vb-dialog-bg);
	color: var(--vb-dialog-fg);
	box-shadow: 0 20px 60px rgb(0 0 0 / 0.35);
	overflow: hidden;
}

.vb-dialog::backdrop {
	background: rgb(0 0 0 / 0.55);
}

.vb-dialog__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	max-height: calc(100dvh - 2rem);
}

.vb-dialog__body {
	overflow-y: auto;
	padding: 1.75rem;
	overscroll-behavior: contain;
}

.vb-dialog__close {
	position: absolute;
	top: 0.5rem;
	inset-inline-end: 0.5rem;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--vb-dialog-bg);
	color: inherit;
	font-size: 1.75rem;
	line-height: 1;
	cursor: pointer;
}

.vb-dialog__close:hover {
	background: color-mix(in srgb, currentColor 10%, var(--vb-dialog-bg));
}

.vb-dialog__close:focus-visible {
	outline: 3px solid var(--vb-accent);
}

html.vb-dialog-open {
	overflow: hidden;
}

.vb-details {
	display: grid;
	grid-template-columns: minmax(120px, 220px) 1fr;
	gap: 1.75rem;
	align-items: start;
}

.vb-details__cover {
	box-shadow: var(--vb-shadow);
}

.vb-details__title {
	margin: 0 2rem 0.25rem 0;
	font-size: 1.5em;
	line-height: 1.2;
}

.vb-details__author {
	margin: 0 0 1rem;
	color: color-mix(in srgb, currentColor 70%, transparent);
}

.vb-details__description {
	line-height: 1.6;
}

.vb-details__description p {
	margin: 0 0 0.85em;
}

.vb-details__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.5rem;
	margin: 1.25rem 0 0;
	padding-top: 1rem;
	border-top: 1px solid color-mix(in srgb, currentColor 15%, transparent);
	font-size: 0.875em;
}

.vb-details__meta dt {
	font-size: 0.8em;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: color-mix(in srgb, currentColor 60%, transparent);
}

.vb-details__meta dd {
	margin: 0;
}

.vb-details__actions {
	margin: 1.25rem 0 0;
}

.vb-details__catalog {
	display: inline-block;
	padding: 0.65em 1.2em;
	border-radius: 6px;
	background: var(--vb-accent);
	color: var(--vb-accent-text);
	font-weight: 600;
	text-decoration: none;
}

.vb-details__catalog:hover,
.vb-details__catalog:focus {
	color: var(--vb-accent-text);
	filter: brightness(1.1);
	text-decoration: none;
}

@media (max-width: 600px) {
	.vb-dialog {
		width: 100vw;
		max-width: 100vw;
		max-height: 92dvh;
		margin: auto 0 0;
		border-radius: 14px 14px 0 0;
	}

	.vb-dialog__panel {
		max-height: 92dvh;
	}

	.vb-dialog__body {
		padding: 1.25rem;
	}

	.vb-details {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.vb-details__cover {
		width: 45%;
		max-width: 180px;
	}
}

/* Utilities ----------------------------------------------------------- */

.vb-screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.vb-notice {
	padding: 0.75rem 1rem;
	border-inline-start: 4px solid #dba617;
	background: #fcf9e8;
	color: #1d2327;
	font-size: 0.9rem;
}

@media (prefers-reduced-motion: reduce) {
	.vb-cover {
		transition: none;
	}

	button.vb-book__trigger:hover .vb-cover,
	a.vb-book__trigger:hover .vb-cover,
	.vb-shelf--shelf button.vb-book__trigger:hover,
	.vb-shelf--shelf a.vb-book__trigger:hover {
		transform: none;
	}
}
