
:root {
	--vb-ink: #111111;
	--vb-paper: #f4f2ed;
	--vb-soft: #ebe8e1;
	--vb-rule: rgba(17, 17, 17, 0.18);
	--vb-max: 1380px;
	--vb-gutter: clamp(22px, 4vw, 68px);
}

body.vb-site-page .site-content > .ast-container,
body.vb-site-catalog .site-content > .ast-container {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}

body.vb-site-page .content-area,
body.vb-site-catalog .content-area {
	width: 100%;
	margin: 0;
}

body.vb-site-page .widget-area,
body.vb-site-catalog .widget-area {
	display: none;
}

body.vb-site-page .entry-header {
	display: none;
}

body.vb-site-page .entry-content {
	margin: 0;
}

.vb-home-hero,
.vb-manifesto-band {
	box-sizing: border-box;
	max-width: none !important;
}

.vb-home-hero {
	min-height: min(720px, 82vh);
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: clamp(80px, 12vw, 190px) var(--vb-gutter) clamp(64px, 8vw, 120px);
	background: var(--vb-paper);
	color: var(--vb-ink);
	border-bottom: 1px solid var(--vb-rule);
}

.vb-home-hero > * {
	width: min(100%, var(--vb-max));
	margin-left: auto !important;
	margin-right: auto !important;
}

.vb-kicker {
	margin: 0 0 1.25rem;
	font-size: 0.73rem;
	font-weight: 650;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.vb-display-title {
	margin: 0 !important;
	font-size: clamp(4rem, 12vw, 11.5rem) !important;
	line-height: 0.83 !important;
	letter-spacing: -0.065em;
	font-weight: 620;
}

.vb-hero-deck {
	max-width: 780px !important;
	margin-top: clamp(32px, 5vw, 72px) !important;
	margin-left: 0 !important;
	font-size: clamp(1.45rem, 2.7vw, 3rem);
	line-height: 1.08;
	letter-spacing: -0.025em;
}

.vb-site-section,
.vb-page-intro,
.vb-project-copy {
	box-sizing: border-box;
	width: min(100%, var(--vb-max));
	margin: 0 auto;
	padding: clamp(64px, 8vw, 120px) var(--vb-gutter);
}

.vb-section-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 30px;
	margin-bottom: clamp(36px, 5vw, 72px);
	padding-bottom: 20px;
	border-bottom: 1px solid var(--vb-rule);
}

.vb-section-head h1,
.vb-section-head h2,
.vb-page-intro h1 {
	margin: 0;
	font-size: clamp(2.7rem, 6vw, 6.6rem);
	line-height: 0.92;
	letter-spacing: -0.045em;
	font-weight: 560;
}

.vb-text-link {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 2px;
}

.vb-book-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(30px, 4vw, 68px) clamp(20px, 3vw, 48px);
}

.vb-book-card {
	position: relative;
	min-width: 0;
}

.vb-book-cover {
	display: block;
	background: var(--vb-soft);
	aspect-ratio: 3 / 4;
	overflow: hidden;
	margin-bottom: 22px;
}

.vb-book-cover img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 260ms ease;
}

.vb-book-card:hover .vb-book-cover img {
	transform: scale(1.018);
}

.vb-cover-placeholder {
	display: block;
	width: 100%;
	height: 100%;
	background:
		linear-gradient(135deg, transparent 0 48%, rgba(17, 17, 17, 0.14) 48% 49%, transparent 49% 100%),
		var(--vb-soft);
}

.vb-book-series,
.vb-journal-date,
.vb-series-count {
	margin: 0 0 8px;
	font-size: 0.72rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.vb-book-series a,
.vb-book-card h3 a,
.vb-series-card h3 a,
.vb-journal-card h3 a,
.vb-author-card h2 a {
	color: inherit;
	text-decoration: none;
}

.vb-book-card h3 {
	margin: 0;
	font-size: clamp(1.45rem, 2vw, 2.25rem);
	line-height: 1.03;
	letter-spacing: -0.028em;
	font-weight: 560;
}

.vb-book-subtitle {
	margin: 9px 0 0;
	font-size: 1rem;
	line-height: 1.35;
	opacity: 0.78;
}

.vb-draft-label {
	position: absolute;
	z-index: 3;
	top: 12px;
	left: 12px;
	padding: 6px 9px;
	background: var(--vb-ink);
	color: white;
	font-size: 0.67rem;
	letter-spacing: 0.05em;
}

.vb-series-section {
	border-top: 1px solid var(--vb-rule);
}

.vb-series-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	border-top: 1px solid var(--vb-rule);
	border-left: 1px solid var(--vb-rule);
}

.vb-series-card {
	min-height: 340px;
	padding: clamp(28px, 4vw, 54px);
	display: flex;
	flex-direction: column;
	border-right: 1px solid var(--vb-rule);
	border-bottom: 1px solid var(--vb-rule);
}

.vb-series-card h3 {
	margin: 0 0 24px;
	font-size: clamp(2rem, 3vw, 4.2rem);
	line-height: 0.98;
	letter-spacing: -0.045em;
	font-weight: 540;
}

.vb-series-card > p:not(.vb-series-count) {
	margin: 0 0 36px;
	line-height: 1.55;
}

.vb-series-card .vb-text-link {
	margin-top: auto;
	align-self: flex-start;
}

.vb-manifesto-band {
	background: var(--vb-ink);
	color: white;
	padding: clamp(80px, 11vw, 170px) var(--vb-gutter);
}

.vb-manifesto-text {
	width: min(100%, var(--vb-max));
	margin: 0 auto !important;
	font-size: clamp(2.4rem, 5.4vw, 7rem);
	line-height: 0.98;
	letter-spacing: -0.045em;
	font-weight: 520;
}

.vb-journal-grid,
.vb-author-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(34px, 4vw, 64px);
}

.vb-journal-card,
.vb-author-card {
	border-top: 1px solid var(--vb-rule);
	padding-top: 18px;
}

.vb-journal-image,
.vb-author-image {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--vb-soft);
	margin-bottom: 22px;
}

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

.vb-journal-card h3,
.vb-author-card h2 {
	margin: 0 0 16px;
	font-size: clamp(1.55rem, 2.2vw, 2.65rem);
	line-height: 1.04;
	letter-spacing: -0.03em;
	font-weight: 550;
}

.vb-journal-card > p:last-child,
.vb-author-card > p:last-child {
	line-height: 1.55;
}

.vb-page-intro {
	padding-top: clamp(90px, 12vw, 180px);
	padding-bottom: clamp(46px, 6vw, 84px);
}

.vb-page-deck {
	max-width: 920px;
	margin: clamp(30px, 5vw, 68px) 0 0;
	font-size: clamp(1.45rem, 2.8vw, 3.15rem);
	line-height: 1.08;
	letter-spacing: -0.025em;
}

.vb-project-copy {
	padding-top: 0;
	max-width: 1080px;
}

.vb-project-copy p {
	font-size: clamp(1.16rem, 1.75vw, 1.65rem);
	line-height: 1.6;
}

.vb-empty-state {
	padding: 30px 0;
	border-top: 1px solid var(--vb-rule);
	border-bottom: 1px solid var(--vb-rule);
}

/* WooCommerce catalog: editorial treatment without breaking product CRUD or checkout. */
body.vb-site-catalog .woocommerce-products-header,
body.vb-site-catalog .woocommerce {
	width: min(100%, var(--vb-max));
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--vb-gutter);
	padding-right: var(--vb-gutter);
}

body.vb-site-catalog .woocommerce-products-header {
	padding-top: clamp(80px, 10vw, 150px);
}

body.vb-site-catalog .woocommerce-products-header__title {
	font-size: clamp(3.4rem, 7vw, 8rem);
	line-height: 0.9;
	letter-spacing: -0.055em;
	font-weight: 560;
}

body.vb-site-catalog .woocommerce ul.products {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(34px, 4vw, 68px) clamp(20px, 3vw, 48px);
	margin: 0;
	padding-bottom: clamp(70px, 9vw, 130px);
}

body.vb-site-catalog .woocommerce ul.products::before,
body.vb-site-catalog .woocommerce ul.products::after {
	display: none;
}

body.vb-site-catalog .woocommerce ul.products li.product {
	width: auto !important;
	margin: 0 !important;
	float: none !important;
}

body.vb-site-catalog .woocommerce ul.products li.product a img {
	aspect-ratio: 3 / 4;
	object-fit: cover;
	margin-bottom: 22px;
	background: var(--vb-soft);
}

body.vb-site-catalog .woocommerce ul.products li.product .woocommerce-loop-product__title {
	padding: 0;
	font-size: clamp(1.45rem, 2vw, 2.25rem);
	line-height: 1.03;
	letter-spacing: -0.028em;
	font-weight: 560;
}

@media (max-width: 920px) {
	.vb-book-grid,
	.vb-series-grid,
	.vb-journal-grid,
	.vb-author-grid,
	body.vb-site-catalog .woocommerce ul.products {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vb-series-grid {
		border-left: 0;
	}

	.vb-series-card {
		border-left: 1px solid var(--vb-rule);
	}
}

@media (max-width: 620px) {
	.vb-home-hero {
		min-height: 70vh;
	}

	.vb-section-head {
		align-items: flex-start;
		flex-direction: column;
	}

	.vb-book-grid,
	.vb-series-grid,
	.vb-journal-grid,
	.vb-author-grid,
	body.vb-site-catalog .woocommerce ul.products {
		grid-template-columns: 1fr;
	}

	.vb-series-card {
		min-height: 280px;
	}

	.vb-display-title {
		font-size: clamp(3.6rem, 19vw, 6.5rem) !important;
	}
}


/* --------------------------------------------------------------
   VARCHI BOOKS 0.4.2 — editorial refinement layer
-------------------------------------------------------------- */

body.vb-site-page,
body.vb-site-catalog,
body.vb-site-authors {
	--vb-header-height: 86px;
}

.site-header,
#masthead {
	border-bottom: 1px solid var(--vb-rule);
	background: rgba(255, 255, 255, 0.98);
}

