/**
 * Stoness RV Travel — main stylesheet
 */

/* --------------------------------------------------------------------------
   Design tokens — literary + travel palette
   -------------------------------------------------------------------------- */
:root {
	--color-parchment: #f7f2e9;
	--color-sand: #ebe3d4;
	--color-burgundy: #7a2e3a;
	--color-burgundy-dark: #5c2230;
	--color-burgundy-light: #9b4452;
	--color-forest: #3d5a4c;
	--color-forest-dark: #2c4238;
	--color-forest-light: #4f7565;
	--color-gold: #c9a227;
	--color-gold-light: #e0b84a;
	--color-gold-dark: #a6851f;
	--color-ink: #2c2416;
	--color-ink-muted: #5c5348;
	--color-white: #ffffff;
	--color-border: rgba(44, 36, 22, 0.12);

	/* Semantic aliases used across the theme */
	--color-sage: var(--color-sand);
	--color-sage-dark: #ddd0bc;
	--color-teal: var(--color-forest-light);
	--color-teal-dark: var(--color-forest);
	--color-navy: var(--color-ink);
	--color-navy-light: var(--color-forest-dark);
	--color-cream: var(--color-parchment);
	--color-text: var(--color-ink);
	--color-text-muted: var(--color-ink-muted);

	--font-display: 'Libre Baskerville', Georgia, 'Times New Roman', serif;
	--font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

	--shadow-sm: 0 2px 8px rgba(44, 36, 22, 0.08);
	--shadow-md: 0 8px 30px rgba(44, 36, 22, 0.12);
	--shadow-lg: 0 16px 48px rgba(44, 36, 22, 0.16);

	--radius-sm: 6px;
	--radius-md: 12px;
	--radius-lg: 20px;

	--header-height: 72px;
	--container-max: 1200px;
	--transition: 0.25s ease;
}

/* --------------------------------------------------------------------------
   Reset & base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--color-text);
	background: var(--color-sage);
	-webkit-font-smoothing: antialiased;
}

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

a {
	color: var(--color-burgundy);
	text-decoration-thickness: 1px;
	text-underline-offset: 2px;
	transition: color var(--transition);
}

a:hover {
	color: var(--color-burgundy-dark);
}

h1, h2, h3, h4 {
	font-family: var(--font-display);
	line-height: 1.25;
	color: var(--color-navy);
}

p {
	margin: 0 0 1rem;
}

.container {
	width: 100%;
	max-width: var(--container-max);
	margin-inline: auto;
	padding-inline: 1.25rem;
}

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 99999;
	width: auto;
	height: auto;
	padding: 1rem;
	margin: 0;
	overflow: visible;
	clip: auto;
	background: var(--color-white);
	color: var(--color-navy);
	box-shadow: var(--shadow-md);
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	font-family: var(--font-body);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	border: 2px solid transparent;
	border-radius: var(--radius-sm);
	cursor: pointer;
	transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn:hover {
	transform: translateY(-1px);
}

.btn--primary {
	background: var(--color-burgundy);
	color: var(--color-white);
	border-color: var(--color-burgundy);
	box-shadow: 0 2px 8px rgba(122, 46, 58, 0.25);
}

.btn--primary:hover {
	background: var(--color-burgundy-dark);
	border-color: var(--color-burgundy-dark);
	color: var(--color-white);
}

.btn--secondary {
	background: var(--color-forest);
	color: var(--color-white);
	border-color: var(--color-forest);
}

.btn--secondary:hover {
	background: var(--color-forest-dark);
	border-color: var(--color-forest-dark);
	color: var(--color-white);
}

.btn--outline {
	background: transparent;
	color: var(--color-white);
	border-color: rgba(255, 255, 255, 0.85);
}

.btn--outline:hover {
	background: rgba(255, 255, 255, 0.15);
	color: var(--color-white);
}

.btn--sm {
	padding: 0.5rem 1rem;
	font-size: 0.8125rem;
}

.btn--purchase {
	width: 100%;
	background: var(--color-burgundy);
	color: var(--color-white);
	border-color: var(--color-burgundy);
}

.btn--purchase:hover {
	background: var(--color-burgundy-dark);
	color: var(--color-white);
}

/* --------------------------------------------------------------------------
   Header & navigation
   -------------------------------------------------------------------------- */
