/*
Theme Name: Constitutional Marketing
Theme URI: https://constitutionalmarketingbook.com
Author: David L. Nichols
Author URI: https://constitutionalmarketingbook.com/author
Description: Custom theme for Constitutional Marketing — The Small Business Owner's Field Course in 15-Minute Phone Marketing by David L. Nichols.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: constitutional-marketing
Tags: book, marketing, small-business
*/

/* =========================================================
   DESIGN TOKENS
   ========================================================= */
:root {
  --maroon: #6B1F2A;
  --maroon-deep: #4F151D;
  --cream: #F5EFE6;
  --cream-warm: #EFE5D4;
  --orange: #E8742C;
  --orange-deep: #C75E1C;
  --ink: #1F1B16;
  --tan: #C9A66B;
  --white: #FFFCF7;
  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --mono: 'JetBrains Mono', monospace;
}

/* =========================================================
   RESET & BASE
   ========================================================= */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--sans);
  line-height: 1.6;
  overflow-x: hidden;
}
@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}
a { color: inherit; }
img { max-width: 100%; display: block; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 28px; }
.sr-only { position: absolute; left: -9999px; }

/* =========================================================
   NAVIGATION
   ========================================================= */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 239, 230, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 27, 22, 0.08);
}
.nav-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: -0.01em;
  text-decoration: none;
  color: var(--ink);
}
.nav-links {
  display: flex;
  gap: 32px;
  align-items: center;
  list-style: none;
}
.nav-links a {
  font-size: 0.92rem;
  font-weight: 500;
  text-decoration: none;
  color: var(--ink);
  opacity: 0.75;
  transition: opacity 0.2s;
}
.nav-links a:hover { opacity: 1; }
.nav-links .nav-cta {
  background: var(--maroon);
  color: var(--white) !important;
  padding: 10px 20px;
  border-radius: 3px;
  font-weight: 600 !important;
  opacity: 1 !important;
  font-size: 0.88rem !important;
  transition: background 0.2s;
  text-decoration: none;
}
.nav-links .nav-cta:hover { background: var(--maroon-deep); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 760px) {
  .nav-links {
    position: fixed;
    top: 62px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    border-bottom: 1px solid rgba(31, 27, 22, 0.08);
  }
  .nav-links.open { max-height: 400px; }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 16px 28px; width: 100%; opacity: 1; }
  .nav-links .nav-cta { margin: 12px 28px; display: inline-block; width: calc(100% - 56px); text-align: center; }
  .nav-toggle { display: block; }
}

/* =========================================================
   SHARED SECTION ELEMENTS
   ========================================================= */
.section-label {
  font-family: var(--mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--maroon);
  font-weight: 600;
  margin-bottom: 14px;
}
.section-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 20px;
}
.section-intro {
  font-size: 1.08rem;
  color: rgba(31, 27, 22, 0.72);
  max-width: 580px;
  margin-bottom: 40px;
}
.eyebrow {
  font-family: var(--mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--maroon);
  font-weight: 600;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: '';
  width: 24px;
  height: 2px;
  background: var(--orange);
  display: inline-block;
}

/* =========================================================
   BUTTONS
   ========================================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  transition: all 0.2s;
  border: 1.5px solid transparent;
  cursor: pointer;
  font-family: var(--sans);
}
.btn-primary { background: var(--orange); color: var(--white); }
.btn-primary:hover { background: var(--orange-deep); transform: translateY(-1px); }
.btn-ghost { background: transparent; border-color: rgba(31, 27, 22, 0.25); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }

/* =========================================================
   HOMEPAGE — HERO
   ========================================================= */