.ast-primary-header-bar {
	min-height: var(--vb-header-height);
	border-bottom: 0 !important;
}

.site-title,
.ast-site-title-wrap .site-title {
	line-height: 1;
}

.site-title a,
.ast-site-title-wrap .site-title a {
	font-size: clamp(1.05rem, 1.5vw, 1.35rem) !important;
	font-weight: 650 !important;
	letter-spacing: 0.065em;
	text-transform: uppercase;
	color: var(--vb-ink) !important;
}

.site-description {
	display: none !important;
}

.main-header-menu > .menu-item > .menu-link,
.ast-builder-menu-1 .menu-item > .menu-link {
	height: var(--vb-header-height);
	padding-left: clamp(13px, 1.5vw, 23px);
	padding-right: clamp(13px, 1.5vw, 23px);
	font-size: 0.76rem;
	font-weight: 600;
	letter-spacing: 0.095em;
	text-transform: uppercase;
	color: var(--vb-ink);
}

.main-header-menu > .current-menu-item > .menu-link,
.ast-builder-menu-1 .current-menu-item > .menu-link {
	text-decoration: underline;
	text-underline-offset: 7px;
	text-decoration-thickness: 1px;
}

.vb-home-hero {
	min-height: min(590px, 68vh);
	padding-top: clamp(76px, 8vw, 126px);
	padding-bottom: clamp(60px, 7vw, 104px);
}

.vb-display-title {
	max-width: 100%;
	font-size: clamp(4rem, 8.6vw, 8.8rem) !important;
	line-height: 0.88 !important;
	letter-spacing: -0.06em;
}

.vb-hero-deck {
	max-width: 720px !important;
	margin-top: clamp(34px, 4.5vw, 62px) !important;
	font-size: clamp(1.35rem, 2.2vw, 2.45rem);
	line-height: 1.12;
}

.vb-site-section,
.vb-page-intro {
	padding-top: clamp(58px, 7vw, 102px);
	padding-bottom: clamp(58px, 7vw, 102px);
}

.vb-section-head {
	margin-bottom: clamp(34px, 4vw, 58px);
}

.vb-section-head h1,
.vb-section-head h2,
.vb-page-intro h1 {
	font-size: clamp(2.8rem, 5vw, 5.6rem);
	line-height: 0.94;
}

.vb-books-section .vb-book-grid {
	max-width: 1060px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(36px, 5vw, 76px);
}

.vb-books-section .vb-book-cover {
	aspect-ratio: 3 / 4;
}

.vb-book-card h3 {
	font-size: clamp(1.35rem, 1.8vw, 2rem);
}

.vb-series-grid {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vb-series-card {
	min-height: 300px;
	padding: clamp(28px, 3.2vw, 46px);
}

.vb-series-card h3 {
	font-size: clamp(1.8rem, 2.65vw, 3.4rem);
}

.vb-editorial-footer {
	margin-top: clamp(48px, 7vw, 100px);
	background: var(--vb-ink);
	color: #fff;
}

.vb-footer-inner {
	box-sizing: border-box;
	width: min(100%, var(--vb-max));
	margin: 0 auto;
	padding: clamp(58px, 8vw, 110px) var(--vb-gutter) 38px;
	display: grid;
	grid-template-columns: minmax(0, 2fr) minmax(180px, 1fr);
	gap: clamp(54px, 8vw, 120px);
}

.vb-footer-brand > a {
	display: inline-block;
	color: #fff;
	text-decoration: none;
	font-size: clamp(2.7rem, 6vw, 6.8rem);
	line-height: 0.9;
	letter-spacing: -0.055em;
	font-weight: 570;
}

.vb-footer-brand p {
	margin: 22px 0 0;
	font-size: 0.73rem;
	letter-spacing: 0.13em;
	text-transform: uppercase;
	opacity: 0.72;
}

.vb-footer-nav {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 13px;
}

.vb-footer-nav a,
.vb-footer-meta a {
	color: #fff;
	text-decoration: none;
}

.vb-footer-nav a {
	font-size: clamp(1.15rem, 1.6vw, 1.7rem);
	line-height: 1.2;
}

.vb-footer-nav a:hover,
.vb-footer-meta a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.vb-footer-meta {
	grid-column: 1 / -1;
	margin-top: clamp(38px, 6vw, 82px);
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.28);
	display: flex;
	justify-content: space-between;
	gap: 24px;
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* Hide Astra's generic footer only on the editorial surface. */
body.vb-site-page #colophon,
body.vb-site-catalog #colophon,
body.vb-site-authors #colophon {
	display: none;
}

@media (max-width: 760px) {
	:root {
		--vb-gutter: 22px;
	}

	body.vb-site-page,
	body.vb-site-catalog,
	body.vb-site-authors {
		--vb-header-height: 72px;
	}

	.vb-home-hero {
		min-height: 560px;
	}

	.vb-display-title {
		font-size: clamp(3.55rem, 18vw, 6.4rem) !important;
	}

	.vb-books-section .vb-book-grid,
	.vb-series-grid {
		grid-template-columns: 1fr;
	}

	.vb-footer-inner {
		grid-template-columns: 1fr;
	}

	.vb-footer-meta {
		grid-column: 1;
		flex-direction: column;
	}
}


/* --------------------------------------------------------------
   VARCHI BOOKS 0.4.3 — grid and width correction
-------------------------------------------------------------- */

/*
 * Gutenberg constrains shortcode blocks to the global content width.
 * VARCHI sections render their own max-width and gutters, so the wrapper
 * itself must be full width.
 */