.site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: var(--color-white);
	border-bottom: 3px solid var(--color-gold);
	box-shadow: var(--shadow-sm);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--header-height);
	gap: 1rem;
}

.site-branding__link {
	display: flex;
	align-items: center;
	text-decoration: none;
	color: var(--color-ink);
}

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

.site-branding__link:hover .site-branding__title {
	color: var(--color-burgundy);
}

.site-branding__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	gap: 0.125rem;
}

.site-branding__title {
	font-family: var(--font-display);
	font-size: clamp(1rem, 2.8vw, 1.35rem);
	font-weight: 700;
	line-height: 1.15;
	color: var(--color-ink);
	letter-spacing: -0.01em;
	transition: color var(--transition);
}

.site-branding__tagline {
	font-family: var(--font-body);
	font-size: clamp(0.6875rem, 1.8vw, 0.8125rem);
	font-weight: 500;
	color: var(--color-forest);
	line-height: 1.3;
	letter-spacing: 0.02em;
}

/* Hamburger toggle */
.menu-toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 5px;
	width: 44px;
	height: 44px;
	padding: 10px;
	background: transparent;
	border: none;
	border-radius: var(--radius-sm);
	cursor: pointer;
	z-index: 1002;
}

.menu-toggle:hover,
.menu-toggle:focus-visible {
	background: var(--color-cream);
	outline: none;
}

.menu-toggle__bar {
	display: block;
	width: 100%;
	height: 2px;
	background: var(--color-navy);
	border-radius: 2px;
	transition: transform var(--transition), opacity var(--transition);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(2) {
	opacity: 0;
}

.menu-toggle[aria-expanded="true"] .menu-toggle__bar:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

/* Primary nav — desktop */
.primary-navigation {
	display: flex;
	align-items: center;
}

.stoness-menu {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.125rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.stoness-menu > li {
	position: relative;
}

.stoness-menu > li > a {
	display: block;
	padding: 0.5rem 0.75rem;
	font-size: 0.8125rem;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.03em;
	text-decoration: none;
	color: var(--color-navy);
	border-radius: var(--radius-sm);
	transition: background var(--transition), color var(--transition);
}

.stoness-menu > li > a:hover,
.stoness-menu > li.current-menu-item > a,
.stoness-menu > li.current_page_item > a {
	color: var(--color-burgundy);
	background: rgba(122, 46, 58, 0.07);
}

/* Dropdown submenus */
.stoness-submenu {
	position: absolute;
	top: 100%;
	left: 0;
	min-width: 240px;
	list-style: none;
	margin: 0;
	padding: 0.5rem 0;
	background: var(--color-white);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-lg);
	border: 1px solid var(--color-border);
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
	z-index: 100;
}

.stoness-menu > li:hover > .stoness-submenu,
.stoness-menu > li:focus-within > .stoness-submenu,
.stoness-menu > li.is-open > .stoness-submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.stoness-submenu a {
	display: block;
	padding: 0.5rem 1rem;
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	text-transform: none;
	letter-spacing: 0;
	color: var(--color-text);
	white-space: nowrap;
}

.stoness-submenu a:hover {
	background: var(--color-parchment);
	color: var(--color-burgundy);
}

.site-header__overlay {
	display: none;
}

/* Mobile navigation */
@media (max-width: 1024px) {
	.menu-toggle {
		display: flex;
	}

	.primary-navigation {
		position: fixed;
		top: 0;
		right: 0;
		width: min(320px, 88vw);
		height: 100vh;
		height: 100dvh;
		padding: calc(var(--header-height) + 1rem) 1.25rem 2rem;
		background: var(--color-white);
		box-shadow: -4px 0 24px rgba(0, 0, 0, 0.15);
		overflow-y: auto;
		transform: translateX(100%);
		transition: transform 0.3s ease;
		z-index: 1001;
	}

	.primary-navigation.is-open {
		transform: translateX(0);
	}

	.stoness-menu {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.stoness-menu > li > a {
		padding: 0.875rem 0.5rem;
		font-size: 0.9375rem;
		border-bottom: 1px solid var(--color-border);
	}

	.stoness-submenu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		border: none;
		border-radius: 0;
		padding: 0 0 0 1rem;
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.3s ease;
	}

	.stoness-menu > li.is-open > .stoness-submenu {
		max-height: 600px;
		padding-bottom: 0.5rem;
	}

	.stoness-submenu a {
		padding: 0.625rem 0.5rem;
		font-size: 0.875rem;
		border-bottom: 1px solid var(--color-border);
		white-space: normal;
	}

	.site-header__overlay {
		display: block;
		position: fixed;
		inset: 0;
		background: rgba(36, 55, 67, 0.5);
		z-index: 1000;
		opacity: 0;
		visibility: hidden;
		transition: opacity 0.3s ease, visibility 0.3s ease;
	}

	.site-header__overlay.is-visible {
		opacity: 1;
		visibility: visible;
	}

	body.nav-open {
		overflow: hidden;
	}
}

@media (min-width: 1025px) {
	.menu-toggle {
		display: none;
	}
}

/* --------------------------------------------------------------------------
   Hero — split: content left, slider right
   -------------------------------------------------------------------------- */
.hero {
	background: var(--color-parchment);
	overflow: hidden;
}

.hero__inner {
	display: grid;
	grid-template-columns: 1fr;
	grid-template-rows: auto minmax(320px, 42vh);
	width: 100%;
	min-height: clamp(520px, 75vh, 680px);
}

.hero__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(2rem, 5vw, 3.5rem) clamp(1.25rem, 5vw, 4rem);
	background:
		linear-gradient(145deg, rgba(44, 66, 56, 0.97) 0%, rgba(61, 90, 76, 0.95) 40%, rgba(92, 34, 48, 0.96) 100%);
	position: relative;
	overflow: hidden;
}

