/**
 * Single Book - styles (derived from single-software.css)
 */

/* latest */
/* ============================================
   GLOBAL STYLES (scoped to template wrapper)
============================================ */
:root {
  --sw_primary: #004976;
  --sw_secondary: #2cccd3;
  --sw_tertiary: #47d7ac;
  --sw_quaternary: #ffa400;
  --sw_accent: #606060;
  --sw_accent-2: #97999b;
  --sw_black: #000;
  --sw_white: #fff;
  --sw_title: "Georgia", serif;
  --sw_body: Arial, Helvetica, sans-serif;
}



.single-book-page {
  /* Back-compat for existing single-software styles */
  --navy-900: #0b2b48;
  --navy-800: #113656;
  --navy-700: #184a6e;
  --teal: #2ea3b8;
  --teal-dark: #1f8a9d;
  --orange: #f0a23b;
  --text-dark: var(--sw_accent);
  --text-body: #1a1a1a;
  --text-muted: #7b8794;
  --bg-cream: #f3efe9;
  --bg-soft-blue: #e6f1f2;
  --border-light: #e5e7eb;
  --white: var(--sw_white);

  scroll-behavior: smooth;
  font-size: clamp(12px, calc(12px + 4 * (100vw - 1366px) / 554), 16px);
  line-height: 1.4;
  color: #1a1a1a;
  font-family: var(--sw_body) !important;
  background-color: var(--sw_white) !important;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}



@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@media (min-width: 861px) {
  
  
    .single-book-page section {
      overflow: hidden;
    }
  
  
    .single-book-page .features-heading {
      position: sticky;
      left: 0;
      /* top: 120px; */
      top: 34%;
      z-index: 99;
      padding-top: 45px;
    }
  
  
    .single-book-page .feature-item {
      max-width: 42rem;
    }
}



img {
  max-width: 100%;
  height: auto;
  display: block;
}



.container {
  max-width: 100rem;
  margin: 0 auto;
  padding: 0 2rem;
}



h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--sw_title);
  line-height: 1.2;
  font-weight: normal;
  color: var(--sw_accent);
}



h1 {
  /* color: var(--sw_white); */
  font-size: 45px;
	    margin-bottom: 10px;
}



h2 {
  font-size: 3rem;
}



h3 {
  font-size: 2.375rem;
}



h4 {
  font-size: 1.625rem;
}



a {
  text-decoration: none !important;
  transition: 0.3s;
}



.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 3.75rem;
  min-width: 12.5rem;
  padding: 0 2rem;
  border: 0.125rem solid transparent;
  color: #000;
  border-radius: 100vmax;
  font-size: 1.125rem;
  letter-spacing: 0.0625em;
  text-transform: uppercase;
  text-decoration: none;
  background: #fff;
  cursor: pointer;
  transition: 0.3s;
}



.btn:hover {
  background: rgba(255 255 255 / 12.5%);
  color: #fff;
  border-color: #fff;
}



.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
  font-family: var(--sw_body);
  font-size: 1.25rem;
  color: var(--sw_accent-2);
  letter-spacing: 0.02em;
}



.section-eyebrow::before {
  content: "";
  display: inline-block;
  width: 0.4375rem;
  height: 0.4375rem;
  background: #1aafba;
  flex-shrink: 0;
}



/* ---------- Buttons (existing variants) ---------- */

.single-book-page .btn-primary {
  background: var(--navy-900);
  color: var(--white);
}



.single-book-page .btn-primary:hover {
  background: var(--sw_quaternary);
  border-color: var(--sw_quaternary);
  color: var(--sw_white);
}



.single-book-page .btn-white {
  background: var(--white);
  color: var(--navy-900);
}



.single-book-page .btn-white:hover {
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}



.single-book-page .btn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--teal);
  /* font-size: 1rem;
  font-weight: 600; */
  font-size: 1.125rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  transition: gap 0.2s ease;
}