body.vb-site-page .entry-content > .wp-block-shortcode,
body.vb-site-page .entry-content > .wp-block-group > .wp-block-shortcode,
body.vb-site-role-home .wp-block-shortcode,
body.vb-site-role-series .wp-block-shortcode {
	width: 100% !important;
	max-width: none !important;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* Make the managed page content genuinely full width inside Astra/Gutenberg. */
body.vb-site-page .entry-content,
body.vb-site-page .wp-site-blocks,
body.vb-site-page main.site-main {
	width: 100%;
	max-width: none;
}

/* One consistent editorial grid for hero and dynamic sections. */
.vb-home-hero {
	padding-left: var(--vb-gutter);
	padding-right: var(--vb-gutter);
}

.vb-home-hero > * {
	box-sizing: border-box;
	width: 100% !important;
	max-width: var(--vb-max) !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.vb-home-hero .vb-kicker,
.vb-home-hero .vb-display-title,
.vb-home-hero .vb-hero-deck {
	text-align: left !important;
}

.vb-home-hero .vb-hero-deck {
	margin-left: auto !important;
	margin-right: auto !important;
}

/* Astra header: brand left, navigation right, same horizontal rhythm. */
body.vb-site-page .ast-primary-header-bar .site-primary-header-wrap,
body.vb-site-catalog .ast-primary-header-bar .site-primary-header-wrap,
body.vb-site-authors .ast-primary-header-bar .site-primary-header-wrap {
	max-width: var(--vb-max) !important;
	padding-left: var(--vb-gutter) !important;
	padding-right: var(--vb-gutter) !important;
}

body.vb-site-page .ast-primary-header-bar .ast-builder-grid-row,
body.vb-site-catalog .ast-primary-header-bar .ast-builder-grid-row,
body.vb-site-authors .ast-primary-header-bar .ast-builder-grid-row {
	grid-template-columns: minmax(180px, 1fr) auto !important;
	width: 100%;
}

body.vb-site-page .site-header-primary-section-left,
body.vb-site-catalog .site-header-primary-section-left,
body.vb-site-authors .site-header-primary-section-left {
	justify-self: start !important;
	justify-content: flex-start !important;
}

body.vb-site-page .site-header-primary-section-right,
body.vb-site-catalog .site-header-primary-section-right,
body.vb-site-authors .site-header-primary-section-right {
	justify-self: end !important;
	justify-content: flex-end !important;
}

/* Dynamic sections own their max width; no inherited narrow block width. */
.vb-site-section {
	width: 100% !important;
	max-width: var(--vb-max) !important;
}

.vb-books-section .vb-book-grid {
	max-width: none;
	grid-template-columns: repeat(auto-fit, minmax(250px, 310px));
	justify-content: start;
	gap: clamp(34px, 4vw, 64px);
}

.vb-series-grid {
	width: 100%;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.vb-series-card h3,
.vb-series-card h3 a {
	overflow-wrap: normal;
	word-break: normal;
	hyphens: manual;
}

.vb-series-card h3 {
	font-size: clamp(1.75rem, 2.25vw, 2.9rem);
	line-height: 1.02;
	letter-spacing: -0.04em;
}

/* Keep the title and deck on the same left axis while preserving a readable deck width. */
.vb-home-hero .vb-hero-deck {
	max-width: var(--vb-max) !important;
}

.vb-home-hero .vb-hero-deck {
	padding-right: min(42vw, 620px);
}

/* Stop WordPress global block spacing from introducing hidden lateral drift. */
body.vb-site-role-home .entry-content > *,
body.vb-site-role-series .entry-content > * {
	margin-left: 0;
	margin-right: 0;
}

@media (max-width: 920px) {
	.vb-series-grid {
		grid-template-columns: 1fr;
	}

	.vb-home-hero .vb-hero-deck {
		padding-right: 10vw;
	}
}

@media (max-width: 620px) {
	.vb-books-section .vb-book-grid {
		grid-template-columns: 1fr;
	}

	.vb-home-hero .vb-hero-deck {
		padding-right: 0;
	}

	body.vb-site-page .ast-primary-header-bar .ast-builder-grid-row,
	body.vb-site-catalog .ast-primary-header-bar .ast-builder-grid-row,
	body.vb-site-authors .ast-primary-header-bar .ast-builder-grid-row {
		grid-template-columns: 1fr auto !important;
	}
}


/* --------------------------------------------------------------
   VARCHI BOOKS 0.4.4 — manifesto scale correction
-------------------------------------------------------------- */

.vb-manifesto-band {
	padding-top: clamp(74px, 8vw, 118px);
	padding-bottom: clamp(74px, 8vw, 118px);
}

.vb-manifesto-band > .vb-manifesto-text,
.vb-manifesto-text {
	box-sizing: border-box;
	width: 100% !important;
	max-width: 1040px !important;
	margin: 0 auto 0 0 !important;
	padding: 0 !important;
	text-align: left !important;
	font-size: clamp(2rem, 3.5vw, 4.25rem) !important;
	line-height: 1.03 !important;
	letter-spacing: -0.035em;
	font-weight: 520;
}

@media (max-width: 760px) {
	.vb-manifesto-band {
		padding-top: 64px;
		padding-bottom: 64px;
	}

	.vb-manifesto-band > .vb-manifesto-text,
	.vb-manifesto-text {
		font-size: clamp(1.9rem, 8vw, 3rem) !important;
		line-height: 1.05 !important;
	}
}


/* --------------------------------------------------------------
   VARCHI BOOKS 0.5.0 — topic editorial archives
-------------------------------------------------------------- */

body.vb-site-topic .site-content > .ast-container {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}

body.vb-site-topic .content-area,
body.vb-site-topic .site-main {
	width: 100%;
	max-width: none;
	margin: 0;
}

body.vb-site-topic .widget-area {
	display: none;
}

body.vb-site-topic .ast-primary-header-bar .site-primary-header-wrap {
	max-width: var(--vb-max) !important;
	padding-left: var(--vb-gutter) !important;
	padding-right: var(--vb-gutter) !important;
}

body.vb-site-topic .ast-primary-header-bar .ast-builder-grid-row {
	grid-template-columns: minmax(180px, 1fr) auto !important;
	width: 100%;
}

body.vb-site-topic .site-header-primary-section-left {
	justify-self: start !important;
	justify-content: flex-start !important;
}

body.vb-site-topic .site-header-primary-section-right {
	justify-self: end !important;
	justify-content: flex-end !important;
}

.vb-topic-hero {
	box-sizing: border-box;
	width: 100%;
	background: var(--vb-paper);
	border-bottom: 1px solid var(--vb-rule);
	padding: clamp(90px, 11vw, 170px) var(--vb-gutter) clamp(64px, 8vw, 112px);
}

.vb-topic-hero-inner {
	width: min(100%, var(--vb-max));
	margin: 0 auto;
}

.vb-topic-hero h1 {
	max-width: 1120px;
	margin: 0;
	font-size: clamp(4rem, 9vw, 9.5rem);
	line-height: 0.87;
	letter-spacing: -0.06em;
	font-weight: 570;
}

.vb-topic-deck {
	max-width: 860px;
	margin: clamp(34px, 5vw, 70px) 0 0;
	font-size: clamp(1.35rem, 2.35vw, 2.7rem);
	line-height: 1.12;
	letter-spacing: -0.025em;
}

.vb-topic-count {
	align-self: flex-end;
	padding-bottom: 4px;
	font-size: 0.72rem;
	font-weight: 650;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.vb-topic-book-grid {
	grid-template-columns: repeat(auto-fit, minmax(250px, 310px));
	justify-content: start;
}

.vb-topic-journal {
	border-top: 1px solid var(--vb-rule);
}

.vb-related-topics {
	border-top: 1px solid var(--vb-rule);
}

.vb-topic-link-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.vb-topic-link-cloud a {
	display: inline-flex;
	align-items: center;
	min-height: 46px;
	padding: 8px 18px;
	border: 1px solid var(--vb-rule);
	border-radius: 999px;
	color: var(--vb-ink);
	text-decoration: none;
	font-size: clamp(1rem, 1.25vw, 1.3rem);
	line-height: 1.1;
}

.vb-topic-link-cloud a:hover {
	background: var(--vb-ink);
	color: #fff;
	border-color: var(--vb-ink);
}

body.vb-site-topic #colophon {
	display: none;
}

@media (max-width: 760px) {
	body.vb-site-topic .ast-primary-header-bar .ast-builder-grid-row {
		grid-template-columns: 1fr auto !important;
	}

	.vb-topic-hero {
		padding-top: 72px;
		padding-bottom: 62px;
	}

	.vb-topic-hero h1 {
		font-size: clamp(3.5rem, 18vw, 6.5rem);
	}

	.vb-topic-book-grid {
		grid-template-columns: 1fr;
	}
}


/* --------------------------------------------------------------
   VARCHI BOOKS 0.6.2 — series archives and book connections
-------------------------------------------------------------- */

body.vb-site-series .site-content > .ast-container {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}

body.vb-site-series .content-area,
body.vb-site-series .site-main {
	width: 100%;
	max-width: none;
	margin: 0;
}

body.vb-site-series .widget-area {
	display: none;
}

body.vb-site-series .ast-primary-header-bar .site-primary-header-wrap {
	max-width: var(--vb-max) !important;
	padding-left: var(--vb-gutter) !important;
	padding-right: var(--vb-gutter) !important;
}

body.vb-site-series .ast-primary-header-bar .ast-builder-grid-row {
	grid-template-columns: minmax(180px, 1fr) auto !important;
	width: 100%;
}

body.vb-site-series .site-header-primary-section-left {
	justify-self: start !important;
	justify-content: flex-start !important;
}

body.vb-site-series .site-header-primary-section-right {
	justify-self: end !important;
	justify-content: flex-end !important;
}

.vb-series-hero {
	box-sizing: border-box;
	width: 100%;
	background: var(--vb-paper);
	border-bottom: 1px solid var(--vb-rule);
	padding: clamp(90px, 11vw, 170px) var(--vb-gutter) clamp(64px, 8vw, 112px);
}

.vb-series-hero-inner {
	width: min(100%, var(--vb-max));
	margin: 0 auto;
}

.vb-series-hero h1 {
	max-width: 1180px;
	margin: 0;
	font-size: clamp(4rem, 8.5vw, 9rem);
	line-height: 0.88;
	letter-spacing: -0.058em;
	font-weight: 570;
}

.vb-series-deck {
	max-width: 900px;
	margin: clamp(34px, 5vw, 70px) 0 0;
	font-size: clamp(1.35rem, 2.35vw, 2.7rem);
	line-height: 1.12;
	letter-spacing: -0.025em;
}

.vb-series-book-grid {
	grid-template-columns: repeat(auto-fit, minmax(250px, 310px));
	justify-content: start;
}

.vb-series-topics {
	border-top: 1px solid var(--vb-rule);
}

.vb-series-topics .vb-topic-link-cloud a {
	gap: 10px;
}

.vb-series-topics .vb-topic-link-cloud a span {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 22px;
	height: 22px;
	padding: 0 6px;
	border-radius: 999px;
	background: rgba(17, 17, 17, 0.08);
	font-size: 0.72rem;
	font-weight: 700;
}

body.vb-site-series #colophon {
	display: none;
}

.vb-editorial-related-books {
	margin-top: 2.25rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(17, 17, 17, 0.18);
}

.vb-editorial-related-books > h3 {
	margin: 0;
	font-size: clamp(1.8rem, 3vw, 3.2rem);
	line-height: 1;
	letter-spacing: -0.035em;
}

.vb-related-books-note {
	margin: 0.75rem 0 1.5rem !important;
	opacity: 0.72;
}

.vb-related-book-grid {
	grid-template-columns: repeat(auto-fit, minmax(180px, 240px));
	justify-content: start;
	gap: clamp(24px, 3vw, 42px);
}

.vb-related-book-grid .vb-book-card h3 {
	font-size: clamp(1.2rem, 1.6vw, 1.7rem);
}

@media (max-width: 760px) {
	body.vb-site-series .ast-primary-header-bar .ast-builder-grid-row {
		grid-template-columns: 1fr auto !important;
	}

	.vb-series-hero {
		padding-top: 72px;
		padding-bottom: 62px;
	}

	.vb-series-hero h1 {
		font-size: clamp(3.5rem, 18vw, 6.5rem);
	}

	.vb-series-book-grid,
	.vb-related-book-grid {
		grid-template-columns: 1fr;
	}
}


/* --------------------------------------------------------------
   VARCHI BOOKS 0.6.3 — catalog and author relations
-------------------------------------------------------------- */

.vb-catalog-hero,
.vb-author-archive-hero,
.vb-author-hero {
	box-sizing: border-box;
	width: 100%;
	background: var(--vb-paper);
	border-bottom: 1px solid var(--vb-rule);
	padding: clamp(90px, 11vw, 170px) var(--vb-gutter) clamp(64px, 8vw, 112px);
}

.vb-catalog-hero-inner,
.vb-author-archive-hero-inner,
.vb-author-hero-inner {
	width: min(100%, var(--vb-max));
	margin: 0 auto;
}

.vb-catalog-hero h1,
.vb-author-archive-hero h1,
.vb-author-hero h1 {
	max-width: 1180px;
	margin: 0;
	font-size: clamp(4rem, 8.5vw, 9rem);
	line-height: 0.88;
	letter-spacing: -0.058em;
	font-weight: 570;
}

.vb-catalog-deck,
.vb-author-archive-deck,
.vb-author-deck {
	max-width: 900px;
	margin: clamp(34px, 5vw, 70px) 0 0;
	font-size: clamp(1.35rem, 2.35vw, 2.7rem);
	line-height: 1.12;
	letter-spacing: -0.025em;
}

.vb-catalog-book-grid,
.vb-author-book-grid {
	grid-template-columns: repeat(auto-fit, minmax(250px, 310px));
	justify-content: start;
}

.vb-book-author {
	margin: 8px 0 0;
	font-size: 0.88rem;
	line-height: 1.35;
	opacity: 0.78;
}

.vb-book-author a {
	color: inherit;
	text-decoration: none;
	border-bottom: 1px solid rgba(17, 17, 17, 0.3);
}

.vb-book-author a:hover {
	border-bottom-color: currentColor;
}

.vb-author-book-count {
	margin: 0 0 9px;
	font-size: 0.72rem;
	font-weight: 650;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.vb-author-hero-inner {
	display: grid;
	grid-template-columns: minmax(0, 1.7fr) minmax(260px, 0.65fr);
	gap: clamp(48px, 8vw, 130px);
	align-items: end;
}

.vb-author-portrait {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--vb-soft);
}

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

.vb-author-bio {
	border-bottom: 1px solid var(--vb-rule);
}

.vb-author-bio-copy {
	max-width: 900px;
}

.vb-author-bio-copy p {
	font-size: clamp(1.12rem, 1.55vw, 1.5rem);
	line-height: 1.62;
}

body.vb-site-authors .site-content > .ast-container {
	max-width: 100%;
	padding-left: 0;
	padding-right: 0;
}

body.vb-site-authors .content-area,
body.vb-site-authors .site-main {
	width: 100%;
	max-width: none;
	margin: 0;
}

body.vb-site-authors .widget-area {
	display: none;
}

body.vb-site-authors #colophon {
	display: none;
}

@media (max-width: 760px) {
	.vb-catalog-hero,
	.vb-author-archive-hero,
	.vb-author-hero {
		padding-top: 72px;
		padding-bottom: 62px;
	}

	.vb-catalog-hero h1,
	.vb-author-archive-hero h1,
	.vb-author-hero h1 {
		font-size: clamp(3.5rem, 18vw, 6.5rem);
	}

	.vb-catalog-book-grid,
	.vb-author-book-grid {
		grid-template-columns: 1fr;
	}

	.vb-author-hero-inner {
		grid-template-columns: 1fr;
	}
}


/* --------------------------------------------------------------
   VARCHI BOOKS 0.6.4 — typographic rebalance and home alignment
-------------------------------------------------------------- */

/* One clearer editorial rhythm across section headings */
.vb-section-head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 22px;
	align-items: end;
}