/* Subtle map-paper texture on hero panel */
.hero__content::before {
	content: '';
	position: absolute;
	inset: 0;
	background:
		radial-gradient(circle at 20% 80%, rgba(201, 162, 39, 0.12) 0%, transparent 50%),
		radial-gradient(circle at 85% 15%, rgba(255, 255, 255, 0.06) 0%, transparent 40%);
	pointer-events: none;
}

.hero__content > * {
	position: relative;
	z-index: 1;
}

.hero__media {
	position: relative;
	width: 100%;
	height: 100%;
	min-height: inherit;
	overflow: hidden;
	background: var(--color-forest-dark);
}

.hero__slider {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.hero__slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	transition: opacity 1s ease;
	pointer-events: none;
}

.hero__slide.is-active {
	opacity: 1;
	z-index: 1;
	pointer-events: auto;
}

.hero__slide img {
	width: 100%;
	height: 100%;
	min-width: 100%;
	min-height: 100%;
	object-fit: cover;
	object-position: center center;
	display: block;
}

.hero__eyebrow {
	margin: 0 0 0.75rem;
	font-size: 0.875rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.18em;
	color: var(--color-gold-light);
}

.hero__title {
	margin: 0 0 1rem;
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	color: var(--color-white);
	line-height: 1.2;
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.2);
}

.hero__subtitle {
	margin: 0 0 1.75rem;
	font-size: clamp(1rem, 2vw, 1.1875rem);
	color: rgba(255, 255, 255, 0.92);
	max-width: 36ch;
	line-height: 1.6;
}

.hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

/* Hero buttons — high contrast on dark gradient */
.hero__content .btn--primary {
	background: var(--color-gold);
	color: var(--color-ink);
	border-color: var(--color-gold);
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
	font-weight: 700;
}

.hero__content .btn--primary:hover {
	background: var(--color-gold-light);
	border-color: var(--color-gold-light);
	color: var(--color-ink);
}

.btn--hero-outline {
	color: var(--color-white);
	border-color: rgba(255, 255, 255, 0.9);
	background: rgba(255, 255, 255, 0.08);
	backdrop-filter: blur(2px);
	font-weight: 600;
}

.btn--hero-outline:hover {
	background: rgba(255, 255, 255, 0.2);
	border-color: var(--color-white);
	color: var(--color-white);
}

.hero__controls {
	position: absolute;
	bottom: 1.25rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 5;
	display: flex;
	gap: 0.5rem;
	padding: 0.5rem 0.75rem;
	background: rgba(36, 55, 67, 0.45);
	border-radius: 999px;
	backdrop-filter: blur(4px);
}

