/*
 * BVL child theme custom styles.
 * Bookstore/blog portal identity, mobile-first and scoped for reuse.
 */

:root {
	--bvl-ink: #172026;
	--bvl-ink-soft: #314046;
	--bvl-muted: #697277;
	--bvl-forest: #15372f;
	--bvl-forest-dark: #0f2621;
	--bvl-burgundy: #7a2934;
	--bvl-brass: #b98b42;
	--bvl-brass-ink: #8a6526;
	--bvl-paper: #fffaf0;
	--bvl-cream: #f3ead8;
	--bvl-mist: #e7eef0;
	--bvl-white: #ffffff;
	--bvl-line: rgba( 23, 32, 38, 0.13 );
	--bvl-shadow: 0 18px 46px rgba( 23, 32, 38, 0.13 );
	--bvl-radius: 8px;
	--bvl-shell: min( 1120px, calc( 100vw - 32px ) );
}

html {
	scroll-behavior: smooth;
}

body {
	color: var(--bvl-ink);
	background: var(--bvl-paper);
	text-rendering: optimizeLegibility;
}

img {
	height: auto;
	max-width: 100%;
}

.bvl-shell {
	width: var(--bvl-shell);
	margin-inline: auto;
}

.site-footer {
	display: none;
}

#masthead,
#ast-scroll-top {
	display: none !important;
}

.bvl-site-header {
	position: sticky;
	top: 0;
	z-index: 999;
	border-bottom: 1px solid rgba( 23, 32, 38, 0.08 );
	background: rgba( 255, 250, 240, 0.98 );
	box-shadow: 0 10px 30px rgba( 23, 32, 38, 0.06 );
	backdrop-filter: blur( 14px );
}

.admin-bar .bvl-site-header {
	top: 32px;
}