.vb-section-head h2 {
	max-width: 980px;
}

/* Home: keep kicker, title and deck on the same left grid */
.vb-home-hero {
	padding-left: var(--vb-gutter);
	padding-right: var(--vb-gutter);
}

.vb-home-hero > .vb-kicker,
.vb-home-hero > .vb-display-title,
.vb-home-hero > .vb-hero-deck {
	box-sizing: border-box;
	width: min(100%, var(--vb-max)) !important;
	margin-left: auto !important;
	margin-right: auto !important;
	text-align: left !important;
}

.vb-home-hero > .vb-hero-deck {
	max-width: min(100%, 820px) !important;
	padding-right: 0 !important;
	margin-top: clamp(28px, 4vw, 54px) !important;
}

/* Make links at the right edge sit on the same baseline */
.vb-section-head .vb-text-link,
.vb-section-head a {
	align-self: end;
}

/* Author pages were too large. Rebalance the display scale. */
.vb-author-hero h1,
.vb-author-archive-hero h1 {
	max-width: 980px;
	font-size: clamp(3.2rem, 7vw, 6.8rem);
	line-height: 0.9;
	letter-spacing: -0.052em;
}

.vb-author-deck,
.vb-author-archive-deck {
	max-width: 760px;
	font-size: clamp(1.18rem, 1.85vw, 2rem);
	line-height: 1.16;
}

.vb-author-books .vb-section-head h2 {
	max-width: 900px;
	font-size: clamp(2.6rem, 5vw, 4.9rem);
	line-height: 0.94;
	letter-spacing: -0.045em;
}

.vb-author-book-grid {
	grid-template-columns: repeat(auto-fit, minmax(230px, 290px));
}

/* Also calm down the archive hero a bit */
.vb-catalog-hero h1,
.vb-author-archive-hero h1 {
	font-size: clamp(3.4rem, 7.6vw, 7.2rem);
}

/* Avoid over-wide hero copy blocks that visually drift */
.vb-catalog-deck,
.vb-series-deck,
.vb-topic-deck {
	max-width: 780px;
}

@media (max-width: 920px) {
	.vb-section-head {
		grid-template-columns: 1fr;
	}

	.vb-section-head .vb-text-link,
	.vb-section-head a {
		justify-self: start;
	}

	.vb-author-hero h1,
	.vb-author-archive-hero h1,
	.vb-catalog-hero h1 {
		font-size: clamp(3rem, 12vw, 5.4rem);
	}

	.vb-author-books .vb-section-head h2 {
		font-size: clamp(2.4rem, 10vw, 4.2rem);
	}
}

@media (max-width: 760px) {
	.vb-home-hero > .vb-hero-deck {
		max-width: 100% !important;
	}

	.vb-author-book-grid {
		grid-template-columns: 1fr;
	}
}


/* --------------------------------------------------------------
   VARCHI BOOKS 0.6.5 — calm type scale and purchase links
-------------------------------------------------------------- */

/* Stronger final override: author typography must stay editorial, not monumental. */
.vb-author-hero h1 {
	max-width: 860px !important;
	font-size: clamp(2.7rem, 5.2vw, 5.25rem) !important;
	line-height: 0.94 !important;
	letter-spacing: -0.045em !important;
}

.vb-author-books .vb-section-head h2 {
	max-width: 760px !important;
	font-size: clamp(2rem, 3.6vw, 3.65rem) !important;
	line-height: 0.98 !important;
	letter-spacing: -0.038em !important;
}

/* Moderate the rest of the archive display system as well. */
.vb-catalog-hero h1,
.vb-author-archive-hero h1,
.vb-series-hero h1,
.vb-topic-hero h1 {
	font-size: clamp(3rem, 5.8vw, 5.8rem) !important;
	line-height: 0.93 !important;
	letter-spacing: -0.048em !important;
}

.vb-section-head h1,
.vb-section-head h2,
.vb-page-intro h1 {
	font-size: clamp(2.25rem, 4vw, 4.15rem) !important;
	line-height: 0.98 !important;
}

/* Purchase link on catalog cards. */
.vb-book-purchase {
	margin: 18px 0 0;
}

.vb-book-purchase a {
	display: inline-block;
	color: var(--vb-ink);
	text-decoration: none;
	font-size: 0.78rem;
	font-weight: 650;
	letter-spacing: 0.075em;
	text-transform: uppercase;
	border-bottom: 1px solid currentColor;
	padding-bottom: 3px;
}

/* Single-product canonical purchase block. */
.vb-purchase-box {
	margin: 1.5rem 0 1.8rem;
	padding: 1.25rem 0 0;
	border-top: 1px solid rgba(17, 17, 17, 0.18);
}

.vb-purchase-kicker {
	margin: 0 0 0.8rem !important;
	font-size: 0.72rem !important;
	font-weight: 650;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.vb-purchase-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.vb-purchase-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 11px 20px;
	background: var(--vb-ink);
	color: #fff !important;
	text-decoration: none !important;
	font-size: 0.82rem;
	font-weight: 650;
	letter-spacing: 0.055em;
	text-transform: uppercase;
	border: 1px solid var(--vb-ink);
}

.vb-purchase-button:hover,
.vb-purchase-button:focus {
	background: transparent;
	color: var(--vb-ink) !important;
}

@media (max-width: 760px) {
	.vb-author-hero h1 {
		font-size: clamp(2.6rem, 12vw, 4.4rem) !important;
	}

	.vb-author-books .vb-section-head h2 {
		font-size: clamp(2rem, 9vw, 3.3rem) !important;
	}

	.vb-purchase-button {
		width: 100%;
	}
}


/* --------------------------------------------------------------
   VARCHI BOOKS 0.7.0 — About, Contact, Author profile, English site
-------------------------------------------------------------- */

body.vb-site-role-home_en .entry-content > *,
body.vb-site-role-series_en .entry-content > *,
body.vb-site-role-books_en .entry-content > *,
body.vb-site-role-authors_en .entry-content > *,
body.vb-site-role-journal_en .entry-content > *,
body.vb-site-role-about_en .entry-content > *,
body.vb-site-role-contact_en .entry-content > * {
	margin-left: 0;
	margin-right: 0;
}

.vb-language-switch > .menu-link {
	font-weight: 700 !important;
	letter-spacing: 0.13em !important;
}

.vb-language-switch > .menu-link::before {
	content: "";
	display: inline-block;
	width: 1px;
	height: 1.1em;
	margin-right: 16px;
	vertical-align: -0.18em;
	background: var(--vb-rule);
}

/* Final calm author type scale. */
.vb-author-hero h1 {
	max-width: 780px !important;
	font-size: clamp(2.55rem, 4.55vw, 4.5rem) !important;
	line-height: 0.96 !important;
	letter-spacing: -0.043em !important;
}

.vb-author-books .vb-section-head h2 {
	max-width: 720px !important;
	font-size: clamp(1.95rem, 3.15vw, 3.1rem) !important;
	line-height: 1 !important;
	letter-spacing: -0.035em !important;
}

/* Structured author profile shown under every author hero. */
.vb-author-profile {
	padding-top: clamp(38px, 5vw, 72px);
	padding-bottom: clamp(38px, 5vw, 72px);
}

.vb-author-profile-card {
	display: grid;
	grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.75fr);
	border-top: 1px solid var(--vb-rule);
	border-bottom: 1px solid var(--vb-rule);
}

.vb-author-profile-copy,
.vb-author-profile-facts {
	padding: clamp(28px, 4vw, 52px);
}

.vb-author-profile-copy {
	border-right: 1px solid var(--vb-rule);
}

.vb-author-profile-copy h2 {
	margin: 0 0 24px;
	font-size: clamp(1.8rem, 2.9vw, 3.2rem);
	line-height: 1;
	letter-spacing: -0.035em;
	font-weight: 560;
}

.vb-author-profile-bio {
	max-width: 720px;
	margin: 0;
	font-size: clamp(1.08rem, 1.45vw, 1.4rem);
	line-height: 1.58;
}