.hero__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 2px solid rgba(255, 255, 255, 0.75);
	border-radius: 50%;
	background: transparent;
	cursor: pointer;
	transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.hero__dot.is-active,
.hero__dot:hover {
	background: var(--color-white);
	border-color: var(--color-white);
	transform: scale(1.15);
}

@media (min-width: 992px) {
	.hero__inner {
		grid-template-columns: 1fr 1fr;
		grid-template-rows: 1fr;
		min-height: clamp(540px, 72vh, 700px);
	}

	.hero__content {
		padding: 3rem clamp(2rem, 5vw, 5rem);
	}

	.hero__media {
		min-height: 100%;
	}
}

@media (min-width: 1200px) {
	.hero__inner {
		grid-template-columns: 45fr 55fr;
	}
}

/* --------------------------------------------------------------------------
   Pillar cards
   -------------------------------------------------------------------------- */
.section {
	padding-block: 3.5rem;
}

.section--pillars {
	padding-block: 2.5rem 3rem;
	background: var(--color-cream);
}

.section--alt {
	background: rgba(255, 255, 255, 0.55);
	border-radius: var(--radius-lg);
	padding-inline: clamp(1rem, 3vw, 2rem);
	margin-block: 0.5rem;
}

.section--western {
	background: linear-gradient(135deg, var(--color-burgundy-dark) 0%, var(--color-burgundy) 50%, #6b3a2a 100%);
	border-radius: var(--radius-lg);
	color: var(--color-white);
}

.section--western .section__title,
.section--western h2,
.section--western h3,
.section--western blockquote {
	color: var(--color-white);
}

.section--solar {
	padding-bottom: 4rem;
}

.section__header {
	margin-bottom: 2rem;
	text-align: center;
	max-width: 720px;
	margin-inline: auto;
}

.section__title {
	margin: 0 0 0.75rem;
	font-size: clamp(1.5rem, 3vw, 2rem);
}

.section__lead {
	margin: 0;
	color: var(--color-text-muted);
	font-size: 1.0625rem;
}

.section__footer {
	text-align: center;
	margin-top: 2rem;
}

.pillar-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

@media (min-width: 768px) {
	.pillar-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

.pillar-card {
	background: var(--color-white);
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-md);
	transition: transform var(--transition), box-shadow var(--transition);
}

.pillar-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-lg);
}

.pillar-card__inner {
	display: grid;
	grid-template-columns: 1fr;
	align-items: stretch;
}

@media (min-width: 576px) {
	.pillar-card__inner {
		grid-template-columns: minmax(0, 11fr) minmax(0, 13fr);
		min-height: 360px;
	}

	.pillar-card--guides .pillar-card__inner {
		grid-template-columns: minmax(0, 13fr) minmax(0, 11fr);
	}
}

.pillar-card__media {
	position: relative;
	width: 100%;
	overflow: hidden;
	background: linear-gradient(180deg, var(--color-sand) 0%, var(--color-parchment) 100%);
}

/* Mobile: image area sized to book-cover ratio */
@media (max-width: 575px) {
	.pillar-card__media {
		aspect-ratio: 131 / 209;
	}
}

@media (min-width: 576px) {
	.pillar-card__media {
		height: 100%;
		min-height: 360px;
	}
}

/* Guides card: text left, image right on desktop */
@media (min-width: 576px) {
	.pillar-card--guides .pillar-card__body {
		order: 1;
	}

	.pillar-card--guides .pillar-card__media {
		order: 2;
	}
}

.pillar-slider {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

.pillar-slider__slide {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0.5rem 0.5rem 2rem;
	opacity: 0;
	transition: opacity 0.8s ease;
	box-sizing: border-box;
}

.pillar-slider__slide.is-active {
	opacity: 1;
	z-index: 1;
}

.pillar-slider__slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center center;
}

.pillar-slider__dots {
	position: absolute;
	bottom: 0.625rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	display: flex;
	gap: 0.375rem;
	padding: 0.35rem 0.5rem;
	background: rgba(44, 36, 22, 0.45);
	border-radius: 999px;
	backdrop-filter: blur(4px);
}

.pillar-slider__dot {
	width: 8px;
	height: 8px;
	padding: 0;
	border: none;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.45);
	cursor: pointer;
	transition: background var(--transition), transform var(--transition);
}

