/* Books page card layout (restored). */
body.page-id-72 .wp-block-post-content .txt,
body.ds-page-books .wp-block-post-content .txt {
	display: grid;
	gap: clamp(0.8rem, 2vw, 1.25rem);
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

body.page-id-72 .wp-block-post-content .item img,
body.ds-page-books .wp-block-post-content .item img {
	aspect-ratio: 0.74 / 1;
	border-radius: 12px;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

body.page-id-72 .wp-block-post-content .item .name,
body.page-id-72 .wp-block-post-content .item .book,
body.ds-page-books .wp-block-post-content .item .name,
body.ds-page-books .wp-block-post-content .item .book {
	display: block;
	padding-inline: 0.2rem;
}

body.page-id-72 .wp-block-post-content .item .name,
body.ds-page-books .wp-block-post-content .item .name {
	padding-top: 0.7rem;
}

body.page-id-72 .wp-block-post-content .item .book,
body.ds-page-books .wp-block-post-content .item .book {
	padding-bottom: 1rem;
}

body.page-id-72 .wp-block-post-content .item img + .name,
body.page-id-72 .wp-block-post-content .item img + .book,
body.ds-page-books .wp-block-post-content .item img + .name,
body.ds-page-books .wp-block-post-content .item img + .book {
	border-top: 0;
	margin-top: 0;
	padding-top: 0.7rem;
}

@media (max-width: 760px) {
	body.page-id-72 .wp-block-post-content .txt,
	body.ds-page-books .wp-block-post-content .txt {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 720px) {
	body.page-id-72 .wp-block-post-content .item,
	body.ds-page-books .wp-block-post-content .item,
	body.page-id-72 .wp-block-post-content .item img,
	body.ds-page-books .wp-block-post-content .item img {
		-webkit-tap-highlight-color: transparent;
		cursor: default;
		transition: none;
	}

	body.page-id-72 .wp-block-post-content .item:active,
	body.page-id-72 .wp-block-post-content .item:hover,
	body.page-id-72 .wp-block-post-content .item:focus,
	body.page-id-72 .wp-block-post-content .item:focus-visible,
	body.page-id-72 .wp-block-post-content .item img:active,
	body.page-id-72 .wp-block-post-content .item img:focus,
	body.page-id-72 .wp-block-post-content .item img:focus-visible,
	body.ds-page-books .wp-block-post-content .item:active,
	body.ds-page-books .wp-block-post-content .item:hover,
	body.ds-page-books .wp-block-post-content .item:focus,
	body.ds-page-books .wp-block-post-content .item:focus-visible,
	body.ds-page-books .wp-block-post-content .item img:active,
	body.ds-page-books .wp-block-post-content .item img:focus,
	body.ds-page-books .wp-block-post-content .item img:focus-visible {
		border-color: rgba(255, 255, 255, 0.17);
		box-shadow: 0 10px 30px rgba(0, 0, 0, 0.24);
		outline: none;
		transform: none;
	}
}

/* Keep authors on /books/ visibly bold at final cascade layer. */
body.page-id-72 .wp-block-post-content .item .name,
body.ds-page-books .wp-block-post-content .item .name {
	font-weight: 700;
}