.vb-author-profile-links {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-top: 30px;
}

.vb-author-profile-links a {
	color: var(--vb-ink);
	text-decoration: none;
	border-bottom: 1px solid currentColor;
	padding-bottom: 3px;
}

.vb-author-profile-facts {
	display: grid;
	align-content: start;
	gap: 0;
}

.vb-author-profile-facts > div {
	padding: 20px 0;
	border-bottom: 1px solid var(--vb-rule);
}

.vb-author-profile-facts > div:first-child {
	padding-top: 0;
}

.vb-author-profile-facts > div:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.vb-author-profile-facts span,
.vb-author-profile-facts strong {
	display: block;
}

.vb-author-profile-facts span {
	margin-bottom: 8px;
	font-size: 0.7rem;
	font-weight: 650;
	letter-spacing: 0.11em;
	text-transform: uppercase;
}

.vb-author-profile-facts strong {
	font-size: clamp(1.05rem, 1.35vw, 1.35rem);
	line-height: 1.35;
	font-weight: 560;
}

.vb-author-role {
	margin: 0 0 10px;
	font-size: 0.7rem;
	font-weight: 650;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	opacity: 0.72;
}

/* Contact page */
.vb-contact-page {
	box-sizing: border-box;
	width: min(100%, var(--vb-max));
	margin: 0 auto;
	padding: clamp(84px, 10vw, 150px) var(--vb-gutter) clamp(72px, 9vw, 130px);
}

.vb-contact-intro {
	max-width: 1040px;
}

.vb-contact-intro h1 {
	margin: 0;
	max-width: 900px;
	font-size: clamp(2.8rem, 5.4vw, 5.6rem);
	line-height: 0.94;
	letter-spacing: -0.048em;
	font-weight: 560;
}

.vb-contact-deck {
	max-width: 820px;
	margin: clamp(30px, 4vw, 54px) 0 0;
	font-size: clamp(1.25rem, 2.05vw, 2.25rem);
	line-height: 1.16;
	letter-spacing: -0.022em;
}

.vb-contact-notice {
	margin: 34px 0 0;
	padding: 16px 18px;
	border-left: 4px solid currentColor;
}

.vb-contact-notice.is-success {
	background: #edf8ef;
	color: #135e26;
}

.vb-contact-notice.is-error {
	background: #fcf0f1;
	color: #8a2424;
}

.vb-contact-layout {
	display: grid;
	grid-template-columns: minmax(250px, 0.7fr) minmax(0, 1.3fr);
	gap: clamp(48px, 8vw, 120px);
	margin-top: clamp(64px, 8vw, 110px);
	padding-top: clamp(38px, 5vw, 64px);
	border-top: 1px solid var(--vb-rule);
}

.vb-contact-areas {
	display: grid;
	align-content: start;
}

.vb-contact-area {
	display: grid;
	grid-template-columns: 46px 1fr;
	gap: 14px;
	padding: 18px 0;
	border-bottom: 1px solid var(--vb-rule);
}

.vb-contact-area:first-child {
	border-top: 1px solid var(--vb-rule);
}

.vb-contact-area span {
	font-size: 0.7rem;
	letter-spacing: 0.08em;
	opacity: 0.56;
}

.vb-contact-area strong {
	font-size: clamp(1.1rem, 1.45vw, 1.45rem);
	line-height: 1.25;
	font-weight: 560;
}

.vb-contact-form {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 22px 24px;
}

.vb-contact-field {
	min-width: 0;
}

.vb-contact-field.is-full {
	grid-column: 1 / -1;
}

.vb-contact-field label {
	display: block;
	margin-bottom: 8px;
	font-size: 0.72rem;
	font-weight: 650;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.vb-contact-field input,
.vb-contact-field select,
.vb-contact-field textarea {
	box-sizing: border-box;
	width: 100%;
	border: 1px solid var(--vb-rule);
	border-radius: 0;
	background: transparent;
	color: var(--vb-ink);
	font: inherit;
	padding: 13px 14px;
	box-shadow: none;
}

.vb-contact-field input,
.vb-contact-field select {
	min-height: 50px;
}

.vb-contact-field textarea {
	resize: vertical;
	min-height: 190px;
}

.vb-contact-field input:focus,
.vb-contact-field select:focus,
.vb-contact-field textarea:focus {
	outline: 2px solid var(--vb-ink);
	outline-offset: 1px;
	border-color: var(--vb-ink);
}

.vb-contact-submit {
	grid-column: 1 / -1;
	justify-self: start;
	min-height: 50px;
	padding: 12px 24px;
	border: 1px solid var(--vb-ink);
	border-radius: 0;
	background: var(--vb-ink);
	color: #fff;
	font-size: 0.78rem;
	font-weight: 650;
	letter-spacing: 0.085em;
	text-transform: uppercase;
	cursor: pointer;
}

.vb-contact-submit:hover,
.vb-contact-submit:focus {
	background: transparent;
	color: var(--vb-ink);
}

.vb-contact-privacy {
	grid-column: 1 / -1;
	margin: 0;
	max-width: 650px;
	font-size: 0.8rem;
	line-height: 1.5;
	opacity: 0.68;
}

.vb-contact-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

/* English catalogue pages use the same editorial grid. */
body.vb-site-lang-en .vb-book-author {
	font-style: normal;
}

@media (max-width: 920px) {
	.vb-author-profile-card,
	.vb-contact-layout {
		grid-template-columns: 1fr;
	}

	.vb-author-profile-copy {
		border-right: 0;
		border-bottom: 1px solid var(--vb-rule);
	}

	.vb-contact-form {
		grid-template-columns: 1fr;
	}

	.vb-contact-field.is-full,
	.vb-contact-submit,
	.vb-contact-privacy {
		grid-column: 1;
	}
}

@media (max-width: 620px) {
	.vb-language-switch > .menu-link::before {
		display: none;
	}

	.vb-contact-page {
		padding-top: 62px;
	}

	.vb-contact-intro h1 {
		font-size: clamp(2.6rem, 14vw, 4.4rem);
	}

	.vb-author-profile-copy,
	.vb-author-profile-facts {
		padding: 26px 0;
	}
}


/* --------------------------------------------------------------
   VARCHI BOOKS 0.7.1 — mobile language switcher
-------------------------------------------------------------- */

.vb-mobile-language-switch {
	display: none;
}

@media (max-width: 921px) {
	.vb-mobile-language-switch {
		position: fixed;
		top: 18px;
		right: 74px;
		z-index: 100001;
		display: flex;
		align-items: center;
		justify-content: center;
		min-width: 42px;
		height: 36px;
		pointer-events: auto;
	}

	body.admin-bar .vb-mobile-language-switch {
		top: 64px;
	}

	.vb-mobile-language-switch a {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 40px;
		height: 34px;
		padding: 0 9px;
		border: 1px solid rgba(17, 17, 17, 0.28);
		background: rgba(255, 255, 255, 0.96);
		color: var(--vb-ink);
		text-decoration: none;
		font-size: 0.72rem;
		font-weight: 700;
		letter-spacing: 0.12em;
		line-height: 1;
		text-transform: uppercase;
	}

	.vb-mobile-language-switch a:hover,
	.vb-mobile-language-switch a:focus {
		background: var(--vb-ink);
		color: #fff;
		border-color: var(--vb-ink);
	}

	/* The desktop/menu copy is hidden on responsive layouts to avoid duplication. */
	.main-header-menu .vb-language-switch,
	.ast-mobile-popup-drawer .vb-language-switch {
		display: none !important;
	}
}

@media (max-width: 400px) {
	.vb-mobile-language-switch {
		right: 62px;
	}
}


/* --------------------------------------------------------------
   VARCHI BOOKS 0.7.7 — editorial publication status
-------------------------------------------------------------- */

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

.vb-publication-badge {
	position: absolute;
	z-index: 3;
	top: 12px;
	left: 12px;
	display: inline-flex;
	align-items: center;
	min-height: 28px;
	padding: 5px 9px;
	background: rgba(255, 255, 255, 0.95);
	border: 1px solid rgba(17, 17, 17, 0.24);
	color: var(--vb-ink);
	font-size: 0.64rem;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.vb-book-card.is-draft .vb-publication-badge {
	top: 48px;
}

.vb-publication-badge-preorder {
	background: var(--vb-ink);
	color: #fff;
	border-color: var(--vb-ink);
}

.vb-publication-badge-out_of_catalog {
	opacity: 0.72;
}

.vb-book-release-date {
	margin: 12px 0 0;
	font-size: 0.78rem;
	font-weight: 650;
	letter-spacing: 0.045em;
	text-transform: uppercase;
	opacity: 0.7;
}

.vb-forthcoming-section {
	border-top: 1px solid var(--vb-rule);
}

.vb-forthcoming-section .vb-book-cover {
	opacity: 0.96;
}

.vb-publication-status-box {
	margin: 1.5rem 0 1.8rem;
	padding: 1.15rem 0 0;
	border-top: 1px solid rgba(17, 17, 17, 0.18);
}

.vb-publication-status-label {
	margin: 0 !important;
	font-size: 0.78rem !important;
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.vb-publication-status-date {
	margin: 0.7rem 0 0 !important;
	font-size: 1rem !important;
	font-weight: 600;
}

.vb-publication-status-note {
	max-width: 600px;
	margin: 0.65rem 0 0 !important;
	font-size: 0.94rem !important;
	line-height: 1.5;
	opacity: 0.78;
}


/* --------------------------------------------------------------
   VARCHI BOOKS 0.8.0 — editorial depth and excerpt flip box
-------------------------------------------------------------- */

.vb-editorial-longform,
.vb-series-profile,
.vb-series-portraits {
	border-top: 1px solid var(--vb-rule);
}

.vb-editorial-longform-inner,
.vb-series-profile-inner {
	max-width: 980px;
}

.vb-editorial-longform h2,
.vb-series-profile h2,
.vb-author-bio h2 {
	margin: 0;
	max-width: 900px;
	font-size: clamp(2.25rem, 4vw, 4.2rem) !important;
	line-height: 0.98;
	letter-spacing: -0.042em;
}

.vb-editorial-longform-copy,
.vb-series-profile-copy,
.vb-author-bio-longform {
	margin-top: clamp(30px, 4vw, 58px);
	max-width: 880px;
}

.vb-editorial-longform-copy p,
.vb-series-profile-copy p,
.vb-author-bio-longform p {
	margin: 0 0 1.4em;
	font-size: clamp(1.05rem, 1.35vw, 1.32rem);
	line-height: 1.68;
}

.vb-series-portrait-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1px;
	background: var(--vb-rule);
	border: 1px solid var(--vb-rule);
}

.vb-series-portrait {
	min-height: 330px;
	padding: clamp(28px, 4vw, 54px);
	background: var(--vb-paper);
}

.vb-series-portrait h3 {
	margin: 0 0 28px;
	font-size: clamp(1.75rem, 2.7vw, 3rem);
	line-height: 0.98;
	letter-spacing: -0.04em;
}

.vb-series-portrait h3 a {
	color: inherit;
	text-decoration: none;
}

.vb-series-portrait p {
	font-size: 1rem;
	line-height: 1.58;
}

/* Excerpt flip box */
.vb-excerpt-section {
	border-top: 1px solid var(--vb-rule);
	perspective: 1800px;
}

.vb-excerpt-flip {
	position: relative;
	width: 100%;
	min-height: min(680px, 72vh);
}

.vb-excerpt-flip-inner {
	position: relative;
	width: 100%;
	min-height: inherit;
	transform-style: preserve-3d;
	transition: transform 650ms cubic-bezier(.2,.72,.18,1);
}

.vb-excerpt-flip.is-flipped .vb-excerpt-flip-inner {
	transform: rotateY(180deg);
}

.vb-excerpt-face {
	position: absolute;
	inset: 0;
	box-sizing: border-box;
	width: 100%;
	min-height: inherit;
	backface-visibility: hidden;
	-webkit-backface-visibility: hidden;
}

.vb-excerpt-front {
	display: flex;
	align-items: flex-end;
	padding: clamp(36px, 6vw, 92px);
	background: var(--vb-ink);
	color: #fff;
}

.vb-excerpt-front-copy {
	max-width: 920px;
}

.vb-excerpt-front .vb-kicker {
	color: rgba(255,255,255,.7);
}

.vb-excerpt-front h2 {
	margin: 0;
	max-width: 1000px;
	font-size: clamp(2.8rem, 6vw, 6.2rem) !important;
	line-height: .92;
	letter-spacing: -.055em;
	color: #fff;
}

.vb-excerpt-front p:not(.vb-kicker) {
	max-width: 620px;
	margin: 28px 0 0;
	font-size: clamp(1.05rem, 1.5vw, 1.35rem);
	line-height: 1.5;
}

.vb-excerpt-back {
	transform: rotateY(180deg);
	padding: clamp(34px, 5vw, 72px);
	background: var(--vb-paper);
	border: 1px solid var(--vb-rule);
	overflow: hidden;
}

.vb-excerpt-back-copy {
	display: flex;
	flex-direction: column;
	height: 100%;
	max-height: min(680px, 72vh);
}

.vb-excerpt-back h3 {
	margin: 0 0 28px;
	font-size: clamp(2rem, 3.2vw, 3.5rem);
	line-height: 1;
	letter-spacing: -.04em;
}

.vb-excerpt-text {
	flex: 1 1 auto;
	max-width: 820px;
	overflow-y: auto;
	padding-right: 24px;
	scrollbar-width: thin;
}

.vb-excerpt-text p {
	margin: 0 0 1.35em;
	font-size: clamp(1.05rem, 1.35vw, 1.28rem);
	line-height: 1.72;
}

.vb-flip-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	margin-top: 34px;
	min-height: 48px;
	padding: 11px 21px;
	border: 1px solid currentColor;
	background: transparent;
	color: inherit;
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .085em;
	text-transform: uppercase;
	cursor: pointer;
}

.vb-excerpt-front .vb-flip-trigger:hover,
.vb-excerpt-front .vb-flip-trigger:focus {
	background: #fff;
	color: var(--vb-ink);
}

.vb-excerpt-back .vb-flip-trigger:hover,
.vb-excerpt-back .vb-flip-trigger:focus {
	background: var(--vb-ink);
	color: #fff;
}

@media (max-width: 900px) {
	.vb-series-portrait-grid {
		grid-template-columns: 1fr;
	}

	.vb-series-portrait {
		min-height: auto;
	}

	.vb-excerpt-flip {
		min-height: 620px;
	}

	.vb-excerpt-front h2 {
		font-size: clamp(2.5rem, 12vw, 4.6rem) !important;
	}
}

@media (max-width: 600px) {
	.vb-excerpt-flip,
	.vb-excerpt-flip-inner,
	.vb-excerpt-face {
		min-height: 680px;
	}

	.vb-excerpt-front,
	.vb-excerpt-back {
		padding: 28px 22px;
	}

	.vb-excerpt-back-copy {
		max-height: 624px;
	}

	.vb-excerpt-text {
		padding-right: 10px;
	}
}

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


/* --------------------------------------------------------------
   VARCHI BOOKS 0.9.0 — PDF preview flipbook
-------------------------------------------------------------- */

.vb-pdf-preview-section {
	border-top: 1px solid var(--vb-rule);
}

.vb-pdf-preview-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: clamp(28px, 5vw, 80px);
	align-items: end;
	padding: clamp(38px, 6vw, 90px);
	background: var(--vb-paper);
	border: 1px solid var(--vb-rule);
}