.pillar-slider__dot.is-active,
.pillar-slider__dot:hover {
	background: var(--color-white);
	transform: scale(1.15);
}

.pillar-card__body {
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
	padding: clamp(1.25rem, 2.5vw, 1.75rem);
	background: var(--color-white);
	min-height: 100%;
}

.pillar-card__title {
	margin: 0 0 0.375rem;
	font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

.pillar-card__title a {
	text-decoration: none;
	color: var(--color-ink);
	transition: color var(--transition);
}

.pillar-card__title a:hover {
	color: var(--color-burgundy);
}

.pillar-card__tagline {
	margin: 0 0 0.75rem;
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--color-burgundy);
	line-height: 1.4;
}

.pillar-card__excerpt {
	margin: 0 0 0.875rem;
	color: var(--color-text-muted);
	font-size: 0.875rem;
	line-height: 1.55;
}

.pillar-card__list {
	margin: 0 0 1rem;
	padding: 0 0 0 1.125rem;
	font-size: 0.8125rem;
	color: var(--color-text-muted);
	line-height: 1.5;
	flex: 1;
}

.pillar-card__list li {
	margin-bottom: 0.375rem;
}

.pillar-card__list li:last-child {
	margin-bottom: 0;
}

.pillar-card__link {
	display: inline-flex;
	align-items: center;
	margin-top: auto;
	padding-top: 0.75rem;
	font-weight: 600;
	font-size: 0.9375rem;
	text-decoration: none;
	color: var(--color-burgundy);
	border-top: 1px solid var(--color-border);
	width: 100%;
	transition: color var(--transition);
}

.pillar-card__link:hover {
	color: var(--color-burgundy-dark);
}

.pillar-card--novels {
	border-left: 4px solid var(--color-burgundy);
}

.pillar-card--guides {
	border-left: 4px solid var(--color-gold);
}

/* --------------------------------------------------------------------------
   Home layout (main + sidebar)
   -------------------------------------------------------------------------- */
.home-layout {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	padding-block: 1rem 3rem;
}

@media (min-width: 992px) {
	.home-layout {
		grid-template-columns: 1fr 300px;
		gap: 2.5rem;
		align-items: start;
	}

	.home-layout__sidebar {
		position: sticky;
		top: calc(var(--header-height) + 1.5rem);
	}
}

/* --------------------------------------------------------------------------
   Book grid (novels)
   -------------------------------------------------------------------------- */
.book-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
	gap: 1.5rem;
}

@media (min-width: 576px) {
	.book-grid {
		grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
	}
}

.book-card {
	display: flex;
	flex-direction: column;
	background: var(--color-white);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: transform var(--transition), box-shadow var(--transition);
}

.book-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--shadow-md);
}

.book-card__cover-link {
	display: block;
	overflow: hidden;
	background: var(--color-cream);
}

.book-card__cover {
	width: 100%;
	height: auto;
	aspect-ratio: 2 / 3;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.book-card:hover .book-card__cover {
	transform: scale(1.04);
}

.book-card__info {
	padding: 1rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	flex: 1;
}

.book-card__title {
	margin: 0;
	font-family: var(--font-body);
	font-size: 0.9375rem;
	font-weight: 600;
	line-height: 1.35;
}

.book-card__title a {
	text-decoration: none;
	color: var(--color-navy);
}

.book-card__title a:hover {
	color: var(--color-burgundy);
}

/* --------------------------------------------------------------------------
   Travel guides
   -------------------------------------------------------------------------- */
.guide-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
	gap: 1.5rem;
	margin-bottom: 2rem;
}

.guide-card {
	background: var(--color-white);
	border-radius: var(--radius-md);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	transition: transform var(--transition), box-shadow var(--transition);
}

.guide-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--shadow-md);
}

.guide-card__link {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	color: inherit;
	height: 100%;
}

.guide-card__cover {
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 4;
	object-fit: cover;
}

.guide-card__title {
	margin: 0;
	padding: 1rem;
	font-family: var(--font-body);
	font-size: 0.9375rem;
	font-weight: 600;
	text-align: center;
	color: var(--color-navy);
}

.guide-card:hover .guide-card__title {
	color: var(--color-burgundy);
}