.single-book-page .btn-link:hover {
  gap: 16px;
}



.single-book-page .btn-link .arrow {
  transition: transform 0.2s ease;
}



.single-book-page .btn-link:hover .arrow {
  transform: translateX(4px);
}



/* ---------- Section headers ---------- */

.single-book-page .section-title {
  font-size: 44px;
  text-align: center;
  margin-bottom: 16px;
  color: var(--text-dark);
  font-weight: 500;
}



.single-book-page .section-sub {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 48px;
  color: var(--text-body);
  font-size: 1rem;
}



/* ===================================================
     HERO
     =================================================== */

/* ============================================
   HERO SECTION
============================================ */
.single-book-page .main-hero {
  position: relative;
  background: #0a1628;
  height: 100vh;
  max-height: 41.875rem;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  margin-bottom: 80px;
}



.single-book-page .main-hero-inner {
  flex: 1;
  display: grid;
  grid-template-columns: 1.075fr 1fr;
}



/* ---- Left content column ---- */
.single-book-page .main-hero-content-wp {
  position: relative;
  display: flex;
  flex-direction: column;
  /* justify-content: flex-end; */
  justify-content: center;
  padding: 5.625rem 4.5rem 5rem 2rem;
  z-index: 10;
  overflow: hidden;
}



.single-book-page .main-hero-content {
  /* max-width: 48.125rem; */
  max-width: 45.55rem;
  margin-left: auto;
  padding-top: 3.4375rem;
}



.single-book-page .main-hero-content-bg {
  position: absolute;
  inset: 0;
  background-image: url("https://www.stonewoodfinancial.com/wp-content/uploads/2026/04/Blue-gradient-shape-for-hero-section-Desktop.webp");
  background-size: cover;
  background-position: center left;
  z-index: 0;
}



.single-book-page .main-hero-content-wp>*:not(.main-hero-content-bg) {
  position: relative;
  z-index: 2;
}



.single-book-page .main-hero-content h1 {
  font-weight: unset;
  margin: 0 0 1.6875rem;
}



.single-book-page .main-hero-content p {
  color: var(--sw_white);
  line-height: 1.5;
  margin: 0 0 3rem;
  font-size: 1.2rem;
}



.single-book-page .main-hero-content .section-eyebrow {
  color: rgba(255 255 255 / 75%);
}



.single-book-page .main-hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.125rem;
  align-items: center;
}



.single-book-page .main-hero-cta .hero-primary-btn {
  background: #fff;
  color: #000;
  border-color: transparent;
  min-width: unset;
  height: 3.75rem;
  padding: 0 2.75rem;
  font-size: 1rem;
  letter-spacing: 0.12em;
}



.single-book-page .main-hero-cta .hero-primary-btn:hover {
  background: var(--sw_quaternary);
  color: var(--sw_white);
  border-color: var(--sw_quaternary);
}



.single-book-page .main-hero-cta .hero-secondary-link {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  color: var(--sw_secondary);
  font-family: var(--sw_body);
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid currentColor;
  line-height: 1;
}



.single-book-page .main-hero-cta .hero-secondary-link .arrow {
  font-size: 1.35em;
  line-height: 1;
  transition: transform 0.25s ease;
}



.single-book-page .main-hero-cta .hero-secondary-link:hover .arrow {
  transform: translateX(0.35rem);
}



/* ---- Right image panel ---- */
.single-book-page .hero-image-panel {
  position: relative;
  overflow: hidden;
}



.single-book-page .hero-image-inner {
  position: absolute;
  inset: 0;
  display: flex;
  transition: transform 0.7s cubic-bezier(0.77, 0, 0.18, 1);
  will-change: transform;
}



.single-book-page .hero-image-box {
  position: relative;
  min-width: 100%;
  height: 100%;
  flex-shrink: 0;
}



.single-book-page .hero-image-box img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: none;
}



.single-book-page .hero-image-box img.img-desktop {
  display: block;
}



