/* Book page: the existing site's navy/gold palette, fonts and square edges. */
.cg-book { --book-navy: #211f40; --book-deep: #16163f; --book-gold: #d3b574; --book-bronze: #80652d; color: var(--book-navy); font-family: Montserrat, sans-serif; font-size: 16px; line-height: 1.8; }
.cg-book *, .cg-book *::before, .cg-book *::after { box-sizing: border-box; }
.cg-book .book-container { width: min(1140px, calc(100% - 60px)); margin-inline: auto; }
.cg-book h1, .cg-book h2, .cg-book h3 { font-family: Merriweather, serif; color: inherit; }
.cg-book h1 { font-size: clamp(34px, 3.9vw, 50px); font-weight: 400; line-height: 1.35; margin: 0 0 22px; }
.cg-book h2 { font-size: clamp(30px, 3vw, 40px); font-weight: 300; line-height: 1.4; margin: 0 0 25px; padding-left: 26px; border-left: 4px solid var(--book-gold); }
.cg-book h3 { font-size: 23px; font-weight: 600; line-height: 1.5; margin: 0 0 12px; }
.cg-book p { margin: 0 0 20px; }
.cg-book a { color: inherit; }
.cg-book a:focus-visible, .cg-book summary:focus-visible { outline: 3px solid var(--book-gold); outline-offset: 5px; }
.cg-book .book-eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--book-bronze); margin: 0 0 17px; }
.cg-book .book-hero .book-eyebrow, .cg-book .book-toolkit-section .book-eyebrow { color: var(--book-gold); }
.cg-book .book-hero { color: white; background: linear-gradient(105deg, rgba(22,22,63,.94), rgba(22,22,63,.79)), url('/assets/c6743ffd669c4ac3-vasily-koloda-8CqDvPuo_kI-unsplash-1.jpg') center / cover; }
.cg-book .book-hero-grid { display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(260px, .85fr); align-items: center; gap: 85px; padding-block: 68px; min-height: 625px; }
.cg-book .book-hero-copy > p:not(.book-eyebrow):not(.book-byline) { font-size: 17px; line-height: 1.85; max-width: 610px; color: #f2f0f6; }
.cg-book .book-byline { font-size: 14px; margin-bottom: 30px; color: #e3dced; }
.cg-book .book-byline a { text-decoration: underline; text-underline-offset: 4px; }
.cg-book .book-cover { margin: 0; text-align: center; }
.cg-book .book-cover img { display: block; width: 310px; max-width: 100%; height: auto; margin-inline: auto; box-shadow: 12px 18px 40px rgba(0,0,0,.3); }
.cg-book .book-cover figcaption { font-size: 12px; color: #e3dced; margin-top: 17px; }
.cg-book .book-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.cg-book .book-button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; padding: 15px 22px; background: var(--book-gold); border: 1px solid var(--book-gold); color: var(--book-deep); text-decoration: none; font-size: 15px; font-weight: 500; line-height: 1.5; min-height: 54px; transition: background .2s, color .2s; }
.cg-book .book-button:hover { background: #e3c789; color: var(--book-deep); }
.cg-book .book-button-ghost { background: transparent; color: white; border-color: rgba(255,255,255,.65); }
.cg-book .book-button-ghost:hover { background: white; color: var(--book-deep); }
.cg-book .book-text-link { text-decoration: underline; text-underline-offset: 5px; font-weight: 500; }
.cg-book .book-jump-nav { background: #fff; border-bottom: 1px solid #e9e6e2; }
.cg-book .book-jump-nav .book-container { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px 26px; padding-block: 21px; }
.cg-book .book-jump-nav a { font-size: 14px; font-weight: 500; text-decoration: none; padding: 4px 0; border-bottom: 2px solid transparent; }
.cg-book .book-jump-nav a:hover { border-color: var(--book-gold); }
.cg-book .book-section { padding-block: 78px; }
.cg-book .book-section-lead { max-width: 800px; color: #54545f; margin-bottom: 30px; }
.cg-book .book-stats { display: grid; grid-template-columns: repeat(3, 1fr); border-block: 1px solid #e4ded5; margin: 32px 0 42px; padding-block: 24px; }
.cg-book .book-stat { padding-left: 25px; border-right: 1px solid #e4ded5; }
.cg-book .book-stat:first-child { padding-left: 0; }
.cg-book .book-stat:last-child { border: 0; }
.cg-book .book-stat strong { display: block; font-family: Merriweather, serif; font-size: 33px; font-weight: 600; line-height: 1.4; }
.cg-book .book-stat span { font-size: 13px; color: #60606a; }
.cg-book .book-chapters { list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 45px; padding: 0; margin: 0; }
.cg-book .book-chapters li { display: flex; align-items: baseline; gap: 20px; padding: 19px 0; border-bottom: 1px solid #e9e6e2; font-size: 15px; line-height: 1.7; }
.cg-book .book-chapter-number { color: var(--book-bronze); font-size: 13px; font-weight: 600; min-width: 25px; }
.cg-book .book-extra { margin-top: 28px; background: #fcfcfc; border: 1px solid #e5e1d9; }
.cg-book details > summary { list-style: none; cursor: pointer; display: flex; align-items: center; justify-content: space-between; gap: 25px; padding: 20px 25px; font-weight: 500; line-height: 1.6; }
.cg-book details > summary::-webkit-details-marker { display: none; }
.cg-book .book-detail-icon::after { content: '+'; color: var(--book-bronze); font-size: 26px; font-weight: 400; line-height: 1; }
.cg-book .book-detail-icon { flex-shrink: 0; }
.cg-book details[open] > summary .book-detail-icon::after { content: '−'; }
.cg-book .book-detail-body { padding: 0 25px 25px; }
.cg-book .book-detail-body > :last-child { margin-bottom: 0; }
.cg-book .book-extra ul { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px 30px; padding-left: 20px; margin: 0; font-size: 14px; }
.cg-book .book-sample-section { background: #f8f7f4; border-block: 1px solid #ece8e0; }
.cg-book .book-sample-intro { display: grid; grid-template-columns: minmax(0,1fr) 310px; gap: 60px; align-items: start; margin-bottom: 32px; }
.cg-book .book-sample-intro .book-source-number { font-size: 13px; letter-spacing: 1px; text-transform: uppercase; color: var(--book-bronze); margin-bottom: 8px; }
.cg-book .book-sample-intro .book-source-title { font-family: Merriweather, serif; font-size: 26px; font-weight: 400; line-height: 1.55; margin-bottom: 18px; }
.cg-book .book-sample-note { background: white; border-top: 3px solid var(--book-gold); padding: 26px; font-size: 14px; color: #54545f; }
.cg-book .book-sample-note strong { display: block; color: var(--book-navy); font-size: 16px; margin-bottom: 10px; }
.cg-book .book-sample-details { border: 1px solid #ddd7cb; background: white; }
.cg-book .book-sample-details details + details { border-top: 1px solid #ddd7cb; }
.cg-book .book-sample-details details[open] summary { color: var(--book-bronze); }
.cg-book .book-sample-details .book-detail-body { font-size: 15px; color: #4b4a53; overflow-wrap: anywhere; }
.cg-book .book-sample-details a { color: #665124; text-decoration: underline; text-underline-offset: 3px; }
.cg-book .book-sample-details table { font-size: 14px; border-collapse: collapse; }
.cg-book .book-toolkit-section { background: var(--book-deep); color: white; }
.cg-book .book-toolkit-section .book-section-lead { color: #e1deeb; }
.cg-book .book-toolkit-caption { color: #d4c3a0; font-size: 13px; margin-top: 26px; }
.cg-book .book-tools { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 0 42px; }
.cg-book .book-tools li { display: flex; align-items: baseline; gap: 18px; padding: 17px 0; border-bottom: 1px solid rgba(255,255,255,.15); font-size: 14px; line-height: 1.7; }
.cg-book .book-tools .book-chapter-number { color: var(--book-gold); }
.cg-book .book-resources-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 18px; }
.cg-book .book-resource { display: flex; flex-direction: column; position: relative; padding: 25px 58px 25px 25px; border: 1px solid #e2ded5; background: #fcfcfc; text-decoration: none; min-height: 153px; transition: border-color .2s, background .2s; }
.cg-book .book-resource:hover { border-color: var(--book-gold); background: #f8f5ed; }
.cg-book .book-resource-code { font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 1.5px; color: var(--book-bronze); margin-bottom: 8px; }
.cg-book .book-resource-name { font-size: 16px; font-weight: 500; line-height: 1.65; margin-bottom: 11px; }
.cg-book .book-resource-meta { font-size: 11px; color: #6b6a73; margin-top: auto; }
.cg-book .book-resource svg { position: absolute; right: 23px; top: 27px; width: 21px; height: 21px; color: var(--book-bronze); }
.cg-book .book-purchase-section { background: #f8f7f4; border-top: 1px solid #ece8e0; }
.cg-book .book-purchase-grid { display: grid; grid-template-columns: 340px minmax(0,1fr); gap: 70px; align-items: center; }
.cg-book .book-purchase-image { background: white; padding: 18px; border-bottom: 3px solid var(--book-gold); }
.cg-book .book-purchase-image img { display: block; width: 100%; height: auto; }
.cg-book .book-editions { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; margin-top: 30px; }
.cg-book .book-edition { border-top: 1px solid #dbd4c5; padding-top: 22px; }
.cg-book .book-edition h3 { font-size: 20px; }
.cg-book .book-edition p { font-size: 14px; color: #60606a; margin-bottom: 20px; }
.cg-book .book-edition .book-button { width: 100%; font-size: 14px; padding-inline: 16px; }
.cg-book .book-purchase-footnote { margin-top: 26px; font-size: 12px; color: #6b6a73; }
.cg-book .book-purchase-footnote p { margin-bottom: 9px; }
.cg-book .book-purchase-footnote a { color: var(--book-navy); text-underline-offset: 3px; }
@media (max-width: 1024px) {
  .cg-book .book-hero-grid { gap: 38px; grid-template-columns: minmax(0,1.3fr) minmax(220px,.7fr); }
  .cg-book .book-cover img { width: 260px; }
  .cg-book .book-purchase-grid { gap: 35px; grid-template-columns: 260px minmax(0,1fr); }
  .cg-book .book-editions { grid-template-columns: 1fr; gap: 24px; }
}
@media (max-width: 767px) {
  .cg-book { font-size: 15px; }
  .cg-book .book-container { width: calc(100% - 40px); }
  .cg-book .book-hero-grid { grid-template-columns: 1fr; gap: 38px; padding-block: 48px; }
  .cg-book .book-hero-copy > p:not(.book-eyebrow):not(.book-byline) { font-size: 15px; }
  .cg-book h1 { font-size: 34px; }
  .cg-book h2 { font-size: 30px; padding-left: 20px; }
  .cg-book .book-cover img { width: 235px; }
  .cg-book .book-actions { gap: 12px; }
  .cg-book .book-actions .book-button { width: 100%; }
  .cg-book .book-jump-nav .book-container { justify-content: flex-start; gap: 8px 20px; padding-block: 18px; }
  .cg-book .book-jump-nav a { font-size: 12px; }
  .cg-book .book-section { padding-block: 50px; }
  .cg-book .book-stat { padding-left: 12px; }
  .cg-book .book-stat strong { font-size: 27px; }
  .cg-book .book-stat span { font-size: 11px; line-height: 1.6; display: block; }
  .cg-book .book-chapters, .cg-book .book-extra ul, .cg-book .book-tools, .cg-book .book-resources-grid { grid-template-columns: 1fr; }
  .cg-book .book-chapters li { gap: 14px; }
  .cg-book .book-sample-intro { grid-template-columns: 1fr; gap: 12px; }
  .cg-book .book-sample-intro .book-source-title { font-size: 23px; }
  .cg-book details > summary { padding: 18px 20px; font-size: 14px; gap: 15px; }
  .cg-book .book-detail-body { padding: 0 20px 20px; }
  .cg-book .book-tools { gap: 0; }
  .cg-book .book-resource { min-height: 140px; padding-left: 20px; }
  .cg-book .book-purchase-grid { grid-template-columns: 1fr; gap: 36px; }
  .cg-book .book-purchase-image { max-width: 300px; width: 100%; margin-inline: auto; }
  .cg-book .book-editions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  .cg-book .book-button, .cg-book .book-resource { transition: none; }
}
