.book-block {
  background-color: var(--bg-2);
  display: flex;
  flex-direction: row;
  padding: 1rem;
  border-radius: 0.8rem;
  border: 1px solid var(--bg-3);
  gap: 1rem;
  text-decoration: none;
  /* box-shadow: 0px 0px 0px transparent;
  transition: box-shadow 0.1s ease-out; */
}

.book-block:hover {
  text-decoration: none;
  /* border: 1px solid var(--bg-3); */
  border: 1px solid var(--bg-3);
  /* box-shadow: 0px 2px 2px var(--bg-3); */
}

.book-block img {
  width: 80px;
  border-radius: 4px;
}
.book-block .cover-placeholder {
  display: block;
  width: 80px;
  border-radius: 4px;
  background-color: var(--bg-3);
}

.book-block .book-meta {
  display: flex;
  flex-grow: 1;
  flex-direction: column;
  justify-content: center;
  /* border: 1px solid green; */
}

.book-block .title-author {
  display: flex;
  flex-direction: column;
  /* flex-grow: 1; */
  /* border: 1px solid blue; */
}

.book-block .rating-genre {
  display: flex;
  flex-direction: column;
}

.book-block .book-meta h3 {
  font-size: 1.1rem;
}

.book-block:hover h3 {
  text-decoration: underline;
  color: var(--tx);
}

.book-block .book-meta .author {
  color: var(--tx-2);
  font-size: 0.8rem;
}

@media screen and (max-width: 400px) {
  .book-block {
    flex-direction: column;
    /* align-items: center; */
  }
}
