/* ═══════════════════════════════════════════════════════════════════════════
   Book CTA Styles — Task #1528353
   Owns: .sr-book-cta-* (all contexts: settlement-detail, homepage, quiz, filing, article sidebar)
   Does NOT own: book reader, pricing cards, navigation
   ═══════════════════════════════════════════════════════════════════════════ */

/* ── Settlement Detail: Inline Book CTA Card ───────────────────────── */
.sr-book-cta-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid #047857;
  border-radius: 12px;
  padding: 1.1rem 1.2rem;
  margin: 1.5rem 0;
  text-decoration: none;
  transition: box-shadow 0.15s, transform 0.12s;
  cursor: pointer;
}
.sr-book-cta-card:hover {
  box-shadow: 0 4px 16px rgba(4,120,87,0.12);
  transform: translateY(-1px);
  text-decoration: none;
}
.sr-book-cta-card__icon {
  font-size: 2rem;
  flex-shrink: 0;
  line-height: 1;
  margin-top: 0.1rem;
}
.sr-book-cta-card__body {
  flex: 1;
  min-width: 0;
}
.sr-book-cta-card__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #047857;
  margin-bottom: 0.2rem;
  font-family: 'DM Sans', sans-serif;
}
.sr-book-cta-card__title {
  font-size: 1rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 0.3rem;
  line-height: 1.3;
  font-family: 'Fraunces', Georgia, serif;
}
.sr-book-cta-card__desc {
  font-size: 0.875rem;
  color: #4b5563;
  margin: 0 0 0.6rem;
  line-height: 1.45;
}
.sr-book-cta-card__actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.sr-book-cta-card__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: #047857;
  color: #fff;
  font-size: 0.825rem;
  font-weight: 700;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.15s;
  font-family: 'DM Sans', sans-serif;
}
.sr-book-cta-card__btn:hover { background: #065f46; text-decoration: none; color: #fff; }
/* "Read free chapters →" link — medium emphasis, book-blue */
.sr-book-cta-card__read-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: #1d4ed8;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
}
.sr-book-cta-card__read-link:hover { color: #1e40af; text-decoration: underline; }
/* "Free with Pro →" secondary link — muted */
.sr-book-cta-card__link {
  font-size: 0.8rem;
  color: #6b7280;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
}
.sr-book-cta-card__link:hover { color: #047857; text-decoration: underline; }

/* ── Homepage: Library Section ───────────────────────────────────────── */
.hp-library {
  background: #0a2540;
  padding: 3.5rem 0 4rem;
}
.hp-library__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.25rem;
}
.hp-library__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6ee7b7;
  margin-bottom: 0.6rem;
  font-family: 'DM Sans', sans-serif;
}
.hp-library__headline {
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.5rem;
  line-height: 1.25;
  font-family: 'Fraunces', Georgia, serif;
}
.hp-library__sub {
  color: #94a3b8;
  font-size: 1rem;
  margin: 0 0 2rem;
  line-height: 1.5;
  max-width: 580px;
  font-family: 'DM Sans', sans-serif;
}
.hp-library__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 768px) {
  .hp-library__grid { grid-template-columns: 1fr; }
}
.hp-library__card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  padding: 1.25rem 1.1rem;
  text-decoration: none;
  transition: background 0.15s, transform 0.12s;
  display: block;
}
.hp-library__card:hover {
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
  text-decoration: none;
}
.hp-library__card-icon {
  font-size: 1.8rem;
  margin-bottom: 0.65rem;
  display: block;
}
.hp-library__card-title {
  font-size: 0.95rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.4rem;
  line-height: 1.3;
  font-family: 'Fraunces', Georgia, serif;
}
.hp-library__card-desc {
  font-size: 0.8rem;
  color: #94a3b8;
  margin: 0 0 0.75rem;
  line-height: 1.4;
  font-family: 'DM Sans', sans-serif;
}
.hp-library__card-price {
  font-size: 0.75rem;
  font-weight: 700;
  color: #6ee7b7;
  font-family: 'DM Sans', sans-serif;
}
.hp-library__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.hp-library__browse-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #047857;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 0.6rem 1.25rem;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s;
  font-family: 'DM Sans', sans-serif;
}
.hp-library__browse-btn:hover { background: #065f46; text-decoration: none; color: #fff; }
.hp-library__pro-note {
  font-size: 0.8rem;
  color: #6ee7b7;
  font-family: 'DM Sans', sans-serif;
}
.hp-library__pro-note a {
  color: #6ee7b7;
  font-weight: 700;
  text-decoration: underline;
}

/* ── Toolkit / Templates strip ───────────────────────────────────────── */
.hp-toolkit-strip {
  background: #f0fdf4;
  border-top: 1px solid #bbf7d0;
  border-bottom: 1px solid #bbf7d0;
  padding: 1.1rem 1.25rem;
}
.hp-toolkit-strip__inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}
.hp-toolkit-strip__text {
  font-size: 0.95rem;
  font-weight: 600;
  color: #166534;
  font-family: 'DM Sans', sans-serif;
}
.hp-toolkit-strip__cta {
  font-size: 0.875rem;
  font-weight: 700;
  color: #047857;
  text-decoration: none;
  white-space: nowrap;
  font-family: 'DM Sans', sans-serif;
}
.hp-toolkit-strip__cta:hover { text-decoration: underline; }

