/* ==========================================================================
   Author Vikrant Pande — Main Stylesheet
   ========================================================================== */

:root {
	--avp-burgundy: #4A0E0E;
	--avp-burgundy-dark: #2D0909;
	--avp-cream: #F9F4ED;
	--avp-cream-alt: #F5F0E6;
	--avp-tan: #E5D1BE;
	--avp-tan-muted: #D2B48C;
	--avp-black: #1A1A1A;
	--avp-white: #FFFFFF;
	--avp-font-heading: 'Playfair Display', Georgia, serif;
	--avp-font-body: 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
	--avp-font-accent: 'Great Vibes', 'Playfair Display', cursive;
	--avp-container: 1200px;
	--avp-gap: clamp(1.5rem, 3vw, 3rem);
	--avp-radius: 4px;
	--avp-shadow: 0 12px 40px rgba(45, 9, 9, 0.12);
	--avp-transition: 0.2s ease;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--avp-font-body);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--avp-black);
	background: var(--avp-cream);
}

img {
	max-width: 100%;
	height: auto;
	display: block;
}

a {
	color: var(--avp-burgundy);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.15em;
}

a:hover,
a:focus-visible {
	color: var(--avp-burgundy-dark);
}

h1, h2, h3, h4 {
	font-family: var(--avp-font-heading);
	line-height: 1.15;
	font-weight: 700;
}

.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;
}

.skip-link:focus {
	position: fixed;
	top: 1rem;
	left: 1rem;
	z-index: 9999;
	width: auto;
	height: auto;
	padding: 0.75rem 1rem;
	clip: auto;
	background: var(--avp-white);
	color: var(--avp-burgundy);
	box-shadow: var(--avp-shadow);
}

.avp-container {
	width: min(100% - 2rem, var(--avp-container));
	margin-inline: auto;
}

/* Header
   ========================================================================== */

.avp-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	padding: 1.25rem 0;
}

.avp-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
}

.avp-header__start {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 1.25rem 2rem;
}

.avp-header__brand {
	flex-shrink: 0;
}

.avp-header .custom-logo-link img,
.avp-logo img {
	display: block;
	height: auto;
	max-height: 48px;
	width: auto;
}

.avp-logo--text {
	text-decoration: none;
	color: inherit;
}

