body {
  background: url('../images/parchment.jpg') repeat;
  background-size: 600px 600px; /* adjust for tiling scale */
  font-family: var(--font-body);
  color: var(--color-text);
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--space-md);
}

section {
  margin-bottom: var(--space-lg);
}

/* Hero section */
.hero {
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  text-align: center;
  color: white;
  margin-bottom: 0; /* remove any gap below hero */
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35);
}

.hero-content {
  position: relative;
  z-index: 1;
}

.site-footer {
  background: url('../images/parchment-dark-green.jpg') repeat;
  background-size: 300px 300px;
  padding: var(--space-lg) var(--space-md);
  border-top: 2px solid #3a4a2a;
  box-shadow: inset 0 0 12px rgba(0,0,0,0.4);
  font-family: var(--font-body);
  color: #f5f5e6; /* light parchment text color */
}

.site-footer .footer-meta p {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
  text-align: center;
}
/* === Layout container === */
.content-area {
  display: flex;
  gap: var(--space-lg, 2rem);
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--space-md, 1rem);
}

/* === Main content === */
.site-main {
  flex: 3;
}

/* === Sidebar === */
.site-sidebar {
  flex: 1;
  padding: var(--space-md, 1rem);
  background: var(--sidebar-bg, transparent); /* transparent by default */
  border-left: 1px solid var(--border-color, #ccc);
}

/* === Book Widget === */
.book-widget {
  background: url('../images/parchment-green.jpg') repeat;
  background-size: cover; /* or 'contain' if you want the texture scaled */
  border: 1px solid var(--border-color, #ccc);
  border-radius: var(--radius-sm, 4px);
  padding: var(--space-md, 1rem);
  margin-bottom: var(--space-lg, 2rem);
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

.book-title {
  font-family: var(--heading-font, 'Georgia', serif); /* use your theme’s heading font */
  font-size: 1.4rem;
  font-weight: 700;
  text-align: center;
  color: var(--heading-color, #2a2a2a);
  margin-bottom: var(--space-md, 1rem);
  position: relative;
  letter-spacing: 0.5px;
}

.book-cover img {
  max-width: 150px; /* thumbnail size */
  height: auto;
  display: block;
  margin: 0 auto var(--space-md, 1rem);
  border-radius: var(--radius-sm, 4px);
}

.buy-button {
  display: block;              /* block element */
  width: 160px;                /* fixed width */
  margin: 0.75rem auto 0;      /* auto left/right centers it */
  padding: 0.6rem 1.2rem;      /* inner spacing */
  background: var(--accent-color, #2e6f40);
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  text-align: center;
  text-decoration: none;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
  transition: background 0.2s ease, transform 0.1s ease;
}

.buy-button:hover {
  background: var(--accent-hover, #24532f);
  transform: translateY(-2px);
}

.buy-button:active {
  transform: translateY(0);
  box-shadow: 0 1px 2px rgba(0,0,0,0.2);
}