/* Parent Workbook Series: homepage launch banner, /books and product pages.
   Uses the campaign palette (navy / teal / green / gold) from the workbook covers. */
:root {
  --nha-navy: #14305c;
  --nha-navy-dark: #0e2343;
  --nha-teal: #0f6f78;
  --nha-teal-dark: #0b5960;
  --nha-teal-light: #5ec4cc;
  --nha-green: #2f6e2b;
  --nha-green-light: #8cc884;
  --nha-gold: #e0a923;
  --nha-gold-dark: #c79217;
  --nha-tint: #f3f6fa;
  --nha-teal-tint: #e3f2f3;
  --nha-green-tint: #e9f3e7;
}

/* Buttons */
.btn.btn-book-gold { --bs-btn-color: var(--nha-navy-dark); --bs-btn-bg: var(--nha-gold); --bs-btn-border-color: var(--nha-gold); --bs-btn-hover-color: var(--nha-navy-dark); --bs-btn-hover-bg: var(--nha-gold-dark); --bs-btn-hover-border-color: var(--nha-gold-dark); --bs-btn-active-color: var(--nha-navy-dark); --bs-btn-active-bg: var(--nha-gold-dark); --bs-btn-active-border-color: var(--nha-gold-dark); font-weight: 600;}
.btn.btn-book-teal { --bs-btn-color: #fff; --bs-btn-bg: var(--nha-teal); --bs-btn-border-color: var(--nha-teal); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--nha-teal-dark); --bs-btn-hover-border-color: var(--nha-teal-dark); --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--nha-teal-dark); --bs-btn-active-border-color: var(--nha-teal-dark); font-weight: 600;}
.btn.btn-book-green { --bs-btn-color: #fff; --bs-btn-bg: var(--nha-green); --bs-btn-border-color: var(--nha-green); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: #255a22; --bs-btn-hover-border-color: #255a22; --bs-btn-active-color: #fff; --bs-btn-active-bg: #255a22; --bs-btn-active-border-color: #255a22; font-weight: 600;}
.btn.btn-book-outline { --bs-btn-color: var(--nha-navy); --bs-btn-bg: transparent; --bs-btn-border-color: var(--nha-navy); --bs-btn-hover-color: #fff; --bs-btn-hover-bg: var(--nha-navy); --bs-btn-hover-border-color: var(--nha-navy); --bs-btn-active-color: #fff; --bs-btn-active-bg: var(--nha-navy); --bs-btn-active-border-color: var(--nha-navy); font-weight: 600;}
.btn.btn-book-outline-light { --bs-btn-color: #fff; --bs-btn-bg: transparent; --bs-btn-border-color: rgba(255,255,255,.75); --bs-btn-hover-color: var(--nha-navy); --bs-btn-hover-bg: #fff; --bs-btn-hover-border-color: #fff; --bs-btn-active-color: var(--nha-navy); --bs-btn-active-bg: #fff; --bs-btn-active-border-color: #fff; font-weight: 600;}
.btn[class*="btn-book-"]:focus-visible { outline: 3px solid var(--nha-gold); outline-offset: 2px;}
.book-actions { display: flex; flex-wrap: wrap; gap: .75rem; align-items: center;}

/* Shared pieces */
.book-eyebrow { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--nha-teal);}
.book-status { display: inline-block; font-size: .8rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; padding: .3rem .85rem; border-radius: 2rem; background-color: var(--nha-gold); color: var(--nha-navy-dark);}
.book-status.is-available { background-color: var(--nha-green); color: #fff;}
.book-motto { font-weight: 700; letter-spacing: .14em; text-transform: uppercase; font-size: .9rem; display: flex; flex-wrap: wrap; gap: 0 .6rem;}
.book-motto span:nth-child(1) { color: var(--nha-navy);}
.book-motto span:nth-child(2) { color: var(--nha-teal);}
.book-motto span:nth-child(3) { color: var(--nha-green);}
.book-cover { display: block; max-width: 100%; height: auto; border-radius: 4px; box-shadow: 0 1rem 2rem rgba(14, 35, 67, .18);}
.book-section-title { font-size: 2rem; font-weight: 700; color: var(--nha-navy); margin-bottom: 1rem; text-wrap: balance;}
.book-lede { font-size: 1.125rem; color: #3f4b5c; max-width: 46rem;}
.book-meta { color: #5a6577; font-size: .95rem;}
.book-meta strong { color: var(--nha-navy);}
.book-band-tint { background-color: var(--nha-tint);}
.book-author-name { font-weight: 600; color: var(--nha-navy); margin-bottom: .25rem;}

/* Homepage launch banner */
.book-launch { background-color: var(--nha-navy); color: #fff; padding: 2.5rem 0; border-bottom: 6px solid var(--nha-gold);}
.book-launch .book-launch-heading { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem 1.5rem; margin-bottom: 1.5rem;}
.book-launch .book-launch-heading h2 { font-size: 1.5rem; font-weight: 700; margin: 0; color: #fff;}
.book-launch .book-eyebrow { color: var(--nha-gold);}
.book-launch .book-motto span:nth-child(1) { color: #fff;}
.book-launch .book-motto span:nth-child(2) { color: var(--nha-teal-light);}
.book-launch .book-motto span:nth-child(3) { color: var(--nha-green-light);}
.book-launch-card { display: flex; gap: 1.5rem; align-items: center; height: 100%;}
.book-launch-card .book-cover { width: 150px; flex-shrink: 0; box-shadow: 0 1rem 2rem rgba(0,0,0,.35);}
.book-launch-card.is-single .book-cover { width: 190px;}
.book-launch-card .book-launch-body { min-width: 0; display: flex; flex-direction: column; gap: .6rem; align-items: flex-start;}
.book-launch-card h3 { font-size: 1.35rem; font-weight: 700; color: #fff; margin: 0; text-wrap: balance;}
.book-launch-card.is-single h3 { font-size: 1.75rem;}
.book-launch-card p { margin: 0; color: #d3dcea;}
.book-launch-card .book-series-line { font-size: .85rem; color: #aab8cd; letter-spacing: .04em;}
.book-launch .listen-btn { margin-bottom: 0;}

/* Product page hero */
.book-hero { background-color: var(--nha-tint); padding: 4rem 0; border-bottom: 6px solid var(--nha-gold);}
.book-hero h1 { font-size: 2.6rem; font-weight: 700; color: var(--nha-navy); line-height: 1.15; margin: .5rem 0 .75rem; text-wrap: balance;}
.book-hero .book-subtitle { font-size: 1.15rem; color: #3f4b5c; margin-bottom: 1rem;}
.book-hero .book-author { font-weight: 600; color: var(--nha-navy); margin-bottom: 1.25rem;}
.book-hero .book-cover { width: 100%; max-width: 360px; margin: 0 auto;}
.book-hero .book-purchase { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1rem; margin-bottom: 1.25rem;}
.book-hero .book-price { font-size: 1.15rem; font-weight: 700; color: var(--nha-navy);}

/* Content blocks */
.book-principle { border-left: 5px solid var(--nha-gold); background-color: #fff; padding: 1.25rem 1.5rem; font-size: 1.2rem; font-weight: 600; color: var(--nha-navy); border-radius: 0 var(--bs-border-radius) var(--bs-border-radius) 0; box-shadow: 0 .25rem 1rem rgba(14,35,67,.06); margin: 0;}
.book-checklist { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: .75rem 2rem;}
.book-checklist li { position: relative; padding-left: 2rem; line-height: 1.5;}
.book-checklist li::before { content: "\f00c"; font-family: "Font Awesome 6 Free"; font-weight: 900; position: absolute; left: 0; top: .1rem; width: 1.35rem; height: 1.35rem; border-radius: 50%; background-color: var(--nha-teal-tint); color: var(--nha-teal); font-size: .7rem; display: flex; align-items: center; justify-content: center;}
.book-phases { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; counter-reset: phase;}
.book-phase { background-color: #fff; border: 1px solid #dde4ee; border-top: 5px solid var(--nha-navy); border-radius: var(--bs-border-radius); padding: 1.25rem;}
.book-phase:nth-child(2) { border-top-color: var(--nha-teal);}
.book-phase:nth-child(3) { border-top-color: var(--nha-green);}
.book-phase h3 { font-size: 1.1rem; font-weight: 700; color: var(--nha-navy); margin-bottom: .35rem;}
.book-phase p { margin: 0; color: #4a5568; font-size: .95rem;}
.book-inside-image { display: block; width: 100%; max-width: 560px; height: auto; margin: 0 auto; border-radius: var(--bs-border-radius); box-shadow: 0 .5rem 1.5rem rgba(14,35,67,.12);}

/* Member Vault callout */
.book-vault { background-color: var(--nha-green-tint); border-radius: 1rem; padding: 2.5rem;}
.book-vault h2 { font-size: 1.85rem; font-weight: 700; color: var(--nha-navy); text-transform: uppercase; letter-spacing: .02em;}
.book-vault img { display: block; width: 100%; max-width: 340px; height: auto; margin: 0 auto; border-radius: var(--bs-border-radius);}

/* Author */
.book-author-block { display: flex; gap: 1.5rem; align-items: flex-start;}
.book-author-block .book-author-mark { flex-shrink: 0; width: 4rem; height: 4rem; border-radius: 50%; background-color: var(--nha-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.4rem;}

/* Author byline ("By Dr. ..." + credential + summary) */
.book-byline { display: flex; gap: 1rem; align-items: flex-start; max-width: 46rem; background-color: #fff; border: 1px solid #dde4ee; border-left: 5px solid var(--nha-gold); border-radius: var(--bs-border-radius); padding: 1rem 1.25rem;}
.book-byline .book-author-mark { flex-shrink: 0; width: 2.75rem; height: 2.75rem; border-radius: 50%; background-color: var(--nha-navy); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1rem;}
.book-byline p { margin: 0;}
.book-byline .book-byline-name { font-weight: 700; color: var(--nha-navy);}
.book-byline .book-byline-credential { font-weight: 600; color: var(--nha-teal); font-size: .95rem; margin-bottom: .4rem;}
.book-byline .book-byline-summary { color: #4a5568; font-size: .95rem; line-height: 1.55;}
.book-byline.is-dark { max-width: none; background-color: rgba(255,255,255,.06); border-color: rgba(255,255,255,.15); border-left-color: var(--nha-gold);}
.book-byline.is-dark .book-author-mark { background-color: var(--nha-gold); color: var(--nha-navy-dark);}
.book-byline.is-dark .book-byline-name { color: #fff;}
.book-byline.is-dark .book-byline-credential { color: var(--nha-gold);}
.book-byline.is-dark .book-byline-summary { color: #d3dcea;}

/* Closing CTA band */
.book-cta { background-color: var(--nha-navy); color: #fff; padding: 3.5rem 0; text-align: center;}
.book-cta h2 { color: #fff; font-size: 2rem; font-weight: 700; text-wrap: balance; max-width: 44rem; margin: 0 auto 1rem;}
.book-cta p { color: #d3dcea;}
.book-cta .book-actions { justify-content: center;}
.book-cta .book-motto { justify-content: center; margin-bottom: 1rem;}
.book-cta .book-motto span:nth-child(1) { color: #fff;}
.book-cta .book-motto span:nth-child(2) { color: var(--nha-teal-light);}
.book-cta .book-motto span:nth-child(3) { color: var(--nha-green-light);}
.book-cta .book-softer { border-top: 1px solid rgba(255,255,255,.15); margin-top: 2.5rem; padding-top: 2rem;}

/* Series cards (/books and "also in the series") */
.book-card { background-color: #fff; border: 1px solid #dde4ee; border-radius: 1rem; padding: 1.75rem; display: flex; gap: 1.5rem; height: 100%;}
.book-card .book-cover { width: 150px; flex-shrink: 0; align-self: flex-start;}
.book-card .book-card-body { min-width: 0; display: flex; flex-direction: column; gap: .6rem; align-items: flex-start;}
.book-card h3 { font-size: 1.3rem; font-weight: 700; color: var(--nha-navy); margin: 0; text-wrap: balance;}
.book-card h3 a { color: inherit; text-decoration: none;}
.book-card h3 a:hover { text-decoration: underline;}
.book-card p { margin: 0; color: #4a5568;}
.book-card .book-actions { margin-top: auto; padding-top: .5rem;}

/* Which workbook is right for me? */
.book-compare { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem;}
.book-compare-col { border-radius: 1rem; padding: 1.75rem; background-color: var(--nha-teal-tint);}
.book-compare-col.is-504 { background-color: var(--nha-green-tint);}
.book-compare-col h3 { font-size: 1.35rem; font-weight: 700; color: var(--nha-navy); margin-bottom: 1rem;}
.book-compare-col .book-checklist { grid-template-columns: 1fr; margin-bottom: 1.25rem;}
.book-compare-col.is-504 .book-checklist li::before { background-color: #fff; color: var(--nha-green);}
.book-compare-col .book-checklist li::before { background-color: #fff;}

.book-resources { display: flex; flex-wrap: wrap; gap: .75rem;}
.book-resources a { display: inline-flex; align-items: center; gap: .5rem; padding: .6rem 1.1rem; border: 1px solid #dde4ee; border-radius: 2rem; color: var(--nha-navy); text-decoration: none; font-weight: 500; background-color: #fff;}
.book-resources a:hover { border-color: var(--nha-teal); color: var(--nha-teal);}

@media (max-width: 991px) {
  .book-hero { padding: 2.5rem 0;}
  .book-hero h1 { font-size: 2rem;}
  .book-phases { grid-template-columns: 1fr;}
}
@media (max-width: 767px) {
  .book-compare { grid-template-columns: 1fr;}
  .book-vault { padding: 1.5rem;}
  .book-section-title, .book-cta h2 { font-size: 1.6rem;}
}
@media (max-width: 575px) {
  .book-launch-card, .book-card { flex-direction: column; align-items: flex-start;}
  .book-launch-card .book-cover, .book-launch-card.is-single .book-cover, .book-card .book-cover { width: 140px;}
}