.vb-pdf-preview-copy {
	max-width: 900px;
}

.vb-pdf-preview-card h2 {
	margin: 0;
	max-width: 950px;
	font-size: clamp(2.6rem, 5.2vw, 5.8rem) !important;
	line-height: .94;
	letter-spacing: -.052em;
}

.vb-pdf-preview-card p:not(.vb-kicker) {
	max-width: 670px;
	margin: 28px 0 0;
	font-size: clamp(1rem, 1.4vw, 1.28rem);
	line-height: 1.55;
}

.vb-pdf-preview-open {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 220px;
	min-height: 54px;
	padding: 13px 22px;
	background: var(--vb-ink);
	border: 1px solid var(--vb-ink);
	color: #fff;
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .085em;
	text-decoration: none;
	text-transform: uppercase;
}

.vb-pdf-preview-open:hover,
.vb-pdf-preview-open:focus {
	background: transparent;
	color: var(--vb-ink);
}

body.vb-pdf-flipbook-open {
	overflow: hidden;
}

.vb-pdf-flipbook-modal[hidden] {
	display: none !important;
}

.vb-pdf-flipbook-modal {
	position: fixed;
	z-index: 999999;
	inset: 0;
	display: grid;
	place-items: center;
	padding: 14px;
	background: rgba(8, 8, 8, .92);
	backdrop-filter: blur(8px);
}

.vb-pdf-flipbook-panel {
	display: grid;
	grid-template-rows: auto minmax(0, 1fr) auto;
	width: min(1720px, 100%);
	height: min(980px, calc(100vh - 28px));
	background: #161616;
	color: #fff;
	box-shadow: 0 30px 100px rgba(0,0,0,.55);
	overflow: hidden;
}

.vb-pdf-flipbook-panel:fullscreen {
	width: 100vw;
	height: 100vh;
}

.vb-pdf-flipbook-header {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	align-items: center;
	min-height: 76px;
	padding: 14px 18px 14px 24px;
	border-bottom: 1px solid rgba(255,255,255,.15);
}

.vb-pdf-flipbook-heading {
	min-width: 0;
}