.hero {
  padding: 160px 0 100px;
  position: relative;
  background: radial-gradient(ellipse 800px 500px at 85% -10%, rgba(232, 116, 44, 0.15), transparent), var(--cream);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 60px;
  align-items: center;
}
h1.hero-title {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2.6rem, 5.2vw, 4.3rem);
  line-height: 0.98;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin-bottom: 24px;
}
h1.hero-title em { font-style: italic; font-weight: 500; color: var(--maroon); }
.hero-sub {
  font-size: 1.18rem;
  color: rgba(31, 27, 22, 0.78);
  max-width: 480px;
  margin-bottom: 36px;
  font-weight: 400;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-meta {
  display: flex;
  gap: 28px;
  font-family: var(--mono);
  font-size: 0.78rem;
  color: rgba(31, 27, 22, 0.55);
  flex-wrap: wrap;
}
.hero-meta span { display: flex; align-items: center; gap: 6px; }

/* Hero phone animation */
.phone-stage {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  perspective: 1200px;
}
.phone-stage img.book-cover-hero {
  width: 220px;
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(31, 27, 22, 0.35);
  transform: rotate(-2deg);
  margin-right: -20px;
  position: relative;
  z-index: 2;
}
.phone {
  width: 280px;
  height: 572px;
  background: var(--ink);
  border-radius: 42px;
  padding: 12px;
  box-shadow: 0 50px 100px -20px rgba(31, 27, 22, 0.45), 0 0 0 1px rgba(31, 27, 22, 0.05);
  transform: rotate(3deg);
  animation: phoneFloat 6s ease-in-out infinite;
}
@keyframes phoneFloat {
  0%, 100% { transform: rotate(3deg) translateY(0); }
  50% { transform: rotate(3deg) translateY(-14px); }
}
.phone-screen {
  width: 100%;
  height: 100%;
  background: linear-gradient(165deg, var(--maroon) 0%, var(--maroon-deep) 100%);
  border-radius: 32px;
  overflow: hidden;
  position: relative;
  padding: 34px 20px 20px;
  display: flex;
  flex-direction: column;
}
.phone-notch {
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 90px;
  height: 22px;
  background: var(--ink);
  border-radius: 14px;
  z-index: 5;
}
.phone-time { font-family: var(--serif); font-size: 2.6rem; color: var(--cream); font-weight: 300; text-align: center; margin-top: 14px; letter-spacing: -0.02em; }
.phone-date { font-family: var(--sans); font-size: 0.78rem; color: rgba(245, 239, 230, 0.7); text-align: center; margin-bottom: 24px; font-weight: 500; }
.phone-countdown { font-family: var(--mono); font-size: 0.68rem; color: var(--orange); text-align: center; letter-spacing: 0.05em; margin-bottom: 28px; text-transform: uppercase; font-weight: 600; }
.phone-notif {
  background: rgba(245, 239, 230, 0.97);
  border-radius: 14px;
  padding: 12px 14px;
  margin-bottom: 10px;
  display: flex;
  gap: 10px;
  align-items: flex-start;
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
  animation: notifIn 0.6s ease backwards;
}
.phone-notif:nth-child(4) { animation-delay: 0.3s; }
.phone-notif:nth-child(5) { animation-delay: 0.6s; }
.phone-notif:nth-child(6) { animation-delay: 0.9s; }
@keyframes notifIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.notif-icon {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.notif-icon.orange { background: var(--orange); }
.notif-icon.tan { background: var(--tan); }
.notif-icon.dark { background: var(--ink); }
.notif-title { font-weight: 700; font-size: 0.8rem; color: var(--ink); margin-bottom: 1px; }
.notif-body { font-size: 0.74rem; color: rgba(31, 27, 22, 0.7); line-height: 1.35; }

@media (max-width: 860px) {
  .hero { padding: 100px 0 60px; }
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .phone-stage { display: none; }
}

/* =========================================================
   HOMEPAGE — ABOUT SECTION
   ========================================================= */
.about { padding: 100px 0; }
.about-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 80px;
  align-items: start;
}
.about-portrait {
  position: relative;
  border-radius: 4px;
  overflow: visible;
}
.about-portrait img {
  width: 100%;
  border-radius: 4px;
  filter: grayscale(0.1);
}
.about-portrait-tag {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  color: rgba(31, 27, 22, 0.5);
  margin-top: 10px;
  letter-spacing: 0.03em;
}
.about-text h2 { font-family: var(--serif); font-size: clamp(1.5rem, 2.5vw, 2rem); font-weight: 700; line-height: 1.2; letter-spacing: -0.01em; margin-bottom: 24px; }
.about-text p { font-size: 1.05rem; color: rgba(31, 27, 22, 0.8); margin-bottom: 18px; line-height: 1.7; }
.pull-quote { font-family: var(--serif); font-style: italic; font-size: 1.25rem !important; color: var(--maroon) !important; border-left: 3px solid var(--orange); padding-left: 20px; margin: 28px 0 !important; }
@media (max-width: 860px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-portrait { max-width: 280px; }
}

/* =========================================================
   HOMEPAGE — INSIDE SECTION
   ========================================================= */
.inside { background: var(--maroon-deep); padding: 100px 0; }
.inside .section-label { color: rgba(232, 116, 44, 0.9); }
.inside .section-title { color: var(--cream); }
.inside .section-intro { color: rgba(245, 239, 230, 0.7); }
.chapter-rail {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
}
.chapter-card {
  background: rgba(245, 239, 230, 0.06);
  border: 1px solid rgba(245, 239, 230, 0.12);
  border-radius: 4px;
  padding: 28px 24px;
  transition: background 0.2s;
}
.chapter-card:hover { background: rgba(245, 239, 230, 0.1); }
.chapter-num {
  font-family: var(--mono);
  font-size: 0.7rem;
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 12px;
}
.chapter-card h3 {
  font-family: var(--serif);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--cream);
  margin-bottom: 8px;
}
.chapter-card p { font-size: 0.88rem; color: rgba(245, 239, 230, 0.6); line-height: 1.5; }

