/* PDF first-page previews on the Hermetic Academy Library cards. */
.bardon-book-card--has-thumb .bardon-book-icon {
	display: none;
}

.bardon-book-thumb {
	display: block;
	aspect-ratio: 3 / 4;
	margin: 0 0 1.1rem;
	overflow: hidden;
	border: 1px solid rgba(255, 255, 255, 0.22);
	border-radius: 0.55rem;
	background: #221c2c;
	box-shadow: 0 0.75rem 1.6rem rgba(19, 12, 28, 0.28);
}

.bardon-book-thumb img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top center;
	transition: transform 180ms ease;
}

.bardon-book-thumb:hover img,
.bardon-book-thumb:focus-visible img {
	transform: scale(1.025);
}

@media (max-width: 640px) {
	.bardon-book-thumb {
		max-width: 14rem;
	}
}