.vb-pdf-flipbook-kicker {
	margin: 0 0 4px;
	color: rgba(255,255,255,.55);
	font-size: .64rem;
	font-weight: 700;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.vb-pdf-flipbook-header h2 {
	margin: 0;
	max-width: 920px;
	overflow: hidden;
	color: #fff;
	font-size: clamp(1rem, 2vw, 1.55rem) !important;
	line-height: 1.1;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.vb-pdf-flipbook-header-actions {
	display: flex;
	align-items: center;
	gap: 8px;
}

.vb-pdf-flipbook-header button,
.vb-pdf-flipbook-controls button {
	min-height: 42px;
	padding: 9px 14px;
	border: 1px solid rgba(255,255,255,.32);
	background: transparent;
	color: #fff;
	font-size: .7rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	cursor: pointer;
}

.vb-pdf-flipbook-header button:hover,
.vb-pdf-flipbook-header button:focus,
.vb-pdf-flipbook-controls button:hover,
.vb-pdf-flipbook-controls button:focus {
	background: #fff;
	color: #111;
}

.vb-pdf-flipbook-close {
	width: 44px;
	padding: 0 !important;
	font-size: 1.6rem !important;
	font-weight: 300 !important;
	line-height: 1 !important;
}

.vb-pdf-flipbook-stage {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 0;
	overflow: hidden;
	padding: 12px;
	background:
		radial-gradient(circle at 50% 45%, rgba(255,255,255,.09), transparent 42%),
		#111;
}

.vb-pdf-flipbook-book {
	width: 100%;
	height: 100%;
	max-width: 1560px;
	max-height: 820px;
}

.vb-pdf-flipbook-loading,
.vb-pdf-flipbook-error {
	position: absolute;
	z-index: 10;
	inset: 0;
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 16px;
	padding: 32px;
	text-align: center;
	background: #111;
}

.vb-pdf-flipbook-loading[hidden],
.vb-pdf-flipbook-error[hidden],
.vb-pdf-flipbook-book[hidden] {
	display: none !important;
}

.vb-pdf-flipbook-loading p,
.vb-pdf-flipbook-error p {
	margin: 0;
	color: rgba(255,255,255,.82);
	font-size: 1rem;
}

.vb-pdf-flipbook-error a {
	display: inline-flex;
	min-height: 44px;
	align-items: center;
	padding: 10px 16px;
	border: 1px solid rgba(255,255,255,.5);
	color: #fff;
	text-decoration: none;
}

.vb-pdf-flipbook-spinner {
	width: 38px;
	height: 38px;
	border: 3px solid rgba(255,255,255,.2);
	border-top-color: #fff;
	border-radius: 50%;
	animation: vb-pdf-spin .85s linear infinite;
}

@keyframes vb-pdf-spin {
	to { transform: rotate(360deg); }
}

.vb-pdf-flipbook-controls {
	display: grid;
	grid-template-columns: auto minmax(120px, 1fr) auto;
	gap: 16px;
	align-items: center;
	padding: 12px 18px;
	border-top: 1px solid rgba(255,255,255,.15);
}

.vb-pdf-flipbook-controls button:disabled {
	opacity: .3;
	cursor: not-allowed;
}

.vb-pdf-flipbook-controls button:disabled:hover {
	background: transparent;
	color: #fff;
}

.vb-pdf-flipbook-counter {
	text-align: center;
	color: rgba(255,255,255,.8);
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .08em;
}

/* StPageFlip canvas integration */
.vb-pdf-flipbook-book .stf__parent {
	margin: 0 auto;
}

.vb-pdf-flipbook-book canvas {
	filter: drop-shadow(0 18px 34px rgba(0,0,0,.34));
}

@media (max-width: 820px) {
	.vb-pdf-preview-card {
		grid-template-columns: 1fr;
		align-items: start;
	}

	.vb-pdf-preview-open {
		width: 100%;
	}

	.vb-pdf-flipbook-modal {
		padding: 0;
	}

	.vb-pdf-flipbook-panel {
		width: 100vw;
		height: 100vh;
	}

	.vb-pdf-flipbook-header {
		min-height: 66px;
		padding: 10px 10px 10px 14px;
	}

	.vb-pdf-flipbook-fullscreen {
		display: none;
	}

	.vb-pdf-flipbook-stage {
		padding: 6px;
	}

	.vb-pdf-flipbook-controls {
		gap: 8px;
		padding: 9px 10px;
	}

	.vb-pdf-flipbook-controls button {
		padding-inline: 11px;
		font-size: .64rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	.vb-pdf-flipbook-spinner {
		animation-duration: 2s;
	}
}


/* VARCHI BOOKS 0.9.1 — related-book CTA safety */
.vb-related-book-grid .vb-publication-forthcoming .vb-book-purchase,
.vb-related-book-grid .vb-publication-out_of_catalog .vb-book-purchase {
	display: none !important;
}


/* --------------------------------------------------------------
   VARCHI BOOKS 0.9.2 — PRE-LAUNCH CLEANUP
-------------------------------------------------------------- */

/* Native WooCommerce residues are not part of the editorial catalogue UI. */
.single-product .related.products,
.single-product .woocommerce-Reviews,
.single-product #reviews,
.single-product .woocommerce-product-rating,
.single-product .product_meta {
	display: none !important;
}

/* Publication state always wins over any WooCommerce loop CTA. */
.vb-publication-forthcoming .add_to_cart_button,
.vb-publication-forthcoming .product_type_external,
.vb-publication-forthcoming .added_to_cart,
.vb-publication-out_of_catalog .add_to_cart_button,
.vb-publication-out_of_catalog .product_type_external,
.vb-publication-out_of_catalog .added_to_cart {
	display: none !important;
}


/* --------------------------------------------------------------
   VARCHI BOOKS 0.9.3 — product categories are internal only
-------------------------------------------------------------- */
.single-product .product_meta,
.single-product .posted_in,
.single-product a[href*="/product-category/"],
.single-product a[href*="/categoria-prodotto/"] {
	display: none !important;
}

/* --------------------------------------------------------------
   VARCHI BOOKS 0.12.0 — Editorial Architecture
-------------------------------------------------------------- */

.vb-architecture-012 .vb-home-hero .vb-hero-note {
	grid-column: 9 / 13;
	grid-row: 3;
	align-self: start;
	max-width: 520px !important;
	margin: 16px 0 0 !important;
	padding-left: clamp(10px, 1.8vw, 30px);
	font-size: clamp(.95rem, 1.15vw, 1.15rem);
	line-height: 1.5;
	opacity: .68;
}

.vb-book-statement {
	max-width: 34ch;
	font-size: .98rem;
	line-height: 1.5;
}

.vb-why-book {
	margin: 1.6rem 0 1.8rem;
	padding: 1.4rem 0 0;
	border-top: 1px solid var(--vb-accent);
}

.vb-why-book-kicker,
.vb-purchase-meta span {
	margin: 0 0 .7rem !important;
	font-size: .68rem !important;
	font-weight: 700;
	letter-spacing: .11em;
	text-transform: uppercase;
}

.vb-why-book-text {
	max-width: 650px;
	margin: 0 !important;
	font-size: clamp(1.05rem, 1.45vw, 1.28rem) !important;
	line-height: 1.58 !important;
}

.vb-purchase-meta {
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin: 0 0 1rem;
}

.vb-purchase-meta span {
	margin: 0 !important;
	opacity: .62;
}

.vb-purchase-meta strong,
.vb-purchase-meta .woocommerce-Price-amount {
	font-size: .98rem !important;
	font-weight: 600 !important;
	line-height: 1.2 !important;
	color: var(--vb-ink) !important;
}

body.vb-commerce-external.single-product div.product .summary > p.price,
body.vb-commerce-external.single-product div.product .summary > span.price,
body.vb-commerce-external .ast-woocommerce-container .cart,
body.vb-commerce-external .site-header-cart,
body.vb-commerce-external .ast-site-header-cart,
body.vb-commerce-external .wc-block-mini-cart {
	display: none !important;
}

.vb-release-alert-box {
	margin: 1.5rem 0 1.8rem;
	padding-top: 1.2rem;
	border-top: 1px solid var(--vb-accent);
}

.vb-release-alert-details > summary {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 11px 20px;
	background: var(--vb-ink);
	border: 1px solid var(--vb-ink);
	color: #fff;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .065em;
	text-transform: uppercase;
	cursor: pointer;
	list-style: none;
}

.vb-release-alert-details > summary::-webkit-details-marker {
	display: none;
}

.vb-release-alert-details[open] > summary,
.vb-release-alert-details > summary:hover,
.vb-release-alert-details > summary:focus {
	background: transparent;
	color: var(--vb-ink);
}

.vb-release-alert-panel {
	max-width: 640px;
	margin-top: 18px;
	padding: 22px;
	border: 1px solid var(--vb-rule);
	background: var(--vb-paper);
}

.vb-release-alert-panel > p {
	margin-top: 0 !important;
	line-height: 1.55;
}

.vb-release-alert-form {
	display: grid;
	gap: 14px;
}

.vb-release-alert-email span {
	display: block;
	margin-bottom: 6px;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.vb-release-alert-email input {
	box-sizing: border-box;
	width: 100%;
	min-height: 48px;
	padding: 10px 12px;
	border: 1px solid var(--vb-rule);
	border-radius: 0;
	background: transparent;
	color: var(--vb-ink);
}

.vb-release-alert-consent {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 9px;
	align-items: start;
	font-size: .88rem;
	line-height: 1.45;
}

.vb-release-alert-form button {
	justify-self: start;
	min-height: 46px;
	padding: 10px 18px;
	border: 1px solid var(--vb-ink);
	border-radius: 0;
	background: transparent;
	color: var(--vb-ink);
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .07em;
	text-transform: uppercase;
}

.vb-release-alert-form button:hover,
.vb-release-alert-form button:focus {
	background: var(--vb-ink);
	color: #fff;
}

.vb-release-alert-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
}

.vb-release-alert-notice {
	max-width: 640px;
	padding: 12px 14px;
	border: 1px solid var(--vb-rule);
	font-size: .92rem !important;
}

.vb-release-alert-notice.is-success {
	border-color: var(--vb-accent);
}

.vb-inside-book-section {
	border-top: 1px solid var(--vb-rule);
}

.vb-inside-book-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.3fr) minmax(260px, .7fr);
	gap: clamp(42px, 8vw, 130px);
	align-items: center;
}

.vb-inside-book-copy h2 {
	margin: 0;
	max-width: 850px;
	font-size: clamp(2.8rem, 5.3vw, 6rem) !important;
	line-height: .94;
	letter-spacing: -.052em;
}

.vb-inside-book-copy h3 {
	margin: 32px 0 0;
	font-size: clamp(1.45rem, 2.5vw, 2.5rem);
	line-height: 1;
}

.vb-inside-book-thesis {
	max-width: 620px;
	margin: 18px 0 28px;
	font-size: clamp(1rem, 1.3vw, 1.2rem);
	line-height: 1.58;
}

.vb-inside-book-cover {
	display: block;
	border-left: 2px solid var(--vb-accent);
	padding-left: clamp(18px, 2.5vw, 36px);
}

.vb-inside-book-cover img {
	display: block;
	width: 100%;
	height: auto;
	box-shadow: none !important;
}

.vb-press-rights-intro h1 {
	margin: 0;
	max-width: 980px;
	font-size: clamp(3.2rem, 7vw, 7.5rem) !important;
	line-height: .9;
	letter-spacing: -.06em;
}

.vb-press-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	background: var(--vb-rule);
	border: 1px solid var(--vb-rule);
}

.vb-press-grid > div {
	padding: clamp(28px, 4vw, 56px);
	background: var(--vb-paper);
}

.vb-press-grid h3 {
	margin-top: 0;
	font-size: clamp(1.8rem, 3vw, 3rem);
}

.vb-press-assets,
.vb-press-authors {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1px;
	margin-top: 1px;
	background: var(--vb-rule);
	border: 1px solid var(--vb-rule);
}