/* =========================================================
   HOMEPAGE — WHY SECTION
   ========================================================= */
.why { padding: 100px 0; background: var(--cream-warm); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 48px; margin-top: 48px; }
.why-item {}
.why-icon {
  width: 48px;
  height: 48px;
  background: var(--maroon);
  color: var(--cream);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 20px;
}
.why-item h3 { font-family: var(--serif); font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.why-item p { font-size: 0.95rem; color: rgba(31, 27, 22, 0.7); line-height: 1.65; }
@media (max-width: 720px) { .why-grid { grid-template-columns: 1fr; gap: 32px; } }

/* =========================================================
   HOMEPAGE — BUY SECTION
   ========================================================= */
.buy { background: var(--white); padding: 100px 0; }
.buy-layout {
  display: grid;
  grid-template-columns: 0.62fr 1.38fr;
  gap: 48px;
  align-items: center;
  margin-top: 48px;
}
.buy-cover {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 70px -20px rgba(31, 27, 22, 0.35), 0 0 0 1px rgba(31, 27, 22, 0.06);
}
.buy-cover img { width: 100%; display: block; }
.buy-card {
  background: var(--cream);
  border-radius: 8px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  border: 1px solid rgba(31, 27, 22, 0.08);
}
.buy-formats { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.format-btn {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 14px 22px;
  border-radius: 4px;
  border: 1.5px solid rgba(31, 27, 22, 0.15);
  text-decoration: none;
  color: var(--ink);
  transition: all 0.2s;
  min-width: 140px;
}
.format-btn:hover { border-color: var(--orange); background: var(--white); }
.format-btn .fmt {
  font-family: var(--mono);
  font-size: 0.68rem;
  text-transform: uppercase;
  color: var(--maroon);
  font-weight: 700;
  letter-spacing: 0.04em;
}
.format-btn .fmt-name { font-weight: 600; font-size: 0.95rem; }
.buy-price {
  text-align: center;
  padding-left: 48px;
  border-left: 1px solid rgba(31, 27, 22, 0.12);
}
.buy-price .label {
  font-family: var(--mono);
  font-size: 0.72rem;
  text-transform: uppercase;
  color: rgba(31, 27, 22, 0.5);
  margin-bottom: 6px;
}
.buy-price a.amazon-link {
  display: block;
  font-family: var(--serif);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--maroon);
  text-decoration: none;
}
.buy-price .sub { font-size: 0.82rem; color: rgba(31, 27, 22, 0.5); margin-top: 4px; }
@media (max-width: 860px) {
  .buy-layout { grid-template-columns: 1fr; }
  .buy-card { grid-template-columns: 1fr; padding: 32px; }
  .buy-price { padding-left: 0; border-left: none; border-top: 1px solid rgba(31,27,22,0.12); padding-top: 24px; }
}

/* =========================================================
   HOMEPAGE — NEWSLETTER SECTION
   ========================================================= */
.newsletter { background: var(--maroon); padding: 80px 0; text-align: center; }
.newsletter h2 {
  font-family: var(--serif);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--cream);
  margin-bottom: 12px;
}
.newsletter p { color: rgba(245, 239, 230, 0.75); max-width: 500px; margin: 0 auto 28px; font-size: 1rem; }
.nl-form { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; max-width: 480px; margin: 0 auto 16px; }
.nl-form input[type="email"] {
  flex: 1;
  min-width: 240px;
  padding: 14px 18px;
  border-radius: 3px;
  border: 1.5px solid rgba(245, 239, 230, 0.3);
  background: rgba(245, 239, 230, 0.1);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.95rem;
}
.nl-form input[type="email"]::placeholder { color: rgba(245, 239, 230, 0.5); }
.nl-form input[type="email"]:focus { outline: none; border-color: var(--orange); }
/* Light background variant — used on free chapter page */
.nl-form-light input[type="email"] {
  border: 1.5px solid rgba(31, 27, 22, 0.2);
  background: #fff;
  color: var(--ink);
}
.nl-form-light input[type="email"]::placeholder { color: rgba(31, 27, 22, 0.4); }
.nl-form-light input[type="email"]:focus { border-color: var(--orange); }
.nl-form button {
  padding: 14px 24px;
  background: var(--orange);
  color: var(--white);
  border: none;
  border-radius: 3px;
  font-family: var(--sans);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background 0.2s;
}
.nl-form button:hover { background: var(--orange-deep); }
.nl-note { font-size: 0.8rem !important; color: rgba(245, 239, 230, 0.5) !important; margin: 0 auto !important; }
.nl-success { display: none; color: var(--cream); font-family: var(--serif); font-size: 1.1rem; }

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer {
  background: var(--maroon-deep);
  color: rgba(245, 239, 230, 0.7);
  padding: 56px 0 32px;
}
.footer-grid {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}
.footer-brand { font-family: var(--serif); font-weight: 700; color: var(--cream); font-size: 1.1rem; margin-bottom: 10px; }
.footer-brand-sub { font-size: 0.85rem; max-width: 260px; line-height: 1.6; }
.footer-links { display: flex; gap: 48px; flex-wrap: wrap; }
.footer-col h4 {
  font-family: var(--mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(245, 239, 230, 0.4);
  margin-bottom: 16px;
  font-weight: 600;
}
.footer-col a {
  display: block;
  font-size: 0.88rem;
  margin-bottom: 10px;
  text-decoration: none;
  color: rgba(245, 239, 230, 0.75);
  transition: color 0.2s;
}
.footer-col a:hover { color: var(--cream); }
.footer-bottom {
  border-top: 1px solid rgba(245, 239, 230, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.82rem;
}
.footer-bottom a { color: rgba(245, 239, 230, 0.6); text-decoration: underline; }

/* =========================================================
   BLOG — POST LISTING (archive.php)
   ========================================================= */
.blog-header { padding: 80px 0 56px; }
.blog-header h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  max-width: 640px;
}
.blog-header .hero-sub { font-size: 1.08rem; color: rgba(31, 27, 22, 0.72); max-width: 560px; }
.post-grid {
  display: flex;
  flex-direction: column;
  gap: 1px;
  background: rgba(31, 27, 22, 0.1);
  border: 1px solid rgba(31, 27, 22, 0.1);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 80px;
}
.post-card {
  background: var(--white);
  padding: 32px 36px;
  text-decoration: none;
  color: var(--ink);
  display: block;
  transition: background 0.2s;
}
.post-card:hover { background: var(--cream-warm); }
.post-chapter {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: var(--orange);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 8px;
}
.post-card h2 { font-family: var(--serif); font-size: 1.35rem; font-weight: 600; margin-bottom: 8px; line-height: 1.25; }
.post-card p { font-size: 0.95rem; color: rgba(31, 27, 22, 0.65); }
.post-card .post-date { font-family: var(--mono); font-size: 0.7rem; color: rgba(31,27,22,0.4); margin-top: 10px; }

/* =========================================================
   BLOG — SINGLE POST (single.php)
   ========================================================= */
.post-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(245, 239, 230, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(31, 27, 22, 0.08);
}
.post-nav-inner {
  max-width: 760px;
  margin: 0 auto;
  padding: 18px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.post-nav-logo { font-family: var(--serif); font-weight: 700; font-size: 1.05rem; text-decoration: none; color: var(--ink); }
.post-nav-links { display: flex; gap: 20px; align-items: center; }
.post-nav-links a { font-size: 0.88rem; font-weight: 600; text-decoration: none; color: var(--maroon); }
.post-nav-back { opacity: 0.8; }

article.single-post { padding: 64px 0 40px; }
article.single-post .wrap { max-width: 760px; }
article.single-post h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin-bottom: 18px;
}
.post-meta {
  font-family: var(--mono);
  font-size: 0.78rem;
  color: rgba(31, 27, 22, 0.5);
  margin-bottom: 44px;
}
article.single-post h2 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  margin: 40px 0 16px;
  letter-spacing: -0.01em;
}
article.single-post p { font-size: 1.07rem; color: rgba(31, 27, 22, 0.85); margin-bottom: 20px; }
article.single-post em { font-style: italic; color: var(--maroon); }
article.single-post a { color: var(--maroon); text-decoration: underline; text-decoration-color: rgba(107, 31, 42, 0.3); }
article.single-post ul, article.single-post ol { margin: 0 0 20px 24px; }
article.single-post li { font-size: 1.05rem; color: rgba(31,27,22,0.85); margin-bottom: 6px; }