.avp-logo__name {
	font-family: var(--avp-font-heading);
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.avp-nav__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.avp-nav__list a {
	color: inherit;
	text-decoration: none;
	font-size: 0.95rem;
	letter-spacing: 0.02em;
}

.avp-nav__list a:hover,
.avp-nav__list a:focus-visible,
.avp-nav__list .current-menu-item > a {
	text-decoration: underline;
}

.avp-nav-toggle {
	display: none;
	background: transparent;
	border: 0;
	padding: 0.5rem;
	cursor: pointer;
}

.avp-nav-toggle__bar {
	display: block;
	width: 24px;
	height: 2px;
	margin: 5px 0;
	background: currentColor;
}

body.avp-header-light .avp-header,
body.avp-header-light .avp-nav-toggle {
	color: var(--avp-white);
}

body.avp-header-dark .avp-header,
body.avp-header-dark .avp-nav-toggle {
	color: var(--avp-black);
}

/* Sections
   ========================================================================== */

.avp-section--burgundy {
	background: var(--avp-burgundy);
	color: var(--avp-white);
}

.avp-section--cream {
	background: var(--avp-cream);
}

.avp-section--white {
	background: var(--avp-white);
}

.avp-eyebrow {
	font-family: var(--avp-font-heading);
	font-size: 0.875rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	margin: 0 0 0.75rem;
	opacity: 0.9;
}

.avp-eyebrow--tan {
	color: var(--avp-tan-muted);
}

.avp-section-title {
	font-size: clamp(2rem, 4vw, 3rem);
	margin: 0 0 1rem;
}

.avp-section-title__accent {
	display: block;
	font-family: var(--avp-font-accent);
	font-weight: 400;
	font-size: clamp(2.5rem, 5vw, 4rem);
	line-height: 1;
	color: var(--avp-tan-muted);
	margin-bottom: 0.15em;
}

.avp-section--burgundy .avp-section-title__accent {
	color: rgba(255, 255, 255, 0.75);
}

.avp-section-title__rest {
	display: block;
}

.avp-section-title--light,
.avp-section-title--light .avp-section-title__rest {
	color: var(--avp-white);
}

.avp-prose > *:first-child { margin-top: 0; }
.avp-prose > *:last-child { margin-bottom: 0; }

/* Buttons
   ========================================================================== */

.avp-btn {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.25rem;
	border: 1px solid var(--avp-tan-muted);
	background: transparent;
	color: inherit;
	font-family: var(--avp-font-body);
	font-size: 0.95rem;
	text-decoration: none;
	cursor: pointer;
	transition: background var(--avp-transition), color var(--avp-transition);
}

.avp-btn:hover,
.avp-btn:focus-visible {
	background: var(--avp-burgundy);
	border-color: var(--avp-burgundy);
	color: var(--avp-white);
}

.avp-btn--solid {
	background: var(--avp-tan);
	border-color: var(--avp-tan);
	color: var(--avp-black);
}

.avp-btn--solid:hover,
.avp-btn--solid:focus-visible {
	background: var(--avp-tan-muted);
	border-color: var(--avp-tan-muted);
	color: var(--avp-black);
}

.avp-btn--ghost-light {
	border-color: rgba(255, 255, 255, 0.6);
	color: var(--avp-white);
}

.avp-btn--ghost-light:hover,
.avp-btn--ghost-light:focus-visible {
	background: var(--avp-white);
	color: var(--avp-burgundy);
}

.avp-btn--small {
	padding: 0.5rem 1rem;
	font-size: 0.85rem;
}

.avp-link-arrow {
	color: inherit;
	text-decoration: none;
	font-size: 0.95rem;
}

.avp-link-arrow:hover,
.avp-link-arrow:focus-visible {
	text-decoration: underline;
}

/* Hero
   ========================================================================== */

.avp-hero {
	padding: 0;
}

.avp-hero--split {
	height: clamp(420px, 56vh, 580px);
	max-height: 580px;
	overflow: hidden;
}

.avp-hero--home.avp-hero--overlay {
	position: relative;
	overflow: hidden;
	width: 100%;
	height: clamp(460px, calc(100svh - 5.5rem), 720px);
	max-height: clamp(460px, calc(100svh - 5.5rem), 720px);
	background: var(--avp-burgundy);
	--avp-hero-text-zone: 34%;
	color: var(--avp-white);
}

.avp-hero--home.avp-hero--overlay .avp-hero__bg {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.avp-hero--home.avp-hero--overlay .avp-hero__bg picture,
.avp-hero--home.avp-hero--overlay .avp-hero__bg-img {
	display: block;
	width: 100%;
	height: 100%;
}

.avp-hero--home.avp-hero--overlay .avp-hero__bg-img {
	object-fit: fill;
	object-position: center;
}

.avp-hero--home.avp-hero--overlay .avp-hero__overlay-inner {
	position: absolute;
	inset: 0 auto 0 0;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: var(--avp-hero-text-zone);
	max-width: 100%;
	height: 100%;
	margin: 0;
	padding: clamp(5rem, 9vw, 6rem) clamp(1rem, 2.5vw, 1.75rem) clamp(1.25rem, 2vw, 1.5rem) clamp(1rem, 2.5vw, 2rem);
	box-sizing: border-box;
	overflow: hidden;
}

.avp-hero--home.avp-hero--overlay .avp-hero__overlay-inner .avp-hero__title,
.avp-hero--home.avp-hero--overlay .avp-hero__overlay-inner .avp-hero__text,
.avp-hero--home.avp-hero--overlay .avp-hero__overlay-inner .avp-eyebrow {
	max-width: 100%;
}

.avp-hero--home.avp-hero--overlay .avp-hero__title {
	font-size: clamp(1.75rem, 3.6vw, 3rem);
	line-height: 1.08;
	margin-bottom: 0.85rem;
}

.avp-hero--home.avp-hero--overlay .avp-hero__text {
	font-size: clamp(0.95rem, 1.5vw, 1.05rem);
	line-height: 1.55;
	opacity: 0.92;
}

.avp-hero--home.avp-hero--overlay .avp-eyebrow {
	font-size: clamp(0.8rem, 1.2vw, 0.95rem);
}

.avp-hero--home.avp-hero--split {
	position: relative;
	overflow: hidden;
	--avp-hero-home-height: clamp(400px, calc(100svh - 5.5rem), 540px);
	height: var(--avp-hero-home-height);
	max-height: var(--avp-hero-home-height);
}

.avp-hero--home .avp-hero__split {
	display: grid;
	grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
	height: 100%;
	max-height: var(--avp-hero-home-height);
	min-height: 0;
}

.avp-hero--home .avp-hero__visual {
	height: 100%;
	max-height: var(--avp-hero-home-height);
	min-height: 0;
}

.avp-hero--home .avp-hero__panel {
	padding: clamp(5rem, 9vw, 6rem) 0 clamp(1.25rem, 2vw, 1.5rem);
	overflow: visible;
}

.avp-hero--home .avp-hero__panel-inner {
	width: auto;
	max-width: min(100%, calc(100% - clamp(6rem, 11vw, 9rem)));
	margin-inline: 0;
	padding: 0 clamp(1.25rem, 3vw, 2rem) 0 max(1rem, calc((100vw - var(--avp-container)) / 2));
	box-sizing: border-box;
}

.avp-hero--home .avp-hero__title {
	font-size: clamp(2rem, 4.2vw, 3.25rem);
	line-height: 1.08;
	margin-bottom: 0.85rem;
	max-width: 22ch;
}

.avp-hero--home .avp-hero__text {
	font-size: 1.05rem;
	line-height: 1.55;
	max-width: 38ch;
	opacity: 0.92;
}

.avp-hero--home .avp-hero__book-float {
	position: absolute;
	top: 50%;
	right: 0;
	bottom: auto;
	left: auto;
	transform: translate(50%, -50%);
	width: clamp(210px, 16vw, 252px);
	z-index: 6;
	margin: 0;
	box-shadow: var(--avp-shadow);
}

.avp-hero--home .avp-hero__scene-img img,
.avp-hero--home .avp-hero__scene-img {
	object-position: 35% center;
}

.avp-hero--books.avp-hero--split,
.avp-hero--promo.avp-hero--split {
	position: relative;
	overflow: hidden;
	--avp-hero-books-height: clamp(400px, calc(100svh - 5.5rem), 540px);
	height: var(--avp-hero-books-height);
	max-height: var(--avp-hero-books-height);
}

.avp-hero--books .avp-hero__split,
.avp-hero--promo .avp-hero__split {
	display: grid;
	grid-template-columns: minmax(0, 11fr) minmax(0, 9fr);
	height: 100%;
	max-height: var(--avp-hero-books-height);
	min-height: 0;
}

.avp-hero--books .avp-hero__visual,
.avp-hero--promo .avp-hero__visual {
	height: 100%;
	max-height: var(--avp-hero-books-height);
	min-height: 0;
}

.avp-hero--books .avp-hero__panel,
.avp-hero--promo .avp-hero__panel {
	padding: clamp(5rem, 9vw, 6rem) 0 clamp(1.25rem, 2vw, 1.5rem);
	overflow: visible;
}

.avp-hero--books .avp-hero__panel-inner,
.avp-hero--promo .avp-hero__panel-inner {
	width: auto;
	max-width: min(100%, calc(100% - clamp(4rem, 8vw, 6rem)));
	margin-inline: 0;
	padding: 0 clamp(1.25rem, 3vw, 2rem) 0 max(1rem, calc((100vw - var(--avp-container)) / 2));
	box-sizing: border-box;
}

.avp-hero--books .avp-hero__title,
.avp-hero--promo .avp-hero__title {
	font-size: clamp(2rem, 4.2vw, 3.25rem);
	line-height: 1.08;
	margin-bottom: 0.85rem;
	max-width: 22ch;
}

.avp-hero--books .avp-hero__text,
.avp-hero--promo .avp-hero__text {
	font-size: 1.05rem;
	line-height: 1.55;
	max-width: 38ch;
	opacity: 0.92;
}

.avp-hero--books .avp-hero__promo-img img,
.avp-hero--promo .avp-hero__promo-img img {
	object-position: center center;
}

.avp-hero__split {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	height: 100%;
	min-height: 0;
}

.avp-hero__split--reverse .avp-hero__panel {
	order: 1;
}

.avp-hero__split--reverse .avp-hero__visual {
	order: 2;
}

.avp-hero__panel {
	position: relative;
	display: flex;
	align-items: center;
	height: 100%;
	min-height: 0;
	padding: clamp(5rem, 9vw, 6.5rem) 0 clamp(1.5rem, 3vw, 2rem);
	overflow: visible;
}

.avp-hero--home .avp-hero__panel,
.avp-hero--books .avp-hero__panel,
.avp-hero--promo .avp-hero__panel {
	background: var(--avp-burgundy);
	color: var(--avp-white);
}

.avp-hero__panel-inner {
	width: min(100% - 2rem, calc(var(--avp-container) / 2));
	margin-inline: auto 0;
	padding-left: max(1rem, calc((100vw - var(--avp-container)) / 2));
}

.avp-hero__visual {
	position: relative;
	height: 100%;
	min-height: 0;
	overflow: hidden;
}

.avp-hero__visual .wp-block-image,
.avp-hero__visual .avp-hero__scene-img {
	height: 100%;
	min-height: 0;
	margin: 0;
}

.avp-hero__scene-img,
.avp-hero__promo-img,
.avp-hero__books-img,
.avp-hero__scene-img img,
.avp-hero__promo-img img,
.avp-hero__books-img img {
	width: 100%;
	height: 100%;
	min-height: 0;
	max-height: 100%;
	object-fit: cover;
	object-position: center center;
}

.avp-hero__book-float {
	position: absolute;
	right: clamp(-5rem, -8vw, -2.5rem);
	bottom: clamp(2rem, 8vw, 4rem);
	width: min(240px, 45%);
	z-index: 5;
	box-shadow: var(--avp-shadow);
	margin: 0;
}

.avp-hero__book-img {
	width: 100%;
	aspect-ratio: 2/3;
	object-fit: cover;
}

.avp-hero__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: var(--avp-gap);
	align-items: center;
	padding: clamp(6rem, 12vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
}

.avp-hero__title {
	font-size: clamp(2.25rem, 5vw, 3.75rem);
	margin: 0 0 1rem;
}

.avp-hero__text {
	font-size: 1.05rem;
	max-width: 34ch;
	margin: 0;
	opacity: 0.95;
}

.avp-hero__media--split {
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 1rem;
	align-items: end;
}

.avp-hero__book-img,
.avp-hero__scene-img,
.avp-hero__promo-img,
.avp-hero__books-img {
	width: 100%;
	object-fit: cover;
}

.avp-genre-tags {
	display: inline-flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.35rem 0.75rem;
	margin-top: 1.5rem;
	padding: 0.65rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.35);
	font-size: 0.85rem;
}

.avp-genre-tags__sep {
	opacity: 0.6;
}

/* About
   ========================================================================== */

.avp-about {
	padding: clamp(3rem, 6vw, 4.5rem) 0;
}

.avp-about__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	gap: var(--avp-gap);
	align-items: center;
}

