.book-detail-hero.with-photo h1 {
  font-size: clamp(2rem, 4.5vw, 4.125rem);
  margin-bottom: .65rem;
}

.book-detail-hero .book-subtitle {
  margin-bottom: 1.25rem;
  color: var(--accent);
  font-size: clamp(1rem, 2vw, 1.35rem);
  line-height: 1.4;
}

.book-detail-hero .actions {
  gap: .75rem 1.25rem;
  margin-top: 1.5rem;
}

.book-detail-hero .actions a {
  font-size: .9375rem;
  font-weight: 600;
}

.book-detail-hero .actions a:first-child {
  padding: .7rem 1rem;
  border-radius: .3rem;
  background: #294d38;
  color: #fff;
  text-decoration: none;
}

.book-detail-hero .actions a:first-child:hover {
  background: #1f3829;
}

.book-detail-hero.with-photo .photo {
  width: 100%;
  max-width: 20rem;
  margin: 0;
  padding-top: 0;
  border: 0;
  justify-self: center;
}

.book-detail-hero .photo.portrait img {
  max-height: none;
}

.book-detail-hero + .body-content .secondary-media {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.25rem;
}

.book-detail-hero + .body-content .table-wrap table {
  min-width: 0;
}

@media (max-width: 700px) {
  .book-detail-hero.with-photo .photo {
    max-width: 14rem;
    justify-self: start;
  }
}

@media (max-width: 479px) {
  .book-detail-hero + .body-content .secondary-media {
    grid-template-columns: minmax(0, 1fr);
  }
}

