/* Learning to Live and Love Like Jesus — book + author page.
   Relies on /styles.css for the design tokens, body, buttons, nav and footer. */

.bk-eyebrow { color: var(--mauve); font-size: 13px; text-transform: uppercase; letter-spacing: .18em; font-weight: 800; margin: 0 0 14px; }

/* ---------- Hero: cover beside the details ---------- */
.bk-hero {
  display: grid;
  grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
  gap: clamp(28px, 5vw, 60px);
  align-items: center;
  padding: 56px 0 44px;
}
/* Source cover is only 333px wide, so hold it well under that to stay sharp. */
.bk-cover { max-width: 240px; justify-self: center; }
.bk-cover img {
  width: 100%; height: auto;
  border-radius: 4px;
  box-shadow: 0 22px 44px rgba(40, 34, 28, .28), 0 2px 6px rgba(40, 34, 28, .16);
}
.bk-intro h1 { font-size: clamp(34px, 4.4vw, 54px); margin: 0 0 10px; letter-spacing: -.045em; line-height: 1.02; }
.bk-sub { font-family: var(--serif); font-style: italic; font-size: clamp(17px, 2vw, 21px); color: var(--green); margin: 0 0 16px; }
.bk-byline { font-size: 15px; color: var(--soft-ink); margin: 0 0 18px; }
.bk-byline strong { font-weight: 700; }
.bk-blurb { font-size: 16.5px; line-height: 1.65; color: var(--soft-ink); max-width: 46ch; margin: 0 0 26px; }
.bk-actions { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }

/* ---------- Body ---------- */
.bk-section { width: min(660px, calc(100% - 40px)); padding: 38px 0; border-top: 1px solid var(--line); }
.bk-section h2 { font-size: clamp(26px, 3.2vw, 36px); margin: 0 0 18px; letter-spacing: -.035em; }
.bk-section p { color: var(--soft-ink); font-size: 16.5px; line-height: 1.7; margin: 0 0 16px; }
.bk-section p:last-child { margin-bottom: 0; }
.bk-section a { color: var(--green); font-weight: 700; }

/* ---------- Author ---------- */
.bk-author-wrap { background: var(--paper-2); padding: 52px 0; }
.bk-author {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr);
  gap: clamp(24px, 4vw, 46px);
  align-items: start;
  max-width: 860px;
}
.bk-author > img {
  width: 180px; height: 180px; border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 12px 28px rgba(40, 34, 28, .16);
}
.bk-author h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 6px; letter-spacing: -.04em; }
.bk-author .role { color: var(--mauve); font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; margin: 0 0 18px; }
.bk-author p { color: var(--soft-ink); font-size: 16px; line-height: 1.7; margin: 0 0 16px; }
.bk-author .bk-actions { margin-top: 20px; }

@media (max-width: 760px) {
  .bk-hero { grid-template-columns: 1fr; text-align: center; padding-top: 44px; }
  .bk-blurb { margin-left: auto; margin-right: auto; }
  .bk-actions { justify-content: center; }
  .bk-author { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .bk-author .role { margin-bottom: 14px; }
  .bk-author p { text-align: left; }
}
