.ccc-book {
  padding: clamp(20px,3vw,36px) max(24px,calc((100% - 1180px)/2)) clamp(40px,6vw,76px);
  background: #fffcf5;
  color: #18223c;
  scroll-margin-top: 100px;
}
.ccc-book-layout {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(0,1.05fr);
  align-items: center;
  gap: clamp(32px,5vw,70px);
}
.ccc-book-visual {
  position: relative;
  isolation: isolate;
  aspect-ratio: 3375 / 3400;
  overflow: hidden;
  margin: 0;
  min-width: 0;
}
.ccc-book-visual img {
  display: block;
  width: 100%;
  height: auto;
  position: absolute;
  top: -15.4%;
  left: 0;
  aspect-ratio: auto;
  object-fit: contain;

}
.ccc-book-copy { min-width: 0; }
.ccc-book-copy h2 {
  margin: 0 0 18px;
  color: #18223c;
  font: 700 clamp(34px,4.3vw,60px)/1.02 RobotoCCC,Roboto,Arial,sans-serif;
  letter-spacing: -.035em;
  text-wrap: balance;
}
.ccc-book-copy p {
  font: 400 16px/1.65 Fixel,Arial,sans-serif;
  color: #364964;
  margin: 0 0 18px;
  max-width: 56ch;
}
.ccc-book-copy strong { color: #18223c; }
.ccc-book-copy .ccc-book-author {
  display: flex;
  align-items: center;
  gap: 14px;
  width: fit-content;
  font: 700 15px/1.5 Satoshi,Arial,sans-serif;
  margin-bottom: 12px;
}
.ccc-book-author::before,.ccc-book-author::after {
  content: "";
  width: 44px;
  height: 1px;
  background: #36496435;
}
.ccc-book-copy .ccc-book-sales {
  display: inline-flex;
  align-items: center;
  padding: 7px 13px;
  margin-bottom: 20px;
  background: #e3eef9;
  border-radius: 24px;
  font: 700 13px/1.4 Satoshi,Arial,sans-serif;
}
.ccc-book-copy .ccc-book-contact,
.ccc-book-copy .ccc-book-contact:visited {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 28px;
  box-sizing: border-box;
  border-radius: 28px;
  background: #e6540e;
  color: #fff;
  font: 700 15px/1.4 Satoshi,Arial,sans-serif;
  text-decoration: none;
}
.ccc-book-contact:hover { background: #c7470b; }
.ccc-book-contact:focus-visible { outline: 3px solid #18223c; outline-offset: 4px; }
@media(max-width:900px) {
  .ccc-book-layout { grid-template-columns: minmax(0,1fr); gap: 32px; }
  .ccc-book-visual { width: min(100%,400px); margin-inline: auto; }
  .ccc-book-copy { width: min(100%,600px); margin-inline: auto; }
}
@media(max-width:480px) {
  .ccc-book-copy .ccc-book-contact { width: 100%; }
}

/* Compact only the transition from the trainer to the book. */
#sobre:has(+ .ccc-book) { margin-bottom: 0; }
#sobre:not(.speaker-is-pinned):has(+ .ccc-book) > .speaker-pin { padding-bottom: clamp(20px,3vw,36px); }