.avp-about__images {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.avp-about__images--stack {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	max-width: 320px;
}

.avp-about__images--stack .avp-about__img--primary,
.avp-about__images--stack .avp-about__img--secondary,
.avp-about__images--stack .wp-block-image {
	width: 100%;
	margin: 0;
}

.avp-about__img,
.avp-about__img img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 320 / 380;
	object-fit: cover;
}

/* Bestseller
   ========================================================================== */

.avp-bestseller {
	position: relative;
	padding: clamp(3.5rem, 7vw, 5rem) 0 clamp(4.5rem, 9vw, 6.5rem);
	overflow: hidden;
}

.avp-bestseller .avp-container {
	width: min(100% - 2rem, calc(var(--avp-container) + 5rem));
	max-width: 1280px;
}

.avp-bestseller__grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: clamp(1rem, 2vw, 1.75rem);
	width: 100%;
	max-width: none;
}

.avp-bestseller__grid > .wp-block-column {
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	flex-basis: auto !important;
}

.avp-bestseller__cover,
.avp-bestseller__cover img {
	display: block;
	width: 100%;
	min-height: clamp(300px, 32vw, 400px);
	max-height: 400px;
	height: auto;
	aspect-ratio: 2 / 3;
	object-fit: cover;
}

.avp-bestseller__link {
	display: block;
	text-decoration: none;
}

.avp-bestseller__watermark {
	position: absolute;
	bottom: -0.15em;
	left: 50%;
	transform: translateX(-50%);
	font-family: var(--avp-font-heading);
	font-size: clamp(4rem, 14vw, 10rem);
	font-weight: 700;
	color: rgba(255, 255, 255, 0.08);
	white-space: nowrap;
	margin: 0;
	pointer-events: none;
	user-select: none;
}

/* Story section
   ========================================================================== */

.avp-story--home .avp-story__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 0;
	align-items: stretch;
	max-width: none;
}

.avp-story--home .avp-story__media,
.avp-story--home .avp-story__media .wp-block-image {
	height: 100%;
	min-height: 100%;
}

.avp-story--home .avp-story__img,
.avp-story--home .avp-story__img img {
	width: 100%;
	height: 100%;
	min-height: clamp(380px, 42vw, 480px);
	object-fit: cover;
}

.avp-story--home .avp-story__content {
	padding: clamp(2rem, 4vw, 3rem) clamp(1.5rem, 3vw, 2.5rem);
	padding-right: max(1.5rem, calc((100vw - var(--avp-container)) / 2));
}

.avp-story--home .avp-story__content p {
	margin-bottom: 0.85rem;
}

.avp-story--home .avp-stats {
	margin-top: 1.5rem;
	padding-top: 1.5rem;
}

.avp-story {
	padding: 0;
}

.avp-story__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 0;
	align-items: stretch;
	max-width: none;
}