.single-book-page .hero-dots {
  position: absolute;
  bottom: 7.0313rem;
  right: 12.375rem;
  display: flex;
  gap: 0.375rem;
  align-items: center;
  z-index: 10;
}



.single-book-page .hero-dot {
  display: block;
  width: 0.3125rem;
  height: 0.3125rem;
  border-radius: 100vmax;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  border: none;
  padding: 0;
  transition:
    width 0.4s ease,
    border-radius 0.4s ease,
    background 0.4s ease;
}



.single-book-page .hero-dot.active {
  width: 1.75rem;
  border-radius: 0.25rem;
  background: rgba(255, 255, 255, 0.9);
}



.single-book-page .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.95);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    transform 0.2s ease,
    background 0.2s ease;
  z-index: 3;
}



.single-book-page .play-btn:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: var(--white);
}



.single-book-page .play-btn::after {
  content: "";
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 12px 0 12px 18px;
  border-color: transparent transparent transparent var(--navy-900);
  margin-left: 4px;
}



/* ===================================================
     FEATURES - What Roth Done Right Does?
     =================================================== */

.single-book-page .features {
  padding: 5.55555556rem 0;
  background: var(--white);
  overflow: unset;
}



.single-book-page .features-grid {
  display: grid;
  grid-template-columns: 0.7fr 1fr;
  gap: 12rem;
  align-items: start;
}



.single-book-page .features-heading h2 {
  font-size: 4rem;
  font-weight: 500;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--text-dark);
}



.single-book-page .features-heading p {
  color: var(--text-body);
  line-height: 1.65;
  max-width: 34rem;
}



.single-book-page .features-list {
  display: flex;
  flex-direction: column;
}



.single-book-page .feature-item {
  padding: 0 0 48px;
  border-bottom: 2px solid var(--border-light);
  margin-bottom: 48px;
}



.single-book-page .feature-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}



.single-book-page .feature-item img {
  width: 100%;
  max-width: 380px;
  height: 220px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 24px;
}



.single-book-page .feature-item h3 {
  font-size: 3rem;
  font-weight: 500;
  margin-bottom: 14px;
  color: var(--text-dark);
}



.single-book-page .feature-item p {
  color: var(--text-body);
  line-height: 1.65;
  max-width: 480px;
}



.single-book-page .ira-illustration {
  width: 100%;
  max-width: 380px;
  height: 220px;
  background: #e8dfd3;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: var(--font-serif);
  margin-bottom: 24px;
  position: relative;
}



.single-book-page .ira-illustration .label {
  font-size: 26px;
  font-weight: 600;
  color: var(--text-dark);
  letter-spacing: 0.02em;
}



.single-book-page .ira-illustration .arrow {
  font-size: 18px;
  margin: 6px 0;
  color: var(--text-dark);
}



.single-book-page .ira-illustration .conversion {
  font-size: 1rem;
  font-style: italic;
  color: var(--text-body);
}



.single-book-page .ira-illustration .roth-label {
  font-size: 28px;
  font-weight: 600;
  color: var(--text-dark);
  position: relative;
  padding: 4px 24px;
}



.single-book-page .ira-illustration .roth-label::after {
  content: "";
  position: absolute;
  inset: -4px -8px;
  border: 2.5px solid #c0392b;
  border-radius: 50%;
  transform: rotate(-5deg);
}



.single-book-page .how-title {
  font-size: 44px;
  text-align: center;
  color: var(--text-dark);
  margin-bottom: 72px;
  font-weight: 500;
}



/* ===================================================
     RESPONSIVE
     =================================================== */

a.hero-secondary-link {
  color: #90c6e7df !important;
  font-size: 1.3rem;
  position: relative;
}



a.hero-secondary-link:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: #90c6e7df !important;
  left: 0;
  bottom: 0;
}



