/* Container */
.amazon-book {
  margin: 2em auto;
  max-width: 1200px;
}

/* HEADER: cover + links */
.amazon-book-header {
  background-color: #f0f0f0 !important;   /* force light gray */
  background-image: none !important;      /* kill any leftover tile */
  display: flex;
  align-items: center;
  gap: 2em;                               /* space between cover & links */
  padding: 1.5em;
  margin-bottom: 1.5em;
}

/* COVER */
.amazon-book-header .cover {
  flex-shrink: 0;
  width: 15%;       /* smaller cover */
  min-width: 120px; /* don’t go too tiny */
}
.amazon-book-header .cover img {
  width: 100%;
  height: auto;
  display: block;
}

/* LINKS */
.amazon-book-header .links {
  display: flex;
  flex-direction: column;
  justify-content: center;  /* vertical centering */
  align-items: center;      /* horizontal centering */
  gap: 1em;                 /* space between links */
}
.amazon-book-header .links a {
  font-size: 1.2em;
  text-decoration: underline;
}

/* SYNOPSIS BELOW */
.amazon-book .synopsis {
  max-width: 66% !important;   /* 2/3 of the page */
  margin: 0 auto 2em;          /* centered + bottom space */
  padding: 0 1em;              /* little side-padding */
  line-height: 1.6;
}

/* MOBILE STACK */
@media (max-width: 767px) {
  .amazon-book-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .amazon-book-header .cover {
    width: 100%;
    margin-bottom: 1em;
  }
  .amazon-book .synopsis {
    max-width: 90%;
  }
}