.bvl-site-header__inner {
	position: relative;
	display: flex;
	min-height: 76px;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.bvl-site-brand {
	display: grid;
	gap: 2px;
	color: var(--bvl-forest-dark);
	text-decoration: none;
}

.bvl-site-brand:hover {
	color: var(--bvl-burgundy);
}

.bvl-site-brand__name {
	color: inherit;
	font-size: 1.18rem;
	font-weight: 900;
	line-height: 1;
}

.bvl-site-brand__tagline {
	color: var(--bvl-muted);
	font-size: 0.76rem;
	font-weight: 750;
	line-height: 1.25;
}

.bvl-primary-menu {
	display: flex;
	align-items: center;
	gap: 4px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bvl-primary-menu .menu-link {
	display: inline-flex;
	min-height: 42px;
	align-items: center;
	padding: 0 13px;
	border-radius: var(--bvl-radius);
	color: var(--bvl-forest-dark);
	font-size: 0.96rem;
	font-weight: 800;
	line-height: 1;
	text-decoration: none;
}

.bvl-primary-menu .menu-link:hover,
.bvl-primary-menu .current-menu-item > .menu-link,
.bvl-primary-menu .current_page_item > .menu-link {
	background: rgba( 122, 41, 52, 0.08 );
	color: var(--bvl-burgundy);
}

.bvl-menu-toggle {
	display: none;
	width: 44px;
	height: 44px;
	place-items: center;
	border: 1px solid rgba( 23, 32, 38, 0.14 );
	border-radius: var(--bvl-radius);
	background: var(--bvl-white);
	color: var(--bvl-forest-dark);
	box-shadow: none;
	cursor: pointer;
}

.bvl-menu-toggle:hover,
.bvl-menu-toggle:focus {
	background: var(--bvl-white);
	color: var(--bvl-forest-dark);
}

.bvl-menu-toggle[aria-expanded="true"],
.bvl-menu-toggle[aria-expanded="true"]:hover,
.bvl-menu-toggle[aria-expanded="true"]:focus {
	border-color: var(--bvl-forest-dark);
	background: var(--bvl-forest-dark);
	color: var(--bvl-white);
}

.bvl-menu-toggle span[aria-hidden="true"] {
	display: block;
	width: 18px;
	height: 2px;
	margin: 2px 0;
	border-radius: 99px;
	background: currentColor;
	transition: transform 160ms ease, opacity 160ms ease;
}

.bvl-menu-toggle[aria-expanded="true"] span[aria-hidden="true"]:nth-child( 2 ) {
	transform: translateY( 6px ) rotate( 45deg );
}

.bvl-menu-toggle[aria-expanded="true"] span[aria-hidden="true"]:nth-child( 3 ) {
	opacity: 0;
}

.bvl-menu-toggle[aria-expanded="true"] span[aria-hidden="true"]:nth-child( 4 ) {
	transform: translateY( -6px ) rotate( -45deg );
}

.ast-primary-header-bar {
	border-bottom: 1px solid rgba( 23, 32, 38, 0.08 );
	background: rgba( 255, 250, 240, 0.98 );
	box-shadow: 0 8px 30px rgba( 23, 32, 38, 0.06 );
}

.ast-theme-transparent-header .ast-primary-header-bar,
.ast-theme-transparent-header .main-header-bar {
	background: rgba( 255, 250, 240, 0.98 ) !important;
	border-bottom: 1px solid rgba( 23, 32, 38, 0.1 ) !important;
	box-shadow: 0 8px 30px rgba( 23, 32, 38, 0.08 );
}

.site-title,
.site-header .site-title {
	display: block !important;
}

.site-title a,
.ast-site-title-wrap a {
	color: var(--bvl-forest-dark) !important;
	font-weight: 850;
}

.main-header-menu .menu-link,
.ast-theme-transparent-header .main-header-menu .menu-link,
.ast-theme-transparent-header [CLASS*="ast-builder-menu"] .main-header-menu .menu-link,
.ast-theme-transparent-header [CLASS*="ast-builder-menu"] .main-header-menu .menu-item > .menu-link {
	color: var(--bvl-forest-dark) !important;
	font-weight: 700;
}

.main-header-menu .menu-link:hover,
.main-header-menu .current-menu-item > .menu-link,
.ast-theme-transparent-header .main-header-menu .menu-link:hover,
.ast-theme-transparent-header .main-header-menu .current-menu-item > .menu-link,
.ast-theme-transparent-header [CLASS*="ast-builder-menu"] .main-header-menu .menu-item:hover > .menu-link,
.ast-theme-transparent-header [CLASS*="ast-builder-menu"] .main-header-menu .current-menu-item > .menu-link {
	color: var(--bvl-burgundy) !important;
}

.main-header-menu .sub-menu,
.ast-desktop .main-header-menu .sub-menu {
	background: var(--bvl-paper) !important;
	border: 1px solid rgba( 23, 32, 38, 0.12 );
	box-shadow: 0 18px 42px rgba( 23, 32, 38, 0.16 );
}

.main-header-menu .sub-menu .menu-link {
	color: var(--bvl-forest-dark) !important;
}

.main-header-menu .sub-menu .menu-link:hover,
.main-header-menu .sub-menu .current-menu-item > .menu-link {
	background: rgba( 122, 41, 52, 0.08 );
	color: var(--bvl-burgundy) !important;
}

.ast-button-wrap .menu-toggle,
.ast-button-wrap .menu-toggle .mobile-menu,
.ast-button-wrap .menu-toggle .ast-mobile-svg,
.ast-theme-transparent-header .ast-button-wrap .menu-toggle,
.ast-theme-transparent-header .ast-button-wrap .menu-toggle .mobile-menu,
.ast-theme-transparent-header .ast-button-wrap .menu-toggle .ast-mobile-svg {
	color: var(--bvl-forest-dark) !important;
	fill: var(--bvl-forest-dark) !important;
}

.ast-mobile-popup-drawer.active .ast-mobile-popup-inner,
.ast-mobile-popup-drawer .ast-mobile-popup-inner {
	background: var(--bvl-paper) !important;
}

.ast-mobile-popup-drawer .menu-toggle-close,
.ast-mobile-popup-drawer .menu-toggle-close .ast-mobile-svg {
	color: var(--bvl-forest-dark) !important;
	fill: var(--bvl-forest-dark) !important;
}

.ast-mobile-popup-drawer .main-header-menu,
.ast-mobile-popup-drawer .main-header-menu .sub-menu {
	background: var(--bvl-paper) !important;
}

.ast-mobile-popup-drawer .main-header-menu .menu-link,
.ast-header-break-point .main-header-menu .menu-link {
	color: var(--bvl-forest-dark) !important;
}

.ast-mobile-popup-drawer .main-header-menu .menu-item:hover > .menu-link,
.ast-mobile-popup-drawer .main-header-menu .current-menu-item > .menu-link,
.ast-header-break-point .main-header-menu .menu-item:hover > .menu-link,
.ast-header-break-point .main-header-menu .current-menu-item > .menu-link {
	background: rgba( 122, 41, 52, 0.08 );
	color: var(--bvl-burgundy) !important;
}

.bvl-home {
	background: var(--bvl-paper);
	overflow: hidden;
}

.bvl-home :where(h1, h2, h3, p) {
	margin-block-start: 0;
}

.bvl-section {
	padding: 64px 0;
}

.bvl-section--paper {
	background:
		linear-gradient( 180deg, rgba( 255, 250, 240, 0.96 ), rgba( 255, 255, 255, 0.98 ) ),
		var(--bvl-paper);
}

.bvl-section--mist {
	background: var(--bvl-mist);
}

.bvl-section--forest {
	background: var(--bvl-forest-dark);
	color: var(--bvl-white);
}

.bvl-section__head {
	max-width: 760px;
	margin-bottom: 28px;
}

.bvl-kicker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px;
	color: var(--bvl-burgundy);
	font-size: 0.78rem;
	font-weight: 850;
	letter-spacing: 0;
	text-transform: uppercase;
}

.bvl-kicker::before {
	width: 24px;
	height: 2px;
	background: var(--bvl-brass);
	content: "";
}

.bvl-section h1,
.bvl-section h2 {
	max-width: 790px;
	margin-bottom: 14px;
	color: var(--bvl-forest-dark);
	font-size: 2rem;
	line-height: 1.16;
}

.bvl-section__head p,
.bvl-lead {
	color: var(--bvl-muted);
	font-size: 1.05rem;
	line-height: 1.72;
}

.bvl-hero {
	position: relative;
	min-height: 680px;
	display: grid;
	align-items: center;
	padding: 74px 0 58px;
	background: var(--bvl-forest);
	isolation: isolate;
}

.bvl-hero::before {
	position: absolute;
	inset: 0;
	z-index: -2;
	background-image:
		linear-gradient( 90deg, rgba( 15, 38, 33, 0.98 ) 0%, rgba( 15, 38, 33, 0.9 ) 37%, rgba( 15, 38, 33, 0.35 ) 68%, rgba( 15, 38, 33, 0.08 ) 100% ),
		url("../images/hero-books-portal.png");
	background-position: center;
	background-size: cover;
	content: "";
}

.bvl-hero::after {
	position: absolute;
	inset: auto 0 0;
	height: 110px;
	z-index: -1;
	background: linear-gradient( 180deg, rgba( 255, 250, 240, 0 ), var(--bvl-paper) );
	content: "";
}

.bvl-hero__content {
	max-width: 660px;
}

.bvl-hero .bvl-kicker {
	color: #f1d39a;
}

.bvl-hero h1 {
	max-width: 660px;
	margin-bottom: 18px;
	color: var(--bvl-white);
	font-size: 2.65rem;
	line-height: 1.08;
}

.bvl-hero .bvl-lead {
	max-width: 600px;
	margin-bottom: 28px;
	color: rgba( 255, 255, 255, 0.82 );
}

.bvl-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.bvl-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 0 22px;
	border: 1px solid transparent;
	border-radius: var(--bvl-radius);
	background: var(--bvl-burgundy);
	color: var(--bvl-white);
	font-weight: 850;
	text-decoration: none;
	transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.bvl-button:hover {
	background: #5f1f29;
	color: var(--bvl-white);
	transform: translateY( -1px );
}

.bvl-button--ghost {
	background: rgba( 255, 250, 240, 0.11 );
	border-color: rgba( 255, 250, 240, 0.4 );
	color: var(--bvl-white);
}

.bvl-button--ghost:hover {
	background: rgba( 255, 250, 240, 0.2 );
	color: var(--bvl-white);
}

.bvl-button--small {
	min-height: 42px;
	padding-inline: 16px;
	font-size: 0.92rem;
}

.bvl-hero__metrics {
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
	max-width: 690px;
	margin-top: 36px;
}

.bvl-metric {
	min-height: 112px;
	padding: 17px;
	border: 1px solid rgba( 255, 250, 240, 0.2 );
	border-radius: var(--bvl-radius);
	background: rgba( 255, 250, 240, 0.1 );
	box-shadow: 0 12px 32px rgba( 0, 0, 0, 0.12 );
	backdrop-filter: blur( 12px );
}

.bvl-metric strong {
	display: block;
	color: #f3d6a1;
	font-size: 1.42rem;
	line-height: 1;
}

.bvl-metric span {
	display: block;
	margin-top: 8px;
	color: rgba( 255, 255, 255, 0.78 );
	font-size: 0.9rem;
	line-height: 1.45;
}

.bvl-grid {
	display: grid;
	gap: 18px;
}

.bvl-grid--three {
	grid-template-columns: 1fr;
}

.bvl-card {
	position: relative;
	padding: 24px;
	border: 1px solid var(--bvl-line);
	border-radius: var(--bvl-radius);
	background: var(--bvl-white);
	box-shadow: 0 1px 0 rgba( 23, 32, 38, 0.04 );
}

.bvl-card h3 {
	margin-bottom: 10px;
	color: var(--bvl-forest-dark);
	font-size: 1.18rem;
	line-height: 1.25;
}

.bvl-card p {
	color: var(--bvl-muted);
	line-height: 1.65;
}

.bvl-books {
	display: grid;
	gap: 20px;
}

.bvl-book-card {
	display: grid;
	grid-template-rows: auto 1fr;
	gap: 0;
	overflow: hidden;
	border: 1px solid var(--bvl-line);
	border-radius: var(--bvl-radius);
	background: var(--bvl-white);
	box-shadow: 0 16px 38px rgba( 23, 32, 38, 0.08 );
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.bvl-book-card:hover {
	transform: translateY( -3px );
	border-color: rgba( 122, 41, 52, 0.25 );
	box-shadow: 0 24px 48px rgba( 23, 32, 38, 0.14 );
}

.bvl-book-card__cover {
	display: block;
	background: var(--bvl-cream);
}

.bvl-book-card__cover img {
	display: block;
	width: 100%;
	aspect-ratio: 3 / 4.3;
	object-fit: cover;
}

.bvl-book-card__body {
	display: grid;
	grid-template-rows: auto auto 1fr auto;
	gap: 12px;
	padding: 22px;
}

.bvl-book-card__category {
	width: fit-content;
	padding: 5px 10px;
	border-radius: 999px;
	background: rgba( 185, 139, 66, 0.16 );
	color: #6f4e1f;
	font-size: 0.78rem;
	font-weight: 850;
}

.bvl-book-card h3 {
	margin: 0;
	color: var(--bvl-forest-dark);
	font-size: 1.3rem;
	line-height: 1.2;
}

.bvl-book-card p {
	margin: 0;
	color: var(--bvl-muted);
	line-height: 1.62;
}

.bvl-book-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
}

.bvl-book-card__meta strong {
	color: var(--bvl-burgundy);
	font-size: 1.08rem;
}

.bvl-portal-layout {
	display: grid;
	gap: 28px;
	align-items: start;
}

.bvl-post-grid {
	display: grid;
	gap: 16px;
}

.bvl-post-card {
	border: 1px solid var(--bvl-line);
	border-radius: var(--bvl-radius);
	background: var(--bvl-white);
	box-shadow: 0 1px 0 rgba( 23, 32, 38, 0.04 );
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.bvl-post-card:hover {
	transform: translateY( -3px );
	border-color: rgba( 122, 41, 52, 0.22 );
	box-shadow: 0 18px 38px rgba( 23, 32, 38, 0.12 );
}

.bvl-post-card__link {
	display: grid;
	gap: 10px;
	height: 100%;
	padding: 22px;
	color: inherit;
	text-decoration: none;
}

.bvl-post-card__link:hover h3 {
	color: var(--bvl-burgundy);
}

.bvl-post-card__date {
	color: var(--bvl-brass-ink);
	font-size: 0.84rem;
	font-weight: 850;
}

.bvl-post-card h3 {
	margin: 0;
	color: var(--bvl-forest-dark);
	font-size: 1.16rem;
	line-height: 1.28;
}

.bvl-post-card p {
	margin: 0;
	color: var(--bvl-muted);
	line-height: 1.62;
}

.bvl-post-card__read {
	margin-top: 4px;
	color: var(--bvl-burgundy);
	font-weight: 850;
}

.bvl-editorial-sidebar {
	display: grid;
	gap: 16px;
	padding: 22px;
	border: 1px solid rgba( 255, 255, 255, 0.16 );
	border-radius: var(--bvl-radius);
	background: var(--bvl-forest);
	color: var(--bvl-white);
}

.bvl-editorial-sidebar h3,
.bvl-editorial-sidebar p {
	margin: 0;
	color: var(--bvl-white);
}

.bvl-editorial-sidebar p {
	color: rgba( 255, 255, 255, 0.74 );
}

.bvl-topic-list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bvl-topic-list a,
.bvl-topic-list span {
	display: inline-flex;
	padding: 7px 10px;
	border-radius: 999px;
	background: rgba( 255, 250, 240, 0.12 );
	color: var(--bvl-white);
	text-decoration: none;
	font-size: 0.9rem;
	font-weight: 700;
}

.bvl-page-hero {
	padding: clamp( 54px, 6vw, 80px ) 0 clamp( 42px, 4vw, 58px );
	background:
		linear-gradient( 135deg, rgba( 21, 55, 47, 0.96 ), rgba( 122, 41, 52, 0.9 ) ),
		var(--bvl-forest);
	color: var(--bvl-white);
}

.bvl-page-hero h1 {
	max-width: 920px;
	margin: 12px 0 14px;
	color: var(--bvl-white);
	font-size: clamp( 2.05rem, 5vw, 3.65rem );
	line-height: 1.08;
}

.bvl-page-hero h1,
.bvl-page-hero .bvl-lead {
	color: var(--bvl-white);
}

.bvl-page-hero .bvl-lead {
	max-width: 760px;
	color: rgba( 255, 255, 255, 0.84 );
}

.bvl-page-hero .bvl-kicker {
	color: #f3d6a1;
}

.bvl-contact-band {
	display: grid;
	gap: 24px;
	align-items: center;
	padding: 32px;
	border-radius: var(--bvl-radius);
	background: var(--bvl-forest-dark);
	color: var(--bvl-white);
	box-shadow: var(--bvl-shadow);
}

.bvl-contact-band h2,
.bvl-contact-band p {
	color: var(--bvl-white);
}

.bvl-contact-band p {
	opacity: 0.82;
}

.bvl-contact-list {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bvl-contact-list a,
.bvl-contact-list span {
	color: var(--bvl-white);
	text-decoration: none;
}

.page-id-27 .bvl-section--paper {
	padding: clamp( 44px, 6vw, 70px ) 0;
	background:
		linear-gradient( 180deg, rgba( 15, 38, 33, 0.98 ), rgba( 17, 28, 26, 1 ) ),
		var(--bvl-forest-dark);
}

.page-id-27 .bvl-contact-band {
	padding: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.page-id-27 .bvl-contact-band > div:first-child {
	padding: clamp( 10px, 2vw, 24px ) 0;
}

.page-id-27 .bvl-contact-form {
	background: rgba( 255, 250, 240, 0.08 );
	box-shadow: 0 18px 46px rgba( 0, 0, 0, 0.18 );
}

.bvl-contact-form {
	min-width: 0;
	padding: 20px;
	border: 1px solid rgba( 255, 250, 240, 0.18 );
	border-radius: var(--bvl-radius);
	background: rgba( 255, 250, 240, 0.08 );
}

.bvl-contact-form .wpforms-container {
	margin: 0 !important;
}

.bvl-contact-form .wpforms-field {
	padding: 0 0 14px !important;
}

.bvl-contact-form .wpforms-field-label,
.bvl-contact-form .wpforms-field-sublabel,
.bvl-contact-form .wpforms-field-description {
	color: rgba( 255, 255, 255, 0.86 ) !important;
}

.bvl-contact-form input[type="text"],
.bvl-contact-form input[type="email"],
.bvl-contact-form input[type="tel"],
.bvl-contact-form textarea {
	min-height: 46px !important;
	border: 1px solid rgba( 255, 250, 240, 0.28 ) !important;
	border-radius: var(--bvl-radius) !important;
	background: var(--bvl-paper) !important;
	color: var(--bvl-ink) !important;
	box-shadow: none !important;
}

.bvl-contact-form textarea {
	min-height: 120px !important;
	resize: vertical;
}

.bvl-contact-form .wpforms-submit,
.bvl-contact-form button[type="submit"] {
	min-height: 48px !important;
	padding: 0 22px !important;
	border: 0 !important;
	border-radius: var(--bvl-radius) !important;
	background: var(--bvl-burgundy) !important;
	color: var(--bvl-white) !important;
	font-weight: 850 !important;
}

.bvl-contact-form--fallback {
	display: grid;
	gap: 12px;
}

.bvl-contact-form--fallback h3,
.bvl-contact-form--fallback p {
	margin: 0;
	color: var(--bvl-white);
}

.bvl-footer {
	padding: 48px 0 26px;
	background: #111c1a;
	color: var(--bvl-white);
}

.bvl-footer a {
	color: var(--bvl-white);
	text-decoration: none;
}

.bvl-footer a:hover {
	color: #f3d6a1;
}

.bvl-footer__grid {
	display: grid;
	gap: 28px;
}

.bvl-footer__brand {
	display: inline-flex;
	margin-bottom: 10px;
	font-size: 1.2rem;
	font-weight: 850;
}

.bvl-footer p,
.bvl-footer span {
	color: rgba( 255, 255, 255, 0.72 );
}

.bvl-footer__menu {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bvl-footer__contact {
	display: grid;
	gap: 8px;
}

.bvl-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: space-between;
	margin-top: 34px;
	padding-top: 22px;
	border-top: 1px solid rgba( 255, 255, 255, 0.14 );
	font-size: 0.92rem;
}

.bvl-scroll-top {
	position: fixed;
	right: 18px;
	bottom: 18px;
	z-index: 40;
	width: 44px;
	height: 44px;
	border: 0;
	border-radius: var(--bvl-radius);
	background: var(--bvl-burgundy);
	color: var(--bvl-white);
	box-shadow: 0 14px 26px rgba( 23, 32, 38, 0.22 );
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transform: translateY( 8px );
	transition: opacity 160ms ease, transform 160ms ease;
}

.bvl-scroll-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY( 0 );
}

.bvl-archive-hero {
	padding: clamp( 54px, 6vw, 78px ) 0 clamp( 42px, 4vw, 56px );
	background:
		linear-gradient( 135deg, rgba( 21, 55, 47, 0.96 ), rgba( 122, 41, 52, 0.9 ) ),
		var(--bvl-forest);
	color: var(--bvl-white);
}

.bvl-archive-hero h1 {
	max-width: 840px;
	margin: 12px 0 14px;
	color: var(--bvl-white);
	font-size: clamp( 2.05rem, 5vw, 3.6rem );
	line-height: 1.08;
}

.bvl-archive-hero .bvl-lead {
	max-width: 740px;
	color: rgba( 255, 255, 255, 0.84 );
}

.blog .site-content,
.archive .site-content {
	background: var(--bvl-paper);
}

.blog .site-content,
.archive .site-content {
	padding: 58px 0 74px;
}

.blog .site-content > .ast-container,
.archive .site-content > .ast-container,
.single-post .site-content > .ast-container {
	width: var(--bvl-shell);
	max-width: none;
	padding: 0;
}

.blog #primary,
.archive #primary,
.single-post #primary {
	margin: 0;
	padding: 0;
}

.blog .ast-row,
.archive .ast-row {
	display: grid;
	grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	gap: 20px;
	margin: 0;
}

.blog .ast-article-post,
.archive .ast-article-post {
	overflow: hidden;
	width: 100% !important;
	margin: 0;
	padding: 0 !important;
	float: none !important;
	clear: none !important;
	border: 1px solid var(--bvl-line);
	border-radius: var(--bvl-radius);
	background: var(--bvl-white);
	box-shadow: 0 12px 32px rgba( 23, 32, 38, 0.07 );
}

.blog .ast-article-post .ast-article-inner,
.archive .ast-article-post .ast-article-inner {
	display: grid;
	height: 100%;
	align-content: start;
	padding: 28px !important;
	background: var(--bvl-white);
}

.blog .entry-title,
.archive .entry-title,
.single-post .entry-title {
	color: var(--bvl-forest-dark);
	line-height: 1.16;
}

.blog .entry-title a,
.archive .entry-title a {
	color: var(--bvl-forest-dark);
	text-decoration: none;
}

.blog .entry-title a:hover,
.archive .entry-title a:hover {
	color: var(--bvl-burgundy);
}

.blog .entry-meta,
.archive .entry-meta,
.single-post .entry-meta {
	color: var(--bvl-muted) !important;
	font-size: 0.92rem;
}

.blog .entry-meta,
.archive .entry-meta {
	display: none;
}

.blog .entry-meta a,
.archive .entry-meta a,
.single-post .entry-meta a {
	color: var(--bvl-burgundy) !important;
	text-decoration: none;
}

.blog .entry-title,
.archive .entry-title {
	font-size: 1.18rem;
}

.blog .entry-content,
.archive .entry-content {
	color: var(--bvl-ink-soft);
	line-height: 1.7;
}

.single-post .site-main {
	max-width: none;
	margin-inline: auto;
}

.single-post .ast-article-single {
	overflow: visible;
	padding: 0 !important;
	border: 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
}

.single-post .entry-meta {
	display: none;
}

.single-post .entry-content > :first-child {
	margin-top: 0;
}

.single-post .entry-content p {
	margin-bottom: 1.45em;
}

.single-post .entry-content p:first-of-type:not( .has-small-font-size ) {
	color: #203239;
	font-size: 20px;
	line-height: 1.72;
}

.single-post .entry-content h2,
.single-post .entry-content h3 {
	color: var(--bvl-forest-dark);
	letter-spacing: 0;
}

.single-post .entry-content h2 {
	position: relative;
	margin-top: 2.5em;
	margin-bottom: 0.65em;
	padding-top: 0;
	border-top: 0;
	font-size: 1.82rem;
	line-height: 1.16;
}

.single-post .entry-content h2::before {
	position: absolute;
	top: 0.2em;
	left: -22px;
	width: 4px;
	height: 1em;
	border-radius: 999px;
	background: var(--bvl-brass);
	content: "";
}

.single-post .entry-content h3 {
	margin-top: 1.8em;
	margin-bottom: 0.55em;
	font-size: 1.25rem;
	line-height: 1.28;
}

.single-post .entry-content :where(ul, ol) {
	margin-bottom: 1.45em;
	padding-left: 1.45em;
}

.single-post .entry-content li + li {
	margin-top: 0.42em;
}

.single-post .entry-content blockquote {
	margin: 2.1em auto;
	padding: 20px 0 20px 22px;
	border-top: 0;
	border-right: 0;
	border-bottom: 0;
	border-left: 3px solid var(--bvl-brass);
	border-radius: 0;
	background: transparent;
	color: var(--bvl-forest-dark);
	font-size: 1.08rem;
	line-height: 1.78;
}

.single-post .entry-content a:not( .bvl-button ) {
	color: var(--bvl-burgundy);
	font-weight: 800;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.18em;
}

.single-post .entry-content figure,
.single-post .entry-content .wp-block-image,
.single-post .entry-content .alignwide {
	max-width: 860px;
}

.bvl-reading-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 9px 16px;
	max-width: 760px;
	margin-bottom: 30px;
	padding-bottom: 18px;
	border-bottom: 1px solid rgba( 23, 32, 38, 0.09 );
}

.bvl-reading-meta span {
	display: inline-flex;
	min-height: auto;
	align-items: center;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--bvl-muted);
	font-size: 0.88rem;
	font-weight: 850;
	line-height: 1.35;
}