.cta-box {
  background: var(--maroon-deep);
  border-radius: 6px;
  padding: 36px;
  margin-top: 56px;
  color: rgba(245, 239, 230, 0.85);
  font-size: 1rem;
  line-height: 1.6;
}
.cta-box p { color: rgba(245, 239, 230, 0.85) !important; margin-bottom: 0; }
.cta-btn {
  display: inline-block;
  margin-top: 20px;
  background: var(--orange);
  color: var(--white) !important;
  padding: 14px 24px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none !important;
  transition: background 0.2s;
}
.cta-btn:hover { background: var(--orange-deep); }

/* =========================================================
   INTERIOR PAGES (page.php, author, FAQ, etc.)
   ========================================================= */
.page-header {
  padding: 80px 0 48px;
  border-bottom: 1px solid rgba(31,27,22,0.08);
  margin-bottom: 64px;
}
.page-header h1 {
  font-family: var(--serif);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 16px;
  max-width: 720px;
}
.page-header .page-sub { font-size: 1.1rem; color: rgba(31,27,22,0.7); max-width: 600px; }

.page-content { max-width: 760px; margin: 0 auto; padding: 0 28px 80px; }
.page-content h2 { font-family: var(--serif); font-size: 1.5rem; font-weight: 700; margin: 40px 0 16px; letter-spacing: -0.01em; }
.page-content h3 { font-family: var(--serif); font-size: 1.15rem; font-weight: 600; margin: 28px 0 10px; }
.page-content p { font-size: 1.05rem; color: rgba(31,27,22,0.85); margin-bottom: 20px; line-height: 1.75; }
.page-content ul, .page-content ol { margin: 0 0 20px 24px; }
.page-content li { font-size: 1.05rem; color: rgba(31,27,22,0.85); margin-bottom: 8px; line-height: 1.65; }
.page-content a { color: var(--maroon); }