@keyframes gradientFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@media (max-width: 1536px) {
  
    .single-book-page h1 {
      font-size: 4rem;
    }
  
  
    .single-book-page .btn {
      height: 3.375rem;
      padding: 0 1.75rem;
      font-size: 1.1rem;
    }
  
  
    .single-book-page .main-hero-content-wp {
      padding: 5.625rem 2.25rem 3.375rem 2rem;
    }
}

@media (max-width: 1365px) {
  
    .single-book-page {
      font-size: 13px !important;
    }
  
  
    .single-book-page ul li,
    .single-book-page ol li,
    .single-book-page input,
    .single-book-page select,
    .single-book-page optgroup,
    .single-book-page textarea,
    .single-book-page p {
      font-size: 1.25rem;
    }
}

@media (max-width: 1200px) {
  
    .single-book-page .main-hero-content p {
      font-size: 1.1875rem;
    }
  
  
    .single-book-page h1 {
      font-size: 3.25rem;
    }
}

@media (max-width: 1024px) {
  
  
    .single-book-page .main-hero-inner {
      display: flex;
      flex-direction: column;
      min-height: unset;
    }
  
  
    .single-book-page .main-hero-content {
      max-width: 100%;
      width: 100%;
      margin: unset;
    }
  
  
    .single-book-page .main-hero-content p {
      max-width: 100%;
    }
  
  
    .single-book-page .main-hero-content-wp {
      padding: 6.75rem 2.25rem 3.375rem;
      height: auto;
    }
  
  
    .single-book-page .hero-image-panel {
      flex: 1 0 auto;
      min-height: 21rem;
      aspect-ratio: 1/0.8;
      max-height: 46.875rem;
    }
  
  
    .single-book-page .hero-dots {
      display: none;
    }
  
  
    .single-book-page .hero-image-box img.img-desktop {
      display: none;
    }
  
  
    .single-book-page .hero-image-box img.img-mobile {
      display: block;
    }
}

@media (max-width: 768px) {
  
  
    .single-book-page .main-hero {
      max-height: 75.875rem;
    }
  
  
    .single-book-page .main-hero-content h1 {
      font-size: clamp(33.776px, 4.023vw + 18.752px, 46.224px);
      margin-bottom: 0.625rem !important;
    }
  
  
    .single-book-page .main-hero-content p {
      /* font-size: clamp(12.448px, 1.149vw + 8.16px, 16px); */
      margin-bottom: 2.25rem;
    }
  
  
    .single-book-page .main-hero-content-wp {
      padding: 4.5rem 1.625rem 3.375rem;
    }
}

@media (max-width: 860px) {
  
    .single-book-page {
      overflow-x: hidden;
    }
  
  
    .single-book-page .container {
      padding: 0 1.75rem;
    }
  
  
    .single-book-page .main-hero-content h1 {
      font-size: 3.25rem;
    }
  
  
    .single-book-page .features {
      padding: 50px 0px;
    }
  
  
    h3 {
      font-size: 1.5rem !important;
    }
}

@media (max-width: 768px) {
  
    .single-book-page h2 {
      font-size: 2.375rem;
    }
  
  
    .single-book-page h3 {
      font-size: 1.875rem;
    }
}

@media (max-width: 575px) {
  
    .single-book-page {
      font-size: 16px !important;
    }
  
  
    .single-book-page ul li,
    .single-book-page ol li,
    .single-book-page input,
    .single-book-page select,
    .single-book-page optgroup,
    .single-book-page textarea,
    .single-book-page p {
      font-size: 1rem;
    }
  
  
    .single-book-page .container {
      padding: 0 1.5rem;
    }
  
  
    .single-book-page .btn {
      /* height: 2.625rem;
        padding: 0 0.625rem;
        font-size: 0.875rem; */
      min-width: 9.75rem;
      letter-spacing: 0.0325em;
    }
  
  
    .single-book-page .section-eyebrow {
      /* font-size: 1rem; */
      gap: 0.75rem;
    }
  
  
    .single-book-page .section-eyebrow::before {
      width: 0.375rem;
      height: 0.375rem;
    }
  
  
    .single-book-page h2 {
      font-size: 1.8rem;
    }
  
  
    .single-book-page h3 {
      font-size: 1.5rem;
    }
}