.avp-story__media {
	min-height: 100%;
}

.avp-story__content {
	padding: clamp(3rem, 7vw, 5rem) clamp(1.5rem, 4vw, 3rem);
	padding-right: max(1.5rem, calc((100vw - var(--avp-container)) / 2));
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.avp-story__img {
	width: 100%;
	min-height: clamp(420px, 52vh, 620px);
	height: 100%;
	object-fit: cover;
}

.avp-story__subtitle {
	color: var(--avp-tan-muted);
	margin: -0.5rem 0 1rem;
}

.avp-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 2rem;
	margin-top: 2.5rem;
	padding-top: 2rem;
	border-top: 1px solid var(--avp-tan);
}

.avp-stats__number {
	display: block;
	font-family: var(--avp-font-heading);
	font-size: clamp(2rem, 4vw, 3rem);
	font-weight: 700;
	line-height: 1;
}

.avp-stats__item + .avp-stats__item {
	border-left: 1px solid var(--avp-tan);
	padding-left: 2rem;
}

.avp-stats__label {
	display: block;
	font-size: 0.9rem;
	margin-top: 0.35rem;
	max-width: 14ch;
}

/* Featured CTA
   ========================================================================== */

.avp-featured-cta {
	position: relative;
	padding: clamp(4rem, 8vw, 5.5rem) 0;
	background: var(--avp-white);
	overflow: visible;
}

.avp-featured-cta__burgundy {
	position: absolute;
	left: 50%;
	top: clamp(2.5rem, 5vw, 3.5rem);
	bottom: clamp(2.5rem, 5vw, 3.5rem);
	width: min(780px, 64%);
	transform: translateX(-52%);
	background: var(--avp-burgundy);
	z-index: 0;
	pointer-events: none;
}

.avp-featured-cta__grid {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr);
	gap: 0;
	align-items: center;
	min-height: clamp(340px, 36vw, 440px);
}

.avp-featured-cta__grid > .wp-block-column {
	width: 100%;
	min-width: 0;
}

.avp-featured-cta__cover {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin-left: clamp(-2.5rem, -5vw, -1rem);
	z-index: 3;
}

.avp-featured-cta__img,
.avp-featured-cta__cover .wp-block-image {
	margin: 0;
}

.avp-featured-cta__img,
.avp-featured-cta__img img {
	width: min(100%, 260px);
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.avp-featured-cta__img img {
	aspect-ratio: 2 / 3;
	object-fit: cover;
}

.avp-featured-cta__card {
	background: var(--avp-cream);
	padding: clamp(2rem, 4vw, 2.75rem) clamp(2rem, 4vw, 3rem);
	box-shadow: var(--avp-shadow);
	margin-left: clamp(-2.5rem, -5vw, -1.5rem);
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.avp-featured-cta__card .avp-section-title {
	margin-bottom: 1.25rem;
}

.avp-featured-cta__card p {
	margin: 0 0 1rem;
	color: var(--avp-black);
	line-height: 1.65;
}

.avp-featured-cta__card .wp-block-buttons {
	margin-top: 0.5rem;
}

.avp-featured-cta .wp-block-button.is-style-avp-solid .wp-block-button__link {
	background: var(--avp-burgundy);
	border: 1px solid var(--avp-burgundy);
	color: var(--avp-white);
	border-radius: var(--avp-radius);
	padding: 0.75rem 1.5rem;
	font-size: 0.95rem;
	text-decoration: none;
}

.avp-featured-cta .wp-block-button.is-style-avp-solid .wp-block-button__link:hover {
	background: var(--avp-burgundy-dark);
	border-color: var(--avp-burgundy-dark);
}

.avp-featured-cta .avp-btn {
	margin-top: 0.5rem;
}

/* Event promo
   ========================================================================== */

.avp-event-promo {
	padding: clamp(3rem, 8vw, 6rem) 0;
}

.avp-event-promo__grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: var(--avp-gap);
	align-items: center;
}

.avp-event-promo__img {
	width: 100%;
	min-height: 360px;
	object-fit: cover;
}

.avp-event-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 1.5rem;
	margin: 1.5rem 0;
	padding: 1rem 0;
	border-block: 1px solid var(--avp-tan);
}

.avp-event-meta__divider {
	width: 1px;
	height: 2.5rem;
	background: var(--avp-tan-muted);
}

.avp-event-meta__label {
	display: block;
	font-size: 0.8rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--avp-tan-muted);
}

.avp-event-meta__date,
.avp-event-meta__location {
	flex: 1 1 180px;
}

/* Books showcase
   ========================================================================== */

.avp-books-showcase {
	padding: 0;
}

.avp-books-showcase__head {
	padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(1.5rem, 3vw, 2rem);
}

.avp-books-showcase__band {
	padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(3rem, 7vw, 5rem);
}

.avp-books-showcase__header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
}

.avp-books-showcase__header .avp-section-title {
	margin: 0;
	font-size: clamp(2rem, 4vw, 3rem);
}

.avp-books-showcase__header .avp-link-arrow {
	white-space: nowrap;
}

.avp-books-showcase__grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1.5rem;
}

.avp-book-card {
	text-align: center;
}

.avp-book-card__cover {
	width: 100%;
	aspect-ratio: 2/3;
	object-fit: cover;
	margin-bottom: 1rem;
}

.avp-book-card__caption {
	font-size: 0.9rem;
	margin: 0 0 1rem;
	color: rgba(255, 255, 255, 0.85);
}

.avp-section--cream .avp-book-card__caption {
	color: var(--avp-black);
}

/* Featured book block
   ========================================================================== */

.avp-featured-book {
	padding: clamp(3rem, 8vw, 6rem) 0;
}

.avp-featured-book__grid {
	display: grid;
	grid-template-columns: 0.85fr 1.15fr;
	gap: var(--avp-gap);
	align-items: start;
}

.avp-featured-book__img {
	max-width: 360px;
	box-shadow: var(--avp-shadow);
}

.avp-quote {
	margin: 2rem 0;
	padding: 0;
	border: 0;
	font-family: var(--avp-font-heading);
	font-size: 1.25rem;
	color: var(--avp-tan-muted);
}