.bvl-reading-meta span:first-child {
	color: var(--bvl-burgundy);
}

.bvl-post-toc {
	display: grid;
	grid-template-columns: 150px minmax( 0, 1fr );
	gap: 22px;
	max-width: 760px;
	margin-bottom: 44px;
	padding: 20px 0;
	border-top: 1px solid rgba( 23, 32, 38, 0.11 );
	border-bottom: 1px solid rgba( 23, 32, 38, 0.11 );
	border-left: 0;
	border-radius: 0;
	background: transparent;
}

.bvl-post-toc strong {
	display: block;
	margin-bottom: 0;
	color: var(--bvl-burgundy);
	font-size: 0.78rem;
	font-weight: 900;
	letter-spacing: 0.1em;
	line-height: 1.25;
	text-transform: uppercase;
}

.bvl-post-toc ol {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 8px 18px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.bvl-post-toc__item {
	margin: 0;
	color: var(--bvl-forest-dark);
}

.bvl-post-toc__item--h3 {
	margin-left: 0;
	font-size: 0.93rem;
}

.bvl-post-toc a {
	color: var(--bvl-ink-soft);
	font-weight: 760;
	text-decoration: none;
}

.bvl-post-toc a:hover {
	color: var(--bvl-burgundy);
}

.bvl-article-cta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 22px;
	max-width: 760px;
	margin-top: 48px;
	padding: 24px 0;
	border-top: 1px solid rgba( 23, 32, 38, 0.12 );
	border-right: 0;
	border-bottom: 1px solid rgba( 23, 32, 38, 0.12 );
	border-left: 0;
	border-radius: 0;
	background: transparent;
	color: var(--bvl-forest-dark);
}