/* ===== FAQ ===== */
.single-book-page .faq-section {
  background: #fff;
  padding: 5rem 0;
}



.single-book-page .faq-section h2 {
  color: var(--sw_accent);
  font-size: 2.75rem;
  margin-bottom: 2.5rem;
}



.single-book-page .faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.25rem 0;
  cursor: pointer;
  font-family: var(--sw_body);
  font-size: 1.5rem;
  color: #2a2a2a;
  user-select: none;
  gap: 1rem;
  padding-bottom: 0;
}



.single-book-page .faq-question:hover {
  color: var(--sw_primary);
}



.single-book-page .faq-toggle {
  flex-shrink: 0;
  width: 1.75rem;
  height: 1.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  transition: 0.3s;
}



.single-book-page .faq-item.open .faq-toggle {
  color: #565656;
}



.single-book-page .faq-answer {
  display: none;
  padding: 0.875rem 1rem 1rem;
  color: #a5a5a5;
  line-height: normal;
  padding-bottom: 0;
  margin-bottom: 0;
}



.single-book-page .faq-answer p {
  font-size: 1.3rem;
}



.single-book-page .faq-item.open .faq-answer {
  display: block;
}



.single-book-page .faq-item {
  padding-bottom: 15px;
  border-bottom: 0.0625rem solid #d5dae0;
}



.single-book-page .faq-answer .faq-item {
  border: 0;
  padding-bottom: 10px;
}



.single-book-page .faq-cta-section {
  background: #fff;
  padding: 0rem 0 5rem;
}



.single-book-page .faq-cta-section .faq-cta-wrap a {
  max-width: fit-content;
  margin-top: 0;
}



.single-book-page .faq-cta-wrap {
  display: flex;
  justify-content: center;
}

@media (max-width: 991px) {
  
    .single-book-page .faq-answer p {
      font-size: 1rem;
    }
  
  
    .single-book-page .faq-question {
      font-size: 1.34rem;
    }
  
  
    .single-book-page .faq-answer {
      padding-left: 0;
    }
}

@media (max-width: 768px) {
  
    .single-book-page .faq-section h2 {
      font-size: 2.375rem;
    }
}

@media (max-width: 575px) {
  
    .single-book-page .faq-section {
      padding: 3rem 0;
    }
  
  
    .single-book-page .faq-section h2 {
      font-size: 1.8rem;
    }
}



/* case studies */
:root {
  --sw_primary: #004976;
  --sw_secondary: #2cccd3;
  --sw_tertiary: #47d7ac;
  --sw_quaternary: #ffa400;
  --sw_accent: #606060;
  --sw_accent-2: #97999b;
  --sw_black: #000;
  --sw_white: #fff;
  --sw_title: "Georgia", serif;
  --sw_body: Arial, Helvetica, sans-serif;
}



* {
  box-sizing: border-box;
}



body {
  margin: 0;
  font-family: var(--sw_body);
  color: var(--sw_accent);
  background: #fff;
  line-height: 1.6;
}

@media (max-width: 550px) {
  
    h2 {
      font-size: 1.8rem !important;
    }
}

@media (max-width: 550px) {
  
    h2 {
      font-size: 28px !important;
    }
  
  
    .btn {
      font-size: 14px;
      font-weight: 400 !important;
      padding: 15px 25px;
      height: auto;
    }
  
  
    p {
      font-size: 16px !important;
    }
  
  
    h3 {
      font-size: 24px !important;
    }
  
  
    h4 {
      font-size: 24px !important;
    }
  
  
    .single-book-page .main-hero {
      height: max-content;
      max-height: fit-content;
    }
  
  
    .single-book-page .how-title {
      margin-bottom: 25px;
    }
}