/* CTA banner */
.cta-banner {
	display: grid;
	grid-template-columns: 1fr;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-md);
}

@media (min-width: 768px) {
	.cta-banner {
		grid-template-columns: 1fr 1fr;
	}
}

.cta-banner__image {
	width: 100%;
	height: 100%;
	min-height: 220px;
	object-fit: cover;
}

.cta-banner__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: 2rem;
	background: linear-gradient(135deg, var(--color-forest-dark) 0%, var(--color-forest) 100%);
	color: var(--color-white);
}

.cta-banner__content h3 {
	margin: 0 0 0.75rem;
	color: var(--color-white);
	font-size: 1.375rem;
}

.cta-banner__content p {
	margin: 0 0 1.25rem;
	color: rgba(255, 255, 255, 0.85);
}

.cta-banner__content .btn--primary {
	align-self: flex-start;
	background: var(--color-gold);
	color: var(--color-ink);
	border-color: var(--color-gold);
}

.cta-banner__content .btn--primary:hover {
	background: var(--color-gold-light);
	border-color: var(--color-gold-light);
	color: var(--color-ink);
}

/* --------------------------------------------------------------------------
   Products
   -------------------------------------------------------------------------- */
.product-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
	gap: 1rem;
}

.product-card {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.625rem;
	padding: 1rem;
	background: var(--color-white);
	border-radius: var(--radius-md);
	text-decoration: none;
	color: var(--color-navy);
	text-align: center;
	box-shadow: var(--shadow-sm);
	transition: transform var(--transition), box-shadow var(--transition);
}

.product-card:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-md);
	color: var(--color-burgundy);
}

.product-card img {
	width: 100%;
	max-width: 150px;
	height: auto;
	object-fit: contain;
	border-radius: var(--radius-sm);
}

.product-card span {
	font-size: 0.8125rem;
	font-weight: 600;
}

/* --------------------------------------------------------------------------
   Western promo
   -------------------------------------------------------------------------- */
.western-promo {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
	padding: clamp(1.5rem, 4vw, 2.5rem);
}

@media (min-width: 768px) {
	.western-promo {
		grid-template-columns: 1fr 1fr;
		align-items: center;
	}
}

.western-promo__title {
	margin: 0 0 1rem;
	font-size: clamp(1.25rem, 3vw, 1.75rem);
}

.western-promo__title a {
	color: var(--color-gold-light);
	text-decoration: none;
}

.western-promo__title a:hover {
	color: var(--color-white);
}

.western-promo__collage {
	margin-bottom: 1rem;
	border-radius: var(--radius-sm);
}

.western-promo__scene img {
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-md);
}

.western-promo__quote blockquote {
	margin: 0 0 1.25rem;
	padding: 0;
	border: none;
	font-style: italic;
	font-size: 1.0625rem;
	line-height: 1.7;
	color: rgba(255, 255, 255, 0.9);
}

.western-promo__quote blockquote p {
	margin: 0;
}

.western-promo .btn--outline {
	border-color: rgba(255, 255, 255, 0.7);
	color: var(--color-white);
}

/* --------------------------------------------------------------------------
   Video embed
   -------------------------------------------------------------------------- */
.video-embed {
	position: relative;
	width: 100%;
	padding-bottom: 56.25%;
	border-radius: var(--radius-lg);
	overflow: hidden;
	box-shadow: var(--shadow-md);
	background: var(--color-forest-dark);
}

.video-embed iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

/* --------------------------------------------------------------------------
   Sidebar widgets
   -------------------------------------------------------------------------- */
.sidebar-widget {
	background: var(--color-white);
	border-radius: var(--radius-md);
	padding: 1.25rem;
	margin-bottom: 1.25rem;
	box-shadow: var(--shadow-sm);
}

.sidebar-widget--featured {
	padding: 1rem;
}

.sidebar-widget__title {
	margin: 0 0 0.875rem;
	padding-bottom: 0.625rem;
	font-family: var(--font-display);
	font-size: 1.0625rem;
	border-bottom: 3px solid var(--color-gold);
}

.sidebar-featured {
	display: block;
	text-decoration: none;
	color: inherit;
	text-align: center;
}

.sidebar-featured img {
	margin-inline: auto;
	border-radius: var(--radius-sm);
	box-shadow: var(--shadow-sm);
}

