.latest-books-section {
  --latest-books-ink: #10191f;
  --latest-books-accent: #ff5b52;
  background: #eee8df;
  border-top: 1px solid rgba(16, 25, 31, .14);
  color: var(--latest-books-ink);
  padding: clamp(38px, 4vw, 58px) clamp(24px, 5vw, 84px);
}

.latest-books-section__head {
  align-items: end;
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1.5fr) minmax(260px, .65fr);
  margin: 0 auto clamp(34px, 4vw, 54px);
  max-width: 1480px;
}

.latest-books-section__eyebrow {
  color: #9c3a34;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .18em;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.latest-books-section__head h2 {
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 400;
  letter-spacing: -.035em;
  line-height: .98;
  margin: 0;
}

.latest-books-section__head > p {
  color: #526068;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.55;
  margin: 0;
}

.latest-books-grid {
  display: grid;
  gap: clamp(18px, 2.1vw, 32px);
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1480px;
}

.latest-book-card {
  background: #f8f4ed;
  border: 1px solid rgba(16, 25, 31, .13);
  display: flex;
  flex-direction: column;
  min-width: 0;
  transition: transform .22s ease, box-shadow .22s ease;
}

.latest-book-card:hover {
  box-shadow: 0 18px 42px rgba(16, 25, 31, .14);
  transform: translateY(-5px);
}

.latest-book-card__cover {
  align-items: center;
  aspect-ratio: 4 / 4.6;
  background: #172127;
  display: flex;
  justify-content: center;
  overflow: hidden;
  padding: clamp(14px, 1.5vw, 24px);
  position: relative;
}

.latest-book-card__backdrop {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  filter: blur(24px) brightness(.6);
  inset: -32px;
  opacity: .75;
  position: absolute;
  transform: scale(1.08);
}

.latest-book-card__cover img {
  box-shadow: 0 12px 30px rgba(0, 0, 0, .32);
  height: 100%;
  max-width: 100%;
  object-fit: contain;
  position: relative;
  width: 100%;
  z-index: 1;
}

.latest-book-card__placeholder {
  color: #fff;
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(28px, 4vw, 48px);
  position: relative;
  z-index: 1;
}

.latest-book-card__body {
  padding: 24px 24px 28px;
}

.latest-book-card__body p {
  color: #7a6c62;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .08em;
  margin: 0 0 9px;
  text-transform: uppercase;
}

.latest-book-card__body h3 {
  font-family: var(--serif, Georgia, serif);
  font-size: clamp(21px, 2vw, 30px);
  font-weight: 400;
  line-height: 1.08;
  margin: 0;
}

.latest-book-card__body a {
  color: inherit;
  text-decoration: none;
}

.latest-books-section__empty {
  color: #526068;
  grid-column: 1 / -1;
}

.latest-books-section__actions {
  margin: clamp(36px, 4vw, 56px) auto 0;
  max-width: 1480px;
  text-align: center;
}

.latest-books-section__actions a {
  align-items: center;
  background: var(--latest-books-accent);
  border-radius: 3px;
  color: #fff;
  display: inline-flex;
  font-size: 16px;
  font-weight: 800;
  gap: 18px;
  justify-content: center;
  min-height: 58px;
  padding: 0 30px;
  text-decoration: none;
  transition: background .18s ease, transform .18s ease;
}

.latest-books-section__actions a:hover {
  background: #e54e46;
  transform: translateY(-2px);
}

.latest-books-section__actions span {
  font-size: 24px;
  line-height: 1;
}

@media (max-width: 900px) {
  .latest-books-section__head {
    align-items: start;
    grid-template-columns: 1fr;
  }

  .latest-books-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 520px) {
  .latest-books-section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .latest-books-grid {
    gap: 12px;
  }

  .latest-book-card__cover {
    padding: 10px;
  }

  .latest-book-card__body {
    padding: 16px 14px 20px;
  }

  .latest-book-card__body h3 {
    font-size: 19px;
  }

  .latest-books-section__actions a {
    width: 100%;
  }
}
