/* Version three alignment pass for the Brutal Little Books pages. Loaded last on books.html, books-about.html and audit.html. */

/* One content edge for every section, the footer and the CKM bar. */
.blb-reference{--v3-edge:max(24px,calc((100% - 1320px)/2))}
.blb-reference .blb-home__inner{width:min(1320px,calc(100% - 48px));margin-inline:auto}
.blb-reference .blb-action-plan__panels,
.blb-reference .blb-quiz__grid,
.blb-reference .blb-faq__grid{width:100%;max-width:none;margin-inline:0}
.blb-reference .blb-footer__inner{width:min(1320px,calc(100% - 48px));max-width:none;margin-inline:auto;padding-inline:0}
.blb-reference .ckm-parent-inner{max-width:none;padding-inline:var(--v3-edge)}

/* Five pillars: same image box for every character, so the copy lines up. */
.blb-reference .blb-pillar{grid-template-rows:40px 160px auto;align-items:start}
.blb-reference .blb-pillar__mark{height:160px;width:100%;display:flex;align-items:center;justify-content:center}
.blb-reference .blb-pillar__image{height:150px;width:auto;max-width:100%;object-fit:contain}
.blb-reference .blb-pillar__copy{align-self:start;margin-top:12px}

/* Three moves: headings take the same space, body text starts on the same line, numbers stay inside the panel. */
.blb-reference .blb-action-plan__panel{grid-template-rows:auto auto 1fr;align-content:start;gap:18px;padding-top:40px;padding-bottom:48px;min-height:0}
.blb-reference .blb-action-plan__eyebrow{margin:0 0 42px}
.blb-reference .blb-action-plan__panel h3{margin:0;font-size:clamp(34px,3.2vw,52px);line-height:1.02}
@media(min-width:1101px){.blb-reference .blb-action-plan__panel h3{white-space:nowrap}}
.blb-reference .blb-action-plan__ghost-number{top:18px;right:22px;left:auto;font-size:clamp(90px,8vw,130px);line-height:1;opacity:.18;pointer-events:none}

/* What's inside: a real cover on every card, equal heights, tools pinned to the bottom. */
.blb-reference .blb-cards{align-items:stretch}
.blb-reference .blb-card{min-height:0;height:100%;display:flex;flex-direction:column}
.blb-reference .blb-card .kit-preview{display:block}
.blb-reference .blb-card__cover{aspect-ratio:595/698;height:auto;width:100%;overflow:hidden}
.blb-reference .blb-card__cover img{width:100%;height:100%;object-fit:cover;display:block}
.blb-reference .blb-card__copy{flex:1;min-height:3.2em}
.blb-reference .blb-tool{margin-top:16px;display:block;text-align:center}
.blb-reference .blb-tool small{margin-bottom:2px}