.sidebar-featured p {
	margin: 0.875rem 0 0;
	font-size: 0.875rem;
	color: var(--color-navy);
}

.sidebar-featured:hover p {
	color: var(--color-burgundy);
}

.sidebar-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.sidebar-list li {
	padding: 0.5rem 0;
	border-bottom: 1px solid var(--color-border);
	font-size: 0.875rem;
}

.sidebar-list li:last-child {
	border-bottom: none;
}

.sidebar-list a {
	text-decoration: none;
	font-weight: 500;
}

.sidebar-list--comments .comment-author {
	font-weight: 600;
	color: var(--color-navy);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
	background: linear-gradient(180deg, var(--color-forest-dark) 0%, var(--color-ink) 100%);
	color: rgba(255, 255, 255, 0.85);
	margin-top: 1rem;
}

.site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding-block: 2rem;
}

.site-footer__brand {
	display: flex;
	align-items: center;
}

.site-footer__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: 1rem;
	color: var(--color-white);
}

.site-footer__tagline {
	margin: 0.25rem 0 0;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.7);
}

.site-footer__nav {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem 1.25rem;
}

.site-footer__nav a {
	color: rgba(255, 255, 255, 0.85);
	text-decoration: none;
	font-size: 0.875rem;
	font-weight: 500;
}

.site-footer__nav a:hover {
	color: var(--color-gold-light);
}

.site-footer__bottom {
	background: var(--color-ink);
	padding-block: 0.875rem;
	text-align: center;
}

.site-footer__bottom p {
	margin: 0;
	font-size: 0.8125rem;
	color: rgba(255, 255, 255, 0.6);
}

/* --------------------------------------------------------------------------
   Back to top
   -------------------------------------------------------------------------- */
.back-to-top {
	position: fixed;
	bottom: 1.5rem;
	right: 1.5rem;
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--color-burgundy);
	color: var(--color-white);
	border: none;
	border-radius: 50%;
	box-shadow: var(--shadow-md);
	cursor: pointer;
	z-index: 900;
	transition: background var(--transition), transform var(--transition), opacity var(--transition);
}

.back-to-top:hover {
	background: var(--color-burgundy-dark);
	transform: translateY(-2px);
}

.back-to-top[hidden] {
	display: none;
}

/* --------------------------------------------------------------------------
   Inner page banner
   -------------------------------------------------------------------------- */
.page-banner {
	position: relative;
	height: 300px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--color-forest-dark);
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
}

.page-banner__overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(
		135deg,
		rgba(44, 66, 56, 0.88) 0%,
		rgba(92, 34, 48, 0.78) 100%
	);
}

.page-banner__inner {
	position: relative;
	z-index: 1;
	width: 100%;
	text-align: center;
	padding-inline: 1.25rem;
}

.page-banner__title {
	margin: 0;
	font-family: var(--font-display);
	font-size: clamp(1.75rem, 4.5vw, 2.5rem);
	font-weight: 700;
	line-height: 1.2;
	color: var(--color-white);
	text-shadow: 0 2px 16px rgba(0, 0, 0, 0.25);
}

/* --------------------------------------------------------------------------
   Generic page content
   -------------------------------------------------------------------------- */
.page-content {
	padding-block: 2.5rem 3rem;
}

.page-content__body {
	background: var(--color-white);
	padding: clamp(1.5rem, 4vw, 2.5rem);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
}

/* --------------------------------------------------------------------------
   Small screen refinements
   -------------------------------------------------------------------------- */
@media (max-width: 575px) {
	.site-branding__tagline {
		display: none;
	}

	.hero__actions {
		flex-direction: column;
	}

	.hero__actions .btn {
		width: 100%;
	}

	.book-grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 1rem;
	}

	.book-card__info {
		padding: 0.75rem;
	}

	.book-card__title {
		font-size: 0.8125rem;
	}

	.product-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.site-footer__inner {
		flex-direction: column;
		text-align: center;
	}

	.site-footer__brand {
		text-align: center;
	}

	.site-footer__nav {
		justify-content: center;
	}
}

@media (max-width: 380px) {
	.book-grid {
		grid-template-columns: 1fr;
		max-width: 220px;
		margin-inline: auto;
	}
}