.vb-press-asset,
.vb-press-author-card {
	display: grid;
	grid-template-columns: minmax(110px, 160px) minmax(0, 1fr);
	gap: clamp(20px, 3vw, 38px);
	align-items: start;
	padding: clamp(24px, 3.5vw, 44px);
	background: var(--vb-paper);
}

.vb-press-asset img,
.vb-press-author-card img {
	display: block;
	width: 100%;
	height: auto;
}

.vb-press-asset h3,
.vb-press-author-card h3 {
	margin: 0 0 10px;
	font-size: clamp(1.5rem, 2.5vw, 2.5rem);
	line-height: 1;
}

.vb-press-author-role {
	margin: 0 0 14px;
	opacity: .65;
}

.vb-rights-grid {
	display: grid;
	gap: 1px;
	background: var(--vb-rule);
	border: 1px solid var(--vb-rule);
}

.vb-rights-card {
	display: grid;
	grid-template-columns: minmax(130px, 180px) minmax(0, 1fr);
	gap: clamp(24px, 4vw, 54px);
	padding: clamp(24px, 3.5vw, 48px);
	background: var(--vb-paper);
}

.vb-rights-cover img {
	display: block;
	width: 100%;
	height: auto;
}

.vb-rights-copy h3 {
	margin: 0 0 12px;
	font-size: clamp(1.65rem, 2.7vw, 2.8rem);
	line-height: 1;
}

.vb-rights-copy h3 a {
	color: inherit;
	text-decoration: none;
}

.vb-rights-author {
	margin: 0 0 22px;
	opacity: .7;
}

.vb-rights-copy p:not(.vb-rights-author) {
	display: grid;
	grid-template-columns: minmax(150px, .7fr) minmax(0, 1.3fr);
	gap: 20px;
	margin: 0;
	padding: 10px 0;
	border-top: 1px solid var(--vb-rule);
}

.vb-rights-copy p span {
	font-size: .68rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	opacity: .65;
}

.vb-rights-copy p strong {
	font-weight: 560;
}

.vb-journal-connections {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 24px;
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--vb-accent);
}

.vb-journal-connections .vb-kicker {
	width: 100%;
}

.vb-journal-connections a {
	color: var(--vb-ink);
	font-weight: 600;
	text-decoration: none;
	border-bottom: 1px solid currentColor;
}

.vb-pdf-flipbook-stage {
	min-width: 0;
	min-height: 0;
}

.vb-pdf-flipbook-book {
	display: block;
	max-width: 100%;
	max-height: 100%;
	margin: 0 auto;
}

.vb-pdf-flipbook-book .stf__parent,
.vb-pdf-flipbook-book canvas {
	max-width: none !important;
	max-height: none !important;
}

@media (max-width: 800px) {
	.vb-inside-book-grid,
	.vb-press-grid,
	.vb-press-assets,
	.vb-press-authors,
	.vb-rights-card {
		grid-template-columns: 1fr;
	}

	.vb-inside-book-cover {
		max-width: 320px;
	}

	.vb-rights-card,
	.vb-press-asset,
	.vb-press-author-card {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.vb-rights-cover {
		max-width: 180px;
	}

	.vb-rights-copy p:not(.vb-rights-author) {
		grid-template-columns: 1fr;
		gap: 5px;
	}
}

@media (max-width: 720px) {
	.vb-architecture-012 .vb-home-hero .vb-hero-note {
		grid-column: 1 / 13;
		grid-row: auto;
		max-width: 36rem !important;
		padding-left: 0;
	}
}

/* --------------------------------------------------------------
   VARCHI BOOKS 0.12.2 — Layout Refinement
   Wider editorial field, curated home rhythm, open research lines.
-------------------------------------------------------------- */

/* The 0.12 home is an editorial field, not a narrow WordPress content column. */
body.vb-architecture-012.vb-site-role-home .vb-site-section,
body.vb-architecture-012.vb-site-role-home_en .vb-site-section {
	box-sizing: border-box;
	width: min(100%, 1720px) !important;
	max-width: 1720px !important;
	padding-left: clamp(30px, 3.2vw, 64px);
	padding-right: clamp(30px, 3.2vw, 64px);
}

/* Hero remains the only monumental typographic event. */
body.vb-architecture-012.vb-site-role-home .vb-section-head h2,
body.vb-architecture-012.vb-site-role-home_en .vb-section-head h2 {
	max-width: 900px;
	font-size: clamp(2.35rem, 4.15vw, 4.8rem) !important;
	line-height: .96 !important;
	letter-spacing: -.043em;
}

body.vb-architecture-012.vb-site-role-home .vb-site-section,
body.vb-architecture-012.vb-site-role-home_en .vb-site-section {
	padding-top: clamp(68px, 7vw, 112px);
	padding-bottom: clamp(68px, 7vw, 112px);
}

body.vb-architecture-012.vb-site-role-home .vb-section-head,
body.vb-architecture-012.vb-site-role-home_en .vb-section-head {
	margin-bottom: clamp(42px, 4.5vw, 70px);
}

/* ORA: use the full field, but keep covers at a deliberate editorial scale. */
body.vb-architecture-012 .vb-home-now .vb-home-now-grid {
	width: 100%;
	max-width: none !important;
	gap: clamp(34px, 4vw, 72px);
}

body.vb-architecture-012 .vb-home-now .vb-home-now-grid.vb-home-now-count-1 {
	grid-template-columns: minmax(280px, 420px) !important;
	justify-content: start !important;
}

body.vb-architecture-012 .vb-home-now .vb-home-now-grid.vb-home-now-count-2 {
	grid-template-columns: repeat(2, minmax(280px, 380px)) !important;
	justify-content: space-between !important;
}

body.vb-architecture-012 .vb-home-now .vb-home-now-grid.vb-home-now-count-3 {
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	justify-content: stretch !important;
}

body.vb-architecture-012 .vb-home-now .vb-home-now-grid.vb-home-now-count-4 {
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	justify-content: stretch !important;
}

body.vb-architecture-012 .vb-home-now .vb-book-statement {
	max-width: 30ch;
	margin-top: 18px;
	font-size: clamp(.98rem, 1.05vw, 1.08rem);
	line-height: 1.52;
}

/* Lines of enquiry: an index, not three boxed categories. */
body.vb-architecture-012 .vb-series-section .vb-series-grid {
	width: 100%;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(42px, 5vw, 86px);
	background: transparent !important;
	border: 0 !important;
}

body.vb-architecture-012 .vb-series-section .vb-series-card {
	position: relative;
	min-height: 330px;
	padding: clamp(42px, 4vw, 62px) 0 0 !important;
	border: 0 !important;
	border-top: 1px solid var(--vb-rule) !important;
	background: transparent !important;
	overflow: visible;
}

body.vb-architecture-012 .vb-series-section .vb-series-card::after {
	content: "";
	position: absolute;
	top: -1px;
	left: clamp(18px, 1.7vw, 30px);
	right: auto;
	width: 2px;
	height: 46px;
	background: var(--vb-accent);
	transform: skewX(-8deg);
	transform-origin: top;
	transition: height 280ms cubic-bezier(.2,.65,.2,1);
}

body.vb-architecture-012 .vb-series-section .vb-series-card:hover::after,
body.vb-architecture-012 .vb-series-section .vb-series-card:focus-within::after {
	height: 74px;
}

body.vb-architecture-012 .vb-series-section .vb-series-count {
	margin-bottom: 24px;
}

body.vb-architecture-012 .vb-series-section .vb-series-card h3 {
	max-width: 12ch;
	margin-bottom: 26px;
	font-size: clamp(2rem, 2.75vw, 3.35rem);
	line-height: .98;
}

body.vb-architecture-012 .vb-series-section .vb-series-card > p:not(.vb-series-count) {
	max-width: 39ch;
	margin-bottom: 34px;
	line-height: 1.58;
}

body.vb-architecture-012 .vb-series-section .vb-series-card .vb-text-link {
	margin-top: auto;
}

@media (max-width: 1080px) {
	body.vb-architecture-012 .vb-home-now .vb-home-now-grid.vb-home-now-count-3,
	body.vb-architecture-012 .vb-home-now .vb-home-now-grid.vb-home-now-count-4 {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}

	body.vb-architecture-012 .vb-series-section .vb-series-grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	body.vb-architecture-012 .vb-series-section .vb-series-card {
		min-height: 0;
		padding-bottom: 10px !important;
	}
}

@media (max-width: 700px) {
	body.vb-architecture-012.vb-site-role-home .vb-site-section,
	body.vb-architecture-012.vb-site-role-home_en .vb-site-section {
		width: 100% !important;
		padding-left: 22px;
		padding-right: 22px;
	}

	body.vb-architecture-012 .vb-home-now .vb-home-now-grid,
	body.vb-architecture-012 .vb-home-now .vb-home-now-grid.vb-home-now-count-1,
	body.vb-architecture-012 .vb-home-now .vb-home-now-grid.vb-home-now-count-2,
	body.vb-architecture-012 .vb-home-now .vb-home-now-grid.vb-home-now-count-3,
	body.vb-architecture-012 .vb-home-now .vb-home-now-grid.vb-home-now-count-4 {
		grid-template-columns: 1fr !important;
		justify-content: stretch !important;
	}

	body.vb-architecture-012.vb-site-role-home .vb-section-head h2,
	body.vb-architecture-012.vb-site-role-home_en .vb-section-head h2 {
		font-size: clamp(2.25rem, 12vw, 3.5rem) !important;
	}
}


/* 0.12.5 — Footer navigation mirrors the primary menu. Press & Rights is
 * institutional metadata, positioned between copyright and privacy. */
body.vb-architecture-012 .vb-footer-meta > a:first-of-type {
	margin-left: auto;
}

body.vb-architecture-012 .vb-footer-meta > a + a {
	margin-left: clamp(24px, 4vw, 64px);
}

@media (max-width: 720px) {
	body.vb-architecture-012 .vb-footer-meta > a:first-of-type,
	body.vb-architecture-012 .vb-footer-meta > a + a {
		margin-left: 0;
	}
}
