.vb-editorial-links {
	margin-block: 3rem;
	padding-block: 2rem;
	border-top: 1px solid currentColor;
	border-bottom: 1px solid currentColor;
}

.vb-editorial-links > h2 {
	margin-top: 0;
}

.vb-editorial-links p {
	margin-block: 0.65rem;
}

.vb-editorial-link-group {
	margin-top: 1.5rem;
}

.vb-editorial-link-group h3 {
	margin-bottom: 0.5rem;
}

.vb-editorial-link-group ul {
	margin-top: 0;
}


.vb-seo-intro {
	margin: 0 0 2rem;
	padding: 0 0 1.6rem;
	border-bottom: 1px solid rgba(17, 17, 17, 0.18);
	font-size: 1.08em;
	line-height: 1.58;
}

.vb-seo-intro p:last-child {
	margin-bottom: 0;
}


.vb-editorial-links .vb-book-grid {
	margin-top: 1.25rem;
}

.vb-editorial-links .vb-book-cover {
	margin-bottom: 14px;
}


.vb-purchase-box {
	clear: both;
}


/* VARCHI BOOKS 0.7.0 — compact author profiles on book pages */
.vb-book-author-profiles {
	margin-top: 2rem;
	padding-top: 1.75rem;
	border-top: 1px solid rgba(17, 17, 17, 0.18);
}

.vb-book-author-profiles > h3 {
	margin: 0 0 1.2rem;
	font-size: clamp(1.7rem, 2.5vw, 2.6rem);
	line-height: 1;
	letter-spacing: -0.03em;
}

.vb-compact-author-card {
	display: grid;
	grid-template-columns: 96px minmax(0, 1fr);
	gap: 20px;
	align-items: start;
	padding: 20px 0;
	border-top: 1px solid rgba(17, 17, 17, 0.14);
}

.vb-compact-author-card:last-child {
	border-bottom: 1px solid rgba(17, 17, 17, 0.14);
}

.vb-compact-author-image {
	display: block;
	aspect-ratio: 1 / 1;
	overflow: hidden;
	background: #ebe8e1;
}

.vb-compact-author-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.vb-compact-author-copy h4 {
	margin: 0 0 10px;
	font-size: clamp(1.35rem, 2vw, 1.9rem);
	line-height: 1.05;
}

.vb-compact-author-copy h4 a {
	color: inherit;
	text-decoration: none;
}

.vb-compact-author-copy > p:not(.vb-author-role) {
	margin: 0 0 14px;
	line-height: 1.55;
}

@media (max-width: 620px) {
	.vb-compact-author-card {
		grid-template-columns: 72px minmax(0, 1fr);
		gap: 16px;
	}
}


/* VARCHI BOOKS 0.9.1 — single-book author layout correction */
.vb-editorial-links {
	clear: both;
	box-sizing: border-box;
	width: 100%;
	max-width: none;
	overflow: visible;
}

.vb-book-author-profiles {
	clear: both;
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
}

.vb-compact-author-card {
	box-sizing: border-box;
	width: 100%;
	max-width: 100%;
}

.vb-compact-author-card.has-portrait {
	grid-template-columns: minmax(96px, 120px) minmax(0, 1fr);
}

.vb-compact-author-card.has-no-portrait {
	display: block;
}

.vb-compact-author-copy {
	box-sizing: border-box;
	width: 100%;
	min-width: 0;
	max-width: 860px;
	writing-mode: horizontal-tb !important;
	text-orientation: mixed !important;
	white-space: normal !important;
	word-break: normal !important;
	overflow-wrap: break-word !important;
	column-count: 1 !important;
	columns: auto !important;
}

.vb-compact-author-copy h4,
.vb-compact-author-copy p,
.vb-compact-author-copy a {
	writing-mode: horizontal-tb !important;
	text-orientation: mixed !important;
	word-break: normal !important;
	white-space: normal !important;
}

.vb-compact-author-copy > p:not(.vb-author-role) {
	max-width: 72ch;
}

@media (max-width: 760px) {
	.vb-compact-author-card,
	.vb-compact-author-card.has-portrait {
		grid-template-columns: 1fr;
	}

	.vb-compact-author-image {
		width: 96px;
		max-width: 96px;
	}

	.vb-compact-author-copy {
		max-width: none;
	}
}


/* VARCHI BOOKS 0.12.6 — public edition specifications */
.vb-edition-details {
	clear: both;
	margin-top: 2rem;
	padding-top: 1.15rem;
	border-top: 1px solid rgba(17, 17, 17, 0.22);
}

.vb-edition-details-kicker {
	margin: 0 0 1rem;
	font-family: var(--vb-sans, sans-serif);
	font-size: 0.72rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--vb-accent, #1647ff);
}

.vb-edition-details-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0;
	margin: 0;
	border-top: 1px solid rgba(17, 17, 17, 0.14);
}

.vb-edition-detail {
	padding: 0.85rem 1rem 0.9rem 0;
	border-bottom: 1px solid rgba(17, 17, 17, 0.14);
}

.vb-edition-detail:nth-child(even) {
	padding-left: 1rem;
	border-left: 1px solid rgba(17, 17, 17, 0.14);
}

.vb-edition-detail dt {
	margin: 0 0 0.25rem;
	font-family: var(--vb-sans, sans-serif);
	font-size: 0.67rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.11em;
	text-transform: uppercase;
	color: rgba(17, 17, 17, 0.58);
}

.vb-edition-detail dd {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.35;
	color: inherit;
}

@media (max-width: 640px) {
	.vb-edition-details-grid {
		grid-template-columns: 1fr;
	}

	.vb-edition-detail,
	.vb-edition-detail:nth-child(even) {
		padding-left: 0;
		border-left: 0;
	}
}

/* VARCHI BOOKS 0.12.8 — linked language editions preserved */
.vb-language-editions {
	display: flex;
	align-items: baseline;
	gap: 0.9rem;
	margin: 0.65rem 0 1.35rem;
	font-family: var(--vb-sans, sans-serif);
}

.vb-language-editions-label {
	font-size: 0.66rem;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: rgba(17, 17, 17, 0.58);
}

.vb-language-editions-links {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.vb-language-edition-link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 2.2rem;
	padding: 0.28rem 0.48rem 0.24rem;
	border: 1px solid rgba(17, 17, 17, 0.28);
	font-size: 0.7rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.08em;
	text-decoration: none !important;
	color: inherit !important;
}

.vb-language-edition-link:hover,
.vb-language-edition-link:focus,
.vb-language-edition-link.is-current {
	border-color: var(--vb-accent, #1647ff);
	color: var(--vb-accent, #1647ff) !important;
}

.vb-language-edition-link.is-current {
	box-shadow: inset 0 -2px 0 var(--vb-accent, #1647ff);
}

.vb-edition-detail-link {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.vb-edition-detail-link.is-current {
	font-weight: 700;
	color: var(--vb-accent, #1647ff);
}

.vb-edition-detail-separator {
	padding: 0 0.15rem;
	opacity: 0.48;
}

@media (max-width: 640px) {
	.vb-language-editions {
		align-items: flex-start;
		flex-direction: column;
		gap: 0.55rem;
	}
}

/* VARCHI BOOKS 0.12.10 — Book Entity & Cover Guard */
.single-product .vb-bibliographic-title {
	margin-bottom: .35rem;
}
.single-product .vb-bibliographic-byline {
	margin: 0 0 1.35rem;
	font-size: .95rem;
	line-height: 1.35;
	letter-spacing: .01em;
}
.single-product .vb-book-entity-gallery img {
	display: block;
	width: 100%;
	height: auto;
}