/* Author page specifics */
.author-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
  margin-bottom: 64px;
}
.author-photo img {
  width: 100%;
  border-radius: 4px;
  box-shadow: 0 20px 50px -10px rgba(31,27,22,0.2);
}
.author-tag {
  font-family: var(--mono);
  font-size: 0.72rem;
  color: rgba(31,27,22,0.5);
  margin-top: 10px;
  display: block;
}
.author-bio .pull-quote {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.25rem;
  color: var(--maroon);
  border-left: 3px solid var(--orange);
  padding-left: 20px;
  margin: 28px 0;
}
@media (max-width: 720px) { .author-grid { grid-template-columns: 1fr; } .author-photo { max-width: 240px; } }

/* FAQ styles */
.faq-list { margin: 0; padding: 0; list-style: none; }
.faq-item {
  border-bottom: 1px solid rgba(31,27,22,0.1);
  padding: 28px 0;
}
.faq-item:first-child { border-top: 1px solid rgba(31,27,22,0.1); }
.faq-question { font-family: var(--serif); font-size: 1.15rem; font-weight: 700; margin-bottom: 14px; }
.faq-answer { font-size: 1rem; color: rgba(31,27,22,0.8); line-height: 1.75; }

/* =========================================================
   CASE STUDY PAGE
   ========================================================= */
