/* Roman */

.book-hero {
  background: var(--navy);
  color: var(--white);
}

.book-hero__inner {
  display: grid;
  grid-template-columns: minmax(280px, 0.8fr) minmax(0, 1.25fr);
  gap: clamp(55px, 8vw, 110px);
  align-items: center;
}

.book-cover-wrap {
  display: flex;
  justify-content: center;
}

.book-cover {
  width: min(100%, 345px);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.22);
}

.book-meta__item {
  position: relative;
  margin: 5px 0;
  padding-left: 30px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.88);
  text-wrap: pretty;
}

/* Trait fin et espace entre les informations et le résumé */
.book-meta__item + :not(.book-meta__item) {
  margin-top: 20px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.book-meta__icon {
  position: absolute;
  left: 0;
  top: 0.2em;
  width: 1.1em;
  height: 1.1em;
  color: #e1c28f;
}

.book-meta__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

.book-meta__text a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: #e1c28f;
  text-underline-offset: 0.2em;
}

.book-meta__text a:hover,
.book-meta__text a:focus-visible {
  color: #e1c28f;
}

.book-summary {
  max-width: 680px;
}

.book-summary p {
  margin: 0 0 12px;
  text-wrap: pretty;
}

/* Boutons */

.book-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 30px;
}

@media (max-width: 800px) {
  .book-hero__inner {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .book-cover {
    width: min(72vw, 320px);
  }

  .book-copy {
    text-align: left;
  }

  .book-actions {
    flex-direction: column;
    align-items: stretch;
  }
}
