.books-strip {
  padding: 3rem 0 4rem;
  background: var(--surface);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-bottom: 0.5px solid rgba(50, 50, 50, 0.3);
}

.books-strip__head {
  max-width: 1200px;
  margin: 0 auto 1.5rem;
  padding: 0 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
}

.books-strip h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}

.books-strip__hint {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--muted);
}

.books-marquee:hover .books-strip__progress-fill.is-running {
  animation-play-state: paused;
}

@keyframes books-progress-fill {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

/* NOTE: 좌우 그라데이션 마스크 */
.books-marquee {
  display: flex;
  justify-content: center;
  overflow: hidden;
  /*
  mask-image: linear-gradient(
    90deg,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent,
    black 8%,
    black 92%,
    transparent
  );
  */
}

/* NOTE: gap: clamp(XXX, , ) */
.books-marquee__track {
  display: flex;
  justify-content: center;
  align-items: center;
  width: max-content;
  margin: 0 auto;
  padding: 0 20px;
  /*
  gap: 10.25rem;
  */
  gap: clamp(85px, 1.8vw, 120px);
  will-change: transform;
  transform: translateX(0);
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}

.books-marquee__track.is-jumping {
  transition: none;
}

@media (prefers-reduced-motion: reduce) {
  .books-strip__progress {
    display: none;
  }

  .books-marquee__track {
    justify-content: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
    transition: none;
  }

  .hero__slide {
    transition: none;
  }
}

/* NOTE: flex: 0 0 clamp(, , XXX) */
.book-card {
  flex: 0 0 clamp(180px, 24vw, 120px);
  width: clamp(180px, 24vw, 540px);
  /*
  flex: 0 0 auto;
  width: 230px;
  */
  text-align: left;
}

.book-card__cover {
  aspect-ratio: 2 / 3;
  /*border-radius: var(--radius);*/
  /*background: var(--bg) center/cover no-repeat;*/
  background-color: var(--bg);
  background-position: center;
  background-size: cover;

  background-repeat: no-repeat;

  /* NOTE: 도서 카드 그림자 */
  box-shadow: 7px 5px 10px rgba(0, 0, 0, 0.35);
  /*
  margin-bottom: 0.65rem;
  */
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease;
  object-fit: cover;
}

.books-marquee:hover .book-card__cover {
  transform: translateY(-2px);
}

.book-card__title {
  /* NOTE: 도서 카드 제목 위치 */
  margin: 13px 0 6px 4px;
  font-size: 0.8125rem;
  font-weight: 500;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.book a {
  color: #000;
  text-decoration: none;
}

.book-card__author {
  margin: 0.25rem 0 0;
  font-size: 0.75rem;
  color: var(--muted);
}

.book-card__cover {
  width: 215px;
  height: 300px;
  object-fit: cover;
  margin-bottom: 26px;
}