.avp-quote p::before { content: '\201C'; }
.avp-quote p::after { content: '\201D'; }

.avp-quote cite {
	display: block;
	font-family: var(--avp-font-body);
	font-size: 0.9rem;
	font-style: normal;
	margin-top: 0.75rem;
	color: var(--avp-black);
}

.avp-stars {
	color: var(--avp-tan-muted);
	letter-spacing: 0.1em;
	font-size: 0.95rem;
	margin-top: 0.35rem;
}

/* Contact
   ========================================================================== */

.avp-contact {
	padding: clamp(3rem, 8vw, 6rem) 0;
}

.avp-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: clamp(2rem, 5vw, 4rem);
	align-items: start;
}

.avp-contact__info .avp-section-title {
	font-size: clamp(2rem, 4vw, 3rem);
	margin-bottom: 1rem;
}

.avp-contact__intro {
	max-width: 42ch;
	margin: 0 0 2rem;
}

.avp-contact-list {
	margin: 0;
}

.avp-contact-list__item {
	display: grid;
	grid-template-columns: 2rem 1fr;
	gap: 1rem 1.25rem;
	align-items: start;
	padding: 1.25rem 0;
	border-bottom: 1px solid var(--avp-tan);
}

.avp-contact-list__icon {
	display: block;
	width: 1.35rem;
	height: 1.35rem;
	margin-top: 0.15rem;
	background-color: var(--avp-tan-muted);
	mask: var(--avp-contact-icon) center / contain no-repeat;
	-webkit-mask: var(--avp-contact-icon) center / contain no-repeat;
}

.avp-contact-list__body dt {
	font-size: 0.85rem;
	text-transform: uppercase;
	letter-spacing: 0.06em;
	color: var(--avp-tan-muted);
	margin-bottom: 0.35rem;
}

.avp-contact-list__body dd {
	margin: 0;
	line-height: 1.6;
}

.avp-contact-list__body a {
	color: inherit;
	text-decoration: none;
}

.avp-contact-list__body a:hover,
.avp-contact-list__body a:focus-visible {
	text-decoration: underline;
}

.avp-contact__social {
	margin-top: 2rem;
}

.avp-contact__social .avp-social {
	margin-top: 0.75rem;
}

.avp-contact__form-card {
	background: var(--avp-white);
	padding: clamp(1.75rem, 4vw, 2.5rem);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.avp-contact__form-title {
	font-family: var(--avp-font-heading);
	font-size: clamp(1.35rem, 2.5vw, 1.75rem);
	margin: 0 0 1.5rem;
}

.avp-form-field {
	display: block;
	margin-bottom: 1rem;
}

.avp-form-field__label {
	display: block;
	margin-bottom: 0.5rem;
	font-size: 0.95rem;
}

.avp-fallback-form label,
.wpcf7 label {
	display: block;
	margin-bottom: 1rem;
	font-size: 0.95rem;
}

.avp-fallback-form input,
.avp-fallback-form textarea,
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 textarea {
	width: 100%;
	margin-top: 0;
	padding: 0.85rem 1rem;
	border: 0;
	background: var(--avp-tan);
	font: inherit;
	border-radius: 0;
}

.avp-fallback-form textarea,
.wpcf7 textarea {
	min-height: 9rem;
	resize: vertical;
}

.wpcf7 form {
	display: grid;
	gap: 0.25rem;
}

.wpcf7 .wpcf7-submit,
.avp-btn--contact-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.85rem 1.75rem;
	border: 0;
	background: var(--avp-tan);
	color: var(--avp-black);
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	margin-top: 0.5rem;
}

.wpcf7 .wpcf7-submit:hover,
.wpcf7 .wpcf7-submit:focus-visible,
.avp-btn--contact-submit:hover,
.avp-btn--contact-submit:focus-visible {
	background: var(--avp-tan-muted);
}

.avp-story--contact .avp-story__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 0;
	align-items: stretch;
	max-width: none;
}

.avp-story--contact .avp-story__media,
.avp-story--contact .avp-story__media .wp-block-image {
	height: 100%;
	min-height: 100%;
}

.avp-story--contact .avp-story__img,
.avp-story--contact .avp-story__img img {
	width: 100%;
	height: 100%;
	min-height: clamp(380px, 42vw, 480px);
	object-fit: cover;
}

.avp-story--contact .avp-story__content {
	padding: clamp(2.5rem, 5vw, 4rem) clamp(1.5rem, 3vw, 2.5rem);
	padding-right: max(1.5rem, calc((100vw - var(--avp-container)) / 2));
}

.avp-story--contact .avp-story__content p {
	margin-bottom: 0.85rem;
}

.avp-story--contact .wp-block-buttons {
	margin-top: 0.5rem;
}

.wpcf7-not-valid-tip {
	color: var(--avp-burgundy);
	font-size: 0.85rem;
}

.wpcf7-response-output {
	margin: 1rem 0 0;
	padding: 0.75rem 1rem;
	border: 1px solid var(--avp-tan) !important;
}

.avp-form-row--split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
}

.avp-form-note {
	font-size: 0.9rem;
	color: #666;
}

/* Newsletter
   ========================================================================== */

.avp-newsletter {
	padding: 2rem 0;
	background: var(--avp-burgundy-dark);
	color: var(--avp-white);
	text-align: center;
}

.avp-newsletter__title {
	font-family: var(--avp-font-heading);
	margin: 0 0 1rem;
}

.avp-newsletter__form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
	justify-content: center;
	max-width: 520px;
	margin-inline: auto;
}

.avp-newsletter__form input[type="email"] {
	flex: 1 1 220px;
	padding: 0.75rem 1rem;
	border: 0;
}

/* Social
   ========================================================================== */