/* ── Post-filing: Book cards row ─────────────────────────────────────── */
.fc-book-rec {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.5rem 1.5rem 1.25rem;
  margin: 2rem 0;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.fc-book-rec__headline {
  font-size: 1rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 0.3rem;
  font-family: 'Fraunces', Georgia, serif;
}
.fc-book-rec__sub {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0 0 1.1rem;
  font-family: 'DM Sans', sans-serif;
}
.fc-book-rec__cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.7rem;
  margin-bottom: 1rem;
}
@media (max-width: 560px) {
  .fc-book-rec__cards { grid-template-columns: 1fr; }
}
.fc-book-rec__card {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  padding: 0.75rem 0.7rem;
  text-decoration: none;
  display: block;
  transition: box-shadow 0.15s;
}
.fc-book-rec__card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.1); text-decoration: none; }
.fc-book-rec__card-icon { font-size: 1.5rem; display: block; margin-bottom: 0.4rem; }
.fc-book-rec__card-title {
  font-size: 0.775rem;
  font-weight: 700;
  color: #111827;
  line-height: 1.3;
  margin: 0 0 0.2rem;
  font-family: 'DM Sans', sans-serif;
}
.fc-book-rec__card-price {
  font-size: 0.7rem;
  color: #047857;
  font-weight: 700;
  font-family: 'DM Sans', sans-serif;
}
.fc-book-rec__browse {
  text-align: center;
}
.fc-book-rec__browse a {
  font-size: 0.875rem;
  font-weight: 700;
  color: #047857;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
}
.fc-book-rec__browse a:hover { text-decoration: underline; }

/* ── Quiz Results: Book recommendation ───────────────────────────────── */
.qw-book-rec {
  background: linear-gradient(135deg, #0a2540, #1e3a5f);
  border-radius: 14px;
  padding: 1.4rem 1.5rem;
  margin: 1.5rem 0;
  text-decoration: none;
  display: block;
  transition: transform 0.12s;
}
.qw-book-rec:hover { transform: translateY(-2px); text-decoration: none; }
.qw-book-rec__eyebrow {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #6ee7b7;
  margin-bottom: 0.35rem;
  font-family: 'DM Sans', sans-serif;
}
.qw-book-rec__title {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 0.35rem;
  line-height: 1.3;
  font-family: 'Fraunces', Georgia, serif;
}
.qw-book-rec__desc {
  font-size: 0.85rem;
  color: #cbd5e1;
  margin: 0 0 0.9rem;
  line-height: 1.45;
  font-family: 'DM Sans', sans-serif;
}
.qw-book-rec__btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #047857;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 0.5rem 1.1rem;
  border-radius: 8px;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.15s;
}
.qw-book-rec__btn:hover { background: #065f46; text-decoration: none; color: #fff; }

/* ── Article Sidebar: Book CTA card ──────────────────────────────────── */
.ch-sidebar-book-cta {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1px solid #bbf7d0;
  border-radius: 12px;
  padding: 1.1rem 1rem;
  text-decoration: none;
  display: block;
  margin-bottom: 1rem;
  transition: box-shadow 0.15s;
}
.ch-sidebar-book-cta:hover { box-shadow: 0 2px 10px rgba(4,120,87,0.15); text-decoration: none; }
.ch-sidebar-book-cta__icon { font-size: 1.6rem; display: block; margin-bottom: 0.5rem; }
.ch-sidebar-book-cta__label {
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #047857;
  margin-bottom: 0.25rem;
  font-family: 'DM Sans', sans-serif;
}
.ch-sidebar-book-cta__title {
  font-size: 0.9rem;
  font-weight: 800;
  color: #111827;
  margin: 0 0 0.3rem;
  line-height: 1.3;
  font-family: 'Fraunces', Georgia, serif;
}
.ch-sidebar-book-cta__desc {
  font-size: 0.775rem;
  color: #4b5563;
  margin: 0 0 0.7rem;
  line-height: 1.4;
  font-family: 'DM Sans', sans-serif;
}
.ch-sidebar-book-cta__btn {
  display: block;
  text-align: center;
  background: #047857;
  color: #fff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.45rem 0;
  border-radius: 6px;
  text-decoration: none;
  font-family: 'DM Sans', sans-serif;
  transition: background 0.15s;
}
.ch-sidebar-book-cta__btn:hover { background: #065f46; text-decoration: none; color: #fff; }

/* ── Pricing: Library value callout ──────────────────────────────────── */
.pr-library-callout {
  background: linear-gradient(135deg, #f0fdf4, #dcfce7);
  border: 1px solid #bbf7d0;
  border-radius: 10px;
  padding: 0.9rem 1rem;
  margin: 0.75rem 0;
  font-family: 'DM Sans', sans-serif;
}
.pr-library-callout__title {
  font-size: 0.8rem;
  font-weight: 800;
  color: #166534;
  margin: 0 0 0.4rem;
}
.pr-library-callout__items {
  list-style: none;
  margin: 0;
  padding: 0;
}
.pr-library-callout__items li {
  font-size: 0.775rem;
  color: #166534;
  padding: 0.15rem 0;
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
}
.pr-library-callout__items li::before {
  content: '📗';
  font-size: 0.75rem;
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.pr-library-callout__link {
  display: inline-block;
  margin-top: 0.5rem;
  font-size: 0.775rem;
  font-weight: 700;
  color: #047857;
  text-decoration: none;
}
.pr-library-callout__link:hover { text-decoration: underline; }

/* ── Mobile: full-width cards ────────────────────────────────────────── */
@media (max-width: 480px) {
  .sr-book-cta-card {
    flex-direction: column;
  }
  .sr-book-cta-card__actions {
    flex-direction: column;
    align-items: flex-start;
  }
  .sr-book-cta-card__btn {
    width: 100%;
    justify-content: center;
    min-height: 44px;
  }
  .sr-book-cta-card__read-link,
  .sr-book-cta-card__link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
  }
  .hp-library__browse-btn { width: 100%; justify-content: center; min-height: 44px; }
  .fc-book-rec { padding: 1.1rem 1rem; }
}