/* Audit callout: a clean panel instead of the black brush blob. */
.blb-reference .blb-quiz__grid{display:grid;grid-template-columns:180px minmax(0,1fr) minmax(300px,380px);gap:48px;align-items:center;min-height:0}
.blb-reference .blb-character img{width:180px;height:auto}
.blb-reference .blb-quiz__cta{background:#0b0b0b;color:#f4efe6;padding:36px 34px;border-top:6px solid #ef2b12;box-shadow:10px 10px 0 rgba(5,5,5,.18);display:grid;gap:12px;text-align:left}
.blb-reference .blb-quiz__cta .blb-button{width:100%;justify-content:center;text-align:center}
.blb-reference .blb-quiz__cta p{margin:6px 0 0;font:18px/1.3 'BLB Marker','Comic Sans MS',cursive;text-transform:uppercase}
.blb-reference .blb-quiz__cta small{font-size:13px;color:#bdb5aa}

/* Decision band: heading on two clean lines, body copy in the page font. */
.blb-reference .blb-decision-cta__inner{margin-inline:auto;justify-items:center}
.blb-reference .blb-decision-cta__heading{margin-inline:auto}
.blb-reference .blb-decision-cta__heading span{display:block;text-shadow:0 4px 24px rgba(0,0,0,.9),0 2px 6px rgba(0,0,0,.8)}
.blb-reference .blb-decision-cta__copy,.blb-reference .blb-decision-cta__checks,.blb-reference .blb-decision-cta .blb-kicker{text-shadow:0 2px 12px rgba(0,0,0,.95),0 1px 3px rgba(0,0,0,.9)}
.blb-reference .blb-decision-cta__heading mark{display:block;width:fit-content;max-width:100%;margin-inline:auto;padding-inline:.25em}
.blb-reference .blb-decision-cta__copy{font-family:Arial,Helvetica,sans-serif;font-size:18px;line-height:1.55}

/* Get all 5 books: one offer. What is included on the left, a single card with the real covers, price and action on the right. */
.blb-reference .blb-offer{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(340px,460px);gap:clamp(40px,6vw,96px);align-items:center}
.blb-reference .blb-offer__copy h2{margin:10px 0 18px}
.blb-reference .blb-offer__copy .blb-final__copy{max-width:520px;font-size:18px;line-height:1.55}
.blb-reference .blb-offer__list{list-style:none;margin:34px 0 0;padding:0;border-top:1px solid rgba(255,255,255,.18)}
.blb-reference .blb-offer__list li{display:grid;grid-template-columns:220px minmax(0,1fr);gap:24px;padding:18px 0;border-bottom:1px solid rgba(255,255,255,.18);align-items:baseline}
.blb-reference .blb-offer__list strong{font:22px/1.1 'BLB Bangers',Impact,sans-serif;text-transform:uppercase;letter-spacing:.01em;color:#fff}
.blb-reference .blb-offer__list span{font-size:15px;line-height:1.5;color:#cfc8bf}
.blb-reference .blb-offer__card{position:relative;background:#f3eee4;color:#080808;border-top:6px solid #ef2b12;box-shadow:12px 12px 0 rgba(255,255,255,.08);padding:0 36px 34px;margin-top:90px;text-align:center}
.blb-reference .blb-offer__covers{display:flex;justify-content:center;margin:-90px 0 26px;height:190px}
.blb-reference .blb-offer__covers img{width:118px;height:auto;align-self:flex-start;box-shadow:6px 12px 22px rgba(0,0,0,.45);border:2px solid #080808}
.blb-reference .blb-offer__covers img+img{margin-left:-46px}
.blb-reference .blb-offer__covers img:nth-child(1){transform:rotate(-10deg) translateY(26px)}
.blb-reference .blb-offer__covers img:nth-child(2){transform:rotate(-5deg) translateY(8px);z-index:1}
.blb-reference .blb-offer__covers img:nth-child(3){z-index:3}
.blb-reference .blb-offer__covers img:nth-child(4){transform:rotate(5deg) translateY(8px);z-index:2}
.blb-reference .blb-offer__covers img:nth-child(5){transform:rotate(10deg) translateY(26px);z-index:1}
.blb-reference .blb-offer__card .blb-pricebox__label{margin:0;font:20px/1.2 'BLB Marker','Comic Sans MS',cursive;text-transform:uppercase;color:#080808}
.blb-reference .blb-offer__card .blb-pricebox__price{margin:8px 0 6px;font-size:clamp(68px,5.6vw,88px);line-height:1;color:#ef2b12;white-space:nowrap}
.blb-reference .blb-offer__note{margin:0 0 22px;font-size:15px;color:#4a4540}
.blb-reference .blb-offer__card .blb-button{width:100%;justify-content:center}
.blb-reference .blb-offer__alt{display:inline-block;margin-top:16px;font-size:14px;color:#080808;text-decoration:underline;text-decoration-color:#ef2b12;text-underline-offset:4px}

/* BLB About: the ghost button no longer clips its label. */
.blb-reference .blb-about-v2__actions{display:flex;flex-wrap:wrap;gap:16px}
.blb-reference .blb-about-v2__actions .blb-button{width:auto;min-width:0;white-space:nowrap;padding-inline:28px}
.blb-reference .blb-about-v2__wrap{width:min(1320px,calc(100% - 48px));max-width:none;margin-inline:auto}

/* Hero keeps the shared edge at tablet widths too. */
.blb-reference .blb-hero .blb-home__inner{width:min(1320px,calc(100% - 48px));max-width:none}

/* Audit page: hero, question card and footer share one centred column. */
.audit-page .audit-wrap{width:min(1120px,calc(100% - 48px));max-width:none;margin-inline:auto;padding-inline:0;box-sizing:border-box}

@media(max-width:1100px){
  .blb-reference .blb-offer{grid-template-columns:1fr}
  .blb-reference .blb-offer__card{max-width:480px;width:100%;justify-self:center}
  .blb-reference .blb-quiz__grid{grid-template-columns:140px minmax(0,1fr)}
  .blb-reference .blb-quiz__cta{grid-column:1/-1}
  .blb-reference .blb-character img{width:140px}
}
@media(max-width:760px){
  .blb-reference .blb-offer__list li{grid-template-columns:1fr;gap:4px}
  .blb-reference .blb-offer__card{padding:0 22px 28px;margin-top:70px}
  .blb-reference .blb-offer__covers{margin-top:-70px;height:150px}
  .blb-reference .blb-offer__covers img{width:88px}
  .blb-reference .blb-offer__covers img+img{margin-left:-36px}
  .blb-reference .blb-home__inner,.blb-reference .blb-hero .blb-home__inner,.blb-reference .blb-footer__inner,.blb-reference .blb-about-v2__wrap,.audit-page .audit-wrap{width:calc(100% - 32px)}
  .blb-reference .ckm-parent-inner{padding-inline:16px}
  .blb-reference .blb-quiz__grid{grid-template-columns:1fr;gap:24px;text-align:left}
  .blb-reference .blb-character img{width:120px}

  .blb-reference .blb-action-plan__eyebrow{margin-bottom:20px}
  .blb-reference .blb-action-plan__panel{grid-template-rows:auto}
  .blb-reference .blb-pillar{grid-template-rows:36px 130px auto}
  .blb-reference .blb-pillar__mark{height:130px}
  .blb-reference .blb-pillar__image{height:120px}
}

/* BLB About, How the books work: charcoal instead of a full yellow block; yellow stays as an accent. */
.blb-reference .blb-about-v2__method{background:radial-gradient(ellipse 50% 70% at 22% 60%,rgba(239,43,18,.22),transparent 70%),#161412;color:#f4efe6;border-top:6px solid #f2b51d}
.blb-reference .blb-about-v2__method .blb-about-v2__marker{color:#f2b51d}
.blb-reference .blb-about-v2__method h2{color:#fff}
.blb-reference .blb-about-v2__steps li{border-top-color:rgba(255,255,255,.16)}
.blb-reference .blb-about-v2__steps li:last-child{border-bottom-color:rgba(255,255,255,.16)}
.blb-reference .blb-about-v2__steps li>span{color:#ef2b12}
.blb-reference .blb-about-v2__steps h3{color:#fff}
.blb-reference .blb-about-v2__steps p{color:#cfc8bf}
.blb-reference .blb-about-v2__character img{filter:drop-shadow(0 18px 30px rgba(0,0,0,.6))}
.blb-reference .blb-about-v2__pillars{border-top:1px solid rgba(255,255,255,.08)}

/* BLB pages have one header (Coach Kris Mac). The BLB logo sits at the top of each page's opening section as its identity. */
.blb-reference .blb-page-mark{display:block;width:fit-content;margin:0 0 30px;line-height:0}
.blb-reference .blb-page-mark img{display:block;width:150px;height:auto}
.blb-reference a.blb-page-mark:focus-visible{outline:3px solid #f2b51d;outline-offset:6px}
.audit-page .blb-page-mark{margin-bottom:26px;background:#080808;padding:12px 14px;box-shadow:6px 6px 0 rgba(5,5,5,.15)}
.audit-page .blb-page-mark img{width:130px}
@media(max-width:760px){.blb-reference .blb-page-mark{margin-bottom:22px}.blb-reference .blb-page-mark img{width:120px}}

/* Standards Audit results: the pillar's own artwork, then the plan and scores, then picture-led next steps (after the original BLB audit). */
.audit-page .audit-reveal{margin:calc(-1 * clamp(24px,5vw,58px)) calc(-1 * clamp(24px,5vw,58px)) 34px;position:relative;line-height:0;background:#0b0b0b}
.audit-page .audit-reveal img{width:100%;height:auto;display:block}
.audit-page .audit-reveal:after{content:'';position:absolute;inset:auto 0 0;height:6px;background:#ef2b12}
.audit-page .audit-results .audit-result-head h2{font-size:clamp(3rem,6vw,5.4rem)}
.audit-page .audit-score-row:first-child .audit-score-top{color:inherit}
.audit-page .audit-score-row:first-child .audit-score-bar span{background:#4baed4}
.audit-page .audit-score-row.is-weakest .audit-score-top{color:#f2ba27}
.audit-page .audit-score-row.is-weakest .audit-score-bar span{background:#ef2b12}
.audit-page .audit-runner{margin-top:20px;padding-top:18px;border-top:1px solid #484848}
.audit-page .audit-runner strong{display:block;font:1.6rem/1.1 'BLB Bangers',Impact,sans-serif;text-transform:uppercase;color:#fff;margin-bottom:6px}
.audit-page .audit-runner p:last-child{margin:0}
.audit-page .audit-offers{grid-template-columns:1fr 1fr;gap:22px}
.audit-page .audit-offer{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr);background:#f7f2e8;color:#111;text-decoration:none;border-top:6px solid #f2ba27;transition:transform .2s,box-shadow .2s}
.audit-page .audit-offer--reset{border-top-color:#ef2b12}
.audit-page .audit-offer:hover{transform:translateY(-3px);box-shadow:0 14px 30px #0008}
.audit-page .audit-offer__media{display:block;background:#0b0b0b;line-height:0}
.audit-page .audit-offer__media img{width:100%;height:100%;object-fit:cover;aspect-ratio:1}
.audit-page .audit-offer__body{display:flex;flex-direction:column;gap:8px;padding:22px 22px 24px;font-family:Arial,Helvetica,sans-serif;font-size:15px;line-height:1.5}
.audit-page .audit-offer__tag{font:14px/1.2 'BLB Marker',cursive;text-transform:uppercase;color:#b52516}
.audit-page .audit-offer strong{font:clamp(1.7rem,2.2vw,2.2rem)/1.02 'BLB Bangers',Impact,sans-serif;text-transform:uppercase;letter-spacing:.015em;font-weight:400}
.audit-page .audit-offer__meta{font-size:13px;color:#5b554e}
.audit-page .audit-offer__cta{margin-top:auto;padding-top:10px;display:flex;justify-content:space-between;border-top:1px solid #d8d0c2;font:1.2rem/1.2 'BLB Bangers',Impact,sans-serif;text-transform:uppercase;letter-spacing:.03em}
.audit-page .audit-offer__cta b{transition:transform .2s}
.audit-page .audit-offer:hover .audit-offer__cta b{transform:translate(3px,-3px)}
.audit-page .audit-note{margin-top:28px}
@media(max-width:1000px){.audit-page .audit-offers{grid-template-columns:1fr}}
@media(max-width:560px){.audit-page .audit-offer{grid-template-columns:1fr}.audit-page .audit-offer__media img{aspect-ratio:16/10}}
@media print{.audit-page .ckm-parent,.audit-page .audit-offers,.audit-page .audit-result-actions{display:none}.audit-page .audit-offer:hover{transform:none}}
.audit-page .audit-offers .audit-offer__body span{font-family:Arial,Helvetica,sans-serif;color:#2b2723;text-transform:none;font-size:15px;line-height:1.5}
.audit-page .audit-offers .audit-offer__body .audit-offer__tag{font:14px/1.2 'BLB Marker',cursive;text-transform:uppercase;color:#b52516}
.audit-page .audit-offers .audit-offer__body .audit-offer__meta{font-size:13px;color:#5b554e}
.audit-page .audit-offers .audit-offer__body .audit-offer__cta{font:1.2rem/1.2 'BLB Bangers',Impact,sans-serif;text-transform:uppercase;letter-spacing:.03em;color:#111}
.audit-page .audit-card h2[tabindex="-1"]:focus{outline:none}
.audit-page .audit-score-top{font-size:15px}
.audit-page .audit-scores p,.audit-page .audit-runner p{font-size:14px}

/* Direct to checkout: a clear buy button on every kit card, and the Reset saving */
.blb-reference .blb-card__buy{width:100%;justify-content:center;margin-top:14px;min-height:46px;font-size:17px;padding:0 12px}
.blb-reference .blb-offer__save{margin:-12px 0 20px;font:15px/1.4 Arial,Helvetica,sans-serif;color:#4a4540}
.blb-reference .blb-offer__save s{color:#7a7269}
.blb-reference .blb-offer__save strong{color:#a61c0e}