.avp-social {
	display: flex;
	gap: 0.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.avp-social__link {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	background: var(--avp-black);
	color: var(--avp-white);
	text-decoration: none;
}

.avp-social__link::before {
	content: '';
	width: 18px;
	height: 18px;
	background-color: var(--avp-white);
	mask: var(--avp-social-icon) center / contain no-repeat;
	-webkit-mask: var(--avp-social-icon) center / contain no-repeat;
}

.avp-section--burgundy .avp-social__link,
.avp-footer .avp-social__link {
	background: var(--avp-black);
}

/* Footer
   ========================================================================== */

.avp-footer {
	background: var(--avp-tan);
	padding: 2rem 0;
}

.avp-footer__inner {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	gap: 1rem;
	align-items: center;
}

.avp-footer__menu {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem 1.5rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.avp-footer__menu a {
	color: var(--avp-black);
	text-decoration: none;
}

.avp-footer__copy {
	margin: 0;
	text-align: center;
	font-size: 0.9rem;
}

.avp-footer .avp-social {
	justify-self: end;
}

/* Blog
   ========================================================================== */

.avp-blog__layout {
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: var(--avp-gap);
	padding: clamp(3rem, 8vw, 5rem) 0;
}

.avp-post-list {
	display: grid;
	gap: 2rem;
}

.avp-post-card {
	display: grid;
	grid-template-columns: 240px 1fr;
	gap: 1.5rem;
	padding-bottom: 2rem;
	border-bottom: 1px solid var(--avp-tan);
}

.avp-post-card__title {
	margin: 0 0 0.5rem;
	font-size: 1.5rem;
}

.avp-post-card__title a {
	color: inherit;
	text-decoration: none;
}

.avp-post-card__title a:hover,
.avp-post-card__title a:focus-visible {
	color: var(--avp-burgundy);
}

.avp-sidebar .widget {
	margin-bottom: 2rem;
}

.avp-sidebar .widget-title {
	font-family: var(--avp-font-heading);
	font-size: 1.25rem;
}

/* Archive / events list
   ========================================================================== */

.avp-archive {
	padding: clamp(3rem, 8vw, 5rem) 0;
}

.avp-events-list__item {
	display: grid;
	grid-template-columns: 140px 1fr;
	gap: 1.5rem;
	padding: 1.5rem 0;
	border-bottom: 1px solid var(--avp-tan);
}

.avp-events-list__date {
	font-family: var(--avp-font-heading);
	font-weight: 700;
	color: var(--avp-burgundy);
}

/* 404
   ========================================================================== */

.avp-404 {
	min-height: 60vh;
	display: grid;
	place-items: center;
	text-align: center;
	padding: 6rem 0;
}

.avp-404__inner {
	max-width: 560px;
}

/* Pagination
   ========================================================================== */

.navigation.pagination {
	margin-top: 2rem;
}

.nav-links {
	display: flex;
	gap: 0.5rem;
	flex-wrap: wrap;
}

.page-numbers {
	padding: 0.5rem 0.85rem;
	border: 1px solid var(--avp-tan);
	text-decoration: none;
	color: inherit;
}

.page-numbers.current {
	background: var(--avp-burgundy);
	border-color: var(--avp-burgundy);
	color: var(--avp-white);
}

/* Responsive
   ========================================================================== */

@media (max-width: 992px) {
	.avp-hero__split,
	.avp-hero__grid,
	.avp-about__grid,
	.avp-story__grid,
	.avp-featured-cta__grid,
	.avp-event-promo__grid,
	.avp-featured-book__grid,
	.avp-contact__grid,
	.avp-bestseller__grid,
	.avp-books-showcase__grid,
	.avp-blog__layout {
		grid-template-columns: 1fr;
	}

	.avp-bestseller__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.avp-story__content {
		padding: clamp(2rem, 6vw, 3rem) 1rem;
	}

	.avp-hero--home.avp-hero--overlay .avp-hero__overlay-inner {
		width: 36%;
		max-width: 36%;
		padding: clamp(5rem, 12vw, 6rem) 1rem 2rem;
	}

	.avp-hero--home .avp-hero__book-float {
		position: relative;
		right: auto;
		bottom: auto;
		left: auto;
		top: auto;
		transform: none;
		width: min(220px, 60%);
		margin: 2rem auto 0;
	}

	.avp-block-page__content .avp-hero__panel .avp-hero__book-float {
		position: relative;
		right: auto;
		bottom: auto;
		left: auto;
		top: auto;
		transform: none;
		width: min(220px, 60%);
		margin: 2rem auto 0;
	}

	.avp-featured-cta__burgundy {
		left: 0;
		transform: none;
		width: 100%;
		height: 46%;
		top: 0;
		bottom: auto;
	}

	.avp-featured-cta__grid {
		grid-template-columns: 1fr;
		min-height: 0;
	}

	.avp-featured-cta__cover {
		justify-content: center;
		margin-left: 0;
		padding: 2rem 1rem 0;
	}

	.avp-featured-cta__card {
		margin-left: 1rem;
		margin-right: 1rem;
		margin-top: 1.5rem;
	}

	.avp-hero__panel {
		padding-top: clamp(5.5rem, 14vw, 6.5rem);
	}

	.avp-footer__inner {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.avp-footer .avp-social {
		justify-self: center;
	}

	.avp-post-card {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.avp-nav-toggle {
		display: block;
		color: inherit;
	}

	.avp-nav {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--avp-burgundy-dark);
		padding: 1rem;
		display: none;
	}

	body.avp-header-dark .avp-nav {
		background: var(--avp-white);
		box-shadow: var(--avp-shadow);
	}

	body.avp-nav-open .avp-nav {
		display: block;
	}

	.avp-header__start {
		flex-direction: column;
		align-items: flex-start;
		gap: 0;
	}

	.avp-nav__list {
		flex-direction: column;
		align-items: flex-start;
	}

	.avp-hero__media--split {
		grid-template-columns: 1fr;
	}

	.avp-about__images {
		grid-template-columns: 1fr;
	}

	.avp-bestseller__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.avp-books-showcase__grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.avp-form-row--split {
		grid-template-columns: 1fr;
	}

	.avp-hero--home.avp-hero--overlay .avp-hero__overlay-inner {
		width: 42%;
		max-width: 42%;
	}

	.avp-block-page__content .avp-hero--home.avp-hero--overlay .avp-hero__overlay-inner {
		width: 42%;
		max-width: 42%;
	}

	.avp-block-page__content .wp-block-columns.avp-hero__split,
	.avp-block-page__content .wp-block-columns.avp-about__grid,
	.avp-block-page__content .wp-block-columns.avp-story__grid,
	.avp-block-page__content .wp-block-columns.avp-featured-cta__grid {
		grid-template-columns: 1fr !important;
	}

	.avp-nav {
		max-height: calc(100svh - 4rem);
		overflow-y: auto;
	}
}

@media (max-width: 480px) {
	.avp-bestseller__grid,
	.avp-books-showcase__grid,
	.avp-block-page__content .wp-block-columns.avp-bestseller__grid {
		grid-template-columns: 1fr !important;
	}

	.avp-hero--home.avp-hero--overlay {
		height: clamp(380px, 62svh, 560px);
		max-height: clamp(380px, 62svh, 560px);
	}

	.avp-block-page__content .avp-hero--home.avp-hero--overlay {
		height: clamp(380px, 62svh, 560px);
		max-height: clamp(380px, 62svh, 560px);
	}

	.avp-hero--home.avp-hero--overlay .avp-hero__overlay-inner,
	.avp-block-page__content .avp-hero--home.avp-hero--overlay .avp-hero__overlay-inner {
		width: 100%;
		max-width: 100%;
		padding: clamp(5rem, 16vw, 6rem) 1.25rem 1.5rem;
		background: linear-gradient(180deg, rgba(74, 14, 14, 0.92) 0%, rgba(74, 14, 14, 0.72) 55%, rgba(74, 14, 14, 0) 100%);
	}

	.avp-hero__title {
		font-size: clamp(1.5rem, 8vw, 2rem);
	}

	.avp-contact__form-card,
	.avp-form-row--split {
		padding: 1rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition-duration: 0.01ms !important;
	}
}

/* Block editor page output
   ========================================================================== */

.avp-block-page__content.entry-content {
	padding: 0;
	max-width: none;
}

.avp-block-page__content > .alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}

.avp-block-page__content > .alignwide {
	max-width: var(--avp-container);
	margin-inline: auto;
}

.avp-block-page__content .wp-block-columns.avp-hero__split {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 0;
	margin-bottom: 0;
	height: clamp(420px, 56vh, 580px);
	max-height: 580px;
	min-height: 0;
	overflow: hidden;
}

.avp-block-page__content .avp-hero--home.avp-hero--overlay {
	position: relative;
	width: 100%;
	height: clamp(460px, calc(100svh - 5.5rem), 720px);
	max-height: clamp(460px, calc(100svh - 5.5rem), 720px);
	overflow: hidden;
	background: var(--avp-burgundy);
}

.avp-block-page__content .avp-hero--home.avp-hero--overlay .avp-hero__bg {
	position: absolute;
	inset: 0;
}

.avp-block-page__content .avp-hero--home.avp-hero--overlay .avp-hero__bg-img {
	width: 100% !important;
	height: 100% !important;
	max-width: none;
	object-fit: fill !important;
	object-position: center;
}

.avp-block-page__content .avp-hero--home.avp-hero--overlay .avp-hero__overlay-inner {
	position: absolute;
	inset: 0 auto 0 0;
	width: var(--avp-hero-text-zone, 34%);
	max-width: 34%;
	height: 100%;
	margin: 0;
	padding: clamp(5rem, 9vw, 6rem) clamp(1rem, 2.5vw, 1.75rem) clamp(1.25rem, 2vw, 1.5rem) clamp(1rem, 2.5vw, 2rem);
	box-sizing: border-box;
	overflow: hidden;
}

.avp-block-page__content .avp-hero--home .wp-block-columns.avp-hero__split {
	grid-template-columns: minmax(0, 11fr) minmax(0, 9fr) !important;
	height: clamp(400px, calc(100svh - 5.5rem), 540px);
	max-height: calc(100svh - 5.5rem);
}

.avp-block-page__content .avp-hero--books .wp-block-columns.avp-hero__split,
.avp-block-page__content .avp-hero--promo .wp-block-columns.avp-hero__split {
	display: grid !important;
	grid-template-columns: minmax(0, 11fr) minmax(0, 9fr) !important;
	gap: 0;
	height: clamp(400px, calc(100svh - 5.5rem), 540px);
	max-height: calc(100svh - 5.5rem);
	min-height: 0;
	overflow: hidden;
}

.avp-block-page__content .avp-hero--books .avp-hero__panel-inner,
.avp-block-page__content .avp-hero--promo .avp-hero__panel-inner {
	width: auto;
	max-width: min(100%, calc(100% - clamp(4rem, 8vw, 6rem)));
	padding: 0 clamp(1.25rem, 3vw, 2rem) 0 max(1rem, calc((100vw - var(--avp-container)) / 2));
	box-sizing: border-box;
}

.avp-block-page__content .avp-hero--books .avp-hero__visual,
.avp-block-page__content .avp-hero--promo .avp-hero__visual {
	max-height: calc(100svh - 5.5rem);
}

.avp-block-page__content .avp-hero--home .avp-hero__panel-inner {
	width: auto;
	max-width: min(100%, calc(100% - clamp(6rem, 11vw, 9rem)));
	padding: 0 clamp(1.25rem, 3vw, 2rem) 0 max(1rem, calc((100vw - var(--avp-container)) / 2));
	box-sizing: border-box;
}

.avp-block-page__content .avp-hero--home .avp-hero__panel .avp-hero__book-float {
	position: absolute;
	top: 50%;
	right: 0;
	bottom: auto;
	left: auto;
	transform: translate(50%, -50%);
	width: clamp(210px, 16vw, 252px);
	z-index: 6;
	margin: 0;
}

.avp-block-page__content .avp-hero--home .avp-hero__visual {
	max-height: calc(100svh - 5.5rem);
}

.avp-block-page__content .avp-hero__visual .wp-block-image {
	margin: 0;
	height: 100%;
	min-height: 0;
}

.avp-block-page__content .wp-block-column.avp-hero__panel,
.avp-block-page__content .wp-block-column.avp-hero__visual {
	padding: 0;
	height: 100%;
	min-height: 0;
}

.avp-block-page__content .wp-block-image img {
	max-width: 100%;
	height: auto;
}

.avp-block-page__content .avp-hero__visual .wp-block-image img,
.avp-block-page__content .avp-bestseller__cover img,
.avp-block-page__content .avp-story__img img {
	height: 100%;
}

.avp-block-page__content .wp-block-columns.avp-about__grid,
.avp-block-page__content .wp-block-columns.avp-story__grid,
.avp-block-page__content .wp-block-columns.avp-bestseller__grid {
	display: grid !important;
	gap: var(--avp-gap);
}

.avp-block-page__content .wp-block-columns.avp-bestseller__grid {
	display: grid !important;
	grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
	gap: clamp(1rem, 2vw, 1.75rem);
	width: 100% !important;
	max-width: none !important;
}

.avp-block-page__content .avp-bestseller__grid > .wp-block-column {
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	flex-basis: auto !important;
}

.avp-block-page__content .wp-block-columns.avp-featured-cta__grid,
.avp-block-page__content .wp-block-columns.avp-container.avp-featured-cta__grid {
	display: grid !important;
	grid-template-columns: minmax(0, 0.4fr) minmax(0, 0.6fr) !important;
	gap: 0 !important;
	align-items: center;
	width: 100%;
	max-width: var(--avp-container);
	margin-inline: auto;
}

.avp-block-page__content .avp-featured-cta__grid > .wp-block-column {
	width: 100% !important;
	min-width: 0 !important;
	max-width: none !important;
	flex-basis: auto !important;
}

.avp-block-page__content .avp-featured-cta__cover.wp-block-column {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.avp-block-page__content .avp-featured-cta__card.wp-block-column {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.avp-block-page__content .avp-featured-cta__cover .wp-block-image {
	margin: 0;
}

.avp-block-page__content .avp-featured-cta__img img {
	width: min(100%, 260px);
	height: auto;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
}

.avp-block-page__content .wp-block-columns.avp-about__grid {
	grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
	align-items: center;
}

.avp-block-page__content .wp-block-columns.avp-story__grid {
	grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
	gap: 0;
	align-items: stretch;
	max-width: none;
}

.avp-block-page__content .wp-block-columns.avp-container {
	gap: var(--avp-gap);
}

.avp-block-page__content .avp-hero__panel.wp-block-column {
	position: relative;
	overflow: visible;
}

.avp-block-page__content .avp-hero:not(.avp-hero--home) .avp-hero__panel .avp-hero__book-float {
	position: absolute;
	right: clamp(-5rem, -8vw, -2.5rem);
	bottom: clamp(2rem, 8vw, 4rem);
	left: auto;
	top: auto;
	transform: none;
	width: min(240px, 45%);
	z-index: 5;
	margin: 0;
}

.avp-block-page__content .avp-hero__book-float .wp-block-image,
.avp-block-page__content .avp-hero__visual .wp-block-image,
.avp-block-page__content .avp-story__media .wp-block-image {
	margin: 0;
	height: 100%;
}

.avp-block-page__content .avp-hero__visual .wp-block-image img {
	width: 100%;
	height: 100%;
	min-height: 0;
	max-height: 100%;
	object-fit: cover;
	object-position: center center;
}

.avp-block-page__content .avp-bestseller__cover img,
.avp-block-page__content .avp-story__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.avp-block-page__content .avp-story__img {
	width: 100%;
	min-height: 420px;
	object-fit: cover;
}

.avp-block-page__content .avp-story__media .wp-block-image {
	margin: 0;
	height: 100%;
}

.avp-block-page__content .avp-about__images--stack {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	max-width: 320px;
}

.avp-block-page__content .avp-about__images--stack .avp-about__img--primary,
.avp-block-page__content .avp-about__images--stack .avp-about__img--secondary,
.avp-block-page__content .avp-about__images--stack .wp-block-image {
	width: 100%;
	margin: 0;
}

.avp-block-page__content .avp-about__img img {
	width: 100%;
	height: auto;
	max-height: none;
	aspect-ratio: 320 / 380;
	object-fit: cover;
}

.avp-block-page__content .avp-section-title .avp-section-title__accent,
.avp-block-page__content .avp-section-title__accent {
	display: block;
	font-family: var(--avp-font-accent);
	font-weight: 400;
	font-size: clamp(2.5rem, 5vw, 4rem);
	line-height: 1;
	color: var(--avp-tan-muted);
	margin-bottom: 0.15em;
}

.avp-block-page__content .avp-section-title .avp-section-title__rest,
.avp-block-page__content .avp-section-title__rest {
	display: block;
	font-family: var(--avp-font-heading);
	font-weight: 700;
}

.avp-block-page__content .wp-block-button.is-style-avp-ghost .wp-block-button__link::after {
	content: " →";
}

.avp-block-page__content .wp-block-button.is-style-avp-ghost .wp-block-button__link {
	background: transparent;
	border: 1px solid currentColor;
	border-radius: var(--avp-radius);
	color: inherit;
	padding: 0.75rem 1.25rem;
	text-decoration: none;
}

.avp-block-page__content .wp-block-button.is-style-avp-ghost .wp-block-button__link:hover {
	background: var(--avp-white);
	color: var(--avp-burgundy);
}

@media (max-width: 992px) {
	.avp-block-page__content .wp-block-columns.avp-hero__split,
	.avp-block-page__content .wp-block-columns.avp-about__grid,
	.avp-block-page__content .wp-block-columns.avp-story__grid,
	.avp-block-page__content .wp-block-columns.avp-featured-cta__grid {
		grid-template-columns: 1fr !important;
	}

	.avp-block-page__content .wp-block-columns.avp-bestseller__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 480px) {
	.avp-block-page__content .wp-block-columns.avp-bestseller__grid {
		grid-template-columns: 1fr !important;
	}
}

/* Search
   ========================================================================== */

.avp-search {
	padding-block: clamp(6rem, 12vw, 7rem) clamp(2rem, 6vw, 3rem);
}

.avp-search__title {
	margin-bottom: 1.5rem;
}

.avp-search__title span {
	color: var(--avp-burgundy);
}

.avp-search__results {
	display: grid;
	gap: 1.5rem;
}

.avp-search__empty {
	color: var(--avp-black);
	opacity: 0.8;
}