/* ===== COMPLETE MARKETING SYSTEM (from marketing.css) ===== */
.single-book-page .marketing-system-section {
  padding: 5rem 0 1rem;
  background: #ffffff;
  position: relative;
  overflow: hidden;
  z-index: 99;
}

.single-book-page .marketing-system-section::before {
  content: "";
  background-image: url("../images/bg_blue.svg");
  position: absolute;
  width: 525px;
  height: 773px;
  background-repeat: no-repeat;
  right: 0;
  top: 0;
  background-size: cover;
  z-index: -1;
}

.single-book-page .marketing-system-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.2rem;
}

/* Image position option (ACF: image_position) */
.single-book-page .marketing-system-inner--image-left .marketing-system-image {
  order: 1;
}

.single-book-page .marketing-system-inner--image-left .marketing-system-content {
  order: 2;
}

.single-book-page .marketing-system-inner--image-right .marketing-system-image {
  order: 2;
}

.single-book-page .marketing-system-inner--image-right .marketing-system-content {
  order: 1;
}

.single-book-page .marketing-system-inner--no-image {
  grid-template-columns: 1fr;
}

.single-book-page .marketing-system-content {
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.single-book-page .marketing-system-image {
  overflow: hidden;
}

.single-book-page .marketing-system-image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.single-book-page .marketing-system-content h2 {
  font-family: "Georgia", serif;
  color: var(--sw_accent);
  margin-bottom: 0.75rem;
  line-height: 1.2;
  font-weight: normal;
}

.single-book-page .marketing-system-content .lead {
  font-family: "Georgia", serif;
  font-size: 1.25rem;
  color: #53575a;
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.4;
}

.single-book-page .marketing-system-content p {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .single-book-page .marketing-system-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

@media (max-width: 575px) {
  .single-book-page .marketing-system-inner {
    display: flex;
    flex-flow: column;
  }

  .single-book-page .marketing-system-inner .marketing-system-image,
  .single-book-page .marketing-system-inner .marketing-system-content {
    order: 0;
  }

  .single-book-page .marketing-system-inner .marketing-system-content {
    order: -1;
  }

  .single-book-page .marketing-system-section {
    padding: 2rem 0 0rem;
  }
}


/* ===== DISCOVER STONEWOOD BOOKS (from books-page.css) ===== */
.single-book-page .books-discover {
  padding: 5.5rem 0;
  background: #fff;
  scroll-margin: 6rem;
}

.single-book-page .books-discover-inner {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 10rem;
  align-items: flex-start;
}

.single-book-page .books-discover-left {
  position: sticky;
  top: 3rem;
  align-self: start;
  padding: 100px 0;
}

.single-book-page .books-discover-left h2 {
  font-size: 3.625rem;
  line-height: 1.1;
  color: var(--sw_accent);
}

.single-book-page .books-list {
  display: flex;
  flex-direction: column;
}

.single-book-page .book-item {
  padding: 2.75rem 0;
  border-bottom: 0.0625rem solid #dedede;
}

.single-book-page .book-item:first-child {
  padding-top: 0;
}

.single-book-page .book-item:last-child {
  border-bottom: none;
}

.single-book-page .book-item-img {
  width: 50%;
  aspect-ratio: 1 / 0.58;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.single-book-page .book-item-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.single-book-page .book-item h3 {
  color: var(--sw_accent);
  margin-bottom: 1rem;
}

.single-book-page .book-item p {
  color: #4a4a4a;
  line-height: 1.65;
  margin-bottom: 0.75rem;
}

.single-book-page .book-item p:last-of-type {
  margin-bottom: 0;
}

.single-book-page .book-item-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.625rem;
  align-items: center;
}

.single-book-page .book-item-btn {
  background: var(--sw_primary);
  color: var(--sw_white) !important;
  border-color: var(--sw_primary);
  min-width: 10.5rem;
  height: 2.875rem;
  font-size: 0.875rem;
}

.single-book-page .book-item-btn:hover {
  background: var(--sw_quaternary);
  border-color: var(--sw_quaternary);
}

.single-book-page .book-item-btn--secondary {
  background: transparent;
  color: var(--sw_primary) !important;
  border-color: var(--sw_primary);
}

.single-book-page .book-item-btn--secondary:hover {
  background: var(--sw_primary);
  color: var(--sw_white) !important;
}

.single-book-page .book-item-btn--amazon {
  background: transparent;
  border-color: transparent;
  padding: 0;
  min-width: 0;
  height: auto;
}

.single-book-page .book-item-btn--amazon:hover {
  background: transparent;
  border-color: transparent;
  opacity: 0.85;
}

.single-book-page .book-item-btn--amazon img {
  display: block;
  height: 2.875rem;
  width: auto;
  border-radius: 100vmax;
}

@media (max-width: 1200px) {
  .single-book-page .books-discover-left h2 {
    font-size: 3rem;
  }
}

@media (max-width: 991px) {
  .single-book-page .books-discover-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .single-book-page .books-discover-left {
    position: static;
  }

  .single-book-page .books-discover-left h2 {
    font-size: 2.375rem;
  }

  .single-book-page .book-item-img {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .single-book-page .books-discover {
    padding: 3.5rem 0 1.5rem;
  }

  .single-book-page .books-discover-left {
    padding: 0;
  }

  .single-book-page .book-item-btns {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .single-book-page .book-item {
    padding: 1.75rem 0 !important;
  }

  .single-book-page .books-discover-inner {
    gap: 0 !important;
  }
}

@media (max-width: 550px) {
  .single-book-page .book-item-btn--amazon {
    padding-left: 0;
    padding-right: 0 !important;
  }
}


/* ===== SPOTLIGHT (from books-page.css) ===== */
.single-book-page .books-spotlight {
  position: relative;
  background-color: #18526e;
  background-image: var(--sb-spotlight-bg, url("https://www.stonewoodfinancial.com/wp-content/uploads/2026/06/Books-that-do-more-than-educate-desktop-3-1.webp"));
  background-size: cover;
  background-position: center;
  overflow: hidden;
  min-height: 24rem;
  display: flex;
  align-items: center;
  margin-top: 100px;
}

.single-book-page .books-spotlight::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}

.single-book-page .books-spotlight .container {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 60px 0;
}

.single-book-page .books-spotlight-content {
  margin-left: 52%;
  width: 48%;
  padding: 5.5rem 0 5.5rem 3rem;
}

.single-book-page .books-spotlight-content h2 {
  color: var(--sw_white) !important;
  margin-bottom: 1.375rem;
}

.single-book-page .books-spotlight-content p {
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.8;
  margin-bottom: 0.75rem;
}

@media (max-width: 1200px) {
  .single-book-page .books-spotlight-content {
    padding: 4.5rem 0 4.5rem 2.5rem;
  }
}

@media (max-width: 991px) {
  .single-book-page .books-spotlight-content {
    margin-left: 0;
    width: 100%;
    padding: 5rem 0;
  }

  .single-book-page .books-spotlight::before {
    background: rgba(18, 56, 82, 0.78);
  }
}

@media (max-width: 768px) {
  .single-book-page .books-spotlight-content p br {
    display: none;
  }
}

@media (max-width: 575px) {
  .single-book-page .books-spotlight {
    margin-top: 0 !important;
    background-image: var(--sb-spotlight-bg-mobile, url("https://www.stonewoodfinancial.com/wp-content/uploads/2026/06/Books-that-do-more-than-educate-mobile-1-1-scaled.webp"));
    background-position: center bottom;
    /* Books page pins this to height:100vh to sit over one fixed artwork.
       Here the image is per-book, so the section grows with its content. */
    min-height: 0;
    height: auto;
  }

  .single-book-page .books-spotlight-content {
    padding: 20px;
  }

  .single-book-page .books-spotlight .container {
    padding: 2.5rem 0;
  }

  .single-book-page .books-spotlight::before {
    background: rgba(18, 56, 82, 0.78);
  }
}


/* ===== PUTTING YOUR BOOK TO USE ===== */
.single-book-page .sb-use {
  --sb-use-pull: 3.5rem;

  padding: 5.5rem 0;
  background: #fff;
  overflow: hidden;
}

.single-book-page .sb-use-head {
  /* Extra room for the amount the image is pulled up. */
  margin-bottom: calc(3rem + var(--sb-use-pull));
}

.single-book-page .sb-use-head h2 {
  color: var(--sw_accent);
  margin-bottom: 1.25rem;
}

.single-book-page .sb-use-head p {
  color: #4a4a4a;
  line-height: 1.65;
  max-width: 62rem;
}

/* Image is taller than the two panels and bottom-aligned with them;
   the panels themselves stay equal height. */
.single-book-page .sb-use-grid {
  display: grid;
  grid-template-columns: 0.9fr 2.55fr;
  gap: 1rem;
  align-items: end;
}

.single-book-page .sb-use-grid--no-image {
  grid-template-columns: 1fr;
}

.single-book-page .sb-use-panels {
  display: grid;
  grid-template-columns: 0.66fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}

/* Stretched to the panel row, then pulled up so it rises above them
   by a fixed amount whatever the copy length. */
.single-book-page .sb-use-image {
  position: relative;
  align-self: stretch;
  margin-top: calc(-1 * var(--sb-use-pull));
  overflow: hidden;
}

.single-book-page .sb-use-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.single-book-page .sb-use-features {
  background: #f2edea;
  padding: 3rem 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.single-book-page .sb-use-feature h3 {
  font-size: 1.375rem;
  color: var(--sw_accent);
  margin-bottom: 0.5rem;
}

.single-book-page .sb-use-feature p {
  color: #4a4a4a;
  line-height: 1.6;
}

/* Text stays inside the container; the panel background bleeds to the
   right edge of the screen (section clips the overflow). */
.single-book-page .sb-use-uses {
  position: relative;
  z-index: 0;
  padding: 3rem 2.5rem;
}

.single-book-page .sb-use-uses::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: -100vw;
  background: #eef4f9;
  z-index: -1;
}

.single-book-page .sb-use-uses h3 {
  font-size: 1.625rem;
  color: var(--sw_accent);
  margin-bottom: 1.75rem;
}

.single-book-page .sb-use-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.single-book-page .sb-use-list li {
  position: relative;
  padding-left: 1.5rem;
}

.single-book-page .sb-use-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 0.4375rem;
  height: 0.4375rem;
  background: var(--sw_secondary);
}

.single-book-page .sb-use-list-title {
  display: block;
  font-family: var(--sw_title);
  font-size: 1.375rem;
  line-height: 1.2;
  color: var(--sw_accent);
  margin-bottom: 0.35rem;
}

.single-book-page .sb-use-list li p {
  color: #4a4a4a;
  line-height: 1.6;
}

@media (max-width: 1200px) {
  .single-book-page .sb-use-features,
  .single-book-page .sb-use-uses {
    padding: 2.5rem 2rem;
  }
}

@media (max-width: 991px) {
  .single-book-page .sb-use {
    --sb-use-pull: 0rem;
  }

  .single-book-page .sb-use-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
    align-items: stretch;
  }

  .single-book-page .sb-use-panels {
    grid-template-columns: 1fr 1fr;
  }

  .single-book-page .sb-use-image {
    align-self: auto;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 767px) {
  .single-book-page .sb-use {
    padding: 3.5rem 0;
  }

  .single-book-page .sb-use-head {
    margin-bottom: 2rem;
  }

  .single-book-page .sb-use-panels {
    grid-template-columns: 1fr;
  }

  .single-book-page .sb-use-image {
    aspect-ratio: 3 / 2;
  }
}