.single-post .entry-content .bvl-article-cta strong,
.single-post .entry-content .bvl-article-cta p {
	color: var(--bvl-forest-dark);
}

.single-post .entry-content .bvl-article-cta strong {
	display: block;
	margin-bottom: 6px;
	font-size: 1.18rem;
	line-height: 1.25;
}

.single-post .entry-content .bvl-article-cta p {
	margin: 0;
	color: var(--bvl-ink-soft);
	line-height: 1.55;
}

.bvl-article-cta__actions {
	display: flex;
	flex-wrap: wrap;
	flex: 0 0 auto;
	gap: 10px;
}

.bvl-button--outline {
	border: 1px solid rgba( 255, 255, 255, 0.36 );
	background: transparent;
	color: var(--bvl-white);
}

.bvl-button--outline:hover {
	background: rgba( 255, 255, 255, 0.1 );
	color: var(--bvl-white);
}

.bvl-article-cta .bvl-button--outline {
	border-color: rgba( 122, 41, 52, 0.28 );
	color: var(--bvl-burgundy);
}

.bvl-article-cta .bvl-button--outline:hover {
	background: rgba( 122, 41, 52, 0.08 );
	color: var(--bvl-burgundy);
}

.single-post .post-navigation {
	display: none;
}

.bvl-article-nav {
	max-width: 760px;
	margin: 46px auto 0;
	padding-top: 0;
	border-top: 0;
}