.case-study-intro {
  background: var(--maroon);
  padding: 80px 0;
  color: var(--cream);
  margin-bottom: 64px;
}
.case-study-intro h1 {
  font-family: var(--serif);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.1;
  margin-bottom: 20px;
}
.case-study-intro p { color: rgba(245,239,230,0.8); font-size: 1.1rem; max-width: 620px; }
.case-businesses {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin: 48px 0;
}
.business-card {
  background: var(--cream-warm);
  border-radius: 6px;
  padding: 36px;
  border-left: 4px solid var(--orange);
}
.business-card h3 { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.business-card p { font-size: 0.95rem; color: rgba(31,27,22,0.75); line-height: 1.65; }
@media (max-width: 640px) { .case-businesses { grid-template-columns: 1fr; } }

/* =========================================================
   BOOK WIDGET (sidebar/inline)
   ========================================================= */
.book-widget {
  background: var(--maroon);
  border-radius: 6px;
  padding: 32px;
  text-align: center;
  margin: 40px 0;
}
.book-widget img { max-width: 140px; margin: 0 auto 20px; border-radius: 4px; }
.book-widget h3 { font-family: var(--serif); color: var(--cream); font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.book-widget p { color: rgba(245,239,230,0.75); font-size: 0.88rem; margin-bottom: 20px; }
.book-widget .btn-primary { font-size: 0.9rem; padding: 12px 20px; }

/* =========================================================
   RESOURCE HUB GRID (small-business-marketing-resources)
   ========================================================= */
.resource-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 32px 0 48px;
}
.resource-card {
  display: block;
  background: var(--cream-warm);
  border-radius: 6px;
  padding: 28px;
  border-left: 4px solid var(--orange);
  text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.resource-card:hover { background: #efe6d6; transform: translateY(-2px); }
.resource-card h3 { font-family: var(--serif); font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.resource-card p { font-size: 0.88rem; color: rgba(31,27,22,0.7); line-height: 1.55; margin: 0; }
@media (max-width: 900px) { .resource-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .resource-grid { grid-template-columns: 1fr; } }

/* =========================================================
   PAGINATION
   ========================================================= */
.pagination { display: flex; gap: 8px; justify-content: center; padding: 40px 0; }
.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 3px;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  border: 1px solid rgba(31,27,22,0.12);
  transition: all 0.2s;
}
.pagination a:hover { border-color: var(--maroon); color: var(--maroon); }
.pagination .current { background: var(--maroon); color: var(--white); border-color: var(--maroon); }

/* =========================================================
   UTILITIES
   ========================================================= */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