.bvl-article-nav__head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 18px;
}

.bvl-article-nav__head div {
	display: grid;
	gap: 5px;
}

.bvl-article-nav__head span {
	color: var(--bvl-brass-ink);
	font-size: 0.76rem;
	font-weight: 950;
	letter-spacing: 0.08em;
	line-height: 1;
	text-transform: uppercase;
}

.bvl-article-nav__head strong {
	color: var(--bvl-forest-dark);
	font-size: 1.22rem;
	line-height: 1.18;
}

.bvl-article-nav__all {
	display: inline-flex;
	min-height: auto;
	align-items: center;
	justify-content: center;
	padding: 0;
	border: 0;
	border-radius: 0;
	color: var(--bvl-burgundy);
	font-size: 0.86rem;
	font-weight: 900;
	text-decoration: underline;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.22em;
}

.bvl-article-nav__all:hover {
	background: transparent;
	color: var(--bvl-burgundy);
}

.bvl-article-nav__grid {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	gap: 0;
	border-top: 1px solid rgba( 23, 32, 38, 0.12 );
}

.bvl-article-nav__card {
	position: relative;
	display: grid;
	min-height: 0;
	align-content: space-between;
	gap: 12px;
	padding: 20px 22px 20px 0;
	overflow: hidden;
	border: 0;
	border-bottom: 1px solid rgba( 23, 32, 38, 0.12 );
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	color: var(--bvl-forest-dark);
	text-decoration: none;
	transition: color 180ms ease;
}

.bvl-article-nav__card::before {
	display: none;
}

.bvl-article-nav__card:hover {
	transform: none;
	border-color: rgba( 23, 32, 38, 0.12 );
	box-shadow: none;
	color: var(--bvl-burgundy);
}

.bvl-article-nav__card:hover::before {
	opacity: 1;
}

.bvl-article-nav__card > * {
	position: relative;
	z-index: 1;
}

.bvl-article-nav__eyebrow {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--bvl-burgundy);
	font-size: 0.72rem;
	font-weight: 950;
	letter-spacing: 0.07em;
	line-height: 1;
	text-transform: uppercase;
}

.bvl-article-nav__card--next .bvl-article-nav__eyebrow {
	justify-content: flex-end;
}

.bvl-article-nav__card--next {
	padding-right: 0;
	padding-left: 22px;
	border-left: 1px solid rgba( 23, 32, 38, 0.12 );
	text-align: right;
}

.bvl-article-nav__card strong {
	color: inherit;
	font-size: 1rem;
	line-height: 1.32;
}

.bvl-article-nav__card small {
	color: var(--bvl-muted);
	font-size: 0.84rem;
	font-weight: 800;
	line-height: 1.35;
}

.single-post .comments-area {
	display: none;
}

.bvl-reading-progress {
	position: fixed;
	top: 76px;
	right: 0;
	left: 0;
	z-index: 998;
	height: 4px;
	background: transparent;
	pointer-events: none;
}

.admin-bar .bvl-reading-progress {
	top: 108px;
}

.bvl-reading-progress span {
	display: block;
	width: 100%;
	height: 100%;
	transform: scaleX( 0 );
	transform-origin: left center;
	background: var(--bvl-brass);
	box-shadow: 0 0 18px rgba( 185, 139, 66, 0.45 );
}

.bvl-card h2 {
	margin-bottom: 10px;
	color: var(--bvl-forest-dark);
	font-size: 1.35rem;
	line-height: 1.22;
}

@media (min-width: 720px) {
	:root {
		--bvl-shell: min( 1120px, calc( 100vw - 56px ) );
	}

	.bvl-section {
		padding: 82px 0;
	}

	.bvl-hero h1 {
		font-size: 3.55rem;
	}

	.bvl-hero__metrics {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}

	.bvl-grid--three,
	.bvl-books {
		grid-template-columns: repeat( 3, minmax( 0, 1fr ) );
	}

	.bvl-post-grid {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}

	.bvl-portal-layout {
		grid-template-columns: minmax( 0, 1fr ) 320px;
	}

	.bvl-contact-band {
		grid-template-columns: minmax( 0, 1.4fr ) minmax( 280px, 0.6fr );
		padding: 44px;
	}

	.bvl-footer__grid {
		grid-template-columns: minmax( 0, 1.4fr ) minmax( 170px, 0.5fr ) minmax( 220px, 0.6fr );
	}
}

@media (max-width: 719px) {
	.admin-bar .bvl-site-header {
		top: 0;
	}

	.bvl-site-header__inner {
		min-height: 66px;
	}

	.bvl-site-brand__name {
		font-size: 1.02rem;
	}

	.bvl-site-brand__tagline {
		display: none;
	}

	.bvl-menu-toggle {
		display: grid;
	}

	.bvl-primary-nav {
		position: absolute;
		top: calc( 100% + 8px );
		right: 0;
		left: 0;
		display: none;
		padding: 8px;
		border: 1px solid rgba( 23, 32, 38, 0.12 );
		border-radius: var(--bvl-radius);
		background: var(--bvl-paper);
		box-shadow: var(--bvl-shadow);
	}

	.bvl-primary-nav.is-open {
		display: block;
	}

	.bvl-primary-menu {
		display: grid;
		gap: 4px;
	}

	.bvl-primary-menu .menu-link {
		min-height: 48px;
		justify-content: space-between;
		padding: 0 14px;
	}

	.bvl-hero {
		min-height: auto;
		padding-top: 52px;
	}

	.bvl-hero::before {
		background-image:
			linear-gradient( 180deg, rgba( 15, 38, 33, 0.98 ) 0%, rgba( 15, 38, 33, 0.9 ) 58%, rgba( 15, 38, 33, 0.45 ) 100% ),
			url("../images/hero-books-portal.png");
		background-position: center top;
	}

	.bvl-hero h1 {
		font-size: clamp( 2.05rem, 9vw, 2.55rem );
	}

	.bvl-actions,
	.bvl-actions .bvl-button {
		width: 100%;
	}

	.bvl-contact-band {
		padding: 26px;
	}

	.bvl-page-hero h1,
	.bvl-archive-hero h1 {
		font-size: clamp( 2rem, 10vw, 2.65rem );
	}

	.blog .site-content,
	.archive .site-content,
	.single-post .site-content {
		padding: 38px 0 56px;
	}

	.blog .ast-row,
	.archive .ast-row {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.single-post .ast-article-single {
		padding: 0 !important;
	}

	.single-post .site-content > .ast-container {
		width: min( 100%, calc( 100vw - 24px ) );
		padding-top: 30px;
	}

	.single-post .entry-header {
		margin-bottom: 24px;
		padding: 0 0 24px;
	}

	.single-post .entry-header::before {
		margin-bottom: 13px;
	}

	.single-post header.entry-header .entry-title {
		font-size: 34px !important;
		line-height: 1.08;
	}

	.single-post .entry-content {
		padding: 0;
		font-size: 17px;
		line-height: 1.8;
	}

	.single-post .entry-content p:first-of-type:not( .has-small-font-size ) {
		font-size: 18px;
		line-height: 1.72;
	}

	.single-post .entry-content h2 {
		font-size: 1.42rem;
	}

	.single-post .entry-content h2::before {
		left: -14px;
	}

	.bvl-reading-meta {
		gap: 7px;
		margin-bottom: 24px;
		padding-bottom: 16px;
	}

	.bvl-reading-meta span {
		font-size: 0.78rem;
	}

	.bvl-post-toc {
		grid-template-columns: 1fr;
		gap: 14px;
		margin-bottom: 34px;
		padding: 18px 0;
	}

	.bvl-post-toc ol {
		grid-template-columns: 1fr;
	}

	.bvl-post-toc__item--h3 {
		margin-left: 0;
	}

	.bvl-article-cta {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		padding: 18px 0;
	}

	.bvl-article-cta__actions {
		width: auto;
	}

	.bvl-article-cta__actions .bvl-button {
		width: auto;
	}

	.bvl-article-nav {
		margin-top: 34px;
		padding-top: 0;
	}

	.bvl-article-nav__head {
		align-items: stretch;
		flex-direction: column;
	}

	.bvl-article-nav__head strong {
		font-size: 1.18rem;
	}

	.bvl-article-nav__all {
		width: 100%;
	}

	.bvl-article-nav__grid,
	.single-post .post-navigation .nav-links {
		grid-template-columns: 1fr;
	}

	.bvl-article-nav__card,
	.bvl-article-nav__card--next {
		min-height: 0;
		padding: 18px 0;
		border-left: 0;
		text-align: left;
	}

	.bvl-article-nav__card--next .bvl-article-nav__eyebrow {
		justify-content: flex-start;
	}

	.bvl-reading-progress {
		top: 66px;
	}
}

@media (min-width: 720px) and (max-width: 980px) {
	.blog .ast-row,
	.archive .ast-row {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}

	.single-post header.entry-header .entry-title {
		font-size: 42px !important;
	}
}

@media (max-width: 430px) {
	.bvl-hero__metrics {
		grid-template-columns: 1fr;
	}
}

/*
 * Single article reading experience.
 * A brand-colored reading room (green canvas) wrapping a paper reading card,
 * with a sticky reading aid on desktop and a calm single-column flow on mobile.
 */
.single-post .site-content {
	padding: 0 0 96px;
	background:
		radial-gradient( circle at 12% 0%, rgba( 185, 139, 66, 0.18 ), rgba( 185, 139, 66, 0 ) 30% ),
		linear-gradient( 180deg, var(--bvl-forest-dark) 0%, var(--bvl-forest) 44%, #102b25 100% );
}

.single-post .site-content > .ast-container {
	width: min( 1140px, calc( 100vw - 56px ) );
	padding-top: 72px;
}

.bvl-reader-layout {
	display: grid;
	grid-template-columns: 220px minmax( 0, 720px );
	justify-content: center;
	gap: 56px;
}

.bvl-reader-sidebar {
	align-self: start;
	position: sticky;
	top: 116px;
	display: grid;
	gap: 20px;
	font-family: Arial, sans-serif;
}

.admin-bar .bvl-reader-sidebar {
	top: 148px;
}

.bvl-reader-main {
	min-width: 0;
	font-family: Georgia, "Times New Roman", serif;
}

.bvl-reader-main > :first-child {
	margin-top: 0;
}

.single-post .bvl-reader-main p {
	margin: 0 0 1.42em;
	color: #26383e;
	font-size: 20px;
	line-height: 1.82;
}

.single-post .bvl-reader-main p:first-of-type:not( .has-small-font-size ) {
	margin-bottom: 1.55em;
	color: #18282d;
	font-size: 22px;
	line-height: 1.68;
}

.single-post .bvl-reader-main h2,
.single-post .bvl-reader-main h3 {
	color: var(--bvl-forest-dark);
	font-family: Arial, sans-serif;
	letter-spacing: 0;
	scroll-margin-top: 112px;
}

.single-post .bvl-reader-main h2 {
	position: relative;
	margin: 2.3em 0 0.7em;
	font-size: 30px;
	line-height: 1.18;
}

.single-post .bvl-reader-main h2::before {
	position: absolute;
	top: 0.2em;
	left: -24px;
	width: 4px;
	height: 1em;
	border-radius: 999px;
	background: var(--bvl-brass);
	content: "";
}

.single-post .bvl-reader-main h3 {
	margin: 1.75em 0 0.5em;
	font-size: 22px;
	line-height: 1.28;
}

.single-post .bvl-reader-main :where(ul, ol) {
	margin: 0 0 1.45em;
	padding-left: 1.35em;
}

.single-post .bvl-reader-main li {
	margin-top: 0.42em;
	font-size: 20px;
	line-height: 1.75;
}

.single-post .bvl-reader-main blockquote {
	margin: 2em 0;
	padding: 4px 0 4px 22px;
	border-left: 3px solid var(--bvl-brass);
	background: transparent;
	color: var(--bvl-forest-dark);
	font-size: 21px;
	line-height: 1.72;
}

.single-post .bvl-reader-main a:not( .bvl-button ) {
	color: var(--bvl-burgundy);
	font-weight: 700;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.2em;
}

.bvl-reader-sidebar .bvl-reading-meta {
	display: grid;
	gap: 8px;
	margin: 0;
	padding: 0 0 18px;
	border-bottom: 1px solid rgba( 23, 32, 38, 0.12 );
}

.bvl-reader-sidebar .bvl-reading-meta span {
	display: block;
	color: var(--bvl-muted);
	font-size: 13px;
	font-weight: 800;
	line-height: 1.35;
}

.bvl-reader-sidebar .bvl-reading-meta span:first-child {
	color: var(--bvl-burgundy);
	font-size: 12px;
	font-weight: 950;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.bvl-reader-sidebar .bvl-post-toc {
	display: block;
	margin: 0;
	padding: 18px;
	border: 1px solid rgba( 23, 32, 38, 0.11 );
	border-radius: var(--bvl-radius);
	background: rgba( 255, 253, 248, 0.72 );
	box-shadow: 0 12px 26px rgba( 23, 32, 38, 0.06 );
}

.bvl-reader-sidebar .bvl-post-toc strong {
	margin-bottom: 13px;
	color: var(--bvl-forest-dark);
	font-size: 12px;
	font-weight: 950;
	letter-spacing: 0.09em;
}

.bvl-reader-sidebar .bvl-post-toc ol {
	display: grid;
	grid-template-columns: 1fr;
	gap: 10px;
	padding: 0;
	list-style: none;
}

.bvl-reader-sidebar .bvl-post-toc a {
	color: var(--bvl-ink-soft);
	font-size: 14px;
	font-weight: 750;
	line-height: 1.35;
}

.bvl-reader-sidebar .bvl-post-toc__item--h3 a {
	color: var(--bvl-muted);
	font-size: 13px;
}

.bvl-reader-main .bvl-article-cta {
	display: grid;
	grid-template-columns: minmax( 0, 1fr ) auto;
	align-items: center;
	gap: 22px;
	margin-top: 52px;
	padding: 24px 0;
	border-top: 1px solid rgba( 23, 32, 38, 0.14 );
	border-bottom: 1px solid rgba( 23, 32, 38, 0.14 );
	font-family: Arial, sans-serif;
}

.single-post .bvl-reader-main .bvl-article-cta strong {
	margin: 0 0 6px;
	color: var(--bvl-forest-dark);
	font-size: 19px;
	line-height: 1.25;
}

.single-post .bvl-reader-main .bvl-article-cta p {
	margin: 0;
	color: var(--bvl-muted);
	font-size: 15px;
	line-height: 1.55;
}

.bvl-reader-main .bvl-article-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.bvl-reader-main .bvl-article-nav {
	margin-top: 46px;
	font-family: Arial, sans-serif;
}

.bvl-reader-main .bvl-article-nav__head {
	margin-bottom: 14px;
}

.bvl-reader-main .bvl-article-nav__grid {
	border-top: 1px solid rgba( 23, 32, 38, 0.14 );
}

.bvl-reader-main .bvl-article-nav__card {
	gap: 10px;
	padding: 18px 20px 18px 0;
	border-bottom: 1px solid rgba( 23, 32, 38, 0.14 );
	background: transparent;
	box-shadow: none;
}

.bvl-reader-main .bvl-article-nav__card--next {
	padding-right: 0;
	padding-left: 20px;
}

/*
 * Article title sizing sits here, ahead of the responsive overrides below, so the
 * tablet (980px) and mobile (719px) font-sizes win in the cascade.
 */
.single-post header.entry-header .entry-title {
	max-width: 820px;
	margin: 0;
	color: var(--bvl-white);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 52px !important;
	font-weight: 700;
	line-height: 1.08;
	text-wrap: balance;
	text-shadow: 0 2px 18px rgba( 0, 0, 0, 0.18 );
}

@media (max-width: 980px) {
	.single-post .site-content > .ast-container {
		width: min( 100%, calc( 100vw - 36px ) );
		padding-top: 46px;
	}

	.single-post .entry-header {
		max-width: 720px;
		margin-bottom: 30px;
	}

	.single-post header.entry-header .entry-title {
		font-size: 42px !important;
	}

	.bvl-reader-layout {
		grid-template-columns: minmax( 0, 720px );
		gap: 28px;
	}

	.bvl-reader-sidebar {
		position: static;
		gap: 16px;
	}

	.bvl-reader-sidebar .bvl-reading-meta {
		display: flex;
		flex-wrap: wrap;
		gap: 8px 14px;
	}

	.bvl-reader-sidebar .bvl-post-toc {
		padding: 16px 0;
		border-right: 0;
		border-left: 0;
		border-radius: 0;
		background: transparent;
		box-shadow: none;
	}

	.bvl-reader-sidebar .bvl-post-toc ol {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
		gap: 8px 16px;
	}
}

@media (max-width: 719px) {
	.single-post .site-content {
		padding-bottom: 72px;
	}

	.single-post .site-content > .ast-container {
		width: min( 100%, calc( 100vw - 28px ) );
		padding-top: 34px;
	}

	.single-post .entry-header {
		padding-bottom: 24px;
	}

	.single-post header.entry-header .entry-title {
		font-size: 34px !important;
		line-height: 1.1;
	}

	.single-post .bvl-reader-main p,
	.single-post .bvl-reader-main li {
		font-size: 18px;
		line-height: 1.78;
	}

	.single-post .bvl-reader-main p:first-of-type:not( .has-small-font-size ) {
		font-size: 19px;
		line-height: 1.68;
	}

	.single-post .bvl-reader-main h2 {
		font-size: 25px;
	}

	.single-post .bvl-reader-main h2::before {
		left: -14px;
	}

	.single-post .bvl-reader-main h3 {
		font-size: 21px;
	}

	.bvl-reader-sidebar .bvl-post-toc ol {
		grid-template-columns: 1fr;
	}

	.bvl-reader-main .bvl-article-cta {
		grid-template-columns: 1fr;
		gap: 14px;
		margin-top: 40px;
		padding: 20px 0;
	}

	.bvl-reader-main .bvl-article-cta__actions,
	.bvl-reader-main .bvl-article-cta__actions .bvl-button {
		width: 100%;
	}

	.bvl-reader-main .bvl-article-nav__head {
		align-items: stretch;
		flex-direction: column;
	}

	.bvl-reader-main .bvl-article-nav__grid {
		grid-template-columns: 1fr;
	}

	.bvl-reader-main .bvl-article-nav__card,
	.bvl-reader-main .bvl-article-nav__card--next {
		padding: 18px 0;
		border-left: 0;
		text-align: left;
	}

	.bvl-reader-main .bvl-article-nav__card--next .bvl-article-nav__eyebrow {
		justify-content: flex-start;
	}
}

.single-post .bvl-reader-main .bvl-article-cta p,
.single-post .bvl-reader-main .bvl-article-cta p:first-of-type:not( .has-small-font-size ) {
	margin: 0;
	color: var(--bvl-muted);
	font-family: Arial, sans-serif;
	font-size: 15px;
	line-height: 1.55;
}

.single-post .bvl-reader-main .bvl-article-cta__actions .bvl-button {
	width: auto;
}

.single-post .entry-header::after {
	display: block;
	width: 64px;
	height: 2px;
	margin-top: 24px;
	border-radius: 999px;
	background: var(--bvl-brass);
	content: "";
}

.single-post .entry-content {
	max-width: none;
	margin-inline: auto;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	color: var(--bvl-ink-soft);
	font-size: 19px;
	line-height: 1.82;
}

/* Override Astra's constrained content width so the reading layout spans full width. */
.single-post .entry-content > * {
	max-width: none;
	margin-right: 0;
	margin-left: 0;
}

.bvl-reader-layout {
	padding: clamp( 28px, 5vw, 56px );
	border: 1px solid rgba( 255, 255, 255, 0.18 );
	border-top: 4px solid var(--bvl-brass);
	border-radius: var(--bvl-radius);
	background:
		linear-gradient( 180deg, #fffdf8 0%, var(--bvl-paper) 100% );
	box-shadow: 0 18px 44px rgba( 0, 0, 0, 0.18 );
}

.bvl-reader-sidebar .bvl-post-toc {
	background: rgba( 255, 250, 240, 0.82 );
}

.bvl-reader-main .bvl-article-cta,
.bvl-reader-main .bvl-article-nav__grid,
.bvl-reader-main .bvl-article-nav__card {
	border-color: rgba( 23, 32, 38, 0.13 );
}

@media (max-width: 719px) {
	.single-post .site-content > .ast-container {
		width: min( 100%, calc( 100vw - 24px ) );
	}

	.single-post .entry-header {
		margin-bottom: 22px;
	}

	.bvl-reader-layout {
		padding: 22px 16px;
	}

	.bvl-reader-sidebar {
		gap: 12px;
	}

	.bvl-reader-sidebar .bvl-reading-meta {
		padding-bottom: 12px;
	}

	.bvl-reader-sidebar .bvl-post-toc {
		display: grid;
		grid-template-columns: 86px minmax( 0, 1fr );
		align-items: start;
		gap: 10px;
		padding: 12px 0;
	}

	.bvl-reader-sidebar .bvl-post-toc strong {
		margin: 2px 0 0;
		font-size: 11px;
	}

	.bvl-reader-sidebar .bvl-post-toc ol {
		gap: 7px;
	}

	.bvl-reader-sidebar .bvl-post-toc a,
	.bvl-reader-sidebar .bvl-post-toc__item--h3 a {
		font-size: 13px;
		line-height: 1.3;
	}

	.bvl-reader-main .bvl-article-cta {
		grid-template-columns: 1fr;
		gap: 10px;
		margin-top: 32px;
		padding: 16px 0;
	}

	.single-post .bvl-reader-main .bvl-article-cta strong {
		font-size: 17px;
	}

	.single-post .bvl-reader-main .bvl-article-cta p,
	.single-post .bvl-reader-main .bvl-article-cta p:first-of-type:not( .has-small-font-size ) {
		font-size: 14px;
		line-height: 1.45;
	}

	.bvl-reader-main .bvl-article-cta__actions {
		gap: 8px;
	}

	.bvl-reader-main .bvl-article-cta__actions,
	.bvl-reader-main .bvl-article-cta__actions .bvl-button {
		width: auto;
	}

	.bvl-reader-main .bvl-article-cta .bvl-button {
		min-height: 36px;
		padding: 0 11px;
		font-size: 0.8rem;
	}

	.bvl-reader-main .bvl-article-nav {
		margin-top: 34px;
	}

	.bvl-reader-main .bvl-article-nav__head {
		align-items: flex-start;
		flex-direction: row;
		margin-bottom: 10px;
	}

	.bvl-reader-main .bvl-article-nav__head span {
		font-size: 0.68rem;
	}

	.bvl-reader-main .bvl-article-nav__head strong {
		font-size: 1.06rem;
	}

	.bvl-reader-main .bvl-article-nav__all {
		width: auto;
		font-size: 0.8rem;
	}

	.bvl-reader-main .bvl-article-nav__card,
	.bvl-reader-main .bvl-article-nav__card--next {
		gap: 7px;
		padding: 14px 0;
	}

	.bvl-reader-main .bvl-article-nav__eyebrow {
		font-size: 0.68rem;
	}

	.bvl-reader-main .bvl-article-nav__card strong {
		font-size: 0.95rem;
		line-height: 1.28;
	}

	.bvl-reader-main .bvl-article-nav__card small {
		font-size: 0.78rem;
	}
}

/*
 * Article header: contrast card + brand badge, and next/previous card polish.
 */
.single-post .entry-header {
	position: relative;
	max-width: 960px;
	margin: 0 auto 30px;
	padding: clamp( 30px, 5vw, 50px );
	overflow: hidden;
	border: 1px solid rgba( 255, 255, 255, 0.18 );
	border-radius: var(--bvl-radius);
	background:
		linear-gradient( 135deg, rgba( 15, 38, 33, 0.98 ), rgba( 21, 55, 47, 0.94 ) 62%, rgba( 122, 41, 52, 0.82 ) ),
		var(--bvl-forest-dark);
	box-shadow: 0 18px 42px rgba( 0, 0, 0, 0.18 );
	color: var(--bvl-white);
}

.single-post .entry-header::before {
	display: inline-flex;
	min-height: 28px;
	align-items: center;
	margin-bottom: 18px;
	padding: 0 10px;
	border: 1px solid rgba( 255, 255, 255, 0.2 );
	border-radius: 999px;
	background: rgba( 255, 255, 255, 0.08 );
	color: var(--bvl-brass);
	content: "Blog BVL";
	font-family: Arial, sans-serif;
	font-size: 13px;
	font-weight: 900;
	letter-spacing: 0.12em;
	line-height: 1;
	text-transform: uppercase;
}

.bvl-reader-main .bvl-article-nav {
	margin-top: 42px;
	padding: 22px;
	border: 1px solid rgba( 23, 32, 38, 0.1 );
	border-radius: var(--bvl-radius);
	background: rgba( 255, 253, 248, 0.74 );
	box-shadow: 0 14px 30px rgba( 23, 32, 38, 0.07 );
}

.bvl-reader-main .bvl-article-nav__head {
	margin-bottom: 16px;
}

.bvl-reader-main .bvl-article-nav__grid {
	gap: 14px;
	border-top: 0;
}

.bvl-reader-main .bvl-article-nav__card,
.bvl-reader-main .bvl-article-nav__card--next {
	position: relative;
	min-height: 112px;
	padding: 16px 54px 16px 16px;
	overflow: hidden;
	border: 1px solid rgba( 23, 32, 38, 0.11 );
	border-radius: var(--bvl-radius);
	background: var(--bvl-white);
	box-shadow: 0 10px 24px rgba( 23, 32, 38, 0.07 );
	color: var(--bvl-forest-dark) !important;
	font-family: Arial, sans-serif;
	line-height: 1.25;
	text-align: left;
	transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.bvl-reader-main .bvl-article-nav__card--next {
	border-left: 1px solid rgba( 23, 32, 38, 0.11 );
}

.bvl-reader-main .bvl-article-nav__card::after {
	position: absolute;
	right: 16px;
	bottom: 16px;
	display: grid;
	width: 34px;
	height: 34px;
	place-items: center;
	border-radius: 999px;
	background: rgba( 122, 41, 52, 0.08 );
	color: var(--bvl-burgundy);
	content: "\2192";
	font-size: 18px;
	font-weight: 900;
	line-height: 1;
}

.bvl-reader-main .bvl-article-nav__eyebrow span[aria-hidden="true"] {
	display: none;
}

.bvl-reader-main .bvl-article-nav__card--prev::after {
	content: "\2190";
}

.bvl-reader-main .bvl-article-nav__card:hover {
	transform: translateY( -2px );
	border-color: rgba( 122, 41, 52, 0.28 );
	box-shadow: 0 16px 34px rgba( 23, 32, 38, 0.12 );
	color: var(--bvl-forest-dark) !important;
}

.bvl-reader-main .bvl-article-nav__card--next .bvl-article-nav__eyebrow {
	justify-content: flex-start;
}

.bvl-reader-main .bvl-article-nav__card strong {
	color: var(--bvl-forest-dark);
	font-size: 0.98rem;
	line-height: 1.26;
}

.bvl-reader-main .bvl-article-nav__card small {
	color: var(--bvl-muted);
	font-size: 0.82rem;
	line-height: 1.3;
}

@media (max-width: 719px) {
	.single-post .entry-header {
		margin-bottom: 22px;
		padding: 28px 20px;
	}

	.single-post .entry-header::before {
		margin-bottom: 14px;
	}

	.single-post header.entry-header .entry-title {
		font-size: 32px !important;
		line-height: 1.1;
	}

	.bvl-reader-main .bvl-article-nav {
		margin-top: 32px;
		padding: 16px;
	}

	.bvl-reader-main .bvl-article-nav__head {
		align-items: stretch;
		flex-direction: column;
		gap: 10px;
	}

	.bvl-reader-main .bvl-article-nav__all {
		align-self: flex-start;
	}

	.bvl-reader-main .bvl-article-nav__grid {
		grid-template-columns: 1fr;
		gap: 10px;
	}

	.bvl-reader-main .bvl-article-nav__card,
	.bvl-reader-main .bvl-article-nav__card--next {
		min-height: 108px;
		padding: 14px 50px 14px 14px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	* {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}
